/openbsd-current/lib/libcrypto/rand/ |
H A D | randfile.c | 80 RAND_load_file(const char *file, long bytes) argument 83 if (bytes == -1) 86 return bytes;
|
/openbsd-current/gnu/gcc/gcc/ |
H A D | dfp.c | 160 buf[0] = *(uint32_t *) d32.bytes; 162 buf[0] = dfp_byte_swap (*(uint32_t *) d32.bytes); 179 *((uint32_t *) d32.bytes) = (uint32_t) buf[0]; 181 *((uint32_t *) d32.bytes) = dfp_byte_swap ((uint32_t) buf[0]); 205 buf[0] = *(uint32_t *) &d64.bytes[0]; 206 buf[1] = *(uint32_t *) &d64.bytes[4]; 210 buf[1] = dfp_byte_swap (*(uint32_t *) &d64.bytes[0]); 211 buf[0] = dfp_byte_swap (*(uint32_t *) &d64.bytes[4]); 230 *((uint32_t *) &d64.bytes[0]) = (uint32_t) buf[0]; 231 *((uint32_t *) &d64.bytes[ [all...] |
H A D | tree-object-size.c | 59 /* object_sizes[0] is upper bound for number of bytes till the end of 61 object_sizes[1] is upper bound for number of bytes till the end of 63 object_sizes[2] is lower bound for number of bytes till the end of 171 tree bytes; local 200 bytes = compute_object_offset (TREE_OPERAND (ptr, 0), var); 201 if (bytes != error_mark_node) 203 if (TREE_CODE (bytes) == INTEGER_CST 204 && tree_int_cst_lt (TYPE_SIZE_UNIT (TREE_TYPE (var)), bytes)) 205 bytes = size_zero_node; 207 bytes 230 tree callee, arglist, a, bytes = NULL_TREE; local 471 unsigned HOST_WIDE_INT bytes; local 566 unsigned HOST_WIDE_INT bytes; local [all...] |
/openbsd-current/gnu/llvm/lldb/source/Utility/ |
H A D | RegisterValue.cpp | 101 "register buffer is too small to receive %u bytes of data.", src_len); 109 "%u bytes is too big to store in register %s (%u bytes)", src_len, 114 // Use a data extractor to correctly copy and pad the bytes read into the 131 DataExtractor data(buffer.bytes, buffer.length, buffer.byte_order, 1); 188 // Cap the data length if there is more than enough bytes for this register 194 memset(buffer.bytes, 0, sizeof(buffer.bytes)); 243 buffer.bytes, // dst buffer 280 std::vector<uint8_t> bytes; local 745 SetBytes(const void *bytes, size_t length, lldb::ByteOrder byte_order) argument [all...] |
H A D | DataEncoder.cpp | 169 const char *bytes = data.data(); local 171 if (bytes && length > 0) 172 m_data_sp->AppendData(bytes, length); 176 const uint8_t *bytes = data.data(); local 178 if (bytes && length > 0) 179 m_data_sp->AppendData(bytes, length); 183 const char *bytes = data.data(); local 185 if (bytes) { 187 m_data_sp->AppendData(bytes, length); 188 if (length == 0 || bytes[lengt [all...] |
/openbsd-current/usr.bin/lex/ |
H A D | tables.c | 139 * @return -1 on error, or bytes written on success. 185 * @return -1 on error, or bytes written on success. 259 /** Write n bytes. 262 * @param len number of bytes 263 * @return -1 on error. number of bytes written on success. 276 /** Write four bytes in network byte order 279 * @return -1 on error. number of bytes written on success. 284 size_t bytes, rv; 287 bytes = sizeof (flex_uint32_t); 288 rv = fwrite (&vnet, bytes, 283 size_t bytes, rv; local 302 size_t bytes, rv; local 320 size_t bytes, rv; local [all...] |
/openbsd-current/gnu/usr.bin/binutils/bfd/ |
H A D | i386os9k.c | 47 mh_com *bytes = (mh_com *) raw_bytes; local 50 /* Now fill in fields in the execp, from the bytes in the raw data. */ 51 execp->a_info = H_GET_16 (abfd, bytes->m_sync); 53 execp->a_entry = H_GET_32 (abfd, bytes->m_exec); 58 dload = H_GET_32 (abfd, bytes->m_idata); 72 execp->a_bss = H_GET_32 (abfd, bytes->m_data) - execp->a_data; 93 mh_com *bytes = (mh_com *) raw_bytes; 96 H_PUT_32 (abfd, execp->a_info, bytes->e_info); 97 H_PUT_32 (abfd, execp->a_text, bytes->e_text); 98 H_PUT_32 (abfd, execp->a_data, bytes [all...] |
H A D | i386lynx.c | 301 in. so, something in 10 bytes into a text section with a base of 343 NAME(lynx,swap_ext_reloc_in) (abfd, bytes, cache_ptr, symbols, symcount) 345 struct reloc_ext_external *bytes; 355 cache_ptr->address = (GET_SWORD (abfd, bytes->r_address)); 357 r_index = bytes->r_index[1]; 358 r_extern = (0 != (bytes->r_index[0] & RELOC_EXT_BITS_EXTERN_BIG)); 359 r_type = (bytes->r_index[0] & RELOC_EXT_BITS_TYPE_BIG) 363 MOVE_ADDRESS (GET_SWORD (abfd, bytes->r_addend)); 367 NAME(lynx,swap_std_reloc_in) (abfd, bytes, cache_ptr, symbols, symcount) 369 struct reloc_std_external *bytes; [all...] |
/openbsd-current/usr.bin/ssh/ |
H A D | xmss_hash.c | 22 unsigned char* addr_to_byte(unsigned char *bytes, const uint32_t addr[8]){ argument 26 to_byte(bytes+i*4, addr[i],4); 27 return bytes; 29 memcpy(bytes, addr, 32); 30 return bytes;
|
/openbsd-current/regress/sys/netinet6/frag6/ |
H A D | frag6_unfragsize.py | 26 bytes=bytes(packet) variable 33 bytes[40+off*8:40+off*8+2**10]) 43 IPv6ExtHdrFragment(nh=58, id=fid, m=1)/bytes[40:40+2**10]) 49 IPv6ExtHdrFragment(nh=58, id=fid, m=1)/bytes[40:40+2**10])
|
H A D | frag6_maxlen.py | 22 ICMPv6EchoRequest(id=eid, data=bytes(payload)[0:iplen-8-1]) 28 offset=i*int(size/8))/bytes(packet)[40+i*size:40+(i+1)*size]) 30 offset=max*int(size/8))/bytes(packet)[40+max*size:])
|
/openbsd-current/gnu/usr.bin/perl/dist/Storable/t/ |
H A D | utf8hash.t | 28 use bytes (); 50 # warn sprintf "%d,%d", bytes::length($u), is_utf8($u); 52 # warn sprintf "%d,%d" ,bytes::length($b), is_utf8($b); 159 my $bytes = my $char = chr 27182; 160 utf8::encode ($bytes); 170 ok (!exists $just_utf8->{$bytes}, "bytes key absent?"); 172 $orig = {$bytes => 1}; 179 cmp_ok (scalar keys %$just_bytes, '==', 1, "1 key in bytes?"); 180 cmp_ok ($just_bytes->{$bytes}, ' [all...] |
/openbsd-current/lib/libcrypto/poly1305/ |
H A D | poly1305-donna.c | 13 const unsigned char *m, size_t bytes); 84 poly1305_blocks(poly1305_state_internal_t *st, const unsigned char *m, size_t bytes) argument 110 while (bytes >= poly1305_block_size) { 166 bytes -= poly1305_block_size; 177 poly1305_update(poly1305_context *ctx, const unsigned char *m, size_t bytes) argument 185 if (want > bytes) 186 want = bytes; 189 bytes -= want; 199 if (bytes >= poly1305_block_size) { 200 size_t want = (bytes [all...] |
/openbsd-current/gnu/usr.bin/binutils-2.17/bfd/ |
H A D | aout-adobe.c | 38 struct external_exec *bytes, 41 /* Now fill in fields in the execp, from the bytes in the raw data. */ 42 execp->a_info = H_GET_32 (abfd, bytes->e_info); 43 execp->a_text = GET_WORD (abfd, bytes->e_text); 44 execp->a_data = GET_WORD (abfd, bytes->e_data); 45 execp->a_bss = GET_WORD (abfd, bytes->e_bss); 46 execp->a_syms = GET_WORD (abfd, bytes->e_syms); 47 execp->a_entry = GET_WORD (abfd, bytes->e_entry); 48 execp->a_trsize = GET_WORD (abfd, bytes->e_trsize); 49 execp->a_drsize = GET_WORD (abfd, bytes 37 aout_adobe_swap_exec_header_in(bfd *abfd, struct external_exec *bytes, struct internal_exec *execp) argument 56 aout_adobe_swap_exec_header_out(bfd *abfd, struct internal_exec *execp, struct external_exec *bytes) argument [all...] |
H A D | i386lynx.c | 301 in. so, something in 10 bytes into a text section with a base of 343 NAME(lynx,swap_ext_reloc_in) (abfd, bytes, cache_ptr, symbols, symcount) 345 struct reloc_ext_external *bytes; 355 cache_ptr->address = (GET_SWORD (abfd, bytes->r_address)); 357 r_index = bytes->r_index[1]; 358 r_extern = (0 != (bytes->r_index[0] & RELOC_EXT_BITS_EXTERN_BIG)); 359 r_type = (bytes->r_index[0] & RELOC_EXT_BITS_TYPE_BIG) 363 MOVE_ADDRESS (GET_SWORD (abfd, bytes->r_addend)); 367 NAME(lynx,swap_std_reloc_in) (abfd, bytes, cache_ptr, symbols, symcount) 369 struct reloc_std_external *bytes; [all...] |
/openbsd-current/lib/libc/db/btree/ |
H A D | bt_debug.c | 186 " {%.*s}", (int)bi->ksize, bi->bytes); 198 *(pgno_t *)bl->bytes, 199 *(u_int32_t *)(bl->bytes + sizeof(pgno_t))); 201 (void)fprintf(stderr, "%s/", bl->bytes); 205 *(pgno_t *)(bl->bytes + bl->ksize), 206 *(u_int32_t *)(bl->bytes + bl->ksize + 210 (int)bl->dsize, bl->bytes + bl->ksize); 217 *(pgno_t *)rl->bytes, 218 *(u_int32_t *)(rl->bytes + sizeof(pgno_t))); 221 "%.*s", (int)rl->dsize, rl->bytes); [all...] |
H A D | bt_utils.c | 77 if (__ovfl_get(t, bl->bytes, 89 memmove(rkey->data, bl->bytes, bl->ksize); 94 key->data = bl->bytes; 102 if (__ovfl_get(t, bl->bytes + bl->ksize, 115 memmove(rdata->data, bl->bytes + bl->ksize, bl->dsize); 120 data->data = bl->bytes + bl->ksize; 163 bigkey = bl->bytes; 165 k2.data = bl->bytes; 171 bigkey = bi->bytes; 173 k2.data = bi->bytes; [all...] |
/openbsd-current/gnu/llvm/lldb/source/Plugins/Process/Utility/ |
H A D | RegisterContext_x86.h | 251 uint8_t bytes[10]; member in union:lldb_private::MMSReg::__anon1658 258 static_assert(sizeof(MMSRegComp) == 10, "MMSRegComp is not 10 bytes of size"); 259 static_assert(sizeof(MMSReg) == 16, "MMSReg is not 16 bytes of size"); 262 uint8_t bytes[16]; // 128-bits for each XMM register member in struct:lldb_private::XMMReg 286 MMSReg stmm[8]; // 8*16 bytes for each FP-reg = 128 bytes 287 XMMReg xmm[16]; // 16*16 bytes for each XMM-reg = 256 bytes 296 uint8_t bytes[16]; // 16 * 8 bits for the high bytes o member in struct:lldb_private::YMMHReg 300 uint8_t bytes[32]; // 16 * 16 bits for each YMM register member in struct:lldb_private::YMMReg 308 uint8_t bytes[16]; // MPX 128 bit bound registers member in struct:lldb_private::MPXReg 312 uint8_t bytes[8]; // MPX 64 bit bndcfgu and bndstatus registers (collectively member in struct:lldb_private::MPXCsr [all...] |
/openbsd-current/gnu/llvm/lldb/include/lldb/Core/ |
H A D | Opcode.h | 63 Opcode(uint8_t *bytes, size_t length) argument 65 SetOpcodeBytes(bytes, length); 183 void SetOpcodeBytes(const void *bytes, size_t length) { argument 184 if (bytes != nullptr && length > 0) { 187 assert(length < sizeof(m_data.inst.bytes)); 188 memcpy(m_data.inst.bytes, bytes, length); 199 return ((m_type == Opcode::eTypeBytes) ? m_data.inst.bytes : nullptr); 241 return m_data.inst.bytes; 264 uint8_t bytes[1 [all...] |
/openbsd-current/sys/lib/libkern/arch/mips64/ |
H A D | bzero.S | 45 PTR_SUBU a3, zero, a0 # compute # bytes to word align address 49 SWHI zero, 0(a0) # clear 1, 2, or 3 bytes to align 62 PTR_SUBU a3, zero, a0 # compute # bytes to word align address 66 SDHI zero, 0(a0) # clear 1, 2, or 3 bytes to align 82 PTR_ADDU a0, a0, 1 # clear bytes
|
/openbsd-current/sys/crypto/ |
H A D | poly1305.c | 66 poly1305_blocks(poly1305_state *st, const unsigned char *m, size_t bytes) argument 92 while (bytes >= poly1305_block_size) { 148 bytes -= poly1305_block_size; 159 poly1305_update(poly1305_state *st, const unsigned char *m, size_t bytes) argument 166 if (want > bytes) 167 want = bytes; 170 bytes -= want; 180 if (bytes >= poly1305_block_size) { 181 size_t want = (bytes & ~(poly1305_block_size - 1)); 184 bytes [all...] |
/openbsd-current/gnu/usr.bin/perl/ext/XS-APItest/t/ |
H A D | callregexec.t | 34 my $bytes = do { use bytes; length $str1 }; 35 ok !!$exp == !!callregexec($re, 0, $bytes, 0, $str, 0),
|
/openbsd-current/gnu/llvm/lldb/source/Plugins/Trace/intel-pt/ |
H A D | CommandObjectTraceStartIntelPT.cpp | 36 if (std::optional<uint64_t> bytes = 38 m_ipt_trace_size = *bytes; 40 error.SetErrorStringWithFormat("invalid bytes expression for '%s'", 101 if (std::optional<uint64_t> bytes = 103 m_ipt_trace_size = *bytes; 105 error.SetErrorStringWithFormat("invalid bytes expression for '%s'", 110 if (std::optional<uint64_t> bytes = 112 m_process_buffer_size_limit = *bytes; 114 error.SetErrorStringWithFormat("invalid bytes expression for '%s'",
|
/openbsd-current/gnu/llvm/llvm/lib/Target/X86/ |
H A D | X86MachineFunctionInfo.h | 41 /// in bytes. 45 /// stack frame in bytes. 51 /// BytesToPopOnReturn - Number of bytes function pops on return (in addition 62 /// TailCallReturnAddrDelta - The number of bytes by which return address 84 /// ArgumentStackSize - The number of bytes on stack consumed by the arguments 162 void setCalleeSavedFrameSize(unsigned bytes) { CalleeSavedFrameSize = bytes; } argument 165 void setSaveArgSize(unsigned bytes) { SaveArgSize = bytes; } argument 168 void setBytesToPopOnReturn (unsigned bytes) { BytesToPopOnRetur argument [all...] |
/openbsd-current/gnu/llvm/llvm/tools/llvm-pdbutil/ |
H A D | BytesOutputStyle.cpp | 67 for (auto &Str : opts::bytes::DumpStreamData) { 90 if (opts::bytes::DumpBlockRange) { 91 auto &R = *opts::bytes::DumpBlockRange; 107 if (opts::bytes::DumpByteRange) { 108 auto &R = *opts::bytes::DumpByteRange; 123 if (opts::bytes::Fpm) { 128 if (!opts::bytes::DumpStreamData.empty()) { 133 if (opts::bytes::NameMap) { 138 if (opts::bytes::SectionContributions) { 143 if (opts::bytes [all...] |