/external/chromium_org/base/test/ |
D | values_test_util.cc | 34 int integer_value = 0; in ExpectDictIntegerValue() local 35 EXPECT_TRUE(value.GetInteger(key, &integer_value)) << key; in ExpectDictIntegerValue() 36 EXPECT_EQ(expected_value, integer_value) << key; in ExpectDictIntegerValue()
|
/external/chromium_org/base/json/ |
D | json_reader_unittest.cc | 391 int integer_value = 0; in TEST() local 392 EXPECT_TRUE(dict_val->GetIntegerWithoutPathExpansion("a.b", &integer_value)); in TEST() 393 EXPECT_EQ(3, integer_value); in TEST() 394 EXPECT_TRUE(dict_val->GetIntegerWithoutPathExpansion("c", &integer_value)); in TEST() 395 EXPECT_EQ(2, integer_value); in TEST() 401 &integer_value)); in TEST() 402 EXPECT_EQ(1, integer_value); in TEST() 408 EXPECT_TRUE(dict_val->GetInteger("a.b", &integer_value)); in TEST() 409 EXPECT_EQ(2, integer_value); in TEST() 410 EXPECT_TRUE(dict_val->GetIntegerWithoutPathExpansion("a.b", &integer_value)); in TEST() [all …]
|
/external/chromium_org/content/browser/renderer_host/pepper/ |
D | pepper_udp_socket_message_filter.cc | 139 int32_t integer_value = 0; in OnMsgSetOption() local 140 if (!value.GetInt32(&integer_value) || integer_value <= 0) in OnMsgSetOption() 145 if (integer_value > in OnMsgSetOption() 149 result = socket_->SetSendBufferSize(integer_value); in OnMsgSetOption() 151 if (integer_value > in OnMsgSetOption() 155 result = socket_->SetReceiveBufferSize(integer_value); in OnMsgSetOption()
|
D | pepper_tcp_socket.cc | 251 int32_t integer_value = 0; in SetOption() local 252 if (!value.GetInt32(&integer_value) || integer_value <= 0) { in SetOption() 259 if (integer_value > ppapi::TCPSocketShared::kMaxSendBufferSize) { in SetOption() 263 result = tcp_socket->SetSendBufferSize(integer_value); in SetOption() 265 if (integer_value > ppapi::TCPSocketShared::kMaxReceiveBufferSize) { in SetOption() 269 result = tcp_socket->SetReceiveBufferSize(integer_value); in SetOption()
|
D | pepper_tcp_socket_message_filter.cc | 454 int32_t integer_value = 0; in OnMsgSetOption() local 455 if (!value.GetInt32(&integer_value) || integer_value <= 0) in OnMsgSetOption() 460 if (integer_value > TCPSocketResourceBase::kMaxSendBufferSize) in OnMsgSetOption() 462 result = socket_->SetSendBufferSize(integer_value); in OnMsgSetOption() 464 if (integer_value > TCPSocketResourceBase::kMaxReceiveBufferSize) in OnMsgSetOption() 466 result = socket_->SetReceiveBufferSize(integer_value); in OnMsgSetOption()
|
/external/chromium/base/json/ |
D | json_reader_unittest.cc | 367 int integer_value = 0; in TEST() local 368 EXPECT_TRUE(dict_val->GetIntegerWithoutPathExpansion("a.b", &integer_value)); in TEST() 369 EXPECT_EQ(3, integer_value); in TEST() 370 EXPECT_TRUE(dict_val->GetIntegerWithoutPathExpansion("c", &integer_value)); in TEST() 371 EXPECT_EQ(2, integer_value); in TEST() 377 &integer_value)); in TEST() 378 EXPECT_EQ(1, integer_value); in TEST() 384 EXPECT_TRUE(dict_val->GetInteger("a.b", &integer_value)); in TEST() 385 EXPECT_EQ(2, integer_value); in TEST() 386 EXPECT_TRUE(dict_val->GetIntegerWithoutPathExpansion("a.b", &integer_value)); in TEST() [all …]
|
/external/chromium_org/chrome/browser/prefs/ |
D | pref_metrics_service.cc | 249 int integer_value = 0; in LogIntegerPrefChange() local 250 if (!value->GetAsInteger(&integer_value)) in LogIntegerPrefChange() 258 histogram->Add(integer_value); in LogIntegerPrefChange()
|
/external/chromium_org/components/json_schema/ |
D | json_schema_validator.cc | 174 int integer_value; in IsValidSchema() local 175 it.value().GetAsInteger(&integer_value); in IsValidSchema() 176 if (integer_value < 0) { in IsValidSchema() 178 it.key().c_str(), integer_value); in IsValidSchema()
|
/external/protobuf/src/google/protobuf/ |
D | text_format.cc | 549 uint64 integer_value; in ConsumeDouble() local 550 DO(ConsumeUnsignedInteger(&integer_value, kuint64max)); in ConsumeDouble() 552 *value = static_cast<double>(integer_value); in ConsumeDouble()
|
/external/chromium_org/third_party/protobuf/src/google/protobuf/ |
D | text_format.cc | 811 uint64 integer_value; in ConsumeDouble() local 812 DO(ConsumeUnsignedInteger(&integer_value, kuint64max)); in ConsumeDouble() 814 *value = static_cast<double>(integer_value); in ConsumeDouble()
|
/external/chromium_org/v8/src/ |
D | hydrogen-instructions.cc | 2560 HConstant::HConstant(int32_t integer_value, in HConstant() argument 2565 has_smi_value_(Smi::IsValid(integer_value)), in HConstant() 2572 boolean_value_(integer_value != 0), in HConstant() 2573 int32_value_(integer_value), in HConstant() 2574 double_value_(FastI2D(integer_value)) { in HConstant()
|
D | hydrogen.h | 474 int32_t integer_value);
|
/external/v8/test/cctest/ |
D | test-api.cc | 2927 int64_t integer_value = obj->IntegerValue(); in THREADED_TEST() local 2928 CHECK_EQ(0.0, static_cast<double>(integer_value)); in THREADED_TEST()
|
/external/chromium_org/v8/test/cctest/ |
D | test-api.cc | 4653 int64_t integer_value = obj->IntegerValue(); in THREADED_TEST() local 4654 CHECK_EQ(0.0, static_cast<double>(integer_value)); in THREADED_TEST()
|