/frameworks/base/include/androidfw/ |
ResourceTypes.h | 43 * In C++11, char16_t is defined as *at least* 16 bits. We do a lot of 44 * casting on raw data and expect char16_t to be exactly 16 bits. 48 static_assert(sizeof(char16_t) == sizeof(uint16_t), "char16_t is not 16 bits"); 49 static_assert(alignof(char16_t) == alignof(uint16_t), "char16_t is not 16-bit aligned"); 502 inline const char16_t* stringAt(const ResStringPool_ref& ref, size_t* outLen) const { 505 const char16_t* stringAt(size_t idx, size_t* outLen) const; 517 ssize_t indexOfString(const char16_t* str, size_t strLen) const; 535 char16_t mutable** mCache [all...] |
/bionic/tests/ |
uchar_test.cpp | 38 EXPECT_EQ(2U, sizeof(char16_t)); 161 char16_t out; 178 char16_t out; 188 ASSERT_EQ(static_cast<char16_t>(0x00a2), out); 191 ASSERT_EQ(static_cast<char16_t>(0x20ac), out); 199 char16_t out; 203 ASSERT_EQ(static_cast<char16_t>(0xdbea), out); 205 ASSERT_EQ(static_cast<char16_t>(0xdfcd), out); 213 char16_t out; 223 char16_t out [all...] |
/external/clang/test/Lexer/ |
keywords_test.cpp | 47 CXX11_KEYWORD(char16_t); variable 48 CXX11_TYPE(char16_t); variable
|
/external/clang/test/Parser/ |
char-literal-printing.c | 36 char16_t test26(void) { return u'\\'; } 37 char16_t test27(void) { return u'\''; } 38 char16_t test28(void) { return u'\a'; } 39 char16_t test29(void) { return u'\b'; } 40 char16_t test30(void) { return u'\e'; } 41 char16_t test31(void) { return u'\f'; } 42 char16_t test32(void) { return u'\n'; } 43 char16_t test33(void) { return u'\r'; } 44 char16_t test34(void) { return u'\t'; } 45 char16_t test35(void) { return u'\v'; [all...] |
cxx11-user-defined-literals.cpp | 43 constexpr char16_t operator"" _id(char16_t c) { return c; } 49 constexpr const char16_t operator"" _id(const char16_t *p, size_t n) { return *p; }
|
/external/libcxx/test/std/experimental/string.view/string.view.cons/ |
from_ptr_len.pass.cpp | 62 constexpr const char16_t *s = u"QBCDE"; 63 constexpr std::experimental::basic_string_view<char16_t> sv1 ( s, 2 );
|
/frameworks/base/tools/aapt2/xml/ |
XmlUtil.cpp | 27 if (util::stringStartsWith<char16_t>(namespaceUri, kSchemaPublicPrefix)) { 36 } else if (util::stringStartsWith<char16_t>(namespaceUri, kSchemaPrivatePrefix)) {
|
/system/core/metricsd/uploader/ |
bn_metricsd_impl.cc | 29 static const char16_t kCrashTypeKernel[] = u"kernel"; 30 static const char16_t kCrashTypeUncleanShutdown[] = u"uncleanshutdown"; 31 static const char16_t kCrashTypeUser[] = u"user";
|
/external/libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.req/ |
atomic_exchange.pass.cpp | 68 test<char16_t>();
|
atomic_fetch_and.pass.cpp | 61 test<char16_t>();
|
atomic_fetch_and_explicit.pass.cpp | 63 test<char16_t>();
|
atomic_fetch_or.pass.cpp | 61 test<char16_t>();
|
atomic_fetch_or_explicit.pass.cpp | 63 test<char16_t>();
|
atomic_fetch_xor.pass.cpp | 61 test<char16_t>();
|
atomic_fetch_xor_explicit.pass.cpp | 63 test<char16_t>();
|
atomic_init.pass.cpp | 66 test<char16_t>();
|
atomic_load.pass.cpp | 66 test<char16_t>();
|
atomic_load_explicit.pass.cpp | 66 test<char16_t>();
|
atomic_store.pass.cpp | 66 test<char16_t>();
|
atomic_store_explicit.pass.cpp | 66 test<char16_t>();
|
/external/libcxx/test/std/language.support/support.limits/limits/ |
is_specialized.pass.cpp | 49 test<char16_t>();
|
/external/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/ |
const_data_members.pass.cpp | 102 // char16_t 103 TEST_NUMERIC_LIMITS(char16_t) 104 TEST_NUMERIC_LIMITS(const char16_t) 105 TEST_NUMERIC_LIMITS(volatile char16_t) 106 TEST_NUMERIC_LIMITS(const volatile char16_t)
|
denorm_min.pass.cpp | 35 test<char16_t>(0);
|
digits.pass.cpp | 35 test<char16_t, 16>();
|
digits10.pass.cpp | 39 test<char16_t, 4>();
|