/third_party/icu/icu4c/source/test/cintltst/ |
D | idnatest.c | 869 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 …]
|
D | custrtrn.c | 1996 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 …]
|
/third_party/flutter/skia/third_party/externals/icu/source/common/ |
D | utrie2.cpp | 245 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 …]
|
D | utrie2_builder.cpp | 1308 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 …]
|
D | utrie.cpp | 748 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()
|
D | umutablecptrie.cpp | 1677 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()
|
/third_party/icu/icu4c/source/common/ |
D | utrie2.cpp | 245 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 …]
|
D | utrie2_builder.cpp | 1310 uint16_t *dest16; in utrie2_freeze() local 1410 dest16=(uint16_t *)(header+1); in utrie2_freeze() 1411 trie->index=dest16; in utrie2_freeze() 1416 *dest16++=(uint16_t)((dataMove + *p++)>>UTRIE2_INDEX_SHIFT); in utrie2_freeze() 1421 *dest16++=(uint16_t)(dataMove+UTRIE2_BAD_UTF8_DATA_OFFSET); in utrie2_freeze() 1424 *dest16++=(uint16_t)(dataMove+newTrie->index2[i<<(6-UTRIE2_SHIFT_2)]); in utrie2_freeze() 1434 *dest16++=(uint16_t)(UTRIE2_INDEX_2_OFFSET + *p++); in utrie2_freeze() 1443 *dest16++=(uint16_t)((dataMove + *p++)>>UTRIE2_INDEX_SHIFT); in utrie2_freeze() 1451 trie->data16=dest16; in utrie2_freeze() 1455 *dest16++=(uint16_t)*p++; in utrie2_freeze() [all …]
|
D | utrie.cpp | 748 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()
|
D | umutablecptrie.cpp | 1682 uint16_t *dest16 = (uint16_t *)bytes; in build() local 1683 trie->index = dest16; in build() 1688 *dest16++ = (uint16_t)index[i]; // dest16[j] in build() 1691 uprv_memcpy(dest16, index16, indexLength * 2); in build() 1692 dest16 += indexLength; in build() 1701 trie->data.ptr16 = dest16; in build() 1703 *dest16++ = (uint16_t)*p++; in build()
|
/third_party/skia/third_party/externals/icu/source/common/ |
D | utrie2.cpp | 245 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 …]
|
D | utrie2_builder.cpp | 1310 uint16_t *dest16; in utrie2_freeze() local 1410 dest16=(uint16_t *)(header+1); in utrie2_freeze() 1411 trie->index=dest16; in utrie2_freeze() 1416 *dest16++=(uint16_t)((dataMove + *p++)>>UTRIE2_INDEX_SHIFT); in utrie2_freeze() 1421 *dest16++=(uint16_t)(dataMove+UTRIE2_BAD_UTF8_DATA_OFFSET); in utrie2_freeze() 1424 *dest16++=(uint16_t)(dataMove+newTrie->index2[i<<(6-UTRIE2_SHIFT_2)]); in utrie2_freeze() 1434 *dest16++=(uint16_t)(UTRIE2_INDEX_2_OFFSET + *p++); in utrie2_freeze() 1443 *dest16++=(uint16_t)((dataMove + *p++)>>UTRIE2_INDEX_SHIFT); in utrie2_freeze() 1451 trie->data16=dest16; in utrie2_freeze() 1455 *dest16++=(uint16_t)*p++; in utrie2_freeze() [all …]
|
D | utrie.cpp | 748 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()
|
D | umutablecptrie.cpp | 1682 uint16_t *dest16 = (uint16_t *)bytes; in build() local 1683 trie->index = dest16; in build() 1688 *dest16++ = (uint16_t)index[i]; // dest16[j] in build() 1691 uprv_memcpy(dest16, index16, indexLength * 2); in build() 1692 dest16 += indexLength; in build() 1701 trie->data.ptr16 = dest16; in build() 1703 *dest16++ = (uint16_t)*p++; in build()
|
/third_party/node/deps/icu-small/source/common/ |
D | utrie2.cpp | 245 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 …]
|
D | utrie2_builder.cpp | 1310 uint16_t *dest16; in utrie2_freeze() local 1410 dest16=(uint16_t *)(header+1); in utrie2_freeze() 1411 trie->index=dest16; in utrie2_freeze() 1416 *dest16++=(uint16_t)((dataMove + *p++)>>UTRIE2_INDEX_SHIFT); in utrie2_freeze() 1421 *dest16++=(uint16_t)(dataMove+UTRIE2_BAD_UTF8_DATA_OFFSET); in utrie2_freeze() 1424 *dest16++=(uint16_t)(dataMove+newTrie->index2[i<<(6-UTRIE2_SHIFT_2)]); in utrie2_freeze() 1434 *dest16++=(uint16_t)(UTRIE2_INDEX_2_OFFSET + *p++); in utrie2_freeze() 1443 *dest16++=(uint16_t)((dataMove + *p++)>>UTRIE2_INDEX_SHIFT); in utrie2_freeze() 1451 trie->data16=dest16; in utrie2_freeze() 1455 *dest16++=(uint16_t)*p++; in utrie2_freeze() [all …]
|
D | utrie.cpp | 748 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()
|
D | umutablecptrie.cpp | 1682 uint16_t *dest16 = (uint16_t *)bytes; in build() local 1683 trie->index = dest16; in build() 1688 *dest16++ = (uint16_t)index[i]; // dest16[j] in build() 1691 uprv_memcpy(dest16, index16, indexLength * 2); in build() 1692 dest16 += indexLength; in build() 1701 trie->data.ptr16 = dest16; in build() 1703 *dest16++ = (uint16_t)*p++; in build()
|
/third_party/ffmpeg/libswscale/ |
D | output.c | 2179 uint16_t **dest16 = (uint16_t**)dest; in yuv2gbrp_full_X_c() local 2226 dest16[0][i] = G >> SH; in yuv2gbrp_full_X_c() 2227 dest16[1][i] = B >> SH; in yuv2gbrp_full_X_c() 2228 dest16[2][i] = R >> SH; in yuv2gbrp_full_X_c() 2230 dest16[3][i] = A >> (SH - 3); in yuv2gbrp_full_X_c() 2241 dest16[0][i] = av_bswap16(dest16[0][i]); in yuv2gbrp_full_X_c() 2242 dest16[1][i] = av_bswap16(dest16[1][i]); in yuv2gbrp_full_X_c() 2243 dest16[2][i] = av_bswap16(dest16[2][i]); in yuv2gbrp_full_X_c() 2245 dest16[3][i] = av_bswap16(dest16[3][i]); in yuv2gbrp_full_X_c() 2261 uint16_t **dest16 = (uint16_t**)dest; in yuv2gbrp16_full_X_c() local [all …]
|
/third_party/icu/icu4c/source/test/intltest/ |
D | strcase.cpp | 723 UChar *dest16 = result16.getBuffer(expected16.length() + 1); in assertGreekUpper() local 724 u_memset(dest16, 0x55AA, result16.getCapacity()); in assertGreekUpper() 726 length = u_strToUpper(dest16, cap, s16.getBuffer(), s16.length(), "el", &errorCode); in assertGreekUpper() 735 assertEquals(msg + cap + " NUL", 0, dest16[length]); in assertGreekUpper()
|