Home
last modified time | relevance | path

Searched refs:dest16 (Results 1 – 6 of 6) sorted by relevance

/external/icu4c/test/cintltst/
Didnatest.c868 UChar dest16[10]; in TestUTS46() local
883 dest16, LENGTHOF(dest16), &info, &errorCode); in TestUTS46()
884 if( U_FAILURE(errorCode) || length != 4 || 0 != u_memcmp(dest16, fass16, 5) || in TestUTS46()
891 dest16, LENGTHOF(dest16), &info, &errorCode); in TestUTS46()
892 if( U_FAILURE(errorCode) || length != 3 || 0 != u_memcmp(dest16, fa_sharps16, 4) || in TestUTS46()
899 dest16, 4, &info, &errorCode); in TestUTS46()
901 length != 4 || 0 != u_memcmp(dest16, fass16, 4) || in TestUTS46()
908 dest16, 3, &info, &errorCode); in TestUTS46()
910 length != 3 || 0 != u_memcmp(dest16, fa_sharps16, 3) || in TestUTS46()
953 dest16, 0, &info, &errorCode); in TestUTS46()
[all …]
Dcustrtrn.c1989 UChar dest16[4]={ 3, 3, 3, 3 }; in TestNullEmptySource() local
2000 dest16[0]=3; in TestNullEmptySource()
2003 u_strFromUTF8(dest16, LENGTHOF(dest16), &length, NULL, 0, &errorCode); in TestNullEmptySource()
2004 if(errorCode!=U_ZERO_ERROR || length!=0 || dest16[0]!=0 || dest16[1]!=3) { in TestNullEmptySource()
2008 dest16[0]=3; in TestNullEmptySource()
2011 u_strFromUTF8WithSub(dest16, LENGTHOF(dest16), &length, NULL, 0, 0xfffd, NULL, &errorCode); in TestNullEmptySource()
2012 if(errorCode!=U_ZERO_ERROR || length!=0 || dest16[0]!=0 || dest16[1]!=3) { in TestNullEmptySource()
2016 dest16[0]=3; in TestNullEmptySource()
2019 u_strFromUTF8Lenient(dest16, LENGTHOF(dest16), &length, NULL, 0, &errorCode); in TestNullEmptySource()
2020 if(errorCode!=U_ZERO_ERROR || length!=0 || dest16[0]!=0 || dest16[1]!=3) { in TestNullEmptySource()
[all …]
/external/icu4c/common/
Dutrie2.cpp237 uint16_t *dest16; in utrie2_openDummy() local
305 dest16=(uint16_t *)(header+1); in utrie2_openDummy()
306 trie->index=dest16; in utrie2_openDummy()
310 *dest16++=(uint16_t)(dataMove>>UTRIE2_INDEX_SHIFT); /* null data block */ in utrie2_openDummy()
315 *dest16++=(uint16_t)(dataMove+UTRIE2_BAD_UTF8_DATA_OFFSET); in utrie2_openDummy()
318 *dest16++=(uint16_t)dataMove; in utrie2_openDummy()
325 trie->data16=dest16; in utrie2_openDummy()
328 *dest16++=(uint16_t)initialValue; in utrie2_openDummy()
331 *dest16++=(uint16_t)errorValue; in utrie2_openDummy()
335 *dest16++=(uint16_t)initialValue; in utrie2_openDummy()
[all …]
Dutrie2_builder.c1255 uint16_t *dest16; in utrie2_freeze() local
1355 dest16=(uint16_t *)(header+1); in utrie2_freeze()
1356 trie->index=dest16; in utrie2_freeze()
1361 *dest16++=(uint16_t)((dataMove + *p++)>>UTRIE2_INDEX_SHIFT); in utrie2_freeze()
1366 *dest16++=(uint16_t)(dataMove+UTRIE2_BAD_UTF8_DATA_OFFSET); in utrie2_freeze()
1369 *dest16++=(uint16_t)(dataMove+newTrie->index2[i<<(6-UTRIE2_SHIFT_2)]); in utrie2_freeze()
1379 *dest16++=(uint16_t)(UTRIE2_INDEX_2_OFFSET + *p++); in utrie2_freeze()
1388 *dest16++=(uint16_t)((dataMove + *p++)>>UTRIE2_INDEX_SHIFT); in utrie2_freeze()
1396 trie->data16=dest16; in utrie2_freeze()
1400 *dest16++=(uint16_t)*p++; in utrie2_freeze()
[all …]
Dutrie.c746 uint16_t *dest16; in utrie_serialize() local
823 dest16=(uint16_t *)data; in utrie_serialize()
825 *dest16++=(uint16_t)((*p++ + trie->indexLength)>>UTRIE_INDEX_SHIFT); in utrie_serialize()
831 *dest16++=(uint16_t)*p++; in utrie_serialize()
836 dest16=(uint16_t *)data; in utrie_serialize()
838 *dest16++=(uint16_t)(*p++ >> UTRIE_INDEX_SHIFT); in utrie_serialize()
842 uprv_memcpy(dest16, trie->data, 4*trie->dataLength); in utrie_serialize()
/external/webkit/Source/ThirdParty/ANGLE/src/libGLESv2/
DContext.cpp2146 unsigned short *dest16 = (unsigned short*)pixels; in readPixels() local
2282 dest16[i + j * outputPitch / sizeof(unsigned short)] = in readPixels()
2296 dest16[i + j * outputPitch / sizeof(unsigned short)] = in readPixels()
2309 dest16[i + j * outputPitch / sizeof(unsigned short)] = in readPixels()