Home
last modified time | relevance | path

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

12

/aosp_15_r20/external/pdfium/fxjs/
H A Dcfx_v8_unittest.cpp49 EXPECT_EQ("", cfx_v8()->ToByteString(empty)); in TEST_F()
77 EXPECT_EQ("null", cfx_v8()->ToByteString(nullz)); in TEST_F()
92 EXPECT_EQ("undefined", cfx_v8()->ToByteString(undef)); in TEST_F()
107 EXPECT_EQ("true", cfx_v8()->ToByteString(boolz)); in TEST_F()
116 EXPECT_EQ("false", cfx_v8()->ToByteString(boolz)); in TEST_F()
131 EXPECT_EQ("42.1", cfx_v8()->ToByteString(num)); in TEST_F()
146 EXPECT_EQ("123", cfx_v8()->ToByteString(str)); in TEST_F()
155 EXPECT_EQ("123", cfx_v8()->ToByteString(str2)); in TEST_F()
170 EXPECT_NE("", cfx_v8()->ToByteString(date)); // exact format varies. in TEST_F()
H A Dcjs_global.cpp30 return fxv8::ToByteString(pIsolate, name.As<v8::String>()); in ByteStringFromV8Name()
222 pRuntime->ToByteString(vp), in SetProperty()
261 auto it = m_MapGlobal.find(pRuntime->ToByteString(params[0])); in setPersistent()
388 ByteString sValue = pRuntime->ToByteString(v); in ObjectToArray()
H A Dfxv8.cpp126 ByteString ToByteString(v8::Isolate* pIsolate, v8::Local<v8::String> pValue) { in ToByteString() function
184 return ToByteString(pIsolate, maybe_string.ToLocalChecked()); in ReentrantToByteStringHelper()
H A Dcfx_v8.h41 ByteString ToByteString(v8::Local<v8::Value> pValue);
/aosp_15_r20/external/cronet/third_party/protobuf/csharp/src/Google.Protobuf.Test/
H A DFieldMaskTreeTest.cs167 newSource.MergeFrom(source.ToByteString()); in Merge()
170 newDestination.MergeFrom(destination.ToByteString()); in Merge()
179 destination.MergeFrom(newDestination.ToByteString()); in Merge()
H A DCodedInputStreamTest.cs390 TestAllTypes message2 = TestAllTypes.Parser.ParseFrom(message.ToByteString()); in ReadHugeBlob()
521 …ing atRecursiveLimit = MakeRecursiveMessage(CodedInputStream.DefaultRecursionLimit).ToByteString(); in MaliciousRecursion()
522 …ndRecursiveLimit = MakeRecursiveMessage(CodedInputStream.DefaultRecursionLimit + 1).ToByteString(); in MaliciousRecursion()
/aosp_15_r20/external/protobuf/csharp/src/Google.Protobuf.Test/
H A DFieldMaskTreeTest.cs167 newSource.MergeFrom(source.ToByteString()); in Merge()
170 newDestination.MergeFrom(destination.ToByteString()); in Merge()
179 destination.MergeFrom(newDestination.ToByteString()); in Merge()
H A DCodedInputStreamTest.cs390 TestAllTypes message2 = TestAllTypes.Parser.ParseFrom(message.ToByteString()); in ReadHugeBlob()
521 …ing atRecursiveLimit = MakeRecursiveMessage(CodedInputStream.DefaultRecursionLimit).ToByteString(); in MaliciousRecursion()
522 …ndRecursiveLimit = MakeRecursiveMessage(CodedInputStream.DefaultRecursionLimit + 1).ToByteString(); in MaliciousRecursion()
/aosp_15_r20/external/cronet/third_party/protobuf/csharp/src/Google.Protobuf/Reflection/
H A DCustomOptions.cs239 ByteString bytes = single.GetValue().ToByteString();
248 .Select(v => v.ToByteString())
/aosp_15_r20/external/protobuf/csharp/src/Google.Protobuf/Reflection/
H A DCustomOptions.cs239 ByteString bytes = single.GetValue().ToByteString();
248 .Select(v => v.ToByteString())
/aosp_15_r20/external/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/
H A 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()
/aosp_15_r20/external/cronet/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/
H A 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()
/aosp_15_r20/external/pdfium/core/fpdfapi/parser/
H A Dfpdf_parser_decode_unittest.cpp36 ByteString ToByteString(const char (&array)[N]) { in ToByteString() function
476 ToByteString("\xFE\xFF\x7F\x51\x98\x75\x00\x20\x56\xFE\x72\x47\x00" in TEST()
/aosp_15_r20/external/cronet/third_party/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/
H A DAnyPartial.cs143 Value = message.ToByteString() in Pack()
/aosp_15_r20/external/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/
H A DAnyPartial.cs143 Value = message.ToByteString() in Pack()
/aosp_15_r20/external/cronet/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/WellKnownTypes/
H A DAnyTest.cs99 … Assert.That(text, Does.Contain("\"@value\": \"" + message.ToByteString().ToBase64() + "\"")); in ToString_WithValues()
/aosp_15_r20/external/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/WellKnownTypes/
H A DAnyTest.cs99 … Assert.That(text, Does.Contain("\"@value\": \"" + message.ToByteString().ToBase64() + "\"")); in ToString_WithValues()
/aosp_15_r20/external/cronet/third_party/protobuf/csharp/src/Google.Protobuf.Test/Reflection/
H A DDescriptorsTest.cs82 DescriptorReflection.Descriptor.Proto.ToByteString(), in FileDescriptor_BuildFromByteStrings_WithExtensionRegistry()
83 UnittestCustomOptionsProto3Reflection.Descriptor.Proto.ToByteString() in FileDescriptor_BuildFromByteStrings_WithExtensionRegistry()
H A DDescriptorDeclarationTest.cs170 var byteStrings = descriptorSet.File.Select(f => f.ToByteString()).ToList(); in LoadProtos()
/aosp_15_r20/external/protobuf/csharp/src/Google.Protobuf.Test/Reflection/
H A DDescriptorsTest.cs82 DescriptorReflection.Descriptor.Proto.ToByteString(), in FileDescriptor_BuildFromByteStrings_WithExtensionRegistry()
83 UnittestCustomOptionsProto3Reflection.Descriptor.Proto.ToByteString() in FileDescriptor_BuildFromByteStrings_WithExtensionRegistry()
H A DDescriptorDeclarationTest.cs170 var byteStrings = descriptorSet.File.Select(f => f.ToByteString()).ToList(); in LoadProtos()
/aosp_15_r20/external/cronet/third_party/protobuf/csharp/src/Google.Protobuf.Test/WellKnownTypes/
H A DAnyTest.cs117 … Assert.That(text, Does.Contain("\"@value\": \"" + message.ToByteString().ToBase64() + "\"")); in ToString_WithValues()
/aosp_15_r20/external/protobuf/csharp/src/Google.Protobuf.Test/WellKnownTypes/
H A DAnyTest.cs117 … Assert.That(text, Does.Contain("\"@value\": \"" + message.ToByteString().ToBase64() + "\"")); in ToString_WithValues()
/aosp_15_r20/external/protobuf/csharp/src/Google.Protobuf.Conformance/
H A DProgram.cs152 return new ConformanceResponse { ProtobufPayload = message.ToByteString() }; in PerformRequest()
/aosp_15_r20/external/cronet/third_party/protobuf/csharp/src/Google.Protobuf.Conformance/
H A DProgram.cs152 return new ConformanceResponse { ProtobufPayload = message.ToByteString() }; in PerformRequest()

12