Home
last modified time | relevance | path

Searched refs:pe (Results 1 – 25 of 84) sorted by relevance

1234

/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Dgetprotoent_r.c41 if (pe == NULL || (n = copy_protoent(pe, pptr, PROTO_R_COPY)) != 0) in getprotobyname_r()
48 if (pe == NULL) in getprotobyname_r()
61 if (pe == NULL || (n = copy_protoent(pe, pptr, PROTO_R_COPY)) != 0) in getprotobynumber_r()
68 if (pe == NULL) in getprotobynumber_r()
87 if (pe == NULL || (n = copy_protoent(pe, pptr, PROTO_R_COPY)) != 0) in getprotoent_r()
94 if (pe == NULL) in getprotoent_r()
155 pptr->p_proto = pe->p_proto; in copy_protoent()
160 n = strlen(pe->p_name) + 1; in copy_protoent()
161 strcpy(cp, pe->p_name); in copy_protoent()
184 pptr->p_proto = pe->p_proto; in copy_protoent()
[all …]
/illumos-gate/usr/src/lib/libslp/clib/
H A DSLPUtils.c566 if (!(pe = malloc(sizeof (*pe)))) { in SLPSetProperty()
627 pe = malloc(sizeof (*pe)); in setDefaults()
632 pe = malloc(sizeof (*pe)); in setDefaults()
637 pe = malloc(sizeof (*pe)); in setDefaults()
642 pe = malloc(sizeof (*pe)); in setDefaults()
647 pe = malloc(sizeof (*pe)); in setDefaults()
652 pe = malloc(sizeof (*pe)); in setDefaults()
653 pe->key = SLP_CONFIG_MTU; pe->val = "1400"; in setDefaults()
656 pe = malloc(sizeof (*pe)); in setDefaults()
661 pe = malloc(sizeof (*pe)); in setDefaults()
[all …]
/illumos-gate/usr/src/cmd/sgs/m4/common/
H A Dm4y_xpg4.y96 while (*pe == ' ' || *pe == '\t' || *pe == '\n') in yylex()
97 pe++; in yylex()
98 switch (*pe) { in yylex()
129 if (*++pe == 'x' || *pe == 'X') { in yylex()
131 ++pe; in yylex()
140 c = *pe; in yylex()
152 ++pe; in yylex()
164 ++pe; in peek()
171 ++pe; in peek3()
173 ++pe; in peek3()
[all …]
H A Dm4y.y84 extern wchar_t *pe;
90 while (*pe == ' ' || *pe == '\t' || *pe == '\n') in yylex()
91 pe++; in yylex()
92 switch (*pe) { in yylex()
102 return (*pe++); in yylex()
123 if (*++pe == 'x' || *pe == 'X') { in yylex()
125 ++pe; in yylex()
134 c = *pe; in yylex()
146 ++pe; in yylex()
156 if (*++pe != c) in peek()
[all …]
/illumos-gate/usr/src/lib/libpool/common/
H A Dpool.c878 return (pe->pe_get_prop(pe, name, val)); in pool_get_property()
938 if (pe->pe_get_prop(pe, name, pv) != POC_INVAL) { in pool_put_property()
969 return (pe->pe_put_prop(pe, name, val)); in pool_put_property()
1005 res = pe->pe_put_prop(pe, name, val); in pool_set_temporary()
1058 return (pe->pe_put_prop(pe, name, val)); in pool_put_any_property()
1123 return (pe->pe_rm_prop(pe, name)); in pool_rm_property()
1881 for (pe = rs->prs_next(rs); pe != NULL; pe = rs->prs_next(rs)) { in pool_query_pools()
1994 for (pe = rs->prs_next(rs); pe != NULL; pe = rs->prs_next(rs)) { in pool_query_resources()
2153 return (pe->pe_remove(pe)); in pool_elem_remove()
2660 for (pe = rs->prs_next(rs); pe != NULL; pe = rs->prs_next(rs)) { in pool_query_pool_resources()
[all …]
H A Dpool_commit.c242 commit_delete(pool_elem_t *pe) in commit_delete() argument
248 if (elem_is_tmp(pe)) in commit_delete()
251 switch (pool_elem_class(pe)) { in commit_delete()
255 pool = pool_elem_pool(pe); in commit_delete()
260 res = pool_elem_res(pe); in commit_delete()
497 pool_elem_comp(pe)); in process_elem_gt()
521 if (pool_walk_properties(TO_CONF(pe), pe, TO_ELEM(newcomp), in process_elem_gt()
531 switch (pool_elem_class(pe)) { in process_elem_gt()
538 if (pool_walk_properties(TO_CONF(pe), pe, in process_elem_gt()
551 if (pool_walk_properties(TO_CONF(pe), pe, in process_elem_gt()
[all …]
H A Dpool_kernel.c1597 pool_elem_t *pe; in pool_knl_elem_wrap() local
1633 pe = TO_ELEM(elem); in pool_knl_elem_wrap()
1634 pe->pe_conf = conf; in pool_knl_elem_wrap()
1635 pe->pe_class = class; in pool_knl_elem_wrap()
1636 pe->pe_resource_class = res_class; in pool_knl_elem_wrap()
1824 destroy->pdu_elem = pe; in pool_knl_elem_remove()
2464 propput->ppu_elem = pe; in pool_knl_put_property()
2504 (void) pool_get_property(TO_CONF(pe), pe, name, &proprm->pru_oldval); in pool_knl_rm_property()
2529 proprm->pru_elem = pe; in pool_knl_rm_property()
3568 hash_id(const pool_elem_t *pe) in hash_id() argument
[all …]
H A Dpool_internal.c1264 switch (pool_elem_class(pe)) { in pool_elem_class_string()
1438 if (pe->pe_class != PEC_SYSTEM) { in pool_elem_system()
1442 return ((pool_system_t *)pe); in pool_elem_system()
1448 if (pe->pe_class != PEC_POOL) { in pool_elem_pool()
1452 return ((pool_t *)pe); in pool_elem_pool()
1456 pool_elem_res(const pool_elem_t *pe) in pool_elem_res() argument
1463 return ((pool_resource_t *)pe); in pool_elem_res()
1469 if (pe->pe_class != PEC_COMP) { in pool_elem_comp()
1473 return ((pool_component_t *)pe); in pool_elem_comp()
1651 return (pe->pe_pair); in pool_get_pair()
[all …]
/illumos-gate/usr/src/uts/common/io/chxge/
H A Dglue.c174 struct pe_reg *pe; in pe_ioctl() local
215 pe->addr &= (uint32_t)~3; in pe_ioctl()
219 if (pe->addr == 0x950) in pe_ioctl()
222 pe->pe_reg_val = reg = t1_read_reg_4(chp, pe->addr); in pe_ioctl()
236 if (pe->addr == 0x950) in pe_ioctl()
241 pe->pe_reg_val |= (reg & ~pe->pe_mask32); in pe_ioctl()
244 t1_write_reg_4(chp, pe->addr, pe->pe_reg_val); in pe_ioctl()
261 pe->addr &= (uint32_t)~3; in pe_ioctl()
264 pe->pe_reg_val = reg = pci_config_get32(chp->ch_hpci, pe->addr); in pe_ioctl()
279 pe->pe_reg_val |= (reg & ~pe->pe_mask32); in pe_ioctl()
[all …]
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/
H A Dfaults.c41 register char *ptr, *pe; in shortenReason() local
50 pe = "PrinterError:"; in shortenReason()
51 peLen = strlen(pe); in shortenReason()
58 pe = reason + strlen(reason) -1; in shortenReason()
59 pe = reason; in shortenReason()
60 while (pe = strchr(pe,'\n')) in shortenReason()
61 *pe = ' '; in shortenReason()
63 pe = reason + strlen(reason) -1; in shortenReason()
64 while ((pe > reason) && (*pe == ' ')) { in shortenReason()
65 *pe = 0; in shortenReason()
[all …]
/illumos-gate/usr/src/test/os-tests/tests/uccid/
H A Dtxn-pollerr.c40 port_event_t pe; in main() local
79 if (port_get(port, &pe, &to) != 0) { in main()
83 VERIFY3S(pe.portev_source, ==, PORT_SOURCE_FD); in main()
84 VERIFY3S(pe.portev_object, ==, fd); in main()
85 VERIFY3S(pe.portev_events & POLLERR, !=, 0); in main()
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dnss_dbdefs.c402 _priv_execattr *pe; in nss_pack_key2str() local
554 if (pe == NULL) in nss_pack_key2str()
564 if (pe->name != NULL) in nss_pack_key2str()
566 if (pe->type != NULL) in nss_pack_key2str()
568 if (pe->id != NULL) in nss_pack_key2str()
884 _priv_execattr *pe; in nss_upack_key2arg() local
963 pe->name = NULL; in nss_upack_key2arg()
970 pe->type = NULL; in nss_upack_key2arg()
977 pe->id = NULL; in nss_upack_key2arg()
984 pe->policy = NULL; in nss_upack_key2arg()
[all …]
/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Docfile.c444 char *pe; in swapcfile() local
477 pe = vfpGetCurrCharPtr(*a_cfTmpVfp); /* last char in contents file */ in swapcfile()
479 pl = pe; /* last match is last char in contents file */ in swapcfile()
483 while ((pe > ps) && ((*pe == '\n') || (*pe == '\0'))) { in swapcfile()
484 pe--; in swapcfile()
489 while (pe > ps) { in swapcfile()
490 if (*pe != '\n') { in swapcfile()
492 pl = pe--; in swapcfile()
500 pe--; in swapcfile()
/illumos-gate/usr/src/lib/libc/port/fp/
H A D__flt_decim.c218 __arint_set_n(double *x, int nrx, int *pe) in __arint_set_n() argument
231 *pe = 0; in __arint_set_n()
233 *pe = 1; in __arint_set_n()
235 *pe = 2; in __arint_set_n()
240 *pe = (*x == halfdec)? 2 : 1; in __arint_set_n()
242 *pe = 1; in __arint_set_n()
248 *pe = (rx == *x)? 0 : 1; in __arint_set_n()
253 *pe = (nrx * twom53 * *x < half - rmx)? 1 : 2; in __arint_set_n()
/illumos-gate/usr/src/lib/libdladm/common/
H A Dusage.c569 pe[count].net_pe_totbytes = 0; in clear_pe()
570 pe[count].net_pe_totibytes = 0; in clear_pe()
571 pe[count].net_pe_totobytes = 0; in clear_pe()
572 pe[count].net_pe_tottime = 0; in clear_pe()
591 if (pe[count].net_pe_totbytes == 0) in update_pe()
619 tottime = pe[count].net_pe_tottime; in add_pe_to_file()
1194 net_plot_entry_t *pe; in dladm_walk_usage_time() local
1230 if (pe == NULL) in dladm_walk_usage_time()
1240 clear_pe(pe, nentries, &pentries); in dladm_walk_usage_time()
1265 free(pe); in dladm_walk_usage_time()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/rdist/
H A Dexpand.c346 register char *pe, *pm, *pl; local
356 for (pe = ++p; *pe; pe++)
357 switch (*pe) {
370 for (pe++; *pe && *pe != ']'; pe++)
372 if (!*pe)
377 if (brclev || !*pe) {
381 for (pl = pm = p; pm <= pe; pm++)
401 if (lm + strlen(pl) + strlen(pe + 1) >=
407 strcat(restbuf, pe + 1);
/illumos-gate/usr/src/cmd/ldap/common/
H A Didtest.c32 PE pe; in main() local
63 while ( (pe = ps2pe( psin )) != NULLPE ) { in main()
64 pe2pl( pserr, pe ); in main()
65 pe2ps( psout, pe ); in main()
/illumos-gate/usr/src/cmd/checknr/
H A Dchecknr.c163 static void pe(int lineno);
294 pe(lineno); in process()
301 pe(lineno); in process()
339 pe(lineno); in process()
356 pe(lineno); in process()
382 pe(stk[i].lno); in complain()
474 pe(stk[j+1].lno); in nomatch()
487 pe(lineno); in nomatch()
500 pe(int lineno) in pe() function
518 pe(lineno); in checkknown()
[all …]
/illumos-gate/usr/src/lib/libc/inc/
H A Dbase_inlines.h44 __mul_set(double x, double y, int *pe) in __mul_set() argument
56 : "=&e" (__result), "=m" (*pe), "=r" (__fsr), "=m" (*__addr) in __mul_set()
64 __div_set(double x, double y, int *pe) in __div_set() argument
76 : "=&e" (__result), "=m" (*pe), "=r" (__fsr), "=m" (*__addr) in __div_set()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/
H A Dglob.c301 register char *pe, *pm, *pl; in execbrc() local
312 for (pe = ++p; *pe; pe += len) { in execbrc()
313 if ((len = mblen(pe, MB_CUR_MAX)) <= 0) in execbrc()
316 switch (*pe) { in execbrc()
329 for (pe++; *pe && *pe != ']'; pe += len) { in execbrc()
330 if ((len = mblen(pe, MB_CUR_MAX)) <= 0) in execbrc()
339 for (pl = pm = p; pm <= pe; pm += len) { in execbrc()
364 (void) strcat(restbuf, pe + 1); in execbrc()
/illumos-gate/usr/src/lib/libzutil/common/
H A Dzutil_import.c296 pool_entry_t *pe; in add_config() local
348 for (pe = pl->pools; pe != NULL; pe = pe->pe_next) { in add_config()
353 if (pe == NULL) { in add_config()
357 pe->pe_guid = pool_guid; in add_config()
359 pl->pools = pe; in add_config()
377 pe->pe_vdevs = ve; in add_config()
471 pool_entry_t *pe; in get_configs() local
495 for (pe = pl->pools; pe != NULL; pe = pe->pe_next) { in get_configs()
1310 for (pe = pools.pools; pe != NULL; pe = penext) { in zpool_find_import_impl()
1311 penext = pe->pe_next; in zpool_find_import_impl()
[all …]
/illumos-gate/usr/src/cmd/oamuser/user/
H A Duserdefs.c73 #define FIELD(up, pe, type) (*(type *)((char *)(up) + (pe)->off)) argument
169 const parsent_t *pe; in getusrdef() local
191 pe = scan(&ptr); in getusrdef()
193 if (pe != NULL) { in getusrdef()
194 switch (pe->type) { in getusrdef()
196 FIELD(&defaults, pe, int) = in getusrdef()
200 FIELD(&defaults, pe, projid_t) = in getusrdef()
204 FIELD(&defaults, pe, char *) = dup_to_nl(ptr); in getusrdef()
/illumos-gate/usr/src/cmd/ipf/lib/common/
H A Dratoi.c17 char *pe; local
19 i = (int)strtol(ps, &pe, 0);
20 if (*pe != '\0' || i < min || i > max)
/illumos-gate/usr/src/lib/iconv_modules/euro/utils/gentbl/
H A Drename27 ren=`echo $i | perl -pe 's:%:_:'`
29 perl -i -pe 's:License"\). :License").:' $ren
33 ren=`echo $i | perl -pe 's:%:_: ; s:btbl:tbl: ; s:ibm:IBM-:'`
/illumos-gate/usr/src/cmd/pools/poolcfg/
H A Dpoolcfg.y780 pool_elem_t *pe; in parser_conf_info() local
875 pool_elem_t *pe; in parser_conf_create() local
890 prop_list_walk(cmd, pe); in parser_conf_create()
947 pool_elem_t *pe; in parser_conf_rename() local
956 parser_rename(cmd, pe, SYSTEM_NAME); in parser_conf_rename()
1040 pool_elem_t *pe; in parser_conf_modify() local
1049 prop_list_walk(cmd, pe); in parser_conf_modify()
1323 pool_elem_t *pe; in check_conf_name() local
1369 prop_list_walk(cmd_t *cmd, pool_elem_t *pe) in prop_list_walk() argument
1590 (void) pool_put_property(conf, pe, in process_min_max()
[all …]

1234