Home
last modified time | relevance | path

Searched refs:UTF8Encode (Results 1 – 25 of 35) sorted by relevance

12

/external/pdfium/core/fpdfdoc/
Dcpdf_formfield_unittest.cpp20 EXPECT_STREQ("foo", name.UTF8Encode().c_str()); in TEST()
26 EXPECT_STREQ("bar.foo", name.UTF8Encode().c_str()); in TEST()
30 EXPECT_STREQ("bar.foo", name.UTF8Encode().c_str()); in TEST()
37 EXPECT_STREQ("qux.bar.foo", name.UTF8Encode().c_str()); in TEST()
41 EXPECT_STREQ("qux.bar.foo", name.UTF8Encode().c_str()); in TEST()
43 EXPECT_STREQ("foo.qux.bar", name.UTF8Encode().c_str()); in TEST()
45 EXPECT_STREQ("bar.foo.qux", name.UTF8Encode().c_str()); in TEST()
47 EXPECT_STREQ("bar.foo.qux", name.UTF8Encode().c_str()); in TEST()
Dcpdf_annotlist.cpp49 pAnnotDict->SetNewFor<CPDF_String>("Contents", sContents.UTF8Encode(), false); in CreatePopupAnnot()
Dcpdf_filespec_unittest.cpp208 file_spec.GetFileStream()->GetUnicodeText().UTF8Encode().c_str()); in TEST()
/external/pdfium/fxbarcode/
DBC_UtilCodingConvert.cpp21 dst = unicode.UTF8Encode(); in LocaleToUtf8()
27 ByteString utf8 = unicode.UTF8Encode(); in LocaleToUtf8()
50 dst = src.UTF8Encode(); in UnicodeToUTF8()
Dcbc_ean8.cpp41 ByteString byteString = encodeContents.UTF8Encode(); in Preprocess()
59 ByteString byteString = encodeContents.UTF8Encode(); in Encode()
Dcbc_ean13.cpp42 ByteString byteString = encodeContents.UTF8Encode(); in Preprocess()
61 ByteString byteString = encodeContents.UTF8Encode(); in Encode()
Dcbc_upca.cpp41 ByteString byteString = encodeContents.UTF8Encode(); in Preprocess()
60 ByteString byteString = encodeContents.UTF8Encode(); in Encode()
Dcbc_code128.cpp52 ByteString byteString = encodeContents.UTF8Encode(); in Encode()
Dcbc_code39.cpp45 ByteString byteString = filtercontents.UTF8Encode(); in Encode()
Dcbc_codabar.cpp58 ByteString byteString = filtercontents.UTF8Encode(); in Encode()
/external/pdfium/fxjs/xfa/
Dcjx_field.cpp111 return CJS_Return(runtime->NewString(value->UTF8Encode().AsStringView())); in getSaveItem()
126 return CJS_Return(runtime->NewString(boundValue.UTF8Encode().AsStringView())); in boundItem()
175 return CJS_Return(runtime->NewString(value->UTF8Encode().AsStringView())); in getDisplayItem()
280 pValue->SetString(content.UTF8Encode().AsStringView()); in defaultValue()
293 pValue->SetString(content.UTF8Encode().AsStringView()); in defaultValue()
309 pWidgetAcc->GetValue(XFA_VALUEPICTURE_Edit).UTF8Encode().AsStringView()); in editValue()
330 .UTF8Encode() in formattedValue()
Dcjx_packet.cpp39 runtime->NewString(attributeValue.UTF8Encode().AsStringView())); in getAttribute()
90 pValue->SetString(wsTextData.UTF8Encode().AsStringView()); in content()
Dcjx_object.cpp167 return pdfium::ContainsKey(method_specs_, func.UTF8Encode()); in HasMethod()
173 auto it = method_specs_.find(func.UTF8Encode()); in RunMethod()
211 FXJSE_ThrowMessage(wsMessage.UTF8Encode().AsStringView()); in ThrowException()
1214 pValue->SetString(GetAttribute(eAttribute).UTF8Encode().AsStringView()); in Script_Attribute_String()
1347 WideString::Format(L"%d,%d,%d", r, g, b).UTF8Encode().AsStringView()); in Script_Som_FillColor()
1378 WideString::Format(L"%d,%d,%d", r, g, b).UTF8Encode().AsStringView()); in Script_Som_BorderColor()
1389 pValue->SetString(thickness.ToString().UTF8Encode().AsStringView()); in Script_Som_BorderWidth()
1458 pValue->SetString(wsMessage.UTF8Encode().AsStringView()); in Script_Som_Message()
1557 pValue->SetString(content.UTF8Encode().AsStringView()); in Script_Som_DefaultValue()
1574 pValue->SetString(content.UTF8Encode().AsStringView()); in Script_Som_DefaultValue_Read()
[all …]
Dcjx_hostpseudomodel.cpp130 pNotify->GetAppProvider()->GetLanguage().UTF8Encode().AsStringView()); in language()
160 pNotify->GetAppProvider()->GetPlatform().UTF8Encode().AsStringView()); in platform()
181 pValue->SetString(wsTitle.UTF8Encode().AsStringView()); in title()
245 pNotify->GetAppProvider()->GetAppName().UTF8Encode().AsStringView()); in name()
346 return CJS_Return(runtime->NewString(answer.UTF8Encode().AsStringView())); in response()
Dcjx_tree.cpp145 FXJSE_ThrowMessage(wsMessage.UTF8Encode().AsStringView()); in nodes()
200 pValue->SetString(wsSOMExpression.UTF8Encode().AsStringView()); in somExpression()
Dcjx_node.cpp154 GetAttribute(expression.AsStringView()).UTF8Encode().AsStringView())); in getAttribute()
349 runtime->NewString(bsXMLHeader.UTF8Encode().AsStringView())); in saveXML()
406 TryNamespace().value_or(WideString()).UTF8Encode().AsStringView()); in ns()
Dcjx_draw.cpp115 pValue->SetString(content.UTF8Encode().AsStringView()); in defaultValue()
Dcjx_subform.cpp90 pValue->SetString(wsLocaleName.UTF8Encode().AsStringView()); in locale()
Dcjx_eventpseudomodel.cpp25 pValue->SetString(wsValue.UTF8Encode().AsStringView()); in StringProperty()
Dcjx_exclgroup.cpp129 pValue->SetString(wsValue.UTF8Encode().AsStringView()); in defaultValue()
/external/pdfium/core/fxcrt/xml/
Dcxml_element.cpp68 return pwsSpace->UTF8Encode(); in GetNamespaceURI()
/external/pdfium/testing/
Dtest_support.cpp110 return std::string(wide_string.UTF8Encode().c_str()); in GetPlatformString()
/external/pdfium/fxbarcode/oned/
DBC_OnedCode39Writer.cpp239 ByteString str = checksumContent.UTF8Encode(); in encodedContents()
/external/pdfium/core/fxcrt/
Dwidestring.h186 ByteString UTF8Encode() const;
/external/pdfium/fxbarcode/pdf417/
DBC_PDF417HighLevelEncoder.cpp305 ((wchar_t)'1' + msg.Mid(startpos + idx, len)).UTF8Encode(); in encodeNumeric()

12