Home
last modified time | relevance | path

Searched refs:BLOCK_SIZE (Results 1 – 25 of 31) sorted by relevance

12

/third_party/ltp/testcases/kernel/syscalls/fallocate/
Dfallocate02.c55 #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/
Dtexcompress_bptc_tmp.h35 #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/
Dtest_suite_entropy.data37 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/
Dadler32_simd.c74 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/
Dadler32_simd.c70 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/
Dadler32_simd.c70 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/
Dadxdec.c78 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()
Dadxenc.c63 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()
Dadx.c68 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()
Dadx.h53 #define BLOCK_SIZE 18 macro
Dadx_parser.c59 s->block_size = BLOCK_SIZE * channels; in adx_parse()
/third_party/ffmpeg/libavformat/
Dadxdec.c30 #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()
Dau.c142 #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/
Dcontroller.c30 #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/
Dsched_tc4.c69 #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()
Dsched_tc6.c75 #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/
Dflat_stable_sort.hpp66 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/
Dmerge_block.hpp50 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/
Dsndfile-to-text.c41 #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/
Dtest_rendering.c38 #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/
Des3fTextureWrapTests.cpp237 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/
Dbase64.c6 #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/
Dpostprocess_template.c370 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 …]
Dpostprocess.c116 #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/
DCHANGES38 Fixed dependency on BLOCK_SIZE in pass2. e2fsck will now handle 4k

12