/external/autotest/client/bin/ |
D | partition_unittest.py | 11 from autotest_lib.client.bin import partition 16 self.assertRaises(ValueError, partition.FsOptions, '', '', '', '') 17 self.assertRaises(ValueError, partition.FsOptions, 'ext2', '', '', '') 18 obj = partition.FsOptions('ext2', 'ext2_vanilla', '', '') 19 obj = partition.FsOptions(fstype='ext2', fs_tag='ext2_vanilla') 20 obj = partition.FsOptions('fs', 'shortie', 'mkfs opts', 'mount opts') 28 str_obj = str(partition.FsOptions('abc', 'def', 'ghi', 'jkl')) 80 self.assertFalse(partition.is_linux_fs_type('/dev/hdc1')) 81 self.assertFalse(partition.is_linux_fs_type('/dev/hdc2')) 82 self.assertTrue(partition.is_linux_fs_type('/dev/hdc3')) [all …]
|
/external/autotest/server/site_tests/brillo_RecoverFromBadImage/ |
D | brillo_RecoverFromBadImage.py | 25 def resolve_slot(self, host, partition): argument 39 if not re.match('.+_[a-zX]$', partition): 40 return partition, None 45 if partition[-1] == 'X': 53 partition = partition[:-1] + chr(ord('a') + target_slot) 56 '(slot %d)', current_slot, partition, target_slot) 59 target_slot = ord(partition[-1]) - ord('a') 65 partition, current_slot) 69 return partition, target_slot 72 def find_partition_device(self, host, partition): argument [all …]
|
/external/tensorflow/tensorflow/contrib/cloud/kernels/ |
D | bigquery_table_accessor_test.cc | 72 const BigQueryTablePartition& partition) { in CreateTableAccessor() argument 75 columns, partition, std::unique_ptr<AuthProvider>(new FakeAuthProvider), in CreateTableAccessor() 197 BigQueryTablePartition partition; in TEST_F() local 198 partition.set_start_index(2); in TEST_F() 199 partition.set_end_index(2); in TEST_F() 201 {}, partition)); in TEST_F() 227 BigQueryTablePartition partition; in TEST_F() local 228 partition.set_start_index(2); in TEST_F() 229 partition.set_end_index(2); in TEST_F() 232 partition)); in TEST_F() [all …]
|
/external/u-boot/disk/ |
D | Kconfig | 14 - CONFIG_MAC_PARTITION Apple's MacOS partition table. 15 - CONFIG_DOS_PARTITION MS Dos partition table, traditional on the 17 - CONFIG_ISO_PARTITION ISO partition table, used on CDROM etc. 18 - CONFIG_EFI_PARTITION GPT partition table, common when EFI is the 19 bootloader. Note 2TB partition limit; see 21 - CONFIG_MTD_PARTITIONS Memory Technology Device partition table. 23 you must configure support for at least one non-MTD partition type 27 bool "Enable Apple's MacOS partition table" 34 bool "Enable Apple's MacOS partition table for SPL" 39 bool "Enable MS Dos partition table" [all …]
|
/external/tensorflow/tensorflow/contrib/boosted_trees/python/kernel_tests/ |
D | stats_accumulator_ops_test.py | 47 num_updates, partition, bucket_ids, grads, hessians = accumulator.flush( 49 num_updates, partition, bucket_ids, grads, hessians = sess.run( 50 [num_updates, partition, bucket_ids, grads, hessians]) 52 result = _AccumulatorResultToDict(partition, bucket_ids, grads, hessians) 75 num_updates, partition, bucket_ids, grads, hessians = accumulator.flush( 77 num_updates, partition, bucket_ids, grads, hessians = sess.run( 78 [num_updates, partition, bucket_ids, grads, hessians]) 80 result = _AccumulatorResultToDict(partition, bucket_ids, grads, hessians) 109 num_updates, partition, feature, grads, hessians = accumulator.flush( 111 num_updates, partition, feature, grads, hessians = sess.run( [all …]
|
/external/autotest/client/samples/ |
D | control.fs | 9 Runs a series of filesystem tests on a loopback partition using different 10 filesystem types. his shows some features of the job.partition method, such as 14 partition = job.partition('/tmp/looped', 1024, job.tmpdir) 17 #partition = job.partition('/dev/sdb1', job.tmpdir) 20 partition.mkfs(fstype) 21 partition.mount() 23 job.run_test('fsx', dir=partition.mountpoint, tag=fstype) 24 job.run_test('iozone', dir=partition.mountpoint, tag=fstype) 25 job.run_test('dbench', dir=partition.mountpoint, tag=fstype) 27 partition.unmount() [all …]
|
D | control.fs_options | 9 Runs a series of filesystem tests on a loopback partition. This shows some 10 features of the job.partition method, such as creating loopback partitions 14 partition = job.partition(device='/tmp/looped', loop_size=1024, 18 #partition = job.partition('/dev/sdb1', job.tmpdir) 28 partition.mkfs(fstype) 29 partition.mount(args=mountopts) 36 partition.unmount()
|
/external/avb/test/ |
D | fake_avb_ops.cc | 51 bool FakeAvbOps::preload_partition(const std::string& partition, in preload_partition() argument 53 if (preloaded_partitions_.count(partition) > 0) { in preload_partition() 54 fprintf(stderr, "Partition '%s' already preloaded\n", partition.c_str()); in preload_partition() 86 preloaded_partitions_[partition] = buffer; in preload_partition() 90 AvbIOResult FakeAvbOps::read_from_partition(const char* partition, in read_from_partition() argument 95 if (hidden_partitions_.find(partition) != hidden_partitions_.end()) { in read_from_partition() 100 partition_dir_.Append(std::string(partition)).AddExtension("img"); in read_from_partition() 102 partition_names_read_from_.insert(partition); in read_from_partition() 156 const char* partition, in get_preloaded_partition() argument 160 if (hidden_partitions_.find(partition) != hidden_partitions_.end()) { in get_preloaded_partition() [all …]
|
D | fake_avb_ops.h | 44 virtual AvbIOResult read_from_partition(const char* partition, 51 const char* partition, 56 virtual AvbIOResult write_to_partition(const char* partition, 81 const char* partition, 86 const char* partition, 191 bool preload_partition(const std::string& partition, 199 AvbIOResult read_from_partition(const char* partition, 205 AvbIOResult get_preloaded_partition(const char* partition, 210 AvbIOResult write_to_partition(const char* partition, 234 const char* partition, [all …]
|
/external/u-boot/arch/arm/dts/ |
D | zynqmp-mini-nand.dts | 54 partition@0 { /* for testing purpose */ 58 partition@1 { /* for testing purpose */ 62 partition@2 { /* for testing purpose */ 66 partition@3 { /* for testing purpose */ 70 partition@4 { /* for testing purpose */ 74 partition@5 { /* for testing purpose */ 78 partition@6 { /* for testing purpose */ 82 partition@7 { /* for testing purpose */ 86 partition@8 { /* for testing purpose */ 90 partition@9 { /* for testing purpose */ [all …]
|
D | zynqmp-zc1751-xm016-dc2.dts | 123 partition@0 { /* for testing purpose */ 127 partition@1 { /* for testing purpose */ 131 partition@2 { /* for testing purpose */ 135 partition@3 { /* for testing purpose */ 139 partition@4 { /* for testing purpose */ 143 partition@5 { /* for testing purpose */ 148 partition@6 { /* for testing purpose */ 152 partition@7 { /* for testing purpose */ 156 partition@8 { /* for testing purpose */ 160 partition@9 { /* for testing purpose */ [all …]
|
D | zynqmp-zc1751-xm017-dc3.dts | 119 partition@0 { /* for testing purpose */ 123 partition@1 { /* for testing purpose */ 127 partition@2 { /* for testing purpose */ 131 partition@3 { /* for testing purpose */ 135 partition@4 { /* for testing purpose */ 139 partition@5 { /* for testing purpose */ 144 partition@6 { /* for testing purpose */ 148 partition@7 { /* for testing purpose */ 152 partition@8 { /* for testing purpose */ 156 partition@9 { /* for testing purpose */ [all …]
|
D | keystone-k2g-ice.dts | 54 partition@0 { 58 partition@1 { 62 partition@2 { 66 partition@3 { 70 partition@4 { 74 partition@5 { 78 partition@6 {
|
D | keystone-k2g-evm.dts | 55 partition@0 { 61 partition@1 { 85 partition@0 { 89 partition@1 { 93 partition@2 { 97 partition@3 { 101 partition@4 { 105 partition@5 {
|
/external/flac/libFLAC/ |
D | stream_encoder_intrin_avx2.c | 61 unsigned partition, residual_sample, end = (unsigned)(-(int)predictor_order); in FLAC__precompute_partition_info_sums_intrin_avx2() local 64 for(partition = residual_sample = 0; partition < partitions; partition++) { in FLAC__precompute_partition_info_sums_intrin_avx2() 88 abs_residual_partition_sums[partition] = (FLAC__uint32)_mm_cvtsi128_si32(sum128); in FLAC__precompute_partition_info_sums_intrin_avx2() 91 abs_residual_partition_sums[partition] &= 0xFFFFFFFF; /**/ in FLAC__precompute_partition_info_sums_intrin_avx2() 96 for(partition = residual_sample = 0; partition < partitions; partition++) { in FLAC__precompute_partition_info_sums_intrin_avx2() 121 _mm_storel_epi64((__m128i*)(abs_residual_partition_sums+partition), sum128); in FLAC__precompute_partition_info_sums_intrin_avx2()
|
D | stream_encoder_intrin_ssse3.c | 61 unsigned partition, residual_sample, end = (unsigned)(-(int)predictor_order); in FLAC__precompute_partition_info_sums_intrin_ssse3() local 64 for(partition = residual_sample = 0; partition < partitions; partition++) { in FLAC__precompute_partition_info_sums_intrin_ssse3() 91 abs_residual_partition_sums[partition] = (FLAC__uint32)_mm_cvtsi128_si32(mm_sum); in FLAC__precompute_partition_info_sums_intrin_ssse3() 94 abs_residual_partition_sums[partition] &= 0xFFFFFFFF; in FLAC__precompute_partition_info_sums_intrin_ssse3() 99 for(partition = residual_sample = 0; partition < partitions; partition++) { in FLAC__precompute_partition_info_sums_intrin_ssse3() 124 _mm_storel_epi64((__m128i*)(abs_residual_partition_sums+partition), mm_sum); in FLAC__precompute_partition_info_sums_intrin_ssse3()
|
D | stream_encoder_intrin_sse2.c | 72 unsigned partition, residual_sample, end = (unsigned)(-(int)predictor_order); in FLAC__precompute_partition_info_sums_intrin_sse2() local 75 for(partition = residual_sample = 0; partition < partitions; partition++) { in FLAC__precompute_partition_info_sums_intrin_sse2() 102 abs_residual_partition_sums[partition] = (FLAC__uint32)_mm_cvtsi128_si32(mm_sum); in FLAC__precompute_partition_info_sums_intrin_sse2() 105 abs_residual_partition_sums[partition] &= 0xFFFFFFFF; in FLAC__precompute_partition_info_sums_intrin_sse2() 110 for(partition = residual_sample = 0; partition < partitions; partition++) { in FLAC__precompute_partition_info_sums_intrin_sse2() 135 _mm_storel_epi64((__m128i*)(abs_residual_partition_sums+partition), mm_sum); in FLAC__precompute_partition_info_sums_intrin_sse2()
|
/external/u-boot/doc/ |
D | README.gpt | 19 This document describes the GPT partition table format and usage of 32 For instance, GUID of Basic data partition: EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 80 Its first partition entry ID has 0xEE value, and disk software, which is not 83 It is possible to define 128 linearly placed partition entries. 100 40 8 B First usable LBA for partitions (primary partition table last 102 48 8 B Last usable LBA (secondary partition table first LBA - 1) 105 80 4 B Number of partition entries 106 84 4 B Size of a partition entry (usually 128) 107 88 4 B CRC32 of partition array 115 GPT headers and partition entries are protected by CRC32 (the POSIX CRC32). [all …]
|
/external/u-boot/common/spl/ |
D | spl_fat.c | 21 static int spl_register_fat_device(struct blk_desc *block_dev, int partition) in spl_register_fat_device() argument 28 err = fat_register_device(block_dev, partition); in spl_register_fat_device() 56 struct blk_desc *block_dev, int partition, in spl_load_image_fat() argument 62 err = spl_register_fat_device(block_dev, partition); in spl_load_image_fat() 105 struct blk_desc *block_dev, int partition) in spl_load_image_fat_os() argument 110 err = spl_register_fat_device(block_dev, partition); in spl_load_image_fat_os() 126 partition, file); in spl_load_image_fat_os() 151 return spl_load_image_fat(spl_image, block_dev, partition, in spl_load_image_fat_os() 156 struct blk_desc *block_dev, int partition) in spl_load_image_fat_os() argument
|
D | spl_ext.c | 11 struct blk_desc *block_dev, int partition, in spl_load_image_ext() argument 22 if (part_get_info(block_dev, partition, &part_info)) { in spl_load_image_ext() 68 struct blk_desc *block_dev, int partition) in spl_load_image_ext_os() argument 75 if (part_get_info(block_dev, partition, &part_info)) { in spl_load_image_ext_os() 106 partition, file); in spl_load_image_ext_os() 136 return spl_load_image_ext(spl_image, block_dev, partition, in spl_load_image_ext_os() 141 struct blk_desc *block_dev, int partition) in spl_load_image_ext_os() argument
|
/external/chromium-trace/catapult/devil/devil/android/ |
D | fastboot_utils.py | 60 for partition in partitions: 61 partition_info = _KNOWN_PARTITIONS[partition] 64 return_dict[partition] = image_file 208 for partition in partitions: 209 if _KNOWN_PARTITIONS[partition].get('wipe_only') and not wipe: 211 'Not flashing in wipe mode. Skipping partition %s.', partition) 214 'Flashing %s with %s', partition, flash_image_files[partition]) 215 self.fastboot.Flash(partition, flash_image_files[partition]) 216 if _KNOWN_PARTITIONS[partition].get('restart', False):
|
/external/vboot_reference/cgpt/ |
D | cgpt_add.c | 20 snprintf(tmp, sizeof(tmp), "-i %d ", params->partition); in DumpCgptAddParams() 151 if (params->partition) { in CgptGetUnusedPartition() 152 if (params->partition > max_part) { in CgptGetUnusedPartition() 153 Error("invalid partition number: %d\n", params->partition); in CgptGetUnusedPartition() 156 *index = params->partition - 1; in CgptGetUnusedPartition() 162 params->partition = i + 1; in CgptGetUnusedPartition() 186 if (params->partition == 0 || in CgptSetAttributes() 187 params->partition >= GetNumberOfEntries(&drive)) { in CgptSetAttributes() 188 Error("invalid partition number: %d\n", params->partition); in CgptSetAttributes() 192 SetEntryAttributes(&drive, params->partition - 1, params); in CgptSetAttributes() [all …]
|
/external/gptfdisk/ |
D | NEWS | 8 - Added new partition type codes for Ceph 18 - Added new partition type codes from 29 -t/--typecode, and -u/--partition-guid commands: If a -n/--new option 30 with "0" as the partition number precedes these options on the command 31 line, passin "0" as the partition number to the following options causes 32 them to use the newly-created partition. For instance, "sgdisk -n 33 0:0:+550M -t 0:EF00 /dev/sda" creates a new partition with a type code of 36 - Fixed bug that caused incorrect partition number to be displayed by 37 sgdisk in error messages when the user specified a non-existent partition 41 hybridized partition when creating a hybrid MBR. [all …]
|
/external/avb/libavb_user/ |
D | avb_ops_user.cpp | 122 const char* partition, in read_from_partition() argument 132 fd = open_partition(partition, O_RDONLY); in read_from_partition() 142 "Error getting size of \"", partition, "\" partition.\n", NULL); in read_from_partition() 186 const char* partition, in write_to_partition() argument 195 fd = open_partition(partition, O_WRONLY); in write_to_partition() 197 avb_errorv("Error opening \"", partition, "\" partition.\n", NULL); in write_to_partition() 269 const char* partition, in get_size_of_partition() argument 274 fd = open_partition(partition, O_WRONLY); in get_size_of_partition() 276 avb_errorv("Error opening \"", partition, "\" partition.\n", NULL); in get_size_of_partition() 284 "Error getting size of \"", partition, "\" partition.\n", NULL); in get_size_of_partition() [all …]
|
/external/tensorflow/tensorflow/compiler/xla/service/cpu/ |
D | shape_partition.cc | 133 std::vector<std::pair<int64, int64>> partition(dimensions_.size()); in GetPartition() local 134 for (int64 i = 0; i < partition.size(); ++i) { in GetPartition() 138 partition[i].first = partition_index * dimension_partition_sizes_[i]; in GetPartition() 143 partition[i].second = in GetPartition() 144 shape_.dimensions(dimensions_[i]) - partition[i].first; in GetPartition() 146 partition[i].second = dimension_partition_sizes_[i]; in GetPartition() 148 CHECK_GT(partition[i].second, 0); in GetPartition() 152 return partition; in GetPartition()
|