Home
last modified time | relevance | path

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

/third_party/flutter/skia/third_party/externals/sdl/src/test/
DSDL_test_fuzzer.c205 Uint64 tempBuf[4]; in SDLTest_GenerateUnsignedBoundaryValues() local
227 tempBuf[index] = b1 + index; in SDLTest_GenerateUnsignedBoundaryValues()
231 tempBuf[index] = b1; in SDLTest_GenerateUnsignedBoundaryValues()
233 tempBuf[index] = b1 + 1; in SDLTest_GenerateUnsignedBoundaryValues()
235 tempBuf[index] = b2 - 1; in SDLTest_GenerateUnsignedBoundaryValues()
237 tempBuf[index] = b2; in SDLTest_GenerateUnsignedBoundaryValues()
243 tempBuf[index] = b1 - 1; in SDLTest_GenerateUnsignedBoundaryValues()
248 tempBuf[index] = b2 + 1; in SDLTest_GenerateUnsignedBoundaryValues()
259 return tempBuf[SDLTest_RandomUint8() % index]; in SDLTest_GenerateUnsignedBoundaryValues()
337 Sint64 tempBuf[4]; in SDLTest_GenerateSignedBoundaryValues() local
[all …]
/third_party/node/deps/icu-small/source/common/
Dustr_wcs.cpp73 char* tempBuf = stackBuffer; in _strToWCS() local
77 char* saveBuf = tempBuf; in _strToWCS()
102 …ucnv_fromUnicode(conv,&tempBuf,tempBufLimit,&pSrc,pSrcLimit,NULL,(UBool)(pSrc==pSrcLimit),pErrorCo… in _strToWCS()
103 count =(tempBuf - saveBuf); in _strToWCS()
107 tempBuf = saveBuf; in _strToWCS()
114 if(!u_growAnyBufferFromStatic(stackBuffer,(void**) &tempBuf, &tempBufCapacity, in _strToWCS()
119 saveBuf = tempBuf; in _strToWCS()
120 tempBufLimit = tempBuf + tempBufCapacity; in _strToWCS()
121 tempBuf = tempBuf + count; in _strToWCS()
134 tempBuf = saveBuf; in _strToWCS()
[all …]
Ducnvhz.cpp158 char tempBuf[2]; in UConverter_toUnicode_HZ_OFFSETS_LOGIC() local
165 tempBuf[0]=0; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
166 tempBuf[1]=0; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
269 tempBuf[0] = (char) (leadByte+0x80) ; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
270 tempBuf[1] = (char) (mySourceChar+0x80); in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
272 tempBuf, 2, args->converter->useFallback); in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
Ducnv_u8.cpp310 uint8_t tempBuf[4]; in ucnv_fromUnicode_UTF8() local
372 tempPtr = (((targetLimit - myTarget) >= 4) ? myTarget : tempBuf); in ucnv_fromUnicode_UTF8()
392 for (; tempPtr <= (tempBuf + indexToWrite); tempPtr++) { in ucnv_fromUnicode_UTF8()
427 uint8_t tempBuf[4]; in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC() local
499 tempPtr = (((targetLimit - myTarget) >= 4) ? myTarget : tempBuf); in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
526 for (; tempPtr <= (tempBuf + indexToWrite); tempPtr++) { in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
Ducnv2022.cpp2083 char tempBuf[2]; in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC() local
2254 _2022ToSJIS((uint8_t)mySourceChar, trailByte, tempBuf); in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2262 tempBuf[0] = (char)(tmpSourceChar >> 8); in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2263 tempBuf[1] = (char)(tmpSourceChar); in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2265 … targetUniChar = ucnv_MBCSSimpleGetNextUChar(myData->myConverterArray[cs], tempBuf, 2, FALSE); in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2676 char tempBuf[2]; in UConverter_toUnicode_ISO_2022_KR_OFFSETS_LOGIC() local
2767 tempBuf[0] = (char)(mySourceChar + 0x80); in UConverter_toUnicode_ISO_2022_KR_OFFSETS_LOGIC()
2768 tempBuf[1] = (char)(trailByte + 0x80); in UConverter_toUnicode_ISO_2022_KR_OFFSETS_LOGIC()
2769 … targetUniChar = ucnv_MBCSSimpleGetNextUChar(sharedData, tempBuf, 2, useFallback); in UConverter_toUnicode_ISO_2022_KR_OFFSETS_LOGIC()
3269 char tempBuf[3]; in UConverter_toUnicode_ISO_2022_CN_OFFSETS_LOGIC() local
[all …]
/third_party/icu/icu4c/source/common/
Dustr_wcs.cpp73 char* tempBuf = stackBuffer; in _strToWCS() local
77 char* saveBuf = tempBuf; in _strToWCS()
102 …ucnv_fromUnicode(conv,&tempBuf,tempBufLimit,&pSrc,pSrcLimit,NULL,(UBool)(pSrc==pSrcLimit),pErrorCo… in _strToWCS()
103 count =(tempBuf - saveBuf); in _strToWCS()
107 tempBuf = saveBuf; in _strToWCS()
114 if(!u_growAnyBufferFromStatic(stackBuffer,(void**) &tempBuf, &tempBufCapacity, in _strToWCS()
119 saveBuf = tempBuf; in _strToWCS()
120 tempBufLimit = tempBuf + tempBufCapacity; in _strToWCS()
121 tempBuf = tempBuf + count; in _strToWCS()
134 tempBuf = saveBuf; in _strToWCS()
[all …]
Ducnvhz.cpp158 char tempBuf[2]; in UConverter_toUnicode_HZ_OFFSETS_LOGIC() local
165 tempBuf[0]=0; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
166 tempBuf[1]=0; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
269 tempBuf[0] = (char) (leadByte+0x80) ; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
270 tempBuf[1] = (char) (mySourceChar+0x80); in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
272 tempBuf, 2, args->converter->useFallback); in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
Ducnv_u8.cpp310 uint8_t tempBuf[4]; in ucnv_fromUnicode_UTF8() local
372 tempPtr = (((targetLimit - myTarget) >= 4) ? myTarget : tempBuf); in ucnv_fromUnicode_UTF8()
392 for (; tempPtr <= (tempBuf + indexToWrite); tempPtr++) { in ucnv_fromUnicode_UTF8()
427 uint8_t tempBuf[4]; in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC() local
499 tempPtr = (((targetLimit - myTarget) >= 4) ? myTarget : tempBuf); in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
526 for (; tempPtr <= (tempBuf + indexToWrite); tempPtr++) { in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
Ducnv2022.cpp2083 char tempBuf[2]; in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC() local
2254 _2022ToSJIS((uint8_t)mySourceChar, trailByte, tempBuf); in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2262 tempBuf[0] = (char)(tmpSourceChar >> 8); in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2263 tempBuf[1] = (char)(tmpSourceChar); in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2265 … targetUniChar = ucnv_MBCSSimpleGetNextUChar(myData->myConverterArray[cs], tempBuf, 2, FALSE); in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2676 char tempBuf[2]; in UConverter_toUnicode_ISO_2022_KR_OFFSETS_LOGIC() local
2767 tempBuf[0] = (char)(mySourceChar + 0x80); in UConverter_toUnicode_ISO_2022_KR_OFFSETS_LOGIC()
2768 tempBuf[1] = (char)(trailByte + 0x80); in UConverter_toUnicode_ISO_2022_KR_OFFSETS_LOGIC()
2769 … targetUniChar = ucnv_MBCSSimpleGetNextUChar(sharedData, tempBuf, 2, useFallback); in UConverter_toUnicode_ISO_2022_KR_OFFSETS_LOGIC()
3269 char tempBuf[3]; in UConverter_toUnicode_ISO_2022_CN_OFFSETS_LOGIC() local
[all …]
/third_party/flutter/skia/third_party/externals/icu/source/common/
Dustr_wcs.cpp73 char* tempBuf = stackBuffer; in _strToWCS() local
77 char* saveBuf = tempBuf; in _strToWCS()
102 …ucnv_fromUnicode(conv,&tempBuf,tempBufLimit,&pSrc,pSrcLimit,NULL,(UBool)(pSrc==pSrcLimit),pErrorCo… in _strToWCS()
103 count =(tempBuf - saveBuf); in _strToWCS()
107 tempBuf = saveBuf; in _strToWCS()
114 if(!u_growAnyBufferFromStatic(stackBuffer,(void**) &tempBuf, &tempBufCapacity, in _strToWCS()
119 saveBuf = tempBuf; in _strToWCS()
120 tempBufLimit = tempBuf + tempBufCapacity; in _strToWCS()
121 tempBuf = tempBuf + count; in _strToWCS()
134 tempBuf = saveBuf; in _strToWCS()
[all …]
Ducnvhz.cpp158 char tempBuf[2]; in UConverter_toUnicode_HZ_OFFSETS_LOGIC() local
165 tempBuf[0]=0; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
166 tempBuf[1]=0; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
269 tempBuf[0] = (char) (leadByte+0x80) ; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
270 tempBuf[1] = (char) (mySourceChar+0x80); in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
272 tempBuf, 2, args->converter->useFallback); in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
Ducnv_u8.cpp310 uint8_t tempBuf[4]; in ucnv_fromUnicode_UTF8() local
372 tempPtr = (((targetLimit - myTarget) >= 4) ? myTarget : tempBuf); in ucnv_fromUnicode_UTF8()
392 for (; tempPtr <= (tempBuf + indexToWrite); tempPtr++) { in ucnv_fromUnicode_UTF8()
427 uint8_t tempBuf[4]; in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC() local
499 tempPtr = (((targetLimit - myTarget) >= 4) ? myTarget : tempBuf); in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
526 for (; tempPtr <= (tempBuf + indexToWrite); tempPtr++) { in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
Ducnv2022.cpp2015 char tempBuf[2]; in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC() local
2190 tempBuf[0] = (char)(tmpSourceChar >> 8); in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2191 tempBuf[1] = (char)(tmpSourceChar); in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2192 … targetUniChar = ucnv_MBCSSimpleGetNextUChar(myData->myConverterArray[cs], tempBuf, 2, FALSE); in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2603 char tempBuf[2]; in UConverter_toUnicode_ISO_2022_KR_OFFSETS_LOGIC() local
2694 tempBuf[0] = (char)(mySourceChar + 0x80); in UConverter_toUnicode_ISO_2022_KR_OFFSETS_LOGIC()
2695 tempBuf[1] = (char)(trailByte + 0x80); in UConverter_toUnicode_ISO_2022_KR_OFFSETS_LOGIC()
2696 … targetUniChar = ucnv_MBCSSimpleGetNextUChar(sharedData, tempBuf, 2, useFallback); in UConverter_toUnicode_ISO_2022_KR_OFFSETS_LOGIC()
3196 char tempBuf[3]; in UConverter_toUnicode_ISO_2022_CN_OFFSETS_LOGIC() local
3315 tempBuf[0] = (char) (0x80+(tempState-CNS_11643_0)); in UConverter_toUnicode_ISO_2022_CN_OFFSETS_LOGIC()
[all …]
/third_party/skia/third_party/externals/icu/source/common/
Dustr_wcs.cpp73 char* tempBuf = stackBuffer; in _strToWCS() local
77 char* saveBuf = tempBuf; in _strToWCS()
102 …ucnv_fromUnicode(conv,&tempBuf,tempBufLimit,&pSrc,pSrcLimit,NULL,(UBool)(pSrc==pSrcLimit),pErrorCo… in _strToWCS()
103 count =(tempBuf - saveBuf); in _strToWCS()
107 tempBuf = saveBuf; in _strToWCS()
114 if(!u_growAnyBufferFromStatic(stackBuffer,(void**) &tempBuf, &tempBufCapacity, in _strToWCS()
119 saveBuf = tempBuf; in _strToWCS()
120 tempBufLimit = tempBuf + tempBufCapacity; in _strToWCS()
121 tempBuf = tempBuf + count; in _strToWCS()
134 tempBuf = saveBuf; in _strToWCS()
[all …]
Ducnvhz.cpp158 char tempBuf[2]; in UConverter_toUnicode_HZ_OFFSETS_LOGIC() local
165 tempBuf[0]=0; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
166 tempBuf[1]=0; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
269 tempBuf[0] = (char) (leadByte+0x80) ; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
270 tempBuf[1] = (char) (mySourceChar+0x80); in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
272 tempBuf, 2, args->converter->useFallback); in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
Ducnv_u8.cpp310 uint8_t tempBuf[4]; in ucnv_fromUnicode_UTF8() local
372 tempPtr = (((targetLimit - myTarget) >= 4) ? myTarget : tempBuf); in ucnv_fromUnicode_UTF8()
392 for (; tempPtr <= (tempBuf + indexToWrite); tempPtr++) { in ucnv_fromUnicode_UTF8()
427 uint8_t tempBuf[4]; in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC() local
499 tempPtr = (((targetLimit - myTarget) >= 4) ? myTarget : tempBuf); in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
526 for (; tempPtr <= (tempBuf + indexToWrite); tempPtr++) { in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
Ducnv2022.cpp2015 char tempBuf[2]; in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC() local
2190 tempBuf[0] = (char)(tmpSourceChar >> 8); in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2191 tempBuf[1] = (char)(tmpSourceChar); in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2192 … targetUniChar = ucnv_MBCSSimpleGetNextUChar(myData->myConverterArray[cs], tempBuf, 2, FALSE); in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2603 char tempBuf[2]; in UConverter_toUnicode_ISO_2022_KR_OFFSETS_LOGIC() local
2694 tempBuf[0] = (char)(mySourceChar + 0x80); in UConverter_toUnicode_ISO_2022_KR_OFFSETS_LOGIC()
2695 tempBuf[1] = (char)(trailByte + 0x80); in UConverter_toUnicode_ISO_2022_KR_OFFSETS_LOGIC()
2696 … targetUniChar = ucnv_MBCSSimpleGetNextUChar(sharedData, tempBuf, 2, useFallback); in UConverter_toUnicode_ISO_2022_KR_OFFSETS_LOGIC()
3196 char tempBuf[3]; in UConverter_toUnicode_ISO_2022_CN_OFFSETS_LOGIC() local
3315 tempBuf[0] = (char) (0x80+(tempState-CNS_11643_0)); in UConverter_toUnicode_ISO_2022_CN_OFFSETS_LOGIC()
[all …]
/third_party/flutter/skia/third_party/externals/icu/patches/
Diso2022jp.patch115 - _2022ToSJIS((uint8_t)mySourceChar, trailByte, tempBuf);
123 - tempBuf[0] = (char)(tmpSourceChar >> 8);
124 - tempBuf[1] = (char)(tmpSourceChar);
130 + tempBuf[0] = (char)(tmpSourceChar >> 8);
131 + tempBuf[1] = (char)(tmpSourceChar);
132 … targetUniChar = ucnv_MBCSSimpleGetNextUChar(myData->myConverterArray[cs], tempBuf, 2, FALSE);
/third_party/skia/third_party/externals/icu/patches/
Diso2022jp.patch115 - _2022ToSJIS((uint8_t)mySourceChar, trailByte, tempBuf);
123 - tempBuf[0] = (char)(tmpSourceChar >> 8);
124 - tempBuf[1] = (char)(tmpSourceChar);
130 + tempBuf[0] = (char)(tmpSourceChar >> 8);
131 + tempBuf[1] = (char)(tmpSourceChar);
132 … targetUniChar = ucnv_MBCSSimpleGetNextUChar(myData->myConverterArray[cs], tempBuf, 2, FALSE);
/third_party/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DCharsetHZ.java70 byte[] tempBuf = new byte[2]; in decodeLoop()
167 tempBuf[0] = (byte)(leadByte + 0x80); in decodeLoop()
168 tempBuf[1] = (byte)(mySourceChar + 0x80); in decodeLoop()
169 … targetUniChar = gbDecoder.simpleGetNextUChar(ByteBuffer.wrap(tempBuf), super.isFallbackUsed()); in decodeLoop()
DCharsetISO2022.java850 byte []tempBuf = new byte[2]; in decodeLoop()
1026 … _2022ToSJIS((char)mySourceChar, (char)trailByte, tempBuf); in decodeLoop() local
1034tempBuf[0] = (byte)(UConverterConstants.UNSIGNED_BYTE_MASK & (tmpSourceChar >> 8)); in decodeLoop()
1035tempBuf[1] = (byte)(UConverterConstants.UNSIGNED_BYTE_MASK & tmpSourceChar); in decodeLoop()
1037 …ar = MBCSSimpleGetNextUChar(myConverterData.myConverterArray[cs], ByteBuffer.wrap(tempBuf), false); in decodeLoop()
1111 byte[] tempBuf = new byte[3]; in decodeLoop()
1231 tempBuf[0] = (byte)(0x80 + (tempState - CNS_11643_0)); in decodeLoop()
1232 tempBuf[1] = (byte)mySourceChar; in decodeLoop()
1233 tempBuf[2] = (byte)trailByte; in decodeLoop()
1237 tempBuf[0] = (byte)mySourceChar; in decodeLoop()
[all …]
/third_party/icu/icu4c/source/test/cintltst/
Dcnmdptst.c129 char tempBuf[256]; in TestQuotes() local
147 log_verbose("Pattern \"%s\" \n", u_austrcpy(tempBuf, pat) ); in TestQuotes()
148 log_verbose("Format 123 -> %s\n", u_austrcpy(tempBuf, str) ); in TestQuotes()
175 log_verbose("Pattern \"%s\" \n", u_austrcpy(tempBuf, pat) ); in TestQuotes()
176 log_verbose("Format 123 -> %s\n", u_austrcpy(tempBuf, str) ); in TestQuotes()
349 char tempBuf[256]; in TestCurrencySign() local
375 log_verbose("Pattern \" %s \" \n", u_austrcpy(tempBuf, pat)); in TestCurrencySign()
376 log_verbose("Format 1234.56 -> %s\n", u_austrcpy(tempBuf, str) ); in TestCurrencySign()