Home
last modified time | relevance | path

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

/external/cronet/third_party/icu/source/test/cintltst/
Didnatest.c870 UChar dest16[10]; in TestUTS46() local
885 dest16, UPRV_LENGTHOF(dest16), &info, &errorCode); in TestUTS46()
886 if( U_FAILURE(errorCode) || length != 4 || 0 != u_memcmp(dest16, fass16, 5) || in TestUTS46()
893 dest16, UPRV_LENGTHOF(dest16), &info, &errorCode); in TestUTS46()
894 if( U_FAILURE(errorCode) || length != 3 || 0 != u_memcmp(dest16, fa_sharps16, 4) || in TestUTS46()
901 dest16, 4, &info, &errorCode); in TestUTS46()
903 length != 4 || 0 != u_memcmp(dest16, fass16, 4) || in TestUTS46()
910 dest16, 3, &info, &errorCode); in TestUTS46()
912 length != 3 || 0 != u_memcmp(dest16, fa_sharps16, 3) || in TestUTS46()
955 dest16, 0, &info, &errorCode); in TestUTS46()
[all …]
Dcustrtrn.c1997 UChar dest16[4]={ 3, 3, 3, 3 }; in TestNullEmptySource() local
2008 dest16[0]=3; in TestNullEmptySource()
2011 u_strFromUTF8(dest16, UPRV_LENGTHOF(dest16), &length, NULL, 0, &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_strFromUTF8WithSub(dest16, UPRV_LENGTHOF(dest16), &length, NULL, 0, 0xfffd, NULL, &errorCode); in TestNullEmptySource()
2020 if(errorCode!=U_ZERO_ERROR || length!=0 || dest16[0]!=0 || dest16[1]!=3) { in TestNullEmptySource()
2024 dest16[0]=3; in TestNullEmptySource()
2027 u_strFromUTF8Lenient(dest16, UPRV_LENGTHOF(dest16), &length, NULL, 0, &errorCode); in TestNullEmptySource()
2028 if(errorCode!=U_ZERO_ERROR || length!=0 || dest16[0]!=0 || dest16[1]!=3) { in TestNullEmptySource()
[all …]
/external/icu/icu4c/source/test/cintltst/
Didnatest.c870 UChar dest16[10]; in TestUTS46() local
885 dest16, UPRV_LENGTHOF(dest16), &info, &errorCode); in TestUTS46()
886 if( U_FAILURE(errorCode) || length != 4 || 0 != u_memcmp(dest16, fass16, 5) || in TestUTS46()
893 dest16, UPRV_LENGTHOF(dest16), &info, &errorCode); in TestUTS46()
894 if( U_FAILURE(errorCode) || length != 3 || 0 != u_memcmp(dest16, fa_sharps16, 4) || in TestUTS46()
901 dest16, 4, &info, &errorCode); in TestUTS46()
903 length != 4 || 0 != u_memcmp(dest16, fass16, 4) || in TestUTS46()
910 dest16, 3, &info, &errorCode); in TestUTS46()
912 length != 3 || 0 != u_memcmp(dest16, fa_sharps16, 3) || in TestUTS46()
955 dest16, 0, &info, &errorCode); in TestUTS46()
[all …]
Dcustrtrn.c1997 UChar dest16[4]={ 3, 3, 3, 3 }; in TestNullEmptySource() local
2008 dest16[0]=3; in TestNullEmptySource()
2011 u_strFromUTF8(dest16, UPRV_LENGTHOF(dest16), &length, NULL, 0, &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_strFromUTF8WithSub(dest16, UPRV_LENGTHOF(dest16), &length, NULL, 0, 0xfffd, NULL, &errorCode); in TestNullEmptySource()
2020 if(errorCode!=U_ZERO_ERROR || length!=0 || dest16[0]!=0 || dest16[1]!=3) { in TestNullEmptySource()
2024 dest16[0]=3; in TestNullEmptySource()
2027 u_strFromUTF8Lenient(dest16, UPRV_LENGTHOF(dest16), &length, NULL, 0, &errorCode); in TestNullEmptySource()
2028 if(errorCode!=U_ZERO_ERROR || length!=0 || dest16[0]!=0 || dest16[1]!=3) { in TestNullEmptySource()
[all …]
/external/libgav1/src/dsp/x86/
Dconvolve_avx2.cc135 auto* dest16 = static_cast<uint16_t*>(dest); in FilterHorizontal() local
148 Store4(&dest16[0], sum); in FilterHorizontal()
149 dest16 += pred_stride; in FilterHorizontal()
150 Store4(&dest16[0], _mm_srli_si128(sum, 8)); in FilterHorizontal()
151 dest16 += pred_stride; in FilterHorizontal()
189 Store4(dest16, sum); in FilterHorizontal()
203 auto* dest16 = static_cast<uint16_t*>(dest); in FilterHorizontal() local
221 StoreAligned32(&dest16[x], result); in FilterHorizontal()
222 StoreAligned32(&dest16[x + 16], result2); in FilterHorizontal()
224 StoreUnaligned32(&dest16[x], result); in FilterHorizontal()
[all …]
Dconvolve_sse4.cc101 auto* dest16 = static_cast<uint16_t*>(dest); in FilterHorizontal() local
112 StoreAligned16(&dest16[x], v_sum); in FilterHorizontal()
114 StoreUnaligned16(&dest16[x], v_sum); in FilterHorizontal()
124 dest16 += pred_stride; in FilterHorizontal()
139 StoreLo8(dest16, v_sum); in FilterHorizontal()
146 dest16 += pred_stride; in FilterHorizontal()
158 Store4(&dest16[0], sum); in FilterHorizontal()
159 dest16 += pred_stride; in FilterHorizontal()
160 Store4(&dest16[0], _mm_srli_si128(sum, 8)); in FilterHorizontal()
161 dest16 += pred_stride; in FilterHorizontal()
[all …]
/external/cronet/third_party/icu/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.cpp1310 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 …]
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.cpp1682 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()
/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.cpp1310 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 …]
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.cpp1682 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()
/external/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/aom_mem/
Daom_mem.h42 uint16_t *dest16 = (uint16_t *)dest; in aom_memset16() local
43 for (i = 0; i < length; i++) *dest16++ = val; in aom_memset16()
/external/libgav1/src/dsp/arm/
Dconvolve_10bit_neon.cc153 auto* dest16 = static_cast<uint16_t*>(dest); in FilterHorizontalWidth8AndUp() local
199 vst1_u16(&dest16[0], vreinterpret_u16_s16(d0)); in FilterHorizontalWidth8AndUp()
200 vst1_u16(&dest16[4], vreinterpret_u16_s16(d1)); in FilterHorizontalWidth8AndUp()
202 dest16 += 8; in FilterHorizontalWidth8AndUp()
251 vst1_u16(&dest16[x], in FilterHorizontalWidth8AndUp()
253 vst1_u16(&dest16[x + 4], in FilterHorizontalWidth8AndUp()
269 vst1_u16(&dest16[x], d0); in FilterHorizontalWidth8AndUp()
270 vst1_u16(&dest16[x + 4], d1); in FilterHorizontalWidth8AndUp()
275 dest16 += pred_stride; in FilterHorizontalWidth8AndUp()
285 auto* dest16 = static_cast<uint16_t*>(dest); in FilterHorizontalWidth4() local
[all …]
Dconvolve_neon.cc113 auto* dest16 = static_cast<uint16_t*>(dest); in FilterHorizontalWidth8AndUp() local
155 vst1q_u16(&dest16[x], v_sum); in FilterHorizontalWidth8AndUp()
172 dest16 += pred_stride; in FilterHorizontalWidth8AndUp()
215 vst1q_u16(dest16, v_sum); in FilterHorizontalWidth8AndUp()
217 dest16 += 8; in FilterHorizontalWidth8AndUp()
231 auto* dest16 = static_cast<uint16_t*>(dest); in FilterHorizontalWidth4() local
249 vst1_u16(dest16, v_sum); in FilterHorizontalWidth4()
259 dest16 += pred_stride; in FilterHorizontalWidth4()
270 auto* dest16 = static_cast<uint16_t*>(dest); in FilterHorizontalWidth2() local
298 dest16[0] = vgetq_lane_u16(v_sum, 0); in FilterHorizontalWidth2()
[all …]
/external/icu/icu4c/source/test/intltest/
Dstrcase.cpp826 UChar *dest16 = result16.getBuffer(expected16.length() + 1); in assertGreekUpper() local
827 u_memset(dest16, 0x55AA, result16.getCapacity()); in assertGreekUpper()
829 length = u_strToUpper(dest16, cap, s16.getBuffer(), s16.length(), "el", &errorCode); in assertGreekUpper()
838 assertEquals(msg + cap + " NUL", 0, dest16[length]); in assertGreekUpper()
/external/cronet/third_party/icu/source/test/intltest/
Dstrcase.cpp826 UChar *dest16 = result16.getBuffer(expected16.length() + 1); in assertGreekUpper() local
827 u_memset(dest16, 0x55AA, result16.getCapacity()); in assertGreekUpper()
829 length = u_strToUpper(dest16, cap, s16.getBuffer(), s16.length(), "el", &errorCode); in assertGreekUpper()
838 assertEquals(msg + cap + " NUL", 0, dest16[length]); in assertGreekUpper()
/external/openthread/tests/scripts/thread-cert/pktverify/
Dpacket_filter.py515 … return self.filter(lambda p: p.lowpan.mesh.dest16 == rloc16 or p.wpan.dst16 == rloc16, **kwargs)