/external/pdfium/core/fxcrt/ |
D | widetext_buffer_unittest.cpp | 16 EXPECT_TRUE(wtb.AsStringView().IsEmpty()); in TEST() 29 EXPECT_TRUE(wtb.AsStringView().EqualsASCII("ABCDEFG")); in TEST() 32 EXPECT_TRUE(wtb.AsStringView().EqualsASCII("AEFG")); in TEST() 35 EXPECT_TRUE(wtb.AsStringView().EqualsASCII("AEFG")); in TEST() 38 EXPECT_TRUE(wtb.AsStringView().EqualsASCII("FG")); in TEST() 41 EXPECT_TRUE(wtb.AsStringView().EqualsASCII("")); in TEST() 44 EXPECT_TRUE(wtb.AsStringView().EqualsASCII("")); in TEST()
|
D | widestring.h | 86 WideStringView AsStringView() const { in AsStringView() function 210 bool IsASCII() const { return AsStringView().IsASCII(); } in IsASCII() 212 return AsStringView().EqualsASCII(that); in EqualsASCII() 215 return AsStringView().EqualsASCIINoCase(that); in EqualsASCIINoCase() 265 return WideString(str1.AsStringView(), str2.AsStringView()); 268 return WideString(str1.AsStringView(), WideStringView(ch)); 271 return WideString(WideStringView(ch), str2.AsStringView()); 274 return WideString(str1.AsStringView(), str2); 277 return WideString(str1, str2.AsStringView()); 280 return WideString(str1.AsStringView(), str2); [all …]
|
D | bytestring.h | 87 ByteStringView AsStringView() const { in AsStringView() function 207 uint32_t GetID() const { return AsStringView().GetID(); } in GetID() 265 return ByteString(str1.AsStringView(), str2.AsStringView()); 268 return ByteString(str1.AsStringView(), ByteStringView(ch)); 271 return ByteString(ByteStringView(ch), str2.AsStringView()); 274 return ByteString(str1.AsStringView(), str2); 277 return ByteString(str1, str2.AsStringView()); 280 return ByteString(str1.AsStringView(), str2); 283 return ByteString(str1, str2.AsStringView()); 303 return FX_HashCode_GetA(str.AsStringView());
|
D | widetext_buffer.cpp | 28 WideStringView WideTextBuffer::AsStringView() const { in AsStringView() function in fxcrt::WideTextBuffer 33 return WideString(AsStringView()); in MakeString() 62 AppendWideString(str.AsStringView()); in operator <<() 72 AppendWideString(buf.AsStringView()); in operator <<()
|
/external/cronet/net/third_party/quiche/src/quiche/common/ |
D | quiche_buffer_allocator_test.cc | 26 EXPECT_EQ("foobar", buffer.AsStringView()); in TEST() 61 EXPECT_EQ("foobar", buffer.AsStringView()); in TEST() 67 EXPECT_EQ("foo", buffer.AsStringView()); in TEST() 73 EXPECT_EQ("bar", buffer.AsStringView()); in TEST() 79 EXPECT_EQ("ooba", buffer.AsStringView()); in TEST() 92 EXPECT_EQ("foobar", buffer.AsStringView()); in TEST() 98 EXPECT_EQ("foo", buffer.AsStringView()); in TEST() 104 EXPECT_EQ("bar", buffer.AsStringView()); in TEST() 110 EXPECT_EQ("ooba", buffer.AsStringView()); in TEST()
|
D | quiche_mem_slice_storage_test.cc | 30 EXPECT_EQ("ccc", span[0].AsStringView()); in TEST_F() 43 EXPECT_EQ("aaabbbb", span[0].AsStringView()); in TEST_F() 55 EXPECT_EQ("aaaa", span[0].AsStringView()); in TEST_F() 56 EXPECT_EQ("bbbb", span[1].AsStringView()); in TEST_F()
|
/external/pdfium/fxjs/xfa/ |
D | cfxjse_formcalc_context.cpp | 843 temp.AsStringView(), cmpFunc); in HTMLSTR2Code() 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() 1363 bsName.AsStringView()); in GetExtractedValue() 1462 pIsolate, jsValue.As<v8::Object>(), bsName.AsStringView())); in ExtractDouble() 1530 pIsolate, jsValue.As<v8::Object>(), bsName.AsStringView())); in UnfoldArgs() 1553 WideString::FromUTF8(bsAccessorName).AsStringView(), in GetObjectForName() 1615 return pScriptContext->ResolveObjects(pNode, wsSomExpression.AsStringView(), in ResolveObjects() 1932 .AsStringView())); in Date() [all …]
|
D | cjx_field.cpp | 65 execSingleEventByName(eventString.AsStringView(), XFA_Element::Field); in execEvent() 120 runtime->NewString(value->ToUTF8().AsStringView())); in getSaveItem() 134 WideString boundValue = node->GetItemValue(value.AsStringView()); in boundItem() 136 runtime->NewString(boundValue.ToUTF8().AsStringView())); in boundItem() 186 runtime->NewString(value->ToUTF8().AsStringView())); in getDisplayItem() 289 fxv8::NewStringHelper(pIsolate, content.ToUTF8().AsStringView()); in defaultValue() 291 CFGAS_Decimal decimal(content.AsStringView()); in defaultValue() 300 CFGAS_Decimal decimal(content.AsStringView()); in defaultValue() 303 *pValue = fxv8::NewStringHelper(pIsolate, content.ToUTF8().AsStringView()); in defaultValue() 322 node->GetValue(XFA_ValuePicture::kEdit).ToUTF8().AsStringView()); in editValue() [all …]
|
D | cjx_exclgroup.cpp | 45 execSingleEventByName(runtime->ToWideString(params[0]).AsStringView(), in execEvent() 107 runtime->ToWideString(params[0]).AsStringView()); in selectedMember() 127 fxv8::ReentrantToWideStringHelper(pIsolate, *pValue).AsStringView(), in defaultValue() 138 *pValue = fxv8::NewStringHelper(pIsolate, wsValue.ToUTF8().AsStringView()); in defaultValue()
|
D | cjx_node.cpp | 153 GetAttributeByString(expression.AsStringView()).ToUTF8().AsStringView())); in getAttribute() 164 XFA_Element eElement = XFA_GetElementByName(expression.AsStringView()); in getElement() 184 XFA_GetAttributeByName(expression.AsStringView()); in isPropertySpecified() 188 XFA_Element eType = XFA_GetElementByName(expression.AsStringView()); in isPropertySpecified() 358 runtime->NewString(bsXMLHeader.AsStringView())); in saveXML() 365 pMemoryStream->WriteString(bsXMLHeader.AsStringView()); in saveXML() 389 SetAttributeByString(attribute.AsStringView(), attributeValue); in setAttribute() 412 pIsolate, TryNamespace().value_or(WideString()).ToUTF8().AsStringView()); in ns()
|
/external/pdfium/xfa/fxfa/formcalc/ |
D | cxfa_fmexpression_unittest.cpp | 53 EXPECT_EQ(result.AsStringView(), js.AsStringView()); in TEST_F() 63 EXPECT_EQ(L"", accumulator.AsStringView()); in TEST_F() 73 EXPECT_EQ(L"a", accumulator.AsStringView()); in TEST_F() 83 EXPECT_EQ(L"\"abcd\"", accumulator.AsStringView()); in TEST_F() 104 EXPECT_EQ(L"\"Simon says \\\"run\\\"\"", accumulator.AsStringView()); in TEST_F()
|
/external/cronet/net/cert/ |
D | asn1_util.cc | 193 *subject_out = subject.AsStringView(); in ExtractSubjectFromDERCert() 205 *spki_out = spki.AsStringView(); in ExtractSPKIFromDERCert() 234 *spk_out = spk.AsStringView(); in ExtractSubjectPublicKeyFromSPKI() 305 *cert_signature_algorithm_sequence = cert_algorithm.AsStringView(); in ExtractSignatureAlgorithmsFromDERCert() 306 *tbs_signature_algorithm_sequence = tbs_algorithm.AsStringView(); in ExtractSignatureAlgorithmsFromDERCert() 327 *out_contents = extension.value.AsStringView(); in ExtractExtensionFromDERCert()
|
/external/pdfium/xfa/fxfa/parser/ |
D | xfa_utils.cpp | 148 return WideString{L" ", wsName, L"=\"", wsEncoded.AsStringView(), L"\""}; in SaveAttribute() 165 wsAttrs += SaveAttribute(pNode, attr, wsAttr.AsStringView(), bSaveXML); in RegenerateFormFile_Changed() 224 wsChildren += buf.AsStringView(); in RegenerateFormFile_Changed() 253 wsChildren += newBuf.AsStringView(); in RegenerateFormFile_Changed() 264 wsChildren += newBuf.AsStringView(); in RegenerateFormFile_Changed() 297 pStream->WriteString(buf.MakeString().ToUTF8().AsStringView()); in RegenerateFormFile_Container() 303 pStream->WriteString(wsElement.ToUTF8().AsStringView()); in RegenerateFormFile_Container() 315 wsOutput += SaveAttribute(pNode, attr, wsAttr.AsStringView(), false); in RegenerateFormFile_Container() 319 pStream->WriteString(wsOutput.ToUTF8().AsStringView()); in RegenerateFormFile_Container() 333 pStream->WriteString(wsElement.ToUTF8().AsStringView()); in RegenerateFormFile_Container() [all …]
|
/external/pdfium/fxjs/ |
D | cjs_global.cpp | 198 pRuntime->NewString(pData->sData.AsStringView())); in GetProperty() 251 v8::Local<v8::Name> name = pRuntime->NewString(it.first.AsStringView()); in EnumProperties() 285 pData->data.sKey.AsStringView(), in UpdateGlobalPersistentVariables() 293 ToV8Object(), pData->data.sKey.AsStringView(), in UpdateGlobalPersistentVariables() 301 ToV8Object(), pData->data.sKey.AsStringView(), in UpdateGlobalPersistentVariables() 302 pRuntime->NewString(pData->data.sData.AsStringView())); in UpdateGlobalPersistentVariables() 311 pData->data.sKey.AsStringView(), pObj); in UpdateGlobalPersistentVariables() 319 ToV8Object(), pData->data.sKey.AsStringView(), pRuntime->NewNull()); in UpdateGlobalPersistentVariables() 373 pRuntime->GetObjectProperty(pObj, sKey.AsStringView()); in ObjectToArray() 427 pRuntime->PutObjectProperty(pObj, pObjData->sKey.AsStringView(), in PutObjectProperty() [all …]
|
D | cjs_document.cpp | 291 pRuntime->NewString(pField->GetFullName().AsStringView())); in getNthFieldName() 680 pRuntime->NewString(cwAuthor.AsStringView())); in get_info() 682 pRuntime->NewString(cwTitle.AsStringView())); in get_info() 684 pRuntime->NewString(cwSubject.AsStringView())); in get_info() 686 pRuntime->NewString(cwKeywords.AsStringView())); in get_info() 688 pRuntime->NewString(cwCreator.AsStringView())); in get_info() 690 pRuntime->NewString(cwProducer.AsStringView())); in get_info() 692 pObj, "CreationDate", pRuntime->NewString(cwCreationDate.AsStringView())); in get_info() 694 pRuntime->NewString(cwModDate.AsStringView())); in get_info() 696 pRuntime->NewString(cwTrapped.AsStringView())); in get_info() [all …]
|
/external/pdfium/fxbarcode/ |
D | cbc_codabar.cpp | 41 return pWriter->RenderResult(m_renderContents.AsStringView(), in Encode() 49 pWriter->encodedContents(m_renderContents.AsStringView()); in RenderDevice() 50 return pWriter->RenderDeviceResult(device, matrix, renderCon.AsStringView()); in RenderDevice()
|
D | cbc_code128.cpp | 43 m_renderContents = pWriter->FilterContents(content.AsStringView()); in Encode() 45 return pWriter->RenderResult(m_renderContents.AsStringView(), in Encode() 52 device, matrix, m_renderContents.AsStringView()); in RenderDevice()
|
D | cbc_code39.cpp | 42 return pWriter->RenderResult(m_renderContents.AsStringView(), in Encode() 50 if (!pWriter->encodedContents(m_renderContents.AsStringView(), &renderCon)) in RenderDevice() 52 return pWriter->RenderDeviceResult(device, matrix, renderCon.AsStringView()); in RenderDevice()
|
D | cbc_eancode.cpp | 31 return pWriter->RenderResult(m_renderContents.AsStringView(), in Encode() 38 device, matrix, m_renderContents.AsStringView()); in RenderDevice() 53 encoded_contents = WideString::FromUTF8(str.AsStringView()); in Preprocess()
|
/external/pdfium/core/fpdfapi/parser/ |
D | cpdf_string.cpp | 74 return archive->WriteString(content.AsStringView()); in WriteTo() 78 return m_bHex ? PDF_HexEncodeString(m_String.AsStringView()) in EncodeString() 79 : PDF_EncodeString(m_String.AsStringView()); in EncodeString()
|
/external/cronet/net/third_party/quiche/src/quiche/quic/core/http/ |
D | quic_spdy_client_stream_test.cc | 156 ? absl::StrCat(header.AsStringView(), body_) in TEST_P() 183 ? absl::StrCat(header.AsStringView(), body_) in TEST_P() 212 ? absl::StrCat(header.AsStringView(), body_) in TEST_P() 243 ? absl::StrCat(header.AsStringView(), body_) in TEST_P() 266 ? absl::StrCat(header.AsStringView(), large_body) in TEST_P() 307 ? absl::StrCat(header.AsStringView(), body_) in TEST_P()
|
/external/pdfium/core/fpdfdoc/ |
D | cpdf_nametree.cpp | 34 pLimits->SetNewAt<CPDF_String>(0, csRight.AsStringView()); in GetNodeLimitsAndSanitize() 35 pLimits->SetNewAt<CPDF_String>(1, csLeft.AsStringView()); in GetNodeLimitsAndSanitize() 122 pLimits->SetNewAt<CPDF_String>(0, csNewLeft.AsStringView()); in UpdateNodesAndLimitsUponDeletion() 123 pLimits->SetNewAt<CPDF_String>(1, csNewRight.AsStringView()); in UpdateNodesAndLimitsUponDeletion() 163 pLimits->SetNewAt<CPDF_String>(0, csNewLeft.AsStringView()); in UpdateNodesAndLimitsUponDeletion() 164 pLimits->SetNewAt<CPDF_String>(1, csNewRight.AsStringView()); in UpdateNodesAndLimitsUponDeletion() 523 pFind->InsertNewAt<CPDF_String>(nNameIndex, name.AsStringView()); in AddValueAndName() 535 pLimits->SetNewAt<CPDF_String>(0, name.AsStringView()); in AddValueAndName() 538 pLimits->SetNewAt<CPDF_String>(1, name.AsStringView()); in AddValueAndName()
|
/external/cronet/net/cert/pki/ |
D | trust_store_in_memory.cc | 50 auto range = entries_.equal_range(cert->normalized_issuer().AsStringView()); in SyncGetIssuersOf() 79 std::make_pair(entry.cert->normalized_subject().AsStringView(), entry)); in AddCertificate() 84 auto range = entries_.equal_range(cert->normalized_subject().AsStringView()); in GetEntry()
|
D | cert_issuer_source_static.cc | 15 cert->normalized_subject().AsStringView(), std::move(cert))); in AddCert() 25 intermediates_.equal_range(cert->normalized_issuer().AsStringView()); in SyncGetIssuersOf()
|
/external/pdfium/core/fxcrt/xml/ |
D | cfx_xmlinstruction.cpp | 48 pXMLStream->WriteString(name_.ToUTF8().AsStringView()); in Save() 52 pXMLStream->WriteString(target.ToUTF8().AsStringView()); in Save()
|