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

1234567

/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/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/autotest/client/site_tests/platform_CompressedSwapPerf/src/
H A Dhog.c32 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/
H A Dif2ip.c117 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;
115 Curl_if2ip(int af, unsigned int remote_scope, unsigned int remote_scope_id, const char *interf, char *buf, int buf_size) argument
206 Curl_if2ip(int af, unsigned int remote_scope, unsigned int remote_scope_id, const char *interf, char *buf, int buf_size) argument
259 Curl_if2ip(int af, unsigned int remote_scope, unsigned int remote_scope_id, const char *interf, char *buf, int buf_size) argument
/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/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/kernel-headers/original/uapi/linux/hsi/
H A Dcs-protocol.h73 __u32 buf_size; /* bytes */ member in struct:cs_buffer_config
93 __u32 buf_size; /* 0=disabled, otherwise the transfer size */ member in struct:cs_mmap_config_block
/external/libpcap/
H A Dfad-gifc.c143 unsigned buf_size; local
169 buf_size = 8192;
171 buf = malloc(buf_size);
179 ifc.ifc_len = buf_size;
181 memset(buf, 0, buf_size);
190 if (ifc.ifc_len < buf_size &&
191 (buf_size - ifc.ifc_len) > sizeof(ifrp->ifr_name) + MAX_SA_LEN)
194 buf_size *= 2;
/external/pdfium/public/
H A Dfpdf_sysfontinfo.h161 * buf_size - Buffer size, can be zero if not provided
171 unsigned long buf_size);
185 * buf_size - Buffer size, can be zero if not provided
194 unsigned long buf_size);

Completed in 707 milliseconds

1234567