Home
last modified time | relevance | path

Searched refs:local_list (Results 1 – 4 of 4) sorted by relevance

/external/chromium/chrome/browser/metrics/
Dmetrics_service_unittest.cc39 std::vector<std::string> local_list; in TEST() local
41 MetricsService::StoreUnsentLogsHelper(local_list, kMaxLocalListSize, &list); in TEST()
44 local_list.clear(); // RecallUnsentLogsHelper() expects empty |local_list|. in TEST()
46 MetricsService::RecallUnsentLogsHelper(list, &local_list)); in TEST()
47 EXPECT_EQ(0U, local_list.size()); in TEST()
53 std::vector<std::string> local_list; in TEST() local
55 local_list.push_back("Hello world!"); in TEST()
56 EXPECT_EQ(1U, local_list.size()); in TEST()
58 MetricsService::StoreUnsentLogsHelper(local_list, kMaxLocalListSize, &list); in TEST()
84 local_list.clear(); in TEST()
[all …]
Dmetrics_service.cc1169 std::vector<std::string>* local_list) { in RecallUnsentLogsHelper() argument
1170 DCHECK(local_list->empty()); in RecallUnsentLogsHelper()
1195 local_list->clear(); in RecallUnsentLogsHelper()
1202 local_list->clear(); in RecallUnsentLogsHelper()
1205 local_list->push_back(decoded_log); in RecallUnsentLogsHelper()
1215 local_list->clear(); in RecallUnsentLogsHelper()
1219 local_list->clear(); in RecallUnsentLogsHelper()
1239 const std::vector<std::string>& local_list, in StoreUnsentLogsHelper() argument
1244 if (local_list.size() > kMaxLocalListSize) in StoreUnsentLogsHelper()
1245 start = local_list.size() - kMaxLocalListSize; in StoreUnsentLogsHelper()
[all …]
Dmetrics_service.h244 std::vector<std::string>* local_list);
246 static void StoreUnsentLogsHelper(const std::vector<std::string>& local_list,
/external/qemu/
Dqemu-sockets-android.c262 SockAddress** local_list = NULL; in inet_dgram_opts() local
310 local_list = sock_address_list_create(addr, port, flags); in inet_dgram_opts()
311 if (local_list == NULL) { in inet_dgram_opts()
317 if (sock_address_get_numeric_info(local_list[0], in inet_dgram_opts()
325 SockAddress *local = local_list[0]; in inet_dgram_opts()
361 if (local_list) in inet_dgram_opts()
362 sock_address_list_free(local_list); in inet_dgram_opts()