Home
last modified time | relevance | path

Searched refs:BLOCK_SIZE (Results 1 – 3 of 3) sorted by relevance

/system/uapp/lz4/
A Dmain.c18 #define BLOCK_SIZE 65536 macro
55 uint8_t inbuf[BLOCK_SIZE]; in do_decompress()
56 uint8_t outbuf[BLOCK_SIZE]; in do_decompress()
76 if (to_read > BLOCK_SIZE) { in do_decompress()
77 to_read = BLOCK_SIZE; in do_decompress()
86 dst_sz = BLOCK_SIZE; in do_decompress()
109 if (to_read > BLOCK_SIZE || to_read == 0) { in do_decompress()
110 to_read = BLOCK_SIZE; in do_decompress()
146 uint8_t inbuf[BLOCK_SIZE]; in do_compress()
147 size_t outsize = LZ4F_compressFrameBound(BLOCK_SIZE, &prefs); in do_compress()
[all …]
/system/utest/chromeos-disk-setup/
A Dchromeos-disk-setup.cpp28 #define BLOCK_SIZE 512 macro
48 .block_size = BLOCK_SIZE,
360 ASSERT_TRUE(part_size_gte(part, SZ_FVM_PART, BLOCK_SIZE), "FVM size"); in assert_required_partitions()
364 ASSERT_TRUE(part_size_gte(part, SZ_KERN_PART, BLOCK_SIZE), "ZIRCON-A size"); in assert_required_partitions()
368 ASSERT_TRUE(part_size_gte(part, SZ_KERN_PART, BLOCK_SIZE), "ZIRCON-B size"); in assert_required_partitions()
372 ASSERT_TRUE(part_size_gte(part, SZ_KERN_PART, BLOCK_SIZE), "ZIRCON-R size"); in assert_required_partitions()
376 ASSERT_TRUE(part_size_gte(part, SZ_SYSCFG_PART, BLOCK_SIZE), "SYSCFG size"); in assert_required_partitions()
/system/dev/block/ums-function/
A Dums-function.c22 #define BLOCK_SIZE 512 macro
24 #define BLOCK_COUNT (STORAGE_SIZE / BLOCK_SIZE)
157 zx_off_t offset = lba * BLOCK_SIZE; in ums_start_transfer()
158 size_t length = blocks * BLOCK_SIZE; in ums_start_transfer()
235 data->block_length = htobe32(BLOCK_SIZE); in ums_handle_read_capacity10()
251 data->block_length = htobe32(BLOCK_SIZE); in ums_handle_read_capacity16()

Completed in 10 milliseconds