Searched defs:block_size (Results 26 - 50 of 163) sorted by relevance

1234567

/external/valgrind/main/none/tests/ppc64/
H A Ddata-cache-instructions.c21 int block_size, test_block_size = 4 * MAX_DCBZL_SZB, err; local
34 for (block_size = 0, p = rb; (p - rb) < test_block_size; p++)
36 block_size++;
37 assert(block_size == 16 || block_size == 32 || block_size == 64 || block_size == 128);
40 return block_size;
44 static void test_dcbzl_at(char *addr, char *buffer, int block_size) argument
48 /* Note: Assumption is that the length of buffer is three times the block_size
64 int block_size; local
[all...]
/external/ceres-solver/include/ceres/
H A Dcost_function_to_functor.h735 const int32 block_size = parameter_block_sizes[j]; local
738 jacobian_blocks[j][i * block_size + k] * inputs[j][k].v;
/external/ceres-solver/internal/ceres/
H A Dblock_random_access_diagonal_matrix.cc73 const int block_size = blocks_[i]; local
76 for (int r = 0; r < block_size; ++r) {
77 for (int c = 0; c < block_size; ++c, ++pos) {
H A Dcompressed_col_sparse_matrix_utils.cc110 const int block_size = blocks[block_id]; local
112 for (int j = 0; j < block_size; ++j) {
H A Dschur_jacobi_preconditioner.cc115 const int block_size = block_size_[i]; local
116 ConstMatrixRef block(lhs_values, block_size, block_size);
118 VectorRef(y, block_size) =
122 .solve(ConstVectorRef(x, block_size));
124 x += block_size;
125 y += block_size;
126 lhs_values += block_size * block_size;
H A Dschur_eliminator_test.cc111 const int block_size = bs->cols[i].size; local
112 P.block(row, row, block_size, block_size) =
114 .block(row, row, block_size, block_size)
116 .solve(Matrix::Identity(block_size, block_size));
117 row += block_size;
/external/chromium_org/extensions/browser/
H A Dcomputed_hashes_unittest.cc55 int block_size = 0; local
56 EXPECT_TRUE(reader.GetHashes(path1, &block_size, &read_hashes1));
57 EXPECT_EQ(block_size, 4096);
58 block_size = 0;
59 EXPECT_TRUE(reader.GetHashes(path2, &block_size, &read_hashes2));
60 EXPECT_EQ(block_size, 2048);
69 reader.GetHashes(path1_badcase, &block_size, &read_hashes1_badcase));
70 EXPECT_EQ(block_size, 4096);
77 block_size = 0;
78 EXPECT_TRUE(reader.GetHashes(path2_fwd_slashes, &block_size,
92 const int block_size = 4096; local
[all...]
H A Dcomputed_hashes.cc19 const char kBlockSizeKey[] = "block_size";
63 int block_size; local
64 if (!dictionary->GetInteger(kBlockSizeKey, &block_size))
66 if (block_size <= 0 || ((block_size % 1024) != 0)) {
67 LOG(ERROR) << "Invalid block size: " << block_size;
68 block_size = 0;
80 data_[relative_path] = HashInfo(block_size, std::vector<std::string>());
100 int* block_size,
122 *block_size
99 GetHashes(const base::FilePath& relative_path, int* block_size, std::vector<std::string>* hashes) argument
133 AddHashes(const base::FilePath& relative_path, int block_size, const std::vector<std::string>& hashes) argument
170 ComputeHashesForContent(const std::string& contents, size_t block_size, std::vector<std::string>* hashes) argument
[all...]
/external/chromium_org/third_party/leveldatabase/src/include/leveldb/
H A Doptions.h106 size_t block_size; member in struct:leveldb::Options
/external/chromium_org/third_party/libvpx/source/libvpx/test/
H A Dpartial_idct_test.cc83 const int block_size = size * size; local
91 memset(dst1, 0, sizeof(*dst1) * block_size);
92 memset(dst2, 0, sizeof(*dst2) * block_size);
93 memset(test_coef_block1, 0, sizeof(*test_coef_block1) * block_size);
94 memset(test_coef_block2, 0, sizeof(*test_coef_block2) * block_size);
101 for (int j = 0; j < block_size; ++j)
104 for (int j = 0; j < block_size; ++j)
107 for (int j = 0; j < block_size; ++j) {
124 for (int j = 0; j < block_size; ++j) {
162 const int block_size local
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
H A Du_format_parse.py130 def block_size(self): member in class:Format
169 return is_pot(self.block_size())
190 if self.block_size() not in (8, 16, 32):
208 return self.block_size()/8
/external/e2fsprogs/misc/
H A De2undo.c97 int block_size; local
111 block_size = *(int *)tdb_data.dptr;
113 printf("Block size %d\n", block_size);
115 io_channel_set_blksize(channel, block_size);
/external/libvpx/libvpx/test/
H A Dpartial_idct_test.cc80 const int block_size = size * size; local
84 memset(dst1, 0, sizeof(*dst1) * block_size);
85 memset(dst2, 0, sizeof(*dst2) * block_size);
86 memset(test_coef_block1, 0, sizeof(*test_coef_block1) * block_size);
87 memset(test_coef_block2, 0, sizeof(*test_coef_block2) * block_size);
101 sizeof(*test_coef_block2) * block_size);
106 for (int j = 0; j < block_size; ++j) {
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_format_parse.py130 def block_size(self): member in class:Format
169 return is_pot(self.block_size())
190 if self.block_size() not in (8, 16, 32):
208 return self.block_size()/8
/external/chromium_org/net/disk_cache/blockfile/
H A Dblock_files_unittest.cc315 int block_size = i % 4 + 1; local
316 EXPECT_TRUE(files.CreateBlock(BLOCK_1K, block_size, &address[i]));
318 EXPECT_EQ(block_size, address[i].num_blocks());
320 EXPECT_EQ(start / 4, (start + block_size - 1) / 4);
/external/chromium_org/third_party/boringssl/src/crypto/hmac/
H A Dhmac.c114 size_t block_size = EVP_MD_block_size(md); local
116 assert(block_size <= sizeof(ctx->key));
117 if (block_size < key_len) {
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/encoder/
H A Dvp9_context_tree.h65 BLOCK_SIZE block_size; member in struct:PC_TREE
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/encoder/x86/
H A Dvp9_variance_avx2.c47 get_var_avx2 var_fn, int block_size) {
54 for (j = 0; j < w; j += block_size) {
44 variance_avx2(const uint8_t *src, int src_stride, const uint8_t *ref, int ref_stride, int w, int h, unsigned int *sse, int *sum, get_var_avx2 var_fn, int block_size) argument
/external/chromium_org/third_party/libvpx/source/libvpx/vpx_mem/memory_manager/include/
H A Dhmm_intrnl.h49 HMM_UNIQUE(size_bau) previous_block_size, block_size; member in struct:head_struct
77 (((head_record *) (HEAD_PTR))->block_size & ~HIGH_BIT_BAU_SIZE)
102 (((((head_record *) (HEAD_PTR))->block_size | \
108 h_ptr->block_size &= ~HIGH_BIT_BAU_SIZE; \
115 h_ptr->block_size |= HIGH_BIT_BAU_SIZE; }
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/clover/api/
H A Dkernel.cpp168 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) {
191 kernel_validate(cl_command_queue q, cl_kernel kern, cl_uint dims, const size_t *grid_offset, const size_t *grid_size, const size_t *block_size, cl_uint num_deps, const cl_event *deps, cl_event *ev) argument
249 kernel_op(cl_command_queue q, cl_kernel kern, const std::vector<size_t> &grid_offset, const std::vector<size_t> &grid_size, const std::vector<size_t> &block_size) argument
[all...]
/external/e2fsprogs/lib/ext2fs/
H A Dopenfs.c71 unsigned int block_size, io_manager manager,
74 return ext2fs_open2(name, 0, flags, superblock, block_size,
80 * Superblock and block_size can be zero to use the default size.
94 unsigned int block_size, io_manager manager,
163 block_size = fs->image_header->fs_blocksize;
176 if (!block_size) {
180 io_channel_set_blksize(fs->io, block_size);
289 if (block_size) {
290 if (block_size != fs->blocksize) {
70 ext2fs_open(const char *name, int flags, int superblock, unsigned int block_size, io_manager manager, ext2_filsys *ret_fs) argument
92 ext2fs_open2(const char *name, const char *io_options, int flags, int superblock, unsigned int block_size, io_manager manager, ext2_filsys *ret_fs) argument
/external/libvpx/libvpx/vp9/encoder/x86/
H A Dvp9_variance_avx2.c74 get_var_avx2 var_fn, int block_size) {
83 for (j = 0; j < w; j += block_size) {
71 variance_avx2(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int recon_stride, int w, int h, unsigned int *sse, int *sum, get_var_avx2 var_fn, int block_size) argument
/external/libvpx/libvpx/vpx_mem/memory_manager/include/
H A Dhmm_intrnl.h49 HMM_UNIQUE(size_bau) previous_block_size, block_size; member in struct:head_struct
77 (((head_record *) (HEAD_PTR))->block_size & ~HIGH_BIT_BAU_SIZE)
102 (((((head_record *) (HEAD_PTR))->block_size | \
108 h_ptr->block_size &= ~HIGH_BIT_BAU_SIZE; \
115 h_ptr->block_size |= HIGH_BIT_BAU_SIZE; }
/external/mesa3d/src/gallium/state_trackers/clover/api/
H A Dkernel.cpp168 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) {
191 kernel_validate(cl_command_queue q, cl_kernel kern, cl_uint dims, const size_t *grid_offset, const size_t *grid_size, const size_t *block_size, cl_uint num_deps, const cl_event *deps, cl_event *ev) argument
249 kernel_op(cl_command_queue q, cl_kernel kern, const std::vector<size_t> &grid_offset, const std::vector<size_t> &grid_size, const std::vector<size_t> &block_size) argument
[all...]
/external/wpa_supplicant_8/hostapd/src/eap_common/
H A Deap_fast_common.c101 int block_size; local
103 block_size = tls_connection_get_keyblock_size(ssl_ctx, conn);
104 if (block_size < 0)
107 out = os_malloc(block_size + len);
111 if (tls_connection_prf(ssl_ctx, conn, label, 1, out, block_size + len)
113 os_memmove(out, out + block_size, len);
132 keys.server_random_len, out, block_size + len))
135 os_memmove(out, out + block_size, len);

Completed in 413 milliseconds

1234567