/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/src/scheduling/ |
D | WorkQueue.kt | 108 fun tryStealFrom(victim: WorkQueue): Long { in tryStealFrom() 110 val task = victim.pollBuffer() in tryStealFrom() 116 return tryStealLastScheduled(victim, blockingOnly = false) in tryStealFrom() 119 fun tryStealBlockingFrom(victim: WorkQueue): Long { in tryStealBlockingFrom() 121 var start = victim.consumerIndex.value in tryStealBlockingFrom() 122 val end = victim.producerIndex.value in tryStealBlockingFrom() 123 val buffer = victim.buffer in tryStealBlockingFrom() 127 if (victim.blockingTasksInBuffer.value == 0) break in tryStealBlockingFrom() 130 victim.blockingTasksInBuffer.decrementAndGet() in tryStealBlockingFrom() 137 return tryStealLastScheduled(victim, blockingOnly = true) in tryStealBlockingFrom() [all …]
|
/external/curl/tests/unit/ |
D | unit1655.c | 103 struct demo victim; variable 106 victim.canary1 = 87; /* magic numbers, arbritrarily picked */ 107 victim.canary2 = 35; 108 victim.canary3 = 41; 109 d = doh_encode(name, DNS_TYPE_A, victim.dohbuffer, 117 fail_if(victim.canary1 == 87, 121 fail_unless(victim.canary1 == 87, 124 fail_unless(victim.canary2 == 35, 126 fail_unless(victim.canary3 == 41, 131 fail_unless(olen <= sizeof(victim.dohbuffer), "wrote outside bounds");
|
/external/eigen/unsupported/Eigen/CXX11/src/ThreadPool/ |
D | NonBlockingThreadPool.h | 178 unsigned victim = r % size; in Steal() local 180 Task t = queues_[victim]->PopBack(); in Steal() 184 victim += inc; in Steal() 185 if (victim >= size) { in Steal() 186 victim -= size; in Steal() 201 int victim = NonEmptyQueueIndex(); in WaitForWork() local 202 if (victim != -1) { in WaitForWork() 204 *t = queues_[victim]->PopBack(); in WaitForWork() 242 unsigned victim = r % size; in NonEmptyQueueIndex() local 244 if (!queues_[victim]->Empty()) { in NonEmptyQueueIndex() [all …]
|
/external/llvm-project/lldb/test/API/driver/batch_mode/ |
D | TestBatchMode.py | 108 if self.victim is not None: 109 self.victim.close() 110 self.victim = None 127 self.victim = pexpect.spawn('%s WAIT' % (exe)) 128 if self.victim is None: 133 self.victim.expect("PID: ([0-9]+) END") 134 victim_pid = int(self.victim.match.group(1)) 136 self.victim.expect("Waiting") 159 self.victim.expect(pexpect.EOF)
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/scheduling/ |
D | WorkQueueTest.kt | 57 val victim = WorkQueue() in <lambda>() constant 58 victim.add(task(1L)) in <lambda>() 59 victim.add(task(2L)) in <lambda>() 64 assertEquals(TASK_STOLEN, stealer.tryStealFrom(victim)) in <lambda>() 67 assertEquals(TASK_STOLEN, stealer.tryStealFrom(victim)) in <lambda>()
|
/external/blktrace/ |
D | rbtree.c | 368 void rb_replace_node(struct rb_node *victim, struct rb_node *new, in rb_replace_node() argument 371 struct rb_node *parent = rb_parent(victim); in rb_replace_node() 375 if (victim == parent->rb_left) in rb_replace_node() 382 if (victim->rb_left) in rb_replace_node() 383 rb_set_parent(victim->rb_left, new); in rb_replace_node() 384 if (victim->rb_right) in rb_replace_node() 385 rb_set_parent(victim->rb_right, new); in rb_replace_node() 388 *new = *victim; in rb_replace_node()
|
D | rbtree.h | 153 extern void rb_replace_node(struct rb_node *victim, struct rb_node *new,
|
/external/e2fsprogs/lib/ext2fs/ |
D | rbtree.c | 430 void ext2fs_rb_replace_node(struct rb_node *victim, struct rb_node *new, in ext2fs_rb_replace_node() argument 433 struct rb_node *parent = ext2fs_rb_parent(victim); in ext2fs_rb_replace_node() 437 if (victim == parent->rb_left) in ext2fs_rb_replace_node() 444 if (victim->rb_left) in ext2fs_rb_replace_node() 445 ext2fs_rb_set_parent(victim->rb_left, new); in ext2fs_rb_replace_node() 446 if (victim->rb_right) in ext2fs_rb_replace_node() 447 ext2fs_rb_set_parent(victim->rb_right, new); in ext2fs_rb_replace_node() 450 *new = *victim; in ext2fs_rb_replace_node()
|
D | rbtree.h | 179 extern void ext2fs_rb_replace_node(struct rb_node *victim, struct rb_node *new,
|
/external/webrtc/stats/ |
D | rtc_stats_report.cc | 102 rtc::scoped_refptr<RTCStatsReport> victim) { in TakeMembersFrom() argument 103 for (StatsMap::iterator it = victim->stats_.begin(); in TakeMembersFrom() 104 it != victim->stats_.end(); ++it) { in TakeMembersFrom() 107 victim->stats_.clear(); in TakeMembersFrom()
|
/external/clang/lib/Serialization/ |
D | ModuleManager.cpp | 223 for (ModuleIterator victim = first; victim != last; ++victim) { in removeModules() local 224 Modules.erase((*victim)->File); in removeModules() 227 StringRef ModuleName = (*victim)->ModuleName; in removeModules() 236 if (LoadedSuccessfully.count(*victim) == 0) in removeModules() 237 FileMgr.invalidateCache((*victim)->File); in removeModules() 239 delete *victim; in removeModules()
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/events/f2fs/f2fs_get_victim/ |
D | format | 14 field:unsigned int victim; offset:28; size:4; signed:0; 20 …victim = %u ofs_unit = %u, pre_victim_secno = %d, prefree = %u, free = %u", ((unsigned int) ((REC-…
|
/external/llvm-project/openmp/runtime/src/ |
D | kmp_dispatch.cpp | 1231 dispatch_private_info_template<T> *victim; in __kmp_dispatch_next_algorithm() local 1235 victim = reinterpret_cast<dispatch_private_info_template<T> *>( in __kmp_dispatch_next_algorithm() 1237 KMP_DEBUG_ASSERT(victim); in __kmp_dispatch_next_algorithm() 1238 while ((victim == pr || id != victim->u.p.static_steal_counter) && in __kmp_dispatch_next_algorithm() 1241 victim = reinterpret_cast<dispatch_private_info_template<T> *>( in __kmp_dispatch_next_algorithm() 1243 KMP_DEBUG_ASSERT(victim); in __kmp_dispatch_next_algorithm() 1245 if (victim == pr || id != victim->u.p.static_steal_counter) { in __kmp_dispatch_next_algorithm() 1250 if (victim->u.p.count + 2 > (UT)victim->u.p.ub) { in __kmp_dispatch_next_algorithm() 1255 lck = victim->u.p.th_steal_lock; in __kmp_dispatch_next_algorithm() 1258 limit = victim->u.p.ub; // keep initial ub in __kmp_dispatch_next_algorithm() [all …]
|
/external/libcap/tests/ |
D | exploit.c | 65 static void *victim(void *args) { in victim() function 87 if (pthread_create(&peer, NULL, victim, NULL)) { in main()
|
/external/replicaisland/src/com/replica/replicaisland/ |
D | HitReactionComponent.java | 101 public void hitVictim(GameObject parent, GameObject victim, int hitType, in hitVictim() argument 114 mLauncherComponent.prepareToLaunch(victim, parent); in hitVictim() 129 victim.getPosition().x : parent.getPosition().x; in hitVictim() 131 victim.getPosition().y : parent.getPosition().y; in hitVictim()
|
/external/dnsmasq/src/ |
D | dhcp.c | 445 struct ping_result *r, *victim = NULL; in address_allocate() local 461 victim = r; /* old record */ in address_allocate() 471 if (!victim) { in address_allocate() 472 if ((victim = whine_malloc(sizeof(struct ping_result)))) { in address_allocate() 473 victim->next = daemon->ping_results; in address_allocate() 474 daemon->ping_results = victim; in address_allocate() 480 if (victim) { in address_allocate() 481 victim->addr = addr; in address_allocate() 482 victim->time = now; in address_allocate()
|
/external/chromium-trace/catapult/devil/devil/android/ |
D | crash_handler_devicetest.py | 39 def victim(): function 74 self.assertEquals([True, True], reraiser_thread.RunAsync([crasher, victim]))
|
/external/tensorflow/tensorflow/core/platform/cloud/ |
D | http_request_fake.h | 145 const string victim = "/"; in EscapeString() local 150 while ((n = copy_str.find(victim, n)) != std::string::npos) { in EscapeString() 151 copy_str.replace(n, victim.size(), encoded); in EscapeString()
|
/external/llvm-project/clang/lib/Serialization/ |
D | ModuleManager.cpp | 285 for (ModuleIterator victim = First; victim != Last; ++victim) { in removeModules() local 286 Modules.erase(victim->File); in removeModules() 289 StringRef ModuleName = victim->ModuleName; in removeModules()
|
/external/libabigail/tests/data/test-abidiff-exit/ |
D | test-net-change-v0.c | 14 void victim(struct type_changed * dummy) { (void)dummy->x; } in victim() function
|
D | test-net-change-v1.c | 14 void victim(struct type_changed * dummy) { (void)dummy->x; } in victim() function
|
D | test-net-change-report0.txt | 19 [C] 'function void victim(type_changed*)' has some indirect sub-type changes:
|
/external/rust/crates/rayon-core/src/ |
D | log.rs | 88 JobStolen { worker: usize, victim: usize }, 350 Event::JobStolen { victim, .. } => { in simulate() 351 self.local_queue_size[victim] -= 1; in simulate()
|
/external/python/cpython2/Lib/test/ |
D | list_tests.py | 402 def __init__(self, victim): argument 403 self.victim = victim 405 del self.victim[:]
|
/external/python/cpython3/Lib/test/ |
D | list_tests.py | 388 def __init__(self, victim): argument 389 self.victim = victim 391 del self.victim[:]
|