Home
last modified time | relevance | path

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

/external/icu/icu4c/source/test/cintltst/
Didnatest.c869 UChar dest16[10]; in TestUTS46() local
884 dest16, UPRV_LENGTHOF(dest16), &info, &errorCode); in TestUTS46()
885 if( U_FAILURE(errorCode) || length != 4 || 0 != u_memcmp(dest16, fass16, 5) || in TestUTS46()
892 dest16, UPRV_LENGTHOF(dest16), &info, &errorCode); in TestUTS46()
893 if( U_FAILURE(errorCode) || length != 3 || 0 != u_memcmp(dest16, fa_sharps16, 4) || in TestUTS46()
900 dest16, 4, &info, &errorCode); in TestUTS46()
902 length != 4 || 0 != u_memcmp(dest16, fass16, 4) || in TestUTS46()
909 dest16, 3, &info, &errorCode); in TestUTS46()
911 length != 3 || 0 != u_memcmp(dest16, fa_sharps16, 3) || in TestUTS46()
954 dest16, 0, &info, &errorCode); in TestUTS46()
[all …]
Dcustrtrn.c1996 UChar dest16[4]={ 3, 3, 3, 3 }; in TestNullEmptySource() local
2007 dest16[0]=3; in TestNullEmptySource()
2010 u_strFromUTF8(dest16, UPRV_LENGTHOF(dest16), &length, NULL, 0, &errorCode); in TestNullEmptySource()
2011 if(errorCode!=U_ZERO_ERROR || length!=0 || dest16[0]!=0 || dest16[1]!=3) { in TestNullEmptySource()
2015 dest16[0]=3; in TestNullEmptySource()
2018 u_strFromUTF8WithSub(dest16, UPRV_LENGTHOF(dest16), &length, NULL, 0, 0xfffd, NULL, &errorCode); in TestNullEmptySource()
2019 if(errorCode!=U_ZERO_ERROR || length!=0 || dest16[0]!=0 || dest16[1]!=3) { in TestNullEmptySource()
2023 dest16[0]=3; in TestNullEmptySource()
2026 u_strFromUTF8Lenient(dest16, UPRV_LENGTHOF(dest16), &length, NULL, 0, &errorCode); in TestNullEmptySource()
2027 if(errorCode!=U_ZERO_ERROR || length!=0 || dest16[0]!=0 || dest16[1]!=3) { in TestNullEmptySource()
[all …]
/external/icu/icu4c/source/common/
Dutrie2.cpp245 uint16_t *dest16; in utrie2_openDummy() local
316 dest16=(uint16_t *)(header+1); in utrie2_openDummy()
317 trie->index=dest16; in utrie2_openDummy()
321 *dest16++=(uint16_t)(dataMove>>UTRIE2_INDEX_SHIFT); /* null data block */ in utrie2_openDummy()
326 *dest16++=(uint16_t)(dataMove+UTRIE2_BAD_UTF8_DATA_OFFSET); in utrie2_openDummy()
329 *dest16++=(uint16_t)dataMove; in utrie2_openDummy()
336 trie->data16=dest16; in utrie2_openDummy()
339 *dest16++=(uint16_t)initialValue; in utrie2_openDummy()
342 *dest16++=(uint16_t)errorValue; in utrie2_openDummy()
346 *dest16++=(uint16_t)initialValue; in utrie2_openDummy()
[all …]
Dutrie2_builder.cpp1308 uint16_t *dest16; in utrie2_freeze() local
1408 dest16=(uint16_t *)(header+1); in utrie2_freeze()
1409 trie->index=dest16; in utrie2_freeze()
1414 *dest16++=(uint16_t)((dataMove + *p++)>>UTRIE2_INDEX_SHIFT); in utrie2_freeze()
1419 *dest16++=(uint16_t)(dataMove+UTRIE2_BAD_UTF8_DATA_OFFSET); in utrie2_freeze()
1422 *dest16++=(uint16_t)(dataMove+newTrie->index2[i<<(6-UTRIE2_SHIFT_2)]); in utrie2_freeze()
1432 *dest16++=(uint16_t)(UTRIE2_INDEX_2_OFFSET + *p++); in utrie2_freeze()
1441 *dest16++=(uint16_t)((dataMove + *p++)>>UTRIE2_INDEX_SHIFT); in utrie2_freeze()
1449 trie->data16=dest16; in utrie2_freeze()
1453 *dest16++=(uint16_t)*p++; in utrie2_freeze()
[all …]
Dutrie.cpp748 uint16_t *dest16; in utrie_serialize() local
825 dest16=(uint16_t *)data; in utrie_serialize()
827 *dest16++=(uint16_t)((*p++ + trie->indexLength)>>UTRIE_INDEX_SHIFT); in utrie_serialize()
833 *dest16++=(uint16_t)*p++; in utrie_serialize()
838 dest16=(uint16_t *)data; in utrie_serialize()
840 *dest16++=(uint16_t)(*p++ >> UTRIE_INDEX_SHIFT); in utrie_serialize()
844 uprv_memcpy(dest16, trie->data, 4*(size_t)trie->dataLength); in utrie_serialize()
Dumutablecptrie.cpp1677 uint16_t *dest16 = (uint16_t *)bytes; in build() local
1678 trie->index = dest16; in build()
1683 *dest16++ = (uint16_t)index[i]; // dest16[j] in build()
1686 uprv_memcpy(dest16, index16, indexLength * 2); in build()
1687 dest16 += indexLength; in build()
1696 trie->data.ptr16 = dest16; in build()
1698 *dest16++ = (uint16_t)*p++; in build()
/external/libvpx/libvpx/vpx_mem/
Dvpx_mem.h36 uint16_t *dest16 = (uint16_t *)dest; in vpx_memset16() local
37 for (i = 0; i < length; i++) *dest16++ = val; in vpx_memset16()
/external/libaom/libaom/aom_mem/
Daom_mem.c81 uint16_t *dest16 = (uint16_t *)dest; in aom_memset16() local
82 for (i = 0; i < length; i++) *dest16++ = val; in aom_memset16()
/external/icu/icu4c/source/test/intltest/
Dstrcase.cpp721 UChar *dest16 = result16.getBuffer(expected16.length() + 1); in assertGreekUpper() local
722 u_memset(dest16, 0x55AA, result16.getCapacity()); in assertGreekUpper()
724 length = u_strToUpper(dest16, cap, s16.getBuffer(), s16.length(), "el", &errorCode); in assertGreekUpper()
733 assertEquals(msg + cap + " NUL", 0, dest16[length]); in assertGreekUpper()
/external/swiftshader/src/OpenGL/libGLES_CM/
DContext.cpp2456 unsigned short *dest16 = (unsigned short*)dest; in readPixels() local
2626 dest16[i] = in readPixels()
2640 dest16[i] = in readPixels()
2653 dest16[i] = in readPixels()