Searched refs:uint8_t (Results 1 - 25 of 71) sorted by relevance

123

/bionic/tests/
H A Dbuffer_tests.h24 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_
[all...]
H A Dbuffer_tests.cpp208 static void SetFencepost(uint8_t *buffer) {
215 static void VerifyFencepost(uint8_t *buffer) {
218 uint8_t expected_value;
231 size_t max_test_size, void (*test_func)(uint8_t*, size_t),
239 uint8_t *buf = new uint8_t[3*max_test_size];
241 uint8_t *buf_align;
247 buf_align = reinterpret_cast<uint8_t*>(GetAlignedPtr(
263 size_t max_test_size, void (*test_func)(uint8_t*, uint8_t*, size_
[all...]
/bionic/libc/dns/include/
H A Dresolv_params.h41 uint8_t success_threshold; // 0: disable, value / 100 otherwise
42 uint8_t min_samples; // min # samples needed for statistics to be considered meaningful
43 uint8_t max_samples; // max # samples taken into account for statistics
H A Dresolv_stats.h37 uint8_t rcode; // the DNS rcode or RCODE_XXX defined above
44 uint8_t sample_count;
46 uint8_t sample_next;
/bionic/libc/kernel/uapi/scsi/
H A Dscsi_bsg_fc.h36 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_uniqu
[all...]
H A Dscsi_netlink.h29 uint8_t version;
30 uint8_t transport;
/bionic/linker/
H A Dlinker_sleb128.h27 sleb128_decoder(const uint8_t* buffer, size_t count)
35 uint8_t byte;
54 const uint8_t* current_;
55 const uint8_t* const end_;
H A Dlinker_block_allocator.cpp32 uint8_t bytes[PAGE_SIZE - 16] __attribute__((aligned(16)));
79 ssize_t offset = reinterpret_cast<uint8_t*>(block) - page->bytes;
135 const uint8_t* page_ptr = reinterpret_cast<const uint8_t*>(page);
/bionic/tools/relocation_packer/src/
H A Dsleb128.h41 void GetEncoding(std::vector<uint8_t>* encoding) { *encoding = encoding_; }
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_;
H A Dpacker.h26 std::vector<uint8_t>* packed);
31 static void UnpackRelocations(const std::vector<uint8_t>& packed,
H A Dpacker.cc19 std::vector<uint8_t>* packed) {
31 std::vector<uint8_t> sleb128_packed;
47 const std::vector<uint8_t>& packed,
H A Dsleb128.cc56 uint8_t byte = value & 127;
83 Sleb128Decoder<uint_t>::Sleb128Decoder(const std::vector<uint8_t>& encoding, size_t start_with) {
101 uint8_t byte;
/bionic/libc/kernel/uapi/linux/nfsd/
H A Dcld.h37 uint8_t cm_vers;
39 uint8_t cm_cmd;
/bionic/libc/bionic/
H A Dmbstate.cpp41 ps->__seq[i] = static_cast<uint8_t>(byte);
44 __LIBC_HIDDEN__ uint8_t mbstate_get_byte(const mbstate_t* ps, int n) {
H A Dmbrtoc32.cpp57 uint8_t ch;
58 if (mbsinit(state) && (((ch = static_cast<uint8_t>(*s)) & ~0x7f) == 0)) {
82 ch = bytes_so_far > 0 ? mbstate_get_byte(state, 0) : static_cast<uint8_t>(*s);
/bionic/libc/include/netinet/
H A Dip.h233 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 nexthd
[all...]
H A Dip_icmp.h67 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/libc/malloc_debug/
H A DConfig.h75 uint8_t fill_alloc_value;
76 uint8_t fill_free_value;
77 uint8_t front_guard_value;
78 uint8_t rear_guard_value;
H A DDebugData.h70 uint8_t* GetFrontGuard(const Header* header) {
72 return reinterpret_cast<uint8_t*>(value + front_guard->offset());
75 uint8_t* GetRearGuard(const Header* header) {
77 return reinterpret_cast<uint8_t*>(value + header->real_size());
H A DFreeTrackData.h59 void LogFreeError(DebugData& debug, const Header* header, const uint8_t* pointer);
64 std::vector<uint8_t> cmp_mem_;
/bionic/libc/malloc_debug/tests/
H A Dmalloc_debug_unit_tests.cpp57 void debug_get_malloc_leak_info(uint8_t**, size_t*, size_t*, size_t*, size_t*);
58 void debug_free_malloc_leak_info(uint8_t*);
134 uint8_t* pointer = reinterpret_cast<uint8_t*>(debug_malloc(alloc_size));
142 pointer = reinterpret_cast<uint8_t*>(debug_calloc(1, alloc_size));
149 pointer = reinterpret_cast<uint8_t*>(debug_memalign(128, alloc_size));
156 pointer = reinterpret_cast<uint8_t*>(debug_realloc(nullptr, alloc_size));
164 pointer = reinterpret_cast<uint8_t*>(debug_realloc(pointer, alloc_size * 2));
174 pointer = reinterpret_cast<uint8_t*>(debug_realloc(pointer, alloc_size));
180 pointer = reinterpret_cast<uint8_t*>(debug_reallo
[all...]
/bionic/libc/kernel/uapi/linux/
H A Drds.h67 uint8_t name[32];
82 uint8_t transport[TRANSNAMSIZ];
84 uint8_t flags;
97 uint8_t flags;
130 uint8_t src_gid[RDS_IB_GID_LEN];
131 uint8_t dst_gid[RDS_IB_GID_LEN];
/bionic/libc/private/
H A Dbionic_mbstate.h48 uint8_t mbstate_get_byte(const mbstate_t* ps, int n);
/bionic/linker/tests/
H A Dlinker_block_allocator_test.cpp61 ASSERT_EQ(reinterpret_cast<uint8_t*>(ptr1)+16, reinterpret_cast<uint8_t*>(ptr2));
93 ASSERT_EQ(reinterpret_cast<uint8_t*>(ptr1) + 1024, reinterpret_cast<uint8_t*>(ptr2));
/bionic/libc/include/net/
H A Dif_ieee1394.h54 uint8_t ibh_dhost[8];
55 uint8_t ibh_shost[8];

Completed in 7813 milliseconds

123