/system/core/liblog/ |
logd_reader.c | 259 char* buf, size_t buf_size) { 271 snprintf(buf, buf_size, msg, logger ? logger->logId : (unsigned)-1); 280 len = buf_size; 285 if (((size_t)ret == len) || (buf_size < PAGE_SIZE)) { 310 ret += buf_size - len; 324 LIBLOG_HIDDEN ssize_t __send_log_msg(char* buf, size_t buf_size) { 325 return send_log_msg(NULL, NULL, buf, buf_size);
|
/external/blktrace/ |
blktrace.c | 60 #define BUF_SIZE (512 * 1024) 153 unsigned long buf_size, buf_nr; member in struct:mmap_info 189 u32 buf_size; /* client buf_size for this trace */ member in struct:blktrace_net_hdr 288 static unsigned long buf_size = BUF_SIZE; variable 582 mip->buf_size = buf_size; 744 mip->fs_buf_len = (nr * mip->buf_size) - mip->fs_off; 869 hdr.buf_size = buf_size [all...] |
blktrace_api.h | 124 __u32 buf_size; /* input */ member in struct:blk_user_trace_setup
|
/external/icu/icu4c/source/samples/cal/ |
cal.c | 100 #define BUF_SIZE 64 385 char c [BUF_SIZE]; 392 if(count < BUF_SIZE) { 433 UChar s [BUF_SIZE]; 446 udat_format(dfmt, ucal_getMillis(c, status), s, BUF_SIZE, 0, status); 503 unum_format(nfmt, day, s, BUF_SIZE, 0, status); 550 UChar s [BUF_SIZE]; 569 udat_format(dfmt, ucal_getMillis(left_cal, status), s, BUF_SIZE, 0, status); 674 unum_format(nfmt, left_day, s, BUF_SIZE, 0, status); 722 unum_format(nfmt, right_day, s, BUF_SIZE, 0, status) [all...] |
/external/opencv/cvaux/src/ |
cvbgfg_acmmm2003.cpp | 87 int i, j, k, pixel_count, buf_size; local 134 buf_size = pixel_count*sizeof(p_model->pixel_stat[0]); 135 CV_CALL( p_model->pixel_stat = (CvBGPixelStat*)cvAlloc(buf_size) ); 136 memset( p_model->pixel_stat, 0, buf_size ); 138 buf_size = pixel_count*params.N2c*sizeof(p_model->pixel_stat[0].ctable[0]); 139 CV_CALL( p_model->pixel_stat[0].ctable = (CvBGPixelCStatTable*)cvAlloc(buf_size) ); 140 memset( p_model->pixel_stat[0].ctable, 0, buf_size ); 142 buf_size = pixel_count*params.N2cc*sizeof(p_model->pixel_stat[0].cctable[0]); 143 CV_CALL( p_model->pixel_stat[0].cctable = (CvBGPixelCCStatTable*)cvAlloc(buf_size) ); 144 memset( p_model->pixel_stat[0].cctable, 0, buf_size ); [all...] |
/external/pdfium/core/fxcodec/codec/ |
fx_codec_flate.cpp | 516 uint32_t buf_size = guess_size; local 517 uint32_t last_buf_size = buf_size; 535 int32_t ret = FPDFAPI_FlateOutput(context, cur_buf, buf_size); 556 buf_size = guess_size - old_size; 574 int32_t ret = FPDFAPI_FlateOutput(context, cur_buf, buf_size); 577 last_buf_size = buf_size - avail_buf_size; 582 last_buf_size = buf_size - avail_buf_size; 587 cur_buf = FX_Alloc(uint8_t, buf_size + 1); 588 cur_buf[buf_size] = '\0'; 599 uint32_t tmp_buf_size = buf_size; [all...] |
/external/webp/src/dec/ |
vp8_dec.c | 258 size_t buf_size; local 273 buf_size = io->data_size; 274 if (buf_size < 4) { 296 buf_size -= 3; 302 if (buf_size < 7) { 306 if (!VP8CheckSignature(buf, buf_size)) { 315 buf_size -= 7; 344 if (frm_hdr->partition_length_ > buf_size) { 352 buf_size -= frm_hdr->partition_length_; 367 status = ParsePartitions(dec, buf, buf_size); [all...] |
/external/strace/tests/ |
btrfs.c | 147 uint64_t buf_size; /* in - size of buffer member in struct:btrfs_ioctl_search_args_v2 813 void *buf, uint64_t buf_size) 859 .buf_size = 4096, 878 printf(", buf_size=%" PRIu64 "}) = -1 EBADF (%m)\n", 879 (uint64_t)search_args_v2.buf_size); 893 printf(", buf_size=%" PRIu64 "}) = -1 EBADF (%m)\n", 894 (uint64_t)search_args_v2.buf_size); 908 printf(", buf_size=%" PRIu64 "}) = -1 EBADF (%m)\n", 909 (uint64_t)search_args_v2.buf_size); 923 printf(", buf_size=%" PRIu64 "}) = -1 EBADF (%m)\n" [all...] |
/external/strace/tests-m32/ |
btrfs.c | 147 uint64_t buf_size; /* in - size of buffer member in struct:btrfs_ioctl_search_args_v2 813 void *buf, uint64_t buf_size) 859 .buf_size = 4096, 878 printf(", buf_size=%" PRIu64 "}) = -1 EBADF (%m)\n", 879 (uint64_t)search_args_v2.buf_size); 893 printf(", buf_size=%" PRIu64 "}) = -1 EBADF (%m)\n", 894 (uint64_t)search_args_v2.buf_size); 908 printf(", buf_size=%" PRIu64 "}) = -1 EBADF (%m)\n", 909 (uint64_t)search_args_v2.buf_size); 923 printf(", buf_size=%" PRIu64 "}) = -1 EBADF (%m)\n" [all...] |
/external/strace/tests-mx32/ |
btrfs.c | 147 uint64_t buf_size; /* in - size of buffer member in struct:btrfs_ioctl_search_args_v2 813 void *buf, uint64_t buf_size) 859 .buf_size = 4096, 878 printf(", buf_size=%" PRIu64 "}) = -1 EBADF (%m)\n", 879 (uint64_t)search_args_v2.buf_size); 893 printf(", buf_size=%" PRIu64 "}) = -1 EBADF (%m)\n", 894 (uint64_t)search_args_v2.buf_size); 908 printf(", buf_size=%" PRIu64 "}) = -1 EBADF (%m)\n", 909 (uint64_t)search_args_v2.buf_size); 923 printf(", buf_size=%" PRIu64 "}) = -1 EBADF (%m)\n" [all...] |
/external/webrtc/webrtc/base/ |
natsocketfactory.cc | 23 size_t PackAddressForNAT(char* buf, size_t buf_size, 32 ASSERT(buf_size >= kNATEncodedIPv4AddressSize); 37 ASSERT(buf_size >= kNATEncodedIPv6AddressSize); 48 size_t UnpackAddressFromNAT(const char* buf, size_t buf_size, 50 ASSERT(buf_size >= 8); 60 ASSERT(buf_size >= 20);
|
/external/ltp/testcases/kernel/syscalls/ftruncate/ |
ftruncate02.c | 81 #define BUF_SIZE 256 /* buffer size */ 89 char tst_buff[BUF_SIZE]; /* buffer to hold testfile contents */ 252 for (i = 0; i < BUF_SIZE; i++) {
|
/external/ltp/testcases/kernel/syscalls/truncate/ |
truncate02.c | 83 #define BUF_SIZE 256 /* buffer size */ 91 char tst_buff[BUF_SIZE]; /* buffer to hold testfile contents */ 247 for (i = 0; i < BUF_SIZE; i++) {
|
/external/pdfium/fpdfsdk/ |
fpdftext.cpp | 314 int buf_size = size * sizeof(unsigned short); local 315 FXSYS_memcpy(buffer, cbUTF16URL.GetBuffer(buf_size), buf_size);
|
/external/speex/include/speex/ |
speex_bits.h | 56 int buf_size;/**< Allocated size for buffer */ member in struct:SpeexBits 65 void speex_bits_init_buffer(SpeexBits *bits, void *buff, int buf_size); 68 void speex_bits_set_bit_buffer(SpeexBits *bits, void *buff, int buf_size);
|
/external/wpa_supplicant_8/src/utils/ |
common.c | 282 int wpa_snprintf_hex_sep(char *buf, size_t buf_size, const u8 *data, size_t len, 286 char *pos = buf, *end = buf + buf_size; 289 if (buf_size == 0) 306 static inline int _wpa_snprintf_hex(char *buf, size_t buf_size, const u8 *data, 310 char *pos = buf, *end = buf + buf_size; 312 if (buf_size == 0) 330 * @buf_size: Maximum buffer size in bytes (should be at least 2 * len + 1) 335 int wpa_snprintf_hex(char *buf, size_t buf_size, const u8 *data, size_t len) 337 return _wpa_snprintf_hex(buf, buf_size, data, len, 0); 344 * @buf_size: Maximum buffer size in bytes (should be at least 2 * len + 1 [all...] |
/hardware/interfaces/camera/device/1.0/default/ |
CameraDevice_1_0.h | 117 CameraHeapMemory(int fd, size_t buf_size, uint_t num_buffers = 1); 119 sp<IAllocator> ashmemAllocator, size_t buf_size, uint_t num_buffers = 1); 185 static camera_memory_t* sGetMemory(int fd, size_t buf_size, uint_t num_bufs, void *user);
|
/system/bt/bta/hh/ |
bta_hh_api.cc | 186 uint8_t rpt_id, uint16_t buf_size) { 187 uint8_t param = (buf_size) ? (r_type | 0x08) : r_type; 189 bta_hh_snd_write_dev(dev_handle, HID_TRANS_GET_REPORT, param, buf_size,
|
/system/tpm/trunks/ftdi/ |
support.c | 95 int* buf_size) { 101 *buf_size = 0; 198 *buf_size = i;
|
/test/vts-testcase/vndk/dependency/ |
elf_parser.py | 167 buf_size = 16 171 buf = self._file.read(buf_size) 180 if len(buf) != buf_size:
|
/device/linaro/bootloader/arm-trusted-firmware/include/lib/ |
semihosting.h | 76 size_t buf_size,
|
/external/curl/docs/examples/ |
ghiper.c | 321 #define BUF_SIZE 1024 337 buf = g_malloc(BUF_SIZE+1); 339 buf[BUF_SIZE]='\0'; 340 g_io_channel_read_chars(ch, buf, BUF_SIZE, &len, &err);
|
/external/curl/lib/ |
if2ip.h | 44 char *buf, int buf_size);
|
/external/emma/core/java12/com/vladium/emma/rt/ |
ClassPathProcessorST.java | 52 m_readbuf = new byte [BUF_SIZE]; // don't reuse this across run() calls to reset it to the original size 54 m_baos = new ByteArrayOStream (BUF_SIZE); // don't reuse this across run() calls to reset it to the original size 355 ensureReadCapacity (BUF_SIZE); 394 private static final int BUF_SIZE = 32 * 1024;
|
/external/fio/ |
blktrace_api.h | 123 __u32 buf_size; /* input */ member in struct:blk_user_trace_setup
|