Home
last modified time | relevance | path

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

/external/chromium_org/base/test/
Dvalues_test_util.cc34 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/
Djson_reader_unittest.cc391 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/
Dpepper_udp_socket_message_filter.cc139 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()
Dpepper_tcp_socket.cc251 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()
Dpepper_tcp_socket_message_filter.cc454 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/
Djson_reader_unittest.cc367 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/
Dpref_metrics_service.cc249 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/
Djson_schema_validator.cc174 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/
Dtext_format.cc549 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/
Dtext_format.cc811 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/
Dhydrogen-instructions.cc2560 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()
Dhydrogen.h474 int32_t integer_value);
/external/v8/test/cctest/
Dtest-api.cc2927 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/
Dtest-api.cc4653 int64_t integer_value = obj->IntegerValue(); in THREADED_TEST() local
4654 CHECK_EQ(0.0, static_cast<double>(integer_value)); in THREADED_TEST()