/bionic/libc/bionic/ |
c32rtomb.cpp | 35 size_t c32rtomb(char* s, char32_t c32, mbstate_t* ps) { 48 if (c32 == U'\0') { 57 if ((c32 & ~0x7f) == 0) { 59 *s = c32; 69 if ((c32 & ~0x7f) == 0) { 72 } else if ((c32 & ~0x7ff) == 0) { 75 } else if ((c32 & ~0xffff) == 0) { 78 } else if ((c32 & ~0x1fffff) == 0) { 91 s[i] = (c32 & 0x3f) | 0x80; 92 c32 >>= 6 [all...] |
mbrtoc16.cpp | 40 static size_t begin_surrogate(char32_t c32, char16_t* pc16, 42 c32 -= 0x10000; 43 char16_t trail = (c32 & 0x3ff) | 0xdc00; 49 *pc16 = ((c32 & 0xffc00) >> 10) | 0xd800; 74 char32_t c32; local 75 size_t nconv = mbrtoc32(&c32, s, n, state); 80 } else if (c32 > 0x10ffff) { 83 } else if (c32 < 0x10000) { 84 *pc16 = static_cast<char16_t>(c32); 87 return begin_surrogate(c32, pc16, nconv, state) [all...] |
mbrtoc32.cpp | 120 char32_t c32 = mbstate_get_byte(state, 0) & mask; local 122 c32 <<= 6; 123 c32 |= mbstate_get_byte(state, i) & 0x3f; 126 if (c32 < lower_bound) { 130 if ((c32 >= 0xd800 && c32 <= 0xdfff) || c32 == 0xfffe || c32 == 0xffff) { 135 *pc32 = c32; 137 return reset_and_return(c32 == U'\0' ? 0 : bytes_wanted, state) [all...] |
c16rtomb.cpp | 48 char32_t c32 = (c16 & ~0xd800) << 10; local 49 mbstate_set_byte(state, 3, (c32 & 0xff0000) >> 16); 50 mbstate_set_byte(state, 2, (c32 & 0x00ff00) >> 8); 62 char32_t c32 = ((mbstate_get_byte(state, 3) << 16) | local 65 return reset_and_return(c32rtomb(s, c32, NULL), state);
|
/external/clang/test/Misc/ |
ast-dump-wchar.cpp | 9 char32_t c32[] = U"test\0\\\"\t\a\b\234\u1234\U0010ffff"; // \ variable
|
/external/chromium_org/third_party/opus/src/silk/ |
macros.h | 43 /* a32 + (b32 * (opus_int32)((opus_int16)(c32))) >> 16 output have to be 32bit int */ 44 #define silk_SMLAWB(a32, b32, c32) ((a32) + ((((b32) >> 16) * (opus_int32)((opus_int16)(c32))) + ((((b32) & 0x0000FFFF) * (opus_int32)((opus_int16)(c32))) >> 16))) 49 /* a32 + (b32 * (c32 >> 16)) >> 16 */ 50 #define silk_SMLAWT(a32, b32, c32) ((a32) + (((b32) >> 16) * ((c32) >> 16)) + ((((b32) & 0x0000FFFF) * ((c32) >> 16)) >> 16)) 55 /* a32 + (opus_int32)((opus_int16)(b32)) * (opus_int32)((opus_int16)(c32)) output have to be 32bit int */ 56 #define silk_SMLABB(a32, b32, c32) ((a32) + ((opus_int32)((opus_int16)(b32))) * (opus_int32)((opus_int16)(c32)) [all...] |
MacroDebug.h | 289 static OPUS_INLINE opus_int32 silk_MLA_(opus_int32 a32, opus_int32 b32, opus_int32 c32, char *file, int line){ 291 ret = a32 + b32 * c32; 292 if ( (opus_int64)ret != (opus_int64)a32 + (opus_int64)b32 * (opus_int64)c32 ) 294 fprintf (stderr, "silk_MLA(%d, %d, %d) in %s: line %d\n", a32, b32, c32, file, line); 304 static OPUS_INLINE opus_int32 silk_MLA_uint_(opus_uint32 a32, opus_uint32 b32, opus_uint32 c32, char *file, int line){ 306 ret = a32 + b32 * c32; 307 if ( (opus_int64)ret != (opus_int64)a32 + (opus_int64)b32 * (opus_int64)c32 ) 309 fprintf (stderr, "silk_MLA_uint(%d, %d, %d) in %s: line %d\n", a32, b32, c32, file, line); 334 static OPUS_INLINE opus_int32 silk_SMLAWB_(opus_int32 a32, opus_int32 b32, opus_int32 c32, char *file, int line){ 336 ret = silk_ADD32( a32, silk_SMULWB( b32, c32 ) ); [all...] |
MacroCount.h | 69 static OPUS_INLINE opus_int32 silk_MLA(opus_int32 a32, opus_int32 b32, opus_int32 c32){ 72 ret = a32 + b32 * c32; 77 static OPUS_INLINE opus_int32 silk_MLA_uint(opus_uint32 a32, opus_uint32 b32, opus_uint32 c32){ 80 ret = a32 + b32 * c32; 92 static OPUS_INLINE opus_int32 silk_SMLAWB(opus_int32 a32, opus_int32 b32, opus_int32 c32){ 95 ret = ((a32) + ((((b32) >> 16) * (opus_int32)((opus_int16)(c32))) + ((((b32) & 0x0000FFFF) * (opus_int32)((opus_int16)(c32))) >> 16))); 107 static OPUS_INLINE opus_int32 silk_SMLAWT(opus_int32 a32, opus_int32 b32, opus_int32 c32){ 110 ret = a32 + ((b32 >> 16) * (c32 >> 16)) + (((b32 & 0x0000FFFF) * ((c32 >> 16)) >> 16)) [all...] |
SigProc_FIX.h | 399 /* a32 + (b32 * c32) output have to be 32bit int */ 400 #define silk_MLA(a32, b32, c32) silk_ADD32((a32),((b32) * (c32))) 402 /* a32 + (b32 * c32) output have to be 32bit uint */ 403 #define silk_MLA_uint(a32, b32, c32) silk_MLA(a32, b32, c32) 409 #define silk_SMLATT(a32, b32, c32) silk_ADD32((a32),((b32) >> 16) * ((c32) >> 16)) 424 #define silk_MLA_ovflw(a32, b32, c32) silk_ADD32_ovflw((a32), (opus_uint32)(b32) * (opus_uint32)(c32)) [all...] |
/external/libopus/silk/ |
macros.h | 43 /* a32 + (b32 * (opus_int32)((opus_int16)(c32))) >> 16 output have to be 32bit int */ 44 #define silk_SMLAWB(a32, b32, c32) ((a32) + ((((b32) >> 16) * (opus_int32)((opus_int16)(c32))) + ((((b32) & 0x0000FFFF) * (opus_int32)((opus_int16)(c32))) >> 16))) 49 /* a32 + (b32 * (c32 >> 16)) >> 16 */ 50 #define silk_SMLAWT(a32, b32, c32) ((a32) + (((b32) >> 16) * ((c32) >> 16)) + ((((b32) & 0x0000FFFF) * ((c32) >> 16)) >> 16)) 55 /* a32 + (opus_int32)((opus_int16)(b32)) * (opus_int32)((opus_int16)(c32)) output have to be 32bit int */ 56 #define silk_SMLABB(a32, b32, c32) ((a32) + ((opus_int32)((opus_int16)(b32))) * (opus_int32)((opus_int16)(c32)) [all...] |
MacroDebug.h | 289 static OPUS_INLINE opus_int32 silk_MLA_(opus_int32 a32, opus_int32 b32, opus_int32 c32, char *file, int line){ 291 ret = a32 + b32 * c32; 292 if ( (opus_int64)ret != (opus_int64)a32 + (opus_int64)b32 * (opus_int64)c32 ) 294 fprintf (stderr, "silk_MLA(%d, %d, %d) in %s: line %d\n", a32, b32, c32, file, line); 304 static OPUS_INLINE opus_int32 silk_MLA_uint_(opus_uint32 a32, opus_uint32 b32, opus_uint32 c32, char *file, int line){ 306 ret = a32 + b32 * c32; 307 if ( (opus_int64)ret != (opus_int64)a32 + (opus_int64)b32 * (opus_int64)c32 ) 309 fprintf (stderr, "silk_MLA_uint(%d, %d, %d) in %s: line %d\n", a32, b32, c32, file, line); 334 static OPUS_INLINE opus_int32 silk_SMLAWB_(opus_int32 a32, opus_int32 b32, opus_int32 c32, char *file, int line){ 336 ret = silk_ADD32( a32, silk_SMULWB( b32, c32 ) ); [all...] |
MacroCount.h | 69 static OPUS_INLINE opus_int32 silk_MLA(opus_int32 a32, opus_int32 b32, opus_int32 c32){ 72 ret = a32 + b32 * c32; 77 static OPUS_INLINE opus_int32 silk_MLA_uint(opus_uint32 a32, opus_uint32 b32, opus_uint32 c32){ 80 ret = a32 + b32 * c32; 92 static OPUS_INLINE opus_int32 silk_SMLAWB(opus_int32 a32, opus_int32 b32, opus_int32 c32){ 95 ret = ((a32) + ((((b32) >> 16) * (opus_int32)((opus_int16)(c32))) + ((((b32) & 0x0000FFFF) * (opus_int32)((opus_int16)(c32))) >> 16))); 107 static OPUS_INLINE opus_int32 silk_SMLAWT(opus_int32 a32, opus_int32 b32, opus_int32 c32){ 110 ret = a32 + ((b32 >> 16) * (c32 >> 16)) + (((b32 & 0x0000FFFF) * ((c32 >> 16)) >> 16)) [all...] |
SigProc_FIX.h | 399 /* a32 + (b32 * c32) output have to be 32bit int */ 400 #define silk_MLA(a32, b32, c32) silk_ADD32((a32),((b32) * (c32))) 402 /* a32 + (b32 * c32) output have to be 32bit uint */ 403 #define silk_MLA_uint(a32, b32, c32) silk_MLA(a32, b32, c32) 409 #define silk_SMLATT(a32, b32, c32) silk_ADD32((a32),((b32) >> 16) * ((c32) >> 16)) 424 #define silk_MLA_ovflw(a32, b32, c32) silk_ADD32_ovflw((a32), (opus_uint32)(b32) * (opus_uint32)(c32)) [all...] |
/external/libpng/contrib/tools/ |
checksum-icc.c | 23 uLong c32 = crc32(0, NULL, 0); local 40 c32 = crc32(c32, &b, 1); 51 (unsigned long)a32, (unsigned long)c32,
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
tokiter.cpp | 85 UChar32 c32 = line.unescapeAt(pos); local 86 if (c32 < 0) { 90 token.append(c32);
|
/external/icu/icu4c/source/test/intltest/ |
tokiter.cpp | 86 UChar32 c32 = line.unescapeAt(pos); local 87 if (c32 < 0) { 91 token.append(c32);
|
/external/libcxx/test/localization/locale.categories/category.ctype/locale.codecvt/locale.codecvt.members/ |
utf_sanity_check.pass.cpp | 40 F32_8::intern_type c32; local 77 assert(f32_8.in(mbs, c8, c_c8p, c_c8p, &c32, &c32+1, c32p) == F32_8::ok); 86 assert(c32p-&c32 == 1); 87 assert(c32 == c32x); 118 assert(f32_16.in(mbs, c16c, c_c16cp, c_c16cp, &c32, &c32+1, c32p) == F32_8::ok); 123 assert(c32p-&c32 == 1); 124 assert(c32 == c32x);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.ctype/locale.codecvt/locale.codecvt.members/ |
utf_sanity_check.pass.cpp | 40 F32_8::intern_type c32; local 77 assert(f32_8.in(mbs, c8, c_c8p, c_c8p, &c32, &c32+1, c32p) == F32_8::ok); 86 assert(c32p-&c32 == 1); 87 assert(c32 == c32x); 118 assert(f32_16.in(mbs, c16c, c_c16cp, c_c16cp, &c32, &c32+1, c32p) == F32_8::ok); 123 assert(c32p-&c32 == 1); 124 assert(c32 == c32x);
|
/external/chromium_org/third_party/icu/source/common/ |
utrie.h | 205 * if((c32)<=0xd7ff) { (result)=_UTRIE_GET_RAW(trie, data, 0, c32); } 207 #define _UTRIE_GET(trie, data, c32, result, resultType) \ 208 if((uint32_t)(c32)<=0xffff) { \ 210 (result)=_UTRIE_GET_FROM_BMP(trie, data, c32); \ 211 } else if((uint32_t)(c32)<=0x10ffff) { \ 213 UChar __lead16=UTF16_LEAD(c32); \ 214 _UTRIE_GET_FROM_PAIR(trie, data, __lead16, c32, result, resultType); \ 332 * @param c32 (UChar32, in) the input code point 335 #define UTRIE_GET16(trie, c32, result) _UTRIE_GET(trie, index, c32, result, uint16_t [all...] |
/external/icu/icu4c/source/common/ |
utrie.h | 206 * if((c32)<=0xd7ff) { (result)=_UTRIE_GET_RAW(trie, data, 0, c32); } 208 #define _UTRIE_GET(trie, data, c32, result, resultType) \ 209 if((uint32_t)(c32)<=0xffff) { \ 211 (result)=_UTRIE_GET_FROM_BMP(trie, data, c32); \ 212 } else if((uint32_t)(c32)<=0x10ffff) { \ 214 UChar __lead16=U16_LEAD(c32); \ 215 _UTRIE_GET_FROM_PAIR(trie, data, __lead16, c32, result, resultType); \ 333 * @param c32 (UChar32, in) the input code point 336 #define UTRIE_GET16(trie, c32, result) _UTRIE_GET(trie, index, c32, result, uint16_t [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
uchar.h | 60 char32_t c32,
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm11_asm/ |
h264bsd_interpolate_chroma_hor.s | 67 c32 RN 14 label 164 MOV c32, #32 189 SMLAD tmp5, tmp5, valX, c32 ;// multiply 190 SMLAD tmp6, tmp6, valX, c32 ;// multiply 195 SMLAD tmp7, tmp7, valX, c32 ;// multiply 196 SMLAD tmp8, tmp8, valX, c32 ;// multiply 260 SMLAD tmp5, tmp5, valX, c32 ;// multiply 261 SMLAD tmp6, tmp6, valX, c32 ;// multiply 266 SMLAD tmp7, tmp7, valX, c32 ;// multiply 267 SMLAD tmp8, tmp8, valX, c32 ;// multipl [all...] |
h264bsd_interpolate_chroma_hor_ver.s | 68 c32 RN 14 label 169 MOV c32, #32 201 MLA tmp5, tmp1, valX, c32 ;// t5=t1*valX+32 205 MLA tmp6, tmp3, valX, c32 ;// t3=t3*valX+32 222 MLA tmp5, tmp1, xFrac, c32 ;// t1=t1*xFrac+32 226 MLA tmp6, tmp3, xFrac, c32 ;// t3=t3*xFrac+32 290 MLA tmp5, tmp1, valX, c32 ;// t5=t1*valX+32 294 MLA tmp6, tmp3, valX, c32 ;// t3=t3*valX+32 311 MLA tmp5, tmp1, xFrac, c32 ;// t1=t1*xFrac+32 315 MLA tmp6, tmp3, xFrac, c32 ;// t3=t3*xFrac+3 [all...] |
h264bsd_interpolate_chroma_ver.s | 66 c32 RN 14 label 162 MOV c32, #32 188 SMLAD tmp7, tmp2, valY, c32 ;// multiply 190 SMLAD tmp2, tmp1, valY, c32 ;// multiply 191 SMLAD tmp8, tmp5, valY, c32 ;// multiply 192 SMLAD tmp5, tmp4, valY, c32 ;// multiply 255 SMLAD tmp7, tmp2, valY, c32 ;// multiply 257 SMLAD tmp2, tmp1, valY, c32 ;// multiply 258 SMLAD tmp8, tmp5, valY, c32 ;// multiply 259 SMLAD tmp5, tmp4, valY, c32 ;// multipl [all...] |
/external/clang/test/Sema/ |
attr-mode.c | 27 typedef _Complex double c32 __attribute((mode(SC))); typedef 28 int c32_test[sizeof(c32) == 8 ? 1 : -1];
|