Home
last modified time | relevance | path

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

/third_party/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()
/third_party/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()
/third_party/node/test/parallel/
Dtest-buffer-alloc.js181 const utf8String = '¡hέlló wôrld!'; constant
184 b.write(utf8String, 0, Buffer.byteLength(utf8String), 'utf8');
185 let utf8Slice = b.toString('utf8', 0, Buffer.byteLength(utf8String));
186 assert.strictEqual(utf8String, utf8Slice);
188 assert.strictEqual(Buffer.byteLength(utf8String),
189 b.write(utf8String, offset, 'utf8'));
191 offset + Buffer.byteLength(utf8String));
192 assert.strictEqual(utf8String, utf8Slice);
194 const sliceA = b.slice(offset, offset + Buffer.byteLength(utf8String));
195 const sliceB = b.slice(offset, offset + Buffer.byteLength(utf8String));
[all …]
/third_party/skia/modules/skparagraph/tests/
DSkShaperJSONWriter.cpp235 std::string utf8String{utf8.data(), utf8.size()}; in displayMToN() local
236 fJSONWriter->appendString("UTF", utf8String); in displayMToN()
/third_party/skia/src/utils/
DSkShaperJSONWriter.cpp228 std::string utf8String{utf8.data(), utf8.size()}; in displayMToN() local
229 fJSONWriter->appendString("UTF", utf8String.c_str()); in displayMToN()
/third_party/icu/docs/userguide/strings/
Dutext.md106 int countWords(const char *utf8String) {
112 ut = utext_openUTF8(ut, utf8String, -1, &status);
/third_party/icu/icu4c/source/test/intltest/
Drbbitst.cpp405 CharString utf8String; // UTF-8 form of text to break. member
477 utf8String.clear(); in setUTF8()
478 CharStringAppend(utf8String, dataToBreak, status); in setUTF8()
479 textToBreak = utext_openUTF8(textToBreak, utf8String.data(), utf8String.length(), &status); in setUTF8()
/third_party/icu/icu4c/source/test/cintltst/
Dcmsccoll.c2675 char utf8String[3][256]; in TestHebrewUCA() local
2690 sizeUTF8[i] = u_parseUTF8(first[i], -1, utf8String[i], 256, &status); in TestHebrewUCA()
2691 u_strFromUTF8(utf16String[i], 256, &sizeUTF16[i], utf8String[i], sizeUTF8[i], &status); in TestHebrewUCA()