Home
last modified time | relevance | path

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

/frameworks/base/libs/androidfw/
DIdmap.cpp204 auto data_ptr = *in_out_data_ptr; in ReadType() local
208 return reinterpret_cast<const T*>(data_ptr); in ReadType()
259 auto data_ptr = reinterpret_cast<const uint8_t*>(idmap_data.data()); in Load() local
262 auto header = ReadType<Idmap_header>(&data_ptr, &data_size, "header"); in Load()
278 std::optional<std::string_view> overlay_path = ReadString(&data_ptr, &data_size, "overlay path"); in Load()
282 std::optional<std::string_view> target_path = ReadString(&data_ptr, &data_size, "target path"); in Load()
286 if (!ReadString(&data_ptr, &data_size, "target name") || in Load()
287 !ReadString(&data_ptr, &data_size, "debug info")) { in Load()
292 auto data_header = ReadType<Idmap_data_header>(&data_ptr, &data_size, "data header"); in Load()
296 auto target_entries = ReadType<Idmap_target_entry>(&data_ptr, &data_size, "target", in Load()
[all …]
DLoadedArsc.cpp466 ChunkIterator iter(chunk.data_ptr(), chunk.data_size()); in Load()
581 const auto entry_begin = child_chunk.data_ptr().convert<ResTable_lib_entry>(); in Load()
624 ChunkIterator overlayable_iter(child_chunk.data_ptr(), child_chunk.data_size()); in Load()
645 const auto ids_begin = overlayable_child_chunk.data_ptr().convert<ResTable_ref>(); in Load()
691 const auto entry_begin = child_chunk.data_ptr().convert<ResTable_staged_alias_entry>(); in Load()
755 ChunkIterator iter(chunk.data_ptr(), chunk.data_size()); in LoadTable()
/frameworks/av/services/camera/libcameraservice/utils/
DTagMonitor.cpp246 void TagMonitor::printData(int fd, const uint8_t *data_ptr, uint32_t tag, in printData() argument
273 value = *(data_ptr + index); in printData()
282 *(data_ptr + index)); in printData()
287 *(int32_t*)(data_ptr + index); in printData()
296 *(int32_t*)(data_ptr + index)); in printData()
301 *(float*)(data_ptr + index)); in printData()
305 *(int64_t*)(data_ptr + index)); in printData()
309 *(double*)(data_ptr + index)); in printData()
312 int32_t numerator = *(int32_t*)(data_ptr + index); in printData()
313 int32_t denominator = *(int32_t*)(data_ptr + index + 4); in printData()
DTagMonitor.h76 static void printData(int fd, const uint8_t *data_ptr, uint32_t tag,
/frameworks/base/libs/androidfw/include/androidfw/
DChunk.h56 inline incfs::map_ptr<void> data_ptr() const { in data_ptr() function