/third_party/ffmpeg/libavcodec/ppc/ |
H A D | h264qpel.c | 71 #define H264_MC(OPNAME, SIZE, CODETYPE) \ 72 static void OPNAME ## h264_qpel ## SIZE ## _mc00_ ## CODETYPE (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)\ 74 ff_ ## OPNAME ## pixels ## SIZE ## _ ## CODETYPE(dst, src, stride, SIZE);\ 77 static void OPNAME ## h264_qpel ## SIZE ## _mc10_ ## CODETYPE(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)\ 79 DECLARE_ALIGNED(16, uint8_t, half)[SIZE*SIZE];\ 80 put_h264_qpel ## SIZE ## _h_lowpass_ ## CODETYPE(half, src, SIZE, stride);\ 81 OPNAME ## pixels ## SIZE ## _l2 [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | h264qpel_template.c | 380 #define H264_MC(OPNAME, SIZE) \ 381 static void FUNCC(OPNAME ## h264_qpel ## SIZE ## _mc00)(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)\ 383 FUNCC(OPNAME ## pixels ## SIZE)(dst, src, stride, SIZE);\ 386 static void FUNCC(OPNAME ## h264_qpel ## SIZE ## _mc10)(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)\ 388 uint8_t half[SIZE*SIZE*sizeof(pixel)];\ 389 FUNC(put_h264_qpel ## SIZE ## _h_lowpass)(half, src, SIZE*sizeof(pixel), stride);\ 390 FUNC(OPNAME ## pixels ## SIZE ## _l [all...] |
H A D | rv40dsp.c | 109 #define RV40_MC(OPNAME, SIZE) \ 110 static void OPNAME ## rv40_qpel ## SIZE ## _mc10_c(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)\ 112 OPNAME ## rv40_qpel ## SIZE ## _h_lowpass(dst, src, stride, stride, SIZE, 52, 20, 6);\ 115 static void OPNAME ## rv40_qpel ## SIZE ## _mc30_c(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)\ 117 OPNAME ## rv40_qpel ## SIZE ## _h_lowpass(dst, src, stride, stride, SIZE, 20, 52, 6);\ 120 static void OPNAME ## rv40_qpel ## SIZE ## _mc01_c(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)\ 122 OPNAME ## rv40_qpel ## SIZE ## _v_lowpass(dst, src, stride, stride, SIZE, 5 [all...] |
H A D | vp8dsp.c | 492 #define VP8_EPEL_H(SIZE, TAPS) \ 493 static void put_vp8_epel ## SIZE ## _h ## TAPS ## _c(uint8_t *dst, \ 503 for (x = 0; x < SIZE; x++) \ 510 #define VP8_EPEL_V(SIZE, TAPS) \ 511 static void put_vp8_epel ## SIZE ## _v ## TAPS ## _c(uint8_t *dst, \ 521 for (x = 0; x < SIZE; x++) \ 528 #define VP8_EPEL_HV(SIZE, HTAPS, VTAPS) \ 530 put_vp8_epel ## SIZE ## _h ## HTAPS ## v ## VTAPS ## _c(uint8_t *dst, \ 540 uint8_t tmp_array[(2 * SIZE + VTAPS - 1) * SIZE]; \ [all...] |
/third_party/ffmpeg/libavcodec/x86/ |
H A D | h264_qpel.c | 199 #define H264_MC_C_H(OPNAME, SIZE, MMX, ALIGN) \ 200 H264_MC_C(OPNAME, SIZE, MMX, ALIGN)\ 201 H264_MC_H(OPNAME, SIZE, MMX, ALIGN)\ 203 #define H264_MC_C_V_H_HV(OPNAME, SIZE, MMX, ALIGN) \ 204 H264_MC_C(OPNAME, SIZE, MMX, ALIGN)\ 205 H264_MC_V(OPNAME, SIZE, MMX, ALIGN)\ 206 H264_MC_H(OPNAME, SIZE, MMX, ALIGN)\ 207 H264_MC_HV(OPNAME, SIZE, MMX, ALIGN)\ 222 #define H264_MC_C(OPNAME, SIZE, MMX, ALIGN) \ 223 static void OPNAME ## h264_qpel ## SIZE ## _mc00 [all...] |
H A D | vp8dsp_init.c | 150 #define HVTAP(OPT, ALIGN, TAPNUMX, TAPNUMY, SIZE, MAXHEIGHT) \ 151 static void ff_put_vp8_epel ## SIZE ## _h ## TAPNUMX ## v ## TAPNUMY ## _ ## OPT( \ 155 LOCAL_ALIGNED(ALIGN, uint8_t, tmp, [SIZE * (MAXHEIGHT + TAPNUMY - 1)]); \ 156 uint8_t *tmpptr = tmp + SIZE * (TAPNUMY / 2 - 1); \ 158 ff_put_vp8_epel ## SIZE ## _h ## TAPNUMX ## _ ## OPT( \ 159 tmp, SIZE, src, srcstride, height + TAPNUMY - 1, mx, my); \ 160 ff_put_vp8_epel ## SIZE ## _v ## TAPNUMY ## _ ## OPT( \ 161 dst, dststride, tmpptr, SIZE, height, mx, my); \ 187 #define HVBILIN(OPT, ALIGN, SIZE, MAXHEIGHT) \ 188 static void ff_put_vp8_bilinear ## SIZE ## _hv [all...] |
H A D | rv40dsp_init.c | 73 #define QPEL_FUNC_DECL(OP, SIZE, PH, PV, OPT) \ in DECLARE_WEIGHT() 74 static void OP ## rv40_qpel ##SIZE ##_mc ##PH ##PV ##OPT(uint8_t *dst, \ in DECLARE_WEIGHT() 80 LOCAL_ALIGNED(16, uint8_t, tmp, [SIZE * (SIZE + 5)]); \ in DECLARE_WEIGHT() 81 uint8_t *tmpptr = tmp + SIZE * 2; \ in DECLARE_WEIGHT() 84 for (i = 0; i < SIZE; i += LOOPSIZE) \ in DECLARE_WEIGHT() 85 ff_put_rv40_qpel_h ##OPT(tmp + i, SIZE, src + i, stride, \ in DECLARE_WEIGHT() 86 SIZE + 5, HCOFF(PH)); \ in DECLARE_WEIGHT() 87 for (i = 0; i < SIZE; i += LOOPSIZE) \ in DECLARE_WEIGHT() 89 SIZE, SIZ in DECLARE_WEIGHT() [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/container/ |
H A D | btree_benchmark.cc | 573 #define BIG_TYPE_BENCHMARKS(SIZE, COPIES) \ 574 using stl_set_size##SIZE##copies##COPIES = std::set<BigType<SIZE, COPIES>>; \ 575 using stl_map_size##SIZE##copies##COPIES = \ 576 std::map<BigType<SIZE, COPIES>, intptr_t>; \ 577 using stl_multiset_size##SIZE##copies##COPIES = \ 578 std::multiset<BigType<SIZE, COPIES>>; \ 579 using stl_multimap_size##SIZE##copies##COPIES = \ 580 std::multimap<BigType<SIZE, COPIES>, intptr_t>; \ 581 using stl_unordered_set_size##SIZE##copie [all...] |
/third_party/elfutils/libasm/ |
H A D | asm_addint8.c | 39 #ifndef SIZE 40 # define SIZE 8 macro 52 FCT(SIZE) (AsmScn_t *asmscn, TYPE(SIZE) num) in SIZE() function 66 if (SIZE == 8) in SIZE() 68 else if (SIZE == 16) in SIZE() 71 else if (SIZE == 32) in SIZE() 90 #if SIZE > 8 in SIZE() 94 TYPE(SIZE) var = num; in SIZE() 97 if (__libasm_ensure_section_space (asmscn, SIZE / in SIZE() [all...] |
H A D | asm_adduint8.c | 36 #ifndef SIZE 37 # define SIZE 8 macro 51 UFCT(SIZE) (AsmScn_t *asmscn, UTYPE(SIZE) num) in SIZE() function 53 return INTUSE(FCT(SIZE)) (asmscn, (TYPE(SIZE)) num); in SIZE()
|
/third_party/ltp/testcases/kernel/syscalls/mmap/ |
H A D | mmap10.c | 67 #define SIZE (5*1024*1024) macro 126 x = mmap(NULL, SIZE + SIZE - ps, PROT_READ | PROT_WRITE, in mmapzero() 131 x = mmap(NULL, SIZE + SIZE - ps, PROT_READ | PROT_WRITE, in mmapzero() 138 if (madvise(x, SIZE + SIZE - ps, MADV_MERGEABLE) == -1) in mmapzero() 142 x[SIZE] = 0; in mmapzero() 148 if (munmap(x + SIZE + ps, SIZE in mmapzero() [all...] |
/third_party/ffmpeg/libavcodec/mips/ |
H A D | vp8dsp_init_mips.c | 33 #define VP8_MC_MIPS_FUNC(IDX, SIZE) \ 35 ff_put_vp8_epel##SIZE##_h4_msa; \ 37 ff_put_vp8_epel##SIZE##_h6_msa; \ 39 ff_put_vp8_epel##SIZE##_v4_msa; \ 41 ff_put_vp8_epel##SIZE##_h4v4_msa; \ 43 ff_put_vp8_epel##SIZE##_h6v4_msa; \ 45 ff_put_vp8_epel##SIZE##_v6_msa; \ 47 ff_put_vp8_epel##SIZE##_h4v6_msa; \ 49 ff_put_vp8_epel##SIZE##_h6v6_msa 51 #define VP8_BILINEAR_MC_MIPS_FUNC(IDX, SIZE) \ [all...] |
H A D | vp9dsp_mips.h | 27 #define VP9_8TAP_MIPS_MSA_FUNC(SIZE, type, type_idx) \ 28 void ff_put_8tap_##type##_##SIZE##h_msa(uint8_t *dst, ptrdiff_t dststride, \ 33 void ff_put_8tap_##type##_##SIZE##v_msa(uint8_t *dst, ptrdiff_t dststride, \ 38 void ff_put_8tap_##type##_##SIZE##hv_msa(uint8_t *dst, ptrdiff_t dststride, \ 43 void ff_avg_8tap_##type##_##SIZE##h_msa(uint8_t *dst, ptrdiff_t dststride, \ 48 void ff_avg_8tap_##type##_##SIZE##v_msa(uint8_t *dst, ptrdiff_t dststride, \ 53 void ff_avg_8tap_##type##_##SIZE##hv_msa(uint8_t *dst, ptrdiff_t dststride, \ 58 #define VP9_BILINEAR_MIPS_MSA_FUNC(SIZE) \ 59 void ff_put_bilin_##SIZE##h_msa(uint8_t *dst, ptrdiff_t dststride, \ 63 void ff_put_bilin_##SIZE##v_ms [all...] |
/third_party/ffmpeg/libavcodec/arm/ |
H A D | startcode_armv6.S | 26 SIZE .req a2 label 42 subs SIZE, SIZE, #4 @ C flag survives rest of macro 54 subs SIZE, SIZE, #\decrement @ C flag survives rest of macro 78 cmp SIZE, #(PRELOAD_DISTANCE+3)*32 - 1 85 sub SIZE, SIZE, #1 107 sub SIZE, SIZE, #(PRELOAD_DISTANC [all...] |
/third_party/ffmpeg/libavcodec/loongarch/ |
H A D | vp8dsp_init_loongarch.c | 32 #define VP8_MC_LOONGARCH_FUNC(IDX, SIZE) \ 33 dsp->put_vp8_epel_pixels_tab[IDX][0][2] = ff_put_vp8_epel##SIZE##_h6_lsx; \ 34 dsp->put_vp8_epel_pixels_tab[IDX][1][0] = ff_put_vp8_epel##SIZE##_v4_lsx; \ 35 dsp->put_vp8_epel_pixels_tab[IDX][1][2] = ff_put_vp8_epel##SIZE##_h6v4_lsx; \ 36 dsp->put_vp8_epel_pixels_tab[IDX][2][0] = ff_put_vp8_epel##SIZE##_v6_lsx; \ 37 dsp->put_vp8_epel_pixels_tab[IDX][2][1] = ff_put_vp8_epel##SIZE##_h4v6_lsx; \ 38 dsp->put_vp8_epel_pixels_tab[IDX][2][2] = ff_put_vp8_epel##SIZE##_h6v6_lsx; 40 #define VP8_MC_LOONGARCH_COPY(IDX, SIZE) \ 41 dsp->put_vp8_epel_pixels_tab[IDX][0][0] = ff_put_vp8_pixels##SIZE##_lsx; \ 42 dsp->put_vp8_bilinear_pixels_tab[IDX][0][0] = ff_put_vp8_pixels##SIZE##_ls [all...] |
/third_party/skia/third_party/externals/libwebp/src/enc/ |
H A D | picture_tools_enc.c | 22 #define SIZE 8 macro 23 #define SIZE2 (SIZE / 2) 102 w = pic->width / SIZE; in WebPCleanupTransparentArea() 103 h = pic->height / SIZE; in WebPCleanupTransparentArea() 111 const int off = (y * pic->argb_stride + x) * SIZE; in WebPCleanupTransparentArea() 112 if (IsTransparentARGBArea(pic->argb + off, pic->argb_stride, SIZE)) { in WebPCleanupTransparentArea() 117 FlattenARGB(pic->argb + off, argb_value, pic->argb_stride, SIZE); in WebPCleanupTransparentArea() 137 for (y = 0; y + SIZE <= height; y += SIZE) { in WebPCleanupTransparentArea() 139 for (x = 0; x + SIZE < in WebPCleanupTransparentArea() 178 #undef SIZE global() macro [all...] |
/third_party/ltp/testcases/kernel/syscalls/pipe/ |
H A D | pipe02.c | 18 #define SIZE 5 macro 21 static char rdbuf[SIZE]; 22 static char wrbuf[SIZE]; 28 SAFE_WRITE(SAFE_WRITE_ALL, fd[1], wrbuf, SIZE); in do_child() 32 SAFE_WRITE(SAFE_WRITE_ALL, fd[1], wrbuf, SIZE); in do_child() 42 memset(wrbuf, 'a', SIZE); in verify_pipe() 64 memset(rdbuf, 0, SIZE); in verify_pipe() 66 SAFE_READ(1, fd[0], rdbuf, SIZE); in verify_pipe() 68 if (memcmp(wrbuf, rdbuf, SIZE) != 0) { in verify_pipe()
|
/third_party/musl/libc-test/src/functionalext/supplement/hook/hook_gtest/ |
H A D | hook_realloc_test.cpp | 6 constexpr int SIZE = 128; variable 34 void* ptr = realloc(nullptr, SIZE); in HWTEST_F() 57 void* ptr = malloc(SIZE); in HWTEST_F() 58 ptr = realloc(ptr, SIZE); in HWTEST_F() 71 void* ptr = malloc(SIZE); in HWTEST_F() 72 ptr = realloc(ptr, SIZE * 2); in HWTEST_F() 85 void* ptr = malloc(SIZE); in HWTEST_F() 86 ptr = realloc(ptr, SIZE / 2); in HWTEST_F()
|
/third_party/ffmpeg/libavcodec/tests/ |
H A D | iirfilter.c | 28 #define SIZE 1024 macro 35 int16_t x[SIZE], y[SIZE]; in main() 43 for (i = 0; i < SIZE; i++) in main() 44 x[i] = lrint(0.75 * INT16_MAX * sin(0.5 * M_PI * i * i / SIZE)); in main() 46 ff_iir_filter(fcoeffs, fstate, SIZE, x, 1, y, 1); in main() 48 for (i = 0; i < SIZE; i++) in main()
|
H A D | golomb.c | 33 #define SIZE (COUNT * 4) macro 42 temp = av_malloc(SIZE); in main() 46 init_put_bits(&pb, temp, SIZE); in main() 51 init_get_bits(&gb, temp, 8 * SIZE); in main() 64 init_put_bits(&pb, temp, SIZE); in main() 69 init_get_bits(&gb, temp, 8 * SIZE); in main() 82 init_put_bits(&pb, temp, SIZE); in main() 87 init_get_bits(&gb, temp, 8 * SIZE); in main() 99 init_put_bits(&pb, temp, SIZE); in main() 104 init_get_bits(&gb, temp, 8 * SIZE); in main() [all...] |
H A D | cabac.c | 24 #define SIZE 10240 macro 141 uint8_t b[9*SIZE]; in main() 142 uint8_t r[9*SIZE]; in main() 148 init_cabac_encoder(&c, b, SIZE); in main() 150 for(i=0; i<SIZE; i++){ in main() 151 if(2*i<SIZE) r[i] = av_lfg_get(&prng) % 7; in main() 155 for(i=0; i<SIZE; i++){ in main() 159 for(i=0; i<SIZE; i++){ in main() 167 ff_init_cabac_decoder(&c.dec, b, SIZE); in main() 171 for(i=0; i<SIZE; in main() [all...] |
H A D | rangecoder.c | 28 #define SIZE 1240 macro 59 uint8_t b[9 * SIZE] = {0}; in main() 60 uint8_t r[9 * SIZE]; in main() 68 ff_init_range_encoder(&c, b, SIZE); in main() 73 for (i = 0; i < SIZE; i++) in main() 76 for (i = 0; i < SIZE; i++) in main() 81 ff_init_range_decoder(&c, b, version ? SIZE : actual_length); in main() 85 for (i = 0; i < SIZE; i++) in main()
|
/third_party/ltp/testcases/kernel/fs/fs_di/ |
H A D | fs_di | 67 usage: ./${0##*/} -d TMPDIR [-h] [-l # of LOOPS ] [-s SIZE in Mb][-S partition SIZE in Mb] 72 -s SIZE in Mb The size of the data file to create. Default=30Mb. A "0" means random sizes from 10-500Mb. 73 -S SIZE in Mb Size of usable partition (in MBs) on which the testing is carried out (needs to be passed 118 SIZE=30 137 SIZE=$OPTARG 138 if [ $SIZE -eq 0 ]; then 164 echo " Data File Size: $SIZE" 191 SIZE=$RANDOM 192 let "SIZE [all...] |
/third_party/mesa3d/src/util/tests/hash_table/ |
H A D | clear.c | 28 #define SIZE 1000 macro 60 bool flags[SIZE]; in main() 65 for (i = 0; i < SIZE; ++i) { in main() 75 for (i = 0; i < SIZE; ++i) { in main() 82 for (i = 0; i < SIZE; ++i) { in main() 87 assert(key_id(entry->key) < SIZE); in main() 96 for (i = 0; i < SIZE; ++i) { in main() 101 assert(key_id(entry->key) < SIZE); in main()
|
H A D | delete_management.c | 35 #define SIZE 10000 macro 54 uint32_t keys[SIZE]; in main() 62 for (i = 0; i < SIZE; i++) { in main() 75 for (i = SIZE - 100; i < SIZE; i++) { in main() 85 assert(key_value(entry->key) >= SIZE - 100 && in main() 86 key_value(entry->key) < SIZE); in main()
|