Home
last modified time | relevance | path

Searched refs:partition_size (Results 1 – 12 of 12) 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.cc429 const bool sparse_image, const uint64_t partition_size) { in AddHashFooterGetExpectedVBMetaInfo() argument
458 partition_size, in AddHashFooterGetExpectedVBMetaInfo()
464 const size_t partition_size = 1536 * 1024; in AddHashFooterTest() local
513 (int)partition_size, in AddHashFooterTest()
516 ASSERT_EQ(AddHashFooterGetExpectedVBMetaInfo(sparse_image, partition_size), in AddHashFooterTest()
668 (int)partition_size, in AddHashFooterTest()
706 const size_t partition_size = 10 * 1024 * 1024; in TEST_F() local
717 partition_size - metadata_size, in TEST_F()
728 (int)partition_size); in TEST_F()
774 const size_t partition_size = 10 * 1024 * 1024; in TEST_F() local
[all …]
Davb_slot_verify_unittest.cc2158 const size_t partition_size = 1536 * 1024; in CmdlineWithHashtreeVerification() local
2180 (int)partition_size); in CmdlineWithHashtreeVerification()
2474 const size_t partition_size = 1536 * 1024; in VerificationDisabled() local
2504 (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.py52 partition_size = int(match.group(2)) * 512
67 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/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/avb/
Davbtool.py2320 def resize_image(self, image_filename, partition_size): argument
2332 if partition_size % image.block_size != 0:
2334 'block size {}.'.format(partition_size,
2347 if partition_size < vbmeta_end_offset + 1 * image.block_size:
2350 .format(partition_size,
2357 image.append_dont_care(partition_size - vbmeta_end_offset -
3237 partition_size): argument
3250 if partition_size % image.block_size != 0:
3252 'block size {}.'.format(partition_size,
3298 image.append_dont_care(partition_size - vbmeta_end_offset -
[all …]
Davbtool2320 def resize_image(self, image_filename, partition_size): argument
2332 if partition_size % image.block_size != 0:
2334 'block size {}.'.format(partition_size,
2347 if partition_size < vbmeta_end_offset + 1 * image.block_size:
2350 .format(partition_size,
2357 image.append_dont_care(partition_size - vbmeta_end_offset -
3237 partition_size): argument
3250 if partition_size % image.block_size != 0:
3252 'block size {}.'.format(partition_size,
3298 image.append_dont_care(partition_size - vbmeta_end_offset -
[all …]
DREADME.md390 --partition_name PARTNAME --partition_size SIZE \
414 --partition_name PARTNAME --partition_size SIZE \
441 --partition_size SIZE
470 $ avbtool add_hash_footer --partition_size $((10*1024*1024)) \
474 $ avbtool add_hashtree_footer --partition_size $((10*1024*1024)) \
528 --partition_size SIZE_OF_BOOT_PARTITION \
/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()