/bionic/libc/upstream-openbsd/lib/libc/string/ |
D | strstr.c | 40 strstr(const char *s, const char *find) in strstr() argument 45 if ((c = *find++) != 0) { in strstr() 46 len = strlen(find); in strstr() 52 } while (strncmp(s, find, len) != 0); in strstr()
|
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 | 47 wcsstr(const wchar_t * __restrict s, const wchar_t * __restrict find) in wcsstr() argument 52 if ((c = *find++) != L'\0') { in wcsstr() 53 len = wcslen(find); in wcsstr() 59 } 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 decodeApiLevelValue() 278 auto it = api_codename_map.find(api_level); in decodeApiLevelValue()
|
D | Arch.cpp | 57 auto it = arch_name_map.find(name); in arch_from_string()
|
D | versioner.cpp | 145 if (it.second.find(arch) == it.second.end()) { in collectRequirements() 372 const auto platform_availability_it = symbol_database.find(symbol_name); in checkVersions() 421 if (auto missing_it = missing_availability.find(symbol_name); in checkVersions() 430 if (auto extra_it = extra_availability.find(symbol_name); in checkVersions() 440 if (auto symbol_it = header_database->symbols.find(symbol_name); in checkVersions()
|
D | DeclarationDatabase.cpp | 176 if (auto it = prefix_map.find(fragments[0]); 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 | 193 const auto& target_flag_it = cc1_flags.find(type); in getCC1Command() 222 const auto& arch_req_it = reqs.find(type.arch); in initializeTargetCC1FlagCache()
|
/bionic/linker/ |
D | linker_namespaces.cpp | 43 if (std::find(whitelisted_libs_.begin(), whitelisted_libs_.end(), in is_accessible() 85 if (secondary_namespaces.find(this) != secondary_namespaces.end()) { in is_accessible()
|
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() 437 auto it = properties_.find(name); in find_property() 515 if (namespace_configs.find(linked_ns_name) == namespace_configs.end()) { in read_binary_config()
|
D | linker_config.h | 148 auto it = namespace_configs_map_.find("default"); in default_namespace_config()
|
D | linker_namespaces.h | 60 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 | MapData.h | 66 const MapEntry* find(uintptr_t pc, uintptr_t* rel_pc = nullptr);
|
D | backtrace.cpp | 64 g_current_code_map = g_map_data.find(ip); in find_current_map() 151 const MapEntry* entry = g_map_data.find(frames[frame_num], &rel_pc); in backtrace_string()
|
D | PointerData.cpp | 154 auto entry = key_to_index_.find(key); in AddBacktrace() 179 auto frame_entry = frames_.find(hash_index); in RemoveBacktrace() 211 auto entry = pointers_.find(pointer); in Remove() 229 auto entry = pointers_.find(pointer); in GetFrames() 241 auto frame_entry = frames_.find(hash_index); in GetFrames() 257 auto backtrace_info_entry = backtraces_info_.find(hash_index); in LogBacktrace() 263 auto frame_entry = frames_.find(hash_index); in LogBacktrace() 391 auto frame_entry = frames_.find(hash_index); in GetList() 404 auto backtrace_entry = backtraces_info_.find(hash_index); in GetList()
|
/bionic/tools/ |
D | generate-version-script.py | 20 index = line.find("#")
|
/bionic/libc/tools/ |
D | gensyscalls.py | 233 if param.find("*") >= 0: 418 pos_lparen = line.find('(') 438 pos_colon = syscall_func.find(':') 448 pos_colon2 = syscall_func.find(':', pos_colon + 1) 460 alias_delim = syscall_func.find('|') 464 alias_delim = syscall_name.find('|')
|
/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 | 151 ASSERT_TRUE(dl_iter_mods.find(info->dlpi_addr) == dl_iter_mods.end()); in TEST() 168 auto it = f.dl_iter_mods.find(map->l_addr); in TEST()
|
/bionic/benchmarks/ |
D | bionic_benchmarks.cpp | 256 auto sit = kSizes.find(sizes); in ParseOnebufManualStr() 302 auto sit = kSizes.find(sizes); in ParseTwobufManualStr() 353 if (g_str_to_func.find(fn_name) == g_str_to_func.end()) { in RegisterGoogleBenchmarks() 384 size_t first_space_pos = extra_fn.find(' '); in RegisterCliBenchmarks() 388 cmd_args = extra_fn.substr(extra_fn.find(' ') + 1); in RegisterCliBenchmarks()
|
/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/system_properties/include/system_properties/ |
D | prop_area.h | 111 const prop_info* find(const char* name);
|
/bionic/libc/malloc_debug/tests/ |
D | malloc_debug_system_tests.cpp | 185 if (log_str.find(str) == std::string::npos) { in FindStrings() 463 ASSERT_TRUE(log_str.find("Fatal signal") == std::string::npos) in TEST()
|