Home
last modified time | relevance | path

Searched refs:buff (Results 1 – 25 of 26) sorted by relevance

12

/packages/services/BuiltInPrintService/jni/plugins/
Dplugin_pdf.c76 char *buff; in _print_page() local
86 buff = malloc(BUFF_SIZE); in _print_page()
87 if (buff == NULL) { in _print_page()
93 rbytes = read(fd, buff, BUFF_SIZE); in _print_page()
96 wbytes = priv->print_ifc->send_data(priv->print_ifc, buff, rbytes); in _print_page()
99 rbytes = read(fd, buff, BUFF_SIZE); in _print_page()
110 free(buff); in _print_page()
Dlib_pclm.c233 unsigned char *buff = (unsigned char *) rgb_pixels; in _print_swath() local
237 unsigned char gray = SP_GRAY(buff[readIndex + 0], buff[readIndex + 1], in _print_swath()
238 buff[readIndex + 2]); in _print_swath()
239 buff[writeIndex++] = gray; in _print_swath()
240 buff[writeIndex++] = gray; in _print_swath()
241 buff[writeIndex++] = gray; in _print_swath()
Dlib_pwg.c289 unsigned char *buff = (unsigned char *) rgb_pixels; in _print_swath() local
293 unsigned char gray = SP_GRAY(buff[readIndex + 0], buff[readIndex + 1], in _print_swath()
294 buff[readIndex + 2]); in _print_swath()
295 buff[writeIndex++] = gray; in _print_swath()
Dplugin_pcl.c283 char *buff; in _print_page() local
404 buff = buff_pool[buff_index]; in _print_page()
410 (unsigned char *) buff); in _print_page()
417 memset(buff, 0xff, buff_size); in _print_page()
422 msg.param.send.buffer = buff; in _print_page()
/packages/apps/Nfc/nci/jni/extns/pn54x/src/mifare/
DphNxpExtns_MifareStd.cpp41 uint8_t* buff, uint16_t* buffSz);
62 phNciNfc_TransceiveInfo_t tTranscvInfo, uint8_t bBlockAddr, uint8_t* buff,
65 phNciNfc_TransceiveInfo_t tTranscvInfo, uint8_t* buff, uint16_t* buffSz);
71 static NFCSTATUS nativeNfcExtns_doTransceive(uint8_t* buff, uint16_t buffSz);
1087 static NFCSTATUS nativeNfcExtns_doTransceive(uint8_t* buff, uint16_t buffSz) { in nativeNfcExtns_doTransceive() argument
1090 NFA_SendRawFrame(buff, buffSz, NFA_DM_DEFAULT_PRESENCE_CHECK_START_DELAY); in nativeNfcExtns_doTransceive()
1310 NFCSTATUS Mfc_RecvPacket(uint8_t* buff, uint8_t buffSz) { in Mfc_RecvPacket() argument
1316 RspBuff.pBuff = buff; in Mfc_RecvPacket()
1391 phNciNfc_TransceiveInfo_t tTranscvInfo, uint8_t* buff, uint16_t* buffSz) in phNciNfc_MfCreateXchgDataHdr() argument
1397 buff[i++] = phNciNfc_e_MfRawDataXchgHdr; in phNciNfc_MfCreateXchgDataHdr()
[all …]
DphNxpExtns_MifareStd.h228 NFCSTATUS Mfc_RecvPacket(uint8_t* buff, uint8_t buffSz);
/packages/apps/Launcher3/tests/src/com/android/launcher3/util/
DTestUtil.java44 byte[] buff = new byte[1024]; in installDummyApp()
47 while ((read = in.read(buff)) > 0) { in installDummyApp()
48 out.write(buff, 0, read); in installDummyApp()
/packages/services/BuiltInPrintService/jni/lib/
Dlib_wprint.c262 static void _stream_dbg_job_data(wJob_t job_handle, const unsigned char *buff, in _stream_dbg_job_data() argument
268 bytes_written = write(jq->job_debug_fd, buff, nbytes); in _stream_dbg_job_data()
273 buff += bytes_written; in _stream_dbg_job_data()
286 static void _stream_dbg_page_data(wJob_t job_handle, const unsigned char *buff, in _stream_dbg_page_data() argument
292 bytes_written = write(jq->page_debug_fd, buff, nbytes); in _stream_dbg_page_data()
297 buff += bytes_written; in _stream_dbg_page_data()
312 } buff; in _stream_dbg_start_page() local
313 snprintf(buff.filename, MAX_PATHNAME_LENGTH, "%s/page%4.4d.ppm", jq->debug_path, in _stream_dbg_start_page()
315 buff.filename[MAX_PATHNAME_LENGTH] = 0; in _stream_dbg_start_page()
316 jq->page_debug_fd = open(buff.filename, O_CREAT | O_TRUNC | O_WRONLY, 0600); in _stream_dbg_start_page()
[all …]
/packages/apps/Nfc/nci/jni/
DHciEventManager.cpp155 uint8_t* buff = eventData->rcvd_evt.p_evt_buf; in nfaHciCallback() local
157 std::vector<uint8_t> event_buff(buff, buff + buffLength); in nfaHciCallback()
/packages/services/BuiltInPrintService/jni/include/
Difc_wprint.h35 void (*debug_job_data)(wJob_t job_handle, const unsigned char *buff, unsigned long nbytes);
41 void (*debug_page_data)(wJob_t job_handle, const unsigned char *buff, unsigned long nbytes);
/packages/apps/Nfc/nci/src/com/android/nfc/dhimpl/
DNativeNfcTag.java806 byte[] buff = readNdef(); in findAndReadNdef()
807 if (buff != null && buff.length > 0) { in findAndReadNdef()
809 ndefMsg = new NdefMessage(buff); in findAndReadNdef()
820 } else if(buff != null){ in findAndReadNdef()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/colorpicker/
DColorSVRectView.java97 int[] buff = new int[w * h]; in fillBitmap() local
105 buff[i] = Color.HSVToColor(hsv); in fillBitmap()
107 mBitmap.setPixels(buff, 0, w, 0, 0, w, h); in fillBitmap()
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
DAbstractDownloadProviderFunctionalTest.java78 StringBuilder buff = new StringBuilder();
80 buff.append("a" + i % 26);
82 STRING_1K = buff.toString();
/packages/services/BuiltInPrintService/jni/plugins/genPCLm/inc/
DPCLmGenerator.h116 void initOutBuff(char *buff, sint32 size);
126 void write2Buff(ubyte *buff, int buffSize);
/packages/services/Car/cpp/evs/support_library/
DDisplayUseCase.cpp201 mDisplay->getTargetBuffer([&tgtBuffer](const BufferDesc& buff) { tgtBuffer = buff; }); in streamFrame() argument
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/
DFileCopyUiTest.java305 byte[] buff = new byte[1024]; in loadImageFromResources()
306 while ((read = in.read(buff)) > 0) { in loadImageFromResources()
307 helper.writeAppendDocument(uri, buff, read); in loadImageFromResources()
309 buff = null; in loadImageFromResources()
/packages/services/Car/cpp/computepipe/runner/debug_display_manager/
DEvsDisplayManager.cpp131 evsDisplay->getTargetBuffer([&tgtBuffer](const BufferDesc& buff) { in threadFn() argument
132 tgtBuffer = buff; in threadFn()
/packages/services/Car/cpp/evs/apps/default/
DEvsStateControl.cpp180 mDisplay->getTargetBuffer([&tgtBuffer](const BufferDesc_1_0& buff) { in updateLoop() argument
181 tgtBuffer = buff; in updateLoop()
/packages/services/Car/cpp/evs/manager/1.1/test/fuzzer/
DHalDisplayFuzzer.cpp83 halDisplay->getTargetBuffer([](const BufferDesc_1_0& buff) {}); in LLVMFuzzerTestOneInput() argument
/packages/services/BuiltInPrintService/jni/plugins/genPCLm/src/
DgenPCLm.cpp221 void PCLmGenerator::initOutBuff(char *buff, sint32 size) { in initOutBuff() argument
222 currBuffPtr = outBuffPtr = buff; in initOutBuff()
225 memset(buff, 0, size); in initOutBuff()
239 void PCLmGenerator::write2Buff(ubyte *buff, int buffSize) { in write2Buff() argument
244 memcpy(currBuffPtr, buff, buffSize); in write2Buff()
/packages/modules/DnsResolver/
Dres_cache.cpp284 static void _dnsPacket_init(DnsPacket* packet, const uint8_t* buff, int bufflen) { in _dnsPacket_init() argument
285 packet->base = buff; in _dnsPacket_init()
286 packet->end = buff + bufflen; in _dnsPacket_init()
287 packet->cursor = buff; in _dnsPacket_init()
/packages/inputmethods/LatinIME/dictionaries/
Dsv_wordlist.combined.gz
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_US_wordlist.combined.gz
Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...

12