Searched defs:buf_size (Results 1 - 25 of 178) sorted by relevance

12345678

/external/compiler-rt/lib/tsan/rtl/
H A Dtsan_platform_windows.cc31 void WriteMemoryProfile(char *buf, uptr buf_size, uptr nthread, uptr nlive) { argument
/external/pdfium/core/fpdfapi/parser/
H A Dfpdf_parser_decode_embeddertest.cpp40 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)
/external/kernel-headers/original/uapi/linux/
H A Drandom.h40 int buf_size; member in struct:rand_pool_info
/external/libavc/test/encoder/
H A Doutput.c67 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/libexif/test/
H A Dtest-mnote.c74 unsigned int buf_size; local
95 exif_data_save_data (d, &buf, &buf_size);
97 d = exif_data_new_from_data (buf, buf_size);
/external/linux-kselftest/tools/testing/selftests/powerpc/
H A Dutils.c22 int read_auxv(char *buf, ssize_t buf_size) argument
33 num = read(fd, buf, buf_size);
40 if (num > buf_size) {
/external/perfetto/src/tracing/test/
H A Daligned_buffer_test.h38 size_t buf_size() const { return buf_->size(); } function in class:perfetto::AlignedBufferTest
/external/speex/include/speex/
H A Dspeex_bits.h56 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/libchrome/base/strings/
H A Dstringprintf.cc22 // Overloaded wrappers around vsnprintf and vswprintf. The buf_size parameter
29 size_t buf_size,
32 return base::vsnprintf(buffer, buf_size, format, argptr);
37 size_t buf_size,
40 return base::vswprintf(buffer, buf_size, format, argptr);
28 vsnprintfT(char* buffer, size_t buf_size, const char* format, va_list argptr) argument
36 vsnprintfT(wchar_t* buffer, size_t buf_size, const wchar_t* format, va_list argptr) argument
/external/perf_data_converter/src/quipper/
H A Dscoped_temp_path_test.cc45 size_t buf_size = dir.size() + strlen(kPathTemplateSuffix) + 1; local
46 char* path_template = new char[buf_size];
51 snprintf(path_template, buf_size, "%s%s", dir.c_str(), kPathTemplateSuffix);
/external/compiler-rt/test/msan/Linux/
H A Dxattr.cc59 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...]
/external/curl/lib/
H A Dif2ip.c119 char *buf, int buf_size)
180 snprintf(buf, buf_size, "%s%s", ip, scope);
210 char *buf, int buf_size)
246 Curl_inet_ntop(s->sin_family, &in, buf, buf_size);
263 char *buf, int buf_size)
270 (void) buf_size;
117 Curl_if2ip(int af, unsigned int remote_scope, unsigned int remote_scope_id, const char *interf, char *buf, int buf_size) argument
208 Curl_if2ip(int af, unsigned int remote_scope, unsigned int remote_scope_id, const char *interf, char *buf, int buf_size) argument
261 Curl_if2ip(int af, unsigned int remote_scope, unsigned int remote_scope_id, const char *interf, char *buf, int buf_size) argument
/external/libexif/libexif/
H A Dexif-mnote-data.c81 unsigned int buf_size)
84 d->methods.load (d, buf, buf_size);
89 unsigned int *buf_size)
92 d->methods.save (d, buf, buf_size);
80 exif_mnote_data_load(ExifMnoteData *d, const unsigned char *buf, unsigned int buf_size) argument
88 exif_mnote_data_save(ExifMnoteData *d, unsigned char **buf, unsigned int *buf_size) argument
/external/libhevc/decoder/
H A Dihevcd_job_queue.c221 * @param[in] buf_size
231 void* ihevcd_jobq_init(void *pv_buf, WORD32 buf_size) argument
239 buf_size -= sizeof(jobq_t);
243 buf_size -= ithread_get_mutex_lock_size();
245 if(buf_size <= 0)
253 ps_jobq->pv_buf_end = pu1_buf + buf_size;
/external/libpcap/
H A Dfad-gifc.c144 unsigned buf_size; local
170 buf_size = 8192;
172 buf = malloc(buf_size);
180 ifc.ifc_len = buf_size;
182 memset(buf, 0, buf_size);
191 if (ifc.ifc_len < buf_size &&
192 (buf_size - ifc.ifc_len) > sizeof(ifrp->ifr_name) + MAX_SA_LEN)
195 buf_size *= 2;
H A Dfad-glifc.c87 unsigned buf_size; local
134 buf_size = ifn.lifn_count * sizeof (struct lifreq);
135 buf = malloc(buf_size);
147 ifc.lifc_len = buf_size;
151 memset(buf, 0, buf_size);
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_suspend/
H A D4-1.c94 size_t buf_size = (i == WAIT_FOR_AIOCB) ? local
99 aiocbs[i].aio_buf = malloc(buf_size);
100 aiocbs[i].aio_nbytes = buf_size;
116 buf_offset += buf_size;
H A D9-1.c49 static int do_test(int num_aiocbs, size_t buf_size) argument
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 /
[all...]
/external/strace/tests/
H A Ds390_pci_mmio_read_write.c84 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/
H A Ds390_pci_mmio_read_write.c84 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/
H A Ds390_pci_mmio_read_write.c84 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/harfbuzz_ng/src/
H A Dhb-buffer-serialize.cc102 unsigned int buf_size,
173 if (buf_size > l)
177 buf_size -= l;
192 unsigned int buf_size,
249 if (buf_size > l)
253 buf_size -= l;
268 * @buf: (out) (array length=buf_size) (element-type uint8_t): output string to
270 * @buf_size: the size of @buf.
314 unsigned int buf_size,
326 if (buf_size)
98 _hb_buffer_serialize_glyphs_json(hb_buffer_t *buffer, unsigned int start, unsigned int end, char *buf, unsigned int buf_size, unsigned int *buf_consumed, hb_font_t *font, hb_buffer_serialize_flags_t flags) argument
188 _hb_buffer_serialize_glyphs_text(hb_buffer_t *buffer, unsigned int start, unsigned int end, char *buf, unsigned int buf_size, unsigned int *buf_consumed, hb_font_t *font, hb_buffer_serialize_flags_t flags) argument
310 hb_buffer_serialize_glyphs(hb_buffer_t *buffer, unsigned int start, unsigned int end, char *buf, unsigned int buf_size, unsigned int *buf_consumed, hb_font_t *font, hb_buffer_serialize_format_t format, hb_buffer_serialize_flags_t flags) argument
[all...]
/external/libavc/common/
H A Dih264_list.c240 * @param[in] buf_size
251 WORD32 buf_size,
263 buf_size -= sizeof(list_t);
267 buf_size -= ithread_get_mutex_lock_size();
269 if (buf_size <= 0)
278 ASSERT((num_entries * entry_size) <= buf_size);
411 * @param[in] buf_size
434 WORD32 buf_size = ps_list->i4_entry_size; local
454 pv_buf_wr = (UWORD8 *)ps_list->pv_buf_base + wr_idx * buf_size;
456 memcpy(pv_buf_wr, pv_buf, buf_size);
250 ih264_list_init(void *pv_buf, WORD32 buf_size, WORD32 num_entries, WORD32 entry_size, WORD32 yeild_interval_us) argument
518 WORD32 buf_size = ps_list->i4_entry_size; local
[all...]
/external/libbrillo/brillo/streams/
H A Dmemory_containers.cc38 size_t buf_size = GetSize(); local
39 if (offset < buf_size) {
40 size_t remaining = buf_size - offset;
/external/libexif/libexif/fuji/
H A Dexif-mnote-data-fuji.c80 unsigned int *buf_size)
87 if (!n || !buf || !buf_size) return;
93 *buf_size = 8 + 4 + 2 + n->count * 12 + 4;
94 *buf = exif_mem_alloc (ne->mem, *buf_size);
96 *buf_size = 0;
126 ts = *buf_size + s;
135 *buf_size = ts;
136 doff = *buf_size - s;
137 if (s & 1) { doff--; *(*buf + *buf_size - 1) = '\0'; }
153 const unsigned char *buf, unsigned int buf_size)
79 exif_mnote_data_fuji_save(ExifMnoteData *ne, unsigned char **buf, unsigned int *buf_size) argument
152 exif_mnote_data_fuji_load(ExifMnoteData *en, const unsigned char *buf, unsigned int buf_size) argument
[all...]

Completed in 686 milliseconds

12345678