Home
last modified time | relevance | path

Searched refs:victim (Results 1 – 25 of 40) sorted by relevance

12

/external/eigen/unsupported/Eigen/CXX11/src/ThreadPool/
DNonBlockingThreadPool.h178 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/u-boot/common/
Ddlmalloc.c1242 mchunkptr victim; /* inspected/selected chunk */ local
1281 victim = last(q);
1284 if (victim == q)
1287 victim = last(q);
1289 if (victim != q)
1291 victim_size = chunksize(victim);
1292 unlink(victim, bck, fwd);
1293 set_inuse_bit_at_offset(victim, victim_size);
1294 check_malloced_chunk(victim, nb);
1295 return chunk2mem(victim);
[all …]
Ddlmalloc.src2107 mchunkptr victim; /* inspected/selected chunk */
2135 victim = last(q);
2138 if (victim == q)
2141 victim = last(q);
2143 if (victim != q)
2145 victim_size = chunksize(victim);
2146 unlink(victim, bck, fwd);
2147 set_inuse_bit_at_offset(victim, victim_size);
2148 check_malloced_chunk(victim, nb);
2149 return chunk2mem(victim);
[all …]
/external/libunwind/src/x86/
DGinit.c94 int i, victim; in validate_mem() local
123 victim = lga_victim; in validate_mem()
125 if (!last_good_addr[victim]) { in validate_mem()
126 last_good_addr[victim++] = addr; in validate_mem()
129 victim = (victim + 1) % NLGA; in validate_mem()
133 last_good_addr[victim] = addr; in validate_mem()
134 victim = (victim + 1) % NLGA; in validate_mem()
135 lga_victim = victim; in validate_mem()
/external/libunwind/src/x86_64/
DGinit.c118 int i, victim; in validate_mem() local
140 victim = lga_victim; in validate_mem()
142 if (!last_good_addr[victim]) { in validate_mem()
143 last_good_addr[victim++] = addr; in validate_mem()
146 victim = (victim + 1) % NLGA; in validate_mem()
150 last_good_addr[victim] = addr; in validate_mem()
151 victim = (victim + 1) % NLGA; in validate_mem()
152 lga_victim = victim; in validate_mem()
/external/blktrace/
Drbtree.c368 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()
Drbtree.h153 extern void rb_replace_node(struct rb_node *victim, struct rb_node *new,
/external/u-boot/lib/
Drbtree.c495 void rb_replace_node(struct rb_node *victim, struct rb_node *new, in rb_replace_node() argument
498 struct rb_node *parent = rb_parent(victim); in rb_replace_node()
501 __rb_change_child(victim, new, parent, root); in rb_replace_node()
502 if (victim->rb_left) in rb_replace_node()
503 rb_set_parent(victim->rb_left, new); in rb_replace_node()
504 if (victim->rb_right) in rb_replace_node()
505 rb_set_parent(victim->rb_right, new); in rb_replace_node()
508 *new = *victim; in rb_replace_node()
/external/e2fsprogs/lib/ext2fs/
Drbtree.c430 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()
Drbtree.h179 extern void ext2fs_rb_replace_node(struct rb_node *victim, struct rb_node *new,
/external/clang/lib/Serialization/
DModuleManager.cpp223 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/
Dformat14 field:unsigned int victim; offset:28; size:4; signed:0;
20victim = %u ofs_unit = %u, pre_victim_secno = %d, prefree = %u, free = %u", ((unsigned int) ((REC-…
/external/dnsmasq/src/
Ddhcp.c445 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/replicaisland/src/com/replica/replicaisland/
DHitReactionComponent.java101 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/chromium-trace/catapult/devil/devil/android/
Dcrash_handler_devicetest.py36 def victim(): function
67 reraiser_thread.RunAsync([crasher, victim]))
/external/tensorflow/tensorflow/core/platform/cloud/
Dhttp_request_fake.h144 const string victim = "/"; in EscapeString() local
149 while ((n = copy_str.find(victim, n)) != std::string::npos) { in EscapeString()
150 copy_str.replace(n, victim.size(), encoded); in EscapeString()
Dcurl_http_request_test.cc206 const string victim = "/"; in curl_easy_escape() local
211 while ((n = temp_str.find(victim, n)) != std::string::npos) { in curl_easy_escape()
212 temp_str.replace(n, victim.size(), encoded); in curl_easy_escape()
/external/u-boot/drivers/mtd/ubi/
Dfastmap-wl.c36 struct ubi_wl_entry *e, *victim = NULL; in find_anchor_wl_entry() local
41 victim = e; in find_anchor_wl_entry()
46 return victim; in find_anchor_wl_entry()
Dfastmap.c277 struct ubi_ainf_peb *aeb, *victim; in update_vol() local
310 victim = kmem_cache_alloc(ai->aeb_slab_cache, in update_vol()
312 if (!victim) in update_vol()
315 victim->ec = aeb->ec; in update_vol()
316 victim->pnum = aeb->pnum; in update_vol()
317 list_add_tail(&victim->u.list, &ai->erase); in update_vol()
/external/python/cpython2/Lib/test/
Dlist_tests.py402 def __init__(self, victim): argument
403 self.victim = victim
405 del self.victim[:]
/external/python/cpython3/Lib/test/
Dlist_tests.py373 def __init__(self, victim): argument
374 self.victim = victim
376 del self.victim[:]
/external/autotest/client/site_tests/cellular_GobiRecoverFromDesync/
Dcellular_GobiRecoverFromDesync.py68 for victim in self.to_kill:
69 victim.kill()
/external/u-boot/include/linux/
Drbtree.h65 extern void rb_replace_node(struct rb_node *victim, struct rb_node *new,
/external/libevent/
Devdns.c2048 struct server_reply_item *victim, *next, **list; in server_request_free_answers() local
2058 victim = *list; in server_request_free_answers()
2059 while (victim) { in server_request_free_answers()
2060 next = victim->next; in server_request_free_answers()
2061 mm_free(victim->name); in server_request_free_answers()
2062 if (victim->data) in server_request_free_answers()
2063 mm_free(victim->data); in server_request_free_answers()
2064 mm_free(victim); in server_request_free_answers()
2065 victim = next; in server_request_free_answers()
4074 struct hosts_entry *victim; in evdns_base_free_and_unlock() local
[all …]
/external/scapy/scapy/layers/
Dl2.py465 def arpcachepoison(target, victim, interval=60): argument
470 p = Ether(dst=tmac)/ARP(op="who-has", psrc=victim, pdst=target)

12