/third_party/ffmpeg/tests/checkasm/ |
H A D | float_dsp.c | 30 #define LEN 256 macro 37 for (i = 0; i < LEN; i += 2) { \ 46 LOCAL_ALIGNED_32(float, cdst, [LEN]); in test_vector_fmul() 47 LOCAL_ALIGNED_32(float, odst, [LEN]); in test_vector_fmul() 53 call_ref(cdst, src0, src1, LEN); in test_vector_fmul() 54 call_new(odst, src0, src1, LEN); in test_vector_fmul() 55 for (i = 0; i < LEN; i++) { in test_vector_fmul() 64 bench_new(odst, src0, src1, LEN); in test_vector_fmul() 69 LOCAL_ALIGNED_32(double, cdst, [LEN]); in test_vector_dmul() 70 LOCAL_ALIGNED_32(double, odst, [LEN]); in test_vector_dmul() [all...] |
H A D | af_afir.c | 29 #define LEN 256 macro 36 for (i = 0; i < LEN*2+8; i += 2) { \ 45 LOCAL_ALIGNED_32(float, cdst, [LEN*2+8]); in test_fcmul_add() 46 LOCAL_ALIGNED_32(float, odst, [LEN*2+8]); in test_fcmul_add() 52 memcpy(cdst, src0, (LEN*2+8) * sizeof(float)); in test_fcmul_add() 53 memcpy(odst, src0, (LEN*2+8) * sizeof(float)); in test_fcmul_add() 54 call_ref(cdst, src1, src2, LEN); in test_fcmul_add() 55 call_new(odst, src1, src2, LEN); in test_fcmul_add() 56 for (i = 0; i <= LEN*2; i++) { in test_fcmul_add() 76 memcpy(odst, src0, (LEN* in test_fcmul_add() [all...] |
/third_party/ffmpeg/libavutil/tests/ |
H A D | pca.c | 32 #define LEN 8 in main() macro 33 double eigenvector[LEN*LEN]; in main() 34 double eigenvalue[LEN]; in main() 39 pca= ff_pca_init(LEN); in main() 42 double v[2*LEN+100]; in main() 44 int pos = av_lfg_get(&prng) % LEN; in main() 52 /* for(j=0; j<LEN; j++){ in main() 56 /* for(j=0; j<LEN; j++){ in main() 57 v[j] -= sum/LEN; in main() [all...] |
H A D | adler32.c | 28 #define LEN 7001 macro 33 uint8_t data[LEN]; in main() 38 for (i = 0; i < LEN; i++) in main() 44 checksum = av_adler32_update(1, data, LEN); in main() 48 checksum = av_adler32_update(1, data, LEN); in main()
|
/third_party/mesa3d/src/gallium/auxiliary/rbug/ |
H A D | rbug_texture.c | 50 LEN(8); /* header */ in rbug_send_texture_list() 86 LEN(8); /* header */ in rbug_send_texture_info() 87 LEN(8); /* texture */ in rbug_send_texture_info() 134 LEN(8); /* header */ in rbug_send_texture_write() 135 LEN(8); /* texture */ in rbug_send_texture_write() 136 LEN(4); /* face */ in rbug_send_texture_write() 137 LEN(4); /* level */ in rbug_send_texture_write() 138 LEN(4); /* zslice */ in rbug_send_texture_write() 139 LEN(4); /* x */ in rbug_send_texture_write() 140 LEN( in rbug_send_texture_write() [all...] |
H A D | rbug_context.c | 48 LEN(8); /* header */ in rbug_send_context_list() 84 LEN(8); /* header */ in rbug_send_context_info() 85 LEN(8); /* context */ in rbug_send_context_info() 123 LEN(8); /* header */ in rbug_send_context_draw_block() 124 LEN(8); /* context */ in rbug_send_context_draw_block() 125 LEN(4); /* block */ in rbug_send_context_draw_block() 164 LEN(8); /* header */ in rbug_send_context_draw_step() 165 LEN(8); /* context */ in rbug_send_context_draw_step() 166 LEN(4); /* step */ in rbug_send_context_draw_step() 205 LEN( in rbug_send_context_draw_unblock() [all...] |
H A D | rbug_shader.c | 49 LEN(8); /* header */ in rbug_send_shader_list() 50 LEN(8); /* context */ in rbug_send_shader_list() 88 LEN(8); /* header */ in rbug_send_shader_info() 89 LEN(8); /* context */ in rbug_send_shader_info() 90 LEN(8); /* shader */ in rbug_send_shader_info() 130 LEN(8); /* header */ in rbug_send_shader_disable() 131 LEN(8); /* context */ in rbug_send_shader_disable() 132 LEN(8); /* shader */ in rbug_send_shader_disable() 133 LEN(1); /* disable */ in rbug_send_shader_disable() 175 LEN( in rbug_send_shader_replace() [all...] |
H A D | rbug_core.c | 48 LEN(8); /* header */ in rbug_send_noop() 83 LEN(8); /* header */ in rbug_send_ping() 119 LEN(8); /* header */ in rbug_send_error() 120 LEN(4); /* error */ in rbug_send_error() 157 LEN(8); /* header */ in rbug_send_ping_reply() 158 LEN(4); /* serial */ in rbug_send_ping_reply() 196 LEN(8); /* header */ in rbug_send_error_reply() 197 LEN(4); /* serial */ in rbug_send_error_reply() 198 LEN(4); /* error */ in rbug_send_error_reply()
|
/third_party/ltp/testcases/kernel/syscalls/mmap/ |
H A D | mmap19.c | 24 #define LEN 64 macro 40 mm1 = SAFE_MMAP(0, LEN, PROT_READ, MAP_PRIVATE, f1, 0); in run() 41 mm2 = SAFE_MMAP(0, LEN, PROT_READ, MAP_PRIVATE, f2, 0); in run() 52 SAFE_MUNMAP(mm1, LEN); in run() 53 SAFE_MUNMAP(mm2, LEN); in run() 55 mm1 = SAFE_MMAP(save_mm2, LEN, PROT_READ, MAP_PRIVATE, f1, 0); in run() 56 mm2 = SAFE_MMAP(save_mm1, LEN, PROT_READ, MAP_PRIVATE, f2, 0); in run() 82 SAFE_MUNMAP(mm1, LEN); in cleanup() 85 SAFE_MUNMAP(mm2, LEN); in cleanup()
|
/third_party/musl/libc-test/src/functionalext/supplement/linux/ |
H A D | remap_file_pages.c | 22 #define LEN 8192 macro 105 char str[LEN] = {0}; in remap_file_pages_0100() 112 if (ret != LEN) { in remap_file_pages_0100() 121 char *start = mmap(NULL, LEN, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in remap_file_pages_0100() 142 int result = remap_file_pages(start, LEN >> 1, 0, 1, MAP_SHARED); in remap_file_pages_0100() 144 munmap(start, LEN); in remap_file_pages_0100() 149 result = remap_file_pages(start + 4096, LEN >> 1, 0, 0, MAP_SHARED); in remap_file_pages_0100() 151 munmap(start, LEN); in remap_file_pages_0100() 171 munmap(start, LEN); in remap_file_pages_0100()
|
/third_party/ltp/testcases/kernel/syscalls/memcpy/ |
H A D | memcpy01.c | 24 #define LEN 100 macro 58 {&buf[100], &buf[800], LEN}, 59 {&buf[800], &buf[100], LEN}, 72 memcpy(q, p, LEN); in verify_memcpy() 79 if (p[-1] || p[LEN]) { in verify_memcpy() 84 if (q[-1] || q[LEN]) { in verify_memcpy()
|
/third_party/ffmpeg/libavutil/arm/ |
H A D | float_dsp_vfp.S | 81 LEN .req v1 label 87 ldr LEN, [sp, #4*4+0] 90 add DST1, DST0, LEN, lsl #3 91 add SRC1, SRC1, LEN, lsl #2 92 add WIN1, WIN0, LEN, lsl #3 94 tst LEN, #7 100 tst LEN, #1 113 tst LEN, #2 133 tst LEN, #4 167 bics LEN, LE 351 LEN .req a3 global() label [all...] |
/third_party/optimized-routines/string/test/ |
H A D | memmove.c | 38 #define LEN 250000 macro 41 static unsigned char wbuf[LEN + 2 * A]; 63 if (len > LEN || dalign >= A || salign >= A) in test() 102 if (len > LEN || dalign >= A || salign >= A) in test_overlap() 137 dbuf = mte_mmap (LEN + 2 * A); in main() 138 sbuf = mte_mmap (LEN + 2 * A); in main() 152 for (; n < LEN; n *= 2) in main()
|
H A D | stpcpy.c | 43 #define LEN 512 macro 46 static char wbuf[LEN + 3 * ALIGN]; 68 if (len > LEN || dalign >= ALIGN || salign >= ALIGN) in test() 108 sbuf = mte_mmap (LEN + 3 * ALIGN); in main() 109 dbuf = mte_mmap (LEN + 3 * ALIGN); in main() 116 for (int n = 0; n < LEN; n++) in main()
|
H A D | memchr.c | 42 #define LEN 512 macro 63 if (len > LEN || seekpos > LEN || align > ALIGN) in test() 92 sbuf = mte_mmap (LEN + 3 * ALIGN); in main() 98 for (int n = 0; n < LEN; n++) in main() 100 for (int sp = 0; sp < LEN; sp++) in main()
|
H A D | memcpy.c | 40 #define LEN 250000 macro 43 static unsigned char wbuf[LEN + 2 * A]; 65 if (len > LEN || dalign >= A || salign >= A) in test() 99 dbuf = mte_mmap (LEN + 2 * A); in main() 100 sbuf = mte_mmap (LEN + 2 * A); in main() 111 for (; n < LEN; n *= 2) in main()
|
H A D | memrchr.c | 40 #define LEN 512 macro 61 if (len > LEN || seekpos > LEN || align > ALIGN) in test() 89 sbuf = mte_mmap (LEN + 3 * ALIGN); in main() 95 for (int n = 0; n < LEN; n++) in main() 97 for (int sp = 0; sp < LEN; sp++) in main()
|
H A D | strcpy.c | 41 #define LEN 512 macro 44 static char wbuf[LEN + 3 * ALIGN]; 66 if (len > LEN || dalign >= ALIGN || salign >= ALIGN) in test() 106 sbuf = mte_mmap (LEN + 3 * ALIGN); in main() 107 dbuf = mte_mmap (LEN + 3 * ALIGN); in main() 114 for (int n = 0; n < LEN; n++) in main()
|
H A D | memcmp.c | 38 #define LEN 250000 macro 60 if (len > LEN || s1align >= A || s2align >= A) in test() 92 s1buf = mte_mmap (LEN + 2 * A); in main() 93 s2buf = mte_mmap (LEN + 2 * A); in main() 113 for (; n < LEN; n *= 2) in main()
|
H A D | strnlen.c | 43 #define LEN 512 macro 62 if (len > LEN || align >= ALIGN) in test() 91 sbuf = mte_mmap (LEN + 3 * ALIGN); in main() 97 for (int n = 0; n < LEN; n++) in main() 99 for (int maxlen = 0; maxlen < LEN; maxlen++) in main()
|
H A D | strlen.c | 45 #define LEN 512 macro 63 if (len > LEN || align >= ALIGN) in test() 88 sbuf = mte_mmap (LEN + 3 * ALIGN); in main() 94 for (int n = 0; n < LEN; n++) in main()
|
H A D | strncmp.c | 39 #define LEN 250000 macro 61 if (len > LEN || s1align >= A || s2align >= A) in test() 101 s1buf = mte_mmap (LEN + 2 * A + 1); in main() 102 s2buf = mte_mmap (LEN + 2 * A + 1); in main() 125 for (; n < LEN; n *= 2) in main()
|
/third_party/musl/libc-test/src/functionalext/supplement/mman/mman_gtest/ |
H A D | mman_madvise_test.cpp | 12 constexpr size_t LEN = 2048; variable 25 void* addr = mmap(nullptr, LEN, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in HWTEST_F() 27 int result = madvise(addr, LEN, MADV_NORMAL); in HWTEST_F() 30 munmap(addr, LEN); in HWTEST_F()
|
/third_party/libwebsockets/scripts/ |
H A D | esp32.mk | 41 LEN=$$($$GNUSTAT -c %s $(LWS_BUILD_PATH)/$(PROJECT_NAME).bin) ;\ 42 printf " Original length: 0x%06x (%8d)\n" $$LEN $$LEN ; \ 48 LEN=$$($$GNUSTAT -c %s $(LWS_BUILD_PATH)/$(PROJECT_NAME).bin) ;\ 72 LEN=$$($$GNUSTAT -c %s $(LWS_BUILD_PATH)/$(PROJECT_NAME).bin) ;\ 74 printf " After ROMFS + Build info: 0x%06x (%8d)\n" $$LEN $$LEN
|
/third_party/libinput/src/ |
H A D | quirks.c | 403 #define LEN (KENV_MVALLEN + 1) in init_dmi_freebsd() macro 405 char bios_vendor[LEN], bios_version[LEN], bios_date[LEN]; in init_dmi_freebsd() 406 char sys_vendor[LEN], product_name[LEN], product_version[LEN]; in init_dmi_freebsd() 407 char board_vendor[LEN], board_name[LEN], board_version[LEN]; in init_dmi_freebsd() 423 #undef LEN init_dmi_freebsd() macro [all...] |