/external/valgrind/main/include/ |
pub_tool_oset.h | 3 /*--- OSet: a fast data structure with no dups. pub_tool_oset.h ---*/ 39 // duplicate to an OSet. 52 // (eg. in an OSet of integers, each integer serves both as an element and 60 // element. This fast comparison is suitable for an OSet containing 66 // Each OSet interface also has an iterator, which makes it simple to 70 // Note that once you insert an element into an OSet, if you modify any part 78 typedef struct _OSet OSet; 92 // * Create: allocates and initialises the OSet. Arguments: 94 // OSet and all its nodes. 107 extern OSet* VG_(OSetWord_Create) ( OSetAlloc_t alloc, const HChar* cc, [all...] |
/external/valgrind/main/drd/ |
drd_clientobj.h | 96 OSet* oset; // Per-thread order annotation information. member in struct:hb_info 127 OSet* oset[2]; // Per-thread barrier information for the latest member in struct:barrier_info 139 OSet* thread_info;
|
drd_barrier.c | 44 // this member variable is the key of an OSet. 134 p->oset[i] = VG_(OSetGen_Create)(0, 0, VG_(malloc), "drd.barrier.bi.1", 141 * all the nodes in the OSet p->oset. 149 OSet* oset; local 166 oset = p->oset[1 - (p->pre_iteration & 1)]; 167 VG_(OSetGen_ResetIter)(oset); 168 for ( ; (q = VG_(OSetGen_Next)(oset)) != 0; ) 334 OSet* oset; local 411 OSet* oset; local [all...] |
drd_clientobj.c | 41 static OSet* s_clientobj_set; 221 * The above call removes an element from the oset and hence
|
pub_drd_bitmap.h | 72 OSet* oset; member in struct:bitmap
|
drd_rwlock.c | 144 DRD_(lookup_or_insert_node)(OSet* oset, const UWord tid) 148 q = VG_(OSetGen_Lookup)(oset, &tid); 151 q = VG_(OSetGen_AllocNode)(oset, sizeof(*q)); 157 VG_(OSetGen_Insert)(oset, q);
|
drd_bitmap.c | 48 static OSet* s_bm2_set_template; 109 bm->oset = VG_(OSetGen_EmptyClone)(s_bm2_set_template); 117 VG_(OSetGen_Destroy)(bm->oset); 351 VG_(OSetGen_ResetIter)(bm->oset); 352 for ( ; (bm2 = VG_(OSetGen_Next)(bm->oset)) != NULL; ) { 953 /* It's not possible to have two independent iterators over the same OSet, */ 957 VG_(OSetGen_ResetIter)(lhs->oset); 958 VG_(OSetGen_ResetIter)(rhs->oset); 960 for ( ; (bm2l = VG_(OSetGen_Next)(lhs->oset)) != 0; ) 967 bm2l = VG_(OSetGen_Next)(lhs->oset); [all...] |
/external/valgrind/main/memcheck/tests/ |
unit_oset.c | 85 void example1singleset(OSet* oset, char *descr) 93 // Try some operations on an empty OSet to ensure they don't screw up. 94 vg_assert( ! VG_(OSetGen_Contains)(oset, &v) ); 95 vg_assert( ! VG_(OSetGen_Lookup)(oset, &v) ); 96 vg_assert( ! VG_(OSetGen_Remove)(oset, &v) ); 97 vg_assert( ! VG_(OSetGen_Next)(oset) ); 98 vg_assert( 0 == VG_(OSetGen_Size)(oset) ); 103 vs[i] = VG_(OSetGen_AllocNode)(oset, sizeof(Word)); 118 VG_(OSetGen_Insert)(oset, vs[i]) 260 OSet *oset, *oset_empty_clone; local 310 OSet* oset = VG_(OSetWord_Create)(allocate_node, "oset_test.2", free_node); local 469 OSet* oset = VG_(OSetGen_Create)(offsetof(Block, first), local [all...] |
/external/valgrind/main/coregrind/m_debuginfo/ |
storage.c | 758 void show_scope ( OSet* /* of DiAddrRange */ scope, const HChar* who ) 779 /*MOD*/OSet* /* of DiAddrRange */ scope, 801 /* It must be present, since the presented OSet must cover 938 OSet* /* of DiAddrRange */ scope; [all...] |
debuginfo.c | 268 OSet* scope = *(OSet**)VG_(indexXA)(di->varinfo, i); [all...] |
readelf.c | 820 OSet *oset; local 836 oset = VG_(OSetGen_Create)( offsetof(TempSym,key), 840 vg_assert(oset); 875 prev = VG_(OSetGen_Lookup)( oset, &key ); [all...] |
/external/llvm/utils/TableGen/ |
CodeGenRegisters.h | 145 // Add sub-registers to OSet following a pre-order defined by the .td file. 146 void addSubRegsPreOrder(SetVector<const CodeGenRegister*> &OSet,
|
CodeGenRegisters.cpp | 520 CodeGenRegister::addSubRegsPreOrder(SetVector<const CodeGenRegister*> &OSet, 525 if (OSet.insert(SR)) 526 SR->addSubRegsPreOrder(OSet, RegBank); 531 OSet.insert(I->second); [all...] |
/external/valgrind/main/exp-bbv/ |
bbv_main.c | 72 static OSet* instr_info_table; /* table that holds the basic block info */
|
/external/valgrind/main/cachegrind/ |
cg_main.c | 138 static OSet* CC_table; 163 static OSet* instrInfoTable; 173 static OSet* stringTable; [all...] |
/external/valgrind/main/coregrind/ |
m_redir.c | 294 static OSet* activeSet = NULL; [all...] |
m_oset.c | 91 // Internal names for the OSet types. 92 typedef OSet AvlTree; 109 // An OSet (AVL tree). If cmp is NULL, the key must be a UWord, and must 534 vg_assert2(0, "OSet{Word,Gen}_Insert: duplicate element added"); 861 // set up 'oset' for iteration so that the first key subsequently 865 void VG_(OSetGen_ResetIterAt)(AvlTree* oset, const void* k) 871 vg_assert(oset); 872 stackClear(oset); 874 if (!oset->root) 878 t = oset->root [all...] |
/external/valgrind/main/memcheck/ |
mc_main.c | 370 LAYOUT: the first word has to be the key for OSet fast lookups. 392 static OSet* auxmap_L2 = NULL; 867 static OSet* secVBitTable; [all...] |
mc_leakcheck.c | 465 static OSet* lr_table; [all...] |
/external/valgrind/main/coregrind/m_syswrap/ |
syswrap-darwin.c | [all...] |