Home
last modified time | relevance | path

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

12

/external/cronet/third_party/icu/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/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/cronet/components/nacl/renderer/
Dprogress_event.cc56 WebString::FromUTF8(EventTypeToName(event.event_type)), in DispatchProgressEventOnMainThread()
58 WebString::FromUTF8(event.resource_url)); in DispatchProgressEventOnMainThread()
/external/pdfium/fxjs/
Djs_resources.cpp105 WideString result = WideString::FromUTF8(class_name); in JSFormatErrorString()
108 result += WideString::FromUTF8(property_name); in JSFormatErrorString()
Dcfxjs_engine.cpp590 return IJS_Runtime::JS_Error(line, column, WideString::FromUTF8(*error)); in Execute()
600 return IJS_Runtime::JS_Error(line, column, WideString::FromUTF8(*error)); in Execute()
/external/pdfium/testing/fuzzers/
Dpdf_formcalc_translate_fuzzer.cc16 WideString input = WideString::FromUTF8(ByteStringView(data, size)); in LLVMFuzzerTestOneInput()
Dpdf_formcalc_fuzzer.cc12 WideString input = WideString::FromUTF8(ByteStringView(data, size)); in LLVMFuzzerTestOneInput()
Dpdf_css_fuzzer.cc11 WideString::FromUTF8(ByteStringView(data, static_cast<size_t>(size))); in LLVMFuzzerTestOneInput()
Dpdf_formcalc_context_fuzzer.cc532 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/xfa/fgas/layout/
Dcfgas_txtbreak_unittest.cpp40 WideString input = WideString::FromUTF8(ByteStringView("\xa\x0\xa\xa", 4)); in TEST_F()
Dcfgas_rtfbreak_unittest.cpp83 WideString input = WideString::FromUTF8(ByteStringView("\xa\x0\xa\xa", 4)); in TEST_F()
/external/pdfium/fxjs/xfa/
Dcfxjse_formcalc_context.cpp347 WideString wsPattern = WideString::FromUTF8(bsPattern); in PatternStringType()
433 return pMgr->GetLocaleByName(WideString::FromUTF8(bsLocale)); in LocaleFromString()
441 return WideString::FromUTF8(bsFormat); in FormatFromString()
976 WideString wsURL = WideString::FromUTF8(bsURL.AsStringView()); in EncodeURL()
1067 WideString wsHTML = WideString::FromUTF8(bsHTML.AsStringView()); in EncodeHTML()
1106 WideString wsXML = WideString::FromUTF8(bsXML.AsStringView()); in EncodeXML()
1553 WideString::FromUTF8(bsAccessorName).AsStringView(), in GetObjectForName()
1577 WideString wsSomExpression = WideString::FromUTF8(bsSomExp); in ResolveObjects()
2061 WideString::FromUTF8(bsArg.AsStringView()), pMgr); in IsoTime2Num()
2461 pMgr->GetLocaleByName(WideString::FromUTF8(bsLocale.AsStringView())); in Time2Num()
[all …]
Dcfxjse_engine.cpp265 WideString wsPropName = WideString::FromUTF8(szPropName); in GlobalPropertySetter()
300 WideString wsPropName = WideString::FromUTF8(szPropName); in GlobalPropertyGetter()
373 WideString wsPropName = WideString::FromUTF8(szPropName); in GlobalPropTypeGetter()
392 WideString wsPropName = WideString::FromUTF8(szPropName); in NormalPropertyGetter()
467 WideString wsPropName = WideString::FromUTF8(szPropName); in NormalPropertySetter()
523 WideString wsPropName = WideString::FromUTF8(szPropName); in NormalPropTypeGetter()
Dcfxjse_value.h46 return WideString::FromUTF8(ToString(pIsolate).AsStringView()); in ToWideString()
/external/pdfium/fpdfsdk/
Dfpdf_structtree.cpp217 WideString::FromUTF8(elem->GetType().AsStringView()), in FPDF_StructElement_GetType()
229 WideString::FromUTF8(elem->GetObjType().AsStringView()), in FPDF_StructElement_GetObjType()
382 WideString::FromUTF8(obj->GetString().AsStringView()), buffer, buflen); in FPDF_StructElement_Attr_GetStringValue()
Dfpdf_editpage.cpp354 WideString::FromUTF8(pMarkItem->GetName().AsStringView()), buffer, in FPDFPageObjMark_GetName()
387 WideString::FromUTF8(it.first.AsStringView()), buffer, buflen); in FPDFPageObjMark_GetParamKey()
444 WideString::FromUTF8(pObj->GetString().AsStringView()), buffer, buflen); in FPDFPageObjMark_GetParamStringValue()
/external/cronet/net/proxy_resolution/
Dpac_file_data.h32 static scoped_refptr<PacFileData> FromUTF8(const std::string& utf8);
Dmulti_threaded_proxy_resolver_unittest.cc245 PacFileData::FromUTF8("pac script bytes"), &resolver_, in Init()
785 PacFileData::FromUTF8("pac script bytes"), &resolver, in TEST_F()
805 PacFileData::FromUTF8("pac script bytes"), in TEST_F()
833 PacFileData::FromUTF8("pac script bytes"), &resolver, in TEST_F()
850 PacFileData::FromUTF8("pac script bytes"), in TEST_F()
Dpac_file_data.cc13 scoped_refptr<PacFileData> PacFileData::FromUTF8(const std::string& utf8) { in FromUTF8() function in net::PacFileData
/external/pdfium/fxbarcode/
Dcbc_eancode.cpp53 encoded_contents = WideString::FromUTF8(str.AsStringView()); in Preprocess()
/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/testing/
Dxfa_js_embedder_test.cpp109 CXFA_Script::Type::Formcalc, WideString::FromUTF8(input).AsStringView(), in ExecuteHelper()
/external/flatbuffers/include/flatbuffers/
Dutil.h507 inline int FromUTF8(const char **in) { in FromUTF8() function
599 int ucc = FromUTF8(&utf8); in EscapeString()
/external/pdfium/core/fpdfapi/parser/
Dcpdf_security_handler.cpp419 ByteString latin1_password = WideString::FromUTF8(password_view).ToLatin1(); in CheckPassword()
534 return WideString::FromUTF8(password).ToLatin1(); in GetEncodedPassword()

12