Lines Matching refs:base

77       line = android::base::Trim(line.substr(0, found));  in next_token()
91 *name = android::base::Trim(line.substr(0, found_assign)); in next_token()
92 *value = android::base::Trim(line.substr(found_assign + 1)); in next_token()
97 *name = android::base::Trim(line.substr(0, found_append)); in next_token()
98 *value = android::base::Trim(line.substr(found_append + 2)); in next_token()
187 if (!android::base::ReadFileToString(ld_config_file_path, &content)) { in parse_config_file()
218 if (!android::base::StartsWith(name, "dir.")) { in parse_config_file()
323 if (android::base::EndsWith(name, ".links") || in parse_config_file()
324 android::base::EndsWith(name, ".namespaces")) { in parse_config_file()
327 } else if (android::base::EndsWith(name, ".paths") || in parse_config_file()
328 android::base::EndsWith(name, ".shared_libs") || in parse_config_file()
329 android::base::EndsWith(name, ".whitelisted") || in parse_config_file()
330 android::base::EndsWith(name, ".allowed_libs")) { in parse_config_file()
371 std::vector<std::string> strings = android::base::Split(it->second.value(), ","); in get_strings()
374 strings[i] = android::base::Trim(strings[i]); in get_strings()
478 auto failure_guard = android::base::make_scope_guard([] { g_config.clear(); }); in read_binary_config()
494 if (!android::base::ReadFileToString(version_file, &content)) { in read_binary_config()
501 content = android::base::Trim(content); in read_binary_config()
577 ns_config->set_allowed_libs(android::base::Split(allowed_libs, ":")); in read_binary_config()
607 std::string version = android::base::GetProperty("ro.vndk.version", ""); in get_vndk_version_string()