/system/extras/perf2cfg/perf2cfg/ |
D | parse.py | 71 parts = line.split(':', 1) 72 addr = parts[0] 97 parts = line.split(None, 1) 98 if parts[0] != 'flags': 101 if len(parts) < 2: 104 return re.findall(r'\"([^\"]+)\"', parts[1]) 123 parts = line.split(None, 1) 124 if parts[0] != 'name': 127 if len(parts) < 2: 131 return parts[1].strip('"')
|
/system/libbase/ |
D | strings_test.cpp | 27 std::vector<std::string> parts = android::base::Split("", ","); in TEST() local 28 ASSERT_EQ(1U, parts.size()); in TEST() 29 ASSERT_EQ("", parts[0]); in TEST() 33 std::vector<std::string> parts = android::base::Split("foo", ","); in TEST() local 34 ASSERT_EQ(1U, parts.size()); in TEST() 35 ASSERT_EQ("foo", parts[0]); in TEST() 39 std::vector<std::string> parts = android::base::Split("foo,bar,baz", ","); in TEST() local 40 ASSERT_EQ(3U, parts.size()); in TEST() 41 ASSERT_EQ("foo", parts[0]); in TEST() 42 ASSERT_EQ("bar", parts[1]); in TEST() [all …]
|
/system/extras/partition_tools/ |
D | lpmake.cc | 126 std::vector<std::string> parts = android::base::Split(arg, ":"); in Parse() local 127 if (parts.size() > 4) { in Parse() 131 std::string name = parts[0]; in Parse() 137 if (!android::base::ParseUint(parts[2].c_str(), &size)) { in Parse() 142 std::string attributes = parts[1]; in Parse() 150 if (parts.size() >= 4) { in Parse() 151 group_name = parts[3]; in Parse() 294 std::vector<std::string> parts = android::base::Split(optarg, ":"); in main() local 295 if (parts.size() < 2) { in main() 301 info.partition_name = parts[0]; in main() [all …]
|
/system/extras/libfscrypt/ |
D | fscrypt.cpp | 182 auto parts = android::base::Split(options_string, ":"); in ParseOptionsForApiLevel() local 183 if (parts.size() > 3) { in ParseOptionsForApiLevel() 188 if (parts.size() > 0 && !parts[0].empty()) { in ParseOptionsForApiLevel() 189 if (!LookupModeByName(contents_modes, parts[0], &options->contents_mode)) { in ParseOptionsForApiLevel() 190 LOG(ERROR) << "Invalid file contents encryption mode: " << parts[0]; in ParseOptionsForApiLevel() 199 if (parts.size() > 1 && !parts[1].empty()) { in ParseOptionsForApiLevel() 200 if (!LookupModeByName(filenames_modes, parts[1], &options->filenames_mode)) { in ParseOptionsForApiLevel() 201 LOG(ERROR) << "Invalid file names encryption mode: " << parts[1]; in ParseOptionsForApiLevel() 209 if (parts.size() > 2 && !parts[2].empty()) { in ParseOptionsForApiLevel() 210 auto flags = android::base::Split(parts[2], "+"); in ParseOptionsForApiLevel()
|
/system/core/fs_mgr/libsnapshot/ |
D | snapuserd_daemon.cpp | 41 auto parts = android::base::Split(argv[i], ","); in StartServer() local 42 if (parts.size() != 3) { in StartServer() 46 auto handler = server_.AddHandler(parts[0], parts[1], parts[2]); in StartServer()
|
D | estimate_cow_from_nonab_ota.cpp | 195 auto parts = android::base::Split(line, "="); in GetDynamicPartitionNames() local 196 if (parts.size() == 2 && parts[0] == "dynamic_partition_list") { in GetDynamicPartitionNames() 197 auto partitions = android::base::Split(parts[1], " "); in GetDynamicPartitionNames()
|
D | snapuserd_client.cpp | 187 std::vector<std::string> parts = {"init", misc_name, cow_device, backing_device}; in InitDmUserCow() local 188 std::string msg = android::base::Join(parts, ","); in InitDmUserCow()
|
/system/extras/tests/workloads/ |
D | atrace-uncompress.py | 16 parts = out.split('\nTRACE:', 1) 18 data = ''.join(parts[1])
|
/system/vold/ |
D | MetadataCrypt.cpp | 191 auto parts = android::base::Split(options_string, ":"); in parse_options() local 192 if (parts.size() < 1 || parts.size() > 2) { in parse_options() 196 std::string cipher_name = parts[0]; in parse_options() 203 if (parts.size() == 2) { in parse_options() 204 if (parts[1] == "wrappedkey_v0") { in parse_options() 207 LOG(ERROR) << "Invalid metadata encryption flag: " << parts[1]; in parse_options()
|
/system/bt/gd/rust/gddi/macros/ |
D | lib.rs | 63 parts: bool, field 97 let parts = input.peek3(Token![=>]); in parse() localVariable 98 if parts { in parse() 109 Ok(ProviderDef { ty, ident, parts }) in parse() 143 Type::Path(ty) if p.parts => Some(format_ident!( in module()
|
/system/core/fastboot/fuzzy_fastboot/ |
D | main.cpp | 419 std::vector<std::tuple<std::string, uint64_t>> parts; in TEST_F() local 420 EXPECT_EQ(fb->Partitions(&parts), SUCCESS) << "getvar:all failed"; in TEST_F() 421 EXPECT_GT(parts.size(), 0) in TEST_F() 424 for (const auto& p : parts) { in TEST_F() 456 std::vector<std::tuple<std::string, uint64_t>> parts; in TEST_F() local 457 EXPECT_EQ(fb->Partitions(&parts), SUCCESS) << "getvar:all failed"; in TEST_F() 463 for (const auto& p : parts) { in TEST_F() 670 std::vector<std::tuple<std::string, uint64_t>> parts; in TEST_F() local 671 EXPECT_EQ(fb->Partitions(&parts), SUCCESS) << "getvar:all failed in unlocked mode"; in TEST_F() 683 std::vector<std::tuple<std::string, uint64_t>> parts; in TEST_F() local [all …]
|
/system/apex/tools/ |
D | deapexer.py | 163 parts = line.split('/') 164 if len(parts) != 8: 166 name = parts[5] 169 ino = parts[1] 170 bits = parts[2] 171 size = parts[6]
|
/system/tools/aidl/build/ |
D | aidl_rust_glue.py | 66 for part in in_path.parts[:-1]: 70 in_name, in_ext = os.path.splitext(in_path.parts[-1])
|
/system/update_engine/fuzz/ |
D | xml.dict | 51 # Various tag parts
|
/system/core/fs_mgr/ |
D | fs_mgr_fstab.cpp | 196 auto parts = Split(arg, ":"); in ParseFsMgrFlags() local 197 if (parts.size() != 2) { in ParseFsMgrFlags() 202 entry->label = std::move(parts[0]); in ParseFsMgrFlags() 203 if (parts[1] == "auto") { in ParseFsMgrFlags() 206 if (!ParseInt(parts[1], &entry->partnum)) { in ParseFsMgrFlags()
|
/system/core/init/ |
D | util.cpp | 537 auto parts = android::base::Split(args[i], "="); in ParseMkdir() 538 if (parts.size() != 2) { in ParseMkdir() 541 auto optname = parts[0]; in ParseMkdir() 542 auto optval = parts[1]; in ParseMkdir()
|
/system/bt/gd/packet/parser/ |
D | flex.gni | 62 # Silence some warnings. The autogenerated code includes parts that have
|
D | bison.gni | 67 # Silence some warnings. The autogenerated code includes parts that have
|
/system/sepolicy/prebuilts/api/27.0/public/ |
D | postinstall_dexopt.te | 3 # Note: otapreopt is a driver for dex2oat, and reuses parts of installd. As such,
|
/system/sepolicy/prebuilts/api/26.0/public/ |
D | postinstall_dexopt.te | 3 # Note: otapreopt is a driver for dex2oat, and reuses parts of installd. As such,
|
/system/sepolicy/prebuilts/api/28.0/public/ |
D | postinstall_dexopt.te | 3 # Note: otapreopt is a driver for dex2oat, and reuses parts of installd. As such,
|
/system/update_engine/common/ |
D | utils.cc | 969 vector<string> parts = base::SplitString( in ParseRollbackKeyVersion() local 971 if (parts.size() != 2) { in ParseRollbackKeyVersion() 978 if (!(base::StringToInt(parts[0], &high) && in ParseRollbackKeyVersion() 979 base::StringToInt(parts[1], &low))) { in ParseRollbackKeyVersion()
|
/system/extras/memory_replay/traces/ |
D | TRACES | 13 Trace of the Google Maps app from start-up while looking at various parts
|
/system/sepolicy/prebuilts/api/30.0/private/ |
D | postinstall_dexopt.te | 3 # Note: otapreopt is a driver for dex2oat, and reuses parts of installd. As such,
|
/system/sepolicy/prebuilts/api/29.0/private/ |
D | postinstall_dexopt.te | 3 # Note: otapreopt is a driver for dex2oat, and reuses parts of installd. As such,
|