/external/chromium_org/remoting/host/ |
H A D | username.cc | 21 long buf_size = sysconf(_SC_GETPW_R_SIZE_MAX); local 22 if (buf_size <= 0) 25 std::vector<char> buf(buf_size); 28 getpwuid_r(getuid(), &passwd, &(buf[0]), buf_size, &passwd_result); local
|
/external/chromium_org/media/formats/webm/ |
H A D | tracks_builder.cc | 71 int& buf_size = *buf_size_ptr; local 75 --buf_size; 92 static void WriteElementId(uint8** buf, int* buf_size, int element_id) { argument 93 SerializeInt(buf, buf_size, element_id, GetUIntSize(element_id)); 96 static void WriteUInt(uint8** buf, int* buf_size, uint64 value) { argument 99 SerializeInt(buf, buf_size, value, size); 102 static void WriteMasterElement(uint8** buf, int* buf_size, argument 104 WriteElementId(buf, buf_size, element_id); 105 WriteUInt(buf, buf_size, payload_size); 109 int* buf_size, 108 WriteUIntElement(uint8** buf, int* buf_size, int element_id, uint64 value) argument 120 WriteDoubleElement(uint8** buf, int* buf_size, int element_id, double value) argument 130 int& buf_size = *buf_size_ptr; local [all...] |
/external/compiler-rt/test/msan/Linux/ |
H A D | xattr.cc | 59 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/chromium_org/net/url_request/ |
H A D | url_request_simple_job.cc | 46 bool URLRequestSimpleJob::ReadRawData(IOBuffer* buf, int buf_size, argument 50 if (buf_size > remaining) 51 buf_size = remaining; 52 memcpy(buf->data(), data_.data() + data_offset_, buf_size); 53 data_offset_ += buf_size; 54 *bytes_read = buf_size;
|
H A D | url_request_file_dir_job.cc | 68 bool URLRequestFileDirJob::ReadRawData(IOBuffer* buf, int buf_size, argument 76 if (FillReadBuffer(buf->data(), buf_size, bytes_read)) 82 read_buffer_length_ = buf_size; 169 bool URLRequestFileDirJob::FillReadBuffer(char* buf, int buf_size, argument 175 int count = std::min(buf_size, static_cast<int>(data_.size()));
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/ |
H A D | symbol-minimal.c | 87 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/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_platform_windows.cc | 31 void WriteMemoryProfile(char *buf, uptr buf_size, uptr nthread, uptr nlive) { argument
|
/external/chromium_org/third_party/speex/libspeex/ |
H A D | bits.c | 54 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/speex/libspeex/ |
H A D | bits.c | 54 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/chromium_org/content/browser/net/ |
H A D | view_http_cache_job_factory.cc | 46 int buf_size, int *bytes_read) OVERRIDE{ 47 return core_->ReadRawData(buf, buf_size, bytes_read); 67 bool ReadRawData(net::IOBuffer* buf, int buf_size, int *bytes_read); 167 int buf_size, 171 if (buf_size > remaining) 172 buf_size = remaining; 173 memcpy(buf->data(), data_.data() + data_offset_, buf_size); 174 data_offset_ += buf_size; 175 *bytes_read = buf_size; 166 ReadRawData(net::IOBuffer* buf, int buf_size, int* bytes_read) argument
|
/external/libexif/libexif/olympus/ |
H A D | exif-mnote-data-olympus.c | 42 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 D | os-linux.h | 36 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/pdfium/fpdfsdk/include/ |
H A D | fpdf_sysfontinfo.h | 138 * buf_size - Buffer size, can be zero if not provided 144 unsigned int table, unsigned char* buffer, unsigned long buf_size); 157 * buf_size - Buffer size, can be zero if not provided 162 unsigned long (*GetFaceName)(struct _FPDF_SYSFONTINFO* pThis, void* hFont, char* buffer, unsigned long buf_size);
|
/external/wpa_supplicant_8/hostapd/src/common/ |
H A D | wpa_helpers.h | 22 const char *event, char *buf, size_t buf_size); 25 char *buf, size_t buf_size);
|
/external/wpa_supplicant_8/src/common/ |
H A D | wpa_helpers.h | 22 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 D | wpa_helpers.h | 22 const char *event, char *buf, size_t buf_size); 25 char *buf, size_t buf_size);
|
/external/libexif/libexif/pentax/ |
H A D | exif-mnote-data-pentax.c | 74 * @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 D | random.h | 39 int buf_size; member in struct:rand_pool_info
|
/external/libexif/libexif/fuji/ |
H A D | exif-mnote-data-fuji.c | 80 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/chromium_org/third_party/speex/include/speex/ |
H A D | 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/speex/include/speex/ |
H A D | 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/include/qemu/ |
H A D | option.h | 51 const char *get_opt_name(char *buf, int buf_size, const char *p, char delim); 52 const char *get_opt_value(char *buf, int buf_size, const char *p); 53 int get_next_param_value(char *buf, int buf_size, 55 int get_param_value(char *buf, int buf_size, 57 int check_params(char *buf, int buf_size,
|
/external/chromium_org/android_webview/renderer/ |
H A D | print_web_view_helper_linux.cc | 100 uint32 buf_size = metafile.GetDataSize(); local 101 DCHECK_GT(buf_size, 0u); 126 buf_size).release()); 132 if (!shared_mem->Map(buf_size)) { 136 metafile.GetData(shared_mem->memory(), buf_size); 137 printed_page_params.data_size = buf_size;
|
/external/chromium_org/chrome/renderer/printing/ |
H A D | print_web_view_helper_linux.cc | 96 uint32 buf_size = metafile.GetDataSize(); local 97 DCHECK_GT(buf_size, 0u); 122 buf_size).release()); 128 if (!shared_mem->Map(buf_size)) { 132 metafile.GetData(shared_mem->memory(), buf_size); 133 printed_page_params.data_size = buf_size;
|
/external/lldb/source/Plugins/Process/FreeBSD/ |
H A D | ProcessMonitor.h | 127 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);
|