Home
last modified time | relevance | path

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

/packages/services/Car/evs/sampleDriver/
DEvsV4lCamera.cpp475 BufferDesc buff = {}; in forwardFrame() local
476 buff.width = mVideo.getWidth(); in forwardFrame()
477 buff.height = mVideo.getHeight(); in forwardFrame()
478 buff.stride = mStride; in forwardFrame()
479 buff.format = mFormat; in forwardFrame()
480 buff.usage = mUsage; in forwardFrame()
481 buff.bufferId = idx; in forwardFrame()
482 buff.memHandle = mBuffers[idx].handle; in forwardFrame()
487 mapper.lock(buff.memHandle, in forwardFrame()
489 android::Rect(buff.width, buff.height), in forwardFrame()
[all …]
/packages/apps/Nfc/nci/jni/extns/pn54x/src/mifare/
DphNxpExtns_MifareStd.c38 uint8_t *buff, uint16_t *buffSz);
56 uint8_t *buff,
59 uint8_t *buff, uint16_t *buffSz);
63 STATIC NFCSTATUS nativeNfcExtns_doTransceive(uint8_t *buff, uint16_t buffSz);
1195 STATIC NFCSTATUS nativeNfcExtns_doTransceive(uint8_t *buff, uint16_t buffSz) in nativeNfcExtns_doTransceive() argument
1198 tNFA_STATUS status = NFA_SendRawFrame (buff, buffSz, NFA_DM_DEFAULT_PRESENCE_CHECK_START_DELAY); in nativeNfcExtns_doTransceive()
1437 NFCSTATUS Mfc_RecvPacket(uint8_t *buff, uint8_t buffSz) in Mfc_RecvPacket() argument
1444 RspBuff.pBuff = buff; in Mfc_RecvPacket()
1535 uint8_t *buff, uint16_t *buffSz) in phNciNfc_MfCreateXchgDataHdr() argument
1541 buff[i++] = phNciNfc_e_MfRawDataXchgHdr; in phNciNfc_MfCreateXchgDataHdr()
[all …]
DphNxpExtns_MifareStd.h228 NFCSTATUS Mfc_RecvPacket(uint8_t *buff, uint8_t buffSz);
/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.c232 unsigned char *buff = (unsigned char *) rgb_pixels; in _print_swath() local
236 unsigned char gray = SP_GRAY(buff[readIndex + 0], buff[readIndex + 1], in _print_swath()
237 buff[readIndex + 2]); in _print_swath()
238 buff[writeIndex++] = gray; in _print_swath()
239 buff[writeIndex++] = gray; in _print_swath()
240 buff[writeIndex++] = gray; in _print_swath()
Dlib_pwg.c290 unsigned char *buff = (unsigned char *) rgb_pixels; in _print_swath() local
294 unsigned char gray = SP_GRAY(buff[readIndex + 0], buff[readIndex + 1], in _print_swath()
295 buff[readIndex + 2]); in _print_swath()
296 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/services/BuiltInPrintService/jni/lib/
Dlib_wprint.c258 static void _stream_dbg_job_data(wJob_t job_handle, const unsigned char *buff, in _stream_dbg_job_data() argument
264 bytes_written = write(jq->job_debug_fd, buff, nbytes); in _stream_dbg_job_data()
269 buff += bytes_written; in _stream_dbg_job_data()
282 static void _stream_dbg_page_data(wJob_t job_handle, const unsigned char *buff, in _stream_dbg_page_data() argument
288 bytes_written = write(jq->page_debug_fd, buff, nbytes); in _stream_dbg_page_data()
293 buff += bytes_written; in _stream_dbg_page_data()
308 } buff; in _stream_dbg_start_page() local
309 snprintf(buff.filename, MAX_PATHNAME_LENGTH, "%s/page%4.4d.ppm", jq->debug_path, in _stream_dbg_start_page()
311 buff.filename[MAX_PATHNAME_LENGTH] = 0; in _stream_dbg_start_page()
312 jq->page_debug_fd = open(buff.filename, O_CREAT | O_TRUNC | O_WRONLY, 0600); in _stream_dbg_start_page()
[all …]
/packages/apps/Nfc/nci/src/com/android/nfc/dhimpl/
DNativeNfcTag.java795 byte[] buff = readNdef(); in findAndReadNdef()
796 if (buff != null && buff.length > 0) { in findAndReadNdef()
798 ndefMsg = new NdefMessage(buff); in findAndReadNdef()
809 } 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.java70 StringBuilder buff = new StringBuilder();
72 buff.append("a" + i % 26);
74 STRING_1K = buff.toString();
/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/services/BuiltInPrintService/jni/plugins/genPCLm/inc/
DPCLmGenerator.h116 void initOutBuff(char *buff, sint32 size);
126 void write2Buff(ubyte *buff, int buffSize);
/packages/services/Car/evs/app/
DEvsStateControl.cpp172 mDisplay->getTargetBuffer([&tgtBuffer](const BufferDesc& buff) { in updateLoop() argument
173 tgtBuffer = buff; in updateLoop()
/packages/services/BuiltInPrintService/jni/plugins/genPCLm/src/
DgenPCLm.cpp222 void PCLmGenerator::initOutBuff(char *buff, sint32 size) { in initOutBuff() argument
223 currBuffPtr = outBuffPtr = buff; in initOutBuff()
226 memset(buff, 0, size); in initOutBuff()
240 void PCLmGenerator::write2Buff(ubyte *buff, int buffSize) { in write2Buff() argument
245 memcpy(currBuffPtr, buff, buffSize); in write2Buff()
/packages/inputmethods/LatinIME/dictionaries/
Dsv_wordlist.combined.gz
Den_GB_wordlist.combined.gz
Den_US_wordlist.combined.gz1dictionary=main:en_us,locale=en_US,description=English (US),date ...
Den_wordlist.combined.gz
Dda_wordlist.combined.gz1dictionary=main:da,locale=da,description=Dansk,date=1393228134, ...