/external/adhd/cras/src/tests/ |
fmt_conv_unittest.cc | 65 const size_t buf_size = 4096; local 76 c = cras_fmt_conv_create(&in_fmt, &out_fmt, buf_size, 0); 79 out_frames = cras_fmt_conv_out_frames_to_in(c, buf_size); 80 EXPECT_EQ(buf_size, out_frames); 82 out_frames = cras_fmt_conv_in_frames_to_out(c, buf_size); 83 EXPECT_EQ(buf_size, out_frames); 85 in_buff = (int16_t *)ralloc(buf_size * 2 * cras_get_format_bytes(&in_fmt)); 86 out_buff = (int16_t *)ralloc(buf_size * 2 * cras_get_format_bytes(&out_fmt)); 91 buf_size); 92 EXPECT_EQ(buf_size, out_frames) 116 const size_t buf_size = 4096; local 167 const size_t buf_size = 100; local 227 const size_t buf_size = 4096; local 334 const size_t buf_size = 4096; local 369 const size_t buf_size = 4096; local 404 const size_t buf_size = 4096; local 444 const size_t buf_size = 4096; local 485 const size_t buf_size = 4096; local 526 const size_t buf_size = 4096; local 568 const size_t buf_size = 4096; local 609 const size_t buf_size = 4096; local 650 const size_t buf_size = 4096; local 692 const size_t buf_size = 4096; local 735 const size_t buf_size = 4096; local 787 const size_t buf_size = 4096; local 839 const size_t buf_size = 4096; local 882 const size_t buf_size = 4096; local 926 const size_t buf_size = 4096; local 970 const size_t buf_size = 4096; local 1015 const size_t buf_size = 4096; local 1059 const size_t buf_size = 4096; local 1108 const size_t buf_size = 4096; local [all...] |
/system/update_engine/payload_generator/ |
bzip.cc | 37 size_t buf_size = 40 + in.size() * 35 / 100; 38 out->resize(buf_size); 42 if (buf_size > std::numeric_limits<uint32_t>::max()) 44 uint32_t data_size = buf_size; 61 buf_size *= 2; 62 out->resize(buf_size);
|
/system/core/liblog/ |
logd_reader.h | 26 LIBLOG_HIDDEN ssize_t __send_log_msg(char* buf, size_t buf_size);
|
/external/swiftshader/third_party/subzero/crosstest/ |
test_bitmanip.cpp | 24 const size_t buf_size = 8; \ 25 type buf[buf_size]; \ 26 for (size_t i = 0; i < buf_size; ++i) { \ 30 for (size_t i = 0; i < buf_size; ++i) { \ 45 const size_t buf_size = 8; \ 46 type buf[buf_size]; \ 47 for (size_t i = 0; i < buf_size; ++i) { \ 51 for (size_t i = 0; i < buf_size; ++i) { \
|
/system/libufdt/tests/src/ |
extract_dtb.c | 26 int find_dtb_header_pos(const char *buf, size_t buf_size) { 27 if (buf == NULL || buf_size == 0) { 31 int pos = buf_size; 48 const char *buf, size_t buf_size) { 49 int tag_pos = find_dtb_header_pos(buf, buf_size); 63 size_t fdt_actual_size = buf_size - tag_pos; 100 size_t buf_size; local 101 buf = load_file(in_filename, &buf_size); 109 while (buf_size > 0) { 113 tag_pos = find_and_write_dtb(filename, buf, buf_size); [all...] |
util.h | 23 int write_buf_to_file(const char *filename, const void *buf, size_t buf_size);
|
/device/google/marlin/camera/QCamera2/stack/mm-camera-interface/inc/ |
mm_camera_sock.h | 57 size_t buf_size, 63 size_t buf_size, 70 uint32_t buf_size,
|
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-interface/inc/ |
mm_camera_sock.h | 57 size_t buf_size, 63 size_t buf_size, 70 uint32_t buf_size,
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/h/ |
BufFileInput.h | 29 // buf_size - size of buffer (maximal length for string in is_in)
31 BufFileInput(FILE *f, int buf_size = 8 );
|
BufFileInput.cpp | 34 BufFileInput::BufFileInput( FILE *f, int buf_size )
36 buf( new int[buf_size] ),
37 size( buf_size ),
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Other/Maintained/Tools/Pccts/h/ |
BufFileInput.h | 29 // buf_size - size of buffer (maximal length for string in is_in)
31 BufFileInput(FILE *f, int buf_size = 8 );
|
BufFileInput.cpp | 34 BufFileInput::BufFileInput( FILE *f, int buf_size )
36 buf( new int[buf_size] ),
37 size( buf_size ),
|
/external/compiler-rt/lib/tsan/rtl/ |
tsan_platform_windows.cc | 31 void WriteMemoryProfile(char *buf, uptr buf_size, uptr nthread, uptr nlive) {
|
/hardware/qcom/msm8996/kernel-headers/scsi/ufs/ |
ioctl.h | 27 __u16 buf_size; member in struct:ufs_ioctl_query_data
|
/hardware/qcom/msm8996/original-kernel-headers/scsi/ufs/ |
ioctl.h | 16 * @buf_size: number of allocated bytes/data size on return 19 * Received: buffer and buf_size (available space for transfered data) 20 * Submitted: opcode, idn, length, buf_size 44 * buf_size. So we are updating buf_size to what exactly we have read. 46 __u16 buf_size; member in struct:ufs_ioctl_query_data
|
/hardware/qcom/msm8998/kernel-headers/scsi/ufs/ |
ioctl.h | 27 __u16 buf_size; member in struct:ufs_ioctl_query_data
|
/hardware/qcom/msm8998/original-kernel-headers/scsi/ufs/ |
ioctl.h | 16 * @buf_size: number of allocated bytes/data size on return 19 * Received: buffer and buf_size (available space for transfered data) 20 * Submitted: opcode, idn, length, buf_size 44 * buf_size. So we are updating buf_size to what exactly we have read. 46 __u16 buf_size; member in struct:ufs_ioctl_query_data
|
/external/strace/tests/ |
s390_pci_mmio_read_write.c | 84 static const size_t buf_size = DEFAULT_STRLEN + 10; local 86 char *buf = tail_alloc(buf_size); 101 { (kernel_ulong_t) (buf + buf_size), NULL, 0 }, 102 { (kernel_ulong_t) (buf), NULL, buf_size }, 103 { (kernel_ulong_t) (buf + 9), NULL, buf_size - 9 }, 104 { (kernel_ulong_t) (buf + 10), NULL, buf_size - 10 }, 105 { (kernel_ulong_t) (buf + 16), NULL, buf_size - 16 }, 106 { (kernel_ulong_t) (buf + 26), NULL, buf_size - 26 }, 107 { (kernel_ulong_t) (buf + 28), NULL, buf_size - 28 }, 116 buf_size, [all...] |
/external/strace/tests-m32/ |
s390_pci_mmio_read_write.c | 84 static const size_t buf_size = DEFAULT_STRLEN + 10; local 86 char *buf = tail_alloc(buf_size); 101 { (kernel_ulong_t) (buf + buf_size), NULL, 0 }, 102 { (kernel_ulong_t) (buf), NULL, buf_size }, 103 { (kernel_ulong_t) (buf + 9), NULL, buf_size - 9 }, 104 { (kernel_ulong_t) (buf + 10), NULL, buf_size - 10 }, 105 { (kernel_ulong_t) (buf + 16), NULL, buf_size - 16 }, 106 { (kernel_ulong_t) (buf + 26), NULL, buf_size - 26 }, 107 { (kernel_ulong_t) (buf + 28), NULL, buf_size - 28 }, 116 buf_size, [all...] |
/external/strace/tests-mx32/ |
s390_pci_mmio_read_write.c | 84 static const size_t buf_size = DEFAULT_STRLEN + 10; local 86 char *buf = tail_alloc(buf_size); 101 { (kernel_ulong_t) (buf + buf_size), NULL, 0 }, 102 { (kernel_ulong_t) (buf), NULL, buf_size }, 103 { (kernel_ulong_t) (buf + 9), NULL, buf_size - 9 }, 104 { (kernel_ulong_t) (buf + 10), NULL, buf_size - 10 }, 105 { (kernel_ulong_t) (buf + 16), NULL, buf_size - 16 }, 106 { (kernel_ulong_t) (buf + 26), NULL, buf_size - 26 }, 107 { (kernel_ulong_t) (buf + 28), NULL, buf_size - 28 }, 116 buf_size, [all...] |
/external/vboot_reference/tests/ |
vb21_common_tests.c | 259 uint32_t buf_size; local 283 buf_size = kbuf->c.total_size; 286 buf2 = malloc(buf_size); 287 memcpy(buf2, buf, buf_size); 292 TEST_SUCC(vb2_verify_keyblock(kbuf, buf_size, &pubk, &wb), 295 memcpy(buf, buf2, buf_size); 296 TEST_SUCC(vb2_verify_keyblock(kbuf, buf_size, &pubk2, &wb), 299 memcpy(buf, buf2, buf_size); 300 TEST_EQ(vb2_verify_keyblock(kbuf, buf_size, &pubk3, &wb), 304 memcpy(buf, buf2, buf_size); 386 uint32_t buf_size; local [all...] |
/external/libavc/test/encoder/ |
output.c | 67 WORD32 buf_size; local 71 buf_size = ps_app_ctxt->s_get_buf_info_op.s_ive_op.au4_min_out_buf_size[0]; 77 pu1_buf = (UWORD8 *)ih264a_aligned_malloc(16, buf_size); 82 buf_size); 86 ps_app_ctxt->as_output_buf[i].u4_buf_size = buf_size;
|
/external/compiler-rt/test/msan/Linux/ |
xattr.cc | 59 int buf_size = 1024; variable 61 *buf = (char *)malloc(buf_size); 62 assert(__msan_test_shadow(*buf, buf_size) != -1); 63 ssize_t res = fun(*buf, buf_size); 65 assert(__msan_test_shadow(*buf, buf_size) == res); 74 buf_size *= 2; 83 int buf_size = 1024; variable 85 buf = (char *)malloc(buf_size); 86 assert(__msan_test_shadow(buf, buf_size) != -1); 87 ssize_t res = fun(attr_name, buf, buf_size); [all...] |
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
Camera2Heap.h | 29 explicit Camera2Heap(size_t buf_size, uint_t num_buffers = 1, 31 mBufSize(buf_size), 33 mHeap = new MemoryHeapBase(buf_size * num_buffers, 0, name);
|
/external/pdfium/core/fpdfapi/parser/ |
fpdf_parser_decode_embeddertest.cpp | 40 uint32_t buf_size; local 41 EXPECT_TRUE(FlateEncode(data.input, data.input_size, &buf, &buf_size)); 43 EXPECT_EQ(data.expected_size, buf_size) << " for case " << i; 44 if (data.expected_size != buf_size) 77 uint32_t buf_size; local 79 FlateDecode(data.input, data.input_size, &buf, &buf_size)) 82 EXPECT_EQ(data.expected_size, buf_size) << " for case " << i; 83 if (data.expected_size != buf_size)
|