/external/chromium_org/third_party/icu/source/test/cintltst/ |
cstrcase.c | 48 length=u_strToLower(buffer, sizeof(buffer)/U_SIZEOF_UCHAR, 49 beforeLower, sizeof(beforeLower)/U_SIZEOF_UCHAR, 53 length!=(sizeof(lowerRoot)/U_SIZEOF_UCHAR) || 54 uprv_memcmp(lowerRoot, buffer, length*U_SIZEOF_UCHAR)!=0 || 60 uprv_memcmp(lowerRoot, buffer, length*U_SIZEOF_UCHAR)==0 && 68 buffer[sizeof(beforeLower)/U_SIZEOF_UCHAR]=0; 70 length=u_strToLower(buffer, sizeof(buffer)/U_SIZEOF_UCHAR, 75 length!=(sizeof(lowerTurkish)/U_SIZEOF_UCHAR) || 76 uprv_memcmp(lowerTurkish, buffer, length*U_SIZEOF_UCHAR)!=0 || 82 uprv_memcmp(lowerTurkish, buffer, length*U_SIZEOF_UCHAR)==0 && buffer[length]==0 ? "yes" : "no") [all...] |
utf16tst.c | 150 for(offset=0; offset<sizeof(input)/U_SIZEOF_UCHAR; offset++) { 151 if(0<offset && offset<sizeof(input)/U_SIZEOF_UCHAR-1){ 163 UTF16_GET_CHAR_SAFE(input, 0, offset, sizeof(input)/U_SIZEOF_UCHAR, c, FALSE); 168 U16_GET(input, 0, offset, sizeof(input)/U_SIZEOF_UCHAR, c); 173 UTF16_GET_CHAR_SAFE(input, 0, offset, sizeof(input)/U_SIZEOF_UCHAR, c, TRUE); 220 for(offset=0; offset<sizeof(input)/U_SIZEOF_UCHAR; offset++){ 242 UTF16_NEXT_CHAR_SAFE(input, setOffset, sizeof(input)/U_SIZEOF_UCHAR, c, FALSE); 252 U16_NEXT(input, setOffset, sizeof(input)/U_SIZEOF_UCHAR, c); 262 UTF16_NEXT_CHAR_SAFE(input, setOffset, sizeof(input)/U_SIZEOF_UCHAR, c, TRUE); 274 for(offset=(uint16_t)sizeof(input)/U_SIZEOF_UCHAR; offset > 0; --offset) [all...] |
cnormtst.c | [all...] |
/external/icu4c/test/cintltst/ |
cstrcase.c | 48 length=u_strToLower(buffer, sizeof(buffer)/U_SIZEOF_UCHAR, 49 beforeLower, sizeof(beforeLower)/U_SIZEOF_UCHAR, 53 length!=(sizeof(lowerRoot)/U_SIZEOF_UCHAR) || 54 uprv_memcmp(lowerRoot, buffer, length*U_SIZEOF_UCHAR)!=0 || 60 uprv_memcmp(lowerRoot, buffer, length*U_SIZEOF_UCHAR)==0 && 68 buffer[sizeof(beforeLower)/U_SIZEOF_UCHAR]=0; 70 length=u_strToLower(buffer, sizeof(buffer)/U_SIZEOF_UCHAR, 75 length!=(sizeof(lowerTurkish)/U_SIZEOF_UCHAR) || 76 uprv_memcmp(lowerTurkish, buffer, length*U_SIZEOF_UCHAR)!=0 || 82 uprv_memcmp(lowerTurkish, buffer, length*U_SIZEOF_UCHAR)==0 && buffer[length]==0 ? "yes" : "no") [all...] |
utf16tst.c | 152 for(offset=0; offset<sizeof(input)/U_SIZEOF_UCHAR; offset++) { 153 if(0<offset && offset<sizeof(input)/U_SIZEOF_UCHAR-1){ 165 UTF16_GET_CHAR_SAFE(input, 0, offset, sizeof(input)/U_SIZEOF_UCHAR, c, FALSE); 170 U16_GET(input, 0, offset, sizeof(input)/U_SIZEOF_UCHAR, c); 175 UTF16_GET_CHAR_SAFE(input, 0, offset, sizeof(input)/U_SIZEOF_UCHAR, c, TRUE); 222 for(offset=0; offset<sizeof(input)/U_SIZEOF_UCHAR; offset++){ 244 UTF16_NEXT_CHAR_SAFE(input, setOffset, sizeof(input)/U_SIZEOF_UCHAR, c, FALSE); 254 U16_NEXT(input, setOffset, sizeof(input)/U_SIZEOF_UCHAR, c); 264 UTF16_NEXT_CHAR_SAFE(input, setOffset, sizeof(input)/U_SIZEOF_UCHAR, c, TRUE); 276 for(offset=(uint16_t)sizeof(input)/U_SIZEOF_UCHAR; offset > 0; --offset) [all...] |
cnormtst.c | [all...] |
/external/chromium_org/third_party/icu/source/i18n/ |
coleitr.cpp | 111 thislength * U_SIZEOF_UCHAR) != 0) { 183 string = (UChar *)uprv_malloc(U_SIZEOF_UCHAR * length); 192 string = (UChar *)uprv_malloc(U_SIZEOF_UCHAR); 219 buffer = (UChar *)uprv_malloc(U_SIZEOF_UCHAR); 228 buffer = (UChar *)uprv_malloc(U_SIZEOF_UCHAR * length); 288 string = (UChar *)uprv_malloc(U_SIZEOF_UCHAR * length); 301 string = (UChar *)uprv_malloc(U_SIZEOF_UCHAR); 353 buffer = (UChar *)uprv_malloc(U_SIZEOF_UCHAR * length); 369 buffer = (UChar *)uprv_malloc(U_SIZEOF_UCHAR); 408 coliter->string = (UChar *)uprv_malloc(length * U_SIZEOF_UCHAR); [all...] |
/external/icu4c/i18n/ |
coleitr.cpp | 112 thislength * U_SIZEOF_UCHAR) != 0) { 184 string = (UChar *)uprv_malloc(U_SIZEOF_UCHAR * length); 193 string = (UChar *)uprv_malloc(U_SIZEOF_UCHAR); 220 buffer = (UChar *)uprv_malloc(U_SIZEOF_UCHAR); 229 buffer = (UChar *)uprv_malloc(U_SIZEOF_UCHAR * length); 289 string = (UChar *)uprv_malloc(U_SIZEOF_UCHAR * length); 302 string = (UChar *)uprv_malloc(U_SIZEOF_UCHAR); 354 buffer = (UChar *)uprv_malloc(U_SIZEOF_UCHAR * length); 370 buffer = (UChar *)uprv_malloc(U_SIZEOF_UCHAR); 409 coliter->string = (UChar *)uprv_malloc(length * U_SIZEOF_UCHAR); [all...] |
/external/chromium_org/third_party/icu/source/tools/gensprep/ |
store.c | 140 U_SIZEOF_UCHAR, 165 U_SIZEOF_UCHAR, 256 mappingData = (uint16_t*) uprv_malloc(U_SIZEOF_UCHAR * (mappingDataCapacity)); 258 uprv_memset(mappingData,0,U_SIZEOF_UCHAR * mappingDataCapacity); 331 uprv_memmove(mappingData+currentIndex, value->mapping, value->length*U_SIZEOF_UCHAR); 336 UChar* newMappingData = (uint16_t*) uprv_malloc(U_SIZEOF_UCHAR * mappingDataCapacity*2); 341 uprv_memmove(newMappingData, mappingData, U_SIZEOF_UCHAR * mappingDataCapacity); 351 uprv_memmove(mappingData+currentIndex, value->mapping, value->length*U_SIZEOF_UCHAR); 461 map = (UChar*) uprv_malloc(U_SIZEOF_UCHAR * (adjustedLen+1)); 462 uprv_memset(map,0,U_SIZEOF_UCHAR * (adjustedLen+1)) [all...] |
/external/chromium_org/third_party/icu/source/test/intltest/ |
idnaref.cpp | 300 b1 = (UChar*) uprv_malloc(b1Len * U_SIZEOF_UCHAR); 340 uprv_memmove(dest, b1, b1Len * U_SIZEOF_UCHAR); 358 b2 = (UChar*) uprv_malloc(b2Len * U_SIZEOF_UCHAR); 381 uprv_memcpy(dest,ACE_PREFIX,ACE_PREFIX_LENGTH * U_SIZEOF_UCHAR); 383 uprv_memcpy(dest+ACE_PREFIX_LENGTH, b2, b2Len * U_SIZEOF_UCHAR); 488 b1 = (UChar*) uprv_malloc(b1Len * U_SIZEOF_UCHAR); 506 uprv_memmove(b1,src, srcLength * U_SIZEOF_UCHAR); 509 b1 = (UChar*) uprv_malloc(srcLength * U_SIZEOF_UCHAR); 514 uprv_memmove(b1,src, srcLength * U_SIZEOF_UCHAR); 532 b2 = (UChar*) uprv_malloc(b2Len * U_SIZEOF_UCHAR); [all...] |
strcase.cpp | 145 s=UnicodeString(FALSE, beforeLower, (int32_t)(sizeof(beforeLower)/U_SIZEOF_UCHAR)); 147 if( s.length()!=(sizeof(lowerRoot)/U_SIZEOF_UCHAR) || 150 errln("error in toLower(root locale)=\"" + s + "\" expected \"" + UnicodeString(FALSE, lowerRoot, (int32_t)(sizeof(lowerRoot)/U_SIZEOF_UCHAR)) + "\""); 154 s=UnicodeString(FALSE, beforeLower, (int32_t)(sizeof(beforeLower)/U_SIZEOF_UCHAR)); 156 if( s.length()!=(sizeof(lowerTurkish)/U_SIZEOF_UCHAR) || 159 errln("error in toLower(turkish locale)=\"" + s + "\" expected \"" + UnicodeString(FALSE, lowerTurkish, (int32_t)(sizeof(lowerTurkish)/U_SIZEOF_UCHAR)) + "\""); 163 s=UnicodeString(FALSE, beforeUpper, (int32_t)(sizeof(beforeUpper)/U_SIZEOF_UCHAR)); 165 if( s.length()!=(sizeof(upperRoot)/U_SIZEOF_UCHAR) || 168 errln("error in toUpper(root locale)=\"" + s + "\" expected \"" + UnicodeString(FALSE, upperRoot, (int32_t)(sizeof(upperRoot)/U_SIZEOF_UCHAR)) + "\""); 172 s=UnicodeString(FALSE, beforeUpper, (int32_t)(sizeof(beforeUpper)/U_SIZEOF_UCHAR)); [all...] |
/external/icu4c/test/intltest/ |
idnaref.cpp | 301 b1 = (UChar*) uprv_malloc(b1Len * U_SIZEOF_UCHAR); 342 uprv_memmove(dest, b1, b1Len * U_SIZEOF_UCHAR); 360 b2 = (UChar*) uprv_malloc(b2Len * U_SIZEOF_UCHAR); 383 uprv_memcpy(dest,ACE_PREFIX,ACE_PREFIX_LENGTH * U_SIZEOF_UCHAR); 385 uprv_memcpy(dest+ACE_PREFIX_LENGTH, b2, b2Len * U_SIZEOF_UCHAR); 490 b1 = (UChar*) uprv_malloc(b1Len * U_SIZEOF_UCHAR); 508 uprv_memmove(b1,src, srcLength * U_SIZEOF_UCHAR); 511 b1 = (UChar*) uprv_malloc(srcLength * U_SIZEOF_UCHAR); 516 uprv_memmove(b1,src, srcLength * U_SIZEOF_UCHAR); 534 b2 = (UChar*) uprv_malloc(b2Len * U_SIZEOF_UCHAR); [all...] |
strcase.cpp | 142 s=UnicodeString(FALSE, beforeLower, (int32_t)(sizeof(beforeLower)/U_SIZEOF_UCHAR)); 144 if( s.length()!=(sizeof(lowerRoot)/U_SIZEOF_UCHAR) || 147 errln("error in toLower(root locale)=\"" + s + "\" expected \"" + UnicodeString(FALSE, lowerRoot, (int32_t)(sizeof(lowerRoot)/U_SIZEOF_UCHAR)) + "\""); 151 s=UnicodeString(FALSE, beforeLower, (int32_t)(sizeof(beforeLower)/U_SIZEOF_UCHAR)); 153 if( s.length()!=(sizeof(lowerTurkish)/U_SIZEOF_UCHAR) || 156 errln("error in toLower(turkish locale)=\"" + s + "\" expected \"" + UnicodeString(FALSE, lowerTurkish, (int32_t)(sizeof(lowerTurkish)/U_SIZEOF_UCHAR)) + "\""); 160 s=UnicodeString(FALSE, beforeUpper, (int32_t)(sizeof(beforeUpper)/U_SIZEOF_UCHAR)); 162 if( s.length()!=(sizeof(upperRoot)/U_SIZEOF_UCHAR) || 165 errln("error in toUpper(root locale)=\"" + s + "\" expected \"" + UnicodeString(FALSE, upperRoot, (int32_t)(sizeof(upperRoot)/U_SIZEOF_UCHAR)) + "\""); 169 s=UnicodeString(FALSE, beforeUpper, (int32_t)(sizeof(beforeUpper)/U_SIZEOF_UCHAR)); [all...] |
/external/chromium_org/third_party/icu/source/common/ |
uidna.cpp | 231 b1 = (UChar*) uprv_malloc(srcLength * U_SIZEOF_UCHAR); 259 b1 = (UChar*) uprv_malloc(b1Len * U_SIZEOF_UCHAR); 319 uprv_memmove(dest, b1, b1Len * U_SIZEOF_UCHAR); 341 b2 = (UChar*) uprv_malloc(b2Len * U_SIZEOF_UCHAR); 365 uprv_memcpy(dest,ACE_PREFIX,ACE_PREFIX_LENGTH * U_SIZEOF_UCHAR); 367 uprv_memcpy(dest+ACE_PREFIX_LENGTH, b2, b2Len * U_SIZEOF_UCHAR); 461 b1 = (UChar*) uprv_malloc(b1Len * U_SIZEOF_UCHAR); 501 b2 = (UChar*) uprv_malloc(b2Len * U_SIZEOF_UCHAR); 519 b3 = (UChar*) uprv_malloc(b3Len * U_SIZEOF_UCHAR); 545 uprv_memmove(dest, b2, b2Len * U_SIZEOF_UCHAR); [all...] |
ushape.c | 724 tempbuffer = (UChar *)uprv_malloc((sourceLength+1)*U_SIZEOF_UCHAR); 731 uprv_memset(tempbuffer, 0, (sourceLength+1)*U_SIZEOF_UCHAR); 752 uprv_memcpy(dest, tempbuffer, sourceLength*U_SIZEOF_UCHAR); 790 tempbuffer = (UChar *)uprv_malloc((sourceLength+1)*U_SIZEOF_UCHAR); 798 uprv_memset(tempbuffer, 0, (sourceLength+1)*U_SIZEOF_UCHAR); 816 uprv_memcpy(dest, tempbuffer, sourceLength*U_SIZEOF_UCHAR); 837 tempbuffer = (UChar *)uprv_malloc((sourceLength+1)*U_SIZEOF_UCHAR); 844 uprv_memset(tempbuffer, 0, (sourceLength+1)*U_SIZEOF_UCHAR); 865 uprv_memcpy(dest,tempbuffer, sourceLength*U_SIZEOF_UCHAR); 893 tempbuffer = (UChar *)uprv_malloc((sourceLength+1)*U_SIZEOF_UCHAR); [all...] |
ucnvdisp.c | 68 u_memcpy(displayName, name, uprv_min(length, displayNameCapacity)*U_SIZEOF_UCHAR);
|
ucnv_bld.h | 166 * UCNV_ERROR_BUFFER_LENGTH * U_SIZEOF_UCHAR bytes. 217 UChar subUChars[UCNV_MAX_SUBCHAR_LEN/U_SIZEOF_UCHAR]; /* see subChars documentation */
|
/external/icu4c/common/ |
uidna.cpp | 231 b1 = (UChar*) uprv_malloc(srcLength * U_SIZEOF_UCHAR); 259 b1 = (UChar*) uprv_malloc(b1Len * U_SIZEOF_UCHAR); 319 uprv_memmove(dest, b1, b1Len * U_SIZEOF_UCHAR); 341 b2 = (UChar*) uprv_malloc(b2Len * U_SIZEOF_UCHAR); 365 uprv_memcpy(dest,ACE_PREFIX,ACE_PREFIX_LENGTH * U_SIZEOF_UCHAR); 367 uprv_memcpy(dest+ACE_PREFIX_LENGTH, b2, b2Len * U_SIZEOF_UCHAR); 461 b1 = (UChar*) uprv_malloc(b1Len * U_SIZEOF_UCHAR); 501 b2 = (UChar*) uprv_malloc(b2Len * U_SIZEOF_UCHAR); 519 b3 = (UChar*) uprv_malloc(b3Len * U_SIZEOF_UCHAR); 545 uprv_memmove(dest, b2, b2Len * U_SIZEOF_UCHAR); [all...] |
ushape.cpp | 730 tempbuffer = (UChar *)uprv_malloc((sourceLength+1)*U_SIZEOF_UCHAR); 739 uprv_memset(tempbuffer, 0, (sourceLength+1)*U_SIZEOF_UCHAR); 760 uprv_memcpy(dest, tempbuffer, sourceLength*U_SIZEOF_UCHAR); 801 uprv_memset(tempbuffer, 0, (sourceLength+1)*U_SIZEOF_UCHAR); 821 uprv_memcpy(dest, tempbuffer, sourceLength*U_SIZEOF_UCHAR); 842 uprv_memset(tempbuffer, 0, (sourceLength+1)*U_SIZEOF_UCHAR); 863 uprv_memcpy(dest,tempbuffer, sourceLength*U_SIZEOF_UCHAR); 891 tempbuffer = (UChar *)uprv_malloc((sourceLength+1)*U_SIZEOF_UCHAR); 899 uprv_memset(tempbuffer, 0, (sourceLength+1)*U_SIZEOF_UCHAR); 927 uprv_memcpy(dest, tempbuffer, sourceLength*U_SIZEOF_UCHAR); [all...] |
ucnvdisp.c | 68 u_memcpy(displayName, name, uprv_min(length, displayNameCapacity)*U_SIZEOF_UCHAR);
|
ucnv_bld.h | 167 * UCNV_ERROR_BUFFER_LENGTH * U_SIZEOF_UCHAR bytes. 218 UChar subUChars[UCNV_MAX_SUBCHAR_LEN/U_SIZEOF_UCHAR]; /* see subChars documentation */
|
/external/icu4c/tools/gensprep/ |
store.c | 141 U_SIZEOF_UCHAR, 166 U_SIZEOF_UCHAR, 256 mappingData = (uint16_t*) uprv_calloc(mappingDataCapacity, U_SIZEOF_UCHAR); 329 uprv_memmove(mappingData+currentIndex, value->mapping, value->length*U_SIZEOF_UCHAR); 438 map = (UChar*) uprv_calloc(adjustedLen + 1, U_SIZEOF_UCHAR); 573 size = sprepTrieSize + mappingDataCapacity*U_SIZEOF_UCHAR + sizeof(indexes); 577 printf("size of mapping data array %5u bytes\n",(int)mappingDataCapacity * U_SIZEOF_UCHAR); 597 indexes[_SPREP_INDEX_MAPPING_DATA_SIZE]=mappingDataCapacity*U_SIZEOF_UCHAR;
|
/external/icu4c/extra/uconv/ |
uwmsg.c | 148 resultLength = sizeof(gNoFormatting) / U_SIZEOF_UCHAR; 150 memcpy(result, msg, msgLen * U_SIZEOF_UCHAR);
|
/external/icu4c/common/unicode/ |
umachine.h | 255 #define U_SIZEOF_UCHAR 2
|
/external/chromium_org/third_party/icu/source/common/unicode/ |
umachine.h | 293 #define U_SIZEOF_UCHAR 2
|