Home
last modified time | relevance | path

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

12

/bionic/libc/upstream-netbsd/lib/libc/string/
Dstrcasestr.c49 strcasestr(const char *s, const char *find) in strcasestr() argument
55 _DIAGASSERT(find != NULL); in strcasestr()
57 if ((c = *find++) != 0) { in strcasestr()
59 len = strlen(find); in strcasestr()
65 } while (strncasecmp(s, find, len) != 0); in strcasestr()
/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()
/bionic/libc/malloc_debug/
DMapData.cpp127 auto it = entries_.find(entry); in ReadMaps()
146 const MapEntry* MapData::find(uintptr_t pc, uintptr_t* rel_pc) { in find() function in MapData
151 auto it = entries_.find(&pc_entry); in find()
155 it = entries_.find(&pc_entry); in find()
DFreeTrackData.cpp54 auto back_iter = backtraces_.find(header); in LogFreeError()
85 auto back_iter = backtraces_.find(header); in VerifyAndFree()
122 auto back_iter = backtraces_.find(header); in LogBacktrace()
DMapData.h67 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()
152 const MapEntry* entry = g_map_data.find(frames[frame_num], &rel_pc); in backtrace_string()
DConfig.cpp441 auto entry = kOptions.find(option); in Init()
/bionic/linker/
Dlinker_namespaces.cpp76 if (secondary_namespaces.find(this) != secondary_namespaces.end()) { in is_accessible()
Dlinker_config.cpp68 size_t found = line.find('#'); in next_token()
80 found = line.find('='); in next_token()
109 size_t found = content_.find('\n', p_); in NextLine()
256 if (properties->find(name) != properties->end()) { in parse_config_file()
360 auto it = properties_.find(name); in find_property()
438 if (namespace_configs.find(linked_ns_name) == namespace_configs.end()) { in read_binary_config()
Dlinker_config.h131 auto it = namespace_configs_map_.find("default"); in default_namespace_config()
Dlinker_namespaces.h56 return shared_lib_sonames_.find(soname) != shared_lib_sonames_.end(); in is_accessible()
Dlinker_utils.cpp42 pos = str->find("$", pos); in format_string()
Dlinked_list.h223 iterator find(T* value) const { in find() function
Dlinker.cpp832 auto it = soinfo_list.find(caller); in ElfW()
907 auto it = cache_.find(key); in get_or_open()
2057 auto it = g_soinfo_handles_map.find(reinterpret_cast<uintptr_t>(handle)); in soinfo_from_handle()
3543 if (namespaces.find(ns_config->name()) != namespaces.end()) { in init_default_namespaces()
3561 auto it_from = namespaces.find(ns_config->name()); in init_default_namespaces()
3565 auto it_to = namespaces.find(ns_link.ns_name()); in init_default_namespaces()
3595 auto it = g_exported_namespaces.find(std::string(name)); in get_exported_namespace()
/bionic/libc/tools/
Dgensyscalls.py232 if param.find("*") >= 0:
417 pos_lparen = line.find('(')
437 pos_colon = syscall_func.find(':')
447 pos_colon2 = syscall_func.find(':', pos_colon + 1)
459 alias_delim = syscall_func.find('|')
463 alias_delim = syscall_name.find('|')
Dgenversion-scripts.py57 index = line.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()
Difaddrs_test.cpp135 EXPECT_TRUE(addrs.find(addr) != addrs.end()) << if_name << ' ' << std::hex << ntohl(addr); in CheckAddressIsInSet()
Dgtest_main.cpp156 if (GetName().find("xfail") == 0) result = TEST_SUCCESS; in SetResult()
411 if (testcase.GetTestName(i).find(".xfail_") != std::string::npos) ++expected_failure_count; in OnTestIterationEndPrint()
1035 if (gtest_filter_str.find('-') != std::string::npos) { in PickOptions()
/bionic/tools/versioner/src/
Dversioner.cpp122 if (it.second.find(arch) == it.second.end()) { in collectRequirements()
332 const auto platform_availability_it = symbol_database.find(symbol_name); in checkVersions()
385 if (auto missing_it = missing_availability.find(symbol_name); in checkVersions()
394 if (auto extra_it = extra_availability.find(symbol_name); in checkVersions()
404 if (auto symbol_it = header_database->symbols.find(symbol_name); in checkVersions()
DDeclarationDatabase.cpp174 if (auto it = prefix_map.find(fragments[0]); it != prefix_map.end()) { in VisitDecl()
188 auto symbol_it = database.symbols.find(declaration_name); in VisitDecl()
196 if (auto declaration_it = symbol_it->second.declarations.find(location); in VisitDecl()
DDriver.cpp176 const auto& target_flag_it = cc1_flags.find(type); in getCC1Command()
205 const auto& arch_req_it = reqs.find(type.arch); in initializeTargetCC1FlagCache()
/bionic/tools/bionicbb/
DREADME.md55 Bionicbb polls a gmail account to find changes that need to be built. The gmail
/bionic/libc/bionic/
Dsystem_properties.cpp141 const prop_info* find(const char* name);
683 const prop_info* prop_area::find(const char* name) { in find() function in prop_area
1162 return pa->find(name); in __system_property_find()

12