Searched refs:has_prefix (Results 1 – 2 of 2) sorted by relevance
/system/core/libmemunreachable/ |
D | MemUnreachable.cpp | 204 static bool has_prefix(const allocator::string& s, const char* prefix) { in has_prefix() function 242 } else if (has_prefix(mapping_name, "/dev/ashmem/dalvik")) { in ClassifyMappings() 245 } else if (has_prefix(mapping_name, "[stack")) { in ClassifyMappings() 250 … } else if (has_prefix(mapping_name, "[anon:") && mapping_name != "[anon:leak_detector_malloc]") { in ClassifyMappings()
|
/system/core/libsysutils/src/ |
D | NetlinkEvent.cpp | 562 has_prefix(const char* str, const char* end, const char* prefix, size_t prefixlen) in has_prefix() function 576 #define HAS_CONST_PREFIX(str,end,prefix) has_prefix((str),(end),prefix,CONST_STRLEN(prefix))
|