Searched refs:bytes (Results 1 - 25 of 905) sorted by relevance

1234567891011>>

/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/compile/
H A D20020715-1.c11 char bytes; local
16 bytes = *src;
18 width *= bytes;
21 f(bytes);
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/consistency.vlad/layout/
H A Dendian.c5 static char * bytes; variable
14 bytes = (char *) w;
15 if (strcmp(bytes, "AB") == 0)
17 else if (strcmp(bytes, "BA") == 0)
29 bytes = (char *) w;
30 if (strcmp(bytes, "ABCD") == 0)
32 else if (strcmp(bytes, "DCBA") == 0)
/openbsd-current/gnu/usr.bin/texinfo/lib/
H A Dxmalloc.c33 to hold BYTES number of bytes. If the memory cannot be allocated,
36 xmalloc (size_t bytes) argument
38 void *temp = malloc (bytes);
46 xrealloc (void *pointer, size_t bytes) argument
51 temp = malloc (bytes);
53 temp = realloc (pointer, bytes);
/openbsd-current/gnu/usr.bin/binutils/gdb/testsuite/gdb.mi/
H A Dmi-read-memory.c1 static char bytes[256]; variable
9 for (i = 0; i < sizeof (bytes); i++)
11 bytes[i] = i;
/openbsd-current/gnu/lib/libreadline/
H A Dxmalloc.c44 to hold BYTES number of bytes. If the memory cannot be allocated,
47 xmalloc (bytes)
48 size_t bytes;
52 temp = malloc (bytes);
59 xrealloc (pointer, bytes)
61 size_t bytes;
65 temp = pointer ? realloc (pointer, bytes) : malloc (bytes);
/openbsd-current/gnu/usr.bin/perl/lib/
H A Dbytes_heavy.pl1 package bytes; package
4 BEGIN { bytes::import() }
9 BEGIN { bytes::import() }
17 BEGIN { bytes::import() }
22 BEGIN { bytes::import() }
27 BEGIN { bytes::import() }
34 BEGIN { bytes::import() }
H A Dbytes.t22 no warnings 'prototype'; # bytes::length() called too early to check prototype at...
23 is(bytes::length($a), 2, "bytes::length sanity check");
24 is(bytes::chr(0x100), chr(0), "bytes::chr sanity check");
28 use bytes;
29 my $b = chr(0x100); # affected by 'use bytes'
30 is(ord($b), 0, "chr truncates under use bytes");
31 is(length($b), 1, "length truncated under use bytes");
32 is(bytes
[all...]
/openbsd-current/gnu/llvm/llvm/lib/DebugInfo/PDB/
H A DPDBSymbolCustom.cpp17 void PDBSymbolCustom::getDataBytes(llvm::SmallVector<uint8_t, 32> &bytes) { argument
18 RawSymbol->getDataBytes(bytes);
/openbsd-current/gnu/usr.bin/cvs/lib/
H A Dvalloc.c14 valloc (bytes)
15 size_t bytes;
21 ret = (char *) malloc (bytes + pagesize - 1);
/openbsd-current/gnu/usr.bin/perl/dist/IO/t/
H A Dio_utf8argv.t18 my $bytes =
26 $bytes = byte_utf8a_to_utf8n($bytes)
30 print $fh $bytes;
41 is *ARGV->getline, $bytes,
44 is join('',*ARGV->getlines), $bytes,
/openbsd-current/gnu/usr.bin/binutils/bfd/
H A Di386dynix.c61 struct external_exec *bytes = (struct external_exec *)raw_bytes; local
68 /* Now fill in fields in the execp, from the bytes in the raw data. */
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
[all...]
/openbsd-current/gnu/usr.bin/binutils-2.17/bfd/
H A Di386dynix.c61 struct external_exec *bytes = (struct external_exec *)raw_bytes; local
68 /* Now fill in fields in the execp, from the bytes in the raw data. */
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
[all...]
/openbsd-current/gnu/usr.bin/gcc/gcc/
H A Dgcov-io.h61 __store_gcov_type (value, dest, bytes)
64 size_t bytes; variable
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)
99 size_t bytes; variable
104 for (i = bytes
122 size_t bytes; variable
154 size_t bytes; variable
168 size_t bytes; variable
191 size_t bytes; variable
205 size_t bytes; variable
[all...]
/openbsd-current/gnu/gcc/libdecnumber/
H A Ddecimal128.h62 /* Decimal 128-bit type, accessible by bytes */
65 uint8_t bytes[DECIMAL128_Bytes]; /* decimal128: 1, 5, 12, 110 bits */ member in struct:__anon401
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[
[all...]
H A Ddecimal32.h54 /* Decimal 32-bit type, accessible by bytes */
57 uint8_t bytes[DECIMAL32_Bytes]; /* decimal32: 1, 5, 6, 20 bits */ member in struct:__anon402
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);}
H A Ddecimal64.h58 /* Decimal 64-bit type, accessible by bytes */
61 uint8_t bytes[DECIMAL64_Bytes]; /* decimal64: 1, 5, 8, 50 bits */ member in struct:__anon403
75 #define decimal64Sign(d) ((unsigned)(d)->bytes[0]>>7)
78 #define decimal64Comb(d) (((d)->bytes[0] & 0x7c)>>2)
81 #define decimal64ExpCon(d) ((((d)->bytes[0] & 0x03)<<6) \
82 | ((unsigned)(d)->bytes[1]>>2))
86 (d)->bytes[0]|=((unsigned)(b)<<7);}
92 (d)->bytes[0]|=(uint8_t)((e)>>6); \
93 (d)->bytes[1]|=(uint8_t)(((e)&0x3F)<<2);}
/openbsd-current/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) argument
76 _lto3b(u_int32_t val, u_int8_t *bytes) argument
85 _lto4b(u_int32_t val, u_int8_t *bytes) argument
95 _lto8b(u_int64_t val, u_int8_t *bytes) argument
109 _2btol(u_int8_t *bytes) argument
118 _3btol(u_int8_t *bytes) argument
127 _4btol(u_int8_t *bytes) argument
137 _5btol(u_int8_t *bytes) argument
150 _8btol(u_int8_t *bytes) argument
[all...]
/openbsd-current/regress/usr.sbin/syslogd/
H A Dargs-sendsyslog-native.pl16 qr/GIO fd -1 wrote \d+ bytes/ => 2,
H A Dargs-sendsyslog-syscall.pl17 qr/GIO fd -1 wrote \d+ bytes/ => 2,
H A Dargs-client-tcp-nontransp-maxline.pl25 ${$self->{syslogd}}->loggrep(qr/tcp logger .* use \d+ bytes/, 5)
26 or die ref($self), " syslogd did not use bytes";
44 qr/buffer \d+ bytes/ => 2,
45 qr/non transparent framing, use /.(MAXLINE+2).qr/ bytes/ => 1,
46 qr/non transparent framing, use /.(MAXLINE+1).qr/ bytes/ => 1,
/openbsd-current/gnu/llvm/lldb/include/lldb/Utility/
H A DEndian.h22 uint8_t bytes[sizeof(uint32_t)]; member in union:lldb_private::endian::EndianTest
26 return static_cast<lldb::ByteOrder>(endianTest.bytes[0]);
29 // ByteOrder const InlHostByteOrder = (ByteOrder)endianTest.bytes[0];
/openbsd-current/sys/dev/pci/drm/amd/amdgpu/
H A Damdgpu_eeprom.h31 u16 bytes);
35 u16 bytes);
/openbsd-current/gnu/llvm/compiler-rt/lib/scudo/standalone/
H A Dwrappers_c.inc43 // Space allocated in mmapped regions (bytes)
45 // Maximum total allocated space (bytes)
47 // Space in freed fastbin blocks (bytes)
49 // Total allocated space (bytes)
52 // Total free space (bytes)
61 // Space allocated in mmapped regions (bytes)
63 // Maximum total allocated space (bytes)
65 // Space in freed fastbin blocks (bytes)
67 // Total allocated space (bytes)
69 // Total free space (bytes)
[all...]
/openbsd-current/lib/libcrypto/sm2/
H A Dsm2_za.c36 int bytes, p_bytes; local
96 if ((bytes = BN_num_bytes(a)) > p_bytes)
98 BN_bn2bin(a, buf + p_bytes - bytes);
102 if ((bytes = BN_num_bytes(b)) > p_bytes)
104 memset(buf, 0, p_bytes - bytes);
105 BN_bn2bin(b, buf + p_bytes - bytes);
113 if ((bytes = BN_num_bytes(xG)) > p_bytes)
115 memset(buf, 0, p_bytes - bytes);
116 BN_bn2bin(xG, buf + p_bytes - bytes);
121 if ((bytes
[all...]
/openbsd-current/sys/dev/pci/drm/i915/gvt/
H A Dmmio.c65 void *p_data, unsigned int bytes, bool read)
80 bytes);
83 bytes);
88 memcpy(p_data, pt, bytes);
90 memcpy(pt, p_data, bytes);
101 * @bytes: access data length
107 void *p_data, unsigned int bytes)
115 failsafe_emulate_mmio_rw(vgpu, pa, p_data, bytes, true);
122 if (drm_WARN_ON(&i915->drm, bytes > 8))
129 if (drm_WARN_ON(&i915->drm, bytes !
64 failsafe_emulate_mmio_rw(struct intel_vgpu *vgpu, u64 pa, void *p_data, unsigned int bytes, bool read) argument
106 intel_vgpu_emulate_mmio_read(struct intel_vgpu *vgpu, u64 pa, void *p_data, unsigned int bytes) argument
181 intel_vgpu_emulate_mmio_write(struct intel_vgpu *vgpu, u64 pa, void *p_data, unsigned int bytes) argument
[all...]

Completed in 304 milliseconds

1234567891011>>