Home
last modified time | relevance | path

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

/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.c1041 static void print_data(int fd, const uint8_t *data_ptr, uint32_t tag, int type,
1100 uint8_t *data_ptr; in dump_indented_camera_metadata() local
1109 data_ptr = get_data(metadata) + entry->data.offset; in dump_indented_camera_metadata()
1111 data_ptr = entry->data.value; in dump_indented_camera_metadata()
1116 print_data(fd, data_ptr, entry->tag, entry->type, count, indentation); in dump_indented_camera_metadata()
1120 static void print_data(int fd, const uint8_t *data_ptr, uint32_t tag, in print_data() argument
1147 value = *(data_ptr + index); in print_data()
1156 *(data_ptr + index)); in print_data()
1161 *(int32_t*)(data_ptr + index); in print_data()
1170 *(int32_t*)(data_ptr + index)); in print_data()
[all …]
/system/core/debuggerd/libdebuggerd/
Dutility.cpp192 uintptr_t* data_ptr = data; local
203 android::base::StringAppendF(&logline, " %" PRIPTR, static_cast<uint64_t>(*data_ptr));
206 uint8_t* ptr = reinterpret_cast<uint8_t*>(data_ptr);
214 data_ptr++;
/system/core/base/
Dproperties.cpp98 static void WaitForPropertyCallback(void* data_ptr, const char*, const char* value, unsigned serial… in WaitForPropertyCallback() argument
99 WaitForPropertyData* data = reinterpret_cast<WaitForPropertyData*>(data_ptr); in WaitForPropertyCallback()
/system/core/init/
Dproperty_service.cpp370 bool RecvFully(void* data_ptr, size_t size, uint32_t* timeout_ms) { in RecvFully() argument
372 char* data = static_cast<char*>(data_ptr); in RecvFully()
/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/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()