/bionic/tests/ |
D | buffer_tests.h | 24 size_t max_test_size, void (*test_func)(uint8_t*, size_t), 28 size_t max_test_size, void (*test_func)(uint8_t*, uint8_t*, size_t), 32 size_t max_test_size, void (*test_cmp_func)(uint8_t*, uint8_t*, size_t), 33 void (*test_miscmp_func)(uint8_t*, uint8_t*, size_t, size_t), 36 void RunSingleBufferOverreadTest(void (*test_func)(uint8_t*, size_t)); 38 void RunSrcDstBufferOverreadTest(void (*test_func)(uint8_t*, uint8_t*, size_t)); 41 void (*test_cmp_func)(uint8_t*, uint8_t*, size_t), 42 void (*test_miscmp_func)(uint8_t*, uint8_t*, size_t, size_t));
|
D | buffer_tests.cpp | 208 static void SetFencepost(uint8_t *buffer) { in SetFencepost() 215 static void VerifyFencepost(uint8_t *buffer) { in VerifyFencepost() 218 uint8_t expected_value; in VerifyFencepost() 231 size_t max_test_size, void (*test_func)(uint8_t*, size_t), in RunSingleBufferAlignTest() argument 239 uint8_t *buf = new uint8_t[3*max_test_size]; in RunSingleBufferAlignTest() 241 uint8_t *buf_align; in RunSingleBufferAlignTest() 247 buf_align = reinterpret_cast<uint8_t*>(GetAlignedPtr( in RunSingleBufferAlignTest() 263 size_t max_test_size, void (*test_func)(uint8_t*, uint8_t*, size_t), in RunSrcDstBufferAlignTest() argument 270 uint8_t* src = new uint8_t[3*max_test_size]; in RunSrcDstBufferAlignTest() 271 uint8_t* dst = new uint8_t[3*max_test_size]; in RunSrcDstBufferAlignTest() [all …]
|
/bionic/libc/kernel/uapi/scsi/ |
D | scsi_bsg_fc.h | 36 uint8_t reserved; 37 uint8_t port_id[3]; 41 uint8_t reserved; 42 uint8_t port_id[3]; 46 uint8_t command_code; 47 uint8_t port_id[3]; 61 uint8_t action; 62 uint8_t reason_code; 64 uint8_t reason_explanation; 65 uint8_t vendor_unique; [all …]
|
D | scsi_netlink.h | 29 uint8_t version; 30 uint8_t transport;
|
/bionic/libc/kernel/uapi/sound/ |
D | hdspm.h | 46 uint8_t speed; 130 uint8_t card_type; 137 uint8_t sync_wc; 139 uint8_t sync_madi; 140 uint8_t sync_tco; 141 uint8_t sync_in; 142 uint8_t madi_input; 144 uint8_t channel_format; 145 uint8_t frame_format; 154 uint8_t card_type;
|
/bionic/libc/include/netinet/ |
D | ip.h | 233 uint8_t ihl :4, 236 uint8_t version:4, 241 uint8_t tos; 245 uint8_t ttl; 246 uint8_t protocol; 253 uint8_t nexthdr; 254 uint8_t hdrlen; 258 uint8_t auth_data[0]; 264 uint8_t enc_data[0]; 268 uint8_t nexthdr; [all …]
|
D | ip_icmp.h | 67 uint8_t icmp_type; /* type of message, see below */ 68 uint8_t icmp_code; /* type sub code */ 71 uint8_t ih_pptr; /* ICMP_PARAMPROB */ 86 uint8_t irt_num_addrs; 87 uint8_t irt_wpa;
|
/bionic/linker/ |
D | linker_sleb128.h | 27 sleb128_decoder(const uint8_t* buffer, size_t count) in sleb128_decoder() 35 uint8_t byte; in pop_front() 54 const uint8_t* current_; 55 const uint8_t* const end_;
|
D | linker_block_allocator.cpp | 27 uint8_t bytes[PAGE_SIZE-sizeof(LinkerBlockAllocatorPage*)]; 73 ssize_t offset = reinterpret_cast<uint8_t*>(block) - page->bytes; in free() 126 const uint8_t* page_ptr = reinterpret_cast<const uint8_t*>(page); in find_page()
|
/bionic/tools/relocation_packer/src/ |
D | sleb128.h | 41 void GetEncoding(std::vector<uint8_t>* encoding) { *encoding = encoding_; } in GetEncoding() 45 std::vector<uint8_t> encoding_; 54 explicit Sleb128Decoder(const std::vector<uint8_t>& encoding, size_t start_with); 68 std::vector<uint8_t> encoding_;
|
D | packer.h | 26 std::vector<uint8_t>* packed); 31 static void UnpackRelocations(const std::vector<uint8_t>& packed,
|
D | packer.cc | 19 std::vector<uint8_t>* packed) { in PackRelocations() 31 std::vector<uint8_t> sleb128_packed; in PackRelocations() 47 const std::vector<uint8_t>& packed, in UnpackRelocations()
|
D | sleb128.cc | 56 uint8_t byte = value & 127; in Enqueue() 83 Sleb128Decoder<uint_t>::Sleb128Decoder(const std::vector<uint8_t>& encoding, size_t start_with) { in Sleb128Decoder() 101 uint8_t byte; in Dequeue()
|
D | elf_traits.h | 40 static inline int elf_st_type(uint8_t info) { return ELF32_ST_TYPE(info); } in elf_st_type() 64 static inline int elf_st_type(uint8_t info) { return ELF64_ST_TYPE(info); } in elf_st_type()
|
/bionic/libc/kernel/uapi/linux/nfsd/ |
D | cld.h | 37 uint8_t cm_vers; 39 uint8_t cm_cmd;
|
/bionic/libc/kernel/uapi/linux/ |
D | rds.h | 59 uint8_t name[32]; 74 uint8_t transport[TRANSNAMSIZ]; 75 uint8_t flags; 89 uint8_t flags; 121 uint8_t src_gid[RDS_IB_GID_LEN]; 122 uint8_t dst_gid[RDS_IB_GID_LEN];
|
D | target_core_user.h | 62 uint8_t scsi_status; 64 uint8_t __pad1;
|
/bionic/libc/bionic/ |
D | mbstate.cpp | 41 ps->__seq[i] = static_cast<uint8_t>(byte); in mbstate_set_byte() 44 __LIBC_HIDDEN__ uint8_t mbstate_get_byte(const mbstate_t* ps, int n) { in mbstate_get_byte()
|
D | mbrtoc32.cpp | 57 uint8_t ch; in mbrtoc32() 58 if (mbsinit(state) && (((ch = static_cast<uint8_t>(*s)) & ~0x7f) == 0)) { in mbrtoc32() 82 ch = bytes_so_far > 0 ? mbstate_get_byte(state, 0) : static_cast<uint8_t>(*s); in mbrtoc32()
|
D | pthread_create.cpp | 81 ss.ss_sp = reinterpret_cast<uint8_t*>(stack_base) + PAGE_SIZE; in __init_alternate_signal_stack() 149 uint8_t* stack_top; in __allocate_thread() 160 stack_top = reinterpret_cast<uint8_t*>(attr->stack_base) + mmap_size; in __allocate_thread() 164 stack_top = reinterpret_cast<uint8_t*>(attr->stack_base) + attr->stack_size; in __allocate_thread() 172 stack_top = reinterpret_cast<uint8_t*>( in __allocate_thread() 176 attr->stack_size = stack_top - reinterpret_cast<uint8_t*>(attr->stack_base); in __allocate_thread()
|
D | system_properties.cpp | 79 uint8_t namelen; 80 uint8_t reserved[3]; 105 prop_bt(const char *name, const uint8_t name_length) { in prop_bt() 140 prop_info(const char *name, const uint8_t namelen, const char *value, in prop_info() 141 const uint8_t valuelen) { in prop_info() 306 static prop_bt *new_prop_bt(const char *name, uint8_t namelen, uint_least32_t *const off) in new_prop_bt() 319 static prop_info *new_prop_info(const char *name, uint8_t namelen, in new_prop_info() 320 const char *value, uint8_t valuelen, uint_least32_t *const off) in new_prop_info() 358 static int cmp_prop_name(const char *one, uint8_t one_len, const char *two, in cmp_prop_name() 359 uint8_t two_len) in cmp_prop_name() [all …]
|
/bionic/libc/include/net/ |
D | if_ether.h | 150 extern const uint8_t etherbroadcastaddr[ETHER_ADDR_LEN]; 151 extern const uint8_t ethermulticastaddr_slowprotocols[ETHER_ADDR_LEN]; 152 extern const uint8_t ether_ipmulticast_min[ETHER_ADDR_LEN]; 153 extern const uint8_t ether_ipmulticast_max[ETHER_ADDR_LEN];
|
D | if_ieee1394.h | 54 uint8_t ibh_dhost[8]; 55 uint8_t ibh_shost[8];
|
/bionic/libc/dns/resolv/ |
D | res_cache.c | 303 _bprint_hexdump( char* p, char* end, const uint8_t* data, int datalen ) in _bprint_hexdump() 458 const uint8_t* base; 459 const uint8_t* end; 460 const uint8_t* cursor; 464 _dnsPacket_init( DnsPacket* packet, const uint8_t* buff, int bufflen ) in _dnsPacket_init() 480 const uint8_t* p = packet->cursor + count; in _dnsPacket_skip() 491 const uint8_t* p = packet->cursor; in _dnsPacket_readInt16() 509 const uint8_t* p = packet->cursor; in _dnsPacket_checkBytes() 528 const uint8_t* p = packet->cursor; in _dnsPacket_checkQName() 529 const uint8_t* end = packet->end; in _dnsPacket_checkQName() [all …]
|
/bionic/libc/private/ |
D | bionic_mbstate.h | 48 uint8_t mbstate_get_byte(const mbstate_t* ps, int n);
|