Home
last modified time | relevance | path

Searched refs:dat (Results 1 – 25 of 126) sorted by relevance

123456

/openbsd-src/usr.sbin/tcpdump/
H A Dprint-l2tp.c64 static void l2tp_msgtype_print(const u_char *dat, u_int length);
65 static void l2tp_result_code_print(const u_char *dat, u_int length);
66 static void l2tp_proto_ver_print(const u_char *dat, u_int length);
67 static void l2tp_framing_cap_print(const u_char *dat, u_int length);
68 static void l2tp_bearer_cap_print(const u_char *dat, u_int length);
69 static void l2tp_tie_breaker_print(const u_char *dat, u_int length);
70 static void l2tp_firm_ver_print(const u_char *dat, u_int length);
71 static void l2tp_host_name_print(const u_char *dat, u_int length);
72 static void l2tp_vendor_name_print(const u_char *dat, u_int length);
73 static void l2tp_assnd_tun_id_print(const u_char *dat, u_int length);
[all …]
H A Dprint-bgp.c445 bgp_attr_print(const struct bgp_attr *attr, const u_char *dat, int len) in bgp_attr_print() argument
455 p = dat; in bgp_attr_print()
489 while (p < dat + len) { in bgp_attr_print()
688 while (len - (p - dat) > 0) { in bgp_attr_print()
699 p = dat + len; in bgp_attr_print()
725 while (len - (p - dat) > 0) { in bgp_attr_print()
736 p = dat + len; in bgp_attr_print()
841 bgp_open_print(const u_char *dat, int length) in bgp_open_print() argument
848 TCHECK2(dat[0], BGP_OPEN_SIZE); in bgp_open_print()
849 memcpy(&bgpo, dat, BGP_OPEN_SIZE); in bgp_open_print()
[all …]
H A Dprint-ripng.c56 ripng_print(const u_char *dat, int length) in ripng_print() argument
58 const struct rip6 *rp = (struct rip6 *)dat; in ripng_print()
60 int amt = snapend - dat; in ripng_print()
H A Dprint-rip.c154 rip_print(const u_char *dat, u_int length) in rip_print() argument
160 i = min(length, snapend - dat) - sizeof(*rp); in rip_print()
166 rp = (struct rip *)dat; in rip_print()
H A Dprint-krb.c258 krb_print(const u_char *dat, u_int length) in krb_print() argument
262 kp = (struct krb *)dat; in krb_print()
264 if (dat >= snapend) { in krb_print()
/openbsd-src/lib/libcrypto/rc4/asm/
H A Drc4-x86_64.pl116 $dat="%rdi"; # arg1
157 lea 8($dat),$dat
158 mov -8($dat),$XX[0]#b
159 mov -4($dat),$YY#b
160 cmpl \$-1,256($dat)
167 movl ($dat,$XX[0],4),$TX[0]#d
178 movl ($dat,$YY,4),$TY#d
179 movl $TX[0]#d,($dat,$YY,4)
180 movl $TY#d,($dat,$XX[0],4)
183 movl ($dat,$TX[0],4),$TY#d
[all …]
H A Drc4-586.pl71 $dat="edi";
78 &mov ($ty,&DWP(0,$dat,$yy,4));
79 &mov (&DWP(0,$dat,$yy,4),$tx);
80 &mov (&DWP(0,$dat,$xx,4),$ty);
86 &mov ($tx,&DWP(0,$dat,$xx,4));
90 &$func ($out,&DWP(0,$dat,$ty,4));
111 &mov ($ty,&DWP(0,$dat,$yy,4));
112 &mov (&DWP(0,$dat,$yy,4),$tx);
114 &mov (&DWP(0,$dat,$XX[0],4),$ty);
117 &mov ($tx,&DWP(0,$dat,@XX[1],4));
[all …]
/openbsd-src/usr.bin/mandoc/
H A Dtbl_data.c44 struct tbl_dat *dat, *pdat; in getdata() local
93 dat = mandoc_malloc(sizeof(*dat)); in getdata()
94 dat->layout = cp; in getdata()
95 dat->next = NULL; in getdata()
96 dat->string = NULL; in getdata()
97 dat->hspans = 0; in getdata()
98 dat->vspans = 0; in getdata()
99 dat->block = 0; in getdata()
100 dat->pos = TBL_DATA_NONE; in getdata()
117 pdat->layout->col < dat->layout->col) in getdata()
[all …]
/openbsd-src/usr.bin/rsync/
H A Dhash.c39 const signed char *dat = buf; in hash_fast() local
43 b += 4 * (a + dat[i]) + in hash_fast()
44 3 * dat[i + 1] + in hash_fast()
45 2 * dat[i + 2] + in hash_fast()
46 dat[i + 3]; in hash_fast()
47 a += dat[i + 0] + in hash_fast()
48 dat[i + 1] + in hash_fast()
49 dat[i + 2] + in hash_fast()
50 dat[i + 3]; in hash_fast()
54 a += dat[i]; in hash_fast()
/openbsd-src/gnu/usr.bin/binutils/gdb/gdbserver/
H A DMakefile.in273 reg-arm.c : $(srcdir)/../regformats/reg-arm.dat $(regdat_sh)
274 sh $(regdat_sh) $(srcdir)/../regformats/reg-arm.dat reg-arm.c
276 reg-i386.c : $(srcdir)/../regformats/reg-i386.dat $(regdat_sh)
277 sh $(regdat_sh) $(srcdir)/../regformats/reg-i386.dat reg-i386.c
279 reg-i386-linux.c : $(srcdir)/../regformats/reg-i386-linux.dat $(regdat_sh)
280 sh $(regdat_sh) $(srcdir)/../regformats/reg-i386-linux.dat reg-i386-linux.c
282 reg-ia64.c : $(srcdir)/../regformats/reg-ia64.dat $(regdat_sh)
283 sh $(regdat_sh) $(srcdir)/../regformats/reg-ia64.dat reg-ia64.c
285 reg-m68k.c : $(srcdir)/../regformats/reg-m68k.dat $(regdat_sh)
286 sh $(regdat_sh) $(srcdir)/../regformats/reg-m68k.dat reg-m68k.c
[all …]
/openbsd-src/lib/libcrypto/evp/
H A De_aes.c208 EVP_AES_KEY *dat = (EVP_AES_KEY *)ctx->cipher_data; in aesni_init_key()
215 dat->block = (block128_f)aesni_decrypt; in aesni_init_key()
216 dat->stream.cbc = mode == EVP_CIPH_CBC_MODE ? in aesni_init_key()
221 dat->block = (block128_f)aesni_encrypt; in aesni_init_key()
223 dat->stream.cbc = (cbc128_f)aesni_cbc_encrypt; in aesni_init_key()
225 dat->stream.ctr = (ctr128_f)aesni_ctr32_encrypt_blocks; in aesni_init_key()
227 dat->stream.cbc = NULL; in aesni_init_key()
365 EVP_AES_KEY *dat = (EVP_AES_KEY *)ctx->cipher_data; in aes_init_key()
373 &dat->ks); in aes_init_key()
374 dat in aes_init_key()
206 EVP_AES_KEY *dat = (EVP_AES_KEY *)ctx->cipher_data; aesni_init_key() local
363 EVP_AES_KEY *dat = (EVP_AES_KEY *)ctx->cipher_data; aes_init_key() local
433 EVP_AES_KEY *dat = (EVP_AES_KEY *)ctx->cipher_data; aes_cbc_cipher() local
454 EVP_AES_KEY *dat = (EVP_AES_KEY *)ctx->cipher_data; aes_ecb_cipher() local
469 EVP_AES_KEY *dat = (EVP_AES_KEY *)ctx->cipher_data; aes_ofb_cipher() local
480 EVP_AES_KEY *dat = (EVP_AES_KEY *)ctx->cipher_data; aes_cfb_cipher() local
491 EVP_AES_KEY *dat = (EVP_AES_KEY *)ctx->cipher_data; aes_cfb8_cipher() local
502 EVP_AES_KEY *dat = (EVP_AES_KEY *)ctx->cipher_data; aes_cfb1_cipher() local
529 EVP_AES_KEY *dat = (EVP_AES_KEY *)ctx->cipher_data; aes_ctr_cipher() local
[all...]
/openbsd-src/usr.bin/ctfconv/
H A Ddw.c235 dw_attr_parse(struct dwbuf *dwbuf, struct dwattr *dat, uint8_t psz, in dw_attr_parse() argument
239 uint64_t form = dat->dat_form; in dw_attr_parse()
252 dav->dav_dat = dat; in dw_attr_parse()
348 struct dwattr *dat; in dw_die_parse() local
381 SIMPLEQ_FOREACH(dat, &dab->dab_attrs, dat_next) { in dw_die_parse()
382 error = dw_attr_parse(dwbuf, dat, psz, &die->die_avals); in dw_die_parse()
442 struct dwattr *dat; in dw_ab_parse() local
452 dat = pmalloc(&dat_pool, sizeof(*dat)); in dw_ab_parse()
453 if (dat == NULL) in dw_ab_parse()
456 dat->dat_attr = attr; in dw_ab_parse()
[all …]
/openbsd-src/gnu/usr.bin/cvs/src/
H A Dadmin.c116 arg_add (dat, opt, arg) in arg_add() argument
117 struct admin_data *dat; in arg_add()
129 if (dat->av_alloc == 0)
131 dat->av_alloc = 1;
132 dat->av = (char **) xmalloc (dat->av_alloc * sizeof (*dat->av));
134 else if (dat->ac >= dat->av_alloc)
136 dat->av_alloc *= 2;
137 dat->av = (char **) xrealloc (dat->av,
138 dat->av_alloc * sizeof (*dat->av));
140 dat->av[dat->ac++] = newelt;
H A Dclient.c2176 struct update_entries_data dat; local
2177 dat.contents = UPDATE_ENTRIES_CHECKIN;
2178 dat.existp = UPDATE_ENTRIES_EXISTING_OR_NEW;
2179 dat.timestamp = NULL;
2180 call_in_directory (args, update_entries, (char *)&dat);
2188 struct update_entries_data dat; local
2189 dat.contents = UPDATE_ENTRIES_CHECKIN;
2190 dat.existp = UPDATE_ENTRIES_EXISTING_OR_NEW;
2191 dat.timestamp = "dummy timestamp from new-entry";
2192 call_in_directory (args, update_entries, (char *)&dat);
[all …]
/openbsd-src/gnu/usr.bin/perl/ext/File-Glob/t/
H A Drt114984.t23 if (open(my $f, ">", catfile $path, "md_$_.dat")) {
30 if (open(my $f, ">", catfile $path, "mp_$_.dat")) {
35 my @b = glob(qq{$path/mp_[0123456789]*.dat $path/md_[0123456789]*.dat});
/openbsd-src/lib/libcrypto/modes/asm/
H A Dghash-x86_64.pl212 my $dat="%edx";
223 &xor ($dat,$dat);
225 &mov ("$j(%rsp)",&LB($dat)) if ($i>1);
227 &mov (&LB($dat),&LB($lo[1])) if ($i>0 && $i<17);
233 &shl (&LB($dat),4) if ($i>0 && $i<17);
259 &rol ($dat,8);
260 &mov (&LB($nlo),&LB($dat));
261 &movz ($nhi[0],&LB($dat));
266 &rol ($dat,8);
272 &mov (&LB($nlo),&LB($dat));
[all …]
/openbsd-src/usr.bin/grep/
H A Dqueue.c70 item->data.dat = (char *)item + sizeof *item; in enqueue()
71 memcpy(item->data.dat, x->dat, x->len); in enqueue()
H A Dutil.c150 if ((ln.dat = grep_fgetln(f, &ln.len)) == NULL) in procfile()
152 if (ln.len > 0 && ln.dat[ln.len - 1] == '\n') in procfile()
226 r = grep_search(&fg_pattern[i], l->dat + offset, in procline()
236 r = regexec(&r_pattern[i], l->dat, 1, &pmatch, flags); in procline()
685 fwrite(line->dat + pmatch->rm_so, in printline()
688 fwrite(line->dat, line->len, 1, stdout); in printline()
/openbsd-src/lib/libc/crypt/
H A Darc4random.c70 static inline void _rs_rekey(u_char *dat, size_t datlen);
125 _rs_rekey(u_char *dat, size_t datlen) in _rs_rekey() argument
134 if (dat) { in _rs_rekey()
139 rsx->rs_buf[i] ^= dat[i]; in _rs_rekey()
/openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.law/
H A Dinit1.C6 foo(int dat) { data = dat; } in foo() argument
/openbsd-src/lib/libedit/
H A Drefresh.c356 wchar_t *d, int dat, int dlen, wchar_t *s, int num) in re_insert() argument
362 if (num > dlen - dat) in re_insert()
363 num = dlen - dat; in re_insert()
367 num, dat, dlen, ct_encode_string(d, &el->el_scratch))); in re_insert()
375 while (a >= &d[dat]) in re_insert()
382 num, dat, dlen, ct_encode_string(d, &el->el_scratch))); in re_insert()
387 for (a = d + dat; (a < d + dlen) && (num > 0); num--) in re_insert()
395 num, dat, dlen, d, s)); in re_insert()
406 wchar_t *d, int dat, int dlen, int num) in re_delete() argument
412 if (dat + num >= dlen) { in re_delete()
[all …]
/openbsd-src/sys/dev/ic/
H A Dif_wi.c2210 u_int8_t *dat; in wi_do_hostencrypt() local
2241 dat = buf; in wi_do_hostencrypt()
2242 dat[0] = key[0]; in wi_do_hostencrypt()
2243 dat[1] = key[1]; in wi_do_hostencrypt()
2244 dat[2] = key[2]; in wi_do_hostencrypt()
2245 dat[3] = sc->wi_tx_key << 6; /* pad and keyid */ in wi_do_hostencrypt()
2246 dat += 4; in wi_do_hostencrypt()
2249 crc = ~ether_crc32_le(dat, len); in wi_do_hostencrypt()
2250 rc4_crypt(&ctx, dat, dat, len); in wi_do_hostencrypt()
2251 dat += len; in wi_do_hostencrypt()
[all …]
/openbsd-src/games/monop/
H A Dprop.dat1 /* $OpenBSD: prop.dat,v 1.3 2003/06/03 03:01:40 millert Exp $ */
2 /* $NetBSD: prop.dat,v 1.2 1995/03/23 08:35:09 cgd Exp $ */
32 * @(#)prop.dat 5.4 (Berkeley) 5/31/93
H A Dmon.dat1 /* $OpenBSD: mon.dat,v 1.4 2003/06/03 03:01:40 millert Exp $ */
2 /* $NetBSD: mon.dat,v 1.2 1995/03/23 08:34:49 cgd Exp $ */
32 * @(#)mon.dat 5.4 (Berkeley) 5/31/93
/openbsd-src/usr.sbin/makefs/msdos/
H A Dmsdosfs_vnops.c411 char *dat; in msdosfs_wfile() local
442 if ((dat = mmap(0, nsize, PROT_READ, MAP_FILE | MAP_PRIVATE, fd, 0)) in msdosfs_wfile()
478 memcpy((char *)bp->b_data + on, dat + offs, cpsize); in msdosfs_wfile()
483 munmap(dat, nsize); in msdosfs_wfile()
486 munmap(dat, nsize); in msdosfs_wfile()

123456