/third_party/ltp/testcases/kernel/syscalls/fallocate/ |
D | fallocate02.c | 55 #define BLOCK_SIZE 1024 macro 124 char buf[BLOCK_SIZE]; in setup() 125 memset(buf, 'A', BLOCK_SIZE); in setup() 127 SAFE_WRITE(cleanup, 1, fdw, buf, BLOCK_SIZE); in setup() 133 test_data[i].offset * BLOCK_SIZE, in fallocate_verify() 134 test_data[i].len * BLOCK_SIZE)); in fallocate_verify() 145 test_data[i].offset * BLOCK_SIZE, in fallocate_verify() 146 test_data[i].len * BLOCK_SIZE, test_data[i].error); in fallocate_verify() 151 test_data[i].mode, test_data[i].offset * BLOCK_SIZE, in fallocate_verify() 152 test_data[i].len * BLOCK_SIZE, TEST_ERRNO); in fallocate_verify()
|
/third_party/mesa3d/src/mesa/main/ |
D | texcompress_bptc_tmp.h | 35 #define BLOCK_SIZE 4 macro 603 BLOCK_SIZE * BLOCK_SIZE * mode->n_index_bits - in fetch_rgba_unorm_from_block() 738 BLOCK_SIZE * BLOCK_SIZE * mode->n_index_bits - in decompress_rgba_unorm_block() 807 for (y = 0; y < height; y += BLOCK_SIZE) { in decompress_rgba_unorm() 808 for (x = 0; x < width; x += BLOCK_SIZE) { in decompress_rgba_unorm() 809 decompress_rgba_unorm_block(MIN2(width - x, BLOCK_SIZE), in decompress_rgba_unorm() 810 MIN2(height - y, BLOCK_SIZE), in decompress_rgba_unorm() 1158 for (y = 0; y < height; y += BLOCK_SIZE) { in decompress_rgb_float() 1159 for (x = 0; x < width; x += BLOCK_SIZE) { in decompress_rgb_float() 1160 decompress_rgb_float_block(MIN2(width - x, BLOCK_SIZE), in decompress_rgb_float() [all …]
|
/third_party/mbedtls/tests/suites/ |
D | test_suite_entropy.data | 37 Entropy output length: 65 > BLOCK_SIZE 58 Entropy calls: 1 strong, 1*BLOCK_SIZE 61 Entropy calls: 1 strong, 2*(BLOCK_SIZE/2) 64 Entropy calls: 1 strong, BLOCK_SIZE*1 67 Entropy calls: 1 strong, 2*BLOCK_SIZE to reach threshold 70 Entropy calls: 2 strong, BLOCK_SIZE/2 each
|
/third_party/node/deps/zlib/ |
D | adler32_simd.c | 74 const unsigned BLOCK_SIZE = 1 << 5; in adler32_simd_() local 76 z_size_t blocks = len / BLOCK_SIZE; in adler32_simd_() 77 len -= blocks * BLOCK_SIZE; in adler32_simd_() 81 unsigned n = NMAX / BLOCK_SIZE; /* The NMAX constraint. */ in adler32_simd_() 127 buf += BLOCK_SIZE; in adler32_simd_() 235 const unsigned BLOCK_SIZE = 1 << 5; in adler32_simd_() local 237 z_size_t blocks = len / BLOCK_SIZE; in adler32_simd_() 238 len -= blocks * BLOCK_SIZE; in adler32_simd_() 242 unsigned n = NMAX / BLOCK_SIZE; /* The NMAX constraint. */ in adler32_simd_() 284 buf += BLOCK_SIZE; in adler32_simd_()
|
/third_party/skia/third_party/externals/zlib/ |
D | adler32_simd.c | 70 const unsigned BLOCK_SIZE = 1 << 5; in adler32_simd_() local 72 z_size_t blocks = len / BLOCK_SIZE; in adler32_simd_() 73 len -= blocks * BLOCK_SIZE; in adler32_simd_() 77 unsigned n = NMAX / BLOCK_SIZE; /* The NMAX constraint. */ in adler32_simd_() 123 buf += BLOCK_SIZE; in adler32_simd_() 231 const unsigned BLOCK_SIZE = 1 << 5; in adler32_simd_() local 233 z_size_t blocks = len / BLOCK_SIZE; in adler32_simd_() 234 len -= blocks * BLOCK_SIZE; in adler32_simd_() 238 unsigned n = NMAX / BLOCK_SIZE; /* The NMAX constraint. */ in adler32_simd_() 280 buf += BLOCK_SIZE; in adler32_simd_()
|
/third_party/flutter/skia/third_party/externals/zlib/ |
D | adler32_simd.c | 70 const unsigned BLOCK_SIZE = 1 << 5; in adler32_simd_() local 72 z_size_t blocks = len / BLOCK_SIZE; in adler32_simd_() 73 len -= blocks * BLOCK_SIZE; in adler32_simd_() 77 unsigned n = NMAX / BLOCK_SIZE; /* The NMAX constraint. */ in adler32_simd_() 123 buf += BLOCK_SIZE; in adler32_simd_() 231 const unsigned BLOCK_SIZE = 1 << 5; in adler32_simd_() local 233 z_size_t blocks = len / BLOCK_SIZE; in adler32_simd_() 234 len -= blocks * BLOCK_SIZE; in adler32_simd_() 238 unsigned n = NMAX / BLOCK_SIZE; /* The NMAX constraint. */ in adler32_simd_() 280 buf += BLOCK_SIZE; in adler32_simd_()
|
/third_party/ffmpeg/libavcodec/ |
D | adxdec.c | 78 init_get_bits(&gb, in + 2, (BLOCK_SIZE - 2) * 8); in adx_decode() 146 num_blocks = buf_size / (BLOCK_SIZE * c->channels); in adx_decode_frame() 150 if (!num_blocks || buf_size % (BLOCK_SIZE * avctx->channels)) { in adx_decode_frame() 168 if (buf_end - buf < BLOCK_SIZE || adx_decode(c, samples[ch], samples_offset, buf, ch)) { in adx_decode_frame() 173 buf_size -= BLOCK_SIZE; in adx_decode_frame() 174 buf += BLOCK_SIZE; in adx_decode_frame()
|
D | adxenc.c | 63 memset(adx, 0, BLOCK_SIZE); in adx_encode() 107 bytestream_put_byte(&buf, BLOCK_SIZE); /* block size */ in adx_encode_header() 164 out_size = BLOCK_SIZE * avctx->channels + !c->header_parsed * HEADER_SIZE; in adx_encode_frame() 181 dst += BLOCK_SIZE; in adx_encode_frame()
|
D | adx.c | 68 avctx->sample_rate > INT_MAX / (avctx->channels * BLOCK_SIZE * 8)) in ff_adx_decode_header() 72 avctx->bit_rate = avctx->sample_rate * avctx->channels * BLOCK_SIZE * 8 / BLOCK_SAMPLES; in ff_adx_decode_header()
|
D | adx.h | 53 #define BLOCK_SIZE 18 macro
|
D | adx_parser.c | 59 s->block_size = BLOCK_SIZE * channels; in adx_parse()
|
/third_party/ffmpeg/libavformat/ |
D | adxdec.c | 30 #define BLOCK_SIZE 18 macro 64 size = BLOCK_SIZE * par->channels; in adx_read_packet() 82 pkt->duration = size / (BLOCK_SIZE * par->channels); in adx_read_packet() 83 pkt->pts = (pkt->pos - c->header_size) / (BLOCK_SIZE * par->channels); in adx_read_packet() 125 par->bit_rate = (int64_t)par->sample_rate * par->channels * BLOCK_SIZE * 8LL / BLOCK_SAMPLES; in adx_read_header()
|
D | au.c | 142 #define BLOCK_SIZE 1024 macro 199 if (channels == 0 || channels >= INT_MAX / (BLOCK_SIZE * bps >> 3)) { in au_read_header()
|
/third_party/gstreamer/gstreamer/tests/benchmarks/ |
D | controller.c | 30 #define BLOCK_SIZE 64 macro 110 "num-buffers", NUM_CP, "samplesperbuffer", BLOCK_SIZE, NULL); in main() 112 tick = BLOCK_SIZE * GST_SECOND / 44100; in main() 157 gdouble *values = g_new0 (gdouble, BLOCK_SIZE * NUM_CP); in main() 161 BLOCK_SIZE * NUM_CP, values); in main()
|
/third_party/ltp/testcases/kernel/sched/sched_stress/ |
D | sched_tc4.c | 69 #define BLOCK_SIZE 512 macro 186 char readbuf[BLOCK_SIZE + 1]; /* buffer to store bytes read */ in read_raw_device() 213 if (read(fd, readbuf, BLOCK_SIZE) != BLOCK_SIZE) in read_raw_device()
|
D | sched_tc6.c | 75 #define BLOCK_SIZE 512 macro 323 char buf[BLOCK_SIZE]; in read_file() 330 while ((bytes_read = read(fd, buf, BLOCK_SIZE)) > 0) { in read_file()
|
/third_party/boost/boost/sort/flat_stable_sort/ |
D | flat_stable_sort.hpp | 66 using merge_block_t::BLOCK_SIZE; 182 size_t min_process = (std::max)(BLOCK_SIZE, (nelem >> 3)); in is_sorted_forward() 191 if (nsorted2 <= (BLOCK_SIZE << 1)) in is_sorted_forward() 199 size_t mask = ~(BLOCK_SIZE - 1); in is_sorted_forward() 224 size_t min_process = (std::max)(BLOCK_SIZE, (nelem >> 3)); in is_sorted_backward() 233 if (nsorted1 <= (BLOCK_SIZE << 1)) in is_sorted_backward() 241 size_t nblock1 = (nsorted1 + BLOCK_SIZE - 1) >> Power2; in is_sorted_backward()
|
/third_party/boost/boost/sort/common/ |
D | merge_block.hpp | 50 const size_t BLOCK_SIZE = (size_t) 1 << Power2; member 107 nblock = (nelem + BLOCK_SIZE - 1) / BLOCK_SIZE; in merge_block() 108 ntail = (nelem % BLOCK_SIZE); in merge_block() 144 global_range.last : it1 + BLOCK_SIZE; in get_range() 343 assert((itx_last - itx_first) >= 0 and npos <= BLOCK_SIZE); in move_range_pos_backward()
|
/third_party/libsnd/examples/ |
D | sndfile-to-text.c | 41 #define BLOCK_SIZE 4096 macro 65 { float buf [BLOCK_SIZE] ; in convert_to_text() 69 frames = BLOCK_SIZE / channels ; in convert_to_text()
|
/third_party/mesa3d/src/gallium/frontends/xvmc/tests/ |
D | test_rendering.c | 38 #define BLOCK_SIZE (BLOCK_WIDTH * BLOCK_HEIGHT) macro 230 blocks += BLOCK_SIZE; in main() 247 blocks += BLOCK_SIZE; in main() 258 blocks += BLOCK_SIZE; in main()
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fTextureWrapTests.cpp | 237 static const int BLOCK_SIZE = 16; in init() local 238 static const deUint8 blocks[][BLOCK_SIZE] = in init() 258 DE_ASSERT(dataSize % BLOCK_SIZE == 0); in init() 260 for (int i = 0; i < dataSize/BLOCK_SIZE; i++) in init() 261 …deMemcpy(&data[i*BLOCK_SIZE], &blocks[rnd.getInt(0, DE_LENGTH_OF_ARRAY(blocks)-1)][0], BLOCK_SIZE); in init()
|
/third_party/glib/glib/tests/ |
D | base64.c | 6 #define BLOCK_SIZE 32 macro 30 block_size = MIN (BLOCK_SIZE, length - input_len); in test_incremental() 51 int chunk_len = MIN (BLOCK_SIZE, len); in test_incremental()
|
/third_party/ffmpeg/libpostproc/ |
D | postprocess_template.c | 370 for(x=0; x<BLOCK_SIZE; x++){ in RENAME() 511 for(x=0; x<BLOCK_SIZE; x++){ in RENAME() 1063 for(x=0; x<BLOCK_SIZE; x++){ in RENAME() 3175 &(src[srcStride*i]), BLOCK_SIZE); in RENAME() 3208 &(src[srcStride*i]), BLOCK_SIZE); in RENAME() 3420 y=-BLOCK_SIZE; in RENAME() 3428 for(x=0; x<width; x+=BLOCK_SIZE){ in RENAME() 3467 for(y=0; y<height; y+=BLOCK_SIZE){ in RENAME() 3511 for(qp_index=0; qp_index < (endx-startx)/BLOCK_SIZE; qp_index++){ in RENAME() 3512 QP = QPptr[(x+qp_index*BLOCK_SIZE)>>qpHShift]; in RENAME() [all …]
|
D | postprocess.c | 116 #define BLOCK_SIZE 8 macro 182 for(y=0; y<BLOCK_SIZE; y++){ in isHorizDC_C() 206 for(y=0; y<BLOCK_SIZE-1; y++){ in isVertDC_C() 240 for(x=0; x<BLOCK_SIZE; x+=4){ in isVertMinMaxOk_C() 270 for(y=0; y<BLOCK_SIZE; y++){ in doHorizDefFilter_C() 309 for(y=0; y<BLOCK_SIZE; y++){ in doHorizLowPass_C() 379 for(y=0; y<BLOCK_SIZE; y++){ in horizX1Filter()
|
/third_party/e2fsprogs/e2fsck/ |
D | CHANGES | 38 Fixed dependency on BLOCK_SIZE in pass2. e2fsck will now handle 4k
|