/system/sepolicy/tools/fc_sort/ |
D | fc_sort.c | 214 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/ |
D | showmap.cpp | 132 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/ |
D | SocketClient.cpp | 117 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/ |
D | hashmap.c | 202 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 = ¤t->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/ |
D | metrics_log.cc | 69 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()
|
D | upload_service.cc | 76 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/ |
D | message_loop_event_dispatcher.cc | 29 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/ |
D | event_dispatcher.cc | 40 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/ |
D | generic_variables_unittest.cc | 175 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()
|
D | evaluation_context_unittest.cc | 221 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()
|
D | update_manager_unittest.cc | 257 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()
|
D | real_device_policy_provider.cc | 45 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/ |
D | event_dispatcher.cc | 40 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/ |
D | mock_http_fetcher.cc | 89 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()
|
D | libcurl_http_fetcher.cc | 392 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()
|
D | http_fetcher_unittest.cc | 388 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 …]
|
D | cpu_limiter.cc | 48 manage_shares_id_ = brillo::MessageLoop::current()->PostDelayedTask( in StartLimiter() 59 brillo::MessageLoop::current()->CancelTask(manage_shares_id_); in StopLimiter()
|
D | http_fetcher.cc | 30 MessageLoop::current()->CancelTask(no_resolver_idle_id_); in ~HttpFetcher() 56 no_resolver_idle_id_ = MessageLoop::current()->PostTask( in ResolveProxiesForUrl()
|
/system/extras/tests/lib/testUtil/ |
D | testUtil.c | 266 struct timespec start, current, delta; in testDelay() local 274 clock_gettime(CLOCK_MONOTONIC, ¤t); in testDelay() 277 delta = tsDelta(&start, ¤t); in testDelay() 292 struct timespec start, current, delta; in testDelaySpin() local 299 clock_gettime(CLOCK_MONOTONIC, ¤t); in testDelaySpin() 302 delta = tsDelta(&start, ¤t); in testDelaySpin()
|
/system/update_engine/ |
D | chrome_browser_proxy_resolver_unittest.cc | 115 MessageLoop::current()->BreakLoop(); in CheckResponseResolved() 121 MessageLoop::current()->BreakLoop(); in CheckResponseNoReply() 144 MessageLoop::current()->PostDelayedTask( in RunTest() 155 MessageLoop::current()->Run(); in RunTest()
|
D | proxy_resolver.cc | 37 MessageLoop::current()->CancelTask(idle_callback_id_); in ~DirectProxyResolver() 45 idle_callback_id_ = MessageLoop::current()->PostTask( in GetProxiesForUrl()
|
/system/core/init/parser/ |
D | tokenizer_test.cpp | 27 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/ |
D | utility.cpp | 180 size_t current = 0; local 189 if (current >= start && current + sizeof(uintptr_t) <= total_bytes) { 206 current += sizeof(uintptr_t);
|
/system/core/adb/ |
D | adb_auth.h | 43 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/ |
D | pwrsummary.sh | 166 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…
|