Searched refs:buff_size (Results 1 - 19 of 19) sorted by relevance

/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_posix.cc191 bool ReadFromFile(fd_t fd, void *buff, uptr buff_size, uptr *bytes_read, argument
193 uptr res = internal_read(fd, buff, buff_size);
201 bool WriteToFile(fd_t fd, const void *buff, uptr buff_size, uptr *bytes_written, argument
203 uptr res = internal_write(fd, buff, buff_size);
216 void *MapFileToMemory(const char *file_name, uptr *buff_size) { argument
222 *buff_size = RoundUpTo(fsize, GetPageSizeCached());
223 uptr map = internal_mmap(nullptr, *buff_size, PROT_READ, MAP_PRIVATE, fd, 0);
H A Dsanitizer_common.cc186 bool ReadFileToBuffer(const char *file_name, char **buff, uptr *buff_size, argument
191 *buff_size = 0;
197 UnmapOrDie(*buff, *buff_size);
199 *buff_size = size;
206 UnmapOrDie(*buff, *buff_size);
H A Dsanitizer_win.cc166 void *MapFileToMemory(const char *file_name, uptr *buff_size) { argument
487 bool ReadFromFile(fd_t fd, void *buff, uptr buff_size, uptr *bytes_read, argument
495 bool success = ::ReadFile(fd, buff, buff_size, &num_read_long, nullptr);
508 bool WriteToFile(fd_t fd, const void *buff, uptr buff_size, uptr *bytes_written, argument
533 if (!WriteFile(fd, buff, buff_size, &bytes_written_32, 0)) {
H A Dsanitizer_common.h227 bool ReadFromFile(fd_t fd, void *buff, uptr buff_size,
229 bool WriteToFile(fd_t fd, const void *buff, uptr buff_size,
246 // The size of the mmaped region is stored in '*buff_size'.
249 bool ReadFileToBuffer(const char *file_name, char **buff, uptr *buff_size,
254 // in '*buff_size'.
255 void *MapFileToMemory(const char *file_name, uptr *buff_size);
H A Dsanitizer_linux.cc406 uptr buff_size; local
409 if (!ReadFileToBuffer(path, &buff, &buff_size, &buff_len, 1024 * 1024)) {
/external/libcxx/include/support/ibm/
H A Dxlocale.h305 const size_t buff_size = 256; local
307 if ((*strp = (char *)malloc(buff_size)) == NULL)
311 if ((str_size = vsnprintf(*strp, buff_size, fmt, ap)) >= buff_size)
/external/libnfc-nci/src/nfc/nfc/
H A Dnfc_ncif.c146 UINT8 buffer_size = p_cb->buff_size;
775 UINT8 buff_size, num_buff; local
789 buff_size = *p++;
809 if (buff_size > NCI_ISO_DEP_MAX_INFO)
810 buff_size = NCI_ISO_DEP_MAX_INFO;
905 if (buff_size > NCI_NFC_DEP_MAX_DATA)
906 buff_size = NCI_NFC_DEP_MAX_DATA;
964 p_cb->buff_size = buff_size;
1208 p_cb->buff_size
[all...]
/external/libnfc-nci/src/nfc/int/
H A Dnfc_int.h124 UINT8 buff_size; /* the max buffer size for this connection. . */ member in struct:__anon10580
/external/aac/libSBRenc/src/
H A Dtran_det.cpp805 int buff_size; local
812 buff_size = h_sbrFastTransientDetector->nTimeSlots + h_sbrFastTransientDetector->lookahead;
814 for(i=0; i< buff_size; i++) {
/external/libnfc-nci/src/nfa/int/
H A Dnfa_hci_int.h380 UINT8 buff_size; /* Connection buffer size */ member in struct:__anon10417
/external/libnfc-nci/src/nfa/hci/
H A Dnfa_hci_main.c673 nfa_hci_cb.buff_size = p_data->conn_create.buff_size;
H A Dnfa_hci_utils.c323 UINT16 max_seg_hcp_pkt_size = nfa_hci_cb.buff_size - NCI_DATA_HDR_SIZE;
/external/libavc/test/encoder/
H A Dmain.c1521 WORD32 i, is_last = 0, buff_size = 0, num_bytes = 0; local
1760 buff_size = ps_app_ctxt->as_output_buf[i].u4_buf_size;
1767 ps_video_encode_ip->s_out_buf.u4_bufsize = buff_size;
1853 buff_size = ps_video_encode_op->s_out_buf.u4_bufsize;
/external/libnfc-nci/src/nfc/include/
H A Dnfc_api.h311 UINT8 buff_size; /* The max buffer size */ member in struct:__anon10508
/external/icu/icu4c/source/test/cintltst/
H A Dnucnvtst.c5384 int32_t rules_length, target_cap, bytes_needed, buff_size; local
5409 buff_size = rules_length * ucnv_getMaxCharSize(utf8cnv);
5410 buff = malloc(buff_size);
5416 if(target_cap >= buff_size) {
5417 log_err("wanted %d bytes, only %d available\n", target_cap, buff_size);
/external/robolectric/v3/runtime/
H A Dandroid-all-4.1.2_r1-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...
H A Dandroid-all-4.2.2_r1.2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...
H A Dandroid-all-4.3_r2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...
H A Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...

Completed in 670 milliseconds