Home
last modified time | relevance | path

Searched refs:p (Results 401 – 425 of 7351) sorted by relevance

1...<<11121314151617181920>>...295

/freebsd/crypto/heimdal/lib/gssapi/krb5/
H A Dunwrap.c88 p += 2; in unwrap_des()
95 p += 2; in unwrap_des()
100 p += 2; in unwrap_des()
101 p += 16; in unwrap_des()
168 p -= 16; in unwrap_des()
171 EVP_Cipher(des_ctx, p, p, 8); in unwrap_des()
177 seq = p; in unwrap_des()
262 p += 2; in unwrap_des3()
269 p += 2; in unwrap_des3()
274 p += 2; in unwrap_des3()
[all …]
H A Dencapsulate.c66 u_char *p = ptr; in _gsskrb5_make_header() local
67 p = _gssapi_make_mech_header(p, len, mech); in _gsskrb5_make_header()
69 p += 2; in _gsskrb5_make_header()
70 return p; in _gsskrb5_make_header()
78 u_char *p = ptr; in _gssapi_make_mech_header() local
82 *p++ = 0x60; in _gssapi_make_mech_header()
87 p += len_len; in _gssapi_make_mech_header()
88 *p++ = 0x06; in _gssapi_make_mech_header()
92 return p; in _gssapi_make_mech_header()
108 void *p; in _gssapi_encapsulate() local
[all …]
/freebsd/lib/libgssapi/
H A Dgss_import_name.c60 if (p[0] != 4 || p[1] != 1) in _gss_import_export_name()
62 p += 2; in _gss_import_export_name()
71 t = (p[0] << 8) + p[1]; in _gss_import_export_name()
72 p += 2; in _gss_import_export_name()
81 p++; in _gss_import_export_name()
86 p++; in _gss_import_export_name()
92 p++; in _gss_import_export_name()
98 p++; in _gss_import_export_name()
109 p += t; in _gss_import_export_name()
112 t = (p[0] << 24) | (p[1] << 16) | (p[2] << 8) | p[3]; in _gss_import_export_name()
[all …]
/freebsd/contrib/ntp/sntp/libevent/
H A Dminheap-internal.h41 struct event** p; member
65 void min_heap_dtor_(min_heap_t* s) { if (s->p) mm_free(s->p); } in min_heap_dtor_()
83 struct event* e = *s->p; in min_heap_pop_()
137 struct event** p; in min_heap_reserve_() local
142 if (a > SIZE_MAX / sizeof *p) in min_heap_reserve_()
145 if (!(p = (struct event**)mm_realloc(s->p, a * sizeof *p))) in min_heap_reserve_()
147 s->p = p; in min_heap_reserve_()
158 (s->p[hole_index] = s->p[parent])->ev_timeout_pos.min_heap_idx = hole_index; in min_heap_shift_up_unconditional_()
170 (s->p[hole_index] = s->p[parent])->ev_timeout_pos.min_heap_idx = hole_index; in min_heap_shift_up_()
182 min_child -= min_child == s->n || min_heap_elem_greater(s->p[min_child], s->p[min_child - 1]); in min_heap_shift_down_()
[all …]
/freebsd/contrib/libevent/
H A Dminheap-internal.h41 struct event** p; member
65 void min_heap_dtor_(min_heap_t* s) { if (s->p) mm_free(s->p); } in min_heap_dtor_()
83 struct event* e = *s->p; in min_heap_pop_()
137 struct event** p; in min_heap_reserve_() local
142 if (a > SIZE_MAX / sizeof *p) in min_heap_reserve_()
145 if (!(p = (struct event**)mm_realloc(s->p, a * sizeof *p))) in min_heap_reserve_()
147 s->p = p; in min_heap_reserve_()
158 (s->p[hole_index] = s->p[parent])->ev_timeout_pos.min_heap_idx = hole_index; in min_heap_shift_up_unconditional_()
170 (s->p[hole_index] = s->p[parent])->ev_timeout_pos.min_heap_idx = hole_index; in min_heap_shift_up_()
182 min_child -= min_child == s->n || min_heap_elem_greater(s->p[min_child], s->p[min_child - 1]); in min_heap_shift_down_()
[all …]
/freebsd/sbin/etherswitchcfg/
H A Detherswitchcfg.c179 bzero(&p, sizeof(p)); in set_port_vid()
183 p.es_pvid = v; in set_port_vid()
225 bzero(&p, sizeof(p)); in set_port_flag()
248 bzero(&p, sizeof(p)); in set_port_media()
257 p.es_ifr.ifr_media = (p.es_ifmr.ifm_current & IFM_IMASK) | in set_port_media()
274 bzero(&p, sizeof(p)); in set_port_mediaopt()
303 bzero(&p, sizeof(p)); in set_port_led()
469 bzero(&p, sizeof(p)); in atu_flush()
504 bzero(&p, sizeof(p)); in atu_dump()
575 bzero(&p, sizeof(p)); in print_port()
[all …]
/freebsd/sys/sys/
H A Dhash.h48 const unsigned char *p = buf; in hash32_buf() local
51 hash = HASHSTEP(hash, *p++); in hash32_buf()
62 const unsigned char *p = buf; in hash32_str() local
64 while (*p) in hash32_str()
65 hash = HASHSTEP(hash, *p++); in hash32_str()
76 const unsigned char *p = buf; in hash32_strn() local
78 while (*p && len--) in hash32_strn()
94 while (*p && (*p != end)) in hash32_stre()
98 *ep = p; in hash32_stre()
114 while (*p && (*p != end) && len--) in hash32_strne()
[all …]
H A Dracct.h165 #define RACCT_PROC_LOCK(p) do { \ argument
167 PROC_LOCK(p); \
169 #define RACCT_PROC_UNLOCK(p) do { \ argument
171 PROC_UNLOCK(p); \
191 void racct_proc_exit(struct proc *p);
196 void racct_proc_throttle(struct proc *p, int timeout);
200 #define RACCT_PROC_LOCK(p) do { } while (0) argument
201 #define RACCT_PROC_UNLOCK(p) do { } while (0) argument
243 racct_get_limit(struct proc *p, int resource) in racct_get_limit() argument
250 racct_get_available(struct proc *p, int resource) in racct_get_available() argument
[all …]
/freebsd/contrib/bmake/
H A Dstr.h181 const char *p; in Substring_SkipFirst() local
183 for (p = sub.start; p != sub.end; p++) in Substring_SkipFirst()
184 if (*p == ch) in Substring_SkipFirst()
192 const char *p; in Substring_FindLast() local
194 for (p = sub.end; p != sub.start; p--) in Substring_FindLast()
203 const char *p; in Substring_Dirname() local
205 for (p = pathname.end; p != pathname.start; p--) in Substring_Dirname()
214 const char *p; in Substring_Basename() local
216 for (p = pathname.end; p != pathname.start; p--) in Substring_Basename()
266 for (p = str; *p != '\0'; p++) in LazyBuf_AddStr()
[all …]
H A Drealpath.c99 p = resolved; in realpath()
102 *p = '\0'; in realpath()
111 p[0] = '.'; in realpath()
112 p[1] = '\0'; in realpath()
117 p += len; in realpath()
127 *p++ = '/'; in realpath()
128 *p = '\0'; in realpath()
158 *p++ = '/'; in realpath()
159 *p = '\0'; in realpath()
162 p[0] = '/'; in realpath()
[all …]
/freebsd/contrib/one-true-awk/
H A Dtran.c134 char *p; in envinit() local
207 for (p = tp->tab[h]; p != NULL; prev = p, p = p->cnext) in freeelem()
225 Cell *p; in setsymtab() local
229 (void*)p, NN(p->nval), NN(p->sval), p->fval, p->tval); in setsymtab()
232 p = (Cell *) malloc(sizeof(*p)); in setsymtab()
248 (void*)p, p->nval, p->sval, p->fval, p->tval); in setsymtab()
285 Cell *p; in lookup() local
289 for (p = tp->tab[h]; p != NULL; p = p->cnext) in lookup()
534 char *p; in tostringN() local
546 char *p; in catstr() local
[all …]
/freebsd/contrib/netbsd-tests/lib/libc/stdio/
H A Dt_fmemopen.c133 for (p = &mode_rwa[0]; *p != NULL; ++p) { in ATF_TC_BODY()
161 for (p = &mode[0]; *p != NULL; ++p) { in ATF_TC_BODY()
190 for (p = &mode_r[0]; *p != NULL; ++p) { in ATF_TC_BODY()
226 for (p = &mode_w[0]; *p != NULL; ++p) { in ATF_TC_BODY()
263 for (p = &mode_a[0]; *p != NULL; ++p) { in ATF_TC_BODY()
303 for (p = &mode_rwa[0]; *p != NULL; ++p) { in ATF_TC_BODY()
331 for (p = &mode[0]; *p != NULL; ++p) { in ATF_TC_BODY()
358 for (p = &mode[0]; *p != NULL; ++p) { in ATF_TC_BODY()
389 for (p = &mode[0]; *p != NULL; ++p) { in ATF_TC_BODY()
523 for (p = &mode_a[0]; *p != NULL; ++p) { in ATF_TC_BODY()
[all …]
/freebsd/contrib/atf/atf-c++/detail/
H A Dfs.cpp115 impl::path::path(const path& p) in path() argument
182 return p; in branch_path()
213 return p; in to_absolute()
217 impl::path::operator=(const path& p) in operator =() argument
418 DIR* dp = ::opendir(p.c_str()); in directory()
451 impl::exists(const path& p) in exists() argument
487 impl::is_executable(const path& p) in is_executable() argument
489 if (!exists(p)) in is_executable()
495 impl::remove(const path& p) in remove() argument
501 if (::unlink(p.c_str()) == -1) in remove()
[all …]
/freebsd/contrib/libarchive/libarchive/
H A Darchive_read_support_format_zip.c1646 if (p[0] == 'P' && p[1] == 'K' in zip_read_data_none()
1668 if (p[3] == 'P') { p += 3; } in zip_read_data_none()
1669 else if (p[3] == 'K') { p += 2; } in zip_read_data_none()
1670 else if (p[3] == '\007') { p += 1; } in zip_read_data_none()
1672 && p[1] == 'K' && p[0] == 'P') { in zip_read_data_none()
1849 if(p[2] != 0x05 || p[3] != 0x00) { in zipx_lzma_alone_init()
3389 if (p[0] == 'P' && p[1] == 'K') { in archive_read_format_zip_streamable_bid()
3395 || (p[2] == '0' && p[3] == '0')) in archive_read_format_zip_streamable_bid()
3463 if (p[0] == 'P' && p[1] == 'K') { in archive_read_format_zip_streamable_read_header()
3574 if (p[3] == 'P') { p += 3; } in archive_read_format_zip_read_data_skip_streamable()
[all …]
/freebsd/usr.sbin/vidcontrol/
H A Ddecode.c38 char *bp, *p; in decode() local
51 if (!fgets(p = temp, sizeof(temp), fd)) in decode()
53 if ((n = DEC(*p)) <= 0) in decode()
55 for (++p; n > 0; p += 4, n -= 3) { in decode()
58 tbuffer[tpos++] = DEC(p[0])<<2 | DEC(p[1])>>4; in decode()
59 tbuffer[tpos++] = DEC(p[1])<<4 | DEC(p[2])>>2; in decode()
60 tbuffer[tpos++] = DEC(p[2])<<6 | DEC(p[3]); in decode()
65 DEC(p[0])<<2 | DEC(p[1])>>4; in decode()
69 DEC(p[1])<<4 | DEC(p[2])>>2; in decode()
73 DEC(p[2])<<6 | DEC(p[3]); in decode()
/freebsd/cddl/contrib/opensolaris/common/ctf/
H A Dctf_util.c45 q->l_prev = p; in ctf_list_append()
48 if (p != NULL) in ctf_list_append()
49 p->l_next = q; in ctf_list_append()
64 lp->l_next = p; in ctf_list_prepend()
65 p->l_prev = NULL; in ctf_list_prepend()
66 p->l_next = q; in ctf_list_prepend()
69 q->l_prev = p; in ctf_list_prepend()
71 lp->l_prev = p; in ctf_list_prepend()
83 if (p->l_prev != NULL) in ctf_list_delete()
84 p->l_prev->l_next = p->l_next; in ctf_list_delete()
[all …]
/freebsd/usr.bin/netstat/
H A Dpfkey.c123 p(out_total, "\t{:sent-requests/%ju} " in pfkey_stats()
125 p(out_bytes, "\t{:sent-bytes/%ju} " in pfkey_stats()
146 p(out_invlen, "\t{:dropped-bad-length/%ju} " in pfkey_stats()
148 p(out_invver, "\t{:dropped-bad-version/%ju} " in pfkey_stats()
152 p(out_tooshort, "\t{:dropped-too-short/%ju} " in pfkey_stats()
154 p(out_nomem, "\t{:dropped-no-memory/%ju} " in pfkey_stats()
166 p(in_total, "\t{:received-requests/%ju} " in pfkey_stats()
168 p(in_bytes, "\t{:received-bytes/%ju} " in pfkey_stats()
192 p(in_msgtarget[KEY_SENDUP_REGISTERED], in pfkey_stats()
195 p(in_nomem, "\t{:discarded-no-memory/%ju} " in pfkey_stats()
[all …]
/freebsd/tests/sys/vm/
H A Dpage_fault_signal.c69 int *p; in ATF_TC_BODY() local
76 r = munmap(p, sz); in ATF_TC_BODY()
80 *(volatile int *)p = 1; in ATF_TC_BODY()
89 int *p; in ATF_TC_BODY() local
97 *(volatile int *)p = 1; in ATF_TC_BODY()
99 (void)munmap(p, sz); in ATF_TC_BODY()
107 int *p; in ATF_TC_BODY() local
117 (void)munmap(p, sz); in ATF_TC_BODY()
125 int *p; in ATF_TC_BODY() local
138 (void)munmap(p, sz); in ATF_TC_BODY()
[all …]
/freebsd/crypto/heimdal/appl/afsutil/
H A Dafslog.c86 char *p; in expand_one_file() local
90 for(p = buf; *p && !isspace((unsigned char)*p) && *p != '#'; p++) in expand_one_file()
92 *p = '\0'; in expand_one_file()
151 for(p = cell_list, q = &cell_list; p; q = &p->next, p = p->next) in afslog_cell()
154 p = malloc(sizeof(*p)); in afslog_cell()
155 if(p == NULL) in afslog_cell()
157 p->cell = strdup(c); in afslog_cell()
159 free(p); in afslog_cell()
162 p->next = NULL; in afslog_cell()
163 *q = p; in afslog_cell()
[all …]
/freebsd/usr.bin/hexdump/
H A Dodsyntax.c204 (!isdigit(p[0]) && (p[0] != 'x' || !isxdigit(p[1]))))) in odoffset()
213 ++p; in odoffset()
214 if (p[0] == 'x' && isxdigit(p[1])) { in odoffset()
215 ++p; in odoffset()
217 } else if (p[0] == '0' && p[1] == 'x') { in odoffset()
218 p += 2; in odoffset()
224 for (num = p; isxdigit(*p); ++p); in odoffset()
226 for (num = p; isdigit(*p); ++p); in odoffset()
247 if (*p) { in odoffset()
250 ++p; in odoffset()
[all …]
/freebsd/usr.bin/rpcgen/
H A Drpc_scan.c316 p++; in findstrconst()
317 } while (*p && *p != '"'); in findstrconst()
321 p++; in findstrconst()
338 p++; in findchrconst()
339 } while (*p && *p != '\''); in findchrconst()
343 p++; in findchrconst()
362 if (*p == '0' && *(p + 1) == 'x') { in findconst()
363 p++; in findconst()
365 p++; in findconst()
369 p++; in findconst()
[all …]
/freebsd/crypto/openssl/crypto/asn1/
H A Da_mbstr.c304 p = arg; in cpy_asc()
305 q = *p; in cpy_asc()
307 (*p)++; in cpy_asc()
316 p = arg; in cpy_bmp()
317 q = *p; in cpy_bmp()
320 *p += 2; in cpy_bmp()
329 p = arg; in cpy_univ()
330 q = *p; in cpy_univ()
335 *p += 4; in cpy_univ()
345 p = arg; in cpy_utf8()
[all …]
/freebsd/sys/netsmb/
H A Dsmb_subr.c76 PROC_LOCK(p); in smb_td_intr()
94 char *p; in smb_strdup() local
102 *p = 0; in smb_strdup()
103 return p; in smb_strdup()
112 char *p; in smb_strdupin() local
121 return p; in smb_strdupin()
130 char *p; in smb_memdupin() local
136 return p; in smb_memdupin()
147 char *p; in smb_memdup() local
155 return p; in smb_memdup()
[all …]
/freebsd/sys/arm/include/
H A Datomic.h123 : [ptr] "r" (p), in atomic_add_64()
172 : [ptr] "r" (p), in atomic_clear_64()
603 : [ptr] "r" (p), in atomic_fetchadd_64()
621 v = *p; in atomic_load_acq_32()
640 : [ptr] "r" (p) in atomic_load_64()
660 v = *p; in atomic_load_acq_long()
700 : [ptr] "r" (p) in atomic_readandclear_64()
840 *p = v; in atomic_store_rel_32()
856 *p = v; in atomic_store_rel_long()
992 [ptr] "r" (p) in atomic_swap_32()
[all …]
/freebsd/crypto/openssl/apps/lib/
H A Dopt.c58 for (p = filename + strlen(filename); --p > filename; ) in opt_path_end()
59 if (*p == '/' || *p == '\\' || *p == ':') { in opt_path_end()
63 return p; in opt_path_end()
96 for (p = filename + strlen(filename); --p > filename;) in opt_path_end()
97 if (*p == ':' || *p == ']' || *p == '>') { in opt_path_end()
101 return p; in opt_path_end()
126 for (p = filename + strlen(filename); --p > filename;) in opt_path_end()
131 return p; in opt_path_end()
484 for (p = options; *p != NULL; p++) in opt_string()
488 for (p = options; *p != NULL; p++) in opt_string()
[all …]

1...<<11121314151617181920>>...295