/external/webrtc/webrtc/base/ |
macutils.cc | 23 bool ToUtf8(const CFStringRef str16, std::string* str8) { 24 if ((NULL == str16) || (NULL == str8)) { 27 size_t maxlen = CFStringGetMaximumSizeForEncoding(CFStringGetLength(str16), 30 if (!buffer || !CFStringGetCString(str16, buffer.get(), maxlen, 38 bool ToUtf16(const std::string& str8, CFStringRef* str16) { 39 if (NULL == str16) { 42 *str16 = CFStringCreateWithBytes(kCFAllocatorDefault, 46 return NULL != *str16;
|
macutils.h | 27 bool ToUtf8(const CFStringRef str16, std::string* str8); 28 bool ToUtf16(const std::string& str8, CFStringRef* str16);
|
/frameworks/base/tools/aapt2/xml/ |
XmlDom.cpp | 210 const char16_t* str16 = parser->getAttributeNamespace(i, &len); local 211 if (str16) { 212 attr.namespaceUri.assign(str16, len); 215 str16 = parser->getAttributeName(i, &len); 216 if (str16) { 217 attr.name.assign(str16, len); 220 str16 = parser->getAttributeStringValue(i, &len); 221 if (str16) { 222 attr.value.assign(str16, len); 251 const char16_t* str16 = tree.getNamespacePrefix(&len) local 267 const char16_t* str16 = tree.getElementNamespace(&len); local 286 const char16_t* str16 = tree.getText(&len); local [all...] |
/frameworks/base/packages/services/PacProcessor/jni/ |
com_android_pacprocessor_PacNative.cpp | 51 String16 str16(reinterpret_cast<const char16_t*>(str), 54 return str16;
|
/external/libchrome/base/ |
pickle_unittest.cc | 471 string16 str16; local 472 EXPECT_FALSE(iter.ReadString16(&str16)); 475 str16 = (wchar_t) 'A'; 477 EXPECT_TRUE(str16_pickle.WriteString16(str16)); 479 EXPECT_TRUE(iter.ReadString16(&str16)); 480 EXPECT_EQ(1U, str16.length()); 487 EXPECT_FALSE(iter.ReadString16(&str16));
|
/frameworks/base/core/jni/ |
android_util_Process.cpp | 113 const jchar* str16 = env->GetStringCritical(name, 0); local 115 if (str16) { 116 name8 = String8(reinterpret_cast<const char16_t*>(str16), 118 env->ReleaseStringCritical(name, str16); 145 const jchar* str16 = env->GetStringCritical(name, 0); local 147 if (str16) { 148 name8 = String8(reinterpret_cast<const char16_t*>(str16), 150 env->ReleaseStringCritical(name, str16); [all...] |
android_util_AssetManager.cpp | 1979 const char16_t* str16 = pool->stringAt(value.data, &strLen); local [all...] |
/frameworks/base/tools/aapt/ |
XMLNode.cpp | 101 String16 str16) 103 const char16_t* str = str16.string(); 105 const char16_t* end = str + str16.size(); [all...] |
/frameworks/base/libs/androidfw/ |
ResourceTypes.cpp | 832 const char16_t *str16 = stringAt(idx, &len); local 833 if (str16 != NULL) { 834 return String8(str16, len); 6856 const char16_t* str16 = pkg->header->values.stringAt( local [all...] |
/external/v8/benchmarks/ |
regexp.js | [all...] |