HomeSort by relevance Sort by last modified time
    Searched full:block_size (Results 26 - 50 of 1104) sorted by null

12 3 4 5 6 7 8 91011>>

  /packages/inputmethods/LatinIME/native/jni/tests/dictionary/utils/
sparse_table_test.cpp 27 static const int BLOCK_SIZE = 64;
33 SparseTable sparseTable(&indexTableBuffer, &contentTableBuffer, BLOCK_SIZE, DATA_SIZE);
39 EXPECT_TRUE(sparseTable.contains(BLOCK_SIZE - 1));
40 EXPECT_FALSE(sparseTable.contains(BLOCK_SIZE));
  /external/ltp/testcases/kernel/syscalls/fallocate/
fallocate02.c 53 #define BLOCK_SIZE 1024
122 char buf[BLOCK_SIZE];
123 memset(buf, 'A', BLOCK_SIZE);
125 SAFE_WRITE(cleanup, 1, fdw, buf, BLOCK_SIZE);
131 test_data[i].offset * BLOCK_SIZE,
132 test_data[i].len * BLOCK_SIZE));
143 test_data[i].offset * BLOCK_SIZE,
144 test_data[i].len * BLOCK_SIZE, test_data[i].error);
149 test_data[i].mode, test_data[i].offset * BLOCK_SIZE,
150 test_data[i].len * BLOCK_SIZE, TEST_ERRNO)
    [all...]
fallocate03.c 134 int block_size; variable
186 "fstat failed while getting block_size");
188 block_size = (int)file_stat.st_blksize;
189 buf_size = block_size;
197 offset *= block_size;
244 test_data[test_index].offset * block_size,
245 test_data[test_index].len * block_size));
259 block_size,
261 block_size);
269 block_size,
    [all...]
  /external/vboot_reference/host/lib/
host_common.c 28 uint64_t block_size = signed_size + siglen_map[signing_key->algorithm]; local
35 h = (VbFirmwarePreambleHeader *)malloc(block_size);
39 Memset(h, 0, block_size);
46 h->preamble_size = block_size;
88 uint64_t block_size = signed_size + siglen_map[signing_key->algorithm]; local
94 if (block_size < desired_size)
95 block_size = desired_size;
98 h = (VbKernelPreambleHeader *)malloc(block_size);
102 Memset(h, 0, block_size);
108 h->preamble_size = block_size;
    [all...]
  /external/webrtc/talk/session/media/
