/external/pcre/dist2/src/sljit/ |
D | sljitExecAllocator.c | 180 sljit_uw chunk_size; in sljit_malloc_exec() local 190 chunk_size = free_block->size; in sljit_malloc_exec() 191 if (chunk_size > size + 64) { in sljit_malloc_exec() 193 chunk_size -= size; in sljit_malloc_exec() 194 free_block->size = chunk_size; in sljit_malloc_exec() 195 header = AS_BLOCK_HEADER(free_block, chunk_size); in sljit_malloc_exec() 196 header->prev_size = chunk_size; in sljit_malloc_exec() 202 size = chunk_size; in sljit_malloc_exec() 212 chunk_size = (size + sizeof(struct block_header) + CHUNK_SIZE - 1) & CHUNK_MASK; in sljit_malloc_exec() 213 header = (struct block_header*)alloc_chunk(chunk_size); in sljit_malloc_exec() [all …]
|
/external/autotest/client/site_tests/hardware_TrimIntegrity/ |
D | hardware_TrimIntegrity.py | 48 def _get_hash(self, chunk_count, chunk_size): argument 54 (chunk_count - 1, self._filename, chunk_size, self.HASH_CMD)) 98 chunk_size=CHUNK_SIZE, trim_ratio=TRIM_RATIO): argument 130 file_size -= file_size % (4 * chunk_size) 139 self._verify_trim_support(chunk_size) 143 (chunk_size, self.HASH_CMD)) 147 (chunk_size, self.HASH_CMD)) 153 chunk_count = file_size / chunk_size 155 (self._filename, chunk_size, chunk_count)) 158 ref_hash = self._get_hash(chunk_count, chunk_size) [all …]
|
/external/perfetto/src/ftrace_reader/test/ |
D | scattered_stream_delegate_for_testing.cc | 22 size_t chunk_size) in ScatteredStreamDelegateForTesting() argument 23 : chunk_size_(chunk_size) {} in ScatteredStreamDelegateForTesting() 48 size_t chunk_size = remaining; in StitchChunks() local 50 chunk_size = chunks_used_size_[i]; in StitchChunks() 52 PERFETTO_CHECK(chunk_size <= chunk_size_); in StitchChunks() 53 memcpy(buffer.get() + size - remaining, chunk.get(), chunk_size); in StitchChunks() 54 remaining -= chunk_size; in StitchChunks()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | split_op_test.cc | 30 std::initializer_list<int64> chunk_size) { in MakeGraph() argument 32 TensorShape in_shape(chunk_size); in MakeGraph() 46 #define BM_SPLIT_1D(num_split, chunk_size) \ argument 47 static void BM_Split_1d_##num_split##_##chunk_size(int iters) { \ 50 chunk_size); \ 52 strings::Printf("1-D %d chunks of %d each", num_split, chunk_size); \ 55 auto g = MakeGraph(/* split_dim = */ 0, num_split, {chunk_size}); \ 59 BENCHMARK(BM_Split_1d_##num_split##_##chunk_size);
|
/external/ltp/utils/benchmark/ebizzy-0.3/ |
D | ebizzy.c | 66 static unsigned int chunk_size; variable 127 chunk_size = record_size * 64 * 1024; in read_options() 161 chunk_size = atoi(optarg); in read_options() 162 if (chunk_size == 0) in read_options() 202 printf("chunk_size %u\n", chunk_size); in read_options() 222 if (chunk_size < record_size) { in read_options() 224 chunk_size, record_size); in read_options() 258 size, chunks, chunk_size); in alloc_mem() 299 mem[i] = (record_t *) alloc_mem(chunk_size); in allocate() 319 for (j = 0; j < chunk_size / record_size; j++) in write_pattern() [all …]
|
/external/mesa3d/src/intel/vulkan/tests/ |
D | state_pool_test_helper.h | 38 const unsigned chunk_size = 1 << (job->id % STATES_PER_THREAD_LOG2); in alloc_states() local 39 const unsigned num_chunks = STATES_PER_THREAD / chunk_size; in alloc_states() 41 struct anv_state states[chunk_size]; in alloc_states() 46 for (unsigned i = 0; i < chunk_size; i++) { in alloc_states() 52 for (unsigned i = 0; i < chunk_size; i++) in alloc_states()
|
/external/ltp/testcases/kernel/controllers/io-throttle/ |
D | iobw.c | 53 static size_t chunk_size = 0; variable 89 ret = posix_memalign(&buf, PAGE_SIZE, chunk_size); in thread() 93 id, chunk_size, strerror(errno)); in thread() 96 memset(buf, 0xaa, chunk_size); in thread() 114 i = write(fd, buf, chunk_size); in thread() 132 i = read(fd, buf, chunk_size); in thread() 230 chunk_size = align(memparse(argv[2], &end), PAGE_SIZE); in main() 261 kb(chunk_size), kb(data_size)); in main()
|
/external/boringssl/src/crypto/cmac/ |
D | cmac_test.cc | 41 for (unsigned chunk_size = 1; chunk_size <= msg_len; chunk_size++) { in test() local 42 SCOPED_TRACE(chunk_size); in test() 48 size_t todo = std::min(msg_len - done, static_cast<size_t>(chunk_size)); in test()
|
/external/ltp/testcases/kernel/controllers/memctl/ |
D | memctl_test01.c | 59 int num_of_chunks, chunk_size, test_num, limit; variable 85 chunk_size = atoi(chunk_size_p); in main() 156 chunk_size = 5242880; /* 5 MB chunks */ in signal_handler_sigusr2() 177 array_of_chunks[i] = malloc(chunk_size); in allocate_memory() 186 limit = chunk_size / sizeof(record_t); in allocate_memory()
|
/external/e2fsprogs/misc/ |
D | e2freefrag.c | 78 unsigned long chunk_size) in update_chunk_stats() argument 82 idx = ul_log2(chunk_size) + 1; in update_chunk_stats() 86 info->histogram.fc_blocks[idx] += chunk_size; in update_chunk_stats() 88 if (chunk_size > info->max) in update_chunk_stats() 89 info->max = chunk_size; in update_chunk_stats() 90 if (chunk_size < info->min) in update_chunk_stats() 91 info->min = chunk_size; in update_chunk_stats() 92 info->avg += chunk_size; in update_chunk_stats()
|
/external/e2fsprogs/debugfs/ |
D | e2freefrag.c | 78 unsigned long chunk_size) in update_chunk_stats() argument 82 idx = ul_log2(chunk_size) + 1; in update_chunk_stats() 86 info->histogram.fc_blocks[idx] += chunk_size; in update_chunk_stats() 88 if (chunk_size > info->max) in update_chunk_stats() 89 info->max = chunk_size; in update_chunk_stats() 90 if (chunk_size < info->min) in update_chunk_stats() 91 info->min = chunk_size; in update_chunk_stats() 92 info->avg += chunk_size; in update_chunk_stats()
|
/external/boringssl/src/crypto/cipher_extra/ |
D | cipher_test.cc | 115 size_t chunk_size, const std::vector<uint8_t> &key, in TestOperation() argument 163 if (chunk_size != 0) { in TestOperation() 165 size_t todo = chunk_size; in TestOperation() 230 for (size_t chunk_size : chunk_sizes) { in TestCipher() local 231 SCOPED_TRACE(chunk_size); in TestCipher() 235 TestOperation(t, cipher, true /* encrypt */, chunk_size, key, iv, in TestCipher() 241 TestOperation(t, cipher, false /* decrypt */, chunk_size, key, iv, in TestCipher()
|
/external/webrtc/webrtc/common_audio/ |
D | blocker.cc | 101 Blocker::Blocker(size_t chunk_size, in Blocker() argument 108 : chunk_size_(chunk_size), in Blocker() 112 initial_delay_(block_size_ - gcd(chunk_size, shift_amount)), in Blocker() 168 size_t chunk_size, in ProcessChunk() argument 172 RTC_CHECK_EQ(chunk_size, chunk_size_); in ProcessChunk() 222 chunk_size, in ProcessChunk()
|
D | blocker_unittest.cc | 60 size_t chunk_size, in RunTest() argument 69 size_t end = chunk_size - 1; in RunTest() 71 CopyTo(input_chunk, 0, start, num_input_channels, chunk_size, input); in RunTest() 73 chunk_size, in RunTest() 77 CopyTo(output, start, 0, num_output_channels, chunk_size, output_chunk); in RunTest() 79 start += chunk_size; in RunTest() 80 end += chunk_size; in RunTest()
|
/external/libmicrohttpd/src/testspdy/ |
D | test_request_response_with_callback.c | 40 int chunk_size=1; variable 65 if(chunk_size % 2) in response_callback() 66 n = chunk_size; in response_callback() 68 n = max - chunk_size; in response_callback() 72 chunk_size++; in response_callback()
|
/external/perfetto/src/ftrace_reader/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/kmem/iommu_map_range/ |
D | format | 11 field:unsigned long chunk_size; offset:24; size:8; signed:0; 14 print fmt: "v_addr=%p p_addr=%pa chunk_size=0x%lu len=%zu", (void *)REC->va, &REC->pa, REC->chunk_s…
|
/external/perfetto/src/ftrace_reader/test/data/android_seed_N2F62_3.10.49/events/kmem/iommu_map_range/ |
D | format | 11 field:unsigned long chunk_size; offset:16; size:4; signed:0; 14 print fmt: "v_addr=%p p_addr=%pa chunk_size=0x%lu len=%zu", (void *)REC->va, &REC->pa, REC->chunk_s…
|
/external/boringssl/src/crypto/base64/ |
D | base64_test.cc | 258 for (size_t chunk_size = 1; chunk_size <= encoded_len; chunk_size++) { in TEST_P() local 259 SCOPED_TRACE(chunk_size); in TEST_P() 266 if (todo > chunk_size) { in TEST_P() 267 todo = chunk_size; in TEST_P()
|
/external/perfetto/src/ftrace_reader/test/data/android_hammerhead_MRA59G_3.4.0/events/kmem/iommu_map_range/ |
D | format | 12 field:unsigned int chunk_size; offset:20; size:4; signed:0; 15 print fmt: "v_addr=%p p_addr=%pa chunk_size=0x%x len=%zu", (void *)REC->va, &REC->pa, REC->chunk_si…
|
/external/autotest/site_utils/stats/ |
D | tail_until_writer_finished.py | 42 def TailFile(path, sleep_interval, chunk_size, argument 61 for chunk in iter(lambda: fh.read(chunk_size), b''): 94 TailFile(args.file, args.sleep_interval, args.chunk_size,
|
/external/wpa_supplicant_8/src/wps/ |
D | httpread.c | 83 int chunk_size; /* data of chunk (not hdr or ending CRLF)*/ member 546 h->chunk_size = strtoul(cbp, NULL, 16); in httpread_read_handler() 547 if (h->chunk_size < 0 || in httpread_read_handler() 548 h->chunk_size > h->max_bytes) { in httpread_read_handler() 551 h->chunk_size); in httpread_read_handler() 559 if (h->chunk_size == 0) { in httpread_read_handler() 574 (h->chunk_size + 2)) { in httpread_read_handler() 592 h->chunk_size = 0; /* just in case */ in httpread_read_handler() 608 ncopy = (h->chunk_start + h->chunk_size + 2) - in httpread_read_handler()
|
/external/python/cpython2/Lib/test/ |
D | test_hashlib.py | 374 def hash_in_chunks(chunk_size, event): argument 377 hasher.update(data[index:index+chunk_size]) 378 index += chunk_size 383 chunk_size = len(data) // (10**threadnum) 384 assert chunk_size > 0 385 assert chunk_size % len(smallest_data) == 0 389 args=(chunk_size, event)).start()
|
/external/tensorflow/tensorflow/contrib/all_reduce/python/ |
D | all_reduce.py | 102 chunk_size = 1 + tensor_len // pieces 112 elif (pieces - 1) * chunk_size >= tensor_len: 114 pad_len = (pieces * chunk_size) % tensor_len 120 last_chunk_size = tensor_len - (pieces - 1) * chunk_size 121 pad_len = chunk_size - last_chunk_size 122 piece_lens = [chunk_size for _ in range(pieces - 1)] + [last_chunk_size] 180 chunk_size = tensor_len // pieces 182 if tensor_len != (pieces * chunk_size): 185 last_chunk_size = tensor_len - ((pieces - 1) * chunk_size) 187 piece_lens = [chunk_size for _ in range(pieces - 1)] + [last_chunk_size]
|
/external/perfetto/src/protozero/ |
D | scattered_stream_null_delegate.cc | 27 size_t chunk_size) in ScatteredStreamWriterNullDelegate() argument 28 : chunk_size_(chunk_size), in ScatteredStreamWriterNullDelegate()
|
/external/webp/src/dec/ |
D | webp_dec.c | 112 const uint32_t chunk_size = GetLE32(*data + TAG_SIZE); in ParseVP8X() local 113 if (chunk_size != VP8X_CHUNK_SIZE) { in ParseVP8X() 167 uint32_t chunk_size; in ParseOptionalChunks() local 177 chunk_size = GetLE32(buf + TAG_SIZE); in ParseOptionalChunks() 178 if (chunk_size > MAX_CHUNK_PAYLOAD) { in ParseOptionalChunks() 182 disk_chunk_size = (CHUNK_HEADER_SIZE + chunk_size + 1) & ~1; in ParseOptionalChunks() 205 *alpha_size = chunk_size; in ParseOptionalChunks() 224 size_t riff_size, size_t* const chunk_size, in ParseVP8Header() argument 234 assert(chunk_size != NULL); in ParseVP8Header() 251 *chunk_size = size; in ParseVP8Header() [all …]
|