Home
last modified time | relevance | path

Searched refs:Word (Results 1 – 25 of 165) sorted by relevance

1234567

/external/valgrind/main/cachegrind/
Dcg_merge.c43 typedef signed long Word; typedef
66 Word (*kCmp)(Word,Word) );
71 Word (*kCmp)(Word,Word) );
75 void deleteFM ( WordFM*, void(*kFin)(Word), void(*vFin)(Word) );
80 void addToFM ( WordFM* fm, Word k, Word v );
83 Bool delFromFM ( WordFM* fm, /*OUT*/Word* oldV, Word key );
86 Bool lookupFM ( WordFM* fm, /*OUT*/Word* valP, Word key );
88 Word sizeFM ( WordFM* fm );
95 Bool nextIterFM ( WordFM* fm, /*OUT*/Word* pKey, /*OUT*/Word* pVal );
106 WordFM* dopyFM ( WordFM* fm, Word(*dopyK)(Word), Word(*dopyV)(Word) );
[all …]
/external/valgrind/main/include/
Dpub_tool_xarray.h55 Word elemSzB );
68 extern Word VG_(addToXA) ( XArray*, void* elem );
73 extern Word VG_(addBytesToXA) ( XArray* xao, void* bytesV, Word nbytes );
85 /*OUT*/Word* first, /*OUT*/Word* last );
96 /*OUT*/Word* first, /*OUT*/Word* last,
100 extern Word VG_(sizeXA) ( XArray* );
109 extern void* VG_(indexXA) ( XArray*, Word );
113 extern void VG_(dropTailXA) ( XArray*, Word );
118 extern void VG_(dropHeadXA) ( XArray*, Word );
136 /*OUT*/Word* usedP );
Dpub_tool_basics.h87 typedef signed long Word; // 32 64 typedef
100 typedef Word SSizeT; // 32 64
106 typedef Word PtrdiffT; // 32 64
115 typedef Word OffT; // 32 64
Dpub_tool_oset.h79 typedef Word (*OSetCmp_t) ( const void* key, const void* elem );
146 extern Word VG_(OSetWord_Size) ( OSet* os );
246 extern Word VG_(OSetGen_Size) ( const OSet* os );
/external/elfutils/libelf/
Dabstract.h58 TYPE_NAME (ElfW2(Bits, Ext##Word), e_version) \
62 TYPE_NAME (ElfW2(Bits, Ext##Word), e_flags) \
80 TYPE_NAME (ElfW2(32, Ext##Word), p_type) \
84 TYPE_NAME (ElfW2(32, Ext##Word), p_filesz) \
85 TYPE_NAME (ElfW2(32, Ext##Word), p_memsz) \
86 TYPE_NAME (ElfW2(32, Ext##Word), p_flags) \
87 TYPE_NAME (ElfW2(32, Ext##Word), p_align) \
91 TYPE_NAME (ElfW2(64, Ext##Word), p_type) \
92 TYPE_NAME (ElfW2(64, Ext##Word), p_flags) \
105 TYPE_NAME (ElfW2(32, Ext##Word), sh_name) \
[all …]
/external/valgrind/main/memcheck/tests/amd64/
Dbt_everything.c14 typedef signed long int Word; typedef
18 ULong btsq_mem ( char* base, Word bitno ) in btsq_mem()
32 ULong btrq_mem ( char* base, Word bitno ) in btrq_mem()
43 ULong btcq_mem ( char* base, Word bitno ) in btcq_mem()
54 ULong btq_mem ( char* base, Word bitno ) in btq_mem()
69 ULong btsl_mem ( char* base, Word bitno ) in btsl_mem()
83 ULong btrl_mem ( char* base, Word bitno ) in btrl_mem()
94 ULong btcl_mem ( char* base, Word bitno ) in btcl_mem()
105 ULong btl_mem ( char* base, Word bitno ) in btl_mem()
121 ULong btsw_mem ( char* base, Word bitno ) in btsw_mem()
[all …]
/external/oprofile/events/ppc64/cell-be/
Dunit_masks15 0x010 PPU Bus Word 0 [mandatory]
20 0x010 PPU Bus Word 0 [mandatory]
25 0x040 PPU Bus Word 2 [mandatory]
30 0x040 PPU Bus Word 2 [mandatory]
35 0x010 PPU Bus Word 0 [optional ]
36 0x020 PPU Bus Word 1 [default ]
41 0x010 PPU Bus Word 0 [optional ]
42 0x020 PPU Bus Word 1 [default ]
48 0x010 PPU Bus Word 0 [optional ]
49 0x020 PPU Bus Word 1 [default ]
[all …]
/external/valgrind/main/coregrind/
Dm_xarray.c45 Word elemSzB; /* element size in bytes */
47 Word usedsizeE; /* # used elements in arr */
48 Word totsizeE; /* max size of arr, in elements */
56 Word elemSzB ) in VG_()
61 vg_assert( sizeof(Word) == sizeof(void*) ); in VG_()
62 vg_assert( ((Word)(-1)) < ((Word)(0)) ); in VG_()
137 inline void* VG_(indexXA) ( XArray* xao, Word n ) in VG_()
150 Word newsz; in ensureSpaceXA()
181 Word VG_(addToXA) ( XArray* xao, void* elem ) in VG_()
198 Word VG_(addBytesToXA) ( XArray* xao, void* bytesV, Word nbytes ) in VG_()
[all …]
Dm_vkiscnums.c49 Char* VG_(sysnum_string)(Word sysnum, SizeT n_buf, Char* buf) in VG_()
55 Char* VG_(sysnum_string_extra)(Word sysnum, SizeT n_buf, Char* buf) in VG_()
64 Char* VG_(sysnum_string)(Word sysnum, SizeT n_buf, Char* buf) in VG_()
79 Char* VG_(sysnum_string_extra)(Word sysnum, SizeT n_buf, Char* buf) in VG_()
Dm_wordfm.c87 Word (*kCmp)(UWord,UWord);
94 static Bool avl_removeroot_wrk(AvlNode** t, Word(*kCmp)(UWord,UWord));
148 static inline Word cmp_unsigned_Words ( UWord w1, UWord w2 ) { in cmp_unsigned_Words()
164 Word (*kCmp)(UWord,UWord) ) in avl_insert_wrk()
166 Word cmpres; in avl_insert_wrk()
265 Word(*kCmp)(UWord,UWord) ) in avl_remove_wrk()
268 Word cmpres; in avl_remove_wrk()
357 Word(*kCmp)(UWord,UWord) ) in avl_removeroot_wrk()
392 AvlNode* avl_find_node ( AvlNode* t, Word k, Word(*kCmp)(UWord,UWord) ) in avl_find_node()
396 Word cmpresS; in avl_find_node()
[all …]
Dm_oset.c117 Word nElems; // number of elements in the tree
177 static inline Word fast_cmp(const void* k, const AvlNode* n) in fast_cmp()
194 inline Word slow_cmp(const AvlTree* t, const void* k, const AvlNode* n) in slow_cmp()
323 Word sz = 0; in VG_()
379 static inline Word cmp_key_root(AvlTree* t, AvlNode* n) in cmp_key_root()
390 Word cmpres = cmp_key_root(t, n); in avl_insert()
490 Word* node = VG_(OSetGen_AllocNode)(t, sizeof(UWord)); in VG_()
502 Word cmpres; in avl_lookup()
577 Word cmpres = cmp_key_root(t, n); in avl_remove()
792 Word cmpresS; /* signed */ in VG_()
[all …]
Dm_libcbase.c657 swaptype = ((a-(Char*)0) | es) % sizeof(Word) ? 2 \
658 : es > (SizeT)sizeof(Word) ? 1 \
667 : (void)BM_EXCH(*(Word*)(a), *(Word*)(b), t)
676 pv = (Char*)&v, v = *(Word*)pm
688 Word t; in bm_swapfunc()
689 for ( ; n > 0; a += sizeof(Word), b += sizeof(Word), in bm_swapfunc()
690 n -= sizeof(Word)) in bm_swapfunc()
691 BM_EXCH(*(Word*)a, *(Word*)b, t); in bm_swapfunc()
704 Word t, v; in bm_qsort()
/external/webkit/Source/WebKit/android/content/
Daddress_detector.h66 struct Word { struct
70 Word() {} in Word() function
71 Word(const string16::const_iterator& begin_it, in Word() argument
85 Word* word);
92 inline bool CheckFinished(Word* word) const;
113 typedef std::vector<Word> WordList;
123 static bool IsValidLocationName(const Word& word);
124 static bool IsZipValid(const Word& word, size_t state_index);
125 static bool IsZipValidForState(const Word& word, size_t state_index);
/external/valgrind/main/helgrind/
Dhg_main.c263 VG_(addToBag)( lk->heldBy, (Word)thr ); in lockN_acquire_writer()
273 tl_assert(VG_(elemBag)(lk->heldBy, (Word)thr) in lockN_acquire_writer()
275 VG_(addToBag)(lk->heldBy, (Word)thr); in lockN_acquire_writer()
313 VG_(addToBag)(lk->heldBy, (Word)thr); in lockN_acquire_reader()
317 VG_(addToBag)( lk->heldBy, (Word)thr ); in lockN_acquire_reader()
336 b = VG_(delFromBag)(lk->heldBy, (Word)thr); in lockN_release()
359 while (VG_(nextIterBag)( lk->heldBy, (Word*)&thr, NULL )) { in remove_Lock_from_locksets_of_all_owning_Threads()
362 thr->locksetA, (Word)lk )); in remove_Lock_from_locksets_of_all_owning_Threads()
364 = HG_(delFromWS)( univ_lsets, thr->locksetA, (Word)lk ); in remove_Lock_from_locksets_of_all_owning_Threads()
368 thr->locksetW, (Word)lk )); in remove_Lock_from_locksets_of_all_owning_Threads()
[all …]
Dhg_intercepts.c89 Word _arg1; \
90 assert(sizeof(_ty1F) == sizeof(Word)); \
91 _arg1 = (Word)(_arg1F); \
98 Word _arg1, _arg2; \
99 assert(sizeof(_ty1F) == sizeof(Word)); \
100 assert(sizeof(_ty2F) == sizeof(Word)); \
101 _arg1 = (Word)(_arg1F); \
102 _arg2 = (Word)(_arg2F); \
110 Word _res, _arg1, _arg2; \
111 assert(sizeof(_ty1F) == sizeof(Word)); \
[all …]
/external/valgrind/main/memcheck/tests/
Dunit_oset.c66 sprintf(buf, "%ld", *(Word*)p); in wordToStr()
71 static Word wordCmp(void* vkey, void* velem) in wordCmp()
73 return *(Word*)vkey - *(Word*)velem; in wordCmp()
79 Word v, prev; in example1()
80 Word* vs[NN]; in example1()
81 Word *pv; in example1()
99 vs[i] = VG_(OSetGen_AllocNode)(oset, sizeof(Word)); in example1()
104 Word r1 = myrandom() % NN; in example1()
105 Word r2 = myrandom() % NN; in example1()
106 Word* tmp= vs[r1]; in example1()
[all …]
/external/valgrind/main/coregrind/m_debuginfo/
Dpriv_readdwarf.h47 UChar* debug_info_img, Word debug_info_sz, /* .debug_info */
48 UChar* debug_abbv_img, Word debug_abbv_sz, /* .debug_abbrev */
49 UChar* debug_line_img, Word debug_line_sz, /* .debug_line */
50 UChar* debug_str_img, Word debug_str_sz ); /* .debug_str */
Dtytypes.c71 Word i; in pp_XArray_of_cuOffs()
192 Word i, n; in ML_()
257 Word w; in ML_()
307 Word i; in ML_()
321 Word first, last; in ML_()
390 Word ML_(TyEnt__cmp_by_cuOff_only) ( TyEnt* te1, TyEnt* te2 ) in ML_()
400 static __attribute__((always_inline)) Word UWord__cmp ( UWord a, UWord b ) { in UWord__cmp()
405 static __attribute__((always_inline)) Word Long__cmp ( Long a, Long b ) { in Long__cmp()
410 static __attribute__((always_inline)) Word Bool__cmp ( Bool a, Bool b ) { in Bool__cmp()
417 static __attribute__((always_inline)) Word UChar__cmp ( UChar a, UChar b ) { in UChar__cmp()
[all …]
Dpriv_tytypes.h83 Word offset; /* or offset from the beginning of containing
86 Word nLoc; /* number of bytes in .pos.loc if >= 0, or -1
155 Word ML_(TyEnt__cmp_by_cuOff_only) ( TyEnt* te1, TyEnt* te2 );
159 Word ML_(TyEnt__cmp_by_all_except_cuOff) ( TyEnt* te1, TyEnt* te2 );
Dstorage.c676 Word ML_(cmp_for_DiAddrRange_range) ( const void* keyV, in ML_()
1017 Word i, nInThisScope; in canonicaliseVarInfo()
1145 Word cmp; in preferName()
1146 Word vlena, vlenb; /* length without version */ in preferName()
1287 Word n_new_sec = 1; in add_DiSym_names_to_from()
1308 Word i = 0; in add_DiSym_names_to_from()
1334 Word i, j, n_truncated; in canonicaliseSymtab()
1363 Word r, w, n_merged; in canonicaliseSymtab()
1411 for (i = 0; i < ((Word)di->symtab_used) -1; i++) { in canonicaliseSymtab()
1485 while (j < ((Word)di->symtab_used)-1 in canonicaliseSymtab()
[all …]
/external/valgrind/main/drd/
Ddrd_clientobj.h123 Word count; // Participant count in a barrier wait.
124 Word pre_iteration; // pre barrier completion count modulo two.
125 Word post_iteration; // post barrier completion count modulo two.
126 Word pre_waiters_left; // number of waiters left for a complete barrier.
127 Word post_waiters_left; // number of waiters left for a complete barrier.
Ddrd_semaphore.h42 const Word pshared,
46 const Char* name, const Word oflag,
47 const Word mode, const UInt value);
Ddrd_semaphore.c54 Word n; in drd_segment_push()
68 Word sz; in drd_segment_pop()
171 const Word pshared, in DRD_()
249 const Char* name, const Word oflag, in DRD_()
250 const Word mode, const UInt value) in DRD_()
330 if ((Word)(p->waiters) <= 0) in DRD_()
371 if (p == NULL || (Int)(p->value) < 0 || (Word)(p->waiters) < 0) in DRD_()
/external/valgrind/main/exp-sgcheck/
Dsg_main.c93 static Word cmp_nonempty_intervals ( Addr a1, SizeT n1, in cmp_nonempty_intervals()
161 static Word StackBlock__cmp ( StackBlock* fb1, StackBlock* fb2 ) in StackBlock__cmp()
163 Word r; in StackBlock__cmp()
184 r = (Word)VG_(strcmp)(fb1->name, fb2->name); in StackBlock__cmp()
205 static Word StackBlocks__cmp ( XArray* fb1s, XArray* fb2s ) in StackBlocks__cmp()
207 Word i, r, n1, n2; in StackBlocks__cmp()
225 Word i, n = VG_(sizeXA)( sbs ); in pp_StackBlocks()
249 (Word(*)(UWord,UWord))StackBlocks__cmp ); in init_StackBlocks_set()
269 { Word r, w, nEQ, n = VG_(sizeXA)( orig ); in StackBlocks__find_and_dealloc__or_add()
277 Word c = StackBlock__cmp(pR0,pR1); in StackBlocks__find_and_dealloc__or_add()
[all …]
/external/valgrind/tsan/
Dts_valgrind_intercepts.c114 Word _unused_res; \
122 Word _unused_res, _arg1; \
123 assert(sizeof(_ty1F) == sizeof(Word)); \
124 _arg1 = (Word)(_arg1F); \
132 Word _unused_res, _arg1, _arg2; \
133 assert(sizeof(_ty1F) == sizeof(Word)); \
134 assert(sizeof(_ty2F) == sizeof(Word)); \
135 _arg1 = (Word)(_arg1F); \
136 _arg2 = (Word)(_arg2F); \
144 Word _res, _arg1, _arg2; \
[all …]

1234567