Home
last modified time | relevance | path

Searched refs:tempBuf (Results 1 – 25 of 29) sorted by relevance

12

/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/
DDexDataWriter.java52 private byte[] tempBuf = new byte[8]; field in DexDataWriter
169 tempBuf[index++] = (byte)value; in writeEncodedInt()
174 tempBuf[index++] = (byte)value; in writeEncodedInt()
178 tempBuf[index++] = (byte)value; in writeEncodedInt()
180 write(tempBuf, 0, index); in writeEncodedInt()
187 tempBuf[index++] = (byte)value; in writeEncodedLong()
192 tempBuf[index++] = (byte)value; in writeEncodedLong()
196 tempBuf[index++] = (byte)value; in writeEncodedLong()
198 write(tempBuf, 0, index); in writeEncodedLong()
204 tempBuf[index++] = (byte)value; in writeEncodedUint()
[all …]
/external/icu/icu4c/source/common/
Dustr_wcs.cpp71 char* tempBuf = stackBuffer; in _strToWCS() local
75 char* saveBuf = tempBuf; in _strToWCS()
100 …ucnv_fromUnicode(conv,&tempBuf,tempBufLimit,&pSrc,pSrcLimit,NULL,(UBool)(pSrc==pSrcLimit),pErrorCo… in _strToWCS()
101 count =(tempBuf - saveBuf); in _strToWCS()
105 tempBuf = saveBuf; in _strToWCS()
112 if(!u_growAnyBufferFromStatic(stackBuffer,(void**) &tempBuf, &tempBufCapacity, in _strToWCS()
117 saveBuf = tempBuf; in _strToWCS()
118 tempBufLimit = tempBuf + tempBufCapacity; in _strToWCS()
119 tempBuf = tempBuf + count; in _strToWCS()
132 tempBuf = saveBuf; in _strToWCS()
[all …]
Ducnvhz.c156 char tempBuf[2]; in UConverter_toUnicode_HZ_OFFSETS_LOGIC() local
163 tempBuf[0]=0; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
164 tempBuf[1]=0; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
267 tempBuf[0] = (char) (leadByte+0x80) ; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
268 tempBuf[1] = (char) (mySourceChar+0x80); in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
270 tempBuf, 2, args->converter->useFallback); in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
Ducnv_u8.c367 uint8_t tempBuf[4]; in ucnv_fromUnicode_UTF8() local
429 tempPtr = (((targetLimit - myTarget) >= 4) ? myTarget : tempBuf); in ucnv_fromUnicode_UTF8()
449 for (; tempPtr <= (tempBuf + indexToWrite); tempPtr++) { in ucnv_fromUnicode_UTF8()
484 uint8_t tempBuf[4]; in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC() local
556 tempPtr = (((targetLimit - myTarget) >= 4) ? myTarget : tempBuf); in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
583 for (; tempPtr <= (tempBuf + indexToWrite); tempPtr++) { in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
/external/lzma/C/
D7zDec.c335 Byte *tempBuf[]) in SzFolder_Decode2() argument
369 outBufCur = tempBuf[1 - ci] = temp; in SzFolder_Decode2()
420 tempBuf[2] = (Byte *)IAlloc_Alloc(allocMain, tempSizes[2]); in SzFolder_Decode2()
421 if (tempBuf[2] == 0 && tempSizes[2] != 0) in SzFolder_Decode2()
423 res = SzDecodeCopy(s3Size, inStream, tempBuf[2]); in SzFolder_Decode2()
428 tempBuf[0], tempSizes[0], in SzFolder_Decode2()
429 tempBuf[1], tempSizes[1], in SzFolder_Decode2()
430 tempBuf[2], tempSizes[2], in SzFolder_Decode2()
484 Byte *tempBuf[3] = { 0, 0, 0}; in SzAr_DecodeFolder() local
488 outBuffer, (SizeT)outSize, allocMain, tempBuf); in SzAr_DecodeFolder()
[all …]
D7zArcIn.c1026 CBuf *tempBuf = tempBufs + fo; in SzReadAndDecodePackedStreams() local
1049 if (!Buf_Create(tempBuf, (size_t)unpackSize, allocTemp)) in SzReadAndDecodePackedStreams()
1056 const CBuf *tempBuf = tempBufs + fo; in SzReadAndDecodePackedStreams() local
1058 … RINOK(SzAr_DecodeFolder(p, fo, inStream, dataStartPos, tempBuf->data, tempBuf->size, allocTemp)); in SzReadAndDecodePackedStreams()
1060 if (CrcCalc(tempBuf->data, tempBuf->size) != p->FolderCRCs.Vals[fo]) in SzReadAndDecodePackedStreams()
1638 CBuf tempBuf; in SzArEx_Open2() local
1639 Buf_Init(&tempBuf); in SzArEx_Open2()
1642 …res = SzReadAndDecodePackedStreams(inStream, &sd, &tempBuf, 1, p->startPosAfterHeader, &tempAr, al… in SzArEx_Open2()
1647 Buf_Free(&tempBuf, allocTemp); in SzArEx_Open2()
1652 buf.data = tempBuf.data; in SzArEx_Open2()
[all …]
DLzmaDec.c768 p->tempBuf[p->tempBufSize++] = *src++; in LzmaDec_DecodeToDic()
774 if (p->tempBuf[0] != 0) in LzmaDec_DecodeToDic()
777 LzmaDec_InitRc(p, p->tempBuf); in LzmaDec_DecodeToDic()
814 memcpy(p->tempBuf, src, inSize); in LzmaDec_DecodeToDic()
841 p->tempBuf[rem++] = src[lookAhead++]; in LzmaDec_DecodeToDic()
845 int dummyRes = LzmaDec_TryDummy(p, p->tempBuf, rem); in LzmaDec_DecodeToDic()
858 p->buf = p->tempBuf; in LzmaDec_DecodeToDic()
861 lookAhead -= (rem - (unsigned)(p->buf - p->tempBuf)); in LzmaDec_DecodeToDic()
/external/lzma/Java/Tukaani/src/org/tukaani/xz/
DDeltaInputStream.java39 private final byte[] tempBuf = new byte[1]; field in DeltaInputStream
70 return read(tempBuf, 0, 1) == -1 ? -1 : (tempBuf[0] & 0xFF); in read()
DDeltaOutputStream.java25 private final byte[] tempBuf = new byte[1]; field in DeltaOutputStream
37 tempBuf[0] = (byte)b; in write()
38 write(tempBuf, 0, 1); in write()
DSimpleInputStream.java30 private final byte[] tempBuf = new byte[1]; field in SimpleInputStream
51 return read(tempBuf, 0, 1) == -1 ? -1 : (tempBuf[0] & 0xFF); in read()
DXZInputStream.java71 private final byte[] tempBuf = new byte[1]; field in XZInputStream
217 return read(tempBuf, 0, 1) == -1 ? -1 : (tempBuf[0] & 0xFF); in read()
DUncompressedLZMA2OutputStream.java27 private final byte[] tempBuf = new byte[1]; field in UncompressedLZMA2OutputStream
43 tempBuf[0] = (byte)b; in write()
44 write(tempBuf, 0, 1); in write()
DSimpleOutputStream.java28 private final byte[] tempBuf = new byte[1]; field in SimpleOutputStream
44 tempBuf[0] = (byte)b; in write()
45 write(tempBuf, 0, 1); in write()
DBlockOutputStream.java28 private final byte[] tempBuf = new byte[1]; field in BlockOutputStream
88 tempBuf[0] = (byte)b; in write()
89 write(tempBuf, 0, 1); in write()
DSingleXZInputStream.java53 private final byte[] tempBuf = new byte[1]; field in SingleXZInputStream
237 return read(tempBuf, 0, 1) == -1 ? -1 : (tempBuf[0] & 0xFF); in read()
DLZMA2InputStream.java62 private final byte[] tempBuf = new byte[1]; field in LZMA2InputStream
171 return read(tempBuf, 0, 1) == -1 ? -1 : (tempBuf[0] & 0xFF); in read()
DLZMA2OutputStream.java38 private final byte[] tempBuf = new byte[1]; field in LZMA2OutputStream
82 tempBuf[0] = (byte)b; in write()
83 write(tempBuf, 0, 1); in write()
DXZOutputStream.java73 private final byte[] tempBuf = new byte[1]; field in XZOutputStream
240 tempBuf[0] = (byte)b; in write()
241 write(tempBuf, 0, 1); in write()
DLZMAInputStream.java56 private final byte[] tempBuf = new byte[1]; field in LZMAInputStream
444 return read(tempBuf, 0, 1) == -1 ? -1 : (tempBuf[0] & 0xFF); in read()
DBlockInputStream.java34 private final byte[] tempBuf = new byte[1]; field in BlockInputStream
203 return read(tempBuf, 0, 1) == -1 ? -1 : (tempBuf[0] & 0xFF); in read()
DSeekableXZInputStream.java181 private final byte[] tempBuf = new byte[1]; field in SeekableXZInputStream
620 return read(tempBuf, 0, 1) == -1 ? -1 : (tempBuf[0] & 0xFF); in read()
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DCharsetHZ.java66 byte[] tempBuf = new byte[2]; in decodeLoop()
163 tempBuf[0] = (byte)(leadByte + 0x80); in decodeLoop()
164 tempBuf[1] = (byte)(mySourceChar + 0x80); in decodeLoop()
165 … targetUniChar = gbDecoder.simpleGetNextUChar(ByteBuffer.wrap(tempBuf), super.isFallbackUsed()); in decodeLoop()
DCharsetISO2022.java849 byte []tempBuf = new byte[2]; in decodeLoop()
1025 … _2022ToSJIS((char)mySourceChar, (char)trailByte, tempBuf); in decodeLoop() local
1033tempBuf[0] = (byte)(UConverterConstants.UNSIGNED_BYTE_MASK & (tmpSourceChar >> 8)); in decodeLoop()
1034tempBuf[1] = (byte)(UConverterConstants.UNSIGNED_BYTE_MASK & tmpSourceChar); in decodeLoop()
1036 …ar = MBCSSimpleGetNextUChar(myConverterData.myConverterArray[cs], ByteBuffer.wrap(tempBuf), false); in decodeLoop()
1108 byte[] tempBuf = new byte[3]; in decodeLoop()
1228 tempBuf[0] = (byte)(0x80 + (tempState - CNS_11643_0)); in decodeLoop()
1229 tempBuf[1] = (byte)mySourceChar; in decodeLoop()
1230 tempBuf[2] = (byte)trailByte; in decodeLoop()
1234 tempBuf[0] = (byte)mySourceChar; in decodeLoop()
[all …]
/external/icu/icu4c/source/test/cintltst/
Dcnmdptst.c128 char tempBuf[256]; in TestQuotes() local
146 log_verbose("Pattern \"%s\" \n", u_austrcpy(tempBuf, pat) ); in TestQuotes()
147 log_verbose("Format 123 -> %s\n", u_austrcpy(tempBuf, str) ); in TestQuotes()
174 log_verbose("Pattern \"%s\" \n", u_austrcpy(tempBuf, pat) ); in TestQuotes()
175 log_verbose("Format 123 -> %s\n", u_austrcpy(tempBuf, str) ); in TestQuotes()
346 char tempBuf[256]; in TestCurrencySign() local
372 log_verbose("Pattern \" %s \" \n", u_austrcpy(tempBuf, pat)); in TestCurrencySign()
373 log_verbose("Format 1234.56 -> %s\n", u_austrcpy(tempBuf, str) ); in TestCurrencySign()
/external/opencv3/apps/traincascade/
Dboost.cpp1127 int* tempBuf = (int*)(uchar*)inn_buf; in split_node_data() local
1156 float *src_val_buf = (float*)(tempBuf + n); in split_node_data()
1164 tempBuf[i] = src_sorted_idx[i]; in split_node_data()
1176 int idx = tempBuf[i]; in split_node_data()
1203 int idx = tempBuf[i]; in split_node_data()
1222 int *src_lbls_buf = tempBuf + n; in split_node_data()
1226 tempBuf[i] = src_lbls[i]; in split_node_data()
1237 int idx = tempBuf[i]; in split_node_data()
1260 int idx = tempBuf[i]; in split_node_data()
1275 int *sampleIdx_src_buf = tempBuf + n; in split_node_data()
[all …]

12