Home
last modified time | relevance | path

Searched refs:current (Results 1 – 25 of 128) sorted by relevance

123456

/system/sepolicy/tools/fc_sort/
Dfc_sort.c214 file_context_bucket_t *current; in fc_merge_sort() local
221 current = master; in fc_merge_sort()
224 while (current) { in fc_merge_sort()
226 if (current->next) { in fc_merge_sort()
228 current->data = in fc_merge_sort()
229 fc_merge(current->data, in fc_merge_sort()
230 current->next->data); in fc_merge_sort()
234 temp = current->next; in fc_merge_sort()
235 current->next = current->next->next; in fc_merge_sort()
242 current = current->next; in fc_merge_sort()
[all …]
/system/extras/showmap/
Dshowmap.cpp132 mapinfo *current = *head; in enqueue_map() local
139 if (current && coalesce_by_name && !strcmp(map->name, current->name)) { in enqueue_map()
140 current->size += map->size; in enqueue_map()
141 current->rss += map->rss; in enqueue_map()
142 current->pss += map->pss; in enqueue_map()
143 current->shared_clean += map->shared_clean; in enqueue_map()
144 current->shared_dirty += map->shared_dirty; in enqueue_map()
145 current->private_clean += map->private_clean; in enqueue_map()
146 current->private_dirty += map->private_dirty; in enqueue_map()
147 current->swap += map->swap; in enqueue_map()
[all …]
/system/core/libsysutils/src/
DSocketClient.cpp117 char *current = result; in quoteArg() local
126 *(current++) = '"'; in quoteArg()
131 *(current++) = '\\'; // fallthrough in quoteArg()
133 *(current++) = *(arg++); in quoteArg()
136 *(current++) = '"'; in quoteArg()
137 *(current++) = '\0'; in quoteArg()
139 result = (char *)realloc(result, current-result); in quoteArg()
186 int current = 0; in sendDataLockedv() local
195 writev(mSocket, iov + current, iovcnt - current)); in sendDataLockedv()
199 while ((current < iovcnt) && (written >= iov[current].iov_len)) { in sendDataLockedv()
[all …]
/system/core/libcutils/
Dhashmap.c202 Entry* current = *p; in hashmapPut() local
205 if (current == NULL) { in hashmapPut()
217 if (equalKeys(current->key, current->hash, key, hash, map->equals)) { in hashmapPut()
218 void* oldValue = current->value; in hashmapPut()
219 current->value = value; in hashmapPut()
224 p = &current->next; in hashmapPut()
265 Entry* current = *p; in hashmapMemoize() local
268 if (current == NULL) { in hashmapMemoize()
282 if (equalKeys(current->key, current->hash, key, hash, map->equals)) { in hashmapMemoize()
283 return current->value; in hashmapMemoize()
[all …]
/system/core/metricsd/uploader/
Dmetrics_log.cc69 int current = stability->other_user_crash_count(); in IncrementUserCrashCount() local
70 stability->set_other_user_crash_count(current + count); in IncrementUserCrashCount()
76 int current = stability->kernel_crash_count(); in IncrementKernelCrashCount() local
77 stability->set_kernel_crash_count(current + count); in IncrementKernelCrashCount()
83 int current = stability->unclean_system_shutdown_count(); in IncrementUncleanShutdownCount() local
84 stability->set_unclean_system_shutdown_count(current + count); in IncrementUncleanShutdownCount()
Dupload_service.cc76 base::MessageLoop::current()->PostDelayedTask( in OnInit()
81 base::MessageLoop::current()->PostDelayedTask( in OnInit()
108 base::MessageLoop::current()->PostDelayedTask( in UploadEventCallback()
117 base::MessageLoop::current()->PostDelayedTask( in PersistEventCallback()
/system/connectivity/dhcp_client/
Dmessage_loop_event_dispatcher.cc29 if (!base::MessageLoop::current()) in PostTask()
31 base::MessageLoop::current()->PostTask(FROM_HERE, task); in PostTask()
37 if (!base::MessageLoop::current()) in PostDelayedTask()
39 base::MessageLoop::current()->PostDelayedTask( in PostDelayedTask()
/system/connectivity/apmanager/
Devent_dispatcher.cc40 if (!base::MessageLoop::current()) in PostTask()
42 base::MessageLoop::current()->PostTask(FROM_HERE, task); in PostTask()
48 if (!base::MessageLoop::current()) in PostDelayedTask()
50 base::MessageLoop::current()->PostDelayedTask( in PostDelayedTask()
/system/update_engine/update_manager/
Dgeneric_variables_unittest.cc175 MessageLoopRunMaxIterations(MessageLoop::current(), 100); in TEST_F()
183 MessageLoopRunMaxIterations(MessageLoop::current(), 100); in TEST_F()
203 MessageLoopRunMaxIterations(MessageLoop::current(), 100); in TEST_F()
208 MessageLoopRunMaxIterations(MessageLoop::current(), 100); in TEST_F()
213 MessageLoopRunMaxIterations(MessageLoop::current(), 100); in TEST_F()
218 MessageLoopRunMaxIterations(MessageLoop::current(), 100); in TEST_F()
Devaluation_context_unittest.cc221 MessageLoopRunMaxIterations(MessageLoop::current(), 100); in TEST_F()
228 MessageLoopRunMaxIterations(MessageLoop::current(), 100); in TEST_F()
243 MessageLoopRunMaxIterations(MessageLoop::current(), 100); in TEST_F()
255 MessageLoopRunMaxIterations(MessageLoop::current(), 10); in TEST_F()
257 MessageLoopRunUntil(MessageLoop::current(), in TEST_F()
272 MessageLoopRunMaxIterations(MessageLoop::current(), 10); in TEST_F()
274 MessageLoopRunUntil(MessageLoop::current(), in TEST_F()
299 MessageLoopRunMaxIterations(MessageLoop::current(), 100); in TEST_F()
318 MessageLoopRunUntil(MessageLoop::current(), in TEST_F()
349 MessageLoopRunUntil(MessageLoop::current(), in TEST_F()
Dupdate_manager_unittest.cc257 MessageLoopRunMaxIterations(MessageLoop::current(), 100); in TEST_F()
274 MessageLoopRunMaxIterations(MessageLoop::current(), 100); in TEST_F()
281 MessageLoopRunMaxIterations(MessageLoop::current(), 10); in TEST_F()
302 MessageLoopRunMaxIterations(MessageLoop::current(), 100); in TEST_F()
311 MessageLoopRunMaxIterations(MessageLoop::current(), 10); in TEST_F()
319 MessageLoopRunMaxIterations(MessageLoop::current(), 10); in TEST_F()
Dreal_device_policy_provider.cc45 MessageLoop::current()->CancelTask(scheduled_refresh_); in ~RealDevicePolicyProvider()
72 MessageLoop::current()->CancelTask(scheduled_refresh_); in OnPropertyChangedCompletedSignal()
93 scheduled_refresh_ = MessageLoop::current()->PostDelayedTask( in RefreshDevicePolicyAndReschedule()
/system/connectivity/shill/
Devent_dispatcher.cc40 base::MessageLoop::current()->Run(); in DispatchForever()
48 base::MessageLoop::current()->PostTask(FROM_HERE, task); in PostTask()
52 base::MessageLoop::current()->PostDelayedTask( in PostDelayedTask()
/system/update_engine/common/
Dmock_http_fetcher.cc89 timeout_id_ = MessageLoop::current()->PostDelayedTask( in SendData()
101 timeout_id_ = MessageLoop::current()->PostDelayedTask( in TimeoutCallback()
116 MessageLoop::current()->CancelTask(timeout_id_); in TerminateTransfer()
129 MessageLoop::current()->CancelTask(timeout_id_); in Pause()
Dlibcurl_http_fetcher.cc392 MessageLoop::current()->PostDelayedTask( in CurlPerformOnce()
418 MessageLoop::current()->PostTask( in CurlPerformOnce()
443 MessageLoop::current()->PostDelayedTask( in CurlPerformOnce()
579 MessageLoop::current()->CancelTask(fd_task_it->second); in SetupMessageLoopSources()
590 fd_task_maps_[t][fd] = MessageLoop::current()->WatchFileDescriptor( in SetupMessageLoopSources()
609 timeout_id_ = MessageLoop::current()->PostDelayedTask( in SetupMessageLoopSources()
630 timeout_id_ = MessageLoop::current()->PostDelayedTask( in TimeoutCallback()
642 MessageLoop::current()->CancelTask(timeout_id_); in CleanUp()
647 if (!MessageLoop::current()->CancelTask(fd_taks_pair.second)) { in CleanUp()
Dhttp_fetcher_unittest.cc388 MessageLoop::current()->BreakLoop(); in TransferComplete()
524 MessageLoop::current()->BreakLoop(); in TransferComplete()
543 *my_id = MessageLoop::current()->PostDelayedTask( in UnpausingTimeoutCallback()
605 MessageLoop::current()->BreakLoop(); in TransferComplete()
622 MessageLoop::current()->BreakLoop(); in EndLoop()
633 *my_id = MessageLoop::current()->PostTask( in AbortingTimeoutCallback()
677 MessageLoop::current()->BreakLoop(); in TransferComplete()
746 MessageLoop::current()->BreakLoop(); in TransferComplete()
865 MessageLoop::current()->BreakLoop(); in TransferComplete()
883 MessageLoop::current()->PostTask(FROM_HERE, base::Bind( in RedirectTest()
[all …]
Dcpu_limiter.cc48 manage_shares_id_ = brillo::MessageLoop::current()->PostDelayedTask( in StartLimiter()
59 brillo::MessageLoop::current()->CancelTask(manage_shares_id_); in StopLimiter()
Dhttp_fetcher.cc30 MessageLoop::current()->CancelTask(no_resolver_idle_id_); in ~HttpFetcher()
56 no_resolver_idle_id_ = MessageLoop::current()->PostTask( in ResolveProxiesForUrl()
/system/extras/tests/lib/testUtil/
DtestUtil.c266 struct timespec start, current, delta; in testDelay() local
274 clock_gettime(CLOCK_MONOTONIC, &current); in testDelay()
277 delta = tsDelta(&start, &current); in testDelay()
292 struct timespec start, current, delta; in testDelaySpin() local
299 clock_gettime(CLOCK_MONOTONIC, &current); in testDelaySpin()
302 delta = tsDelta(&start, &current); in testDelaySpin()
/system/update_engine/
Dchrome_browser_proxy_resolver_unittest.cc115 MessageLoop::current()->BreakLoop(); in CheckResponseResolved()
121 MessageLoop::current()->BreakLoop(); in CheckResponseNoReply()
144 MessageLoop::current()->PostDelayedTask( in RunTest()
155 MessageLoop::current()->Run(); in RunTest()
Dproxy_resolver.cc37 MessageLoop::current()->CancelTask(idle_callback_id_); in ~DirectProxyResolver()
45 idle_callback_id_ = MessageLoop::current()->PostTask( in GetProxiesForUrl()
/system/core/init/parser/
Dtokenizer_test.cpp27 ASSERT_EQ(Tokenizer::TOK_START, tokenizer.current().type)
31 ASSERT_EQ(test_text, tokenizer.current().text); \
32 ASSERT_EQ(Tokenizer::TOK_TEXT, tokenizer.current().type)
36 ASSERT_EQ(Tokenizer::TOK_NEWLINE, tokenizer.current().type)
/system/core/debuggerd/
Dutility.cpp180 size_t current = 0; local
189 if (current >= start && current + sizeof(uintptr_t) <= total_bytes) {
206 current += sizeof(uintptr_t);
/system/core/adb/
Dadb_auth.h43 void *adb_auth_nextkey(void *current);
56 static inline void *adb_auth_nextkey(void *current) { return NULL; } in adb_auth_nextkey() argument
/system/extras/tests/workloads/
Dpwrsummary.sh166 current=$(echo $1 $baselineCurrent | awk '{ printf "%.2f", $1-$2; }')
196 …printf "%s,%s,%f,%f,%f,%f,%f,%f," $testdir "$build" $minperf $aveperf $maxperf $current $baselineP…
199 ….2f %12.2f %12.2f %12.2f " $testdir "$build" $minperf $aveperf $maxperf $current $baselinePower $p…

123456