/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);
|
/hardware/qcom/gps/msm8998/utils/platform_lib_abstractions/loc_pla/src/ |
platform_lib_log_util.cpp | 30 char * get_timestamp(char *str, unsigned long buf_size) 39 snprintf(str, buf_size, "%02d:%02d:%02d.%06ld", hh, mm, ss, tv.tv_usec);
|
/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,
|
/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
|
/device/huawei/angler/camera/QCamera2/stack/mm-camera-interface/inc/ |
mm_camera_sock.h | 53 size_t buf_size, 59 uint32_t buf_size,
|
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-interface/inc/ |
mm_camera_sock.h | 53 size_t buf_size, 59 uint32_t buf_size,
|
/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/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_suspend/ |
9-1.c | 49 static int do_test(int num_aiocbs, size_t buf_size) 76 int file_size = num_aiocbs * buf_size; 103 aiocbs[i]->aio_offset = i * buf_size; 104 aiocbs[i]->aio_buf = &bufs[i * buf_size]; 105 aiocbs[i]->aio_nbytes = buf_size; 173 if ((err != 0) && ((size_t)ret != buf_size)) { 197 int buf_size = 1024 * 64; local 205 ret = do_test(aio_cbs, buf_size); 206 buf_size += buf_size / 4 [all...] |
/bionic/libc/bionic/ |
pthread_setname_np.cpp | 51 int pthread_getname_np(pthread_t t, char* buf, size_t buf_size) { 54 if (buf_size < MAX_TASK_COMM_LEN) return ERANGE; 65 ssize_t n = TEMP_FAILURE_RETRY(read(fd, buf, buf_size)); 77 if (n == static_cast<ssize_t>(buf_size)) return ERANGE;
|
/development/ndk/platforms/android-9/include/linux/ |
random.h | 31 int buf_size; member in struct:rand_pool_info
|
/external/strace/mpers-m32/ |
struct_blk_user_trace_setup.h | 8 uint32_t buf_size; member in struct:__anon30244
|
/external/strace/mpers-mx32/ |
struct_blk_user_trace_setup.h | 8 uint32_t buf_size; member in struct:__anon30393
|
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/ |
hndrte_cons.h | 31 uint buf_size; member in struct:__anon39983
|