/third_party/libsnd/tests/ |
H A D | headerless_test.c | 37 #define BUFFER_SIZE (2000) macro 58 { static short buffer [BUFFER_SIZE] ; in headerless_test() 67 for (k = 0 ; k < BUFFER_SIZE ; k++) in headerless_test() 77 if ((k = (int) sf_write_short (file, buffer, BUFFER_SIZE)) != BUFFER_SIZE) in headerless_test() 78 { printf ("Line %d: sf_write_short failed with short write (%d => %d).\n", __LINE__, BUFFER_SIZE, k) ; in headerless_test() 98 if (sfinfo.frames < BUFFER_SIZE) in headerless_test() 99 { printf ("Line %d: Incorrect number of.frames in file. (%d => %" PRId64 ")\n", __LINE__, BUFFER_SIZE, sfinfo.frames) ; in headerless_test() 118 { static short buffer [BUFFER_SIZE] ; in old_test() 126 for (k = 0 ; k < BUFFER_SIZE ; in old_test() [all...] |
H A D | dwvw_test.c | 36 #define BUFFER_SIZE (10000) macro 56 { static int write_buf [BUFFER_SIZE] ; in dwvw_test() 57 static int read_buf [BUFFER_SIZE] ; in dwvw_test() 76 for (k = 0 ; k < BUFFER_SIZE / 2 ; k++) in dwvw_test() 81 for ( ; k < BUFFER_SIZE ; k++) in dwvw_test() 84 sf_write_int (file, write_buf, BUFFER_SIZE) ; in dwvw_test() 89 if ((k = (int) sf_read_int (file, read_buf, BUFFER_SIZE)) != BUFFER_SIZE) in dwvw_test() 90 { printf ("Error (line %d) : Only read %d/%d.frames.\n", __LINE__, k, BUFFER_SIZE) ; in dwvw_test() 94 for (k = 0 ; k < BUFFER_SIZE ; in dwvw_test() [all...] |
H A D | ulaw_test.c | 35 #define BUFFER_SIZE (65536) macro 40 static short short_buffer [BUFFER_SIZE] ; 41 static unsigned char ulaw_buffer [BUFFER_SIZE] ; 70 sf_write_short (file, short_buffer, BUFFER_SIZE) ; in main() 85 if (sf_read_raw (file, ulaw_buffer, BUFFER_SIZE) != BUFFER_SIZE) in main()
|
H A D | alaw_test.c | 35 #define BUFFER_SIZE (65536) macro 40 static short short_buffer [BUFFER_SIZE] ; 41 static unsigned char alaw_buffer [BUFFER_SIZE] ; 70 sf_write_short (file, short_buffer, BUFFER_SIZE) ; in main() 85 if (sf_read_raw (file, alaw_buffer, BUFFER_SIZE) != BUFFER_SIZE) in main()
|
H A D | sftest.c | 31 #define BUFFER_SIZE (1024) macro 34 static short buffer [BUFFER_SIZE] ; 53 while ((count = sf_read_short (file, buffer, BUFFER_SIZE))) in main()
|
/third_party/ffmpeg/tests/checkasm/ |
H A D | utvideodsp.c | 32 #define BUFFER_SIZE (WIDTH_PADDED * HEIGHT) macro 58 LOCAL_ALIGNED_32(type, src_r0, [BUFFER_SIZE]); \ 59 LOCAL_ALIGNED_32(type, src_g0, [BUFFER_SIZE]); \ 60 LOCAL_ALIGNED_32(type, src_b0, [BUFFER_SIZE]); \ 61 LOCAL_ALIGNED_32(type, src_r1, [BUFFER_SIZE]); \ 62 LOCAL_ALIGNED_32(type, src_g1, [BUFFER_SIZE]); \ 63 LOCAL_ALIGNED_32(type, src_b1, [BUFFER_SIZE]); \ 67 memset(src_r0, 0, BUFFER_SIZE * sizeof(type)); \ 68 memset(src_g0, 0, BUFFER_SIZE * sizeof(type)); \ 69 memset(src_b0, 0, BUFFER_SIZE * sizeo [all...] |
/third_party/openssl/test/ |
H A D | afalgtest.c | 23 #define BUFFER_SIZE 17 macro 32 unsigned char ebuf[BUFFER_SIZE + 32]; in test_afalg_aes_cbc() 33 unsigned char dbuf[BUFFER_SIZE + 32]; in test_afalg_aes_cbc() 43 static const unsigned char in[BUFFER_SIZE] = in test_afalg_aes_cbc() 46 static const unsigned char encresult_128[BUFFER_SIZE] = in test_afalg_aes_cbc() 49 static const unsigned char encresult_192[BUFFER_SIZE] = in test_afalg_aes_cbc() 52 static const unsigned char encresult_256[BUFFER_SIZE] = in test_afalg_aes_cbc() 86 || !TEST_true(EVP_CipherUpdate(ctx, ebuf, &encl, in, BUFFER_SIZE)) in test_afalg_aes_cbc() 91 if (!TEST_mem_eq(enc_result, BUFFER_SIZE, ebuf, BUFFER_SIZE)) in test_afalg_aes_cbc() [all...] |
/third_party/musl/libc-test/src/functional/ |
H A D | iconv_test.c | 21 #define BUFFER_SIZE 200
macro 93 char output[BUFFER_SIZE];
in CompareIconvResult() 95 param.outputLen = BUFFER_SIZE;
in CompareIconvResult() 106 param.inputLen = BUFFER_SIZE - param.outputLen;
in CompareIconvResult() 107 char newOutput[BUFFER_SIZE];
in CompareIconvResult() 109 param.outputLen = BUFFER_SIZE;
in CompareIconvResult() 116 if (srcLen != BUFFER_SIZE - param.outputLen) {
in CompareIconvResult() 145 char output[BUFFER_SIZE];
in main() 147 param.outputLen = BUFFER_SIZE;
in main() 154 inputLen = BUFFER_SIZE in main() [all...] |
/third_party/libsnd/src/G72x/ |
H A D | g72x_test.c | 38 #define BUFFER_SIZE (1 << 14) macro 94 { static double orig_buffer [BUFFER_SIZE] ; in g723_test() 95 static short orig [BUFFER_SIZE] ; in g723_test() 96 static short data [BUFFER_SIZE] ; in g723_test() 111 memset (data, 0, BUFFER_SIZE * sizeof (short)) ; in g723_test() 112 memset (orig, 0, BUFFER_SIZE * sizeof (short)) ; in g723_test() 117 gen_signal_double (orig_buffer, 32000.0, BUFFER_SIZE) ; in g723_test() 118 for (k = 0 ; k < BUFFER_SIZE ; k++) in g723_test() 124 for (k = 0 ; k < BUFFER_SIZE ; k++) in g723_test() 135 for (k = 0 ; k < BUFFER_SIZE ; in g723_test() [all...] |
/third_party/lz4/tests/ |
H A D | decompress-partial-usingDict.c | 29 #define BUFFER_SIZE 2048 macro 36 char cmpBuffer[BUFFER_SIZE]; in main() 37 char* const buffer = (char*)malloc(BUFFER_SIZE + largeSize); in main() 49 cmpSize = LZ4_compress_default(source, cmpBuffer, srcLen, BUFFER_SIZE); in main() 52 int result = LZ4_decompress_safe_partial_usingDict(cmpBuffer, outBuffer, i, srcLen, BUFFER_SIZE, NULL, 0); in main() 62 int result = LZ4_decompress_safe_partial_usingDict(cmpBuffer, outBuffer, i, srcLen, BUFFER_SIZE, outBuffer - smallSize, smallSize); in main() 72 int result = LZ4_decompress_safe_partial_usingDict(cmpBuffer, outBuffer, i, srcLen, BUFFER_SIZE, buffer, largeSize); in main() 82 int result = LZ4_decompress_safe_partial_usingDict(cmpBuffer, outBuffer, i, srcLen, BUFFER_SIZE, smallDict, smallSize); in main() 92 int result = LZ4_decompress_safe_partial_usingDict(cmpBuffer, outBuffer, i, srcLen, BUFFER_SIZE, largeDict, largeSize); in main()
|
H A D | decompress-partial.c | 27 #define BUFFER_SIZE 2048 macro 32 char cmpBuffer[BUFFER_SIZE]; in main() 33 char outBuffer[BUFFER_SIZE]; in main() 37 cmpSize = LZ4_compress_default(source, cmpBuffer, srcLen, BUFFER_SIZE); in main() 40 int result = LZ4_decompress_safe_partial(cmpBuffer, outBuffer, i, srcLen, BUFFER_SIZE); in main()
|
/third_party/musl/porting/liteos_a/user/src/network/ |
H A D | ether.c | 8 #define BUFFER_SIZE 200 macro 52 char buf[BUFFER_SIZE], *ch, *ptr = NULL; in ether_line() 87 char buf[BUFFER_SIZE + 1]; in ether_ntohost() 88 char temp_name[BUFFER_SIZE]; in ether_ntohost() 98 while (fgets(buf, BUFFER_SIZE, f)) { in ether_ntohost() 118 char buf[BUFFER_SIZE + 1]; in ether_hostton() 119 char temp_name[BUFFER_SIZE]; in ether_hostton() 129 while (fgets(buf, BUFFER_SIZE, f)) { in ether_hostton()
|
/third_party/musl/src/network/ |
H A D | ether.c | 10 #define BUFFER_SIZE 200 macro 56 char buf[BUFFER_SIZE], *ch, *ptr = NULL; in ether_line() 95 char buf[BUFFER_SIZE + 1]; in ether_ntohost() 96 char temp_name[BUFFER_SIZE]; in ether_ntohost() 106 while (fgets(buf, BUFFER_SIZE, f)) { in ether_ntohost() 130 char buf[BUFFER_SIZE + 1]; in ether_hostton() 131 char temp_name[BUFFER_SIZE]; in ether_hostton() 141 while (fgets(buf, BUFFER_SIZE, f)) { in ether_hostton()
|
/third_party/skia/third_party/externals/brotli/research/ |
H A D | brotli_decoder.c | 13 #define BUFFER_SIZE (1u << 20) macro 50 size_t available_out = BUFFER_SIZE; in main() 58 ctx.input_buffer = (uint8_t*)malloc(BUFFER_SIZE); in main() 60 ctx.output_buffer = (uint8_t*)malloc(BUFFER_SIZE); in main() 70 available_in = fread(ctx.input_buffer, 1, BUFFER_SIZE, ctx.fin); in main() 74 fwrite(ctx.output_buffer, 1, BUFFER_SIZE, ctx.fout); in main() 76 available_out = BUFFER_SIZE; in main()
|
/third_party/musl/libc-test/src/functionalext/supplement/unistd/ |
H A D | preadv.c | 21 #define BUFFER_SIZE 8 macro 31 char buf1[BUFFER_SIZE]; in preadv_0100() 32 char buf2[BUFFER_SIZE]; in preadv_0100() 35 memset(buf1, '\0', BUFFER_SIZE); in preadv_0100() 36 memset(buf2, '\0', BUFFER_SIZE); in preadv_0100()
|
/third_party/libuv/test/ |
H A D | test-ipc-heavy-traffic-deadlock-bug.c | 34 #define BUFFER_SIZE 0x2000 /* 8 kb. */ macro 37 #define XFER_SIZE (NUM_WRITES * BUFFERS_PER_WRITE * BUFFER_SIZE) 41 char buffers[BUFFER_SIZE][BUFFERS_PER_WRITE]; 53 bytes_written += BUFFERS_PER_WRITE * BUFFER_SIZE; in write_cb() 72 memset(&write_info->buffers[i], BUFFER_CONTENT, BUFFER_SIZE); in do_write() 73 bufs[i] = uv_buf_init(write_info->buffers[i], BUFFER_SIZE); in do_write()
|
/third_party/musl/libc-test/src/functionalext/supplement/stdio/ |
H A D | sprintf.c | 20 #define BUFFER_SIZE 1024 macro 24 char str[BUFFER_SIZE]; in sprintf_specifier_tests() 78 char str[BUFFER_SIZE]; in sprintf_flag_tests() 97 char str[BUFFER_SIZE]; in sprintf_width_tests() 110 char str[BUFFER_SIZE]; in sprintf_precision_tests()
|
/third_party/libdrm/tests/amdgpu/ |
H A D | bo_tests.c | 32 #define BUFFER_SIZE (4*1024) macro 78 req.alloc_size = BUFFER_SIZE; in suite_bo_tests_init() 88 BUFFER_SIZE, BUFFER_ALIGN, 0, in suite_bo_tests_init() 93 r = amdgpu_bo_va_op(buf_handle, 0, BUFFER_SIZE, va, 0, AMDGPU_VA_OP_MAP); in suite_bo_tests_init() 114 r = amdgpu_bo_va_op(buffer_handle, 0, BUFFER_SIZE, in suite_bo_tests_clean() 148 CU_ASSERT_EQUAL(res.alloc_size, BUFFER_SIZE); in amdgpu_bo_export_import_do_type() 193 for (i = 0; i < (BUFFER_SIZE / 4); ++i) in amdgpu_bo_map_unmap()
|
/third_party/icu/icu4c/source/i18n/ |
H A D | inputext.cpp | 23 #define BUFFER_SIZE 8192 macro 29 : fInputBytes(NEW_ARRAY(uint8_t, BUFFER_SIZE)), // The text to be checked. Markup will have been in InputText() 98 for (srci = 0; srci < fRawLength && dsti < BUFFER_SIZE; srci += 1) { in MungeInput() 132 if (limit > BUFFER_SIZE) { in MungeInput() 133 limit = BUFFER_SIZE; in MungeInput()
|
/third_party/node/test/parallel/ |
H A D | test-dgram-bind-fd.js | 13 const BUFFER_SIZE = 4096; 58 recvBufferSize: BUFFER_SIZE, 59 sendBufferSize: BUFFER_SIZE, 81 BUFFER_SIZE * 2 : BUFFER_SIZE;
|
/third_party/node/deps/icu-small/source/i18n/ |
H A D | inputext.cpp | 23 #define BUFFER_SIZE 8192 macro 29 : fInputBytes(NEW_ARRAY(uint8_t, BUFFER_SIZE)), // The text to be checked. Markup will have been in InputText() 98 for (srci = 0; srci < fRawLength && dsti < BUFFER_SIZE; srci += 1) { in MungeInput() 132 if (limit > BUFFER_SIZE) { in MungeInput() 133 limit = BUFFER_SIZE; in MungeInput()
|
/third_party/musl/libc-test/src/common/ |
H A D | cfi_util.h | 29 #define BUFFER_SIZE 4096
macro 59 char tmp[BUFFER_SIZE];
in ClearCfiLog() 60 snprintf(tmp, BUFFER_SIZE, "%s/%s", log_dir, ptr->d_name);
in ClearCfiLog() 120 char tmp[BUFFER_SIZE];
in FindDirAndCheck() 121 snprintf(tmp, BUFFER_SIZE, "%s/%s", log_dir, ptr->d_name);
in FindDirAndCheck()
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | inputext.cpp | 23 #define BUFFER_SIZE 8192 macro 29 : fInputBytes(NEW_ARRAY(uint8_t, BUFFER_SIZE)), // The text to be checked. Markup will have been in InputText() 98 for (srci = 0; srci < fRawLength && dsti < BUFFER_SIZE; srci += 1) { in MungeInput() 132 if (limit > BUFFER_SIZE) { in MungeInput() 133 limit = BUFFER_SIZE; in MungeInput()
|
/third_party/pulseaudio/sonic/ |
H A D | main.c | 14 #define BUFFER_SIZE 2048 macro 30 short inBuffer[BUFFER_SIZE], outBuffer[BUFFER_SIZE]; in runSonic() 40 samplesRead = readFromWaveFile(inFile, inBuffer, BUFFER_SIZE/numChannels); in runSonic() 48 BUFFER_SIZE/numChannels); in runSonic()
|
/third_party/skia/tools/ |
H A D | win_lcid.cpp | 10 #define BUFFER_SIZE 512 macro 12 WCHAR wcBuffer[BUFFER_SIZE]; in MyFuncLocaleEx() 15 bufferSize = GetLocaleInfoEx(pStr, LOCALE_SENGLANGUAGE, wcBuffer, BUFFER_SIZE); in MyFuncLocaleEx()
|