Home
last modified time | relevance | path

Searched refs:ToByteString (Results 1 – 16 of 16) sorted by relevance

/external/pdfium/fxjs/
Dcfx_v8_unittest.cpp45 EXPECT_EQ("", cfx_v8()->ToByteString(empty)); in TEST_F()
73 EXPECT_EQ("null", cfx_v8()->ToByteString(nullz)); in TEST_F()
88 EXPECT_EQ("undefined", cfx_v8()->ToByteString(undef)); in TEST_F()
103 EXPECT_EQ("true", cfx_v8()->ToByteString(boolz)); in TEST_F()
112 EXPECT_EQ("false", cfx_v8()->ToByteString(boolz)); in TEST_F()
127 EXPECT_EQ("42.1", cfx_v8()->ToByteString(num)); in TEST_F()
142 EXPECT_EQ("123", cfx_v8()->ToByteString(str)); in TEST_F()
151 EXPECT_EQ("123", cfx_v8()->ToByteString(str2)); in TEST_F()
166 EXPECT_NE("", cfx_v8()->ToByteString(date)); // exact format varies. in TEST_F()
Dcfx_v8.h39 ByteString ToByteString(v8::Local<v8::Value> pValue);
Dcfx_v8.cpp176 ByteString CFX_V8::ToByteString(v8::Local<v8::Value> pValue) { in ToByteString() function in CFX_V8
/external/protobuf/csharp/src/Google.Protobuf/Reflection/
DCustomOptions.cs220 ByteString bytes = single.GetValue().ToByteString();
229 .Select(v => v.ToByteString())
/external/protobuf/csharp/src/Google.Protobuf.Test/
DFieldMaskTreeTest.cs167 newSource.MergeFrom(source.ToByteString()); in Merge()
170 newDestination.MergeFrom(destination.ToByteString()); in Merge()
179 destination.MergeFrom(newDestination.ToByteString()); in Merge()
DCodedInputStreamTest.cs263 TestAllTypes message2 = TestAllTypes.Parser.ParseFrom(message.ToByteString()); in ReadHugeBlob()
330 …ing atRecursiveLimit = MakeRecursiveMessage(CodedInputStream.DefaultRecursionLimit).ToByteString(); in MaliciousRecursion()
331 …ndRecursiveLimit = MakeRecursiveMessage(CodedInputStream.DefaultRecursionLimit + 1).ToByteString(); in MaliciousRecursion()
/external/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/
DAnyPartial.cs143 Value = message.ToByteString() in Pack()
/external/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/WellKnownTypes/
DAnyTest.cs99 … Assert.That(text, Does.Contain("\"@value\": \"" + message.ToByteString().ToBase64() + "\"")); in ToString_WithValues()
/external/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/
DCodedInputStreamTest.cs263 TestAllTypes message2 = TestAllTypes.Parser.ParseFrom(message.ToByteString()); in ReadHugeBlob()
316 …ing atRecursiveLimit = MakeRecursiveMessage(CodedInputStream.DefaultRecursionLimit).ToByteString(); in MaliciousRecursion()
317 …ndRecursiveLimit = MakeRecursiveMessage(CodedInputStream.DefaultRecursionLimit + 1).ToByteString(); in MaliciousRecursion()
/external/protobuf/csharp/src/Google.Protobuf.Conformance/
DProgram.cs136 return new ConformanceResponse { ProtobufPayload = message.ToByteString() }; in PerformRequest()
/external/protobuf/csharp/src/Google.Protobuf.Test/WellKnownTypes/
DAnyTest.cs117 … Assert.That(text, Does.Contain("\"@value\": \"" + message.ToByteString().ToBase64() + "\"")); in ToString_WithValues()
/external/protobuf/csharp/src/Google.Protobuf.Test/Reflection/
DDescriptorDeclarationTest.cs170 var byteStrings = descriptorSet.File.Select(f => f.ToByteString()).ToList(); in LoadProtos()
/external/protobuf/csharp/src/Google.Protobuf/
DFieldMaskTree.cs336 var sourceByteString = ((IMessage)sourceField).ToByteString(); in Merge()
DMessageExtensions.cs140 public static ByteString ToByteString(this IMessage message) in ToByteString() method in Google.Protobuf.MessageExtensions
DJsonParser.cs542 var data = body.ToByteString(); in MergeAny()
/external/pdfium/fxjs/xfa/
Dcjx_node.cpp260 ByteString expression = runtime->ToByteString(params[0]); in loadXML()