Home
last modified time | relevance | path

Searched refs:utf8String (Results 1 – 11 of 11) sorted by relevance

/external/mdnsresponder/mDNSWindows/DLLX/
DStringServices.cpp46 char * utf8String = NULL; in BSTRToUTF8() local
83 utf8String = new char[ size + 1 ]; in BSTRToUTF8()
91 utf8String = NULL; in BSTRToUTF8()
97 require_action( utf8String != NULL, exit, err = kNoMemoryErr ); in BSTRToUTF8()
99 …arToMultiByte( CP_UTF8, 0, utf16String, ( int ) wcslen( utf16String ), utf8String, (int) size, NUL… in BSTRToUTF8()
113 utf8String[size] = '\0'; in BSTRToUTF8()
115 outString = utf8String; in BSTRToUTF8()
126 if ( utf8String != NULL ) in BSTRToUTF8()
130 delete [] utf8String; in BSTRToUTF8()
/external/skia/tests/
DSkUTFTest.cpp63 const char* utf8String; in DEF_TEST() member
91 const char* str = testCase.utf8String; in DEF_TEST()
99 const char* utf8String; in DEF_TEST() member
109 const char* str = testCase.utf8String; in DEF_TEST()
111 REPORTER_ASSERT(r, str == testCase.utf8String + strlen(testCase.utf8String)); in DEF_TEST()
131 str = testCase.utf8String; in DEF_TEST()
/external/skqp/tests/
DSkUTFTest.cpp63 const char* utf8String; in DEF_TEST() member
91 const char* str = testCase.utf8String; in DEF_TEST()
99 const char* utf8String; in DEF_TEST() member
109 const char* str = testCase.utf8String; in DEF_TEST()
111 REPORTER_ASSERT(r, str == testCase.utf8String + strlen(testCase.utf8String)); in DEF_TEST()
131 str = testCase.utf8String; in DEF_TEST()
/external/skia/tools/skqp/src/
Djni_skqp.cpp96 const char* utf8String = env->GetStringUTFChars(jString, nullptr); in to_string() local
97 jassert(env, utf8String && utf8String[0], ""); in to_string()
98 std::string sString(utf8String); in to_string()
99 env->ReleaseStringUTFChars(jString, utf8String); in to_string()
/external/skqp/tools/skqp/src/
Djni_skqp.cpp96 const char* utf8String = env->GetStringUTFChars(jString, nullptr); in to_string() local
97 jassert(env, utf8String && utf8String[0], ""); in to_string()
98 std::string sString(utf8String); in to_string()
99 env->ReleaseStringUTFChars(jString, utf8String); in to_string()
/external/antlr/runtime/C/src/
Dantlr3string.c365 pANTLR3_STRING utf8String; in toUTF8_UTF16() local
372 utf8String = string->factory->newStr8(string->factory, (pANTLR3_UINT8)""); in toUTF8_UTF16()
374 if (utf8String != NULL) in toUTF8_UTF16()
378 ANTLR3_FREE(utf8String->chars); in toUTF8_UTF16()
382 utf8String->size = string->len *3; in toUTF8_UTF16()
383 utf8String->chars = (pANTLR3_UINT8)ANTLR3_MALLOC(utf8String->size +1); in toUTF8_UTF16()
385 if (utf8String->chars != NULL) in toUTF8_UTF16()
388 outputEnd = (UTF8 *) (utf8String->chars); in toUTF8_UTF16()
397 outputEnd + utf8String->size - 1, in toUTF8_UTF16()
405 utf8String->len = ANTLR3_UINT32_CAST(((pANTLR3_UINT8)outputEnd) - utf8String->chars); in toUTF8_UTF16()
[all …]
/external/proguard/src/proguard/classfile/constant/
DUtf8Constant.java114 public void setString(String utf8String) in setString() argument
117 this.string = utf8String; in setString()
/external/skia/src/utils/
DSkShaperJSONWriter.cpp228 std::string utf8String{utf8.data(), utf8.size()}; in displayMToN() local
229 fJSONWriter->appendString("UTF", utf8String.c_str()); in displayMToN()
/external/mdnsresponder/mDNSWindows/DLL.NET/
Ddnssd_NET.cpp43 ConvertToString(const char * utf8String) in ConvertToString() argument
45 return __gc new String(utf8String, 0, strlen(utf8String), __gc new UTF8Encoding(true, true)); in ConvertToString()
/external/icu/icu4c/source/test/intltest/
Drbbitst.cpp395 CharString utf8String; // UTF-8 form of text to break. member
467 utf8String.clear(); in setUTF8()
468 CharStringAppend(utf8String, dataToBreak, status); in setUTF8()
469 textToBreak = utext_openUTF8(textToBreak, utf8String.data(), utf8String.length(), &status); in setUTF8()
/external/icu/icu4c/source/test/cintltst/
Dcmsccoll.c2674 char utf8String[3][256]; in TestHebrewUCA() local
2689 sizeUTF8[i] = u_parseUTF8(first[i], -1, utf8String[i], 256, &status); in TestHebrewUCA()
2690 u_strFromUTF8(utf16String[i], 256, &sizeUTF16[i], utf8String[i], sizeUTF8[i], &status); in TestHebrewUCA()