Home
last modified time | relevance | path

Searched refs:max_size (Results 1 – 7 of 7) sorted by relevance

/packages/modules/DnsResolver/tests/dns_responder/
Ddns_tls_frontend.cpp277 const int max_size = 4096; in handleRequests() local
278 uint8_t recv_buffer[max_size]; in handleRequests()
279 int rlen = recv(backend_socket_.get(), recv_buffer, max_size, 0); in handleRequests()
/packages/modules/adb/client/
Dincremental_utils.cpp115 int max_size = kMaxSignatureSize - sizeof(int32_t); in read_id_sig_headers() local
117 if (!append_bytes_with_size(fd, &signature, &max_size) || in read_id_sig_headers()
118 !append_bytes_with_size(fd, &signature, &max_size)) { in read_id_sig_headers()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
DCropActivity.java629 protected static Bitmap getDownsampledBitmap(Bitmap image, int max_size) { in getDownsampledBitmap() argument
630 if (image == null || image.getWidth() == 0 || image.getHeight() == 0 || max_size < 16) { in getDownsampledBitmap()
635 while (size > max_size) { in getDownsampledBitmap()
645 if (CropMath.getBitmapSize(ret) > max_size) { in getDownsampledBitmap()
/packages/modules/Virtualization/authfs/fd_server/src/
Dmain.rs229 fn read_into_buf(file: &File, max_size: usize, offset: u64) -> io::Result<Vec<u8>> { in read_into_buf()
231 let buf_size = min(remaining, max_size as u64) as usize; in read_into_buf()
/packages/modules/adb/
Dtest_device.py723 max_size = 16 * (1 << 10)
729 size = random.randrange(min_size, max_size, 1024)
742 max_size = 16 * (1 << 10)
746 size = random.randrange(min_size, max_size, 1024)
/packages/apps/Nfc/nci/jni/extns/pn54x/src/mifare/
DphNxpExtns_MifareStd.cpp345 NdefMap, (uint32_t*)&(conn_evt_data.ndef_detect.max_size), in Mfc_CheckNdef_Completion_Routine()
347 NdefInfo.NdefLength = conn_evt_data.ndef_detect.max_size; in Mfc_CheckNdef_Completion_Routine()
362 conn_evt_data.ndef_detect.max_size = 0; in Mfc_CheckNdef_Completion_Routine()
/packages/apps/Nfc/nci/jni/
DNativeNfcManager.cpp59 uint32_t max_size,
542 eventData->ndef_detect.max_size, eventData->ndef_detect.cur_size, in nfaConnectionCallback()
545 nativeNfcTag_doCheckNdefResult(status, eventData->ndef_detect.max_size, in nfaConnectionCallback()