/illumos-gate/usr/src/lib/libresolv2/common/irs/ |
H A D | getprotoent_r.c | 41 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 D | SLPUtils.c | 566 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 D | m4y_xpg4.y | 95 while (*pe == ' ' || *pe == '\t' || *pe == '\n') in yylex() 96 pe++; in yylex() 97 switch (*pe) { in yylex() 128 if (*++pe == 'x' || *pe == 'X') { in yylex() 130 ++pe; in yylex() 139 c = *pe; in yylex() 151 ++pe; in yylex() 163 ++pe; in peek() 170 ++pe; in peek3() 172 ++pe; in peek3() [all …]
|
H A D | m4y.y | 83 extern wchar_t *pe; 89 while (*pe == ' ' || *pe == '\t' || *pe == '\n') in yylex() 90 pe++; in yylex() 91 switch (*pe) { in yylex() 101 return (*pe++); in yylex() 122 if (*++pe == 'x' || *pe == 'X') { in yylex() 124 ++pe; in yylex() 133 c = *pe; in yylex() 145 ++pe; in yylex() 155 if (*++pe != c) in peek() [all …]
|
/illumos-gate/usr/src/lib/libpool/common/ |
H A D | pool.c | 878 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 D | pool_commit.c | 240 commit_delete(pool_elem_t *pe) in commit_delete() argument 246 if (elem_is_tmp(pe)) in commit_delete() 249 switch (pool_elem_class(pe)) { in commit_delete() 253 pool = pool_elem_pool(pe); in commit_delete() 258 res = pool_elem_res(pe); in commit_delete() 495 pool_elem_comp(pe)); in process_elem_gt() 519 if (pool_walk_properties(TO_CONF(pe), pe, TO_ELEM(newcomp), in process_elem_gt() 529 switch (pool_elem_class(pe)) { in process_elem_gt() 536 if (pool_walk_properties(TO_CONF(pe), pe, in process_elem_gt() 549 if (pool_walk_properties(TO_CONF(pe), pe, in process_elem_gt() [all …]
|
H A D | pool_kernel.c | 1598 pool_elem_t *pe; in pool_knl_elem_wrap() local 1634 pe = TO_ELEM(elem); in pool_knl_elem_wrap() 1635 pe->pe_conf = conf; in pool_knl_elem_wrap() 1636 pe->pe_class = class; in pool_knl_elem_wrap() 1637 pe->pe_resource_class = res_class; in pool_knl_elem_wrap() 1825 destroy->pdu_elem = pe; in pool_knl_elem_remove() 2465 propput->ppu_elem = pe; in pool_knl_put_property() 2505 (void) pool_get_property(TO_CONF(pe), pe, name, &proprm->pru_oldval); in pool_knl_rm_property() 2530 proprm->pru_elem = pe; in pool_knl_rm_property() 3569 hash_id(const pool_elem_t *pe) in hash_id() argument [all …]
|
H A D | pool_internal.c | 1262 switch (pool_elem_class(pe)) { in pool_elem_class_string() 1436 if (pe->pe_class != PEC_SYSTEM) { in pool_elem_system() 1440 return ((pool_system_t *)pe); in pool_elem_system() 1446 if (pe->pe_class != PEC_POOL) { in pool_elem_pool() 1450 return ((pool_t *)pe); in pool_elem_pool() 1454 pool_elem_res(const pool_elem_t *pe) in pool_elem_res() argument 1461 return ((pool_resource_t *)pe); in pool_elem_res() 1467 if (pe->pe_class != PEC_COMP) { in pool_elem_comp() 1471 return ((pool_component_t *)pe); in pool_elem_comp() 1649 return (pe->pe_pair); in pool_get_pair() [all …]
|
/illumos-gate/usr/src/uts/common/io/chxge/ |
H A D | glue.c | 174 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 D | faults.c | 38 register char *ptr, *pe; in shortenReason() local 47 pe = "PrinterError:"; in shortenReason() 48 peLen = strlen(pe); in shortenReason() 55 pe = reason + strlen(reason) -1; in shortenReason() 56 pe = reason; in shortenReason() 57 while (pe = strchr(pe,'\n')) in shortenReason() 58 *pe = ' '; in shortenReason() 60 pe = reason + strlen(reason) -1; in shortenReason() 61 while ((pe > reason) && (*pe == ' ')) { in shortenReason() 62 *pe = 0; in shortenReason() [all …]
|
/illumos-gate/usr/src/test/os-tests/tests/portfs/ |
H A D | file_assoc.c | 101 port_event_t pe; in fa_run_test() local 168 bzero(&pe, sizeof (pe)); in fa_run_test() 170 ret = port_getn(portfd, &pe, 1, &nget, &to); in fa_run_test() 183 "0x%x\n", pe.portev_events, pe.portev_source); in fa_run_test() 201 if (pe.portev_source != PORT_SOURCE_FILE) { in fa_run_test() 203 "0x%x\n", pe.portev_source, PORT_SOURCE_FILE); in fa_run_test() 207 if (pe.portev_events != FILE_MODIFIED) { in fa_run_test() 209 "0x%x\n", pe.portev_events, FILE_MODIFIED); in fa_run_test() 213 if ((uintptr_t)pe.portev_user != fa_user) { in fa_run_test() 215 "0x%lx\n", pe.portev_user, fa_user); in fa_run_test()
|
/illumos-gate/usr/src/test/os-tests/tests/uccid/ |
H A D | txn-pollerr.c | 40 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 D | nss_dbdefs.c | 401 _priv_execattr *pe; in nss_pack_key2str() local 553 if (pe == NULL) in nss_pack_key2str() 563 if (pe->name != NULL) in nss_pack_key2str() 565 if (pe->type != NULL) in nss_pack_key2str() 567 if (pe->id != NULL) in nss_pack_key2str() 881 _priv_execattr *pe; in nss_upack_key2arg() local 960 pe->name = NULL; in nss_upack_key2arg() 967 pe->type = NULL; in nss_upack_key2arg() 974 pe->id = NULL; in nss_upack_key2arg() 981 pe->policy = NULL; in nss_upack_key2arg() [all …]
|
/illumos-gate/usr/src/cmd/svr4pkg/libinst/ |
H A D | ocfile.c | 444 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.c | 216 __arint_set_n(double *x, int nrx, int *pe) in __arint_set_n() argument 229 *pe = 0; in __arint_set_n() 231 *pe = 1; in __arint_set_n() 233 *pe = 2; in __arint_set_n() 238 *pe = (*x == halfdec)? 2 : 1; in __arint_set_n() 240 *pe = 1; in __arint_set_n() 246 *pe = (rx == *x)? 0 : 1; in __arint_set_n() 251 *pe = (nrx * twom53 * *x < half - rmx)? 1 : 2; in __arint_set_n()
|
/illumos-gate/usr/src/lib/libdladm/common/ |
H A D | usage.c | 569 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 D | expand.c | 345 register char *pe, *pm, *pl; local 355 for (pe = ++p; *pe; pe++) 356 switch (*pe) { 369 for (pe++; *pe && *pe != ']'; pe++) 371 if (!*pe) 376 if (brclev || !*pe) { 380 for (pl = pm = p; pm <= pe; pm++) 400 if (lm + strlen(pl) + strlen(pe + 1) >= 406 strcat(restbuf, pe + 1);
|
/illumos-gate/usr/src/cmd/ldap/common/ |
H A D | idtest.c | 32 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 D | checknr.c | 163 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 D | base_inlines.h | 42 __mul_set(double x, double y, int *pe) in __mul_set() argument 54 : "=&e" (__result), "=m" (*pe), "=r" (__fsr), "=m" (*__addr) in __mul_set() 62 __div_set(double x, double y, int *pe) in __div_set() argument 74 : "=&e" (__result), "=m" (*pe), "=r" (__fsr), "=m" (*__addr) in __div_set()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/ |
H A D | glob.c | 299 register char *pe, *pm, *pl; in execbrc() local 310 for (pe = ++p; *pe; pe += len) { in execbrc() 311 if ((len = mblen(pe, MB_CUR_MAX)) <= 0) in execbrc() 314 switch (*pe) { in execbrc() 327 for (pe++; *pe && *pe != ']'; pe += len) { in execbrc() 328 if ((len = mblen(pe, MB_CUR_MAX)) <= 0) in execbrc() 337 for (pl = pm = p; pm <= pe; pm += len) { in execbrc() 362 (void) strcat(restbuf, pe + 1); in execbrc()
|
/illumos-gate/usr/src/lib/libzutil/common/ |
H A D | zutil_import.c | 297 pool_entry_t *pe; in add_config() local 349 for (pe = pl->pools; pe != NULL; pe = pe->pe_next) { in add_config() 354 if (pe == NULL) { in add_config() 358 pe->pe_guid = pool_guid; in add_config() 360 pl->pools = pe; in add_config() 378 pe->pe_vdevs = ve; in add_config() 472 pool_entry_t *pe; in get_configs() local 496 for (pe = pl->pools; pe != NULL; pe = pe->pe_next) { in get_configs() 1327 for (pe = pools.pools; pe != NULL; pe = penext) { in zpool_find_import_impl() 1328 penext = pe->pe_next; in zpool_find_import_impl() [all …]
|
/illumos-gate/usr/src/cmd/oamuser/user/ |
H A D | userdefs.c | 73 #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/ |
H A D | ratoi.c | 17 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 D | rename | 27 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-:'`
|