Searched refs:dest16 (Results 1 – 5 of 5) sorted by relevance
/external/icu/icu4c/source/test/cintltst/ |
D | idnatest.c | 867 UChar dest16[10]; in TestUTS46() local 882 dest16, UPRV_LENGTHOF(dest16), &info, &errorCode); in TestUTS46() 883 if( U_FAILURE(errorCode) || length != 4 || 0 != u_memcmp(dest16, fass16, 5) || in TestUTS46() 890 dest16, UPRV_LENGTHOF(dest16), &info, &errorCode); in TestUTS46() 891 if( U_FAILURE(errorCode) || length != 3 || 0 != u_memcmp(dest16, fa_sharps16, 4) || in TestUTS46() 898 dest16, 4, &info, &errorCode); in TestUTS46() 900 length != 4 || 0 != u_memcmp(dest16, fass16, 4) || in TestUTS46() 907 dest16, 3, &info, &errorCode); in TestUTS46() 909 length != 3 || 0 != u_memcmp(dest16, fa_sharps16, 3) || in TestUTS46() 952 dest16, 0, &info, &errorCode); in TestUTS46() [all …]
|
D | custrtrn.c | 2001 UChar dest16[4]={ 3, 3, 3, 3 }; in TestNullEmptySource() local 2012 dest16[0]=3; in TestNullEmptySource() 2015 u_strFromUTF8(dest16, UPRV_LENGTHOF(dest16), &length, NULL, 0, &errorCode); in TestNullEmptySource() 2016 if(errorCode!=U_ZERO_ERROR || length!=0 || dest16[0]!=0 || dest16[1]!=3) { in TestNullEmptySource() 2020 dest16[0]=3; in TestNullEmptySource() 2023 u_strFromUTF8WithSub(dest16, UPRV_LENGTHOF(dest16), &length, NULL, 0, 0xfffd, NULL, &errorCode); in TestNullEmptySource() 2024 if(errorCode!=U_ZERO_ERROR || length!=0 || dest16[0]!=0 || dest16[1]!=3) { in TestNullEmptySource() 2028 dest16[0]=3; in TestNullEmptySource() 2031 u_strFromUTF8Lenient(dest16, UPRV_LENGTHOF(dest16), &length, NULL, 0, &errorCode); in TestNullEmptySource() 2032 if(errorCode!=U_ZERO_ERROR || length!=0 || dest16[0]!=0 || dest16[1]!=3) { in TestNullEmptySource() [all …]
|
/external/icu/icu4c/source/common/ |
D | utrie2.cpp | 241 uint16_t *dest16; in utrie2_openDummy() local 309 dest16=(uint16_t *)(header+1); in utrie2_openDummy() 310 trie->index=dest16; in utrie2_openDummy() 314 *dest16++=(uint16_t)(dataMove>>UTRIE2_INDEX_SHIFT); /* null data block */ in utrie2_openDummy() 319 *dest16++=(uint16_t)(dataMove+UTRIE2_BAD_UTF8_DATA_OFFSET); in utrie2_openDummy() 322 *dest16++=(uint16_t)dataMove; in utrie2_openDummy() 329 trie->data16=dest16; in utrie2_openDummy() 332 *dest16++=(uint16_t)initialValue; in utrie2_openDummy() 335 *dest16++=(uint16_t)errorValue; in utrie2_openDummy() 339 *dest16++=(uint16_t)initialValue; in utrie2_openDummy() [all …]
|
D | utrie2_builder.cpp | 1253 uint16_t *dest16; in utrie2_freeze() local 1353 dest16=(uint16_t *)(header+1); in utrie2_freeze() 1354 trie->index=dest16; in utrie2_freeze() 1359 *dest16++=(uint16_t)((dataMove + *p++)>>UTRIE2_INDEX_SHIFT); in utrie2_freeze() 1364 *dest16++=(uint16_t)(dataMove+UTRIE2_BAD_UTF8_DATA_OFFSET); in utrie2_freeze() 1367 *dest16++=(uint16_t)(dataMove+newTrie->index2[i<<(6-UTRIE2_SHIFT_2)]); in utrie2_freeze() 1377 *dest16++=(uint16_t)(UTRIE2_INDEX_2_OFFSET + *p++); in utrie2_freeze() 1386 *dest16++=(uint16_t)((dataMove + *p++)>>UTRIE2_INDEX_SHIFT); in utrie2_freeze() 1394 trie->data16=dest16; in utrie2_freeze() 1398 *dest16++=(uint16_t)*p++; in utrie2_freeze() [all …]
|
D | utrie.cpp | 746 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()
|