| /frameworks/base/media/jni/ |
| android_media_ResampleInputStream.cpp | 73 static const int BUF_SIZE = 2048; 82 if (nFir21 + jNpoints * 2 > BUF_SIZE) { 89 short in[BUF_SIZE]; 93 short out[BUF_SIZE];
|
| /frameworks/minikin/tests/util/ |
| UnicodeUtils.cpp | 28 void ParseUnicode(uint16_t* buf, size_t buf_size, const char* src, size_t* result_size, 41 LOG_ALWAYS_FATAL_IF(output_ix >= buf_size); 62 LOG_ALWAYS_FATAL_IF(output_ix + 1 > buf_size); 66 LOG_ALWAYS_FATAL_IF(output_ix + 2 > buf_size);
|
| /hardware/qcom/msm8996/kernel-headers/scsi/ufs/ |
| ioctl.h | 27 __u16 buf_size; member in struct:ufs_ioctl_query_data
|
| /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/linux/ |
| random.h | 39 int buf_size; member in struct:rand_pool_info
|
| /system/core/liblog/ |
| logd_reader.h | 26 LIBLOG_HIDDEN ssize_t __send_log_msg(char* buf, size_t buf_size);
|
| /system/libufdt/tests/src/ |
| util.h | 23 int write_buf_to_file(const char *filename, const void *buf, size_t buf_size);
|
| util.c | 62 const void *buf, size_t buf_size) { 71 if (fwrite(buf, 1, buf_size, fout) < 1) {
|
| /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/kernel-headers/original/uapi/linux/ |
| cciss_ioctl.h | 44 WORD buf_size; /* size in bytes of the buf */ member in struct:_IOCTL_Command_struct 53 DWORD buf_size; /* size in bytes of the buf */ member in struct:_BIG_IOCTL_Command_struct
|
| /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_open/ |
| 20-1.c | 29 #define BUF_SIZE 8 50 result = ftruncate(fd, BUF_SIZE);
|
| 20-2.c | 29 #define BUF_SIZE 8 50 result = ftruncate(fd, BUF_SIZE);
|
| /external/ltp/testcases/open_posix_testsuite/functional/semaphores/ |
| sem_lock.c | 24 #define BUF_SIZE 200 34 char buf[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);
|
| /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/ |
| cciss_ioctl.h | 44 WORD buf_size; /* size in bytes of the buf */ member in struct:_IOCTL_Command_struct 53 DWORD buf_size; /* size in bytes of the buf */ member in struct:_BIG_IOCTL_Command_struct
|
| /external/autotest/client/site_tests/platform_CompressedSwapPerf/src/ |
| hog.c | 32 size_t buf_size = 0; variable 54 global_buf[index % buf_size] = 0x00; 56 dummy = global_buf[index % buf_size]; 64 size_t new_buf_size = buf_size + balloon_size * CHUNK_SIZE; 69 char *new_chunk = global_buf + buf_size + chunk * CHUNK_SIZE; 73 buf_size = new_buf_size;
|
| /external/curl/lib/ |
| if2ip.c | 117 char *buf, int buf_size) 178 snprintf(buf, buf_size, "%s%s", ip, scope); 208 char *buf, int buf_size) 244 Curl_inet_ntop(s->sin_family, &in, buf, buf_size); 261 char *buf, int buf_size) 268 (void) buf_size;
|
| /external/ltp/testcases/kernel/syscalls/fallocate/ |
| fallocate03.c | 135 int buf_size; variable 189 buf_size = block_size; 206 char buf[buf_size + 1]; 211 for (index = 0; index < buf_size; index++) 213 buf[buf_size] = '\0'; 214 if ((data = write(fd, buf, buf_size)) < 0)
|
| /external/ltp/testcases/kernel/syscalls/inotify/ |
| inotify01.c | 59 #define BUF_SIZE 256 60 static char fname[BUF_SIZE]; 61 static char buf[BUF_SIZE]; 97 if (read(fd, buf, BUF_SIZE) == -1) { 99 "read(%d, buf, %d) failed", fd, BUF_SIZE); 117 if (write(fd, buf, BUF_SIZE) == -1) {
|
| inotify05.c | 55 #define BUF_SIZE 256 56 static char fname[BUF_SIZE]; 57 static char buf[BUF_SIZE]; 81 SAFE_READ(cleanup, 1, fd, buf, BUF_SIZE); 83 SAFE_WRITE(cleanup, 1, fd, buf, BUF_SIZE); 166 SAFE_WRITE(cleanup, 1, fd, buf, BUF_SIZE);
|
| /external/ltp/testcases/open_posix_testsuite/stress/semaphores/ |
| multi_con_pro.c | 26 #define BUF_SIZE 5 31 int buffer[BUF_SIZE]; 66 in = (in + 1) % BUF_SIZE; 93 in = (in + 1) % BUF_SIZE; 125 out = (out + 1) % BUF_SIZE; 149 int full_value = BUF_SIZE;
|
| /prebuilts/ndk/r11/sources/cxx-stl/stlport/src/c_locale_win32/ |
| c_locale_win32.c | 241 static void __GetLocaleInfoUsingACP(LCID lcid, const char* cp, LCTYPE lctype, char* buf, int buf_size, wchar_t* wbuf, int wbuf_size); 427 static int __ConvertDate(const char *NTDate, char *buffer, int buf_size) { 435 end_output = cur_output + buf_size; 436 buf_size = 0; 445 return ++buf_size; 450 buf_size += 2; 455 buf_size += 2; 461 buf_size += 2; 468 return ++buf_size; 471 buf_size += 3 [all...] |
| /prebuilts/ndk/r13/sources/cxx-stl/stlport/src/c_locale_win32/ |
| c_locale_win32.c | 241 static void __GetLocaleInfoUsingACP(LCID lcid, const char* cp, LCTYPE lctype, char* buf, int buf_size, wchar_t* wbuf, int wbuf_size); 427 static int __ConvertDate(const char *NTDate, char *buffer, int buf_size) { 435 end_output = cur_output + buf_size; 436 buf_size = 0; 445 return ++buf_size; 450 buf_size += 2; 455 buf_size += 2; 461 buf_size += 2; 468 return ++buf_size; 471 buf_size += 3 [all...] |
| /external/boringssl/src/crypto/rand/ |
| urandom.c | 82 #define BUF_SIZE 4096 88 uint8_t rand[BUF_SIZE]; 233 buf->used = BUF_SIZE; /* To trigger a |fill_with_entropy| on first use. */ 294 size_t remaining = BUF_SIZE - buf->used; 302 if (!fill_with_entropy(buf->rand, BUF_SIZE)) { 307 remaining = BUF_SIZE; 321 if (urandom_buffering && requested < BUF_SIZE) {
|
| /art/runtime/base/ |
| logging.cc | 111 size_t buf_size = 0u; local 113 // Allocate buffer for snprintf(buf, buf_size, "%s:%u] %s", file, line, message) below. 115 buf_size = strlen(file) + 1 /* ':' */ + std::numeric_limits<typeof(line)>::max_digits10 + 117 buf = reinterpret_cast<char*>(malloc(buf_size)); 120 snprintf(buf, buf_size, "%s:%u] %s", file, line, message);
|