Home
last modified time | relevance | path

Searched refs:partition_size (Results 1 – 15 of 15) sorted by relevance

/external/tensorflow/tensorflow/python/training/
Dlocalhost_cluster_performance_test.py90 for partition_size in partition_sizes:
94 partition_size)
97 "partitioned_%d" % partition_size,
98 shape=[1000 * partition_size],
102 max_shard_bytes=4 * partition_size))
108 for ix, partition_size in enumerate(partition_sizes):
110 partition_size)
115 "100_parameter_servers_partsize_%d_floats" % partition_size))
/external/avb/test/
Davbtool_unittest.cc388 const bool sparse_image, const uint64_t partition_size) { in AddHashFooterGetExpectedVBMetaInfo() argument
416 partition_size, in AddHashFooterGetExpectedVBMetaInfo()
422 const size_t partition_size = 1536 * 1024; in AddHashFooterTest() local
471 (int)partition_size, in AddHashFooterTest()
474 ASSERT_EQ(AddHashFooterGetExpectedVBMetaInfo(sparse_image, partition_size), in AddHashFooterTest()
625 (int)partition_size, in AddHashFooterTest()
663 const size_t partition_size = 10 * 1024 * 1024; in TEST_F() local
674 partition_size - metadata_size, in TEST_F()
685 (int)partition_size); in TEST_F()
730 const size_t partition_size = 10 * 1024 * 1024; in TEST_F() local
[all …]
Davb_slot_verify_unittest.cc1892 const size_t partition_size = 1536 * 1024; in CmdlineWithHashtreeVerification() local
1914 (int)partition_size); in CmdlineWithHashtreeVerification()
2205 const size_t partition_size = 1536 * 1024; in VerificationDisabled() local
2235 (int)partition_size); in VerificationDisabled()
/external/avb/examples/uefi/
Duefi_avb_ops.c184 uint64_t partition_size; in read_from_partition() local
197 partition_size = in read_from_partition()
202 if ((-offset_from_partition) > partition_size) { in read_from_partition()
207 offset_from_partition = partition_size - (-offset_from_partition); in read_from_partition()
213 if (num_bytes > partition_size - offset_from_partition) in read_from_partition()
214 *out_num_read = partition_size - offset_from_partition; in read_from_partition()
245 uint64_t partition_size; in write_to_partition() local
257 partition_size = (partition_entry->last_lba - partition_entry->first_lba) * in write_to_partition()
261 if ((-offset_from_partition) > partition_size) { in write_to_partition()
266 offset_from_partition = partition_size - (-offset_from_partition); in write_to_partition()
[all …]
/external/libavc/decoder/
Dih264d_process_bslice.c81 UWORD8 partition_size, sub_partition, u1_mb_partw, u1_mb_parth; in ih264d_decode_spatial_direct() local
436 partition_size = s_mvdirect.i1_partitionsize[i]; in ih264d_decode_spatial_direct()
439 sub_partition = partition_size >> 2; in ih264d_decode_spatial_direct()
440 partition_size &= 0x3; in ih264d_decode_spatial_direct()
441 u1_mb_partw = pu1_mb_partw[partition_size]; in ih264d_decode_spatial_direct()
442 u1_mb_parth = pu1_mb_parth[partition_size]; in ih264d_decode_spatial_direct()
443 u2_mask = mask_table[partition_size]; in ih264d_decode_spatial_direct()
448 u2_mask = sub_mask_table[partition_size]; in ih264d_decode_spatial_direct()
593 UWORD8 i, partition_size, sub_partition; in ih264d_decode_temporal_direct() local
617 partition_size = s_mvdirect.i1_partitionsize[i]; in ih264d_decode_temporal_direct()
[all …]
/external/autotest/client/cros/faft/utils/
Drootfs_handler.py49 partition_size = int(match.group(2)) * 512
64 return count == partition_size
/external/libvpx/libvpx/vp8/decoder/
Ddecodeframe.c685 unsigned int partition_size = 0; in read_available_partition_size() local
700 partition_size = read_partition_size(pbi, partition_size_ptr); in read_available_partition_size()
702 partition_size = (unsigned int)bytes_left; in read_available_partition_size()
708 partition_size = (unsigned int)bytes_left; in read_available_partition_size()
715 if (!read_is_valid(fragment_start, partition_size, fragment_end)) { in read_available_partition_size()
717 partition_size = (unsigned int)bytes_left; in read_available_partition_size()
725 return partition_size; in read_available_partition_size()
772 ptrdiff_t partition_size = read_available_partition_size( in setup_token_decoder() local
776 pbi->fragments.sizes[fragment_idx] = (unsigned int)partition_size; in setup_token_decoder()
777 if (fragment_size < (unsigned int)partition_size) in setup_token_decoder()
[all …]
/external/avb/
Davbtool.py2244 def resize_image(self, image_filename, partition_size): argument
2257 if partition_size % image.block_size != 0:
2259 'block size {}.'.format(partition_size,
2275 if partition_size < vbmeta_end_offset + 1*image.block_size:
2278 .format(partition_size,
2285 image.append_dont_care(partition_size - vbmeta_end_offset -
3074 partition_size): argument
3087 if partition_size % image.block_size != 0:
3089 'block size {}.'.format(partition_size,
3135 image.append_dont_care(partition_size - vbmeta_end_offset -
[all …]
Davbtool2244 def resize_image(self, image_filename, partition_size): argument
2257 if partition_size % image.block_size != 0:
2259 'block size {}.'.format(partition_size,
2275 if partition_size < vbmeta_end_offset + 1*image.block_size:
2278 .format(partition_size,
2285 image.append_dont_care(partition_size - vbmeta_end_offset -
3074 partition_size): argument
3087 if partition_size % image.block_size != 0:
3089 'block size {}.'.format(partition_size,
3135 image.append_dont_care(partition_size - vbmeta_end_offset -
[all …]
DREADME.md388 --partition_name PARTNAME --partition_size SIZE \
409 --partition_name PARTNAME --partition_size SIZE \
433 --partition_size SIZE
462 $ avbtool add_hash_footer --partition_size $((10*1024*1024)) \
466 $ avbtool add_hashtree_footer --partition_size $((10*1024*1024)) \
520 --partition_size SIZE_OF_BOOT_PARTITION \
/external/avb/libavb_user/
Davb_ops_user.cpp139 uint64_t partition_size; in read_from_partition() local
140 if (ioctl(fd, BLKGETSIZE64, &partition_size) != 0) { in read_from_partition()
146 offset = partition_size - (-offset); in read_from_partition()
/external/u-boot/lib/efi_loader/
Defi_device_path_to_text.c233 cddp->partition_start, cddp->partition_size); in dp_media()
Defi_device_path.c708 cddp->partition_size = info.size; in dp_part_node()
/external/u-boot/include/
Defi_api.h493 u64 partition_size; member
/external/libvpx/libvpx/vp9/decoder/
Dvp9_decodeframe.c2860 size_t partition_size) { in read_compressed_header() argument
2867 if (vpx_reader_init(&r, data, partition_size, pbi->decrypt_cb, in read_compressed_header()