Home
last modified time | relevance | path

Searched refs:bytes (Results 1 – 25 of 1592) sorted by relevance

12345678910>>...64

/openbsd-src/gnu/usr.bin/gcc/gcc/
H A Dgcov-io.h61 __store_gcov_type (value, dest, bytes) in __store_gcov_type() argument
64 size_t bytes;
77 for(i = 0 ; i < (sizeof (value) < bytes ? sizeof (value) : bytes) ; i++) {
78 dest[i] = value & (i == (bytes - 1) ? 127 : 255);
85 for(; i < bytes ; i++)
87 dest[bytes - 1] |= upper_bit;
96 __fetch_gcov_type (dest, source, bytes) in __fetch_gcov_type() argument
99 size_t bytes;
104 for (i = bytes - 1; (size_t) i > (sizeof (*dest) - 1); i--)
105 if (source[i] & ((size_t) i == (bytes - 1) ? 127 : 255 ))
[all …]
/openbsd-src/sys/scsi/
H A Dscsiconf.h57 static __inline void _lto2b(u_int32_t val, u_int8_t *bytes);
58 static __inline void _lto3b(u_int32_t val, u_int8_t *bytes);
59 static __inline void _lto4b(u_int32_t val, u_int8_t *bytes);
60 static __inline void _lto8b(u_int64_t val, u_int8_t *bytes);
61 static __inline u_int32_t _2btol(u_int8_t *bytes);
62 static __inline u_int32_t _3btol(u_int8_t *bytes);
63 static __inline u_int32_t _4btol(u_int8_t *bytes);
64 static __inline u_int64_t _5btol(u_int8_t *bytes);
65 static __inline u_int64_t _8btol(u_int8_t *bytes);
68 _lto2b(u_int32_t val, u_int8_t *bytes) in _lto2b() argument
[all …]
/openbsd-src/gnu/usr.bin/binutils/binutils/
H A Dsysroff.info49 (("creation date")( chars 12 bytes)( "cd"))
50 (("number of units") (2 bytes) ("nu"))
52 (("version") (chars 4 bytes) ("ver"))
63 (("unit appearance number") (2 bytes) ("uan"))
64 (("section appearance number") (2 bytes) ("sa")))
66 (("segment address") (segsize bytes) ("sad")))
67 (("address") (addrsize bytes) ("address")))
68 (("os name") (chars variable bytes) ("os"))
69 (("sys name") (chars variable bytes) ("sys"))
70 (("module name") (chars variable bytes) ("mn"))
[all …]
/openbsd-src/gnu/usr.bin/binutils-2.17/binutils/
H A Dsysroff.info49 (("creation date")( chars 12 bytes)( "cd"))
50 (("number of units") (2 bytes) ("nu"))
52 (("version") (chars 4 bytes) ("ver"))
63 (("unit appearance number") (2 bytes) ("uan"))
64 (("section appearance number") (2 bytes) ("sa")))
66 (("segment address") (segsize bytes) ("sad")))
67 (("address") (addrsize bytes) ("address")))
68 (("os name") (chars variable bytes) ("os"))
69 (("sys name") (chars variable bytes) ("sys"))
70 (("module name") (chars variable bytes) ("mn"))
[all …]
/openbsd-src/gnu/usr.bin/perl/cpan/Encode/lib/Encode/Unicode/
H A DUTF7.pm35 my $bytes = substr($str, 0, 0); # to propagate taintedness
40 $bytes .= $octets;
44 $bytes .= "+-";
50 $bytes .= "+$base64-";
58 return $bytes;
63 my ( $obj, $bytes, $chk ) = @_;
64 return undef unless defined $bytes;
65 my $len = length($bytes);
66 my $str = substr($bytes, 0, 0); # to propagate taintedness;
67 pos($bytes) = 0;
[all …]
/openbsd-src/gnu/llvm/llvm/utils/
H A Dcodegen-diff13 my ($addr, $bytes, $instr) = ($1, $2, $4);
15 $bytes =~ s/\s*(.*\S)\s*/$1/; # trim any remaining whitespace
17 push (@result, {'addr' => $addr, 'bytes' => $bytes, 'instr' => $instr});
18 print "addr=$addr bytes='$bytes' instr='$instr'\n" if $DEBUG;
33 my ($addr, $bytes, $instr) = ($1, $3, $2);
34 $bytes =~ s/0x//g;
35 $bytes =~ s/\s+/ /g; # regularize whitespace
36 $bytes =~ s/\s*(.*\S)\s*/$1/; # trim any remaining whitespace
38 push (@result, {'addr' => $addr, 'bytes' => $bytes, 'instr' => $instr});
39 print "addr=$addr bytes='$bytes' instr='$instr'\n" if $DEBUG;
[all …]
/openbsd-src/sys/dev/pci/drm/i915/gvt/
H A Dmmio.c65 void *p_data, unsigned int bytes, bool read) in failsafe_emulate_mmio_rw() argument
80 bytes); in failsafe_emulate_mmio_rw()
83 bytes); in failsafe_emulate_mmio_rw()
88 memcpy(p_data, pt, bytes); in failsafe_emulate_mmio_rw()
90 memcpy(pt, p_data, bytes); in failsafe_emulate_mmio_rw()
107 void *p_data, unsigned int bytes) in intel_vgpu_emulate_mmio_read() argument
115 failsafe_emulate_mmio_rw(vgpu, pa, p_data, bytes, true); in intel_vgpu_emulate_mmio_read()
122 if (drm_WARN_ON(&i915->drm, bytes > 8)) in intel_vgpu_emulate_mmio_read()
129 if (drm_WARN_ON(&i915->drm, bytes != 4 && bytes != 8)) in intel_vgpu_emulate_mmio_read()
132 !reg_is_gtt(gvt, offset + bytes - 1))) in intel_vgpu_emulate_mmio_read()
[all …]
H A Dcfg_space.c70 u8 *src, unsigned int bytes) in vgpu_pci_cfg_mem_write() argument
77 for (; i < bytes && (off + i < sizeof(pci_cfg_space_rw_bmp)); i++) { in vgpu_pci_cfg_mem_write()
94 if (i < bytes) in vgpu_pci_cfg_mem_write()
95 memcpy(cfg_base + off + i, src + i, bytes - i); in vgpu_pci_cfg_mem_write()
118 void *p_data, unsigned int bytes) in intel_vgpu_emulate_cfg_read() argument
122 if (drm_WARN_ON(&i915->drm, bytes > 4)) in intel_vgpu_emulate_cfg_read()
126 offset + bytes > vgpu->gvt->device_info.cfg_space_size)) in intel_vgpu_emulate_cfg_read()
129 memcpy(p_data, vgpu_cfg_space(vgpu) + offset, bytes); in intel_vgpu_emulate_cfg_read()
146 unsigned int offset, void *p_data, unsigned int bytes) in emulate_pci_command_write() argument
152 vgpu_pci_cfg_mem_write(vgpu, offset, p_data, bytes); in emulate_pci_command_write()
[all …]
H A Dedid.c139 unsigned int offset, void *p_data, unsigned int bytes) in gmbus0_mmio_write() argument
144 memcpy(&vgpu_vreg(vgpu, offset), p_data, bytes); in gmbus0_mmio_write()
179 void *p_data, unsigned int bytes) in gmbus1_mmio_write() argument
280 void *p_data, unsigned int bytes) in gmbus3_mmio_write() argument
289 void *p_data, unsigned int bytes) in gmbus3_mmio_read() argument
302 memcpy(p_data, &vgpu_vreg(vgpu, offset), bytes); in gmbus3_mmio_read()
314 memcpy(p_data, &vgpu_vreg(vgpu, offset), bytes); in gmbus3_mmio_read()
335 memcpy(p_data, &vgpu_vreg(vgpu, offset), bytes); in gmbus3_mmio_read()
342 void *p_data, unsigned int bytes) in gmbus2_mmio_read() argument
348 memcpy(p_data, (void *)&value, bytes); in gmbus2_mmio_read()
[all …]
/openbsd-src/lib/libssl/doc/
H A Dstandards.txt31 (Format: TXT=25661 bytes) (Status: INFORMATIONAL)
34 TXT=32407 bytes) (Status: INFORMATIONAL)
37 TXT=35222 bytes) (Status: INFORMATIONAL)
40 (Format: TXT=170401 bytes) (Status: PROPOSED STANDARD)
43 January 1998. (Format: TXT=19048 bytes) (Status: INFORMATIONAL)
46 March 1998. (Format: TXT=69679 bytes) (Status: INFORMATIONAL)
54 C. Adams. June 1999. (Format: TXT=43243 bytes) (Status: PROPOSED
58 (TLS). A. Medvinsky, M. Hur. October 1999. (Format: TXT=13763 bytes)
62 B. Kaliski. September 2000. (Format: TXT=68692 bytes) (Status:
66 M. Nystrom, B. Kaliski. November 2000. (Format: TXT=27794 bytes)
[all …]
/openbsd-src/lib/libcrypto/sm2/
H A Dsm2_za.c36 int bytes, p_bytes; in sm2_compute_userid_digest() local
96 if ((bytes = BN_num_bytes(a)) > p_bytes) in sm2_compute_userid_digest()
98 BN_bn2bin(a, buf + p_bytes - bytes); in sm2_compute_userid_digest()
102 if ((bytes = BN_num_bytes(b)) > p_bytes) in sm2_compute_userid_digest()
104 memset(buf, 0, p_bytes - bytes); in sm2_compute_userid_digest()
105 BN_bn2bin(b, buf + p_bytes - bytes); in sm2_compute_userid_digest()
113 if ((bytes = BN_num_bytes(xG)) > p_bytes) in sm2_compute_userid_digest()
115 memset(buf, 0, p_bytes - bytes); in sm2_compute_userid_digest()
116 BN_bn2bin(xG, buf + p_bytes - bytes); in sm2_compute_userid_digest()
121 if ((bytes = BN_num_bytes(yG)) > p_bytes) in sm2_compute_userid_digest()
[all …]
/openbsd-src/gnu/gcc/libdecnumber/
H A Ddecimal128.c117 decDensePackCoeff (dn, d128->bytes, sizeof (d128->bytes), 0); in decimal128FromNumber()
124 d128->bytes[0] = top; in decimal128FromNumber()
144 d128->bytes[0] = (uByte) (comb << 2); in decimal128FromNumber()
162 decDensePackCoeff (dn, d128->bytes, sizeof (d128->bytes), pad); in decimal128FromNumber()
165 msd = ((unsigned) d128->bytes[1] << 2) & 0x0c; /* top 2 bits */ in decimal128FromNumber()
166 msd |= ((unsigned) d128->bytes[2] >> 6); /* low 2 bits */ in decimal128FromNumber()
167 d128->bytes[1] &= 0xfc; in decimal128FromNumber()
168 d128->bytes[2] &= 0x3f; in decimal128FromNumber()
175 d128->bytes[0] = (uByte) (comb << 2); in decimal128FromNumber()
200 uInt top = d128->bytes[0] & 0x7f; /* top byte, less sign bit */ in decimal128ToNumber()
[all …]
H A Ddecimal128.h65 uint8_t bytes[DECIMAL128_Bytes]; /* decimal128: 1, 5, 12, 110 bits */ member
79 #define decimal128Sign(d) ((unsigned)(d)->bytes[0]>>7)
82 #define decimal128Comb(d) (((d)->bytes[0] & 0x7c)>>2)
85 #define decimal128ExpCon(d) ((((d)->bytes[0] & 0x03)<<10) \
86 | ((unsigned)(d)->bytes[1]<<2) \
87 | ((unsigned)(d)->bytes[2]>>6))
91 (d)->bytes[0]|=((unsigned)(b)<<7);}
97 (d)->bytes[0]|=(uint8_t)((e)>>10); \
98 (d)->bytes[1] =(uint8_t)(((e)&0x3fc)>>2); \
99 (d)->bytes[2]|=(uint8_t)(((e)&0x03)<<6);}
H A Ddecimal64.c117 decDensePackCoeff (dn, d64->bytes, sizeof (d64->bytes), 0); in decimal64FromNumber()
124 d64->bytes[0] = top; in decimal64FromNumber()
144 d64->bytes[0] = (uByte) (comb << 2); in decimal64FromNumber()
161 decDensePackCoeff (dn, d64->bytes, sizeof (d64->bytes), pad); in decimal64FromNumber()
164 msd = ((unsigned) d64->bytes[1] >> 2) & 0x0f; in decimal64FromNumber()
165 d64->bytes[1] &= 0x03; in decimal64FromNumber()
171 d64->bytes[0] = (uByte) (comb << 2); in decimal64FromNumber()
196 uInt top = d64->bytes[0] & 0x7f; /* top byte, less sign bit */ in decimal64ToNumber()
240 wk.bytes[0] = 0; /* clear all but coecon */ in decimal64ToNumber()
241 wk.bytes[1] &= 0x03; /* .. */ in decimal64ToNumber()
[all …]
H A Ddecimal32.c117 decDensePackCoeff (dn, d32->bytes, sizeof (d32->bytes), 0); in decimal32FromNumber()
124 d32->bytes[0] = top; in decimal32FromNumber()
144 d32->bytes[0] = (uByte) (comb << 2); in decimal32FromNumber()
162 decDensePackCoeff (dn, d32->bytes, sizeof (d32->bytes), pad); in decimal32FromNumber()
165 msd = ((unsigned) d32->bytes[1] >> 4); in decimal32FromNumber()
166 d32->bytes[1] &= 0x0f; in decimal32FromNumber()
172 d32->bytes[0] = (uByte) (comb << 2); in decimal32FromNumber()
197 uInt top = d32->bytes[0] & 0x7f; /* top byte, less sign bit */ in decimal32ToNumber()
241 wk.bytes[0] = 0; /* clear all but coecon */ in decimal32ToNumber()
242 wk.bytes[1] &= 0x0f; /* .. */ in decimal32ToNumber()
[all …]
H A Ddecimal32.h57 uint8_t bytes[DECIMAL32_Bytes]; /* decimal32: 1, 5, 6, 20 bits */ member
71 #define decimal32Sign(d) ((unsigned)(d)->bytes[0]>>7)
74 #define decimal32Comb(d) (((d)->bytes[0] & 0x7c)>>2)
77 #define decimal32ExpCon(d) ((((d)->bytes[0] & 0x03)<<4) \
78 | ((unsigned)(d)->bytes[1]>>4))
82 (d)->bytes[0]|=((unsigned)(b)<<7);}
88 (d)->bytes[0]|=(uint8_t)((e)>>4); \
89 (d)->bytes[1]|=(uint8_t)(((e)&0x0F)<<4);}
/openbsd-src/gnu/usr.bin/perl/cpan/Encode/lib/Encode/
H A DGSM0338.pm165 my ( $obj, $bytes, $chk ) = @_;
166 return undef unless defined $bytes;
167 my $str = substr( $bytes, 0, 0 ); # to propagate taintedness;
168 while ( length $bytes ) {
172 $c = substr( $bytes, 0, 1, '' );
174 } while ( length $bytes and $c eq $ESC );
183 $bytes .= $seq;
193 $bytes .= $seq;
199 $_[1] = $bytes if not ref $chk and $chk and !( $chk & Encode::LEAVE_SRC );
206 my $bytes = substr( $str, 0, 0 ); # to propagate taintedness
[all …]
/openbsd-src/gnu/usr.bin/binutils/bfd/
H A Di386dynix.c61 struct external_exec *bytes = (struct external_exec *)raw_bytes; local
69 execp->a_info = H_GET_32 (abfd, bytes->e_info);
70 execp->a_text = GET_WORD (abfd, bytes->e_text);
71 execp->a_data = GET_WORD (abfd, bytes->e_data);
72 execp->a_bss = GET_WORD (abfd, bytes->e_bss);
73 execp->a_syms = GET_WORD (abfd, bytes->e_syms);
74 execp->a_entry = GET_WORD (abfd, bytes->e_entry);
75 execp->a_trsize = GET_WORD (abfd, bytes->e_trsize);
76 execp->a_drsize = GET_WORD (abfd, bytes->e_drsize);
77 execp->a_shdata = GET_WORD (abfd, bytes->e_shdata);
[all …]
/openbsd-src/gnu/usr.bin/binutils-2.17/bfd/
H A Di386dynix.c61 struct external_exec *bytes = (struct external_exec *)raw_bytes; local
69 execp->a_info = H_GET_32 (abfd, bytes->e_info);
70 execp->a_text = GET_WORD (abfd, bytes->e_text);
71 execp->a_data = GET_WORD (abfd, bytes->e_data);
72 execp->a_bss = GET_WORD (abfd, bytes->e_bss);
73 execp->a_syms = GET_WORD (abfd, bytes->e_syms);
74 execp->a_entry = GET_WORD (abfd, bytes->e_entry);
75 execp->a_trsize = GET_WORD (abfd, bytes->e_trsize);
76 execp->a_drsize = GET_WORD (abfd, bytes->e_drsize);
77 execp->a_shdata = GET_WORD (abfd, bytes->e_shdata);
[all …]
/openbsd-src/usr.bin/ssh/
H A Dprogressmeter.c68 static int bytes_per_second; /* current speed in bytes per second */
86 format_rate(off_t bytes)
89 static char buf[STRING_SIZE(bytes) * 2 + 16]; in format_rate()
91 bytes *= 100; in format_rate()
92 for (i = 0; bytes >= 100*1000 && unit[i] != 'T'; i++) in format_rate()
93 bytes = (bytes + 512) / 1024; in format_rate()
96 bytes = (bytes + 512) / 1024; in format_rate()
99 (long long) (bytes in format_rate()
87 format_rate(off_t bytes) format_rate() argument
108 format_size(off_t bytes) format_size() argument
[all...]
/openbsd-src/gnu/llvm/libcxx/src/
H A Dmemory_resource.cpp41 void* do_allocate(size_t bytes, size_t align) override { in do_allocate() argument
43 return std::__libcpp_allocate(bytes, align); in do_allocate()
45 if (bytes == 0) in do_allocate()
46 bytes = 1; in do_allocate()
47 void* result = std::__libcpp_allocate(bytes, align); in do_allocate()
49 std::__libcpp_deallocate(result, bytes, align); in do_allocate()
56 …void do_deallocate(void* p, size_t bytes, size_t align) override { std::__libcpp_deallocate(p, byt… in do_deallocate() argument
157 …pool_resource::__adhoc_pool::__do_allocate(memory_resource* upstream, size_t bytes, size_t align) { in __do_allocate() argument
164 size_t aligned_capacity = roundup(bytes, footer_align) + footer_size; in __do_allocate()
177 memory_resource* upstream, void* p, size_t bytes, size_t align) { in __do_deallocate() argument
[all …]
/openbsd-src/gnu/usr.bin/binutils/gas/config/
H A Dtc-w65.c230 register int bytes = 0; local
241 bytes = X ? 1 : 2;
245 bytes = M ? 1 : 2;
249 bytes = 1;
253 bytes = 2;
270 bytes = 2;
276 bytes = 2;
287 bytes = 2;
296 bytes = 3;
302 bytes = 3;
[all …]
/openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/consistency.vlad/layout/
H A Dendian.c5 static char * bytes; variable
14 bytes = (char *) w; in main()
15 if (strcmp(bytes, "AB") == 0) in main()
17 else if (strcmp(bytes, "BA") == 0) in main()
29 bytes = (char *) w; in main()
30 if (strcmp(bytes, "ABCD") == 0) in main()
32 else if (strcmp(bytes, "DCBA") == 0) in main()
/openbsd-src/regress/sys/kern/cmsgsize/
H A Dcmsgsize.c42 int so, bytes; in main() local
58 bytes = test_cmsgsize(so, &src, &dst, CFG_SO_MAX_SEND_BUFFER, in main()
60 if (bytes >= 0) in main()
61 errx(1, "1: %d bytes sent", bytes); in main()
70 bytes = test_cmsgsize(so, &src, &dst, CFG_SO_MAX_SEND_BUFFER, in main()
72 if (bytes >= 0) in main()
73 errx(1, "2: %d bytes sent", bytes); in main()
82 bytes in main()
[all...]
/openbsd-src/gnu/lib/libreadline/
H A Dxmalloc.c47 xmalloc (bytes) in xmalloc() argument
48 size_t bytes; in xmalloc()
52 temp = malloc (bytes);
59 xrealloc (pointer, bytes) in xrealloc() argument
61 size_t bytes;
65 temp = pointer ? realloc (pointer, bytes) : malloc (bytes);

12345678910>>...64