HomeSort by relevance Sort by last modified time
    Searched refs:buf_size (Results 1 - 25 of 121) sorted by null

1 2 3 4 5

  /external/chromium/net/url_request/
url_request_simple_job.cc 34 bool URLRequestSimpleJob::ReadRawData(net::IOBuffer* buf, int buf_size,
38 if (buf_size > remaining)
39 buf_size = remaining;
40 memcpy(buf->data(), data_.data() + data_offset_, buf_size);
41 data_offset_ += buf_size;
42 *bytes_read = buf_size;
url_request_file_dir_job.h 25 virtual bool ReadRawData(net::IOBuffer* buf, int buf_size, int *bytes_read);
46 bool FillReadBuffer(char *buf, int buf_size, int *bytes_read);
url_request_simple_job.h 19 virtual bool ReadRawData(net::IOBuffer* buf, int buf_size, int *bytes_read);
url_request_file_dir_job.cc 74 bool URLRequestFileDirJob::ReadRawData(net::IOBuffer* buf, int buf_size,
82 if (FillReadBuffer(buf->data(), buf_size, bytes_read))
88 read_buffer_length_ = buf_size;
176 bool URLRequestFileDirJob::FillReadBuffer(char *buf, int buf_size,
182 int count = std::min(buf_size, static_cast<int>(data_.size()));
url_request_file_job.h 28 virtual bool ReadRawData(net::IOBuffer* buf, int buf_size, int* bytes_read);
  /bionic/libc/kernel/common/linux/
random.h 31 int buf_size; member in struct:rand_pool_info
  /development/ndk/platforms/android-3/include/linux/
random.h 31 int buf_size; member in struct:rand_pool_info
  /hardware/broadcom/wlan/bcm4329/src/include/
hndrte_cons.h 35 uint buf_size; member in struct:__anon9569
  /prebuilt/ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/
random.h 31 int buf_size; member in struct:rand_pool_info
  /prebuilt/ndk/android-ndk-r4/platforms/android-4/arch-arm/usr/include/linux/
random.h 31 int buf_size; member in struct:rand_pool_info
  /prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-arm/usr/include/linux/
random.h 31 int buf_size; member in struct:rand_pool_info
  /prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-x86/usr/include/linux/
random.h 31 int buf_size; member in struct:rand_pool_info
  /prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-arm/usr/include/linux/
random.h 31 int buf_size; member in struct:rand_pool_info
  /prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-x86/usr/include/linux/
random.h 31 int buf_size; member in struct:rand_pool_info
  /external/speex/libspeex/
bits.c 54 bits->buf_size = MAX_CHARS_PER_FRAME;
61 EXPORT void speex_bits_init_buffer(SpeexBits *bits, void *buff, int buf_size)
64 bits->buf_size = buf_size;
71 EXPORT void speex_bits_set_bit_buffer(SpeexBits *bits, void *buff, int buf_size)
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=nchars
    [all...]
  /bootable/recovery/
encryptedfs_provisioning.c 47 int get_binary_file_contents(char *buffer, int buf_size, const char *file_name, int *out_size) {
57 read_bytes = fread(buffer, 1, buf_size, in_file);
59 if (read_bytes != buf_size) {
72 int set_binary_file_contents(char *buffer, int buf_size, const char *file_name) {
82 write_bytes = fwrite(buffer, 1, buf_size, out_file);
83 if (write_bytes != buf_size) {
94 int get_text_file_contents(char *buffer, int buf_size, char *file_name) {
104 read_data = fgets(buffer, buf_size, in_file);
  /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/qemu/
qemu-option.h 50 const char *get_opt_name(char *buf, int buf_size, const char *p, char delim);
51 const char *get_opt_value(char *buf, int buf_size, const char *p);
52 int get_next_param_value(char *buf, int buf_size,
54 int get_param_value(char *buf, int buf_size,
56 int check_params(char *buf, int buf_size,
cutils.c 27 void pstrcpy(char *buf, int buf_size, const char *str)
32 if (buf_size <= 0)
37 if (c == 0 || q >= buf + buf_size - 1)
45 char *pstrcat(char *buf, int buf_size, const char *s)
49 if (len < buf_size)
50 pstrcpy(buf + len, buf_size - len, s);
  /external/wpa_supplicant_6/wpa_supplicant/src/utils/
common.c 139 static inline int _wpa_snprintf_hex(char *buf, size_t buf_size, const u8 *data,
143 char *pos = buf, *end = buf + buf_size;
145 if (buf_size == 0)
163 * @buf_size: Maximum buffer size in bytes (should be at least 2 * len + 1)
168 int wpa_snprintf_hex(char *buf, size_t buf_size, const u8 *data, size_t len)
170 return _wpa_snprintf_hex(buf, buf_size, data, len, 0);
177 * @buf_size: Maximum buffer size in bytes (should be at least 2 * len + 1)
182 int wpa_snprintf_hex_uppercase(char *buf, size_t buf_size, const u8 *data,
185 return _wpa_snprintf_hex(buf, buf_size, data, len, 1);
  /packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/
neapi.c 70 NJ_EXTERN NJ_INT16 njx_get_candidate(NJ_CLASS *iwnn, NJ_RESULT *result, NJ_CHAR *buf, NJ_UINT16 buf_size) {
82 if ((buf == NULL) || (buf_size == 0)) {
88 ret = njd_get_candidate(iwnn, result, buf, buf_size);
100 NJ_EXTERN NJ_INT16 njx_get_stroke(NJ_CLASS *iwnn, NJ_RESULT *result, NJ_CHAR *buf, NJ_UINT16 buf_size) {
112 if ((buf == NULL) || (buf_size == 0)) {
118 ret = njd_get_stroke(iwnn, result, buf, buf_size);
  /external/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...]
  /ndk/sources/android/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/libpcap/
fad-gifc.c 278 unsigned buf_size; local
304 buf_size = 8192;
306 buf = malloc(buf_size);
314 ifc.ifc_len = buf_size;
316 memset(buf, 0, buf_size);
325 if (ifc.ifc_len < buf_size &&
326 (buf_size - ifc.ifc_len) > sizeof(ifrp->ifr_name) + MAX_SA_LEN)
329 buf_size *= 2;
  /frameworks/base/media/libstagefright/codecs/avc/enc/src/
bitstream_io.cpp 36 ^ ^write_pos ^buf_size
45 AVCEnc_Status BitstreamEncInit(AVCEncBitstream *stream, uint8 *buffer, int buf_size,
48 if (stream == NULL || buffer == NULL || buf_size <= 0)
55 stream->buf_size = buf_size;
91 if (stream->buf_size - stream->write_pos <= (num_bits >> 3) + 2) /* 2 more bytes for possible EPBS */
102 while (num_bits) /* no need to check stream->buf_size and stream->write_pos, taken care already */
296 stream->buf_size = stream->oBSize;
323 stream->buf_size = stream->oBSize;

Completed in 308 milliseconds

1 2 3 4 5