/system/core/base/ |
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/core/libpixelflinger/codeflinger/ |
D | GGLAssembler.cpp | 188 fragment_parts_t parts; in scanline_core() local 194 build_scanline_prolog(parts, needs); in scanline_core() 207 MOV(AL, 0, parts.count.reg, in scanline_core() 208 reg_imm(parts.count.reg, ROR, GGL_DITHER_ORDER_SHIFT)); in scanline_core() 209 ADD(AL, 0, parts.count.reg, parts.count.reg, in scanline_core() 211 MOV(AL, 0, parts.count.reg, in scanline_core() 212 reg_imm(parts.count.reg, ROR, 32 - GGL_DITHER_ORDER_SHIFT)); in scanline_core() 221 build_depth_test(parts, Z_TEST|Z_WRITE); in scanline_core() 225 build_depth_test(parts, Z_TEST); in scanline_core() 232 build_textures(parts, regs); in scanline_core() [all …]
|
D | texturing.cpp | 41 void GGLAssembler::init_iterated_color(fragment_parts_t& parts, const reg_t& x) in init_iterated_color() argument 54 parts.iterated_packed = 0; in init_iterated_color() 55 parts.packed = 0; in init_iterated_color() 60 if (optReload >= 3) parts.reload = 0; // reload nothing in init_iterated_color() 61 else if (optReload == 2) parts.reload = 2; // reload iterators in init_iterated_color() 62 else if (optReload == 1) parts.reload = 1; // reload colors in init_iterated_color() 63 else if (optReload <= 0) parts.reload = 3; // reload both in init_iterated_color() 68 parts.reload &= ~2; in init_iterated_color() 72 const int t0 = (parts.reload & 1) ? scratches.obtain() : 0; in init_iterated_color() 73 const int t1 = (parts.reload & 2) ? scratches.obtain() : 0; in init_iterated_color() [all …]
|
D | GGLAssembler.h | 416 void build_scanline_prolog( fragment_parts_t& parts, 419 void build_smooth_shade(const fragment_parts_t& parts); 422 const fragment_parts_t& parts, 429 const fragment_parts_t& parts, 434 void init_iterated_color(fragment_parts_t& parts, const reg_t& x); 437 const fragment_parts_t& parts, 449 void build_textures( fragment_parts_t& parts, 452 void filter8( const fragment_parts_t& parts, 457 void filter16( const fragment_parts_t& parts, 462 void filter24( const fragment_parts_t& parts, [all …]
|
/system/extras/partition_tools/ |
D | lpmake.cc | 192 std::vector<std::string> parts = android::base::Split(optarg, ":"); in main() local 193 if (parts.size() < 2) { in main() 199 info.partition_name = parts[0]; in main() 200 if (!android::base::ParseUint(parts[1].c_str(), &info.size) || !info.size) { in main() 205 if (parts.size() >= 3 && in main() 206 !android::base::ParseUint(parts[2].c_str(), &info.alignment)) { in main() 210 if (parts.size() >= 4 && in main() 211 !android::base::ParseUint(parts[3].c_str(), &info.alignment_offset)) { in main() 280 std::vector<std::string> parts = android::base::Split(group_info, ":"); in main() local 281 if (parts.size() != 2) { in main() [all …]
|
/system/extras/tests/workloads/ |
D | atrace-uncompress.py | 16 parts = out.split('\nTRACE:', 1) 18 data = ''.join(parts[1])
|
/system/core/fs_mgr/ |
D | fs_mgr_fstab.cpp | 119 auto parts = Split(arg, ":"); in ParseFileEncryption() local 120 if (parts.empty() || parts.size() > 2) { in ParseFileEncryption() 126 if (parts[0] == "software") { in ParseFileEncryption() 127 parts[0] = "aes-256-xts"; in ParseFileEncryption() 131 parts[0]) == kFileContentsEncryptionMode.end()) { in ParseFileEncryption() 137 entry->file_contents_mode = parts[0]; in ParseFileEncryption() 139 if (parts.size() == 2) { in ParseFileEncryption() 140 if (std::find(kFileNamesEncryptionMode.begin(), kFileNamesEncryptionMode.end(), parts[1]) == in ParseFileEncryption() 147 entry->file_names_mode = parts[1]; in ParseFileEncryption() 226 auto parts = Split(arg, ":"); in ParseFsMgrFlags() local [all …]
|
/system/extras/perfprofd/scripts/ |
D | perf_proto_stack.py | 242 parts = line.split(' ', 1) 243 if len(parts) == 2: 246 plus_index = parts[0].find('>+') 248 offset_str = parts[0][plus_index + 2:-1] 252 logging.warn('error parsing offset from %s', parts[0]) 255 logging.debug('unwind_symbols: %s %s -> %s +%d', filename, offset_hex, parts[1], 257 sym = intern(parts[1])
|
/system/core/fastboot/fuzzy_fastboot/ |
D | main.cpp | 424 std::vector<std::tuple<std::string, uint64_t>> parts; in TEST_F() local 425 EXPECT_EQ(fb->Partitions(&parts), SUCCESS) << "getvar:all failed"; in TEST_F() 426 EXPECT_GT(parts.size(), 0) in TEST_F() 429 for (const auto& p : parts) { in TEST_F() 461 std::vector<std::tuple<std::string, uint64_t>> parts; in TEST_F() local 462 EXPECT_EQ(fb->Partitions(&parts), SUCCESS) << "getvar:all failed"; in TEST_F() 468 for (const auto& p : parts) { in TEST_F() 675 std::vector<std::tuple<std::string, uint64_t>> parts; in TEST_F() local 676 EXPECT_EQ(fb->Partitions(&parts), SUCCESS) << "getvar:all failed in unlocked mode"; in TEST_F() 682 std::vector<std::tuple<std::string, uint64_t>> parts; in TEST_F() local [all …]
|
/system/update_engine/fuzz/ |
D | xml.dict | 51 # Various tag parts
|
/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/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/28.0/public/ |
D | postinstall_dexopt.te | 3 # Note: otapreopt is a driver for dex2oat, and reuses parts of installd. As such,
|
D | app.te | 453 # Write to system-owned parts of /data. 460 # Write to various other parts of /data.
|
/system/update_engine/common/ |
D | utils.cc | 1045 vector<string> parts = base::SplitString( in ParseRollbackKeyVersion() local 1047 if (parts.size() != 2) { in ParseRollbackKeyVersion() 1054 if (!(base::StringToInt(parts[0], &high) && in ParseRollbackKeyVersion() 1055 base::StringToInt(parts[1], &low))) { in ParseRollbackKeyVersion()
|
/system/sepolicy/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,
|
/system/core/adb/ |
D | SYNC.TXT | 51 The remote file name is split into two parts separated by the last
|
/system/sepolicy/prebuilts/api/26.0/private/ |
D | app.te | 424 # Write to system-owned parts of /data. 431 # Write to various other parts of /data.
|
/system/iorap/tests/src/inode2filename/ |
D | search_directories_test.cc | 1087 std::vector<std::string_view> parts{iterable.begin(), iterable.end()}; in PartsList() local 1088 return parts; in PartsList()
|
/system/sepolicy/prebuilts/api/27.0/private/ |
D | app.te | 435 # Write to system-owned parts of /data. 442 # Write to various other parts of /data.
|
/system/sepolicy/public/ |
D | app.te | 460 # Write to system-owned parts of /data. 467 # Write to various other parts of /data.
|
/system/sepolicy/prebuilts/api/29.0/public/ |
D | app.te | 460 # Write to system-owned parts of /data. 467 # Write to various other parts of /data.
|
/system/sepolicy/tools/fc_sort/ |
D | NOTICE | 250 10. If you wish to incorporate parts of the Program into other free 322 parts of the General Public License. Of course, the commands you use may
|
/system/core/libunwindstack/tests/ |
D | UnwindOfflineTest.cpp | 50 static void AddMemory(std::string file_name, MemoryOfflineParts* parts) { in AddMemory() argument 53 parts->Add(memory); in AddMemory()
|