Home
last modified time | relevance | path

Searched refs:data_ptr (Results 1 – 8 of 8) 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.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.cpp189 uintptr_t* data_ptr = data; local
200 android::base::StringAppendF(&logline, " %" PRIPTR, static_cast<uint64_t>(*data_ptr));
203 uint8_t* ptr = reinterpret_cast<uint8_t*>(data_ptr);
211 data_ptr++;
/system/core/fs_mgr/libfiemap_writer/
Dsplit_fiemap_writer.cpp202 const uint8_t* data_ptr = reinterpret_cast<const uint8_t*>(data); in Write() local
237 if (!android::base::WriteFully(cursor_fd_, data_ptr, bytes_to_write)) { in Write()
241 data_ptr += bytes_to_write; in Write()
/system/core/base/
Dproperties.cpp115 static void WaitForPropertyCallback(void* data_ptr, const char*, const char* value, unsigned serial… in WaitForPropertyCallback() argument
116 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.cpp386 bool RecvFully(void* data_ptr, size_t size, uint32_t* timeout_ms) { in RecvFully() argument
388 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()