Home
last modified time | relevance | path

Searched refs:integer_value (Results 1 – 13 of 13) sorted by relevance

/external/libchrome/base/json/
Djson_reader_unittest.cc393 int integer_value = 0; in TEST() local
394 EXPECT_TRUE(dict_val->GetIntegerWithoutPathExpansion("a.b", &integer_value)); in TEST()
395 EXPECT_EQ(3, integer_value); in TEST()
396 EXPECT_TRUE(dict_val->GetIntegerWithoutPathExpansion("c", &integer_value)); in TEST()
397 EXPECT_EQ(2, integer_value); in TEST()
403 inner_dict->GetIntegerWithoutPathExpansion("g.h.i.j", &integer_value)); in TEST()
404 EXPECT_EQ(1, integer_value); in TEST()
409 EXPECT_TRUE(dict_val->GetInteger("a.b", &integer_value)); in TEST()
410 EXPECT_EQ(2, integer_value); in TEST()
411 EXPECT_TRUE(dict_val->GetIntegerWithoutPathExpansion("a.b", &integer_value)); in TEST()
[all …]
/external/libchrome/base/test/
Dvalues_test_util.cc36 int integer_value = 0; in ExpectDictIntegerValue() local
37 EXPECT_TRUE(value.GetInteger(key, &integer_value)) << key; in ExpectDictIntegerValue()
38 EXPECT_EQ(expected_value, integer_value) << key; in ExpectDictIntegerValue()
/external/libtextclassifier/native/tensorflow_models/seq_flow_lite/tflite_ops/
Dquantization_util.h62 int32_t integer_value = in PodQuantize() local
64 return static_cast<uint8_t>(std::max(std::min(255, integer_value), 0)); in PodQuantize()
/external/python/apitools/apitools/base/py/
Dextra_types_test.py55 extra_types.JsonValue(integer_value=3, string_value='a'))
61 seventeen = extra_types.JsonValue(integer_value=17)
74 extra_types.JsonValue(integer_value=3),
100 key='a', value=extra_types.JsonValue(integer_value=6)),
Dextra_types.py132 return JsonValue(integer_value=py_value)
166 integer_value = messages.IntegerField(5, variant=messages.Variant.INT64) variable in JsonValue
/external/google-breakpad/src/client/
Dminidump_file_writer_unittest.cc57 unsigned long integer_value; member
79 strings.get()->integer_value = 0xBEEF; in WriteFile()
/external/oss-fuzz/projects/jsoncpp/
Djson.proto83 required NumberInteger integer_value = 1; field
85 // integer_value is used when oneof field below has nothing.
Djson_proto_converter.cc50 data_ << number_value.integer_value().value(); in AppendNumber()
/external/openscreen/cast/streaming/
Drpc_broker.cc20 return out << ", integer_value=" << message.integer_value(); in operator <<()
Dremoting.proto397 int32 integer_value = 3; field
/external/libchrome/components/json_schema/
Djson_schema_validator.cc187 int integer_value; in IsValidSchema() local
188 it.value().GetAsInteger(&integer_value); in IsValidSchema()
189 if (integer_value < 0) { in IsValidSchema()
191 it.key().c_str(), integer_value); in IsValidSchema()
/external/python/apitools/apitools/base/protorpclite/
Dmessages_test.py1609 integer_value = messages.IntegerField(1) variable in MessageTest.testRepr.MyMessage
1616 my_message.integer_value = 42
/external/tensorflow/tensorflow/compiler/xla/service/
Delemental_ir_emitter.cc219 llvm::Value* EmitIntegralToFloating(llvm::Value* integer_value, in EmitIntegralToFloating() argument
224 return b->CreateSIToFP(integer_value, in EmitIntegralToFloating()
229 return b->CreateUIToFP(integer_value, in EmitIntegralToFloating()