planarfunctions_unittest.cc 133 // The size of each chrome block is (block_size) x (block_size).
136 int block_size,
141 if (height <= 0 || width <= 0 || block_size <= 0) { return NULL; }
174 int color = ((i / block_size) + (j / block_size)) % kTestingColorNum;
192 // The size of each chrome block is (block_size) x (block_size).
195 int block_size,
198 if (height <= 0 || width <= 0 || block_size <= 0) { return NULL;
506 int block_size = 3; local
544 int block_size = 2; local
592 int block_size = 2; local
638 int block_size = 2; local
778 int block_size = 3; local
825 int block_size = 3; local
874 int block_size = 3; local
    [all...]
  /system/core/libsparse/
sparse.c 30 struct sparse_file *sparse_file_new(unsigned int block_size, int64_t len)
37 s->backed_block_list = backed_block_list_new(block_size);
43 s->block_size = block_size;
95 DIV_ROUND_UP(backed_block_len(bb), s->block_size);
97 if (last_block < DIV_ROUND_UP(s->len, s->block_size)) {
143 write_skip_chunk(out, (int64_t)blocks * s->block_size);
149 DIV_ROUND_UP(backed_block_len(bb), s->block_size);
152 pad = s->len - (int64_t)last_block * s->block_size;
169 out = output_file_open_fd(fd, s->block_size, s->len, gz, sparse, chunks, crc)
    [all...]
img2simg.c 43 fprintf(stderr, "Usage: img2simg <raw_image_file> <sparse_image_file> [<block_size>]\n");
52 unsigned int block_size = 4096; local
61 block_size = atoi(argv[3]);
64 if (block_size < 1024 || block_size % 4 != 0) {
92 s = sparse_file_new(block_size, len);
  /external/libvpx/libvpx/test/
vp9_block_error_test.cc 35 intptr_t block_size, int64_t *ssz,
43 intptr_t block_size, int64_t *ssz);
47 const tran_low_t *dqcoeff, intptr_t block_size,
50 return fn(coeff, dqcoeff, block_size, ssz);
76 intptr_t block_size; local
84 block_size = 16 << (i % 9); // All block sizes from 4x4, 8x4 ..64x64
85 for (int j = 0; j < block_size; j++) {
99 ref_error_block_op_(coeff, dqcoeff, block_size, &ref_ssz, bit_depth_);
101 ret = error_block_op_(coeff, dqcoeff, block_size, &ssz, bit_depth_));
119 intptr_t block_size; local
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/
GCMBlockCipher.java 26 private static final int BLOCK_SIZE = 16;
67 if (c.getBlockSize() != BLOCK_SIZE)
70 "cipher required with a block size of " + BLOCK_SIZE + ".");
136 int bufLength = forEncryption ? BLOCK_SIZE : (BLOCK_SIZE + macSize);
173 this.H = new byte[BLOCK_SIZE];
185 this.J0 = new byte[BLOCK_SIZE];
190 this.J0[BLOCK_SIZE - 1] = 0x01;
195 byte[] X = new byte[BLOCK_SIZE];
200 this.S = new byte[BLOCK_SIZE];
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/engines/
DESedeEngine.java 14 protected static final int BLOCK_SIZE = 8;
82 return BLOCK_SIZE;
96 if ((inOff + BLOCK_SIZE) > in.length)
101 if ((outOff + BLOCK_SIZE) > out.length)
106 byte[] temp = new byte[BLOCK_SIZE];
121 return BLOCK_SIZE;
  /external/mesa3d/src/gallium/state_trackers/clover/api/
kernel.cpp 168 kern->block_size());
193 const size_t *grid_size, const size_t *block_size,
226 if (block_size) {
229 }, block_size, block_size + dims,
235 }, block_size, block_size + dims, grid_size))
239 block_size, block_size + dims) >
252 const std::vector<size_t> &block_size) {
    [all...]
  /bootable/recovery/minadbd/
fuse_adb_provider.h 26 uint32_t block_size; member in struct:adb_data
30 int run_adb_fuse(int sfd, uint64_t file_size, uint32_t block_size);
fuse_adb_provider.cpp 48 int run_adb_fuse(int sfd, uint64_t file_size, uint32_t block_size) {
52 ad.block_size = block_size;
58 return run_fuse_sideload(&vtab, &ad, file_size, block_size);
  /external/libvpx/libvpx/vp9/encoder/
vp9_aq_variance.h 23 int vp9_block_energy(VP9_COMP *cpi, MACROBLOCK *x, BLOCK_SIZE bs);
24 double vp9_log_block_var(VP9_COMP *cpi, MACROBLOCK *x, BLOCK_SIZE bs);
  /external/syslinux/core/fs/
diskio.c 14 void getoneblk(struct disk *disk, char *buf, block_t block, int block_size)
16 int sec_per_block = block_size / disk->sector_size;
  /device/linaro/bootloader/edk2/OvmfPkg/
OvmfPkg.fdf.inc 18 DEFINE BLOCK_SIZE = 0x1000
50 SET gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFirmwareBlockSize = $(BLOCK_SIZE)
56 SET gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFlashNvStorageEventLogSize = $(BLOCK_SIZE)
59 SET gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize = $(BLOCK_SIZE)
  /external/e2fsprogs/ext2ed/
file_com.c 35 file_info.global_block_offset=ptr->i_block [0]*file_system_info.block_size;
37 file_info.blocks_count=(ptr->i_size+file_system_info.block_size-1)/file_system_info.block_size;
45 low_read (file_info.buffer,file_system_info.block_size,file_info.global_block_offset);
86 file_info.global_block_offset=file_info.global_block_num*file_system_info.block_size;
87 file_info.file_offset=file_info.block_num*file_system_info.block_size;
89 low_read (file_info.buffer,file_system_info.block_size,file_info.global_block_offset);
107 if (file_info.offset_in_block+offset < file_system_info.block_size) {
134 if (offset < file_system_info.block_size) {
187 file_info.global_block_offset=file_info.global_block_num*file_system_info.block_size;
    [all...]
  /external/libvpx/libvpx/vp9/common/
vp9_common_data.h 31 extern const BLOCK_SIZE subsize_lookup[PARTITION_TYPES][BLOCK_SIZES];
33 extern const BLOCK_SIZE txsize_to_bsize[TX_SIZES];
35 extern const BLOCK_SIZE ss_size_lookup[BLOCK_SIZES][2][2];
vp9_blockd.h 68 BLOCK_SIZE sb_type;
202 static INLINE BLOCK_SIZE get_subsize(BLOCK_SIZE bsize,
240 static INLINE BLOCK_SIZE
241 get_plane_block_size(BLOCK_SIZE bsize, const struct macroblockd_plane *pd) {
245 static INLINE void reset_skip_context(MACROBLOCKD *xd, BLOCK_SIZE bsize) {
249 const BLOCK_SIZE plane_bsize = get_plane_block_size(bsize, pd);
268 BLOCK_SIZE plane_bsize,
272 const MACROBLOCKD *const xd, BLOCK_SIZE bsize, int plane,
276 BLOCK_SIZE bsize
    [all...]
  /external/mesa3d/src/mesa/drivers/dri/intel/
intel_tex_format.c 59 GLuint block_size; local
61 block_size = _mesa_get_format_bytes(mesaFormat);
64 return block_size / bw;
  /system/extras/ext4_utils/
indirect.c 33 if (DIV_ROUND_UP(backing_len, info.block_size) > EXT4_NDIR_BLOCKS)
47 len = min(region_len * info.block_size, backing_len);
125 u32 *ind_block_data = calloc(info.block_size, 1);
126 sparse_file_add_data(ext4_sparse_file, ind_block_data, info.block_size,
155 u32 *dind_block_data = calloc(info.block_size, 1);
156 sparse_file_add_data(ext4_sparse_file, dind_block_data, info.block_size,
204 u32 *ind_block_data = calloc(info.block_size, 1);
205 sparse_file_add_data(ext4_sparse_file, ind_block_data, info.block_size,
236 u32 *dind_block_data = calloc(info.block_size, 1);
237 sparse_file_add_data(ext4_sparse_file, dind_block_data, info.block_size,
    [all...]
  /external/libcxx/test/std/numerics/rand/rand.adapt/rand.adapt.disc/
values.pass.cpp 20 // static constexpr size_t block_size = p;
36 static_assert((E::block_size == 223), "");
45 where(E::block_size);
53 static_assert((E::block_size == 389), "");
62 where(E::block_size);
  /frameworks/base/services/core/java/com/android/server/
RandomBlock.java 36 private static final int BLOCK_SIZE = 512;
37 private byte[] block = new byte[BLOCK_SIZE];
55 while(total < BLOCK_SIZE) {
56 int result = in.read(retval.block, total, BLOCK_SIZE - total);
79 f.setLength(BLOCK_SIZE);
  /prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/rand/rand.adapt/rand.adapt.disc/
values.pass.cpp 20 // static constexpr size_t block_size = p;
36 static_assert((E::block_size == 223), "");
40 where(E::block_size);
48 static_assert((E::block_size == 389), "");
52 where(E::block_size);
  /prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/numerics/rand/rand.adapt/rand.adapt.disc/
values.pass.cpp 20 // static constexpr size_t block_size = p;
36 static_assert((E::block_size == 223), "");
40 where(E::block_size);
48 static_assert((E::block_size == 389), "");
52 where(E::block_size);

Completed in 1285 milliseconds

12 3 4 5 6 7 8 91011>>