/bionic/libc/upstream-openbsd/lib/libc/string/ |
D | strcasestr.c | 43 strcasestr(const char *s, const char *find) in strcasestr() argument 48 if ((c = *find++) != 0) { in strcasestr() 50 len = strlen(find); in strcasestr() 56 } while (strncasecmp(s, find, len) != 0); in strcasestr()
|
/bionic/libc/upstream-freebsd/lib/libc/string/ |
D | wcsstr.c | 49 wcsstr(const wchar_t * __restrict s, const wchar_t * __restrict find) in wcsstr() argument 54 if ((c = *find++) != L'\0') { in wcsstr() 55 len = wcslen(find); in wcsstr() 61 } while (wcsncmp(s, find, len) != 0); in wcsstr()
|
/bionic/tools/versioner/src/ |
D | SymbolFileParser.cpp | 93 size_t hash_pos = line.find('#'); in hasNextLine() 118 std::string::size_type lparen_pos = curr_line.find('{'); in parseVersion() 133 size_t rparen_pos = curr_line.find('}'); in parseVersion() 135 size_t semicolon_pos = curr_line.find(';', rparen_pos + 1); in parseVersion() 162 size_t colon_pos = curr_line.find(':'); in parseVersion() 179 size_t semicolon_pos = curr_line.find(';'); in parseVersion() 188 size_t asterisk_pos = symbol_name.find('*'); in parseVersion() 277 std::string api_level = tag.substr(tag.find('=') + 1); in parseApiLevelValue() 278 auto it = api_codename_map.find(api_level); in parseApiLevelValue()
|
D | versioner.cpp | 145 if (it.second.find(arch) == it.second.end()) { in collectRequirements() 374 const auto platform_availability_it = symbol_database.find(symbol_name); in checkVersions() 423 if (auto missing_it = missing_availability.find(symbol_name); in checkVersions() 432 if (auto extra_it = extra_availability.find(symbol_name); in checkVersions() 442 if (auto symbol_it = header_database->symbols.find(symbol_name); in checkVersions()
|
D | Arch.cpp | 49 auto it = arch_name_map.find(name); in arch_from_string()
|
D | DeclarationDatabase.cpp | 176 if (auto it = prefix_map.find(fragments[0].str()); it != prefix_map.end()) { in VisitDeclaratorDecl() 190 auto symbol_it = database.symbols.find(declaration_name); in VisitDeclaratorDecl() 216 if (auto declaration_it = symbol_it->second.declarations.find(location); in VisitDeclaratorDecl()
|
D | Driver.cpp | 187 const auto& target_flag_it = cc1_flags.find(type); in getCC1Command() 216 const auto& arch_req_it = reqs.find(type.arch); in initializeTargetCC1FlagCache()
|
/bionic/libc/tools/ |
D | gensyscalls.py | 150 if param.find("*") >= 0: 326 pos_lparen = line.find('(') 346 pos_colon = syscall_func.find(':') 356 pos_colon2 = syscall_func.find(':', pos_colon + 1) 368 alias_delim = syscall_func.find('|') 372 alias_delim = syscall_name.find('|')
|
/bionic/linker/ |
D | linker_config.cpp | 76 size_t found = line.find('#'); in next_token() 88 size_t found_assign = line.find('='); in next_token() 89 size_t found_append = line.find("+="); in next_token() 124 size_t found = content_.find('\n', p_); in NextLine() 307 if (properties->find(name) != properties->end()) { in parse_config_file() 316 if (properties->find(name) == properties->end()) { in parse_config_file() 423 auto cached = resolved_paths_.find(path); in get_paths() 426 cached = resolved_paths_.find(path); in get_paths() 448 auto it = properties_.find(name); in find_property() 527 if (namespace_configs.find(linked_ns_name) == namespace_configs.end()) { in read_binary_config()
|
D | linker_namespaces.cpp | 44 if (std::find(whitelisted_libs_.begin(), whitelisted_libs_.end(), in is_accessible() 104 if (secondary_namespaces.find(this) != secondary_namespaces.end()) { in is_accessible()
|
D | linker_config.h | 154 auto it = namespace_configs_map_.find("default"); in default_namespace_config()
|
D | linker_namespaces.h | 62 return allow_all_shared_libs_ || shared_lib_sonames_.find(soname) != shared_lib_sonames_.end(); in is_accessible()
|
/bionic/libc/malloc_debug/ |
D | MapData.cpp | 158 auto it = entries_.find(entry); in ReadMaps() 177 const MapEntry* MapData::find(uintptr_t pc, uintptr_t* rel_pc) { in find() function in MapData 182 auto it = entries_.find(&pc_entry); in find() 186 it = entries_.find(&pc_entry); in find()
|
D | PointerData.cpp | 155 auto entry = key_to_index_.find(key); in AddBacktrace() 180 auto frame_entry = frames_.find(hash_index); in RemoveBacktrace() 212 auto entry = pointers_.find(pointer); in Remove() 230 auto entry = pointers_.find(pointer); in GetFrames() 242 auto frame_entry = frames_.find(hash_index); in GetFrames() 258 auto backtrace_info_entry = backtraces_info_.find(hash_index); in LogBacktrace() 264 auto frame_entry = frames_.find(hash_index); in LogBacktrace() 392 auto frame_entry = frames_.find(hash_index); in GetList() 405 auto backtrace_entry = backtraces_info_.find(hash_index); in GetList()
|
D | backtrace.cpp | 62 g_current_code_map = g_map_data.find(ip); in find_current_map() 149 const MapEntry* entry = g_map_data.find(frames[frame_num], &rel_pc); in backtrace_string()
|
D | MapData.h | 66 const MapEntry* find(uintptr_t pc, uintptr_t* rel_pc = nullptr);
|
/bionic/tests/ |
D | dirent_test.cpp | 33 ASSERT_TRUE(names.find(".") != names.end()); in CheckProcSelf() 34 ASSERT_TRUE(names.find("..") != names.end()); in CheckProcSelf() 35 ASSERT_TRUE(names.find("cmdline") != names.end()); in CheckProcSelf() 36 ASSERT_TRUE(names.find("fd") != names.end()); in CheckProcSelf() 37 ASSERT_TRUE(names.find("stat") != names.end()); in CheckProcSelf()
|
D | stack_protector_test.cpp | 49 ASSERT_TRUE(tids.find(tid) == tids.end()); in Check()
|
D | link_test.cpp | 198 ASSERT_TRUE(dl_iter_mods.find(info->dlpi_addr) == dl_iter_mods.end()); in TEST() 215 auto it = f.dl_iter_mods.find(map->l_addr); in TEST()
|
D | dl_test.cpp | 120 ASSERT_EQ(0u, eth.GetOutput().find(usage_prefix)) << "Test output:\n" << eth.GetOutput(); in TEST() 352 ASSERT_TRUE(eth.GetOutput().find(expectation) != std::string::npos) << eth.GetOutput(); in RelocationsTest()
|
/bionic/benchmarks/ |
D | bionic_benchmarks.cpp | 258 auto sit = kSizes.find(sizes); in ParseOnebufManualStr() 304 auto sit = kSizes.find(sizes); in ParseTwobufManualStr() 355 if (g_str_to_func.find(fn_name) == g_str_to_func.end()) { in RegisterGoogleBenchmarks() 386 size_t first_space_pos = extra_fn.find(' '); in RegisterCliBenchmarks() 390 cmd_args = extra_fn.substr(extra_fn.find(' ') + 1); in RegisterCliBenchmarks()
|
/bionic/tools/ |
D | generate-version-script.py | 20 index = line.find("#")
|
/bionic/benchmarks/tests/ |
D | interface_test.cpp | 69 …sanitized_output_.erase(0, sanitized_output_.find("-----------------------------------------------… in SanitizeOutput() 72 sanitized_output_.erase(0, sanitized_output_.find("BM_")); in SanitizeOutput()
|
/bionic/libc/malloc_debug/tests/ |
D | malloc_debug_system_tests.cpp | 207 if (log_str.find(str) == std::string::npos) { 215 …ASSERT_TRUE(log_str.find(str) == std::string::npos) << "Unexpectedly found '" << str << "' in log … 490 ASSERT_TRUE(log_str.find("Fatal signal") == std::string::npos) in TEST()
|
/bionic/libc/system_properties/include/system_properties/ |
D | prop_area.h | 125 const prop_info* find(const char* name);
|