Home
last modified time | relevance | path

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

12345678910>>...54

/openbsd/gnu/usr.bin/gcc/gcc/
H A Dgcov-io.h64 size_t bytes;
99 size_t bytes;
122 size_t bytes;
154 size_t bytes;
158 if (bytes > 10 || __store_gcov_type (value, c, bytes))
161 return fwrite(c, 1, bytes, file) != bytes;
168 size_t bytes;
175 return fwrite(c, 1, bytes, file) != bytes;
191 size_t bytes;
195 if (bytes > 10 || fread(c, 1, bytes, file) != bytes)
[all …]
/openbsd/sys/scsi/
H A Dscsiconf.h72 bytes[1] = val & 0xff; in _lto2b()
81 bytes[2] = val & 0xff; in _lto3b()
91 bytes[3] = val & 0xff; in _lto4b()
105 bytes[7] = val & 0xff; in _lto8b()
109 _2btol(u_int8_t *bytes) in _2btol() argument
113 rv = (bytes[0] << 8) | bytes[1]; in _2btol()
118 _3btol(u_int8_t *bytes) in _3btol() argument
122 rv = (bytes[0] << 16) | (bytes[1] << 8) | bytes[2]; in _3btol()
127 _4btol(u_int8_t *bytes) in _4btol() argument
131 rv = (bytes[0] << 24) | (bytes[1] << 16) | in _4btol()
[all …]
/openbsd/gnu/usr.bin/binutils/binutils/
H A Dsysroff.info50 (("number of units") (2 bytes) ("nu"))
52 (("version") (chars 4 bytes) ("ver"))
75 (("neg number") (2 bytes) ("neg")))
130 (("neg number") (2 bytes) ("neg")))
210 (("unit number") (2 bytes) ("unit"))
211 (("sections") (2 bytes) ("sections"))
392 (("call count") (2 bytes) ("cc"))
394 (("neg") (2 bytes) ("neg")))
423 (("neg number") (2 bytes) ("neg"))
427 (("neg number") (2 bytes) ("neg"))
[all …]
/openbsd/gnu/usr.bin/binutils-2.17/binutils/
H A Dsysroff.info50 (("number of units") (2 bytes) ("nu"))
52 (("version") (chars 4 bytes) ("ver"))
75 (("neg number") (2 bytes) ("neg")))
130 (("neg number") (2 bytes) ("neg")))
210 (("unit number") (2 bytes) ("unit"))
211 (("sections") (2 bytes) ("sections"))
392 (("call count") (2 bytes) ("cc"))
394 (("neg") (2 bytes) ("neg")))
423 (("neg number") (2 bytes) ("neg"))
427 (("neg number") (2 bytes) ("neg"))
[all …]
/openbsd/gnu/usr.bin/perl/cpan/Encode/lib/Encode/Unicode/
H A DUTF7.pm40 $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);
67 pos($bytes) = 0;
69 while ( pos($bytes) < $len ) {
73 elsif ( $bytes =~ /\G\+-/ogc ) {
[all …]
/openbsd/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
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
39 print "addr=$addr bytes='$bytes' instr='$instr'\n" if $DEBUG;
43 my ($addr, $bytes, $instr) = ($got_addr, $2, $1);
44 $bytes =~ s/0x//g;
[all …]
/openbsd/sys/dev/pci/drm/i915/gvt/
H A Dmmio.c80 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
129 if (drm_WARN_ON(&i915->drm, bytes != 4 && bytes != 8)) in intel_vgpu_emulate_mmio_read()
136 p_data, bytes); in intel_vgpu_emulate_mmio_read()
165 offset, bytes); in intel_vgpu_emulate_mmio_read()
205 if (drm_WARN_ON(&i915->drm, bytes != 4 && bytes != 8)) in intel_vgpu_emulate_mmio_write()
212 p_data, bytes); in intel_vgpu_emulate_mmio_write()
[all …]
H A Dcfg_space.c70 u8 *src, unsigned int bytes) in vgpu_pci_cfg_mem_write() argument
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()
129 memcpy(p_data, vgpu_cfg_space(vgpu) + offset, bytes); in intel_vgpu_emulate_cfg_read()
152 vgpu_pci_cfg_mem_write(vgpu, offset, p_data, bytes); in emulate_pci_command_write()
182 void *p_data, unsigned int bytes) in emulate_pci_bar_write() argument
257 void *p_data, unsigned int bytes) in intel_vgpu_emulate_cfg_write() argument
262 if (drm_WARN_ON(&i915->drm, bytes > 4)) in intel_vgpu_emulate_cfg_write()
[all …]
H A Dedid.c144 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
342 void *p_data, unsigned int bytes) in gmbus2_mmio_read() argument
348 memcpy(p_data, (void *)&value, bytes); in gmbus2_mmio_read()
353 void *p_data, unsigned int bytes) in gmbus2_mmio_write() argument
381 if (drm_WARN_ON(&i915->drm, bytes > 8 && (offset & (bytes - 1)))) in intel_gvt_i2c_handle_gmbus_read()
389 memcpy(p_data, &vgpu_vreg(vgpu, offset), bytes); in intel_gvt_i2c_handle_gmbus_read()
411 if (drm_WARN_ON(&i915->drm, bytes > 8 && (offset & (bytes - 1)))) in intel_gvt_i2c_handle_gmbus_write()
[all …]
/openbsd/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)
83 TXT=53833 bytes) (Status: PROPOSED STANDARD)
105 bytes) (Status: PROPOSED STANDARD)
138 (Format: TXT=17537 bytes) (Status: PROPOSED STANDARD)
145 bytes) (Status: PROPOSED STANDARD)
153 (Format: TXT=91860 bytes) (Status: INFORMATIONAL)
169 bytes) (Status: PROPOSED STANDARD)
[all …]
/openbsd/lib/libcrypto/sm2/
H A Dsm2_za.c36 int bytes, p_bytes; in sm2_compute_userid_digest() local
98 BN_bn2bin(a, buf + p_bytes - 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()
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()
123 memset(buf, 0, p_bytes - bytes); in sm2_compute_userid_digest()
124 BN_bn2bin(yG, buf + p_bytes - bytes); in sm2_compute_userid_digest()
135 memset(buf, 0, p_bytes - bytes); in sm2_compute_userid_digest()
136 BN_bn2bin(xA, buf + p_bytes - bytes); in sm2_compute_userid_digest()
[all …]
/openbsd/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()
167 d128->bytes[1] &= 0xfc; in decimal128FromNumber()
168 d128->bytes[2] &= 0x3f; in decimal128FromNumber()
175 d128->bytes[0] = (uByte) (comb << 2); in decimal128FromNumber()
245 wk.bytes[1] = 0; /* .. */ in decimal128ToNumber()
246 wk.bytes[2] &= 0x3f; /* .. */ in decimal128ToNumber()
248 wk.bytes[2] |= (msd << 6); /* .. */ 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()
165 d64->bytes[1] &= 0x03; in decimal64FromNumber()
171 d64->bytes[0] = (uByte) (comb << 2); in decimal64FromNumber()
240 wk.bytes[0] = 0; /* clear all but coecon */ in decimal64ToNumber()
241 wk.bytes[1] &= 0x03; /* .. */ in decimal64ToNumber()
242 wk.bytes[1] |= (msd << 2); /* and prefix MSD */ in decimal64ToNumber()
246 decDenseUnpackCoeff (d64->bytes, sizeof (d64->bytes), dn, bunches, odd); 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()
241 wk.bytes[0] = 0; /* clear all but coecon */ in decimal32ToNumber()
242 wk.bytes[1] &= 0x0f; /* .. */ in decimal32ToNumber()
247 decDenseUnpackCoeff (d32->bytes, sizeof (d32->bytes), dn, bunches, odd); 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/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;
206 my $bytes = substr( $str, 0, 0 ); # to propagate taintedness
224 $bytes .= $seq;
[all …]
/openbsd/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/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/usr.bin/ssh/
H A Dprogressmeter.c87 format_rate(off_t bytes) in format_rate() argument
90 static char buf[STRING_SIZE(bytes) * 2 + 16]; in format_rate()
92 bytes *= 100; in format_rate()
94 bytes = (bytes + 512) / 1024; in format_rate()
97 bytes = (bytes + 512) / 1024; in format_rate()
100 (long long) (bytes + 5) / 100, in format_rate()
101 (long long) (bytes + 5) / 10 % 10, in format_rate()
108 format_size(off_t bytes) in format_size() argument
111 static char buf[STRING_SIZE(bytes) + 16]; in format_size()
114 bytes = (bytes + 512) / 1024; in format_size()
[all …]
/openbsd/gnu/llvm/libcxx/src/
H A Dmemory_resource.cpp43 return std::__libcpp_allocate(bytes, align); in do_allocate()
45 if (bytes == 0) in do_allocate()
46 bytes = 1; 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
283 bytes = (bytes > align) ? bytes : align; in __pool_index()
284 bytes -= 1; in __pool_index()
285 bytes >>= __log2_smallest_block_size; in __pool_index()
286 while (bytes != 0) { in __pool_index()
287 bytes >>= 1; in __pool_index()
350 int i = __pool_index(bytes, align); in do_allocate()
[all …]
/openbsd/gnu/usr.bin/binutils/gas/config/
H A Dtc-w65.c249 bytes = 1;
253 bytes = 2;
287 bytes = 2;
296 bytes = 3;
302 bytes = 3;
330 bytes = 1;
384 bytes = 2;
389 bytes = 2;
413 bytes = 1;
418 bytes = 2;
[all …]
/openbsd/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/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\n", 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\n", bytes); in main()
82 bytes = test_cmsgsize(so, &src, &dst, CFG_SO_MAX_SEND_BUFFER, in main()
84 if (bytes < 0) in main()
92 bytes = test_cmsgsize(so, &src, &dst, CFG_SO_MAX_SEND_BUFFER, in main()
[all …]
/openbsd/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>>...54