Home
last modified time | relevance | path

Searched refs:ToUTF8 (Results 1 – 25 of 61) sorted by relevance

123

/external/pdfium/core/fpdfdoc/
Dcpdf_formfield_unittest.cpp21 EXPECT_STREQ("foo", name.ToUTF8().c_str()); in TEST()
27 EXPECT_STREQ("bar.foo", name.ToUTF8().c_str()); in TEST()
31 EXPECT_STREQ("bar.foo", name.ToUTF8().c_str()); in TEST()
38 EXPECT_STREQ("qux.bar.foo", name.ToUTF8().c_str()); in TEST()
42 EXPECT_STREQ("qux.bar.foo", name.ToUTF8().c_str()); in TEST()
44 EXPECT_STREQ("foo.qux.bar", name.ToUTF8().c_str()); in TEST()
46 EXPECT_STREQ("bar.foo.qux", name.ToUTF8().c_str()); in TEST()
48 EXPECT_STREQ("bar.foo.qux", name.ToUTF8().c_str()); in TEST()
/external/pdfium/fxjs/xfa/
Dcjx_field.cpp118 runtime->NewString(value->ToUTF8().AsStringView())); in getSaveItem()
134 runtime->NewString(boundValue.ToUTF8().AsStringView())); in boundItem()
184 runtime->NewString(value->ToUTF8().AsStringView())); in getDisplayItem()
285 pValue->SetString(content.ToUTF8().AsStringView()); in defaultValue()
298 pValue->SetString(content.ToUTF8().AsStringView()); in defaultValue()
314 node->GetValue(XFA_VALUEPICTURE_Edit).ToUTF8().AsStringView()); in editValue()
335 node->GetValue(XFA_VALUEPICTURE_Display).ToUTF8().AsStringView()); in formattedValue()
Dcjx_packet.cpp48 runtime->NewString(attributeValue.ToUTF8().AsStringView())); in getAttribute()
101 pValue->SetString(wsTextData.ToUTF8().AsStringView()); in content()
Dcjx_hostpseudomodel.cpp136 pNotify->GetAppProvider()->GetLanguage().ToUTF8().AsStringView()); in language()
166 pNotify->GetAppProvider()->GetPlatform().ToUTF8().AsStringView()); in platform()
187 pValue->SetString(wsTitle.ToUTF8().AsStringView()); in title()
242 pNotify->GetAppProvider()->GetAppName().ToUTF8().AsStringView()); in name()
334 runtime->NewString(answer.ToUTF8().AsStringView())); in response()
Dcjx_draw.cpp34 pValue->SetString(content.ToUTF8().AsStringView()); in defaultValue()
Dcjx_object.cpp167 return pdfium::ContainsKey(method_specs_, func.ToUTF8()); in HasMethod()
173 auto it = method_specs_.find(func.ToUTF8()); in RunMethod()
209 FXJSE_ThrowMessage(str.ToUTF8().AsStringView()); in ThrowException()
1080 pValue->SetString(GetAttribute(eAttribute).ToUTF8().AsStringView()); in ScriptAttributeString()
1213 WideString::Format(L"%d,%d,%d", r, g, b).ToUTF8().AsStringView()); in ScriptSomFillColor()
1244 WideString::Format(L"%d,%d,%d", r, g, b).ToUTF8().AsStringView()); in ScriptSomBorderColor()
1255 pValue->SetString(thickness.ToString().ToUTF8().AsStringView()); in ScriptSomBorderWidth()
1327 pValue->SetString(wsMessage.ToUTF8().AsStringView()); in ScriptSomMessage()
1413 pValue->SetString(content.ToUTF8().AsStringView()); in ScriptSomDefaultValue()
1430 pValue->SetString(content.ToUTF8().AsStringView()); in ScriptSomDefaultValue_Read()
Dcjx_tree.cpp133 FXJSE_ThrowMessage(wsMessage.ToUTF8().AsStringView()); in nodes()
196 pValue->SetString(wsSOMExpression.ToUTF8().AsStringView()); in somExpression()
Dcjx_eventpseudomodel.cpp26 pReturn->SetString(wsValue->ToUTF8().AsStringView()); in StringProperty()
115 pValue->SetString(pEventParam->GetNewText().ToUTF8().AsStringView()); in newText()
Dcjx_subform.cpp99 pValue->SetString(wsLocaleName.ToUTF8().AsStringView()); in locale()
/external/pdfium/core/fxcrt/xml/
Dcfx_xmlinstruction.cpp50 pXMLStream->WriteString(name_.ToUTF8().AsStringView()); in Save()
54 pXMLStream->WriteString(target.ToUTF8().AsStringView()); in Save()
Dcfx_xmlelement.cpp84 ByteString bsNameEncoded = name_.ToUTF8(); in Save()
93 AttributeToString(it.first, it.second).ToUTF8().AsStringView()); in Save()
Dcfx_xmltext.cpp24 pXMLStream->WriteString(EncodeEntities(GetText()).ToUTF8().AsStringView()); in Save()
Dcfx_xmlchardata.cpp27 pXMLStream->WriteString(GetText().ToUTF8().AsStringView()); in Save()
/external/pdfium/fxbarcode/
Dcbc_eancode.cpp31 ByteString str = m_renderContents.ToUTF8(); in Encode()
55 ByteString str = encoded_contents.ToUTF8(); in Preprocess()
Dcbc_codabar.cpp43 ByteString byteString = m_renderContents.ToUTF8(); in Encode()
Dcbc_code128.cpp48 ByteString byteString = m_renderContents.ToUTF8(); in Encode()
Dcbc_code39.cpp45 ByteString byteString = filtercontents.ToUTF8(); in Encode()
/external/skia/src/core/
DSkStringUtils.cpp66 size_t s = SkUTF::ToUTF8(u); in SkStringFromUTF16()
76 out += SkUTF::ToUTF8(SkUTF::NextUTF16(&ptr, stop), out); in SkStringFromUTF16()
/external/skqp/src/core/
DSkStringUtils.cpp66 size_t s = SkUTF::ToUTF8(u); in SkStringFromUTF16()
76 out += SkUTF::ToUTF8(SkUTF::NextUTF16(&ptr, stop), out); in SkStringFromUTF16()
/external/pdfium/xfa/fxfa/parser/
Dxfa_utils.cpp316 pStream->WriteString(buf.MakeString().ToUTF8().AsStringView()); in RegenerateFormFile_Container()
322 pStream->WriteString(wsElement.ToUTF8().AsStringView()); in RegenerateFormFile_Container()
342 pStream->WriteString(wsOutput.ToUTF8().AsStringView()); in RegenerateFormFile_Container()
356 pStream->WriteString(wsElement.ToUTF8().AsStringView()); in RegenerateFormFile_Container()
486 pStream->WriteString(wsVersionNumber.ToUTF8().AsStringView()); in XFA_DataExporter_RegenerateFormFile()
/external/skqp/src/utils/
DSkUTF.h57 size_t ToUTF8(SkUnichar uni, char utf8[kMaxBytesInUTF8Sequence] = nullptr);
/external/skia/src/utils/
DSkUTF.h59 SK_SPI size_t ToUTF8(SkUnichar uni, char utf8[kMaxBytesInUTF8Sequence] = nullptr);
DSkUTF.cpp210 size_t SkUTF::ToUTF8(SkUnichar uni, char utf8[SkUTF::kMaxBytesInUTF8Sequence]) { in ToUTF8() function in SkUTF
302 size_t count = ToUTF8(uni, utf8); in UTF16ToUTF8()
/external/pdfium/fxbarcode/datamatrix/
DBC_EncoderContext.cpp32 ByteString dststr = msg.ToUTF8(); in CBC_EncoderContext()
/external/pdfium/testing/
Dfx_string_testhelpers.cpp40 return std::string(wide_string.ToUTF8().c_str()); in GetPlatformString()

123