Home
last modified time | relevance | path

Searched refs:tokens (Results 1 – 10 of 10) sorted by relevance

/art/libnativeloader/
Dpublic_libraries.cpp355 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()
[all …]
/art/tools/jvmti-agents/ti-alloc-sample/
Dmkflame.py100 thread_type_size = self.definition(int(tokens[0]))
108 tokens = definition.split(";")
111 (thread_type_size, weight) = get_top_and_weight(int(tokens[0]))
114 del tokens[0]
117 for i in range(len(tokens)):
120 token = tokens[i]
/art/test/2246-trace-stream/src/
DNonStreamTraceParser.java43 String[] tokens = line.split("="); in CheckTraceFileFormat() local
44 numEntries = Integer.decode(tokens[1]); in CheckTraceFileFormat()
DBaseTraceParser.java125 String[] tokens = methodInfo.split("\t", 2); in ProcessMethodInfoEntry() local
127 int methodId = Integer.decode(tokens[0]); in ProcessMethodInfoEntry()
128 String methodLine = tokens[1].replace('\t', ' '); in ProcessMethodInfoEntry()
/art/tools/veridex/
Dveridex.cc125 std::vector<std::string> tokens; in Split() local
129 tokens.push_back(tmp); in Split()
131 return tokens; in Split()
/art/cmdline/detail/
Dcmdline_parse_argument_detail.h82 virtual size_t MaybeMatches(const TokenRange& tokens) = 0;
546 virtual size_t MaybeMatches(const TokenRange& tokens) { in MaybeMatches()
547 return argument_info_.MaybeMatches(tokens); in MaybeMatches()
/art/dexopt_chroot_setup/
Ddexopt_chroot_setup.cc257 std::vector<std::string> tokens = Tokenize(line, " \t"); in GetSupportedFilesystems() local
260 if (tokens.size() == 1) { in GetSupportedFilesystems()
261 filesystems.push_back(tokens[0]); in GetSupportedFilesystems()
/art/cmdline/
DREADME.md84 For example with `-orange:_` the parse would know to check all tokens in an `argv` list for the
171 an option to ignore any argument tokens that are not known to the parser. This is done with the
/art/tools/ahat/
DREADME.txt66 Annotate binder services, tokens, and proxies.
/art/dex2oat/linker/
Dimage_writer.cc142 std::vector<std::string_view> tokens; in ParseDirtyEntry() local
143 Split(entry_str, ' ', &tokens); in ParseDirtyEntry()
144 if (tokens.empty()) { in ParseDirtyEntry()
149 std::string_view path_to_root = tokens[0]; in ParseDirtyEntry()
151 if (tokens.size() > 1) { in ParseDirtyEntry()
153 std::from_chars(tokens[1].data(), tokens[1].data() + tokens[1].size(), entry.sort_key); in ParseDirtyEntry()