Home
last modified time | relevance | path

Searched defs:map (Results 1 – 25 of 53) sorted by relevance

123

/system/extras/libpagemap/
Dpm_map.c22 int pm_map_pagemap(pm_map_t *map, uint64_t **pagemap_out, size_t *len) { in pm_map_pagemap()
30 int pm_map_usage_flags(pm_map_t *map, pm_memusage_t *usage_out, in pm_map_usage_flags()
88 int pm_map_usage(pm_map_t *map, pm_memusage_t *usage_out) { in pm_map_usage()
92 int pm_map_workingset(pm_map_t *map, pm_memusage_t *ws_out) { in pm_map_workingset()
136 int pm_map_destroy(pm_map_t *map) { in pm_map_destroy()
/system/core/libcutils/
Dhashmap.c48 Hashmap* map = malloc(sizeof(Hashmap)); in hashmapCreate() local
83 static inline int hashKey(Hashmap* map, void* key) { in hashKey()
96 size_t hashmapSize(Hashmap* map) { in hashmapSize()
104 static void expandIfNecessary(Hashmap* map) { in expandIfNecessary()
135 void hashmapLock(Hashmap* map) { in hashmapLock()
139 void hashmapUnlock(Hashmap* map) { in hashmapUnlock()
143 void hashmapFree(Hashmap* map) { in hashmapFree()
196 void* hashmapPut(Hashmap* map, void* key, void* value) { in hashmapPut()
228 void* hashmapGet(Hashmap* map, void* key) { in hashmapGet()
243 bool hashmapContainsKey(Hashmap* map, void* key) { in hashmapContainsKey()
[all …]
/system/core/libbacktrace/
DUnwindMap.cpp54 backtrace_map_t map; in GenerateMap() local
97 backtrace_map_t map; in GenerateMap() local
125 void UnwindMapLocal::FillIn(uintptr_t addr, backtrace_map_t* map) { in FillIn()
142 BacktraceMap* map; in Create() local
DBacktraceMap.cpp37 void BacktraceMap::FillIn(uintptr_t addr, backtrace_map_t* map) { in FillIn()
48 bool BacktraceMap::ParseLine(const char* line, backtrace_map_t* map) {
118 backtrace_map_t map; local
136 BacktraceMap* map = new BacktraceMap(pid); local
DBacktrace.cpp40 Backtrace::Backtrace(pid_t pid, pid_t tid, BacktraceMap* map) in Backtrace()
113 void Backtrace::FillInMap(uintptr_t pc, backtrace_map_t* map) { in FillInMap()
119 Backtrace* Backtrace::Create(pid_t pid, pid_t tid, BacktraceMap* map) { in Create()
DUnwindPtrace.cpp31 UnwindPtrace::UnwindPtrace(pid_t pid, pid_t tid, BacktraceMap* map) in UnwindPtrace()
72 UnwindMap* map = static_cast<UnwindMap*>(GetMap()); in Unwind() local
DBacktracePtrace.h29 BacktracePtrace(pid_t pid, pid_t tid, BacktraceMap* map) : Backtrace(pid, tid, map) {} in BacktracePtrace()
DBacktraceCurrent.cpp44 backtrace_map_t map; in ReadWord() local
57 backtrace_map_t map; in Read() local
DUnwindCurrent.h36 UnwindCurrent(pid_t pid, pid_t tid, BacktraceMap* map) : BacktraceCurrent(pid, tid, map) {} in UnwindCurrent()
DBacktraceCurrent.h40 BacktraceCurrent(pid_t pid, pid_t tid, BacktraceMap* map) : Backtrace(pid, tid, map) {} in BacktraceCurrent()
/system/core/debuggerd/test/
Dtombstone_test.cpp98 backtrace_map_t map; in TEST_F() local
130 backtrace_map_t map; in TEST_F() local
167 backtrace_map_t map; in TEST_F() local
206 backtrace_map_t map; in TEST_F() local
270 backtrace_map_t map; in TEST_F() local
326 backtrace_map_t map; in TEST_F() local
382 backtrace_map_t map; in TEST_F() local
436 backtrace_map_t map; in TEST_F() local
496 backtrace_map_t map; in TEST_F() local
530 backtrace_map_t map; in TEST_F() local
DBacktraceMock.h36 void AddMap(backtrace_map_t& map) { in AddMap()
44 BacktraceMock(BacktraceMapMock* map) : Backtrace(0, 0, map) { in BacktraceMock()
/system/core/liblog/
Devent_tag_map.c114 LIBLOG_ABI_PUBLIC void android_closeEventTagMap(EventTagMap* map) in android_closeEventTagMap()
128 LIBLOG_ABI_PUBLIC const char* android_lookupEventTag(const EventTagMap* map, in android_lookupEventTag()
189 static int processFile(EventTagMap* map) in processFile()
226 static int countMapLines(const EventTagMap* map) in countMapLines()
263 static int parseMapLines(EventTagMap* map) in parseMapLines()
408 static int sortTags(EventTagMap* map) in sortTags()
/system/extras/simpleperf/
Dthread_tree.cpp90 MapEntry* map = AllocateMap(MapEntry(start_addr, len, pgoff, time, dso)); in AddKernelMap() local
115 MapEntry* map = AllocateMap(MapEntry(start_addr, len, pgoff, time, dso)); in AddThreadMap() local
131 MapEntry* map = new MapEntry(value); in AllocateMap() local
136 void ThreadTree::FixOverlappedMap(std::set<MapEntry*, MapComparator>* map_set, const MapEntry* map)… in FixOverlappedMap()
163 static bool IsAddrInMap(uint64_t addr, const MapEntry* map) { in IsAddrInMap()
188 const Symbol* ThreadTree::FindSymbol(const MapEntry* map, uint64_t ip) { in FindSymbol()
Dsample_tree.cpp36 const MapEntry* map = thread_tree_->FindMap(thread, ip, in_kernel); in AddSample() local
77 const MapEntry* map = thread_tree_->FindMap(thread, ip, in_kernel); in AddCallChainSample() local
Ddwarf_unwind.cpp113 for (auto& map : thread.maps) { in UnwindCallChain() local
/system/core/include/backtrace/
DBacktraceMap.h62 backtrace_map_t map; in GetFlags() local
84 static inline bool IsValid(const backtrace_map_t& map) { in IsValid()
88 static uintptr_t GetRelativePc(const backtrace_map_t& map, uintptr_t pc) { in GetRelativePc()
/system/bt/osi/src/
Dhash_map_utils.c39 hash_map_t *map = hash_map_new(BUCKETS_NUM, hash_function_string, osi_free, in hash_map_utils_new_from_string_params() local
87 void hash_map_utils_dump_string_keys_string_values(hash_map_t *map) { in hash_map_utils_dump_string_keys_string_values()
/system/core/libutils/
DPropertyMap.cpp112 void PropertyMap::addAll(const PropertyMap* map) { in addAll()
126 PropertyMap* map = new PropertyMap(); in load() local
156 PropertyMap::Parser::Parser(PropertyMap* map, Tokenizer* tokenizer) : in Parser()
/system/extras/libpagemap/include/pagemap/
Dpagemap.h208 #define pm_map_name(map) ((map)->name) argument
209 #define pm_map_flags(map) ((map)->flags) argument
214 #define pm_map_start(map) ((map)->start) argument
215 #define pm_map_end(map) ((map)->end) argument
216 #define pm_map_offset(map) ((map)->offset) argument
/system/core/debuggerd/
Dbacktrace.cpp71 static void dump_thread(log_t* log, BacktraceMap* map, pid_t pid, pid_t tid) { in dump_thread()
100 void dump_backtrace(int fd, BacktraceMap* map, pid_t pid, pid_t tid, in dump_backtrace()
Dtombstone.cpp255 backtrace_map_t map; in dump_stack_segment() local
359 static void dump_all_maps(Backtrace* backtrace, BacktraceMap* map, log_t* log, pid_t tid) { in dump_all_maps()
447 static void dump_thread(log_t* log, pid_t pid, pid_t tid, BacktraceMap* map, int signal, in dump_thread()
607 static void dump_crash(log_t* log, BacktraceMap* map, pid_t pid, pid_t tid, in dump_crash()
687 void engrave_tombstone(int tombstone_fd, BacktraceMap* map, pid_t pid, pid_t tid, in engrave_tombstone()
/system/sepolicy/tools/sepolicy-analyze/
Dutils.c29 void *map; in load_policy() local
/system/core/libion/tests/
Dformerly_valid_handle_test.cpp50 TEST_F(FormerlyValidHandle, map) in TEST_F() argument
/system/bt/osi/test/
Dhash_map_utils_test.cpp41 hash_map_t *map; member in HashMapUtilsTest
120 hash_map_t *map = NULL; in TEST_F() local

123