Home
last modified time | relevance | path

Searched refs:MAX_SIZE (Results 1 - 23 of 23) sorted by relevance

/third_party/ffmpeg/tests/checkasm/
H A 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, in test_deemphasis()
[all...]
H A 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, 3 in checkasm_check_audiodsp()
[all...]
/third_party/musl/libc-test/src/functionalext/supplement/string/string_gtest/
H A Dstring_bcopy_test.cpp4 constexpr int MAX_SIZE = 1024; variable
22 char srcChar[MAX_SIZE + SUB_NUM], dstChar[MAX_SIZE + SUB_NUM]; in HWTEST_F()
23 for (int i = 0; i < MAX_SIZE; i++) { in HWTEST_F()
24 memset(srcChar, 'A', MAX_SIZE / DIV_NUM); in HWTEST_F()
25 memset(srcChar + MAX_SIZE / DIV_NUM, 'a', MAX_SIZE / DIV_NUM); in HWTEST_F()
26 memcpy(dstChar, srcChar, MAX_SIZE); in HWTEST_F()
28 size_t obj = random() % MAX_SIZE; in HWTEST_F()
29 size_t pos = random() % (MAX_SIZE in HWTEST_F()
[all...]
/third_party/musl/libc-test/src/functionalext/supplement/fortify/fortify_gtest/
H A Dfortify_memchr_chk_test.cpp7 constexpr int MAX_SIZE = 1024; variable
24 char srcChar[MAX_SIZE]; in HWTEST_F()
29 memset(srcChar, ~seekChar, MAX_SIZE); in HWTEST_F()
30 pos = random() % MAX_SIZE; in HWTEST_F()
31 obj = random() % MAX_SIZE; in HWTEST_F()
H A Dfortify_strchr_chk_test.cpp6 #define MAX_SIZE 1024 macro
25 char srcChar[MAX_SIZE]; in HWTEST_F()
30 memset(srcChar, ~dest, MAX_SIZE); in HWTEST_F()
31 pos = random() % (MAX_SIZE - 1); in HWTEST_F()
32 obj = random() % (MAX_SIZE - 1); in HWTEST_F()
H A Dfortify_strrchr_chk_test.cpp4 #define MAX_SIZE 1024 macro
23 char srcChar[MAX_SIZE]; in HWTEST_F()
29 memset(srcChar, ~dest, MAX_SIZE); in HWTEST_F()
30 pos = random() % (MAX_SIZE - 1); in HWTEST_F()
31 obj = random() % (MAX_SIZE - 1); in HWTEST_F()
H A Dfortify_strlcat_chk_test.cpp7 #define MAX_SIZE 1024 macro
23 char srcChar[MAX_SIZE] = "Source"; in HWTEST_F()
25 __strlcat_chk(srcChar, dstChar, MAX_SIZE, MAX_SIZE); in HWTEST_F()
/third_party/ffmpeg/libavfilter/
H A Dvf_unsharp.c321 #define MAX_SIZE 23 macro
323 { "luma_msize_x", "set luma matrix horizontal size", OFFSET(lmsize_x), AV_OPT_TYPE_INT, { .i64 = 5 }, MIN_SIZE, MAX_SIZE, FLAGS },
324 { "lx", "set luma matrix horizontal size", OFFSET(lmsize_x), AV_OPT_TYPE_INT, { .i64 = 5 }, MIN_SIZE, MAX_SIZE, FLAGS },
325 { "luma_msize_y", "set luma matrix vertical size", OFFSET(lmsize_y), AV_OPT_TYPE_INT, { .i64 = 5 }, MIN_SIZE, MAX_SIZE, FLAGS },
326 { "ly", "set luma matrix vertical size", OFFSET(lmsize_y), AV_OPT_TYPE_INT, { .i64 = 5 }, MIN_SIZE, MAX_SIZE, FLAGS },
329 { "chroma_msize_x", "set chroma matrix horizontal size", OFFSET(cmsize_x), AV_OPT_TYPE_INT, { .i64 = 5 }, MIN_SIZE, MAX_SIZE, FLAGS },
330 { "cx", "set chroma matrix horizontal size", OFFSET(cmsize_x), AV_OPT_TYPE_INT, { .i64 = 5 }, MIN_SIZE, MAX_SIZE, FLAGS },
331 { "chroma_msize_y", "set chroma matrix vertical size", OFFSET(cmsize_y), AV_OPT_TYPE_INT, { .i64 = 5 }, MIN_SIZE, MAX_SIZE, FLAGS },
332 { "cy", "set chroma matrix vertical size", OFFSET(cmsize_y), AV_OPT_TYPE_INT, { .i64 = 5 }, MIN_SIZE, MAX_SIZE, FLAGS },
335 { "alpha_msize_x", "set alpha matrix horizontal size", OFFSET(amsize_x), AV_OPT_TYPE_INT, { .i64 = 5 }, MIN_SIZE, MAX_SIZE, FLAG
[all...]
H A 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, FLAG
[all...]
/third_party/ltp/testcases/kernel/fs/racer/
H A Dfs_racer_file_create.sh24 MAX_SIZE=2000000
27 SIZE=$(($RANDOM*MAX_SIZE/32767))
/third_party/ltp/testcases/kernel/syscalls/getrandom/
H A Dgetrandom03.c13 #define MAX_SIZE 256 macro
29 char buf[MAX_SIZE]; in verify_getrandom()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
H A 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/
H A 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/
H A Dmain.c14 #define MAX_SIZE (4 * 1024 * 1024) macro
15 char temp[MAX_SIZE], compact[MAX_SIZE];
/third_party/ffmpeg/libavformat/
H A Dsol.c122 #define MAX_SIZE 4096 macro
131 ret= av_get_packet(s->pb, pkt, MAX_SIZE); in sol_read_packet()
H A Daiffdec.c389 #define MAX_SIZE 4096 macro
418 size = st->codecpar->block_align ? (MAX_SIZE / st->codecpar->block_align) * st->codecpar->block_align : MAX_SIZE; in aiff_read_packet()
H A 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/
H A 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()
1198 * dp->write_size will be MAX_SIZE, however on the first run dp->tsp in advance_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()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineRenderToImageTests.cpp82 MAX_SIZE = -1, //!< Should be queried at runtime and replaced with max possible value enumerator
116 IVec4 imageSizeHint; //!< (w, h, d, layers), a component may have a symbolic value MAX_SIZE
609 sizeHint.x() != MAX_SIZE ? sizeHint.x() : 4096, in getMaxImageSize()
610 sizeHint.y() != MAX_SIZE ? sizeHint.y() : 4096, in getMaxImageSize()
611 sizeHint.z() != MAX_SIZE ? sizeHint.z() : 256, in getMaxImageSize()
612 sizeHint.w() != MAX_SIZE ? sizeHint.w() : 256); in getMaxImageSize()
1450 const IVec4 imageSize = caseDef.imageSizeHint; // MAX_SIZE is not used in this test in testRenderToMipMaps()
1706 if (size[i] == MAX_SIZE) in getSizeDescription()
1766 sizes.push_back(tcu::select(IVec4(MAX_SIZE), baselineSize, bvecFromMask(*it))); in genSizeCombinations()
1820 sizes.erase(std::remove_if(begin(sizes), end(sizes), [&](const IVec4& v) { return v.x() == MAX_SIZE in addTestCasesWithFunctions()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
H A DvktPipelineRenderToImageTests.cpp80 MAX_SIZE = -1, //!< Should be queried at runtime and replaced with max possible value enumerator
114 IVec4 imageSizeHint; //!< (w, h, d, layers), a component may have a symbolic value MAX_SIZE
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()
1323 const IVec4 imageSize = caseDef.imageSizeHint; // MAX_SIZE is not used in this test in testRenderToMipMaps()
1579 if (size[i] == MAX_SIZE) in getSizeDescription()
1639 sizes.push_back(tcu::select(IVec4(MAX_SIZE), baselineSize, bvecFromMask(*it))); in genSizeCombinations()
1693 sizes.erase(std::remove_if(begin(sizes), end(sizes), [&](const IVec4& v) { return v.x() == MAX_SIZE in addTestCasesWithFunctions()
[all...]
/third_party/skia/tests/
H A DStreamTest.cpp33 #define MAX_SIZE (256 * 1024) macro
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory/
H A DvktMemoryPipelineBarrierTests.cpp94 MAX_SIZE = (128 * 1024) enumerator
6040 // make sure buffer is smaller then MAX_SIZE and is multiple of 16 (in glsl we use uvec4 to store 16 values)
6041 m_bufferSize = de::min(context.getBufferSize(), (vk::VkDeviceSize)MAX_SIZE);
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/memory/
H A DvktMemoryPipelineBarrierTests.cpp94 MAX_SIZE = (128 * 1024) enumerator
6040 // make sure buffer is smaller then MAX_SIZE and is multiple of 16 (in glsl we use uvec4 to store 16 values)
6041 m_bufferSize = de::min(context.getBufferSize(), (vk::VkDeviceSize)MAX_SIZE);

Completed in 32 milliseconds