Home
last modified time | relevance | path

Searched refs:GetSize (Results 1 – 25 of 148) sorted by relevance

123456

/external/chromium/chrome/browser/metrics/
Dmetrics_service_unittest.cc42 EXPECT_EQ(0U, list.GetSize()); in TEST()
62 EXPECT_EQ(3U, list.GetSize()); in TEST()
109 EXPECT_EQ(kMaxLocalListSize + 2, list.GetSize()); in TEST()
133 EXPECT_EQ(3U, list.GetSize()); in TEST()
136 list.Remove(list.GetSize() - 1, NULL); in TEST()
137 EXPECT_EQ(2U, list.GetSize()); in TEST()
153 EXPECT_EQ(4U, list.GetSize()); in TEST()
156 EXPECT_EQ(3U, list.GetSize()); in TEST()
171 EXPECT_EQ(3U, list.GetSize()); in TEST()
175 EXPECT_EQ(3U, list.GetSize()); in TEST()
[all …]
/external/webrtc/src/system_wrappers/source/
Dlist_unittest.cc43 unsigned int GetSize() const { in GetSize() function in ListWrapperSimple
44 return list_.GetSize(); in GetSize()
296 const unsigned int list_size = lhs->GetSize(); in CompareLists()
297 if (lhs->GetSize() != rhs->GetSize()) { in CompareLists()
329 ASSERT_EQ(kNumberOfElements,decending_list->GetSize()); in TEST()
334 ASSERT_EQ(kNumberOfElements,ascending_list->GetSize()); in TEST()
368 EXPECT_EQ(kNumberOfElements - 2, ascending_list->GetSize()); in TEST()
384 ASSERT_EQ(kNumberOfElements/2,interleave_list->GetSize()); in TEST()
385 ASSERT_EQ(kNumberOfElements/2,decending_list->GetSize()); in TEST()
432 ASSERT_EQ(kNumberOfElements/2,interleave_list->GetSize()); in TEST()
[all …]
/external/chromium/testing/gmock/test/
Dgmock-generated-function-mockers_test.cc350 virtual int GetSize() const = 0;
362 MOCK_CONST_METHOD0_T(GetSize, int()); // NOLINT
373 EXPECT_CALL(mock, GetSize()) in TEST()
384 EXPECT_EQ(0, mock.GetSize()); in TEST()
386 EXPECT_EQ(1, mock.GetSize()); in TEST()
389 EXPECT_EQ(0, mock.GetSize()); in TEST()
403 STDMETHOD_(int, GetSize)() const = 0;
415 MOCK_CONST_METHOD0_T_WITH_CALLTYPE(STDMETHODCALLTYPE, GetSize, int());
426 EXPECT_CALL(mock, GetSize()) in TEST()
437 EXPECT_EQ(0, mock.GetSize()); in TEST()
[all …]
/external/chromium/chrome/browser/extensions/
Dextension_rlz_module.cc129 if (access_points_list->GetSize() < 1) { in RunImpl()
137 new rlz_lib::AccessPoint[access_points_list->GetSize() + 1]); in RunImpl()
140 for (i = 0; i < access_points_list->GetSize(); ++i) { in RunImpl()
190 if (access_points_list->GetSize() < 1) { in RunImpl()
198 new rlz_lib::AccessPoint[access_points_list->GetSize() + 1]); in RunImpl()
201 for (i = 0; i < access_points_list->GetSize(); ++i) { in RunImpl()
Dextension_bookmarks_unittest.cc40 ASSERT_EQ(3U, children->GetSize()); in TEST_F()
50 ASSERT_EQ(1U, children->GetSize()); in TEST_F()
60 ASSERT_EQ(4U, children->GetSize()); in TEST_F()
75 ASSERT_EQ(2U, children->GetSize()); in TEST_F()
Dextension_browser_actions_api.cc50 IPC::Message bitmap_pickle(binary->GetBuffer(), binary->GetSize()); in RunBrowserAction()
88 EXTENSION_FUNCTION_VALIDATE(list->GetSize() == 4); in RunBrowserAction()
Dextensions_ui.cc345 CHECK(args->GetSize() == 2); in HandleInspectMessage()
367 CHECK(args->GetSize() == 2); in HandleEnableMessage()
394 CHECK(args->GetSize() == 2); in HandleEnableIncognitoMessage()
420 CHECK(args->GetSize() == 2); in HandleAllowFileAccessMessage()
507 CHECK(args->GetSize() == 1) << args->GetSize(); in HandleLoadMessage()
521 CHECK(args->GetSize() == 2); in HandlePackMessage()
573 CHECK(args->GetSize() == 2); in HandleSelectFilePathMessage()
Dextension_page_actions_module.cc161 IPC::Message bitmap_pickle(binary->GetBuffer(), binary->GetSize()); in RunImpl()
236 EXTENSION_FUNCTION_VALIDATE(color_value->GetSize() == 4); in RunImpl()
262 EXTENSION_FUNCTION_VALIDATE(color_value->GetSize() == 4); in RunImpl()
/external/valgrind/unittest/
Dlinear_solver.h11 inline int GetSize() const { return N; } in GetSize() function
24 CHECK(other.GetSize() == N);
32 CHECK(other.GetSize() == N);
47 CHECK(other.GetSize() == N); in DotProduct()
71 CHECK(from.GetSize() == N); in Copy()
125 CHECK(v.GetSize() == N); in MultiplyRight()
135 CHECK(v_to_transpose.GetSize() == M); in MultiplyLeft()
171 CHECK(stats_v.GetSize() == M);
/external/chromium/chrome/browser/net/
Dpredictor_unittest.cc268 CHECK_LT(0u, referral_list.GetSize()); // Room for version. in FindSerializationMotivation()
273 for (size_t i = 1; i < referral_list.GetSize(); ++i) { in FindSerializationMotivation()
339 for (size_t i = 0; i < subresource_list->GetSize();) { in GetDataFromSerialization()
361 EXPECT_EQ(1U, referral_list->GetSize()); in TEST_F()
390 EXPECT_EQ(2U, recovered_referral_list.GetSize()); in TEST_F()
433 EXPECT_EQ(2U, recovered_referral_list.GetSize()); in TEST_F()
449 EXPECT_EQ(2U, recovered_referral_list.GetSize()); in TEST_F()
461 EXPECT_EQ(2U, recovered_referral_list.GetSize()); in TEST_F()
472 EXPECT_EQ(2U, recovered_referral_list.GetSize()); in TEST_F()
485 EXPECT_EQ(1U, recovered_referral_list.GetSize()); in TEST_F()
[all …]
/external/chromium/chrome/browser/ui/webui/options/
Dcore_options_handler.cc209 DCHECK_GE(static_cast<int>(args->GetSize()), 2); in HandleFetchPrefs()
224 for (size_t i = 1; i < args->GetSize(); i++) { in HandleFetchPrefs()
244 DCHECK_GE(static_cast<int>(args->GetSize()), 2); in HandleObservePrefs()
252 for (size_t i = 1; i < args->GetSize(); i++) { in HandleObservePrefs()
294 DCHECK_GT(static_cast<int>(args->GetSize()), 1); in HandleSetPref()
327 if (args->GetSize() > 2) in HandleSetPref()
334 DCHECK_GT(static_cast<int>(args->GetSize()), 0); in HandleClearPref()
341 if (args->GetSize() > 1) in HandleClearPref()
Dbrowser_options_handler.cc150 CHECK_EQ(args->GetSize(), 2U); in SetHomePage()
360 for (int i = args->GetSize() - 1; i >= 0; --i) { in RemoveStartupPages()
379 CHECK_EQ(args->GetSize(), 1U); in AddStartupPage()
392 CHECK_EQ(args->GetSize(), 2U); in EditStartupPage()
419 CHECK_EQ(args->GetSize(), 1U); in RequestAutocompleteSuggestions()
Dextension_settings_handler.cc458 CHECK(args->GetSize() == 2); in HandleInspectMessage()
480 CHECK(args->GetSize() == 2); in HandleEnableMessage()
500 CHECK(args->GetSize() == 2); in HandleEnableIncognitoMessage()
525 CHECK(args->GetSize() == 2); in HandleAllowFileAccessMessage()
600 CHECK(args->GetSize() == 1) << args->GetSize(); in HandleLoadMessage()
614 CHECK(args->GetSize() == 2); in HandlePackMessage()
666 CHECK(args->GetSize() == 2); in HandleSelectFilePathMessage()
/external/chromium/base/
Dvalues_unittest.cc49 ASSERT_EQ(1U, bookmark_list->GetSize()); in TEST_F()
65 ASSERT_EQ(4u, mixed_list->GetSize()); in TEST_F()
107 ASSERT_EQ(0U, binary->GetSize()); in TEST_F()
115 ASSERT_EQ(15U, binary->GetSize()); in TEST_F()
123 ASSERT_EQ(42U, binary->GetSize()); in TEST_F()
124 ASSERT_EQ(0, memcmp(stack_buffer, binary->GetBuffer(), binary->GetSize())); in TEST_F()
208 EXPECT_EQ(1U, list.GetSize()); in TEST_F()
214 EXPECT_EQ(0U, list.GetSize()); in TEST_F()
227 EXPECT_EQ(0U, list.GetSize()); in TEST_F()
237 EXPECT_EQ(0U, list.GetSize()); in TEST_F()
[all …]
/external/chromium/chrome/browser/renderer_host/
Dweb_cache_manager_unittest.cc54 static size_t GetSize(int tactic, in GetSize() function in WebCacheManagerTest
56 return WebCacheManager::GetSize( in GetSize()
213 EXPECT_EQ(0U, GetSize(DIVIDE_EVENLY, kStats)); in TEST_F()
214 EXPECT_LT(256 * 1024u + 512, GetSize(KEEP_CURRENT_WITH_HEADROOM, kStats)); in TEST_F()
215 EXPECT_EQ(256 * 1024u + 512, GetSize(KEEP_CURRENT, kStats)); in TEST_F()
216 EXPECT_LT(256 * 1024u, GetSize(KEEP_LIVE_WITH_HEADROOM, kStats)); in TEST_F()
217 EXPECT_EQ(256 * 1024u, GetSize(KEEP_LIVE, kStats)); in TEST_F()
Dweb_cache_manager.cc186 size_t WebCacheManager::GetSize(AllocationTactic tactic, in GetSize() function in WebCacheManager
194 return 3 * GetSize(KEEP_CURRENT, stats) / 2; in GetSize()
200 return 3 * GetSize(KEEP_LIVE, stats) / 2; in GetSize()
218 size_t active_size = GetSize(active_tactic, active_stats); in AttemptTactic()
219 size_t inactive_size = GetSize(inactive_tactic, inactive_stats); in AttemptTactic()
272 cache_size += GetSize(tactic, elmt->second); in AddToStrategy()
/external/chromium/third_party/libjingle/source/talk/base/
Dstream.h180 virtual bool GetSize(size_t* size) const { return false; } in GetSize() function
297 virtual bool GetSize(size_t* size) const { in GetSize() function
298 return stream_->GetSize(size); in GetSize()
376 virtual bool GetSize(size_t* size) const;
429 virtual bool GetSize(size_t* size) const;
443 static bool GetSize(const std::string& filename, size_t* size);
498 virtual bool GetSize(size_t* size) const;
631 virtual bool GetSize(size_t* size) const;
/external/chromium/chrome/browser/
Dabout_flags_unittest.cc132 ASSERT_EQ(2u, experiments_list->GetSize()); in TEST_F()
147 ASSERT_EQ(1u, experiments_list->GetSize()); in TEST_F()
164 EXPECT_TRUE(experiments_list == NULL || experiments_list->GetSize() == 0); in TEST_F()
230 EXPECT_EQ(arraysize(kExperiments) - 1, switch_prefs->GetSize()); in TEST_F()
281 EXPECT_EQ(arraysize(kExperiments) - 1, switch_prefs->GetSize()); in TEST_F()
/external/chromium/chrome/browser/chromeos/login/
Duser_image_downloader.cc127 for (size_t i = 0; i < entry_list->GetSize(); ++i) { in GetImageURLFromEntries()
152 for (size_t i = 0; i < email_list->GetSize(); ++i) { in IsUserEntry()
171 for (size_t i = 0; i < link_list->GetSize(); ++i) { in GetImageURLFromLinks()
/external/webrtc/src/system_wrappers/test/list/
Dlist.cc94 FailTest(test_list.GetSize() != kNumberOfElements); in main()
101 FailTest(test_list.GetSize() != kNumberOfElements - 2); in main()
155 FailTest(test_list.GetSize() != 0); in main()
/external/chromium/chrome/common/
Djson_schema_validator.cc150 for (size_t i = 0; i < types->GetSize(); ++i) { in JSONSchemaValidator()
239 for (size_t i = 0; i < choices->GetSize(); ++i) { in ValidateChoices()
260 for (size_t i = 0; i < choices->GetSize(); ++i) { in ValidateEnum()
340 size_t instance_size = instance->GetSize(); in ValidateArray()
383 size_t tuple_size = tuple_type ? tuple_type->GetSize() : 0; in ValidateTuple()
409 size_t instance_size = instance->GetSize(); in ValidateTuple()
/external/chromium/chrome/browser/notifications/
Dballoon.h42 virtual gfx::Size GetSize() const = 0;
93 gfx::Size GetViewSize() const { return balloon_view_->GetSize(); } in GetViewSize()
/external/chromium/chrome/browser/sync/syncable/
Dmodel_type_unittest.cc48 EXPECT_EQ(2u, value->GetSize()); in TEST_F()
62 EXPECT_EQ(2u, value->GetSize()); in TEST_F()
/external/chromium/chrome/browser/ui/webui/
Dforeign_session_handler.cc133 size_t num_args = args->GetSize(); in HandleOpenForeignSession()
135 LOG(ERROR) << "openForeignWindow called with only " << args->GetSize() in HandleOpenForeignSession()
232 if (tab_values->GetSize() == 0) in SessionWindowToValue()
/external/chromium/chrome/browser/ui/webui/chromeos/
Dsim_unlock_ui.cc461 if (args->GetSize() != kEnterCodeParamCount) { in HandleCancel()
474 if (args->GetSize() != kChangePinParamCount || in HandleChangePinCode()
494 if (args->GetSize() != kEnterPinParamCount || !args->GetString(0, &pin)) { in HandleEnterPinCode()
505 if (args->GetSize() != kEnterPukParamCount || in HandleEnterPukCode()
517 if (args->GetSize() != kProceedToPukInputParamCount) { in HandleProceedToPukInput()
529 if (args->GetSize() != kSimStatusInitializeParamCount || in HandleSimStatusInitialize()

123456