Home
last modified time | relevance | path

Searched refs:inBuf (Results 1 - 23 of 23) sorted by relevance

/third_party/icu/icu4c/source/samples/ucnv/
H A Dconvsamp.cpp301 char inBuf[BUFFERSIZE]; in convsample_05() local
332 ((count=static_cast<int32_t>(fread(inBuf, 1, BUFFERSIZE , f))) > 0) ) in convsample_05()
335 source = inBuf; in convsample_05()
336 sourceLimit = inBuf + count; in convsample_05()
401 char inBuf[BUFFERSIZE]; in convsample_06() local
447 ((count=static_cast<int32_t>(fread(inBuf, 1, BUFFERSIZE , f))) > 0) ) in convsample_06()
450 source = inBuf; in convsample_06()
451 sourceLimit = inBuf + count; in convsample_06()
880 char inBuf[BUFFERSIZE]; in convsample_40() local
918 ((count=static_cast<int32_t>(fread(inBuf, in convsample_40()
984 UChar inBuf[BUFFERSIZE]; convsample_46() local
[all...]
/third_party/skia/third_party/externals/icu/source/samples/ucnv/
H A Dconvsamp.cpp301 char inBuf[BUFFERSIZE]; in convsample_05() local
332 ((count=static_cast<int32_t>(fread(inBuf, 1, BUFFERSIZE , f))) > 0) ) in convsample_05()
335 source = inBuf; in convsample_05()
336 sourceLimit = inBuf + count; in convsample_05()
401 char inBuf[BUFFERSIZE]; in convsample_06() local
447 ((count=static_cast<int32_t>(fread(inBuf, 1, BUFFERSIZE , f))) > 0) ) in convsample_06()
450 source = inBuf; in convsample_06()
451 sourceLimit = inBuf + count; in convsample_06()
880 char inBuf[BUFFERSIZE]; in convsample_40() local
918 ((count=static_cast<int32_t>(fread(inBuf, in convsample_40()
984 UChar inBuf[BUFFERSIZE]; convsample_46() local
[all...]
/third_party/backends/backend/
H A Dplustek-pp_scale.c65 _LOC void ScaleX( pScanData ps, pUChar inBuf, pUChar outBuf ) in ScaleX() argument
93 memcpy( outBuf, inBuf, ps->DataInf.dwAppBytesPerLine ); in ScaleX()
113 tmp = inBuf[(i>>3)]; in ScaleX()
137 outBuf[x+j] = inBuf[i+j]; in ScaleX()
H A Dplustek-pp_procs.h232 _LOC void ScaleX( pScanData ps, pUChar inBuf, pUChar outBuf );
/third_party/lzma/C/
H A DMtCoder.c70 if (t->inBuf) in MtCoderThread_Destruct()
72 ISzAlloc_Free(t->mtCoder->allocBig, t->inBuf); in MtCoderThread_Destruct()
73 t->inBuf = NULL; in MtCoderThread_Destruct()
121 if (!t->inBuf) in ThreadFunc2()
123 t->inBuf = (Byte *)ISzAlloc_Alloc(mtc->allocBig, mtc->blockSize); in ThreadFunc2()
124 if (!t->inBuf) in ThreadFunc2()
129 res = SeqInStream_ReadMax(mtc->inStream, t->inBuf, &size); in ThreadFunc2()
215 mtc->inStream ? t->inBuf : inData, size, finished); in ThreadFunc2()
371 t->inBuf = NULL; in MtCoder_Construct()
448 if (t->inBuf) in MtCoder_Code()
[all...]
H A DLzma2DecMt.c106 Byte *inBuf; member
138 p->inBuf = NULL; in Lzma2DecMt_Create()
189 if (p->inBuf) in Lzma2DecMt_FreeSt()
191 ISzAlloc_Free(p->allocMid, p->inBuf); in Lzma2DecMt_FreeSt()
192 p->inBuf = NULL; in Lzma2DecMt_FreeSt()
621 if (!p->inBuf || p->inBufSize != p->props.inBufSize_ST) in Lzma2Dec_Prepare_ST()
623 ISzAlloc_Free(p->allocMid, p->inBuf); in Lzma2Dec_Prepare_ST()
625 p->inBuf = (Byte *)ISzAlloc_Alloc(p->allocMid, p->props.inBufSize_ST); in Lzma2Dec_Prepare_ST()
626 if (!p->inBuf) in Lzma2Dec_Prepare_ST()
701 inData = p->inBuf; in Lzma2Dec_Decode_ST()
[all...]
H A D7zDec.c177 const void *inBuf = NULL; in SzDecodeLzma() local
181 res = ILookInStream_Look(inStream, &inBuf, &lookahead); in SzDecodeLzma()
188 res = LzmaDec_DecodeToDic(&state, outSize, (const Byte *)inBuf, &inProcessed, LZMA_FINISH_END, &status); in SzDecodeLzma()
239 const void *inBuf = NULL; in SzDecodeLzma2() local
243 res = ILookInStream_Look(inStream, &inBuf, &lookahead); in SzDecodeLzma2()
250 res = Lzma2Dec_DecodeToDic(&state, outSize, (const Byte *)inBuf, &inProcessed, LZMA_FINISH_END, &status); in SzDecodeLzma2()
286 const void *inBuf; in SzDecodeCopy() local
290 RINOK(ILookInStream_Look(inStream, &inBuf, &curSize)) in SzDecodeCopy()
293 memcpy(outBuffer, inBuf, curSize); in SzDecodeCopy()
H A DMtDec.c131 if (t->inBuf) in MtDecThread_FreeInBufs()
133 void *link = t->inBuf; in MtDecThread_FreeInBufs()
134 t->inBuf = NULL; in MtDecThread_FreeInBufs()
302 CMtDecBufLink *link = (CMtDecBufLink *)t->inBuf; in MtDec_ThreadFunc2()
327 t->inBuf = (void *)link; in MtDec_ThreadFunc2()
606 CMtDecBufLink *link = (CMtDecBufLink *)t->inBuf; in MtDec_ThreadFunc2()
881 void *link = t->inBuf; in MtDec_Read()
884 t->inBuf = next; in MtDec_Read()
911 return (const Byte *)MTDEC__DATA_PTR_FROM_LINK(t->inBuf); in MtDec_Read()
968 t->inBuf in MtDec_Construct()
[all...]
H A DMtCoder.h51 Byte *inBuf; member
H A DXzDec.c1509 Byte *inBuf; member
1561 p->inBuf = NULL; in XzDecMt_Create()
1621 if (p->inBuf) in XzDecMt_FreeSt()
1623 ISzAlloc_Free(p->allocMid, p->inBuf); in XzDecMt_FreeSt()
1624 p->inBuf = NULL; in XzDecMt_FreeSt()
2398 if (!p->inBuf || p->inBufSize != p->props.inBufSize_ST) in XzDecMt_Decode_ST()
2400 ISzAlloc_Free(p->allocMid, p->inBuf); in XzDecMt_Decode_ST()
2402 p->inBuf = (Byte *)ISzAlloc_Alloc(p->allocMid, p->props.inBufSize_ST); in XzDecMt_Decode_ST()
2403 if (!p->inBuf) in XzDecMt_Decode_ST()
2453 inData = p->inBuf; in XzDecMt_Decode_ST()
[all...]
H A DMtDec.h45 void *inBuf; member
H A DXzEnc.c745 const Byte *inBuf, // used if (!inStream) in Xz_CompressBlock()
825 checkInStream.data = inBuf; in Xz_CompressBlock()
855 XzCheck_Update(&checkInStream.check, inBuf, inBufSize); in Xz_CompressBlock()
879 useStream ? NULL : inBuf, in Xz_CompressBlock()
736 Xz_CompressBlock( CLzma2WithFilters *lzmaf, ISeqOutStreamPtr outStream, Byte *outBufHeader, Byte *outBufData, size_t outBufDataLimit, ISeqInStreamPtr inStream, const Byte *inBuf, size_t inBufSize, const CXzProps *props, ICompressProgressPtr progress, int *inStreamFinished, CXzEncBlockInfo *blockSizes, ISzAllocPtr alloc, ISzAllocPtr allocBig) Xz_CompressBlock() argument
/third_party/node/test/async-hooks/
H A Dtest-zlib.zlib-binding.deflate.js31 inBuf: new Uint8Array([0x78]),
48 handle.write(true, buffers.inBuf, 0, 1, buffers.outBuf, 0, 1);
56 handle.write(true, buffers.inBuf, 0, 1, buffers.outBuf, 0, 1);
/third_party/lzma/C/Util/Lzma/
H A DLzmaUtil.c109 Byte inBuf[IN_BUF_SIZE]; in Decode2() local
118 RINOK(inStream->Read(inStream, inBuf, &inSize)) in Decode2()
134 inBuf + inPos, &inProcessed, finishMode, &status); in Decode2()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/stringprep/
H A DTestIDNARef.java119 StringBuffer inBuf = new StringBuffer(src); in doTestToUnicode()
138 StringBuffer out = IDNAReference.convertToUnicode(inBuf,options); in doTestToUnicode()
176 StringBuffer inBuf = new StringBuffer(src); in doTestIDNToUnicode()
194 StringBuffer out = IDNAReference.convertIDNToUnicode(inBuf,options); in doTestIDNToUnicode()
231 StringBuffer inBuf = new StringBuffer(src); in doTestToASCII()
250 StringBuffer out = IDNAReference.convertToASCII(inBuf,options); in doTestToASCII()
287 StringBuffer inBuf = new StringBuffer(src); in doTestIDNToASCII()
305 StringBuffer out = IDNAReference.convertIDNtoASCII(inBuf,options); in doTestIDNToASCII()
H A DTestIDNA.java90 StringBuffer inBuf = new StringBuffer(src); in doTestToUnicode()
109 StringBuffer out = IDNA.convertToUnicode(inBuf,options); in doTestToUnicode()
141 StringBuffer inBuf = new StringBuffer(src); in doTestIDNToUnicode()
159 StringBuffer out = IDNA.convertIDNToUnicode(inBuf,options); in doTestIDNToUnicode()
190 StringBuffer inBuf = new StringBuffer(src); in doTestToASCII()
209 StringBuffer out = IDNA.convertToASCII(inBuf,options); in doTestToASCII()
240 StringBuffer inBuf = new StringBuffer(src); in doTestIDNToASCII()
258 StringBuffer out = IDNA.convertIDNToASCII(inBuf,options); in doTestIDNToASCII()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/stringprep/
H A DTestIDNARef.java116 StringBuffer inBuf = new StringBuffer(src); in doTestToUnicode()
135 StringBuffer out = IDNAReference.convertToUnicode(inBuf,options); in doTestToUnicode()
173 StringBuffer inBuf = new StringBuffer(src); in doTestIDNToUnicode()
191 StringBuffer out = IDNAReference.convertIDNToUnicode(inBuf,options); in doTestIDNToUnicode()
228 StringBuffer inBuf = new StringBuffer(src); in doTestToASCII()
247 StringBuffer out = IDNAReference.convertToASCII(inBuf,options); in doTestToASCII()
284 StringBuffer inBuf = new StringBuffer(src); in doTestIDNToASCII()
302 StringBuffer out = IDNAReference.convertIDNtoASCII(inBuf,options); in doTestIDNToASCII()
H A DTestIDNA.java87 StringBuffer inBuf = new StringBuffer(src); in doTestToUnicode()
106 StringBuffer out = IDNA.convertToUnicode(inBuf,options); in doTestToUnicode()
138 StringBuffer inBuf = new StringBuffer(src); in doTestIDNToUnicode()
156 StringBuffer out = IDNA.convertIDNToUnicode(inBuf,options); in doTestIDNToUnicode()
187 StringBuffer inBuf = new StringBuffer(src); in doTestToASCII()
206 StringBuffer out = IDNA.convertToASCII(inBuf,options); in doTestToASCII()
237 StringBuffer inBuf = new StringBuffer(src); in doTestIDNToASCII()
255 StringBuffer out = IDNA.convertIDNToASCII(inBuf,options); in doTestIDNToASCII()
/third_party/icu/icu4c/source/test/cintltst/
H A Dputiltst.c579 const char *inBuf; in toolutil_findBasename() member
606 const char *input = STRNULL(testCases[i].inBuf); in toolutil_findBasename()
609 result = STRNULL(findBasename(testCases[i].inBuf)); in toolutil_findBasename()
623 const char *inBuf; in toolutil_findDirname() member
700 const char *input = STRNULL(testCases[i].inBuf); in toolutil_findDirname()
706 result = STRNULL(findDirname(testCases[i].inBuf, toolutil_testBuf, testCases[i].outBufLen, &status)); in toolutil_findDirname()
/third_party/icu/icu4c/source/test/iotest/
H A Dfiletst.c955 uint8_t inBuf[200]; in TestCodepageFlush()
978 inLen = fread(inBuf, 1, 200, myCFile); in TestCodepageFlush()
988 if(inBuf[i]==0x0E) { /* SO */ in TestCodepageFlush()
990 } else if(inBuf[i]==0x0F) { /* SI */ in TestCodepageFlush()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/translit/
H A DTransliteratorTest.java3738 StringBuffer inBuf = new StringBuffer(testData); in run()
3742 String in = inBuf.toString(); in run()
3749 inBuf.append(testData); in run()
/third_party/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/
H A DTransliteratorTest.java3738 StringBuffer inBuf = new StringBuffer(testData); in run()
3742 String in = inBuf.toString(); in run()
3749 inBuf.append(testData); in run()
/third_party/icu/icu4j/main/tests/charset/src/com/ibm/icu/dev/test/charset/
H A DTestCharset.java1854 CharBuffer inBuf = CharBuffer.allocate(in.length); in TestUTF16Bom()
1855 inBuf.put(in); in TestUTF16Bom()
1858 inBuf.rewind(); in TestUTF16Bom()
1859 encoder.encode(inBuf, outBuf, true); in TestUTF16Bom()
2595 CharBuffer inBuf = CharBuffer.allocate(in.length); in TestUTF32BOM()
2596 inBuf.put(in); in TestUTF32BOM()
2599 inBuf.rewind(); in TestUTF32BOM()
2600 encoder.encode(inBuf, outBuf, true); in TestUTF32BOM()

Completed in 37 milliseconds