| /NextBSD/contrib/tcsh/ |
| HD | ma.setp.c | 236 struct pelem *pe, *pathend; in initpaths() local 249 pe = xmalloc(sizeof(struct pelem)); in initpaths() 250 setzero(pe, sizeof(struct pelem)); in initpaths() 252 pathhead = pathend = pe; in initpaths() 254 pathend->pnext = pe; in initpaths() 255 pathend = pe; in initpaths() 258 pe->pname = p; in initpaths() 259 pe->psuf = ""; in initpaths() 260 pe->pdef = ""; in initpaths() 262 if (strcmp(pe->pname, syspath[i].name) == 0) { in initpaths() [all …]
|
| /NextBSD/tools/tools/ath/athradar/ |
| HD | athradar.c | 87 HAL_PHYERR_PARAM pe; in radarset() local 89 pe.pe_firpwr = HAL_PHYERR_PARAM_NOVAL; in radarset() 90 pe.pe_rrssi = HAL_PHYERR_PARAM_NOVAL; in radarset() 91 pe.pe_height = HAL_PHYERR_PARAM_NOVAL; in radarset() 92 pe.pe_prssi = HAL_PHYERR_PARAM_NOVAL; in radarset() 93 pe.pe_inband = HAL_PHYERR_PARAM_NOVAL; in radarset() 94 pe.pe_enabled = HAL_PHYERR_PARAM_NOVAL; in radarset() 96 pe.pe_relpwr = HAL_PHYERR_PARAM_NOVAL; in radarset() 97 pe.pe_relstep = HAL_PHYERR_PARAM_NOVAL; in radarset() 98 pe.pe_maxlen = HAL_PHYERR_PARAM_NOVAL; in radarset() [all …]
|
| /NextBSD/sys/dev/ath/ath_hal/ar5416/ |
| HD | ar5416_radar.c | 54 ar5416GetDfsDefaultThresh(struct ath_hal *ah, HAL_PHYERR_PARAM *pe) in ar5416GetDfsDefaultThresh() argument 64 pe->pe_firpwr = AR5416_DFS_FIRPWR; in ar5416GetDfsDefaultThresh() 65 pe->pe_rrssi = AR5416_DFS_RRSSI; in ar5416GetDfsDefaultThresh() 66 pe->pe_height = AR5416_DFS_HEIGHT; in ar5416GetDfsDefaultThresh() 67 pe->pe_prssi = AR5416_DFS_PRSSI; in ar5416GetDfsDefaultThresh() 68 pe->pe_inband = AR5416_DFS_INBAND; in ar5416GetDfsDefaultThresh() 69 pe->pe_relpwr = AR5416_DFS_RELPWR; in ar5416GetDfsDefaultThresh() 70 pe->pe_relstep = AR5416_DFS_RELSTEP; in ar5416GetDfsDefaultThresh() 71 pe->pe_maxlen = AR5416_DFS_MAXLEN; in ar5416GetDfsDefaultThresh() 81 ar5416GetDfsThresh(struct ath_hal *ah, HAL_PHYERR_PARAM *pe) in ar5416GetDfsThresh() argument [all …]
|
| /NextBSD/lib/libc/tests/nss/ |
| HD | getproto_test.c | 113 free_protoent(struct protoent *pe) in free_protoent() argument 117 assert(pe != NULL); in free_protoent() 119 free(pe->p_name); in free_protoent() 121 for (cp = pe->p_aliases; *cp; ++cp) in free_protoent() 123 free(pe->p_aliases); in free_protoent() 167 sdump_protoent(struct protoent *pe, char *buffer, size_t buflen) in sdump_protoent() argument 173 pe->p_name, pe->p_proto); in sdump_protoent() 179 if (pe->p_aliases != NULL) { in sdump_protoent() 180 if (*(pe->p_aliases) != '\0') { in sdump_protoent() 181 for (cp = pe->p_aliases; *cp; ++cp) { in sdump_protoent() [all …]
|
| /NextBSD/lib/libcuse/ |
| HD | cuse_lib.c | 463 struct cuse_dev_entered *pe; in cuse_wait_and_process() local 509 TAILQ_FOREACH(pe, &h_cuse_entered, entry) { in cuse_wait_and_process() 510 if (pe->cdev != cdev) in cuse_wait_and_process() 512 if (pe->thread == curr) in cuse_wait_and_process() 514 if (pe->per_file_handle != in cuse_wait_and_process() 517 pe->got_signal = 1; in cuse_wait_and_process() 518 pthread_kill(pe->thread, SIGHUP); in cuse_wait_and_process() 573 TAILQ_FOREACH(pe, &h_cuse_entered, entry) { in cuse_wait_and_process() 574 if (pe->cdev != cdev) in cuse_wait_and_process() 576 if (pe->thread == curr) in cuse_wait_and_process() [all …]
|
| /NextBSD/tools/tools/ath/athspectral/ |
| HD | athspectral.c | 87 HAL_SPECTRAL_PARAM pe; in spectralset() local 89 pe.ss_fft_period = HAL_SPECTRAL_PARAM_NOVAL; in spectralset() 90 pe.ss_period = HAL_SPECTRAL_PARAM_NOVAL; in spectralset() 91 pe.ss_count = HAL_SPECTRAL_PARAM_NOVAL; in spectralset() 92 pe.ss_short_report = HAL_SPECTRAL_PARAM_NOVAL; in spectralset() 93 pe.ss_spectral_pri = HAL_SPECTRAL_PARAM_NOVAL; in spectralset() 94 pe.ss_fft_period = HAL_SPECTRAL_PARAM_NOVAL; in spectralset() 95 pe.ss_enabled = HAL_SPECTRAL_PARAM_NOVAL; in spectralset() 96 pe.ss_active = HAL_SPECTRAL_PARAM_NOVAL; in spectralset() 100 pe.ss_fft_period = param; in spectralset() [all …]
|
| /NextBSD/sys/dev/ath/ath_dfs/null/ |
| HD | dfs_null.c | 106 HAL_PHYERR_PARAM pe; in ath_dfs_radar_enable() 119 memset(&pe, '\0', sizeof(pe)); in ath_dfs_radar_enable() 120 if (! ath_hal_getdfsdefaultthresh(sc->sc_ah, &pe)) in ath_dfs_radar_enable() 127 pe.pe_enabled = 1; in ath_dfs_radar_enable() 131 pe.pe_extchannel = 1; in ath_dfs_radar_enable() 133 pe.pe_extchannel = 0; in ath_dfs_radar_enable() 135 ath_hal_enabledfs(sc->sc_ah, &pe); in ath_dfs_radar_enable() 159 HAL_PHYERR_PARAM pe; in ath_dfs_radar_disable() 161 (void) ath_hal_getdfsthresh(sc->sc_ah, &pe); in ath_dfs_radar_disable() 162 pe.pe_enabled = 0; in ath_dfs_radar_disable() [all …]
|
| /NextBSD/sys/contrib/dev/ath/ath_hal/ar9300/ |
| HD | ar9300_radar.c | 229 ar9300_enable_dfs(struct ath_hal *ah, HAL_PHYERR_PARAM *pe) argument 239 if (pe->pe_firpwr != HAL_PHYERR_PARAM_NOVAL) { 241 val |= SM(pe->pe_firpwr, AR_PHY_RADAR_0_FIRPWR); 243 if (pe->pe_rrssi != HAL_PHYERR_PARAM_NOVAL) { 245 val |= SM(pe->pe_rrssi, AR_PHY_RADAR_0_RRSSI); 247 if (pe->pe_height != HAL_PHYERR_PARAM_NOVAL) { 249 val |= SM(pe->pe_height, AR_PHY_RADAR_0_HEIGHT); 251 if (pe->pe_prssi != HAL_PHYERR_PARAM_NOVAL) { 259 val |= SM(pe->pe_prssi, AR_PHY_RADAR_0_PRSSI); 262 val |= SM(pe->pe_prssi, AR_PHY_RADAR_0_PRSSI); [all …]
|
| /NextBSD/sbin/kldconfig/ |
| HD | kldconfig.c | 143 struct pathentry *pe, *pskip; in addpath() local 162 TAILQ_FOREACH(pe, pathq, next) in addpath() 163 if (!strcmp(pe->path, pathbuf)) in addpath() 165 if (pe != NULL) { in addpath() 172 if (((pe = malloc(sizeof(*pe))) == NULL) || in addpath() 173 ((pe->path = strdup(pathbuf)) == NULL)) { in addpath() 178 TAILQ_INSERT_TAIL(pathq, pe, next); in addpath() 183 TAILQ_INSERT_BEFORE(pskip, pe, next); in addpath() 185 TAILQ_INSERT_TAIL(pathq, pe, next); in addpath() 196 struct pathentry *pe; in rempath() local [all …]
|
| /NextBSD/sys/dev/ath/ath_hal/ar5212/ |
| HD | ar5212_misc.c | 1164 ar5212EnableDfs(struct ath_hal *ah, HAL_PHYERR_PARAM *pe) in ar5212EnableDfs() argument 1169 if (pe->pe_firpwr != HAL_PHYERR_PARAM_NOVAL) { in ar5212EnableDfs() 1171 val |= SM(pe->pe_firpwr, AR_PHY_RADAR_0_FIRPWR); in ar5212EnableDfs() 1173 if (pe->pe_rrssi != HAL_PHYERR_PARAM_NOVAL) { in ar5212EnableDfs() 1175 val |= SM(pe->pe_rrssi, AR_PHY_RADAR_0_RRSSI); in ar5212EnableDfs() 1177 if (pe->pe_height != HAL_PHYERR_PARAM_NOVAL) { in ar5212EnableDfs() 1179 val |= SM(pe->pe_height, AR_PHY_RADAR_0_HEIGHT); in ar5212EnableDfs() 1181 if (pe->pe_prssi != HAL_PHYERR_PARAM_NOVAL) { in ar5212EnableDfs() 1183 val |= SM(pe->pe_prssi, AR_PHY_RADAR_0_PRSSI); in ar5212EnableDfs() 1185 if (pe->pe_inband != HAL_PHYERR_PARAM_NOVAL) { in ar5212EnableDfs() [all …]
|
| /NextBSD/contrib/elftoolchain/libdwarf/ |
| HD | dwarf_pro_expr.c | 108 Dwarf_P_Expr pe, tpe; in _dwarf_expr_cleanup() local 113 STAILQ_FOREACH_SAFE(pe, &dbg->dbgp_pelist, pe_next, tpe) { in _dwarf_expr_cleanup() 114 STAILQ_REMOVE(&dbg->dbgp_pelist, pe, _Dwarf_P_Expr, pe_next); in _dwarf_expr_cleanup() 115 STAILQ_FOREACH_SAFE(ee, &pe->pe_eelist, ee_next, tee) { in _dwarf_expr_cleanup() 116 STAILQ_REMOVE(&pe->pe_eelist, ee, _Dwarf_P_Expr_Entry, in _dwarf_expr_cleanup() 120 if (pe->pe_block) in _dwarf_expr_cleanup() 121 free(pe->pe_block); in _dwarf_expr_cleanup() 122 free(pe); in _dwarf_expr_cleanup() 129 Dwarf_P_Expr pe; in dwarf_new_expr() local 136 if ((pe = calloc(1, sizeof(struct _Dwarf_P_Expr))) == NULL) { in dwarf_new_expr() [all …]
|
| /NextBSD/lib/libpmc/ |
| HD | libpmc.c | 575 k7_allocate_pmc(enum pmc_event pe, char *ctrspec, in k7_allocate_pmc() argument 585 if (pe == PMC_EV_K7_DC_REFILLS_FROM_L2 || in k7_allocate_pmc() 586 pe == PMC_EV_K7_DC_REFILLS_FROM_SYSTEM || in k7_allocate_pmc() 587 pe == PMC_EV_K7_DC_WRITEBACKS) { in k7_allocate_pmc() 745 iaf_allocate_pmc(enum pmc_event pe, char *ctrspec, in iaf_allocate_pmc() argument 750 (void) pe; in iaf_allocate_pmc() 942 iap_allocate_pmc(enum pmc_event pe, char *ctrspec, in iap_allocate_pmc() argument 1059 switch (pe) { in iap_allocate_pmc() 1095 ucf_allocate_pmc(enum pmc_event pe, char *ctrspec, in ucf_allocate_pmc() argument 1098 (void) pe; in ucf_allocate_pmc() [all …]
|
| /NextBSD/usr.bin/bluetooth/bthost/ |
| HD | bthost.c | 111 struct protoent *pe = NULL; in protomode() local 115 pe = bt_getprotobynumber(proto); in protomode() 117 pe = bt_getprotobyname(arg); in protomode() 119 if (pe == NULL) { in protomode() 126 printf("%s", pe->p_name); in protomode() 128 printf("%d", pe->p_proto); in protomode() 131 pe->p_name, pe->p_proto); in protomode()
|
| /NextBSD/contrib/binutils/bfd/ |
| HD | peXXigen.c | 395 struct internal_extra_pe_aouthdr *a = &aouthdr_int->pe; in _bfd_XXi_swap_aouthdr_in() 535 pe_data_type *pe = pe_data (abfd); in _bfd_XXi_swap_aouthdr_out() local 536 struct internal_extra_pe_aouthdr *extra = &pe->pe_opthdr; in _bfd_XXi_swap_aouthdr_out() 541 if (pe->force_minimum_alignment) in _bfd_XXi_swap_aouthdr_out() 550 extra->Subsystem = pe->target_subsystem; in _bfd_XXi_swap_aouthdr_out() 556 idata2 = pe->pe_opthdr.DataDirectory[PE_IMPORT_TABLE]; in _bfd_XXi_swap_aouthdr_out() 557 idata5 = pe->pe_opthdr.DataDirectory[PE_IMPORT_ADDRESS_TABLE]; in _bfd_XXi_swap_aouthdr_out() 558 tls = pe->pe_opthdr.DataDirectory[PE_TLS_TABLE]; in _bfd_XXi_swap_aouthdr_out() 622 if (pe->has_reloc_section) in _bfd_XXi_swap_aouthdr_out() 746 filehdr_in->pe.e_magic = DOSMAGIC; in _bfd_XXi_only_swap_filehdr_out() [all …]
|
| HD | peicode.h | 250 pe_data_type *pe; in pe_mkobject() local 258 pe = pe_data (abfd); in pe_mkobject() 260 pe->coff.pe = 1; in pe_mkobject() 263 pe->in_reloc_p = in_reloc_p; in pe_mkobject() 266 pe->force_minimum_alignment = 1; in pe_mkobject() 269 pe->target_subsystem = PEI_TARGET_SUBSYSTEM; in pe_mkobject() 283 pe_data_type *pe; in pe_mkobject_hook() local 288 pe = pe_data (abfd); in pe_mkobject_hook() 289 pe->coff.sym_filepos = internal_f->f_symptr; in pe_mkobject_hook() 293 pe->coff.local_n_btmask = N_BTMASK; in pe_mkobject_hook() [all …]
|
| /NextBSD/libexec/tftpd/ |
| HD | tftp-io.c | 89 struct errmsg *pe; in errtomsg() local 93 for (pe = errmsgs; pe->e_code >= 0; pe++) in errtomsg() 94 if (pe->e_code == error) in errtomsg() 95 return (pe->e_msg); in errtomsg() 141 struct errmsg *pe; in send_error() local 152 for (pe = errmsgs; pe->e_code >= 0; pe++) in send_error() 153 if (pe->e_code == error) in send_error() 155 if (pe->e_code < 0) { in send_error() 156 pe->e_msg = strerror(error - 100); in send_error() 159 strcpy(tp->th_msg, pe->e_msg); in send_error() [all …]
|
| /NextBSD/lib/libc/net/ |
| HD | getprotoent.c | 296 __copy_protoent(struct protoent *pe, struct protoent *pptr, char *buf, in __copy_protoent() argument 306 for (i = 0; pe->p_aliases[i]; i++, numptr++) { in __copy_protoent() 307 len += strlen(pe->p_aliases[i]) + 1; in __copy_protoent() 309 len += strlen(pe->p_name) + 1; in __copy_protoent() 318 pptr->p_proto = pe->p_proto; in __copy_protoent() 323 n = strlen(pe->p_name) + 1; in __copy_protoent() 324 strcpy(cp, pe->p_name); in __copy_protoent() 330 for (i = 0 ; pe->p_aliases[i]; i++) { in __copy_protoent() 331 n = strlen(pe->p_aliases[i]) + 1; in __copy_protoent() 332 strcpy(cp, pe->p_aliases[i]); in __copy_protoent() [all …]
|
| HD | getprotoname.c | 60 struct protoent pe; in files_getprotobyname() local 84 while ((error = __getprotoent_p(&pe, ped)) == 0) { in files_getprotobyname() 85 if (strcmp(pe.p_name, name) == 0) in files_getprotobyname() 87 for (cp = pe.p_aliases; *cp != 0; cp++) in files_getprotobyname() 98 if (__copy_protoent(&pe, pptr, buffer, buflen) != 0) { in files_getprotobyname()
|
| /NextBSD/usr.sbin/ppp/ |
| HD | filter.c | 134 ParseUdpOrTcp(int argc, char const *const *argv, const struct protoent *pe, in ParseUdpOrTcp() argument 146 if (pe == NULL) in ParseUdpOrTcp() 148 tgt->f_srcport = ParsePort(argv[2], pe->p_name); in ParseUdpOrTcp() 161 if (pe == NULL) in ParseUdpOrTcp() 163 tgt->f_dstport = ParsePort(argv[2], pe->p_name); in ParseUdpOrTcp() 170 if (pe && pe->p_proto == IPPROTO_TCP) { in ParseUdpOrTcp() 246 struct protoent *pe; in filter_Parse() local 307 pe = NULL; in filter_Parse() 308 else if ((pe = getprotobyname(*argv)) == NULL && strcmp(*argv, "all") != 0) { in filter_Parse() 344 if ((pe = getprotobyname(*argv)) == NULL && strcmp(*argv, "all") != 0) { in filter_Parse() [all …]
|
| /NextBSD/lib/libc/stdio/ |
| HD | xprintf_int.c | 260 char *p, *pe; in __printf_render_int() local 273 pe = buf + sizeof buf - 1; in __printf_render_int() 350 p = __ultoa(uu, pe, rdx, digit, ngrp, thousands_sep, grouping); in __printf_render_int() 352 p = __ujtoa(uu, pe, rdx, digit, ngrp, thousands_sep, grouping); in __printf_render_int() 367 p = pe; in __printf_render_int() 379 l += pe - p; in __printf_render_int() 388 if (pi->prec > (pe - p)) in __printf_render_int() 389 zext = pi->prec - (pe - p); in __printf_render_int() 411 if (pi->width > (pe - p) && !pi->left) { in __printf_render_int() 412 l = pi->width - (pe - p); in __printf_render_int() [all …]
|
| /NextBSD/usr.bin/checknr/ |
| HD | checknr.c | 71 static void pe(int); 331 pe(lineno); in process() 338 pe(lineno); in process() 377 pe(lineno); in process() 393 pe(lineno); in process() 418 pe(stk[i].lno); in complain() 507 pe(stk[j+1].lno); in nomatch() 519 pe(lineno); in nomatch() 532 pe(int linen) in pe() function 550 pe(lineno); in checkknown() [all …]
|
| /NextBSD/contrib/binutils/ld/po/ |
| HD | ld.pot | 34 #: emultempl/armcoff.em:189 emultempl/pe.em:1528 38 #: emultempl/armcoff.em:194 emultempl/pe.em:1533 42 #: emultempl/pe.em:311 49 #: emultempl/pe.em:312 55 #: emultempl/pe.em:313 60 #: emultempl/pe.em:314 65 #: emultempl/pe.em:315 71 #: emultempl/pe.em:316 77 #: emultempl/pe.em:317 82 #: emultempl/pe.em:318 [all …]
|
| /NextBSD/crypto/heimdal/lib/roken/ |
| HD | glob.c | 246 const Char *pe, *pm, *pl; in globexp2() local 255 for (i = 0, pe = ++ptr; *pe; pe++) in globexp2() 256 if (*pe == CHAR_LBRACKET) { in globexp2() 258 for (pm = pe++; *pe != CHAR_RBRACKET && *pe != CHAR_EOS; pe++) in globexp2() 260 if (*pe == CHAR_EOS) { in globexp2() 265 pe = pm; in globexp2() 268 else if (*pe == CHAR_LBRACE) in globexp2() 270 else if (*pe == CHAR_RBRACE) { in globexp2() 277 if (i != 0 || *pe == CHAR_EOS) { in globexp2() 282 for (i = 0, pl = pm = ptr; pm <= pe; pm++) in globexp2() [all …]
|
| /NextBSD/sys/dev/ath/ |
| HD | if_ath_spectral.c | 187 HAL_SPECTRAL_PARAM *pe; in ath_ioctl_spectral() local 226 pe = (HAL_SPECTRAL_PARAM *) outdata; in ath_ioctl_spectral() 227 memcpy(pe, &peout, sizeof(*pe)); in ath_ioctl_spectral() 234 pe = (HAL_SPECTRAL_PARAM *) indata; in ath_ioctl_spectral() 235 ath_hal_spectral_configure(sc->sc_ah, pe); in ath_ioctl_spectral()
|
| /NextBSD/contrib/opie/ |
| HD | glob.c | 454 register char *pe, *pm, *pl; variable 460 for (pe = ++p; *pe; pe++) 461 switch (*pe) { 474 for (pe++; *pe && *pe != ']'; pe++) 480 for (pl = pm = p; pm <= pe; pm++) 502 strcat(restbuf, pe + 1);
|