Searched refs:integer_value (Results 1 - 14 of 14) sorted by relevance

/external/chromium_org/base/test/
H A Dvalues_test_util.cc34 int integer_value = 0; local
35 EXPECT_TRUE(value.GetInteger(key, &integer_value)) << key;
36 EXPECT_EQ(expected_value, integer_value) << key;
/external/chromium_org/content/browser/renderer_host/pepper/
H A Dpepper_udp_socket_message_filter.cc139 int32_t integer_value = 0; local
140 if (!value.GetInt32(&integer_value) || integer_value <= 0)
145 if (integer_value >
149 result = socket_->SetSendBufferSize(integer_value);
151 if (integer_value >
155 result = socket_->SetReceiveBufferSize(integer_value);
H A Dpepper_tcp_socket.cc251 int32_t integer_value = 0; local
252 if (!value.GetInt32(&integer_value) || integer_value <= 0) {
259 if (integer_value > ppapi::TCPSocketShared::kMaxSendBufferSize) {
263 result = tcp_socket->SetSendBufferSize(integer_value);
265 if (integer_value > ppapi::TCPSocketShared::kMaxReceiveBufferSize) {
269 result = tcp_socket->SetReceiveBufferSize(integer_value);
H A Dpepper_tcp_socket_message_filter.cc454 int32_t integer_value = 0;
455 if (!value.GetInt32(&integer_value) || integer_value <= 0)
460 if (integer_value > TCPSocketResourceBase::kMaxSendBufferSize)
462 result = socket_->SetSendBufferSize(integer_value);
464 if (integer_value > TCPSocketResourceBase::kMaxReceiveBufferSize)
466 result = socket_->SetReceiveBufferSize(integer_value);
/external/chromium_org/base/json/
H A Djson_reader_unittest.cc391 int integer_value = 0; local
392 EXPECT_TRUE(dict_val->GetIntegerWithoutPathExpansion("a.b", &integer_value));
393 EXPECT_EQ(3, integer_value);
394 EXPECT_TRUE(dict_val->GetIntegerWithoutPathExpansion("c", &integer_value));
395 EXPECT_EQ(2, integer_value);
401 &integer_value));
402 EXPECT_EQ(1, integer_value);
408 EXPECT_TRUE(dict_val->GetInteger("a.b", &integer_value));
409 EXPECT_EQ(2, integer_value);
410 EXPECT_TRUE(dict_val->GetIntegerWithoutPathExpansion("a.b", &integer_value));
[all...]
/external/chromium/base/json/
H A Djson_reader_unittest.cc367 int integer_value = 0; local
368 EXPECT_TRUE(dict_val->GetIntegerWithoutPathExpansion("a.b", &integer_value));
369 EXPECT_EQ(3, integer_value);
370 EXPECT_TRUE(dict_val->GetIntegerWithoutPathExpansion("c", &integer_value));
371 EXPECT_EQ(2, integer_value);
377 &integer_value));
378 EXPECT_EQ(1, integer_value);
384 EXPECT_TRUE(dict_val->GetInteger("a.b", &integer_value));
385 EXPECT_EQ(2, integer_value);
386 EXPECT_TRUE(dict_val->GetIntegerWithoutPathExpansion("a.b", &integer_value));
[all...]
/external/chromium_org/chrome/browser/prefs/
H A Dpref_metrics_service.cc249 int integer_value = 0; local
250 if (!value->GetAsInteger(&integer_value))
258 histogram->Add(integer_value);
/external/chromium_org/components/json_schema/
H A Djson_schema_validator.cc174 int integer_value; local
175 it.value().GetAsInteger(&integer_value);
176 if (integer_value < 0) {
178 it.key().c_str(), integer_value);
/external/protobuf/src/google/protobuf/
H A Dtext_format.cc549 uint64 integer_value; local
550 DO(ConsumeUnsignedInteger(&integer_value, kuint64max));
552 *value = static_cast<double>(integer_value);
/external/chromium_org/third_party/protobuf/src/google/protobuf/
H A Dtext_format.cc811 uint64 integer_value; local
812 DO(ConsumeUnsignedInteger(&integer_value, kuint64max));
814 *value = static_cast<double>(integer_value);
/external/chromium_org/v8/src/
H A Dhydrogen-instructions.cc2560 HConstant::HConstant(int32_t integer_value, argument
2565 has_smi_value_(Smi::IsValid(integer_value)),
2572 boolean_value_(integer_value != 0),
2573 int32_value_(integer_value),
2574 double_value_(FastI2D(integer_value)) {
H A Dhydrogen.h474 int32_t integer_value);
/external/v8/test/cctest/
H A Dtest-api.cc2927 int64_t integer_value = obj->IntegerValue(); local
2928 CHECK_EQ(0.0, static_cast<double>(integer_value));
/external/chromium_org/v8/test/cctest/
H A Dtest-api.cc4653 int64_t integer_value = obj->IntegerValue(); local
4654 CHECK_EQ(0.0, static_cast<double>(integer_value));

Completed in 1961 milliseconds