Home
last modified time | relevance | path

Searched refs:MAX_SIZE (Results 1 – 25 of 26) sorted by relevance

12

/third_party/ffmpeg/tests/checkasm/
Dopusdsp.c34 #define MAX_SIZE (960) macro
39 LOCAL_ALIGNED(16, float, data0, [MAX_SIZE + 1024]); in test_postfilter()
40 LOCAL_ALIGNED(16, float, data1, [MAX_SIZE + 1024]); in test_postfilter()
54 randomize_float(data0, MAX_SIZE + 1024); in test_postfilter()
55 memcpy(data1, data0, (MAX_SIZE + 1024)*sizeof(float)); in test_postfilter()
57 call_ref(data0 + offset, period, gains, MAX_SIZE); in test_postfilter()
58 call_new(data1 + offset, period, gains, MAX_SIZE); in test_postfilter()
60 if (!float_near_abs_eps_array(data0 + offset, data1 + offset, EPS, MAX_SIZE)) in test_postfilter()
62 bench_new(data1 + offset, period, gains, MAX_SIZE); in test_postfilter()
67 LOCAL_ALIGNED(16, float, src, [FFALIGN(MAX_SIZE, 4)]); in test_deemphasis()
[all …]
Daudiodsp.c32 #define MAX_SIZE (32 * 128) macro
59 LOCAL_ALIGNED(32, int16_t, v1, [MAX_SIZE]); in checkasm_check_audiodsp()
60 LOCAL_ALIGNED(32, int16_t, v2, [MAX_SIZE]); in checkasm_check_audiodsp()
76 randomize_int(v1, MAX_SIZE, 16, v1_bits + 1); in checkasm_check_audiodsp()
77 randomize_int(v2, MAX_SIZE, 16, v2_bits + 1); in checkasm_check_audiodsp()
83 bench_new(v1, v2, MAX_SIZE); in checkasm_check_audiodsp()
87 LOCAL_ALIGNED(32, int32_t, src, [MAX_SIZE]); in checkasm_check_audiodsp()
88 LOCAL_ALIGNED(32, int32_t, dst0, [MAX_SIZE]); in checkasm_check_audiodsp()
89 LOCAL_ALIGNED(32, int32_t, dst1, [MAX_SIZE]); in checkasm_check_audiodsp()
104 randomize_int(src, MAX_SIZE, 32, 32); in checkasm_check_audiodsp()
[all …]
/third_party/musl/libc-test/src/functionalext/supplement/string/string_gtest/
Dstring_bcopy_test.cpp4 constexpr int MAX_SIZE = 1024; variable
22 char srcChar[MAX_SIZE + SUB_NUM], dstChar[MAX_SIZE + SUB_NUM];
23 for (int i = 0; i < MAX_SIZE; i++) {
24 memset(srcChar, 'A', MAX_SIZE / DIV_NUM);
25 memset(srcChar + MAX_SIZE / DIV_NUM, 'a', MAX_SIZE / DIV_NUM);
26 memcpy(dstChar, srcChar, MAX_SIZE);
28 size_t obj = random() % MAX_SIZE;
29 size_t pos = random() % (MAX_SIZE - obj);
32 int result = memcmp(srcChar, dstChar, MAX_SIZE);
/third_party/musl/libc-test/src/functionalext/supplement/fortify/fortify_gtest/
Dfortify_memchr_chk_test.cpp7 constexpr int MAX_SIZE = 1024; variable
24 char srcChar[MAX_SIZE];
29 memset(srcChar, ~seekChar, MAX_SIZE);
30 pos = random() % MAX_SIZE;
31 obj = random() % MAX_SIZE;
Dfortify_strrchr_chk_test.cpp4 #define MAX_SIZE 1024 macro
23 char srcChar[MAX_SIZE];
29 memset(srcChar, ~dest, MAX_SIZE);
30 pos = random() % (MAX_SIZE - 1);
31 obj = random() % (MAX_SIZE - 1);
Dfortify_strchr_chk_test.cpp6 #define MAX_SIZE 1024 macro
25 char srcChar[MAX_SIZE];
30 memset(srcChar, ~dest, MAX_SIZE);
31 pos = random() % (MAX_SIZE - 1);
32 obj = random() % (MAX_SIZE - 1);
Dfortify_strlcat_chk_test.cpp7 #define MAX_SIZE 1024 macro
23 char srcChar[MAX_SIZE] = "Source";
25 __strlcat_chk(srcChar, dstChar, MAX_SIZE, MAX_SIZE);
/third_party/ffmpeg/libavfilter/
Dvf_unsharp.c321 #define MAX_SIZE 23 macro
323 …horizontal size", OFFSET(lmsize_x), AV_OPT_TYPE_INT, { .i64 = 5 }, MIN_SIZE, MAX_SIZE, FLAGS },
324 …horizontal size", OFFSET(lmsize_x), AV_OPT_TYPE_INT, { .i64 = 5 }, MIN_SIZE, MAX_SIZE, FLAGS },
325 …vertical size", OFFSET(lmsize_y), AV_OPT_TYPE_INT, { .i64 = 5 }, MIN_SIZE, MAX_SIZE, FLAGS },
326 …vertical size", OFFSET(lmsize_y), AV_OPT_TYPE_INT, { .i64 = 5 }, MIN_SIZE, MAX_SIZE, FLAGS },
329 …x horizontal size", OFFSET(cmsize_x), AV_OPT_TYPE_INT, { .i64 = 5 }, MIN_SIZE, MAX_SIZE, FLAGS },
330 …x horizontal size", OFFSET(cmsize_x), AV_OPT_TYPE_INT, { .i64 = 5 }, MIN_SIZE, MAX_SIZE, FLAGS },
331 …x vertical size", OFFSET(cmsize_y), AV_OPT_TYPE_INT, { .i64 = 5 }, MIN_SIZE, MAX_SIZE, FLAGS },
332 …x vertical size", OFFSET(cmsize_y), AV_OPT_TYPE_INT, { .i64 = 5 }, MIN_SIZE, MAX_SIZE, FLAGS },
335 … horizontal size", OFFSET(amsize_x), AV_OPT_TYPE_INT, { .i64 = 5 }, MIN_SIZE, MAX_SIZE, FLAGS },
[all …]
Dvf_colormap.c35 #define MAX_SIZE 64 macro
50 float source[MAX_SIZE][4];
51 float ttarget[MAX_SIZE][4];
52 float target[MAX_SIZE][4];
54 float coeff[MAX_SIZE][4];
62 double A[(MAX_SIZE + 4) * (MAX_SIZE + 4)];
63 double b[MAX_SIZE + 4];
64 int pivot[MAX_SIZE + 4];
72 …{ "nb_patches", "set number of patches", OFFSET(size), AV_OPT_TYPE_INT, {.i64 = 0}, 0, MAX_SIZE, F…
391 for (int y = ph2; y < in->height && idx < MAX_SIZE; y += ph) { in import_map()
[all …]
/third_party/ltp/testcases/kernel/fs/racer/
Dfs_racer_file_create.sh24 MAX_SIZE=2000000
27 SIZE=$(($RANDOM*MAX_SIZE/32767))
/third_party/ltp/testcases/kernel/syscalls/getrandom/
Dgetrandom03.c13 #define MAX_SIZE 256 macro
29 char buf[MAX_SIZE]; in verify_getrandom()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_test_dma_perf.c32 #define MAX_SIZE (128 * 1024 * 1024) macro
70 for (unsigned size = MIN_SIZE; size <= MAX_SIZE; size <<= SIZE_SHIFT) { in si_test_dma_perf()
95 for (unsigned size = MIN_SIZE; size <= MAX_SIZE; size <<= SIZE_SHIFT) in si_test_dma_perf()
146 for (unsigned size = MIN_SIZE; size <= MAX_SIZE; size <<= SIZE_SHIFT) { in si_test_dma_perf()
321 for (unsigned size = MIN_SIZE; size <= MAX_SIZE; size <<= SIZE_SHIFT) { in si_test_dma_perf()
/third_party/libwebsockets/minimal-examples/crypto/minimal-crypto-jwe/
Dmain.c79 #define MAX_SIZE (4 * 1024 * 1024) macro
80 char temp[MAX_SIZE], compact[MAX_SIZE];
/third_party/libwebsockets/minimal-examples/crypto/minimal-crypto-jws/
Dmain.c14 #define MAX_SIZE (4 * 1024 * 1024) macro
15 char temp[MAX_SIZE], compact[MAX_SIZE];
/third_party/ffmpeg/libavformat/
Dsol.c122 #define MAX_SIZE 4096 macro
131 ret= av_get_packet(s->pb, pkt, MAX_SIZE); in sol_read_packet()
Daiffdec.c389 #define MAX_SIZE 4096 macro
418 …size = st->codecpar->block_align ? (MAX_SIZE / st->codecpar->block_align) * st->codecpar->block_al… in aiff_read_packet()
Dmmf.c277 #define MAX_SIZE 4096 macro
286 size = FFMIN(left, MAX_SIZE); in mmf_read_packet()
/third_party/skia/third_party/externals/libpng/contrib/tools/
Dpngcp.c423 # define MAX_SIZE ((png_alloc_size_t)(-1)) macro
854 dp->stack[sp].hi_size = MAX_SIZE; in push_opt()
948 assert(best_size < MAX_SIZE); in next_opt()
979 assert(lo_size < MAX_SIZE && hi_size < MAX_SIZE); in next_opt()
1113 dp->stack[sp].best_size = MAX_SIZE; in next_opt()
1201 assert(dp->write_size > 0U && dp->write_size < MAX_SIZE); in advance_opt()
1812 if ((MAX_SIZE-dp->h)/rb < dp->h) in read_png()
1894 if (dp->write_size < size || dp->write_size == MAX_SIZE) in write_function()
2162 dp->best_size = MAX_SIZE; in log_search()
2216 dp->best_size = MAX_SIZE; in cp_one_file()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
DvktPipelineRenderToImageTests.cpp80 MAX_SIZE = -1, //!< Should be queried at runtime and replaced with max possible value enumerator
606 sizeHint.x() != MAX_SIZE ? sizeHint.x() : 4096, in getMaxImageSize()
607 sizeHint.y() != MAX_SIZE ? sizeHint.y() : 4096, in getMaxImageSize()
608 sizeHint.z() != MAX_SIZE ? sizeHint.z() : 256, in getMaxImageSize()
609 sizeHint.w() != MAX_SIZE ? sizeHint.w() : 256); in getMaxImageSize()
1579 if (size[i] == MAX_SIZE) in getSizeDescription()
1639 sizes.push_back(tcu::select(IVec4(MAX_SIZE), baselineSize, bvecFromMask(*it))); in genSizeCombinations()
1693 …gin(sizes), end(sizes), [&](const IVec4& v) { return v.x() == MAX_SIZE && v.y() == MAX_SIZE; }), e… in addTestCasesWithFunctions()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineRenderToImageTests.cpp80 MAX_SIZE = -1, //!< Should be queried at runtime and replaced with max possible value enumerator
606 sizeHint.x() != MAX_SIZE ? sizeHint.x() : 4096, in getMaxImageSize()
607 sizeHint.y() != MAX_SIZE ? sizeHint.y() : 4096, in getMaxImageSize()
608 sizeHint.z() != MAX_SIZE ? sizeHint.z() : 256, in getMaxImageSize()
609 sizeHint.w() != MAX_SIZE ? sizeHint.w() : 256); in getMaxImageSize()
1579 if (size[i] == MAX_SIZE) in getSizeDescription()
1639 sizes.push_back(tcu::select(IVec4(MAX_SIZE), baselineSize, bvecFromMask(*it))); in genSizeCombinations()
1693 …gin(sizes), end(sizes), [&](const IVec4& v) { return v.x() == MAX_SIZE && v.y() == MAX_SIZE; }), e… in addTestCasesWithFunctions()
/third_party/mbedtls/tests/suites/
Dtest_suite_bignum.misc.data1362 Test mbedtls_mpi_exp_mod: MAX_SIZE exponent
1365 Test mbedtls_mpi_exp_mod: MAX_SIZE + 1 exponent
1368 Test mbedtls_mpi_exp_mod: MAX_SIZE modulus
1371 Test mbedtls_mpi_exp_mod: MAX_SIZE + 1 modulus
1374 Test mbedtls_mpi_exp_mod: MAX_SIZE exponent and modulus
1377 Test mbedtls_mpi_exp_mod: MAX_SIZE + 1 exponent and modulus
1731 Fill random: MAX_SIZE - 7, good
1734 Fill random: MAX_SIZE, good
1788 Fill random: MAX_SIZE bytes, RNG failure after MAX_SIZE-1 bytes
/third_party/ltp/runtest/
Dnet_stress.ipsec_icmp2 # Max ICMP message size descriptsion, MAX_SIZE is 65535
6 # MAX = MAX_SIZE - IP(20) - ICMP(8) = 65507
17 # MAX = MAX_SIZE - ICMP(8) = 65527
/third_party/skia/tests/
DStreamTest.cpp33 #define MAX_SIZE (256 * 1024) macro
/third_party/python/Doc/library/
Dtyping.rst880 MAX_SIZE: Final = 9000
881 MAX_SIZE += 1 # Error reported by type checker
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/memory/
DvktMemoryPipelineBarrierTests.cpp94 MAX_SIZE = (128 * 1024) enumerator
6041 m_bufferSize = de::min(context.getBufferSize(), (vk::VkDeviceSize)MAX_SIZE); in prepare()

12