Home
last modified time | relevance | path

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

1234

/titanic_44/usr/src/lib/libresolv2/common/irs/
H A Dgetprotoent_r.c41 struct protoent *pe = getprotobyname(name); in getprotobyname_r() local
45 if (pe == NULL || (n = copy_protoent(pe, pptr, PROTO_R_COPY)) != 0) in getprotobyname_r()
52 if (pe == NULL) in getprotobyname_r()
55 return (copy_protoent(pe, pptr, PROTO_R_COPY)); in getprotobyname_r()
61 struct protoent *pe = getprotobynumber(proto); in getprotobynumber_r() local
65 if (pe == NULL || (n = copy_protoent(pe, pptr, PROTO_R_COPY)) != 0) in getprotobynumber_r()
72 if (pe == NULL) in getprotobynumber_r()
75 return (copy_protoent(pe, pptr, PROTO_R_COPY)); in getprotobynumber_r()
87 struct protoent *pe = getprotoent(); in getprotoent_r() local
91 if (pe == NULL || (n = copy_protoent(pe, pptr, PROTO_R_COPY)) != 0) in getprotoent_r()
[all …]
/titanic_44/usr/src/lib/libslp/clib/
H A DSLPUtils.c559 slp_prop_entry_t *pe, **pe2; in SLPSetProperty() local
567 if (!(pe = malloc(sizeof (*pe)))) { in SLPSetProperty()
573 if (!(pe->key = strdup(pcName))) { in SLPSetProperty()
574 free(pe); in SLPSetProperty()
579 if (!(pe->val = strdup(pcValue))) { in SLPSetProperty()
580 free((void *) pe->key); in SLPSetProperty()
581 free(pe); in SLPSetProperty()
588 pe2 = slp_tsearch((void *) pe, &slp_props, compare_props); in SLPSetProperty()
589 if (pe != *pe2) { in SLPSetProperty()
592 (*pe2)->val = pe->val; in SLPSetProperty()
[all …]
/titanic_44/usr/src/cmd/sgs/m4/common/
H A Dm4y_xpg4.y88 extern wchar_t *pe;
96 while (*pe == ' ' || *pe == '\t' || *pe == '\n') in yylex()
97 pe++; in yylex()
98 switch (*pe) { in yylex()
108 return (*pe++); in yylex()
128 if (*pe == '0') { in yylex()
129 if (*++pe == 'x' || *pe == 'X') { in yylex()
131 ++pe; in yylex()
140 c = *pe; in yylex()
152 ++pe; in yylex()
[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()
122 if (*pe == '0') { in yylex()
123 if (*++pe == 'x' || *pe == 'X') { in yylex()
125 ++pe; in yylex()
134 c = *pe; in yylex()
146 ++pe; in yylex()
[all …]
/titanic_44/usr/src/lib/libpool/common/
H A Dpool.c264 prop_buf_build_cb(pool_conf_t *UNUSED, pool_elem_t *pe, const char *name, in prop_buf_build_cb() argument
280 strcmp(property_name_minus_ns(pe, name), c_name) == 0) in prop_buf_build_cb()
330 pool_base_info(const pool_elem_t *pe, char_buf_t *cb, int deep) in pool_base_info() argument
339 pool_conf_t *conf = TO_CONF(pe); in pool_base_info()
350 (void) pool_base_info(pe, cb, deep); in pool_base_info()
358 pool_elem_class_string(pe)) == PO_FAIL) { in pool_base_info()
362 if (pool_get_ns_property(pe, c_name, &val) == POC_STRING) { in pool_base_info()
372 if (pool_walk_properties(conf, (pool_elem_t *)pe, cb, in pool_base_info()
381 if (pe->pe_class == PEC_POOL) { in pool_base_info()
386 if ((rs = pool_query_pool_resources(conf, pool_elem_pool(pe), in pool_base_info()
[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()
256 ret = pool_destroy(TO_CONF(pe), pool); in commit_delete()
260 res = pool_elem_res(pe); in commit_delete()
261 ret = pool_resource_destroy(TO_CONF(pe), res); in commit_delete()
467 process_elem_lt(pool_elem_t *pe, pool_conf_t *dyn) in process_elem_lt() argument
469 if (pool_elem_class(pe) == PEC_COMP) { in process_elem_lt()
470 if (pool_component_destroy(pool_elem_comp(pe)) == PO_FAIL) { in process_elem_lt()
[all …]
H A Dpool_kernel.c875 prop_build_cb(pool_conf_t *UNUSED, pool_elem_t *pe, const char *name, in prop_build_cb() argument
880 return (pool_knl_put_xml_property((pool_elem_t *)pe, info->ktx_node, in prop_build_cb()
892 pool_knl_put_xml_property(pool_elem_t *pe, xmlNodePtr node, const char *name, in pool_knl_put_xml_property() argument
904 if (is_ns_property(pe, name) != NULL) { /* in ns */ in pool_knl_put_xml_property()
906 BAD_CAST property_name_minus_ns(pe, name), val) == PO_FAIL) in pool_knl_put_xml_property()
1597 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()
[all …]
H A Dpool_internal.c1171 get_default_elem(const pool_elem_t *pe) in get_default_elem() argument
1183 if (set_char_buf(cb, "%s.default", pool_elem_class_string(pe)) != in get_default_elem()
1195 if ((rs = pool_exec_query(TO_CONF(pe), NULL, NULL, in get_default_elem()
1196 PEC_QRY_ELEM(pe), props)) == NULL) { in get_default_elem()
1262 pool_elem_class_string(const pool_elem_t *pe) in pool_elem_class_string() argument
1264 switch (pool_elem_class(pe)) { in pool_elem_class_string()
1267 return (pool_elem_class_name[pool_elem_class(pe)]); in pool_elem_class_string()
1271 [pool_resource_elem_class(pe)]); in pool_elem_class_string()
1274 [pool_component_elem_class(pe)]); in pool_elem_class_string()
1436 pool_elem_system(const pool_elem_t *pe) in pool_elem_system() argument
[all …]
/titanic_44/usr/src/uts/common/io/chxge/
H A Dglue.c174 struct pe_reg *pe; in pe_ioctl() local
201 pe = (struct pe_reg *)dmp->b_rptr; in pe_ioctl()
209 if ((dmp->b_wptr - dmp->b_rptr) != sizeof (*pe)) { in pe_ioctl()
215 pe->addr &= (uint32_t)~3; in pe_ioctl()
217 pe->pe_mask32 = 0xFFFFFFFF; in pe_ioctl()
219 if (pe->addr == 0x950) in pe_ioctl()
220 pe->pe_reg_val = reg = t1_sge_get_ptimeout(chp); in pe_ioctl()
222 pe->pe_reg_val = reg = t1_read_reg_4(chp, pe->addr); in pe_ioctl()
225 iocp->ioc_count = sizeof (*pe); in pe_ioctl()
231 if ((dmp->b_wptr - dmp->b_rptr) != sizeof (*pe)) { in pe_ioctl()
[all …]
/titanic_44/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()
52 if (strncmp(reason,pe,peLen) == 0) 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()
[all …]
/titanic_44/usr/src/lib/libc/port/gen/
H A Dnss_dbdefs.c402 _priv_execattr *pe; in nss_pack_key2str() local
553 pe = (_priv_execattr *)(arg->key.attrp); in nss_pack_key2str()
554 if (pe == NULL) in nss_pack_key2str()
564 if (pe->name != NULL) in nss_pack_key2str()
565 len2 = strlen(pe->name) + 1; in nss_pack_key2str()
566 if (pe->type != NULL) in nss_pack_key2str()
567 len3 = strlen(pe->type) + 1; in nss_pack_key2str()
568 if (pe->id != NULL) in nss_pack_key2str()
569 len4 = strlen(pe->id) + 1; in nss_pack_key2str()
570 if (pe->policy != NULL) in nss_pack_key2str()
[all …]
/titanic_44/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()
/titanic_44/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()
/titanic_44/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);
/titanic_44/usr/src/lib/libshell/common/scripts/
H A Dsimplefiletree1.sh56 typeset -a pe # path elements
61 pe+=( ${filename} )
63 [[ ${pe[0]} == '' ]] && pe[0]='/'
H A Dsimplefileattributetree1.sh57 typeset -a pe # path elements
62 pe+=( ${filename} )
64 [[ ${pe[0]} == '' ]] && pe[0]='/'
83 node.elements[${pe[i]}]=(
/titanic_44/usr/src/lib/libdladm/common/
H A Dusage.c564 clear_pe(net_plot_entry_t *pe, int entries, int *pentries) in clear_pe() argument
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()
579 update_pe(net_plot_entry_t *pe, net_stat_t *nns, int nentries, in update_pe() argument
585 if (strcmp(pe[count].net_pe_name, nns->net_stat_name) == 0) in update_pe()
591 if (pe[count].net_pe_totbytes == 0) in update_pe()
592 pe[count].net_pe_lasttime = lasttime; in update_pe()
594 pe[count].net_pe_totbytes += nns->net_stat_ibytes + in update_pe()
[all …]
/titanic_44/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()
/titanic_44/usr/src/cmd/svr4pkg/libinst/
H A Docfile.c442 char *pe; in swapcfile() local
475 pe = vfpGetCurrCharPtr(*a_cfTmpVfp); /* last char in contents file */ in swapcfile()
477 pl = pe; /* last match is last char in contents file */ in swapcfile()
481 while ((pe > ps) && ((*pe == '\n') || (*pe == '\0'))) { in swapcfile()
482 pe--; in swapcfile()
487 while (pe > ps) { in swapcfile()
488 if (*pe != '\n') { in swapcfile()
490 pl = pe--; in swapcfile()
498 pe--; in swapcfile()
/titanic_44/usr/src/cmd/checknr/
H A Dchecknr.c161 static void pe(int lineno);
292 pe(lineno); in process()
299 pe(lineno); in process()
337 pe(lineno); in process()
354 pe(lineno); in process()
380 pe(stk[i].lno); in complain()
472 pe(stk[j+1].lno); in nomatch()
485 pe(lineno); in nomatch()
498 pe(int lineno) in pe() function
516 pe(lineno); in checkknown()
[all …]
/titanic_44/usr/src/uts/common/fs/zev/
H A Dzev.c412 zev_pool_list_entry_t *pe; in zev_ioc_mute_pool() local
415 for (pe=zev_muted_pools_head; pe; pe=pe->next) { in zev_ioc_mute_pool()
416 if (!strcmp(pe->name, poolname)) { in zev_ioc_mute_pool()
421 pe = zev_zalloc(sizeof(*pe)); in zev_ioc_mute_pool()
422 if (!pe) { in zev_ioc_mute_pool()
426 (void) strncpy(pe->name, poolname, sizeof(pe->name)); in zev_ioc_mute_pool()
427 pe->next = zev_muted_pools_head; in zev_ioc_mute_pool()
428 zev_muted_pools_head = pe; in zev_ioc_mute_pool()
436 zev_pool_list_entry_t *pe, *peprev; in zev_ioc_unmute_pool() local
441 for (pe=zev_muted_pools_head; pe; pe=pe->next) { in zev_ioc_unmute_pool()
[all …]
/titanic_44/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)
/titanic_44/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()
/titanic_44/usr/src/cmd/oamuser/user/
H A Duserdefs.c74 #define FIELD(up, pe, type) (*(type *)((char *)(up) + (pe)->off)) argument
167 const parsent_t *pe; in getusrdef() local
188 pe = scan(&ptr); in getusrdef()
190 if (pe != NULL) { in getusrdef()
191 switch (pe->type) { in getusrdef()
193 FIELD(&defaults, pe, int) = in getusrdef()
197 FIELD(&defaults, pe, projid_t) = in getusrdef()
201 FIELD(&defaults, pe, char *) = dup_to_nl(ptr); in getusrdef()
/titanic_44/usr/src/lib/libzfs/common/
H A Dlibzfs_import.c219 pool_entry_t *pe; in add_config() local
270 for (pe = pl->pools; pe != NULL; pe = pe->pe_next) { in add_config()
271 if (pe->pe_guid == pool_guid) in add_config()
275 if (pe == NULL) { in add_config()
276 if ((pe = zfs_alloc(hdl, sizeof (pool_entry_t))) == NULL) { in add_config()
280 pe->pe_guid = pool_guid; in add_config()
281 pe->pe_next = pl->pools; in add_config()
282 pl->pools = pe; in add_config()
289 for (ve = pe->pe_vdevs; ve != NULL; ve = ve->ve_next) { in add_config()
300 ve->ve_next = pe->pe_vdevs; in add_config()
[all …]

1234