Home
last modified time | relevance | path

Searched refs:U_SIZEOF_UCHAR (Results 1 – 25 of 148) sorted by relevance

123456

/third_party/icu/icu4c/source/test/cintltst/
Dcstrcase.c56 uprv_memcmp(lowerRoot, buffer, length*U_SIZEOF_UCHAR)!=0 || in TestCaseLower()
62 uprv_memcmp(lowerRoot, buffer, length*U_SIZEOF_UCHAR)==0 && in TestCaseLower()
78 uprv_memcmp(lowerTurkish, buffer, length*U_SIZEOF_UCHAR)!=0 || in TestCaseLower()
84 … uprv_memcmp(lowerTurkish, buffer, length*U_SIZEOF_UCHAR)==0 && buffer[length]==0 ? "yes" : "no"); in TestCaseLower()
96 uprv_memcmp(lowerRoot, buffer, 2*U_SIZEOF_UCHAR)!=0 || in TestCaseLower()
102 … uprv_memcmp(lowerRoot, buffer, 2*U_SIZEOF_UCHAR)==0 && buffer[2]==0xabcd ? "yes" : "no"); in TestCaseLower()
154 uprv_memcmp(upperRoot, buffer, length*U_SIZEOF_UCHAR)!=0 || in TestCaseUpper()
160 … uprv_memcmp(upperRoot, buffer, length*U_SIZEOF_UCHAR)==0 && buffer[length]==0 ? "yes" : "no"); in TestCaseUpper()
172 uprv_memcmp(upperTurkish, buffer, length*U_SIZEOF_UCHAR)!=0 || in TestCaseUpper()
178 … uprv_memcmp(upperTurkish, buffer, length*U_SIZEOF_UCHAR)==0 && buffer[length]==0 ? "yes" : "no"); in TestCaseUpper()
[all …]
Dcbiditst.c1027 }else if(memcmp(dest, visualOrder[i], destSize*U_SIZEOF_UCHAR)!=0){ in testReorderArabicMathSymbols()
2340 } else if(srcLength==visualLength && memcmp(src, visualDest, srcLength*U_SIZEOF_UCHAR)==0) { in _testInverseBidi()
2371 …ENGTHOF(reverseKeepCombining) || memcmp(reverse, reverseKeepCombining, length*U_SIZEOF_UCHAR)!=0) { in _testWriteReverse()
2376 memset(reverse, 0xa5, UPRV_LENGTHOF(reverse)*U_SIZEOF_UCHAR); in _testWriteReverse()
2382 …Mirror) || memcmp(reverse, reverseRemoveControlsKeepCombiningDoMirror, length*U_SIZEOF_UCHAR)!=0) { in _testWriteReverse()
2479 …URE(errorCode) || length!=UPRV_LENGTHOF(source) || memcmp(dest, en2an, length*U_SIZEOF_UCHAR)!=0) { in doArabicShapingTest()
2489 …_FAILURE(errorCode) || length!=u_strlen(source) || memcmp(dest, an2en, length*U_SIZEOF_UCHAR)!=0) { in doArabicShapingTest()
2499 …length!=UPRV_LENGTHOF(source) || memcmp(dest, logical_alen2an_init_lr, length*U_SIZEOF_UCHAR)!=0) { in doArabicShapingTest()
2509 …length!=UPRV_LENGTHOF(source) || memcmp(dest, logical_alen2an_init_al, length*U_SIZEOF_UCHAR)!=0) { in doArabicShapingTest()
2519 …length!=UPRV_LENGTHOF(source) || memcmp(dest, reverse_alen2an_init_lr, length*U_SIZEOF_UCHAR)!=0) { in doArabicShapingTest()
[all …]
/third_party/flutter/skia/third_party/externals/icu/source/tools/gensprep/
Dstore.c143 U_SIZEOF_UCHAR,
168 U_SIZEOF_UCHAR,
258 mappingData = (uint16_t*) uprv_calloc(mappingDataCapacity, U_SIZEOF_UCHAR); in storeMappingData()
440 map = (UChar*) uprv_calloc(adjustedLen + 1, U_SIZEOF_UCHAR); in storeMapping()
575 size = sprepTrieSize + mappingDataCapacity*U_SIZEOF_UCHAR + sizeof(indexes); in generateData()
579 printf("size of mapping data array %5u bytes\n",(int)mappingDataCapacity * U_SIZEOF_UCHAR); in generateData()
599 indexes[_SPREP_INDEX_MAPPING_DATA_SIZE]=mappingDataCapacity*U_SIZEOF_UCHAR; in generateData()
/third_party/skia/third_party/externals/icu/source/tools/gensprep/
Dstore.c144 U_SIZEOF_UCHAR,
169 U_SIZEOF_UCHAR,
259 mappingData = (uint16_t*) uprv_calloc(mappingDataCapacity, U_SIZEOF_UCHAR); in storeMappingData()
442 map = (UChar*) uprv_calloc(adjustedLen + 1, U_SIZEOF_UCHAR); in storeMapping()
578 size = sprepTrieSize + mappingDataCapacity*U_SIZEOF_UCHAR + sizeof(indexes); in generateData()
582 printf("size of mapping data array %5u bytes\n",(int)mappingDataCapacity * U_SIZEOF_UCHAR); in generateData()
602 indexes[_SPREP_INDEX_MAPPING_DATA_SIZE]=mappingDataCapacity*U_SIZEOF_UCHAR; in generateData()
/third_party/icu/icu4c/source/tools/gensprep/
Dstore.c144 U_SIZEOF_UCHAR,
169 U_SIZEOF_UCHAR,
259 mappingData = (uint16_t*) uprv_calloc(mappingDataCapacity, U_SIZEOF_UCHAR); in storeMappingData()
442 map = (UChar*) uprv_calloc(adjustedLen + 1, U_SIZEOF_UCHAR); in storeMapping()
578 size = sprepTrieSize + mappingDataCapacity*U_SIZEOF_UCHAR + sizeof(indexes); in generateData()
582 printf("size of mapping data array %5u bytes\n",(int)mappingDataCapacity * U_SIZEOF_UCHAR); in generateData()
602 indexes[_SPREP_INDEX_MAPPING_DATA_SIZE]=mappingDataCapacity*U_SIZEOF_UCHAR; in generateData()
/third_party/icu/icu4c/source/test/intltest/
Didnaref.cpp314 b1 = (UChar*) uprv_malloc(b1Len * U_SIZEOF_UCHAR); in idnaref_toASCII()
373 b2 = (UChar*) uprv_malloc(b2Len * U_SIZEOF_UCHAR); in idnaref_toASCII()
503 b1 = (UChar*) uprv_malloc(b1Len * U_SIZEOF_UCHAR); in idnaref_toUnicode()
524 b1 = (UChar*) uprv_malloc(srcLength * U_SIZEOF_UCHAR); in idnaref_toUnicode()
547 b2 = (UChar*) uprv_malloc(b2Len * U_SIZEOF_UCHAR); in idnaref_toUnicode()
566 b3 = (UChar*) uprv_malloc(b3Len * U_SIZEOF_UCHAR); in idnaref_toUnicode()
746 b1 = (UChar*) uprv_malloc(b1Len * U_SIZEOF_UCHAR); in idnaref_IDNToASCII()
796 b1 = (UChar*) uprv_malloc(b1Len * U_SIZEOF_UCHAR); in idnaref_IDNToASCII()
901 b1 = (UChar*) uprv_malloc(b1Len * U_SIZEOF_UCHAR); in idnaref_IDNToUnicode()
953 b1 = (UChar*) uprv_malloc(b1Len * U_SIZEOF_UCHAR); in idnaref_IDNToUnicode()
[all …]
Dtestidna.cpp433 transOut = (UChar*) malloc(U_SIZEOF_UCHAR * transOutLength); in debug()
441 prepOut = (UChar*) malloc(U_SIZEOF_UCHAR * prepOutLength); in debug()
470 tSrc =(UChar*) malloc( U_SIZEOF_UCHAR * tSrcLen ); in testAPI()
471 memcpy(tSrc,src,tSrcLen * U_SIZEOF_UCHAR); in testAPI()
919 memset(buf,0,U_SIZEOF_UCHAR*MAX_DEST_SIZE); in testErrorCases()
1017 memcpy(odd,expected,(expectedLen+1) * U_SIZEOF_UCHAR); in testChaining()
1018 memcpy(even,expected,(expectedLen+1) * U_SIZEOF_UCHAR); in testChaining()
1054 memcpy(odd,expected,(expectedLen+1) * U_SIZEOF_UCHAR); in testChaining()
1055 memcpy(even,expected,(expectedLen+1) * U_SIZEOF_UCHAR); in testChaining()
1092 memcpy(odd,expected,(expectedLen+1) * U_SIZEOF_UCHAR); in testChaining()
[all …]
/third_party/skia/third_party/externals/icu/source/common/
Duidna.cpp231 b1 = (UChar*) uprv_malloc(srcLength * U_SIZEOF_UCHAR); in _internal_toASCII()
259 b1 = (UChar*) uprv_malloc(b1Len * U_SIZEOF_UCHAR); in _internal_toASCII()
341 b2 = (UChar*) uprv_malloc(b2Len * U_SIZEOF_UCHAR); in _internal_toASCII()
461 b1 = (UChar*) uprv_malloc(b1Len * U_SIZEOF_UCHAR); in _internal_toUnicode()
501 b2 = (UChar*) uprv_malloc(b2Len * U_SIZEOF_UCHAR); in _internal_toUnicode()
519 b3 = (UChar*) uprv_malloc(b3Len * U_SIZEOF_UCHAR); in _internal_toUnicode()
880 b1 = (UChar*) uprv_malloc(b1Len * U_SIZEOF_UCHAR); in uidna_compare()
895 b2 = (UChar*) uprv_malloc(b2Len * U_SIZEOF_UCHAR); in uidna_compare()
Dushape.cpp750 tempbuffer = (UChar *)uprv_malloc((sourceLength+1)*U_SIZEOF_UCHAR); in handleGeneratedSpaces()
759 uprv_memset(tempbuffer, 0, (sourceLength+1)*U_SIZEOF_UCHAR); in handleGeneratedSpaces()
818 uprv_memset(tempbuffer, 0, (sourceLength+1)*U_SIZEOF_UCHAR); in handleGeneratedSpaces()
859 uprv_memset(tempbuffer, 0, (sourceLength+1)*U_SIZEOF_UCHAR); in handleGeneratedSpaces()
908 tempbuffer = (UChar *)uprv_malloc((sourceLength+1)*U_SIZEOF_UCHAR); in expandCompositCharAtBegin()
916 uprv_memset(tempbuffer, 0, (sourceLength+1)*U_SIZEOF_UCHAR); in expandCompositCharAtBegin()
970 tempbuffer = (UChar *)uprv_malloc((sourceLength+1)*U_SIZEOF_UCHAR); in expandCompositCharAtEnd()
978 uprv_memset(tempbuffer, 0, (sourceLength+1)*U_SIZEOF_UCHAR); in expandCompositCharAtEnd()
1157 tempbuffer = (UChar *)uprv_malloc((destSize+1)*U_SIZEOF_UCHAR); in expandCompositChar()
1165 uprv_memset(tempbuffer, 0, (destSize+1)*U_SIZEOF_UCHAR); in expandCompositChar()
[all …]
/third_party/node/deps/icu-small/source/common/
Duidna.cpp231 b1 = (UChar*) uprv_malloc(srcLength * U_SIZEOF_UCHAR); in _internal_toASCII()
259 b1 = (UChar*) uprv_malloc(b1Len * U_SIZEOF_UCHAR); in _internal_toASCII()
341 b2 = (UChar*) uprv_malloc(b2Len * U_SIZEOF_UCHAR); in _internal_toASCII()
461 b1 = (UChar*) uprv_malloc(b1Len * U_SIZEOF_UCHAR); in _internal_toUnicode()
501 b2 = (UChar*) uprv_malloc(b2Len * U_SIZEOF_UCHAR); in _internal_toUnicode()
519 b3 = (UChar*) uprv_malloc(b3Len * U_SIZEOF_UCHAR); in _internal_toUnicode()
880 b1 = (UChar*) uprv_malloc(b1Len * U_SIZEOF_UCHAR); in uidna_compare()
895 b2 = (UChar*) uprv_malloc(b2Len * U_SIZEOF_UCHAR); in uidna_compare()
Dushape.cpp750 tempbuffer = (UChar *)uprv_malloc((sourceLength+1)*U_SIZEOF_UCHAR); in handleGeneratedSpaces()
759 uprv_memset(tempbuffer, 0, (sourceLength+1)*U_SIZEOF_UCHAR); in handleGeneratedSpaces()
818 uprv_memset(tempbuffer, 0, (sourceLength+1)*U_SIZEOF_UCHAR); in handleGeneratedSpaces()
859 uprv_memset(tempbuffer, 0, (sourceLength+1)*U_SIZEOF_UCHAR); in handleGeneratedSpaces()
908 tempbuffer = (UChar *)uprv_malloc((sourceLength+1)*U_SIZEOF_UCHAR); in expandCompositCharAtBegin()
916 uprv_memset(tempbuffer, 0, (sourceLength+1)*U_SIZEOF_UCHAR); in expandCompositCharAtBegin()
970 tempbuffer = (UChar *)uprv_malloc((sourceLength+1)*U_SIZEOF_UCHAR); in expandCompositCharAtEnd()
978 uprv_memset(tempbuffer, 0, (sourceLength+1)*U_SIZEOF_UCHAR); in expandCompositCharAtEnd()
1157 tempbuffer = (UChar *)uprv_malloc((destSize+1)*U_SIZEOF_UCHAR); in expandCompositChar()
1165 uprv_memset(tempbuffer, 0, (destSize+1)*U_SIZEOF_UCHAR); in expandCompositChar()
[all …]
/third_party/icu/icu4c/source/common/
Duidna.cpp231 b1 = (UChar*) uprv_malloc(srcLength * U_SIZEOF_UCHAR); in _internal_toASCII()
259 b1 = (UChar*) uprv_malloc(b1Len * U_SIZEOF_UCHAR); in _internal_toASCII()
341 b2 = (UChar*) uprv_malloc(b2Len * U_SIZEOF_UCHAR); in _internal_toASCII()
461 b1 = (UChar*) uprv_malloc(b1Len * U_SIZEOF_UCHAR); in _internal_toUnicode()
501 b2 = (UChar*) uprv_malloc(b2Len * U_SIZEOF_UCHAR); in _internal_toUnicode()
519 b3 = (UChar*) uprv_malloc(b3Len * U_SIZEOF_UCHAR); in _internal_toUnicode()
880 b1 = (UChar*) uprv_malloc(b1Len * U_SIZEOF_UCHAR); in uidna_compare()
895 b2 = (UChar*) uprv_malloc(b2Len * U_SIZEOF_UCHAR); in uidna_compare()
Dushape.cpp750 tempbuffer = (UChar *)uprv_malloc((sourceLength+1)*U_SIZEOF_UCHAR); in handleGeneratedSpaces()
759 uprv_memset(tempbuffer, 0, (sourceLength+1)*U_SIZEOF_UCHAR); in handleGeneratedSpaces()
818 uprv_memset(tempbuffer, 0, (sourceLength+1)*U_SIZEOF_UCHAR); in handleGeneratedSpaces()
859 uprv_memset(tempbuffer, 0, (sourceLength+1)*U_SIZEOF_UCHAR); in handleGeneratedSpaces()
908 tempbuffer = (UChar *)uprv_malloc((sourceLength+1)*U_SIZEOF_UCHAR); in expandCompositCharAtBegin()
916 uprv_memset(tempbuffer, 0, (sourceLength+1)*U_SIZEOF_UCHAR); in expandCompositCharAtBegin()
970 tempbuffer = (UChar *)uprv_malloc((sourceLength+1)*U_SIZEOF_UCHAR); in expandCompositCharAtEnd()
978 uprv_memset(tempbuffer, 0, (sourceLength+1)*U_SIZEOF_UCHAR); in expandCompositCharAtEnd()
1157 tempbuffer = (UChar *)uprv_malloc((destSize+1)*U_SIZEOF_UCHAR); in expandCompositChar()
1165 uprv_memset(tempbuffer, 0, (destSize+1)*U_SIZEOF_UCHAR); in expandCompositChar()
[all …]
/third_party/flutter/skia/third_party/externals/icu/source/common/
Dushape.cpp750 tempbuffer = (UChar *)uprv_malloc((sourceLength+1)*U_SIZEOF_UCHAR); in handleGeneratedSpaces()
759 uprv_memset(tempbuffer, 0, (sourceLength+1)*U_SIZEOF_UCHAR); in handleGeneratedSpaces()
818 uprv_memset(tempbuffer, 0, (sourceLength+1)*U_SIZEOF_UCHAR); in handleGeneratedSpaces()
859 uprv_memset(tempbuffer, 0, (sourceLength+1)*U_SIZEOF_UCHAR); in handleGeneratedSpaces()
908 tempbuffer = (UChar *)uprv_malloc((sourceLength+1)*U_SIZEOF_UCHAR); in expandCompositCharAtBegin()
916 uprv_memset(tempbuffer, 0, (sourceLength+1)*U_SIZEOF_UCHAR); in expandCompositCharAtBegin()
970 tempbuffer = (UChar *)uprv_malloc((sourceLength+1)*U_SIZEOF_UCHAR); in expandCompositCharAtEnd()
978 uprv_memset(tempbuffer, 0, (sourceLength+1)*U_SIZEOF_UCHAR); in expandCompositCharAtEnd()
1157 tempbuffer = (UChar *)uprv_malloc((destSize+1)*U_SIZEOF_UCHAR); in expandCompositChar()
1165 uprv_memset(tempbuffer, 0, (destSize+1)*U_SIZEOF_UCHAR); in expandCompositChar()
[all …]
Duidna.cpp233 b1 = (UChar*) uprv_malloc(srcLength * U_SIZEOF_UCHAR); in _internal_toASCII()
261 b1 = (UChar*) uprv_malloc(b1Len * U_SIZEOF_UCHAR); in _internal_toASCII()
343 b2 = (UChar*) uprv_malloc(b2Len * U_SIZEOF_UCHAR); in _internal_toASCII()
462 b1 = (UChar*) uprv_malloc(b1Len * U_SIZEOF_UCHAR); in _internal_toUnicode()
502 b2 = (UChar*) uprv_malloc(b2Len * U_SIZEOF_UCHAR); in _internal_toUnicode()
520 b3 = (UChar*) uprv_malloc(b3Len * U_SIZEOF_UCHAR); in _internal_toUnicode()
881 b1 = (UChar*) uprv_malloc(b1Len * U_SIZEOF_UCHAR); in uidna_compare()
896 b2 = (UChar*) uprv_malloc(b2Len * U_SIZEOF_UCHAR); in uidna_compare()
/third_party/flutter/skia/third_party/externals/icu/source/tools/gencfu/
Dgencfu.cpp93 U_SIZEOF_UCHAR,
116 U_SIZEOF_UCHAR,
/third_party/skia/third_party/externals/icu/source/tools/gencfu/
Dgencfu.cpp93 U_SIZEOF_UCHAR,
116 U_SIZEOF_UCHAR,
/third_party/icu/icu4c/source/tools/gencfu/
Dgencfu.cpp93 U_SIZEOF_UCHAR,
116 U_SIZEOF_UCHAR,
/third_party/icu/icu4c/source/tools/genbrk/
Dgenbrk.cpp90 U_SIZEOF_UCHAR,
113 U_SIZEOF_UCHAR,
/third_party/flutter/skia/third_party/externals/icu/source/tools/genbrk/
Dgenbrk.cpp90 U_SIZEOF_UCHAR,
113 U_SIZEOF_UCHAR,
/third_party/skia/third_party/externals/icu/source/tools/genbrk/
Dgenbrk.cpp90 U_SIZEOF_UCHAR,
113 U_SIZEOF_UCHAR,
/third_party/node/deps/icu-small/source/common/unicode/
Dustring.h934 #elif U_SIZEOF_WCHAR_T==U_SIZEOF_UCHAR && (U_CHARSET_FAMILY==U_ASCII_FAMILY || (U_SIZEOF_UCHAR == 2…
938 #elif U_SIZEOF_UCHAR==1 && U_CHARSET_FAMILY==U_ASCII_FAMILY
/third_party/flutter/skia/third_party/externals/icu/source/common/unicode/
Dustring.h934 #elif U_SIZEOF_WCHAR_T==U_SIZEOF_UCHAR && (U_CHARSET_FAMILY==U_ASCII_FAMILY || (U_SIZEOF_UCHAR == 2…
938 #elif U_SIZEOF_UCHAR==1 && U_CHARSET_FAMILY==U_ASCII_FAMILY
/third_party/icu/icu4c/source/common/unicode/
Dustring.h934 #elif U_SIZEOF_WCHAR_T==U_SIZEOF_UCHAR && (U_CHARSET_FAMILY==U_ASCII_FAMILY || (U_SIZEOF_UCHAR == 2…
938 #elif U_SIZEOF_UCHAR==1 && U_CHARSET_FAMILY==U_ASCII_FAMILY
/third_party/skia/third_party/externals/icu/source/common/unicode/
Dustring.h934 #elif U_SIZEOF_WCHAR_T==U_SIZEOF_UCHAR && (U_CHARSET_FAMILY==U_ASCII_FAMILY || (U_SIZEOF_UCHAR == 2…
938 #elif U_SIZEOF_UCHAR==1 && U_CHARSET_FAMILY==U_ASCII_FAMILY

123456