/illumos-gate/usr/src/lib/libresolv2/common/irs/ |
H A D | getprotoent_r.c | 41 struct protoent *pe = getprotobyname(name); local 45 if (pe == NULL || (n = copy_protoent(pe, pptr, PROTO_R_COPY)) != 0) 52 if (pe == NULL) 55 return (copy_protoent(pe, pptr, PROTO_R_COPY)); 61 struct protoent *pe = getprotobynumber(proto); local 65 if (pe == NULL || (n = copy_protoent(pe, pptr, PROTO_R_COPY)) != 0) 72 if (pe == NULL) 75 return (copy_protoent(pe, ppt 87 struct protoent *pe = getprotoent(); local 139 copy_protoent(struct protoent *pe, struct protoent *pptr, PROTO_R_COPY_ARGS) argument 183 copy_protoent(struct protoent *pe, struct protoent *pptr, PROTO_R_COPY_ARGS) argument [all...] |
/illumos-gate/usr/src/cmd/ipf/lib/common/ |
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/cmd/sgs/m4/common/ |
H A D | m4y.y | 84 extern wchar_t *pe; 90 while (*pe == ' ' || *pe == '\t' || *pe == '\n') 91 pe++; 92 switch (*pe) { 102 return (*pe++); 122 if (*pe == '0') { 123 if (*++pe == 'x' || *pe [all...] |
H A D | m4y_xpg4.y | 88 extern wchar_t *pe; 96 while (*pe == ' ' || *pe == '\t' || *pe == '\n') 97 pe++; 98 switch (*pe) { 108 return (*pe++); 128 if (*pe == '0') { 129 if (*++pe == 'x' || *pe [all...] |
/illumos-gate/usr/src/lib/libslp/clib/ |
H A D | SLPUtils.c | 559 slp_prop_entry_t *pe, **pe2; local 567 if (!(pe = malloc(sizeof (*pe)))) { 573 if (!(pe->key = strdup(pcName))) { 574 free(pe); 579 if (!(pe->val = strdup(pcValue))) { 580 free((void *) pe->key); 581 free(pe); 588 pe2 = slp_tsearch((void *) pe, &slp_props, compare_props); 589 if (pe ! 600 slp_prop_entry_t pe[1], **ans; local 619 slp_prop_entry_t *pe; local [all...] |
/illumos-gate/usr/src/cmd/ldap/common/ |
H A D | idtest.c | 32 PE pe; local 35 /* read the pe from standard in */ 44 /* write the pe to standard out */ 63 while ( (pe = ps2pe( psin )) != NULLPE ) { 64 pe2pl( pserr, pe ); 65 pe2ps( psout, pe );
|
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/ |
H A D | faults.c | 41 register char *ptr, *pe; local 50 pe = "PrinterError:"; 51 peLen = strlen(pe); 52 if (strncmp(reason,pe,peLen) == 0) 58 pe = reason + strlen(reason) -1; 59 pe = reason; 60 while (pe = strchr(pe,'\n')) 61 *pe = ' '; 63 pe [all...] |
/illumos-gate/usr/src/lib/libpool/common/ |
H A D | pool.c | 264 prop_buf_build_cb(pool_conf_t *UNUSED, pool_elem_t *pe, const char *name, argument 280 strcmp(property_name_minus_ns(pe, name), c_name) == 0) 326 * pe is a pointer to the element 330 pool_base_info(const pool_elem_t *pe, char_buf_t *cb, int deep) argument 339 pool_conf_t *conf = TO_CONF(pe); 350 (void) pool_base_info(pe, cb, deep); 358 pool_elem_class_string(pe)) == PO_FAIL) { 362 if (pool_get_ns_property(pe, c_name, &val) == POC_STRING) { 372 if (pool_walk_properties(conf, (pool_elem_t *)pe, cb, 381 if (pe 503 pool_elem_t *pe; local 532 pool_elem_t *pe; local 561 pool_elem_t *pe; local 589 pool_elem_t *pe; local 856 pool_get_property(const pool_conf_t *conf, const pool_elem_t *pe, const char *name, pool_value_t *val) argument 892 pool_get_ns_property(const pool_elem_t *pe, const char *name, pool_value_t *val) argument 916 pool_put_property(pool_conf_t *conf, pool_elem_t *pe, const char *name, const pool_value_t *val) argument 981 pool_set_temporary(pool_conf_t *conf, pool_elem_t *pe) argument 1023 pool_put_ns_property(pool_elem_t *pe, const char *name, const pool_value_t *val) argument 1052 pool_put_any_property(pool_elem_t *pe, const char *name, const pool_value_t *val) argument 1072 pool_put_any_ns_property(pool_elem_t *pe, const char *name, const pool_value_t *val) argument 1097 pool_rm_property(pool_conf_t *conf, pool_elem_t *pe, const char *name) argument 1133 is_ns_property(const pool_elem_t *pe, const char *name) argument 1150 property_name_minus_ns(const pool_elem_t *pe, const char *name) argument 1166 pool_elem_t *pe; local 1227 pool_elem_t *pe; local 1344 pool_elem_t *pe; local 1861 pool_elem_t *pe; local 1970 pool_elem_t *pe; local 2031 pool_elem_t *pe; local 2058 pool_elem_t *pe; local 2137 pool_elem_t *pe = TO_ELEM(pr); local 2153 pool_elem_remove(pool_elem_t *pe) argument 2636 pool_elem_t *pe; local 2712 pool_elem_t *pe; local [all...] |
H A D | pool_commit.c | 242 commit_delete(pool_elem_t *pe) argument 248 if (elem_is_tmp(pe)) 251 switch (pool_elem_class(pe)) { 255 pool = pool_elem_pool(pe); 256 ret = pool_destroy(TO_CONF(pe), pool); 260 res = pool_elem_res(pe); 261 ret = pool_resource_destroy(TO_CONF(pe), res); 467 process_elem_lt(pool_elem_t *pe, pool_conf_t *dyn) argument 469 if (pool_elem_class(pe) == PEC_COMP) { 470 if (pool_component_destroy(pool_elem_comp(pe)) 482 process_elem_gt(pool_elem_t *pe, pool_conf_t *stc, pool_conf_t *dyn) argument 773 pool_elem_t *pe; local 1293 clone_element(pool_conf_t *conf, pool_elem_t *pe, const char *name, pool_value_t *pv, void *user) argument 1328 clean_element(pool_conf_t *conf, pool_elem_t *pe, const char *name, pool_value_t *pv, void *user) argument [all...] |
/illumos-gate/usr/src/uts/common/io/chxge/ |
H A D | glue.c | 174 struct pe_reg *pe; local 201 pe = (struct pe_reg *)dmp->b_rptr; 209 if ((dmp->b_wptr - dmp->b_rptr) != sizeof (*pe)) { 215 pe->addr &= (uint32_t)~3; 217 pe->pe_mask32 = 0xFFFFFFFF; 219 if (pe->addr == 0x950) 220 pe->pe_reg_val = reg = t1_sge_get_ptimeout(chp); 222 pe->pe_reg_val = reg = t1_read_reg_4(chp, pe->addr); 225 iocp->ioc_count = sizeof (*pe); [all...] |
/illumos-gate/usr/src/lib/libshell/common/scripts/ |
H A D | simplefiletree1.sh | 56 typeset -a pe # path elements 61 pe+=( ${filename} ) 63 [[ ${pe[0]} == '' ]] && pe[0]='/' 65 # walk path described via the "pe" array and build nodes if 68 for (( i=0 ; i < (${#pe[@]}-1) ; i++ )) ; do 76 nodepath+=".nodes[${pe[i]}]" 82 node.elements+=( "${pe[i]}" )
|
H A D | simplefileattributetree1.sh | 57 typeset -a pe # path elements 62 pe+=( ${filename} ) 64 [[ ${pe[0]} == '' ]] && pe[0]='/' 66 # walk path described via the "pe" array and build nodes if 69 for (( i=0 ; i < (${#pe[@]}-1) ; i++ )) ; do 77 nodepath+=".nodes[${pe[i]}]" 83 node.elements[${pe[i]}]=( 87 destnodename="${!node}.elements[${pe[i]}]"
|
/illumos-gate/usr/src/lib/libc/inc/ |
H A D | base_inlines.h | 44 __mul_set(double x, double y, int *pe) argument 56 : "=&e" (__result), "=m" (*pe), "=r" (__fsr), "=m" (*__addr) 64 __div_set(double x, double y, int *pe) argument 76 : "=&e" (__result), "=m" (*pe), "=r" (__fsr), "=m" (*__addr)
|
/illumos-gate/usr/src/cmd/checknr/ |
H A D | checknr.c | 161 static void pe(int lineno); 292 pe(lineno); 299 pe(lineno); 337 pe(lineno); 354 pe(lineno); 380 pe(stk[i].lno); 472 pe(stk[j+1].lno); 485 pe(lineno); 498 pe(int lineno) function 516 pe(linen [all...] |
/illumos-gate/usr/src/cmd/svr4pkg/libinst/ |
H A D | ocfile.c | 442 char *pe; local 475 pe = vfpGetCurrCharPtr(*a_cfTmpVfp); /* last char in contents file */ 477 pl = pe; /* last match is last char in contents file */ 481 while ((pe > ps) && ((*pe == '\n') || (*pe == '\0'))) { 482 pe--; 487 while (pe > ps) { 488 if (*pe != '\n') { 490 pl = pe [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/rdist/ |
H A D | expand.c | 346 register char *pe, *pm, *pl; local 356 for (pe = ++p; *pe; pe++) 357 switch (*pe) { 370 for (pe++; *pe && *pe != ']'; pe++) 372 if (!*pe) [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/ |
H A D | glob.c | 301 register char *pe, *pm, *pl; local 312 for (pe = ++p; *pe; pe += len) { 313 if ((len = mblen(pe, MB_CUR_MAX)) <= 0) 316 switch (*pe) { 329 for (pe++; *pe && *pe != ']'; pe [all...] |
/illumos-gate/usr/src/cmd/oamuser/user/ |
H A D | userdefs.c | 74 #define FIELD(up, pe, type) (*(type *)((char *)(up) + (pe)->off)) 167 const parsent_t *pe; local 188 pe = scan(&ptr); 190 if (pe != NULL) { 191 switch (pe->type) { 193 FIELD(&defaults, pe, int) = 197 FIELD(&defaults, pe, projid_t) = 201 FIELD(&defaults, pe, char *) = dup_to_nl(ptr);
|
/illumos-gate/usr/src/lib/libdladm/common/ |
H A D | usage.c | 560 * Point entry (pe) functions 564 clear_pe(net_plot_entry_t *pe, int entries, int *pentries) argument 569 pe[count].net_pe_totbytes = 0; 570 pe[count].net_pe_totibytes = 0; 571 pe[count].net_pe_totobytes = 0; 572 pe[count].net_pe_tottime = 0; 579 update_pe(net_plot_entry_t *pe, net_stat_t *nns, int nentries, argument 585 if (strcmp(pe[count].net_pe_name, nns->net_stat_name) == 0) 591 if (pe[count].net_pe_totbytes == 0) 592 pe[coun 604 add_pe_to_file(int (*fn)(dladm_usage_t *, void *), net_plot_entry_t *pe, net_stat_t *ns, int entries, void *arg) argument 1194 net_plot_entry_t *pe; local [all...] |
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | nss_dbdefs.c | 402 _priv_execattr *pe; local 553 pe = (_priv_execattr *)(arg->key.attrp); 554 if (pe == NULL) 564 if (pe->name != NULL) 565 len2 = strlen(pe->name) + 1; 566 if (pe->type != NULL) 567 len3 = strlen(pe->type) + 1; 568 if (pe->id != NULL) 569 len4 = strlen(pe->id) + 1; 570 if (pe 884 _priv_execattr *pe; local [all...] |
/illumos-gate/usr/src/cmd/rexd/ |
H A D | sharetab.c | 160 char *p, *pe; local 172 if (pe = strchr(p, '=')) { 173 *pe = '\0'; 175 return (pe + 1);
|
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/ |
H A D | sharetab.c | 170 char *p, *pe; local 182 if ((pe = strchr(p, '=')) != NULL) { 183 *pe = '\0'; 185 val = strdup(pe + 1);
|
/illumos-gate/usr/src/lib/libc/port/fp/ |
H A D | __flt_decim.c | 187 * *pe. On entry, nrx is the number of rounding errors already com- 188 * mitted in forming *x. On exit, *pe is 0 if *x was already integral 218 __arint_set_n(double *x, int nrx, int *pe) argument 231 *pe = 0; 233 *pe = 1; 235 *pe = 2; 240 *pe = (*x == halfdec)? 2 : 1; 242 *pe = 1; 248 *pe = (rx == *x)? 0 : 1; 253 *pe [all...] |
/illumos-gate/usr/src/cmd/ctwatch/ |
H A D | ctwatch.c | 378 port_event_t pe; local 380 if (port_get(port_fd, &pe, NULL) == -1) { 385 w = pe.portev_user; 386 while (get_event(pe.portev_object, w->wf_type, opt_verbose)) 388 if (port_associate(port_fd, PORT_SOURCE_FD, pe.portev_object, 389 POLLIN, pe.portev_user) == -1)
|
/illumos-gate/usr/src/cmd/svc/startd/ |
H A D | wait.c | 256 port_event_t pe; local 260 if (port_get(port_fd, &pe, NULL) != 0) { 271 fd = pe.portev_object; 272 wi = pe.portev_user; 276 if ((pe.portev_events & POLLHUP) == POLLHUP) { 305 (pe.portev_events & POLLERR) == 0) {
|