Home
last modified time | relevance | path

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

12

/system/core/libcutils/
Dcanned_fs_config.cpp62 std::vector<std::string> tokens = Tokenize(line, " "); in load_canned_fs_config() local
63 if (tokens.size() < 4) { in load_canned_fs_config()
69 std::string path(tokens[0].front() == '/' ? std::string(tokens[0], 1) : tokens[0]); in load_canned_fs_config()
73 .uid = static_cast<unsigned int>(atoi(tokens[1].c_str())), in load_canned_fs_config()
74 .gid = static_cast<unsigned int>(atoi(tokens[2].c_str())), in load_canned_fs_config()
76 .mode = static_cast<unsigned int>(strtol(tokens[3].c_str(), nullptr, 8)), in load_canned_fs_config()
80 for (size_t i = 4; i < tokens.size(); i++) { in load_canned_fs_config()
81 std::string_view sv = tokens[i]; in load_canned_fs_config()
/system/core/mini_keyctl/
Dmini_keyctl_utils.cpp61 std::vector<std::string> tokens = SplitBySpace(line); in GetKeyringId() local
62 if (tokens.size() < 9) { in GetKeyringId()
65 std::string key_id = "0x" + tokens[0]; in GetKeyringId()
66 std::string key_type = tokens[7]; in GetKeyringId()
68 std::string key_desc_prefix = tokens[8]; in GetKeyringId()
/system/tools/hidl/hidl2aidl/
DAidlInterface.cpp282 std::vector<std::string> tokens = base::Split(line, " "); in emitAidl() local
283 if (tokens.size() <= 1 || tokens[0] != "@return") { in emitAidl()
289 const std::string& res = tokens[1]; in emitAidl()
297 tokens.erase(++tokens.begin()); in emitAidl()
302 tokens.insert(tokens.begin(), in emitAidl()
309 tokens.erase(tokens.begin()); in emitAidl()
310 tokens.insert(tokens.begin(), "@param out"); in emitAidl()
313 modifiedDocComment.emplace_back(base::Join(tokens, " ")); in emitAidl()
/system/core/init/test_service/
Dtest_service.cpp51 std::vector<std::string> tokens = android::base::Split(line, ":"); in main() local
52 if (tokens.size() >= 2) { in main()
53 std::string field = tokens[0]; in main()
54 std::string value = android::base::Trim(tokens[1]); in main()
/system/apex/apexd/
Dflattened_apex_test.cpp60 const std::vector<std::string>& tokens = Split(mount, " "); in TEST() local
63 if (tokens.size() < 7) { in TEST()
66 const std::string& source = tokens[3]; in TEST()
67 const std::string& target = tokens[4]; in TEST()
Dapex_classpath.cpp105 auto tokens = android::base::Split(line, " "); in ParseFromFile() local
106 if (tokens.size() < 3) { in ParseFromFile()
109 auto jars_list = tokens[2]; in ParseFromFile()
Dapex_database.cpp105 const auto& tokens = Split(mount_info, " "); in ParseMountInfo() local
106 if (tokens.size() < 2) { in ParseMountInfo()
109 return std::make_pair(tokens[0], tokens[1]); in ParseMountInfo()
/system/sepolicy/tools/
Dfuzzer_bindings_check.py42 tokens = line.split()
43 if len(tokens) == 0:
49 service_name = tokens[0]
/system/sepolicy/tests/
Dcheck_prop_prefix.py56 tokens = line.strip() variable
58 if tokens == '' or tokens[0] == '#':
/system/core/init/
Dtokenizer_test.cpp40 std::vector<std::vector<std::string>> tokens; in RunTest() local
45 EXPECT_EQ(expected_tokens, tokens) << data; in RunTest()
48 tokens.emplace_back(std::move(current_line)); in RunTest()
/system/tools/hidl/lint/lints/
DenumMaxAndAll.cpp45 const std::vector<std::string> tokens = in enumValueNames() local
49 for (const std::string& token : tokens) { in enumValueNames()
/system/update_engine/aosp/
Dcow_converter.cc88 auto tokens = android::base::Tokenize(FLAGS_partitions, ","); in main() local
90 std::make_move_iterator(tokens.begin()), in main()
91 std::make_move_iterator(tokens.end())); in main()
Dota_extractor.cc216 auto tokens = android::base::Tokenize(FLAGS_partitions, ","); in main() local
218 std::make_move_iterator(tokens.begin()), in main()
219 std::make_move_iterator(tokens.end())); in main()
/system/linkerconfig/modules/
Dapex.cc63 std::vector<std::string> tokens = android::base::Split(trimmed_line, " "); in ReadPublicLibraries() local
64 if (tokens.size() < 1 || tokens.size() > 3) { in ReadPublicLibraries()
67 sonames.insert(tokens[0]); in ReadPublicLibraries()
/system/tools/aidl/tests/java/src/android/aidl/sdkversion/
DITestService.aidl32 in @nullable List<TypedObject> tokens); in RepeatTypedList()
/system/tools/hidl/host_utils/
DStringHelper.cpp102 std::vector<std::string> tokens; in Tokenize() local
103 Tokenize(comp, &tokens); in Tokenize()
105 vec->insert(vec->end(), tokens.begin(), tokens.end()); in Tokenize()
/system/extras/simpleperf/scripts/inferno/
Dinferno.py76 tokens = args.events.split()
77 if len(tokens) == 2:
78 num_events = tokens[0]
79 event_name = tokens[1]
/system/sepolicy/prebuilts/api/29.0/public/
Dfingerprintd.te18 # Need to add auth tokens to KeyStore
/system/sepolicy/prebuilts/api/30.0/public/
Dfingerprintd.te18 # Need to add auth tokens to KeyStore
/system/sepolicy/public/
Dfingerprintd.te18 # Need to add auth tokens to KeyStore
/system/sepolicy/prebuilts/api/33.0/public/
Dfingerprintd.te18 # Need to add auth tokens to KeyStore
/system/sepolicy/prebuilts/api/34.0/public/
Dfingerprintd.te18 # Need to add auth tokens to KeyStore
/system/sepolicy/prebuilts/api/32.0/public/
Dfingerprintd.te18 # Need to add auth tokens to KeyStore
/system/sepolicy/prebuilts/api/31.0/public/
Dfingerprintd.te18 # Need to add auth tokens to KeyStore
/system/libvintf/
DAssembleVintf.cpp816 auto tokens = base::Split(kernelArg, ":"); in addKernel() local
817 if (tokens.size() <= 1) { in addKernel()
822 if (!parse(tokens.front(), &kernelVer)) { in addKernel()
823 err() << "Unrecognized kernel version '" << tokens.front() << "'" << std::endl; in addKernel()
830 for (auto it = tokens.begin() + 1; it != tokens.end(); ++it) { in addKernel()

12