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.cpp53 const uint8_t* data_ptr = in_buf.get(); in __anonabb7c61f0702() local
55 buf->Deserialize(&data_ptr, data_ptr + end); in __anonabb7c61f0702()
/system/media/camera/src/
Dcamera_metadata.c1078 static void print_data(int fd, const uint8_t *data_ptr, uint32_t tag, int type,
1136 uint8_t *data_ptr; in dump_indented_camera_metadata() local
1145 data_ptr = get_data(metadata) + entry->data.offset; in dump_indented_camera_metadata()
1147 data_ptr = entry->data.value; in dump_indented_camera_metadata()
1152 print_data(fd, data_ptr, entry->tag, entry->type, get_camera_metadata_vendor_id(metadata), in dump_indented_camera_metadata()
1157 static void print_data(int fd, const uint8_t *data_ptr, uint32_t tag, int type, in print_data() argument
1184 value = *(data_ptr + index); in print_data()
1193 *(data_ptr + index)); in print_data()
1197 value = *(int32_t*)(data_ptr + index); in print_data()
1227 *(float*)(data_ptr + index)); in print_data()
[all …]
/system/core/debuggerd/libdebuggerd/
Dutility.cpp221 uintptr_t* data_ptr = data; in dump_memory() local
231 android::base::StringAppendF(&logline, " %" PRIPTR, static_cast<uint64_t>(*data_ptr)); in dump_memory()
234 uint8_t* ptr = reinterpret_cast<uint8_t*>(data_ptr); in dump_memory()
242 data_ptr++; in dump_memory()
/system/core/fs_mgr/libfiemap/
Dsplit_fiemap_writer.cpp229 const uint8_t* data_ptr = reinterpret_cast<const uint8_t*>(data); in Write() local
264 if (!android::base::WriteFully(cursor_fd_, data_ptr, bytes_to_write)) { in Write()
268 data_ptr += bytes_to_write; in Write()
/system/core/fs_mgr/libsnapshot/libsnapshot_cow/
Dcow_writer.cpp256 struct iovec* data_ptr = data_vec_.get(); in InitBatchWrites() local
264 data_ptr[i].iov_base = buffer.get(); in InitBatchWrites()
265 data_ptr[i].iov_len = header_.block_size * 2; in InitBatchWrites()
771 struct iovec* data_ptr = data_vec_.get(); in WriteOperation() local
772 std::memcpy(data_ptr[data_vec_index_].iov_base, data, size); in WriteOperation()
773 data_ptr[data_vec_index_].iov_len = size; in WriteOperation()
/system/unwinding/libunwindstack/benchmarks/
Dlocal_unwind_benchmarks.cpp69 static size_t Unwind(void* data_ptr) { in Unwind() argument
70 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.cpp337 bool RecvFully(void* data_ptr, size_t size, uint32_t* timeout_ms) { in RecvFully() argument
339 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()