Home
last modified time | relevance | path

Searched refs:Int32Value (Results 1 - 25 of 58) sorted by relevance

123

/third_party/protobuf/php/tests/
H A DWrapperTypeSettersTest.php11 use Google\Protobuf\Int32Value;
90 [TestWrapperSetters::class, Int32Value::class, "setInt32Value", "setInt32ValueUnwrapped", "getInt32Value", "getInt32ValueUnwrapped", [
91 [123, new Int32Value(["value" => 123])],
92 [-789, new Int32Value(["value" => -789])],
94 [0, new Int32Value()],
95 [5.5, new Int32Value(["value" => 5])], // Test conversion from float to int
184 [TestWrapperSetters::class, "setInt32ValueUnwrapped", new Int32Value()],
222 [TestWrapperSetters::class, Int32Value::class, 'int32_value', 'getInt32Value', 5],
H A DEncodeDecodeTest.php26 use Google\Protobuf\Int32Value;
95 $m = new Int32Value();
102 $m = new Int32Value();
1134 $packed = new Int32Value();
1139 " {\"@type\":\"type.googleapis.com/google.protobuf.Int32Value\"," .
1141 $this->assertSame("type.googleapis.com/google.protobuf.Int32Value",
1177 $packed = new Int32Value();
1183 "{\"@type\":\"type.googleapis.com/google.protobuf.Int32Value\"," .
1192 "\"value\":{\"@type\":\"type.googleapis.com/google.protobuf.Int32Value\"," .
1212 'field' => new Int32Value(['valu
[all...]
/third_party/protobuf/src/google/protobuf/
H A Dwrappers.pb.cc36 ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<Int32Value> _instance;
116 new (ptr) PROTOBUF_NAMESPACE_ID::Int32Value(); in InitDefaultsscc_info_Int32Value_google_2fprotobuf_2fwrappers_2eproto()
119 PROTOBUF_NAMESPACE_ID::Int32Value::InitAsDefaultInstance(); in InitDefaultsscc_info_Int32Value_google_2fprotobuf_2fwrappers_2eproto()
211 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::Int32Value, _internal_metadata_),
215 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::Int32Value, value_),
246 { 24, -1, sizeof(PROTOBUF_NAMESPACE_ID::Int32Value)},
1090 void Int32Value::InitAsDefaultInstance() { in InitAsDefaultInstance()
1092 class Int32Value::_Internal {
1096 Int32Value::Int32Value( function in Int32Value
1102 Int32Value::Int32Value(const Int32Value& from) Int32Value() function in Int32Value
[all...]
H A Dwrappers.pb.h70 class Int32Value;
91 template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::Int32Value* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::Int32Value>(Arena*);
649 class PROTOBUF_EXPORT Int32Value PROTOBUF_FINAL :
650 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.Int32Value) */ {
652 inline Int32Value() : Int32Value(nullptr) {} in Int32Value() function in PROTOBUF_FINAL
653 virtual ~Int32Value();
655 Int32Value(const Int32Value
657 : Int32Value() { Int32Value() function in PROTOBUF_FINAL
[all...]
/third_party/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/
H A DWrappers.cs44 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.WellKnownTypes.Int32Value), global::Google.Protobuf.WellKnownTypes.Int32Value.Parser, new[]{ "Value" }, null, null, null, null), in WrappersReflection()
778 /// The JSON representation for `Int32Value` is JSON number.
780 public sealed partial class Int32Value : pb::IMessage<Int32Value> class
785 private static readonly pb::MessageParser<Int32Value> _parser = new pb::MessageParser<Int32Value>(() => new Int32Value());
788 public static pb::MessageParser<Int32Value> Parser { get { return _parser; } }
801 public Int32Value() { in Int32Value() method in Google.Protobuf.WellKnownTypes.Int32Value
808 public Int32Value(Int32Value other) : this() { Int32Value() method in Google.Protobuf.WellKnownTypes.Int32Value
[all...]
H A DWrappersPartial.cs40 internal const int WrapperValueFieldNumber = Int32Value.ValueFieldNumber;
/third_party/node/src/
H A Djs_stream.cc65 !value->Int32Value(env()->context()).To(&value_int)) { in ReadStart()
80 !value->Int32Value(env()->context()).To(&value_int)) { in ReadStop()
102 !value->Int32Value(env()->context()).To(&value_int)) { in DoShutdown()
136 !value->Int32Value(env()->context()).To(&value_int)) { in DoWrite()
H A Dtty_wrap.cc83 if (!args[0]->Int32Value(env->context()).To(&fd)) return; in IsTTY()
131 if (!args[0]->Int32Value(env->context()).To(&fd)) return; in New()
H A Dtcp_wrap.cc203 if (!args[0]->Int32Value(env->context()).To(&enable)) return; in SetKeepAlive()
253 if (!args[1]->Int32Value(env->context()).To(&port)) return; in Bind()
287 if (!args[0]->Int32Value(env->context()).To(&backlog)) return; in Listen()
310 if (!args[2]->Int32Value(env->context()).To(&port)) return; in Connect6()
H A Djs_udp_wrap.cc69 !value->Int32Value(env()->context()).To(&value_int)) { in RecvStart()
83 !value->Int32Value(env()->context()).To(&value_int)) { in RecvStop()
H A Dpipe_wrap.cc202 if (!args[0]->Int32Value(env->context()).To(&backlog)) return; in Listen()
217 if (!args[0]->Int32Value(env->context()).To(&fd)) return; in Open()
H A Duv.cc74 if (!args[0]->Int32Value(env->context()).To(&err)) return; in ErrName()
/third_party/skia/third_party/externals/dawn/src/dawn_node/interop/
H A DCore.cpp49 out = value.ToNumber().Int32Value(); in FromJS()
71 out = value.ToNumber().Int32Value(); in FromJS()
93 out = value.ToNumber().Int32Value(); in FromJS()
/third_party/protobuf/php/src/Google/Protobuf/
H A DInt32Value.php13 * The JSON representation for `Int32Value` is JSON number.
15 * Generated from protobuf message <code>google.protobuf.Int32Value</code>
17 class Int32Value extends \Google\Protobuf\Internal\Message class
/third_party/node/deps/v8/src/d8/
H A Dd8-posix.cc218 ->Int32Value(args.GetIsolate()->GetCurrentContext()) in GetTimeouts()
228 ->Int32Value(args.GetIsolate()->GetCurrentContext()) in GetTimeouts()
513 args[0]->Int32Value(args.GetIsolate()->GetCurrentContext()).FromJust()); in SetUMask()
568 ->Int32Value(args.GetIsolate()->GetCurrentContext()) in MakeDirectory()
H A Dd8-test.cc133 sum += args[1]->Int32Value(isolate->GetCurrentContext()).FromJust(); in AddAllSlowCallback()
449 sum += args[1]->Int32Value(isolate->GetCurrentContext()).FromJust(); in Add32BitIntSlowCallback()
555 sum += args[1]->Int32Value(context).FromJust(); in AddAll32BitIntSlowCallback()
558 sum += args[2]->Int32Value(context).FromJust(); in AddAll32BitIntSlowCallback()
561 sum += args[3]->Int32Value(context).FromJust(); in AddAll32BitIntSlowCallback()
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/
H A DJsonParserTest.cs137 [TestCase(typeof(Int32Value), "32", 32)]
228 Assert.AreEqual(new Int32Value { Value = 1 }, Int32Value.Parser.ParseJson("1")); in IndividualWrapperTypes()
230 Assert.AreEqual(new Int32Value { Value = 1 }, Int32Value.Parser.ParseJson("\"1\"")); in IndividualWrapperTypes()
/third_party/protobuf/csharp/src/Google.Protobuf.Test/
H A DJsonParserTest.cs139 [TestCase(typeof(Int32Value), "32", 32)]
230 Assert.AreEqual(new Int32Value { Value = 1 }, Int32Value.Parser.ParseJson("1")); in IndividualWrapperTypes()
232 Assert.AreEqual(new Int32Value { Value = 1 }, Int32Value.Parser.ParseJson("\"1\"")); in IndividualWrapperTypes()
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
H A DWrappersLiteOfMethodTest.java42 builder.setFieldInt32(Int32Value.of(2333)); in testOf()
H A DWrappersOfMethodTest.java42 builder.setFieldInt32(Int32Value.of(2333)); in testOf()
/third_party/protobuf/src/google/protobuf/util/
H A Dtype_resolver_util.cc58 using google::protobuf::Int32Value;
199 value->PackFrom(WrapValue<Int32Value>( in ConvertOptionField()
233 value->PackFrom(WrapValue<Int32Value>(val->number())); in ConvertOptionField()
/third_party/node/src/api/
H A Dhooks.cc78 !code_v->Int32Value(context).To(&code) || in EmitProcessExit()
82 !code_v->Int32Value(context).To(&code)) { in EmitProcessExit()
/third_party/protobuf/csharp/src/Google.Protobuf.Test/WellKnownTypes/
H A DWrappersTest.cs336 // Create a byte array which has the data of an Int32Value explicitly containing a value of 0. in MergingStreamExplicitValue()
340 var valueTag = WireFormat.MakeTag(Int32Value.ValueFieldNumber, WireFormat.WireType.Varint); in MergingStreamExplicitValue()
402 var valueTag = WireFormat.MakeTag(Int32Value.ValueFieldNumber, WireFormat.WireType.Varint); in UnknownFieldInWrapperInt32FastPath()
429 var valueTag = WireFormat.MakeTag(Int32Value.ValueFieldNumber, WireFormat.WireType.Varint); in UnknownFieldInWrapperInt32SlowPath()
/third_party/protobuf/ruby/tests/
H A Dbasic.rb271 map_int32: {0 => Google::Protobuf::Int32Value.new(value: 3)},
313 map_int32: {0 => Google::Protobuf::Int32Value.new(value: 0)},
355 map_int32: {0 => Google::Protobuf::Int32Value.new()},
H A Dcommon_tests.rb1284 int32: Google::Protobuf::Int32Value.new(value: 0),
1341 int32: Google::Protobuf::Int32Value.new(value: 3),
1388 repeated_int32: [Google::Protobuf::Int32Value.new(value: 3)],
1480 run_test.call(Google::Protobuf::Int32Value, 3)
1499 assert_equal Google::Protobuf::Int32Value.new(value: 5), m.int32
1553 int32: Google::Protobuf::Int32Value.new(value: 3),
1578 m.int32 = Google::Protobuf::Int32Value.new(value: 5)
1580 assert_equal Google::Protobuf::Int32Value.new(value: 5), m.int32
1635 int32: Google::Protobuf::Int32Value.new(value: 3),

Completed in 32 milliseconds

123