Lines Matching refs:tokens
355 std::vector<std::string> tokens = base::Split(line, " "); in ParseApexLibrariesConfigLine() local
356 if (tokens.size() != 3) { in ParseApexLibrariesConfigLine()
359 if (tokens[0] != "jni" && tokens[0] != "public") { in ParseApexLibrariesConfigLine()
362 if (!std::regex_match(tokens[1], kApexNamespaceRegex)) { in ParseApexLibrariesConfigLine()
365 if (!std::regex_match(tokens[2], kLibraryListRegex)) { in ParseApexLibrariesConfigLine()
368 return ApexLibrariesConfigLine{std::move(tokens[0]), std::move(tokens[1]), std::move(tokens[2])}; in ParseApexLibrariesConfigLine()
468 std::vector<std::string> tokens = android::base::Split(trimmed_line, " "); in ParseConfig() local
469 if (tokens.size() < 1 || tokens.size() > 3) { in ParseConfig()
473 size_t i = tokens.size(); in ParseConfig()
475 if (tokens[i] == "nopreload") { in ParseConfig()
477 } else if (tokens[i] == "32" || tokens[i] == "64") { in ParseConfig()
481 entry.bitness = tokens[i] == "32" ? ONLY_32 : ONLY_64; in ParseConfig()
486 entry.soname = tokens[i]; in ParseConfig()