Home
last modified time | relevance | path

Searched refs:p (Results 251 – 275 of 7340) sorted by relevance

1...<<11121314151617181920>>...294

/freebsd/usr.bin/jot/
H A Djot.c384 for (p = str; *p; p++) in getprec()
387 if (!*p) in getprec()
389 for (q = ++p; *p; p++) in getprec()
408 for (p = format; *p; p++) /* look for '%' */ in getformat()
438 p++; in getformat()
444 p++; in getformat()
452 p++; in getformat()
492 if (*p == '%' && *(p+1) && *(p+1) != '%') in getformat()
494 else if (*p == '%' && *(p+1) == '%') in getformat()
495 p++; in getformat()
[all …]
/freebsd/lib/libipsec/
H A Dpfkey.c108 caddr_t p; in findsupportedalg() local
389 if (!p) { in pfkey_send_getspi()
394 p = pfkey_setsadbxsa2(p, ep, mode, reqid); in pfkey_send_getspi()
583 if (!p || p != ep) { in pfkey_send_delete_all()
1141 p = pfkey_setsadbxsa2(p, ep, mode, reqid); in pfkey_send_x1()
1147 p = pfkey_setsadbxreplay(p, ep, wsize); in pfkey_send_x1()
1192 if (!p || p != ep) { in pfkey_send_x1()
1260 p = pfkey_setsadbsa(p, ep, spi, 0, 0, 0, 0); in pfkey_send_x2()
1273 if (!p || p != ep) { in pfkey_send_x2()
1334 if (!p || p != ep) { in pfkey_send_x3()
[all …]
/freebsd/contrib/libarchive/tar/test/
H A Dtest_option_a.c31 char *p; in DEFINE_TEST() local
45 free(p); in DEFINE_TEST()
52 p = slurpfile(&s, "test2.taZ"); in DEFINE_TEST()
56 free(p); in DEFINE_TEST()
67 free(p); in DEFINE_TEST()
74 p = slurpfile(&s, "test4.zip"); in DEFINE_TEST()
78 free(p); in DEFINE_TEST()
90 free(p); in DEFINE_TEST()
99 p = slurpfile(&s, "test6.xxx"); in DEFINE_TEST()
103 free(p); in DEFINE_TEST()
[all …]
/freebsd/crypto/heimdal/lib/roken/
H A Dbase64.c47 const char *p; in pos() local
48 for (p = base64_chars; *p; p++) in pos()
49 if (*p == c) in pos()
57 char *s, *p; in base64_encode() local
68 if (p == NULL) { in base64_encode()
89 p[3] = '='; in base64_encode()
91 p[2] = '='; in base64_encode()
92 p += 4; in base64_encode()
94 *p = 0; in base64_encode()
126 const char *p; in base64_decode() local
[all …]
/freebsd/cddl/lib/libdtrace/
H A Dudplite.d55 udplites_addr = (uintptr_t)p;
56 udplites_lport = p == NULL ? 0 : ntohs(p->inp_inc.inc_ie.ie_lport);
57 udplites_rport = p == NULL ? 0 : ntohs(p->inp_inc.inc_ie.ie_fport);
58 udplites_laddr = p == NULL ? "<unknown>" :
59 p->inp_vflag == INP_IPV4 ?
63 p->inp_vflag == INP_IPV4 ?
70 udplite_sport = p == NULL ? 0 : ntohs(p->uh_sport);
71 udplite_dport = p == NULL ? 0 : ntohs(p->uh_dport);
72 udplite_coverage = p == NULL ? 0 : ntohs(p->uh_ulen);
73 udplite_checksum = p == NULL ? 0 : ntohs(p->uh_sum);
[all …]
H A Dudp.d54 udps_addr = (uintptr_t)p;
55 udps_lport = p == NULL ? 0 : ntohs(p->inp_inc.inc_ie.ie_lport);
56 udps_rport = p == NULL ? 0 : ntohs(p->inp_inc.inc_ie.ie_fport);
57 udps_laddr = p == NULL ? "<unknown>" :
58 p->inp_vflag == INP_IPV4 ?
62 p->inp_vflag == INP_IPV4 ?
69 udp_sport = p == NULL ? 0 : ntohs(p->uh_sport);
70 udp_dport = p == NULL ? 0 : ntohs(p->uh_dport);
71 udp_length = p == NULL ? 0 : ntohs(p->uh_ulen);
72 udp_checksum = p == NULL ? 0 : ntohs(p->uh_sum);
[all …]
/freebsd/contrib/atf/atf-c/detail/
H A Dfs_test.c438 atf_fs_path_t p; in ATF_TC_BODY() local
465 atf_fs_path_t p; in ATF_TC_BODY() local
491 atf_fs_path_t p; in ATF_TC_BODY() local
662 atf_fs_path_t p; in ATF_TC_BODY() local
745 atf_fs_path_t p; in ATF_TC_BODY() local
764 atf_fs_path_t p; in ATF_TC_BODY() local
789 atf_fs_path_t p; in ATF_TC_BODY() local
878 atf_fs_path_t p; in ATF_TC_BODY() local
928 atf_fs_path_t p; in ATF_TC_BODY() local
1010 atf_fs_path_t p; in ATF_TC_BODY() local
[all …]
/freebsd/contrib/nvi/vi/
H A Dvs_smap.c245 for (; p > HMAP; --p) in vs_sm_fill()
253 for (; p < TMAP; ++p) in vs_sm_fill()
264 bottom: for (p = TMAP; p > HMAP; --p) in vs_sm_fill()
282 for (p = HMAP; p < TMAP; ++p) in vs_sm_fill()
316 for (p = HMAP; p->lno != lno; ++p); in vs_sm_delete()
339 if (p < TMAP && vs_sm_next(sp, p, p + 1)) in vs_sm_delete()
367 for (p = HMAP; p->lno != lno; ++p); in vs_sm_insert()
419 for (p = HMAP; p->lno != lno; ++p); in vs_sm_reset()
459 memmove(p + diff, p, in vs_sm_reset()
1106 for (p = HMAP; p->lno != sp->lno; ++p); in vs_sm_cursor()
[all …]
/freebsd/sys/netinet/libalias/
H A Dalias_mod.c64 if ((b->pri == p->pri) && in attach_handler()
65 (b->dir == p->dir) && in attach_handler()
68 if (b->pri > p->pri) { in attach_handler()
84 while (p->dir != NODIR) { in LibAliasAttachHandlers()
88 p++; in LibAliasAttachHandlers()
98 while (p->dir != NODIR) { in LibAliasDetachHandlers()
100 p++; in LibAliasDetachHandlers()
110 struct proto_handler *p; in find_handler() local
113 if ((p->dir & dir) && (p->proto & proto) && in find_handler()
130 attach_dll(struct dll *p) in attach_dll() argument
[all …]
/freebsd/sys/kern/
H A Dsubr_prof.c63 struct proc *p; in sys_profil() local
68 p = td->td_proc; in sys_profil()
70 PROC_LOCK(p); in sys_profil()
72 PROC_UNLOCK(p); in sys_profil()
75 PROC_LOCK(p); in sys_profil()
84 PROC_UNLOCK(p); in sys_profil()
148 PROC_LOCK(p); in addupc_task()
164 PROC_UNLOCK(p); in addupc_task()
168 PROC_LOCK(p); in addupc_task()
173 PROC_LOCK(p); in addupc_task()
[all …]
/freebsd/contrib/netbsd-tests/lib/libc/net/
H A Dt_getprotoent.c57 struct protoent *p; in ATF_TC_BODY() local
86 struct protoent *p; in ATF_TC_BODY() local
129 struct protoent *p; in ATF_TC_BODY() local
172 struct protoent *p; in ATF_TC_BODY() local
194 struct protoent *p; in ATF_TC_BODY() local
198 p = getprotoent(); in ATF_TC_BODY()
201 p = getprotoent(); in ATF_TC_BODY()
204 p = getprotoent(); in ATF_TC_BODY()
209 p = getprotoent(); in ATF_TC_BODY()
212 p = getprotoent(); in ATF_TC_BODY()
[all …]
/freebsd/crypto/heimdal/kcm/
H A Dcache.c69 for (p = ccache_head; p != NULL; p = p->next) { in kcm_ccache_resolve()
102 for (p = ccache_head; p != NULL; p = p->next) { in kcm_ccache_resolve_by_uuid()
131 for (p = ccache_head; p != NULL; p = p->next) { in kcm_ccache_get_uuids()
139 krb5_storage_write(sp, p->uuid, sizeof(p->uuid)); in kcm_ccache_get_uuids()
152 for (p = ccache_head; p != NULL; p = p->next) { in kcm_debug_ccache()
174 p, p->name, p->refcnt, p->flags, p->mode, p->uid, p->gid, in kcm_debug_ccache()
235 for (p = &ccache_head; *p != NULL; p = &(*p)->next) { in kcm_ccache_destroy()
252 *p = (*p)->next; in kcm_ccache_destroy()
276 for (p = ccache_head; p != NULL; p = p->next) { in kcm_ccache_alloc()
667 for (p = ccache_head; p != NULL; p = p->next) { in kcm_ccache_first_name()
[all …]
/freebsd/usr.bin/chpass/
H A Dedit.c156 p = strdup(p ? p : ""); in display()
162 p = strdup(p ? p : ""); in display()
168 p = strdup(p ? p : ""); in display()
174 p = strdup(p ? p : ""); in display()
237 for (p = buf; p < buf + len && *p != ':'; ++p) in verify()
243 while (++p < buf + len && isspace(*p)) in verify()
246 asprintf(&val, "%.*s", (int)(buf + len - p), p); in verify()
266 if (p == NULL) { in verify()
272 p[--len] = '\0'; in verify()
273 pw->pw_gecos = p; in verify()
[all …]
/freebsd/sys/contrib/openzfs/module/lua/
H A Dlstrlib.c130 memcpy(p, s, l * sizeof(char)); p += l; in str_rep()
132 memcpy(p, sep, lsep * sizeof(char)); p += lsep; in str_rep()
260 if (*p == '^') p++; in classend()
264 if (*(p++) == L_ESC && p < ms->p_end) in classend()
304 p++; in matchbracketclass()
308 else if ((*(p+1) == '-') && (p+2 < ec)) { in matchbracketclass()
309 p+=2; in matchbracketclass()
310 if (uchar(*(p-2)) <= c && c <= uchar(*p)) in matchbracketclass()
869 while (*p != '\0' && strchr(FLAGS, *p) != NULL) p++; /* skip flags */ in scanformat()
872 if (isdigit(uchar(*p))) p++; /* skip width */ in scanformat()
[all …]
/freebsd/sbin/fsck_msdosfs/
H A Ddir.c271 for (p = pendingDirectories; p; p = np) { in finishDosDirSection()
405 p[28] = p[29] = p[30] = p[31] = 0; in checksize()
406 p[26] = p[27] = 0; in checksize()
408 p[20] = p[21] = 0; in checksize()
699 if (!p[k] && !p[k + 1]) in readDosDirSection()
798 dirent.size = p[28] | (p[29] << 8) | (p[30] << 16) | (p[31] << 24); in readDosDirSection()
869 p[28] = p[29] = p[30] = p[31] = 0; in readDosDirSection()
870 p[26] = p[27] = 0; in readDosDirSection()
872 p[20] = p[21] = 0; in readDosDirSection()
891 p[28] = p[29] = p[30] = p[31] = 0; in readDosDirSection()
[all …]
/freebsd/sys/sys/
H A Dsmr_types.h61 #define smr_entered_load(p, smr) ({ \ argument
63 (__typeof((p)->__ptr))atomic_load_acq_ptr((uintptr_t *)&(p)->__ptr); \
71 #define smr_serialized_load(p, ex) ({ \ argument
73 (__typeof((p)->__ptr))atomic_load_ptr(&(p)->__ptr); \
86 __typeof((p)->__ptr) _v = (v); \
97 #define smr_serialized_swap(p, v, ex) ({ \ argument
99 __typeof((p)->__ptr) _v = (v); \
102 (__typeof((p)->__ptr))atomic_swap_ptr( \
113 (__typeof((p)->__ptr))atomic_load_ptr(&(p)->__ptr); \
123 __typeof((p)->__ptr) _v = (v); \
[all …]
/freebsd/contrib/xz/src/common/
H A Dtuklib_progname.c31 char *p = argv[0] + strlen(argv[0]); in tuklib_progname_init() local
32 while (argv[0] < p && p[-1] != '/' && p[-1] != '\\') in tuklib_progname_init()
33 --p; in tuklib_progname_init()
35 argv[0] = p; in tuklib_progname_init()
38 p = strrchr(p, '.'); in tuklib_progname_init()
39 if (p != NULL) in tuklib_progname_init()
40 *p = '\0'; in tuklib_progname_init()
43 for (p = argv[0]; *p != '\0'; ++p) in tuklib_progname_init()
44 if (*p >= 'A' && *p <= 'Z') in tuklib_progname_init()
45 *p = *p - 'A' + 'a'; in tuklib_progname_init()
/freebsd/lib/libc/iconv/
H A Dcitrus_bcs.c84 while (*p && _bcs_isspace(*p)) in _citrus_bcs_skip_ws()
85 p++; in _citrus_bcs_skip_ws()
87 return (p); in _citrus_bcs_skip_ws()
97 while (*p && !_bcs_isspace(*p)) in _citrus_bcs_skip_nonws()
98 p++; in _citrus_bcs_skip_nonws()
100 return (p); in _citrus_bcs_skip_nonws()
110 while (*len > 0 && *p && _bcs_isspace(*p)) { in _citrus_bcs_skip_ws_len()
111 p++; in _citrus_bcs_skip_ws_len()
115 return (p); in _citrus_bcs_skip_ws_len()
125 while (*len > 0 && *p && !_bcs_isspace(*p)) { in _citrus_bcs_skip_nonws_len()
[all …]
/freebsd/contrib/arm-optimized-routines/math/test/
H A Dulp.h85 e = d > 0 ? -p->tail - 0.5 : -p->tail + 0.5; in RT()
151 if (RT(isok) (ygot, exgot, p->y, p->ex, p->ex_may)) in T()
153 p->ulpexp = RT(ulpscale) (p->y); in T()
157 p->tail = RT(lscalbn) (yl - p->y, -p->ulpexp); in T()
162 if (p->y != 0 || (p->ex & FE_INEXACT)) in T()
179 p->ulpexp = RT(ulpscale) (p->y); in T()
183 p->tail = RT(lscalbn) (yl - p->y, -p->ulpexp); in T()
232 if (!mpfr_nanflag_p () && RT(isok) (ygot, exgot, p->y, p->ex, p->ex_may)) in T()
245 p->y = (p->y - p->y) / (p->y - p->y); in T()
246 return RT(isok) (ygot, exgot, p->y, p->ex, p->ex_may); in T()
[all …]
/freebsd/contrib/libbegemot/
H A Drpoll.c132 free(p); in _xrealloc()
249 for(p = regs; p < &regs[regs_alloc]; p++) in poll_register()
250 if(p->fd == fd && p->func == func && p->arg == arg) { in poll_register()
259 for(p = regs; p < &regs[regs_alloc]; p++) in poll_register()
266 for(p = &regs[regs_alloc]; p < &regs[newsize]; p++) { in poll_register()
276 p->fd = fd; in poll_register()
327 for(p = regs; p < &regs[regs_alloc]; p++) in poll_build()
348 for(p = regs; p < &regs[regs_alloc]; p++) in poll_build()
372 PollTim_t *p; in poll_start_utimer() local
375 for(p = tims; p < &tims[tims_alloc]; p++) in poll_start_utimer()
[all …]
/freebsd/lib/libpmc/pmu-events/
H A Dlist.h170 for (p = (head)->next; p != (head); p = (p)->next)
173 for (p = (head)->next, n = (p)->next; p != (head); p = n, n = (p)->next)
177 p = list_entry((p)->field.next, typeof(*p), field))
186 p = list_entry((p)->field.next, typeof(*p), field))
189 for (p = list_next_entry((p), field); &(p)->field != (h); \
199 p = list_entry((p)->field.prev, typeof(*p), field))
207 for (p = list_entry((p)->field.prev, typeof(*p), field); &(p)->field != (h); \
208 p = list_entry((p)->field.prev, typeof(*p), field))
210 #define list_for_each_prev(p, h) for (p = (h)->prev; p != (h); p = (p)->prev) argument
425 for (p = (head)->first; p; p = (p)->next)
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/UnwindAssembly/x86/
H A Dx86AssemblyInspectionEngine.cpp315 return *p == 0x6a && *(p + 1) == 0x0; in push_0_pattern_p()
322 return *p == 0x68 || *p == 0x6a; in push_imm_pattern_p()
358 if (p == 0x0e || p == 0x16 || p == 0x1e || p == 0x06) in push_misc_reg_p()
374 if (*p >= 0x50 && *p <= 0x57) { in push_reg_p()
387 if (*(p) == 0x8b && *(p + 1) == 0xec) in mov_rsp_rbp_pattern_p()
389 if (*(p) == 0x89 && *(p + 1) == 0xe5) in mov_rsp_rbp_pattern_p()
556 if (*p != 0x81 && *p != 0x83) in and_rsp_pattern_p()
572 if (*p >= 0x58 && *p <= 0x5f) { in pop_reg_p()
593 if (p == 0x1f || p == 0x07 || p == 0x17) in pop_misc_reg_p()
608 return (*p == 0xe8) && (*(p + 1) == 0x0) && (*(p + 2) == 0x0) && in call_next_insn_pattern_p()
[all …]
/freebsd/crypto/heimdal/lib/krb5/
H A Dtransited.c54 p = r; in free_realms()
57 free(p); in free_realms()
78 p = strchr(p, '.'); in make_path()
101 while(p >= from && *p != '/') p--; in make_path()
217 for(p = q = r->realm; *p; p++){ in make_realm()
218 if(p == r->realm && *p == ' '){ in make_realm()
233 if(p[0] == '.' && p[1] == '\0') in make_realm()
250 while(p->next) p = p->next; in append_realm()
425 for(p = tr_realms; p && *p; p++) { in krb5_check_transited()
429 if(p == NULL || *p == NULL) { in krb5_check_transited()
[all …]
/freebsd/sys/riscv/include/
H A Datomic.h130 : "+A" (*p) in atomic_add_32()
140 : "+A" (*p) in atomic_subtract_32()
150 : "+A" (*p) in atomic_set_32()
160 : "+A" (*p) in atomic_clear_32()
264 ret = *p; in atomic_load_acq_32()
277 *p = val; in atomic_store_rel_32()
301 : "+A" (*p) in atomic_add_64()
311 : "+A" (*p) in atomic_subtract_64()
321 : "+A" (*p) in atomic_set_64()
474 ret = *p; in atomic_load_acq_64()
[all …]
/freebsd/contrib/libfido2/fuzz/
H A Dfuzz_pcsc.c41 struct param *p; in unpack() local
44 if ((p = calloc(1, sizeof(*p))) == NULL || in unpack()
64 free(p); in unpack()
65 p = NULL; in unpack()
71 return p; in unpack()
235 set_wire_data(p->wiredata_init.body, p->wiredata_init.len); in test()
240 set_wire_data(p->wiredata_init.body, p->wiredata_init.len); in test()
243 set_wire_data(p->wiredata_msg.body, p->wiredata_msg.len); in test()
244 test_tx(p->path, &p->tx_apdu, CTAP_CMD_MSG, buf, sizeof(buf)); in test()
246 set_wire_data(p->wiredata_msg.body, p->wiredata_msg.len); in test()
[all …]

1...<<11121314151617181920>>...294