Home
last modified time | relevance | path

Searched refs:find (Results 1 – 25 of 42) sorted by relevance

12

/bionic/libc/upstream-openbsd/lib/libc/string/
Dstrstr.c40 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()
Dstrcasestr.c43 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/
Dwcsstr.c47 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/
DSymbolFileParser.cpp93 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()
DArch.cpp57 auto it = arch_name_map.find(name); in arch_from_string()
Dversioner.cpp145 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()
DDeclarationDatabase.cpp176 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()
DDriver.cpp193 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/
Dlinker_namespaces.cpp43 if (std::find(whitelisted_libs_.begin(), whitelisted_libs_.end(), in is_accessible()
85 if (secondary_namespaces.find(this) != secondary_namespaces.end()) { in is_accessible()
Dlinker_config.cpp76 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()
Dlinker_config.h148 auto it = namespace_configs_map_.find("default"); in default_namespace_config()
Dlinker_namespaces.h60 return allow_all_shared_libs_ || shared_lib_sonames_.find(soname) != shared_lib_sonames_.end(); in is_accessible()
/bionic/libc/malloc_debug/
DMapData.cpp158 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()
DMapData.h66 const MapEntry* find(uintptr_t pc, uintptr_t* rel_pc = nullptr);
Dbacktrace.cpp64 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()
DPointerData.cpp154 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/
Dgenerate-version-script.py20 index = line.find("#")
/bionic/libc/tools/
Dgensyscalls.py233 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/
Ddirent_test.cpp33 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()
Dstack_protector_test.cpp49 ASSERT_TRUE(tids.find(tid) == tids.end()); in Check()
Dlink_test.cpp151 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/
Dbionic_benchmarks.cpp256 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/
Dinterface_test.cpp69 …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/
Dprop_area.h111 const prop_info* find(const char* name);
/bionic/libc/malloc_debug/tests/
Dmalloc_debug_system_tests.cpp185 if (log_str.find(str) == std::string::npos) { in FindStrings()
463 ASSERT_TRUE(log_str.find("Fatal signal") == std::string::npos) in TEST()

12