Home
last modified time | relevance | path

Searched refs:FromUTF8 (Results 1 – 25 of 31) sorted by relevance

12

/external/icu/icu4c/source/test/perf/utfperf/
Dutfperf.cpp266 class FromUTF8 : public Command { class
268 FromUTF8(const UtfPerformanceTest &testcase) in FromUTF8() function in FromUTF8
276 FromUTF8 * t = new FromUTF8(testcase); in get()
284 ~FromUTF8() { in ~FromUTF8()
335 case 2: name = "FromUTF8"; if (exec) return FromUTF8::get(*this); break; in runIndexedTest()
/external/pdfium/testing/fuzzers/
Dpdf_formcalc_fuzzer.cc10 WideString input = WideString::FromUTF8(ByteStringView(data, size)); in LLVMFuzzerTestOneInput()
Dpdf_fm2js_fuzzer.cc20 WideString::FromUTF8(ByteStringView(data, safe_size.ValueOrDie())); in LLVMFuzzerTestOneInput()
Dpdf_css_fuzzer.cc13 WideString::FromUTF8(ByteStringView(data, static_cast<size_t>(size))); in LLVMFuzzerTestOneInput()
Dpdf_formcalc_context_fuzzer.cc530 WideString::FromUTF8(data_view).AsStringView(), in OnRenderFinished()
/external/libchrome/mojo/public/cpp/bindings/tests/
Dwtf_types_unittest.cc70 strs[3] = WTF::String::FromUTF8(kUTF8HelloWorld); in ConstructStringArray()
80 str_map.insert("2", WTF::String::FromUTF8(kUTF8HelloWorld)); in ConstructStringMap()
138 strs[3] = WTF::String::FromUTF8(kUTF8HelloWorld); in TEST_F()
/external/pdfium/fxjs/xfa/
Dcfxjse_formcalc_context.cpp326 WideString wsPattern = WideString::FromUTF8(bsPattern); in PatternStringType()
420 return pMgr->GetLocaleByName(WideString::FromUTF8(bsLocale)); in LocaleFromString()
428 return WideString::FromUTF8(bsFormat); in FormatFromString()
982 WideString wsURL = WideString::FromUTF8(bsURL.AsStringView()); in EncodeURL()
1074 WideString wsHTML = WideString::FromUTF8(bsHTML.AsStringView()); in EncodeHTML()
1114 WideString wsXML = WideString::FromUTF8(bsXML.AsStringView()); in EncodeXML()
1969 WideString::FromUTF8(bsArg.AsStringView()), pMgr); in IsoTime2Num()
2366 pMgr->GetLocaleByName(WideString::FromUTF8(bsLocale.AsStringView())); in Time2Num()
2373 wsFormat = WideString::FromUTF8(bsFormat.AsStringView()); in Time2Num()
2377 WideString::FromUTF8(bsTime.AsStringView()), in Time2Num()
[all …]
Dcfxjse_engine.cpp192 WideString wsPropName = WideString::FromUTF8(szPropName); in GlobalPropertySetter()
229 WideString wsPropName = WideString::FromUTF8(szPropName); in GlobalPropertyGetter()
305 WideString wsPropName = WideString::FromUTF8(szPropName); in GlobalPropTypeGetter()
321 WideString wsPropName = WideString::FromUTF8(szPropName); in NormalPropertyGetter()
404 WideString wsPropName = WideString::FromUTF8(szPropName); in NormalPropertySetter()
458 WideString wsPropName = WideString::FromUTF8(szPropName); in NormalPropTypeGetter()
Dcfxjse_value.h42 return WideString::FromUTF8(ToString().AsStringView()); in ToWideString()
Dcfxjse_class.cpp112 pClassDescriptor->dynMethodCall(info, WideString::FromUTF8(*szPropName)); in DynPropGetterAdapter_MethodCallback()
/external/pdfium/xfa/fgas/layout/
Dcfx_txtbreak_unittest.cpp41 WideString input = WideString::FromUTF8(ByteStringView("\xa\x0\xa\xa", 4)); in TEST_F()
Dcfx_rtfbreak_unittest.cpp85 WideString input = WideString::FromUTF8(ByteStringView("\xa\x0\xa\xa", 4)); in TEST_F()
/external/libchrome/mojo/public/cpp/bindings/lib/
Dstring_traits_wtf.cc80 WTF::String result = WTF::String::FromUTF8(input.storage(), input.size()); in Read()
/external/pdfium/fxbarcode/
Dcbc_eancode.cpp58 encoded_contents = WideString::FromUTF8(str.AsStringView()); in Preprocess()
/external/pdfium/xfa/fgas/font/
Dcfx_fontsourceenum_file.cpp86 m_wsNext = WideString::FromUTF8(GetNextFile().AsStringView()); in GetNext()
/external/pdfium/testing/
Dxfa_js_embedder_test.cpp96 WideString::FromUTF8(input).AsStringView(), in ExecuteHelper()
/external/pdfium/fpdfsdk/
Dfpdf_structtree.cpp95 WideString::FromUTF8(elem->GetType().AsStringView()), in FPDF_StructElement_GetType()
Dfpdf_editpage.cpp356 WideString::FromUTF8(pMarkItem->GetName().AsStringView()), buffer, in FPDFPageObjMark_GetName()
390 WideString::FromUTF8(it.first.AsStringView()), buffer, buflen); in FPDFPageObjMark_GetParamKey()
447 WideString::FromUTF8(pObj->GetString().AsStringView()), buffer, buflen); in FPDFPageObjMark_GetParamStringValue()
/external/pdfium/fxjs/
Dcjs_global.cpp29 return WideString::FromUTF8(ByteStringView(*utf8_value, utf8_value.length())); in PropFromV8Prop()
349 WideString::FromUTF8(pData->data.sData.AsStringView()) in UpdateGlobalPersistentVariables()
483 WideString::FromUTF8(pObjData->sData.AsStringView()) in PutObjectProperty()
Dcfx_v8.cpp173 return WideString::FromUTF8(ByteStringView(*s, s.length())); in ToWideString()
Dcfxjs_engine.cpp567 return IJS_Runtime::JS_Error(line, column, WideString::FromUTF8(*error)); in Execute()
577 return IJS_Runtime::JS_Error(line, column, WideString::FromUTF8(*error)); in Execute()
/external/flatbuffers/include/flatbuffers/
Dutil.h497 inline int FromUTF8(const char **in) { in FromUTF8() function
589 int ucc = FromUTF8(&utf8); in EscapeString()
/external/pdfium/core/fpdfapi/parser/
Dcpdf_security_handler.cpp415 ByteString latin1_password = WideString::FromUTF8(password_view).ToLatin1(); in CheckPassword()
530 return WideString::FromUTF8(password).ToLatin1(); in GetEncodedPassword()
/external/pdfium/core/fxcrt/
Dwidestring.h66 static WideString FromUTF8(ByteStringView str) WARN_UNUSED_RESULT;
/external/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/
DPythonDataObjects.cpp371 Expected<PythonString> PythonString::FromUTF8(llvm::StringRef string) { in FromUTF8() function in PythonString
467 auto s = FromUTF8(string); in SetString()
1359 PythonString::FromUTF8(llvm::StringRef((const char *)buf, num_bytes)); in Write()

12