OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:vg_assert
(Results
1 - 25
of
113
) sorted by null
1
2
3
4
5
/external/valgrind/coregrind/
m_vki.c
71
vg_assert
( 8 * sizeof(set) == _VKI_NSIG );
73
vg_assert
( 8 * sizeof(set.sig[0]) == _VKI_NSIG_BPW );
75
vg_assert
( _VKI_NSIG_BPW == 32 || _VKI_NSIG_BPW == 64 );
82
vg_assert
(_VKI_NSIG == NSIG);
83
vg_assert
(_VKI_NSIG == 32);
84
vg_assert
(_VKI_NSIG_WORDS == 1);
85
vg_assert
(sizeof(sigset_t) /* defined by Darwin */
95
vg_assert
( sizeof(vki_sigaction_toK_t)
100
vg_assert
( sizeof(vki_sigaction_toK_t)
103
vg_assert
(sizeof(struct sigaction) == sizeof(vki_sigaction_fromK_t))
[
all
...]
m_xarray.c
61
vg_assert
( sizeof(Word) == sizeof(void*) );
62
vg_assert
( ((Word)(-1)) < ((Word)(0)) );
63
vg_assert
( ((SizeT)(-1)) > ((SizeT)(0)) );
65
vg_assert
(alloc_fn);
66
vg_assert
(free_fn);
67
vg_assert
(elemSzB > 0);
85
vg_assert
(xa);
86
vg_assert
(xa->alloc_fn);
87
vg_assert
(xa->free_fn);
88
vg_assert
(xa->elemSzB >= 1)
[
all
...]
m_sparsewa.c
124
vg_assert
(sp >= 0 && sp <= _3_or_7);
139
vg_assert
(sp >= 0 && sp <= _3_or_7);
196
default:
vg_assert
(0);
216
vg_assert
(*(UWord*)curr_nd == LevelN_MAGIC);
239
vg_assert
(alloc_nofail);
240
vg_assert
(cc);
241
vg_assert
(dealloc);
255
vg_assert
(nd);
264
vg_assert
(*(UWord*)nd == Level0_MAGIC);
286
vg_assert
(swa)
[
all
...]
m_poolalloc.c
58
vg_assert
(0 == (elemSzB % sizeof(UWord)));
59
vg_assert
(elemSzB >= sizeof(UWord));
60
vg_assert
(nPerPool >= 100); /* let's say */
61
vg_assert
(alloc_fn);
62
vg_assert
(cc);
63
vg_assert
(free_fn);
82
vg_assert
(pa->nrRef == 0);
96
vg_assert
(pa);
97
vg_assert
(pa->nextFree == NULL);
105
vg_assert
(0 == (((UWord)elem) % sizeof(UWord)))
[
all
...]
m_compiler.c
232
vg_assert
(0);
239
vg_assert
(0);
246
vg_assert
(0);
253
vg_assert
(0);
260
vg_assert
(0);
267
vg_assert
(0);
274
vg_assert
(0);
281
vg_assert
(0);
288
vg_assert
(0);
295
vg_assert
(0)
[
all
...]
m_transtab.c
478
vg_assert
(sNo < n_sectors);
479
vg_assert
(tteNo < N_TTES_PER_SECTOR);
481
vg_assert
(s->tt);
483
vg_assert
(tte->status == InUse);
510
vg_assert
(iea->n_fixed == 0);
513
vg_assert
(iea->n_fixed <= N_FIXED_IN_EDGE_ARR);
521
vg_assert
(iea->n_fixed == 0);
526
vg_assert
(iea->n_fixed <= N_FIXED_IN_EDGE_ARR);
535
vg_assert
(iea->n_fixed == 0);
538
vg_assert
(i < iea->n_fixed)
[
all
...]
m_commandline.c
64
vg_assert
(dir != NULL);
79
vg_assert
(n >= 0 && n <= stat_buf.size+1);
101
vg_assert
(cp);
165
vg_assert
(!already_called);
171
vg_assert
( ! VG_(args_for_valgrind) );
176
vg_assert
( ! VG_(args_for_client) );
184
vg_assert
(argv[i]);
198
vg_assert
(argv[i]);
205
vg_assert
(argv[i]);
m_seqmatch.c
70
vg_assert
(nPatt >= 0 && nPatt < 1000000); /* arbitrary */
71
vg_assert
(inputCompleter
73
vg_assert
(ixPatt >= 0 && ixPatt <= nPatt);
74
vg_assert
(ixInput >= 0 && (inputCompleter || ixInput <= nInput));
163
vg_assert
(0);
176
vg_assert
(p != '*' && p != '?');
m_deduppoolalloc.c
90
vg_assert
(poolSzB >= eltAlign);
91
vg_assert
(poolSzB >= 100); /* let's say */
92
vg_assert
(poolSzB >= 10*eltAlign); /* let's say */
93
vg_assert
(alloc_fn);
94
vg_assert
(cc);
95
vg_assert
(free_fn);
141
vg_assert
(ddpa);
228
vg_assert
(!ddpa->fixedSzb || VG_(sizeXA) (ddpa->pools) == 1);
256
vg_assert
(ddpa);
257
vg_assert
(ddpa->ht_elements)
[
all
...]
m_libcsignal.c
87
vg_assert
(set != NULL);
106
vg_assert
(set != NULL);
125
vg_assert
(set1 != NULL && set2 != NULL);
181
vg_assert
(dst != NULL && src != NULL);
190
vg_assert
(dst != NULL && src != NULL);
199
vg_assert
(dst != NULL && src != NULL);
208
vg_assert
(dst != NULL && src != NULL);
309
vg_assert
(oldactCopy.before[0] == 0x5555555555555555ULL);
310
vg_assert
(oldactCopy.before[1] == 0x5555555555555555ULL);
311
vg_assert
(oldactCopy.after[0] == 0x5555555555555555ULL)
[
all
...]
m_rangemap.c
71
vg_assert
(alloc_fn);
72
vg_assert
(free_fn);
84
vg_assert
(i == 0);
85
vg_assert
(VG_(sizeXA)(rm->ranges) == 1);
92
vg_assert
(rm);
93
vg_assert
(rm->free_fn);
94
vg_assert
(rm->ranges);
102
vg_assert
(key_min <= key_max);
128
vg_assert
(rm && rm->ranges);
130
vg_assert
(size >= 0)
[
all
...]
m_execontext.c
150
vg_assert
(null_ExeContext->ecu == 4);
222
vg_assert
(e1->n_ips >= 1 && e2->n_ips >= 1);
281
vg_assert
(htab_sz > 0);
295
vg_assert
(ec_htab_size_idx >= 0 && ec_htab_size_idx < N_EC_PRIMES);
316
vg_assert
(hash < new_size);
340
vg_assert
(sizeof(void*) == sizeof(UWord));
341
vg_assert
(sizeof(void*) == sizeof(Addr));
343
vg_assert
(VG_(is_valid_tid)(tid));
373
vg_assert
(n_ips >= 1 && n_ips <= VG_(clo_backtrace_size));
407
vg_assert
(prev2->chain == prev)
[
all
...]
m_wordfm.c
133
vg_assert
(0);
193
default:
vg_assert
(0);
214
vg_assert
(0);/*NOTREACHED*/
226
default:
vg_assert
(0);
247
vg_assert
(0);/*NOTREACHED*/
276
vg_assert
(left_subtree);
284
default:
vg_assert
(0);
300
vg_assert
(0);
312
vg_assert
(right_subtree);
320
default:
vg_assert
(0)
[
all
...]
m_main.c
372
vg_assert
( VG_(args_for_valgrind) );
378
vg_assert
(str);
481
vg_assert
( VG_(args_for_valgrind) );
[
all
...]
/external/valgrind/coregrind/m_scheduler/
sema.c
60
vg_assert
(r == 0);
62
vg_assert
(sema->pipe[0] != sema->pipe[1]);
70
vg_assert
(sema->pipe[0] != sema->pipe[1]);
83
vg_assert
(res == 1);
88
vg_assert
(sema->owner_lwpid != -1); /* must be initialised */
89
vg_assert
(sema->pipe[0] != sema->pipe[1]);
104
vg_assert
(sema->owner_lwpid != lwpid); /* can't have it already */
105
vg_assert
(sema->pipe[0] != sema->pipe[1]);
119
vg_assert
(ret == 1); /* should get exactly 1 token */
120
vg_assert
(buf[0] >= 'A' && buf[0] <= 'Z')
[
all
...]
scheduler.c
188
vg_assert
(VG_(clo_profyle_interval) > 0);
190
vg_assert
(delta >= 0);
284
vg_assert
(tst->status != VgTs_Runnable);
290
vg_assert
(VG_(running_tid) == VG_INVALID_THREADID);
319
vg_assert
(tst->status == VgTs_Runnable);
321
vg_assert
(sleepstate == VgTs_WaitSys ||
326
vg_assert
(VG_(running_tid) == tid);
343
vg_assert
(!the_BigLock);
377
vg_assert
(VG_(is_valid_tid)(tid));
378
vg_assert
(VG_(is_running_thread)(tid))
[
all
...]
ticket-lock-linux.c
83
vg_assert
(sizeof(p->futex[0]) == 4);
140
vg_assert
(False);
145
vg_assert
(p->owner == 0);
164
vg_assert
(p->owner != 0);
178
vg_assert
(!sr_isError(sres));
/external/valgrind/memcheck/tests/
unit_oset.c
22
#undef
vg_assert
macro
23
#define
vg_assert
(e) assert(e)
macro
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) );
122
vg_assert
( NN == VG_(OSetGen_Size)(oset) );
204
vg_assert
( ! VG_(OSetGen_Next)(oset) );
205
vg_assert
( ! VG_(OSetGen_Next)(oset) )
[
all
...]
/external/valgrind/coregrind/m_debuginfo/
storage.c
98
vg_assert
(sym->pri_name);
100
vg_assert
(sec_names);
141
vg_assert
(0+0); \
184
vg_assert
(0);
249
vg_assert
(len >= 0);
313
vg_assert
(ML_(cur_is_valid)(c));
330
vg_assert
(sym->pri_name != NULL);
331
vg_assert
(sym->sec_names == NULL);
351
vg_assert
(di->symtab_used <= di->symtab_size);
362
default:
vg_assert
(0)
[
all
...]
image.c
160
vg_assert
(nRead < len);
162
vg_assert
(nNeeded > 0);
178
vg_assert
(nWritten < len);
180
vg_assert
(nStillToDo > 0);
239
vg_assert
(req->n_data >= 4); // else ill formed -- no KIND field
274
vg_assert
(fr && fr->data);
281
vg_assert
(VG_(strlen)(tag) == 4);
292
vg_assert
(VG_(strlen)(tag) == 4);
305
vg_assert
(VG_(strlen)(tag) == 4);
312
vg_assert
(f->data[4 + n_str] == 0)
[
all
...]
/external/valgrind/coregrind/m_syswrap/
syswrap-main.c
363
vg_assert
(0);
371
vg_assert
(VG_SOLARIS_SYSNO_CLASS(syscallno)
433
vg_assert
(s1->what == s2->what);
437
vg_assert
(0);
599
vg_assert
(canonical->sysno != 0);
623
vg_assert
(canonical->sysno >= 0);
639
vg_assert
(canonical->sysno < 0);
644
vg_assert
(canonical->sysno >= 0);
648
vg_assert
(0);
656
vg_assert
(trc == VEX_TRC_JMP_SYS_SYSCALL)
[
all
...]
syswrap-x86-darwin.c
104
vg_assert
(count == i386_THREAD_STATE_COUNT);
109
vg_assert
(count == i386_FLOAT_STATE_COUNT);
114
vg_assert
(0);
159
vg_assert
(count == i386_THREAD_STATE_COUNT);
163
vg_assert
(count == i386_FLOAT_STATE_COUNT);
168
vg_assert
(0);
181
vg_assert
(flavor == i386_THREAD_STATE);
182
vg_assert
(count == i386_THREAD_STATE_COUNT);
208
vg_assert
(flavor == i386_THREAD_STATE);
209
vg_assert
(count == i386_THREAD_STATE_COUNT)
[
all
...]
/external/valgrind/coregrind/m_initimg/
initimg-linux.c
77
vg_assert
( VG_(args_the_exename) != NULL);
128
vg_assert
(origenv);
129
vg_assert
(toolname);
192
vg_assert
(envc == (cpp - ret));
412
vg_assert
(VG_IS_PAGE_ALIGNED(clstack_end+1));
413
vg_assert
( VG_(args_for_client) );
521
vg_assert
(VG_STACK_REDZONE_SZB >= 0);
522
vg_assert
(VG_STACK_REDZONE_SZB < VKI_PAGE_SIZE);
524
vg_assert
(resvn_size > VKI_PAGE_SIZE);
530
vg_assert
(VG_IS_PAGE_ALIGNED(anon_size))
[
all
...]
initimg-solaris.c
72
vg_assert
(VG_(args_the_exename));
165
vg_assert
(origenv);
166
vg_assert
(toolname);
203
vg_assert
(envc == cpp - ret);
317
vg_assert
(auxv != NULL);
397
vg_assert
(VG_IS_PAGE_ALIGNED(clstack_end + 1));
398
vg_assert
(VG_(args_the_exename));
399
vg_assert
(VG_(args_for_client));
526
vg_assert
(VG_STACK_REDZONE_SZB >= 0);
527
vg_assert
(VG_STACK_REDZONE_SZB < VKI_PAGE_SIZE)
[
all
...]
/external/valgrind/coregrind/m_ume/
script.c
36
#include "pub_core_libcassert.h" // VG_(exit),
vg_assert
92
vg_assert
('#' == hdr[0] && '!' == hdr[1]);
120
vg_assert
(NULL != info->interp_name);
123
vg_assert
(NULL != info->interp_args);
Completed in 308 milliseconds
1
2
3
4
5