Home
last modified time | relevance | path

Searched refs:data_ptr (Results 1 – 11 of 11) sorted by relevance

/system/keymaster/tests/fuzzers/
Dmessage_serializable_fuzz.cpp31 const uint8_t* data_ptr = in_buf.get(); in RunDeserialize() local
34 ser->Deserialize(&data_ptr, data_ptr + end); in RunDeserialize()
Dbuffer_fuzz.cpp56 const uint8_t* data_ptr = in_buf.get(); in __anon10ed34010802() local
58 buf->Deserialize(&data_ptr, data_ptr + end); in __anon10ed34010802()
/system/bt/packet/tests/base/
Dpacket_test.cc113 std::weak_ptr<std::vector<uint8_t>> data_ptr(packet->GetDataPointer()); in TEST() local
115 ASSERT_FALSE(data_ptr.expired()); in TEST()
119 ASSERT_TRUE(data_ptr.expired()); in TEST()
/system/media/camera/src/
Dcamera_metadata.c1078 static void print_data(int fd, const uint8_t *data_ptr, uint32_t tag, int type,
1137 uint8_t *data_ptr; in dump_indented_camera_metadata() local
1146 data_ptr = get_data(metadata) + entry->data.offset; in dump_indented_camera_metadata()
1148 data_ptr = entry->data.value; in dump_indented_camera_metadata()
1153 print_data(fd, data_ptr, entry->tag, entry->type, count, indentation); in dump_indented_camera_metadata()
1157 static void print_data(int fd, const uint8_t *data_ptr, uint32_t tag, in print_data() argument
1184 value = *(data_ptr + index); in print_data()
1193 *(data_ptr + index)); in print_data()
1198 *(int32_t*)(data_ptr + index); in print_data()
1207 *(int32_t*)(data_ptr + index)); in print_data()
[all …]
/system/core/debuggerd/libdebuggerd/
Dutility.cpp223 uintptr_t* data_ptr = data; in dump_memory() local
233 android::base::StringAppendF(&logline, " %" PRIPTR, static_cast<uint64_t>(*data_ptr)); in dump_memory()
236 uint8_t* ptr = reinterpret_cast<uint8_t*>(data_ptr); in dump_memory()
244 data_ptr++; in dump_memory()
/system/core/fs_mgr/libfiemap/
Dsplit_fiemap_writer.cpp225 const uint8_t* data_ptr = reinterpret_cast<const uint8_t*>(data); in Write() local
260 if (!android::base::WriteFully(cursor_fd_, data_ptr, bytes_to_write)) { in Write()
264 data_ptr += bytes_to_write; in Write()
/system/unwinding/libunwindstack/benchmarks/
Dlocal_unwind_benchmarks.cpp68 static size_t Unwind(void* data_ptr) { in Unwind() argument
69 UnwindData* data = reinterpret_cast<UnwindData*>(data_ptr); in Unwind()
/system/libbase/
Dproperties.cpp145 static void WaitForPropertyCallback(void* data_ptr, const char*, const char* value, unsigned serial… in WaitForPropertyCallback() argument
146 WaitForPropertyData* data = reinterpret_cast<WaitForPropertyData*>(data_ptr); in WaitForPropertyCallback()
/system/core/trusty/storage/tests/
Dmain.cpp180 uint8_t *data_ptr = (uint8_t *)data_buf; in ReadChunk() local
190 ASSERT_TRUE(check_value32((const uint32_t *)data_ptr, head_len, 0)); in ReadChunk()
191 data_ptr += head_len; in ReadChunk()
196 ASSERT_TRUE(check_pattern32((const uint32_t *)data_ptr, pattern_len, off)); in ReadChunk()
197 data_ptr += pattern_len; in ReadChunk()
201 ASSERT_TRUE(check_value32((const uint32_t *)data_ptr, tail_len, 0)); in ReadChunk()
/system/core/init/
Dproperty_service.cpp358 bool RecvFully(void* data_ptr, size_t size, uint32_t* timeout_ms) { in RecvFully() argument
360 char* data = static_cast<char*>(data_ptr); in RecvFully()
/system/media/camera/tests/
Dcamera_metadata_tests.cpp1859 void* data_ptr = (void*)entry.data.u8; in TEST() local
1860 void* aligned_ptr = (void*)((uintptr_t)data_ptr & ~(m_type_align[m_type] - 1)); in TEST()
1861 EXPECT_EQ(aligned_ptr, data_ptr) << in TEST()