Searched refs:BLOCK_SIZE (Results 1 – 9 of 9) sorted by relevance
/packages/inputmethods/LatinIME/native/jni/tests/dictionary/utils/ |
D | sparse_table_test.cpp | 27 static const int BLOCK_SIZE = 64; in TEST() local 33 SparseTable sparseTable(&indexTableBuffer, &contentTableBuffer, BLOCK_SIZE, DATA_SIZE); in TEST() 39 EXPECT_TRUE(sparseTable.contains(BLOCK_SIZE - 1)); in TEST() 40 EXPECT_FALSE(sparseTable.contains(BLOCK_SIZE)); in TEST()
|
/packages/modules/Nfc/libnfc-nci/src/adaptation/ |
D | debug_nfcsnoop.cc | 55 static const size_t BLOCK_SIZE = 16384; variable 170 std::unique_ptr<uint8_t> block_src(new uint8_t[BLOCK_SIZE]); in nfcsnoop_compress() 171 std::unique_ptr<uint8_t> block_dst(new uint8_t[BLOCK_SIZE]); in nfcsnoop_compress() 174 (ringbuffer_size(rb_src) + BLOCK_SIZE - 1) / BLOCK_SIZE; in nfcsnoop_compress() 177 ringbuffer_peek(rb_src, i * BLOCK_SIZE, block_src.get(), BLOCK_SIZE); in nfcsnoop_compress() 181 zs.avail_out = BLOCK_SIZE; in nfcsnoop_compress() 189 const size_t length = BLOCK_SIZE - zs.avail_out; in nfcsnoop_compress()
|
/packages/modules/Virtualization/libs/devicemapper/src/ |
D | verity.rs | 83 const BLOCK_SIZE: u64 = 4096; constant 136 let data_block_size = BLOCK_SIZE; in build() 145 let hash_block_size = BLOCK_SIZE; in build()
|
/packages/modules/Virtualization/guest/apkdmverity/src/ |
D | main.rs | 93 const BLOCK_SIZE: u64 = 4096; constant 108 if apk_size % BLOCK_SIZE != 0 { in enable_verity() 109 bail!("The size of {:?} is not multiple of {}.", &apk, BLOCK_SIZE) in enable_verity() 192 let aligned_size = (data.len() as u64 + BLOCK_SIZE - 1) & !(BLOCK_SIZE - 1); in create_block_aligned_file()
|
/packages/modules/Bluetooth/floss/pandora/floss/ |
D | cras_utils.py | 552 BLOCK_SIZE = None variable in CrasTestClient 628 block_size=BLOCK_SIZE, 670 block_size=BLOCK_SIZE, 704 block_size=BLOCK_SIZE,
|
/packages/modules/Nfc/framework/java/android/nfc/tech/ |
D | MifareClassic.java | 116 public static final int BLOCK_SIZE = 16; field in MifareClassic 263 return mSize / BLOCK_SIZE; in getBlockCount()
|
/packages/modules/Virtualization/guest/zipfuse/src/ |
D | main.rs | 853 const BLOCK_SIZE: usize = 4096; in supports_zip_on_block_device() constant 854 let size = (data.len() + BLOCK_SIZE) & !BLOCK_SIZE; in supports_zip_on_block_device()
|
/packages/modules/Virtualization/tests/testapk/src/java/com/android/microdroid/test/ |
D | MicrodroidTests.java | 1387 private static final long BLOCK_SIZE = 512; field in MicrodroidTests 1398 for (long idx = 0; idx + BLOCK_SIZE < fileSize; idx += BLOCK_SIZE) { in findPartitionDataOffset() 1402 if (uuid.equals(new UUID(high, low))) return OptionalLong.of(idx + BLOCK_SIZE); in findPartitionDataOffset()
|
/packages/modules/Nfc/framework/api/ |
D | current.txt | 363 field public static final int BLOCK_SIZE = 16; // 0x10
|