Searched refs:buf_size (Results 1 - 25 of 135) sorted by relevance

123456

/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/vboot_reference/tests/
H A Dvb21_common_tests.c259 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/
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/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/linux-tools-perf/src/tools/perf/util/
H A Dsymbol-minimal.c87 size_t buf_size; local
120 buf_size = ehdr.e_phentsize * ehdr.e_phnum;
121 buf = malloc(buf_size);
126 if (fread(buf, buf_size, 1, fp) != 1)
141 buf_size = phdr->p_filesz;
142 tmp = realloc(buf, buf_size);
148 if (fread(buf, buf_size, 1, fp) != 1)
151 ret = read_build_id(buf, buf_size, bf, size, need_swap);
169 buf_size = ehdr.e_phentsize * ehdr.e_phnum;
170 buf = malloc(buf_size);
218 size_t buf_size; local
[all...]
/external/speex/libspeex/
H A Dbits.c54 bits->buf_size = MAX_CHARS_PER_FRAME;
61 EXPORT void speex_bits_init_buffer(SpeexBits *bits, void *buff, int buf_size) argument
64 bits->buf_size = buf_size;
71 EXPORT void speex_bits_set_bit_buffer(SpeexBits *bits, void *buff, int buf_size) argument
74 bits->buf_size = buf_size;
78 bits->nbBits=buf_size<<LOG2_BITS_PER_CHAR;
113 if (nchars > bits->buf_size)
121 bits->buf_size
[all...]
/external/libexif/libexif/olympus/
H A Dexif-mnote-data-olympus.c42 unsigned int buf_size);
96 * @param buf_size the size of the buffer
100 unsigned char **buf, unsigned int *buf_size)
108 if (!n || !buf || !buf_size) return;
113 *buf_size = 6 + 2 + 2 + n->count * 12;
118 *buf = exif_mem_alloc (ne->mem, *buf_size);
120 EXIF_LOG_NO_MEMORY(ne->log, "ExifMnoteDataOlympus", *buf_size);
132 *buf_size += 8-6 + 4;
133 *buf = exif_mem_alloc (ne->mem, *buf_size);
135 EXIF_LOG_NO_MEMORY(ne->log, "ExifMnoteDataOlympus", *buf_size);
99 exif_mnote_data_olympus_save(ExifMnoteData *ne, unsigned char **buf, unsigned int *buf_size) argument
237 exif_mnote_data_olympus_load(ExifMnoteData *en, const unsigned char *buf, unsigned int buf_size) argument
576 exif_mnote_data_olympus_identify_variant(const unsigned char *buf, unsigned int buf_size) argument
[all...]
/external/libunwind/src/
H A Dos-linux.h36 size_t buf_size; member in struct:map_iterator
81 mi->buf_size = getpagesize ();
82 cp = mmap (NULL, mi->buf_size, PROT_READ | PROT_WRITE,
93 mi->buf = mi->buf_end = cp + mi->buf_size;
185 scan_string (char *cp, char *valp, size_t buf_size) argument
194 if ((valp != NULL) && (i < buf_size - 1))
198 if (i == 0 || i >= buf_size)
235 memmove (mi->buf_end - mi->buf_size, mi->buf, bytes_left);
237 mi->buf = mi->buf_end - mi->buf_size;
239 mi->buf_size
[all...]
/external/wpa_supplicant_8/hostapd/src/common/
H A Dwpa_helpers.h22 const char *event, char *buf, size_t buf_size);
25 char *buf, size_t buf_size);
/external/wpa_supplicant_8/src/common/
H A Dwpa_helpers.h22 const char *event, char *buf, size_t buf_size);
25 char *buf, size_t buf_size);
/external/wpa_supplicant_8/wpa_supplicant/src/common/
H A Dwpa_helpers.h22 const char *event, char *buf, size_t buf_size);
25 char *buf, size_t buf_size);
/external/libexif/libexif/pentax/
H A Dexif-mnote-data-pentax.c74 * @param buf_size the final size of the buffer
78 unsigned char **buf, unsigned int *buf_size)
87 if (!n || !buf || !buf_size) return;
93 *buf_size = o2 + 2 + n->count * 12 + 4;
97 *buf = exif_mem_alloc (ne->mem, *buf_size);
99 EXIF_LOG_NO_MEMORY(ne->log, "ExifMnoteDataPentax", *buf_size);
110 *buf = exif_mem_alloc (ne->mem, *buf_size);
112 EXIF_LOG_NO_MEMORY(ne->log, "ExifMnoteDataPentax", *buf_size);
126 *buf = exif_mem_alloc (ne->mem, *buf_size);
128 EXIF_LOG_NO_MEMORY(ne->log, "ExifMnoteDataPentax", *buf_size);
77 exif_mnote_data_pentax_save(ExifMnoteData *ne, unsigned char **buf, unsigned int *buf_size) argument
214 exif_mnote_data_pentax_load(ExifMnoteData *en, const unsigned char *buf, unsigned int buf_size) argument
[all...]
/external/kernel-headers/original/uapi/linux/
H A Drandom.h39 int buf_size; member in struct:rand_pool_info
/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...]
/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/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/lldb/source/Plugins/Process/FreeBSD/
H A DProcessMonitor.h127 ReadGPR(lldb::tid_t tid, void *buf, size_t buf_size);
133 ReadFPR(lldb::tid_t tid, void *buf, size_t buf_size);
141 ReadRegisterSet(lldb::tid_t tid, void *buf, size_t buf_size, unsigned int regset);
147 WriteGPR(lldb::tid_t tid, void *buf, size_t buf_size);
153 WriteFPR(lldb::tid_t tid, void *buf, size_t buf_size);
161 WriteRegisterSet(lldb::tid_t tid, void *buf, size_t buf_size, unsigned int regset);
/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/libexif/libexif/
H A Dexif-loader.h107 * this #ExifLoader. Either or both of buf and buf_size may be NULL on
113 * \param[out] buf_size size of the data at buf, or 0 in case of error
116 unsigned int *buf_size);
/external/libhevc/decoder/
H A Dihevcd_job_queue.h62 void* ihevcd_jobq_init(void *pv_buf, WORD32 buf_size);
/external/libmpeg2/common/
H A Dimpeg2_job_queue.h64 void* impeg2_jobq_init(void *pv_buf, WORD32 buf_size);
/external/harfbuzz_ng/src/
H A Dhb-buffer-serialize.cc96 unsigned int buf_size,
150 if (buf_size > l)
154 buf_size -= l;
169 unsigned int buf_size,
212 if (buf_size > l)
216 buf_size -= l;
232 * @buf: (array length=buf_size):
233 * @buf_size:
250 unsigned int buf_size,
276 buf, buf_size, buf_consume
92 _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
165 _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
246 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/libexif/libexif/canon/
H A Dexif-mnote-data-canon.c118 unsigned char **buf, unsigned int *buf_size)
125 if (!n || !buf || !buf_size) return;
131 *buf_size = 2 + n->count * 12 + 4;
132 *buf = exif_mem_alloc (ne->mem, sizeof (char) * *buf_size);
134 EXIF_LOG_NO_MEMORY(ne->log, "ExifMnoteCanon", *buf_size);
158 ts = *buf_size + s;
169 *buf_size = ts;
170 doff = *buf_size - s;
171 if (s & 1) { doff--; *(*buf + *buf_size - 1) = '\0'; }
200 const unsigned char *buf, unsigned int buf_size)
117 exif_mnote_data_canon_save(ExifMnoteData *ne, unsigned char **buf, unsigned int *buf_size) argument
199 exif_mnote_data_canon_load(ExifMnoteData *ne, const unsigned char *buf, unsigned int buf_size) argument
[all...]
/external/libpcap/
H A Dfad-gifc.c148 unsigned buf_size; local
174 buf_size = 8192;
176 buf = malloc(buf_size);
184 ifc.ifc_len = buf_size;
186 memset(buf, 0, buf_size);
195 if (ifc.ifc_len < buf_size &&
196 (buf_size - ifc.ifc_len) > sizeof(ifrp->ifr_name) + MAX_SA_LEN)
199 buf_size *= 2;
/external/pdfium/public/
H A Dfpdf_sysfontinfo.h137 * buf_size - Buffer size, can be zero if not provided
143 unsigned int table, unsigned char* buffer, unsigned long buf_size);
156 * buf_size - Buffer size, can be zero if not provided
161 unsigned long (*GetFaceName)(struct _FPDF_SYSFONTINFO* pThis, void* hFont, char* buffer, unsigned long buf_size);

Completed in 722 milliseconds

123456