OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:vg_assert
(Results
1 - 25
of
91
) sorted by null
1
2
3
4
/external/valgrind/main/coregrind/
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);
69
vg_assert
(xa);
87
vg_assert
(xa);
88
vg_assert
(xa->alloc);
89
vg_assert
(xa->free)
[
all
...]
m_vki.c
70
vg_assert
( 8 * sizeof(set) == _VKI_NSIG );
72
vg_assert
( 8 * sizeof(set.sig[0]) == _VKI_NSIG_BPW );
74
vg_assert
( _VKI_NSIG_BPW == 32 || _VKI_NSIG_BPW == 64 );
81
vg_assert
(_VKI_NSIG == NSIG);
82
vg_assert
(_VKI_NSIG == 32);
83
vg_assert
(_VKI_NSIG_WORDS == 1);
84
vg_assert
(sizeof(sigset_t) /* defined by Darwin */
94
vg_assert
( sizeof(vki_sigaction_toK_t)
99
vg_assert
( sizeof(vki_sigaction_toK_t)
102
vg_assert
(sizeof(struct sigaction) == sizeof(vki_sigaction_fromK_t))
[
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);
62
vg_assert
(cc);
63
vg_assert
(free_fn);
65
vg_assert
(pa);
76
vg_assert
(pa->pools);
83
vg_assert
(pa->nrRef == 0);
97
vg_assert
(pa)
[
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_transtab.c
442
vg_assert
(sNo < N_SECTORS);
443
vg_assert
(tteNo < N_TTES_PER_SECTOR);
445
vg_assert
(s->tt);
447
vg_assert
(tte->status == InUse);
474
vg_assert
(iea->n_fixed == 0);
477
vg_assert
(iea->n_fixed <= N_FIXED_IN_EDGE_ARR);
485
vg_assert
(iea->n_fixed == 0);
489
vg_assert
(iea->n_fixed <= N_FIXED_IN_EDGE_ARR);
498
vg_assert
(iea->n_fixed == 0);
501
vg_assert
(i < iea->n_fixed)
[
all
...]
m_libcsignal.c
75
vg_assert
(set != NULL);
84
vg_assert
(set != NULL);
93
vg_assert
(set1 != NULL && set2 != NULL);
139
vg_assert
(dst != NULL && src != NULL);
148
vg_assert
(dst != NULL && src != NULL);
157
vg_assert
(dst != NULL && src != NULL);
166
vg_assert
(dst != NULL && src != NULL);
267
vg_assert
(oldactCopy.before[0] == 0x5555555555555555ULL);
268
vg_assert
(oldactCopy.before[1] == 0x5555555555555555ULL);
269
vg_assert
(oldactCopy.after[0] == 0x5555555555555555ULL)
[
all
...]
m_commandline.c
74
vg_assert
(f_clo);
77
vg_assert
(n >= 0 && n <= stat_buf.size+1);
99
vg_assert
(cp);
163
vg_assert
(!already_called);
168
vg_assert
(tmp_xarray);
170
vg_assert
( ! VG_(args_for_valgrind) );
174
vg_assert
( VG_(args_for_valgrind) );
176
vg_assert
( ! VG_(args_for_client) );
180
vg_assert
( VG_(args_for_client) );
185
vg_assert
(argv[i])
[
all
...]
m_execontext.c
245
vg_assert
(htab_sz > 0);
259
vg_assert
(ec_htab_size_idx >= 0 && ec_htab_size_idx < N_EC_PRIMES);
280
vg_assert
(hash < new_size);
305
vg_assert
(sizeof(void*) == sizeof(UWord));
306
vg_assert
(sizeof(void*) == sizeof(Addr));
308
vg_assert
(VG_(is_valid_tid)(tid));
375
vg_assert
(prev2->chain == prev);
376
vg_assert
(prev->chain == list);
383
vg_assert
(ec_htab[hash] == prev);
384
vg_assert
(prev->chain == list)
[
all
...]
m_machine.c
159
vg_assert
(shadowNo == 0 || shadowNo == 1 || shadowNo == 2);
160
vg_assert
(VG_(is_valid_tid)(tid));
162
vg_assert
(0 <= offset && offset < sizeof(VexGuestArchState));
163
vg_assert
(offset + size <= sizeof(VexGuestArchState));
183
vg_assert
(shadowNo == 0 || shadowNo == 1 || shadowNo == 2);
184
vg_assert
(VG_(is_valid_tid)(tid));
186
vg_assert
(0 <= offset && offset < sizeof(VexGuestArchState));
187
vg_assert
(offset + size <= sizeof(VexGuestArchState));
372
vg_assert
(0 <= tid && tid < VG_N_THREADS && tid != VG_INVALID_THREADID);
373
vg_assert
(VG_(threads)[tid].status != VgTs_Empty)
[
all
...]
m_hashtable.c
79
vg_assert
(name);
101
vg_assert
(old_chains >= primes[0]
111
vg_assert
(new_chains > old_chains);
112
vg_assert
(new_chains > primes[0]
215
vg_assert
(j == *n_elems);
222
vg_assert
(table);
231
vg_assert
(table);
235
vg_assert
(table->iterOK);
m_translate.c
159
vg_assert
(temp != IRTemp_INVALID);
169
vg_assert
(IRTemp_INVALID != temp);
206
vg_assert
(ec);
208
vg_assert
(VG_(is_plausible_ECU)(ecu));
290
vg_assert
(sizeof_SP == 4 || sizeof_SP == 8);
306
vg_assert
(curr_IP_known); \
309
vg_assert
(!(vanilla && w_ecu)); /* can't have both */ \
398
vg_assert
( typeOfIRTemp(bb->tyenv, st->Ist.WrTmp.tmp) == typeof_SP );
413
vg_assert
( typeOfIRTemp(bb->tyenv, st->Ist.WrTmp.tmp) == typeof_SP );
428
vg_assert
( typeOfIRTemp(bb->tyenv, st->Ist.WrTmp.tmp) == typeof_SP )
[
all
...]
m_redir.c
411
vg_assert
(newdi);
413
vg_assert
(newdi_soname != NULL);
493
vg_assert
(ts->seginfo != newdi);
574
vg_assert
(spec);
577
vg_assert
(spec->from_sopatt);
578
vg_assert
(spec->from_fnpatt);
584
vg_assert
(is_plausible_guest_addr(sym_addr));
635
vg_assert
(newts);
700
vg_assert
(old);
701
vg_assert
(old->isIFunc)
[
all
...]
m_libcfile.c
64
vg_assert
(VG_(fd_hard_limit) != -1);
73
vg_assert
(newfd >= VG_(fd_hard_limit));
166
vg_assert
(ret < 0);
169
vg_assert
(ret >= 0);
186
vg_assert
(ret < 0);
189
vg_assert
(ret >= 0);
234
vg_assert
(sizeof(Off64T) == sizeof(Word));
409
vg_assert
(!startup_wd_acquired);
410
vg_assert
(szB >= 512 && szB <= 16384/*let's say*/); /* stay sane */
416
vg_assert
(startup_wd[szB-1] == 0)
[
all
...]
m_oset.c
247
vg_assert
(t);
258
vg_assert
(t->stackTop < STACK_MAX);
259
vg_assert
(1 <= i && i <= 3);
268
vg_assert
(t->stackTop <= STACK_MAX);
274
vg_assert
(1 <= *i && *i <= 3);
295
vg_assert
(sizeof(AvlNode) == 3*sizeof(void*));
298
vg_assert
(_alloc);
299
vg_assert
(_free);
300
if (!_cmp)
vg_assert
(0 == _keyOff); // If no cmp, offset must be zero
329
vg_assert
(_poolSize > 0)
[
all
...]
/external/valgrind/main/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
187
vg_assert
(delta >= 0);
260
vg_assert
(VG_(strlen)(who) <= 100-50);
273
vg_assert
(tst->status != VgTs_Runnable);
279
vg_assert
(VG_(running_tid) == VG_INVALID_THREADID);
288
vg_assert
(VG_(strlen)(who) <= 150-50);
305
vg_assert
(tst->status == VgTs_Runnable);
307
vg_assert
(sleepstate == VgTs_WaitSys ||
312
vg_assert
(VG_(running_tid) == tid);
317
vg_assert
(VG_(strlen)(who) <= 200-100);
330
vg_assert
(!the_BigLock)
[
all
...]
/external/valgrind/main/coregrind/m_debuginfo/
storage.c
95
vg_assert
(sym->pri_name);
97
vg_assert
(sec_names);
136
vg_assert
(0+0); \
170
vg_assert
(0);
227
vg_assert
(len >= 0);
261
vg_assert
(sym->pri_name != NULL);
262
vg_assert
(sym->sec_names == NULL);
282
vg_assert
(di->symtab_used <= di->symtab_size);
294
vg_assert
(loc->size > 0);
312
vg_assert
(di->loctab_used <= di->loctab_size)
[
all
...]
readdwarf3.c
191
vg_assert
(c);
198
vg_assert
(is_sane_Cursor(c));
202
vg_assert
(is_sane_Cursor(c));
207
vg_assert
(is_sane_Cursor(c));
212
vg_assert
(is_sane_Cursor(c));
216
vg_assert
(is_sane_Cursor(c));
221
vg_assert
(is_sane_Cursor(c));
229
/*
vg_assert
(is_sane_Cursor(c)); */
233
vg_assert
(0);
241
vg_assert
(is_sane_Cursor(c))
[
all
...]
tytypes.c
63
vg_assert
(0);
194
vg_assert
(0);
224
vg_assert
(ent->tag == Te_Bound);
319
vg_assert
(0);
391
vg_assert
(first == last);
434
vg_assert
( ((UWord)a) <= 1 );
435
vg_assert
( ((UWord)b) <= 1 );
465
vg_assert
(n >= 0);
578
vg_assert
(0);
637
vg_assert
(0)
[
all
...]
debuginfo.c
125
vg_assert
(di != NULL);
135
vg_assert
(di0 == di);
141
vg_assert
(di2->next == di1);
142
vg_assert
(di1->next == di0);
151
vg_assert
(debugInfo_list == di1);
152
vg_assert
(di1->next == di0);
176
vg_assert
(filename);
209
vg_assert
(di != NULL);
274
vg_assert
(arange->vars);
277
vg_assert
(var)
[
all
...]
readmacho.c
124
vg_assert
(buf);
143
vg_assert
(ii->img);
144
vg_assert
(ii->img_szB > 0);
148
vg_assert
( !sr_isError(sres) );
264
vg_assert
(ii->img_szB >= sizeof(struct fat_header));
296
vg_assert
(ii->img);
297
vg_assert
(ii->macho_img);
298
vg_assert
(ii->img_szB > 0);
299
vg_assert
(ii->macho_img_szB > 0);
300
vg_assert
(ii->macho_img >= ii->img)
[
all
...]
/external/valgrind/main/memcheck/tests/
unit_oset.c
22
#undef
vg_assert
macro
23
#define
vg_assert
(e) assert(e)
macro
93
vg_assert
( ! VG_(OSetGen_Contains)(oset, &v) );
94
vg_assert
( ! VG_(OSetGen_Lookup)(oset, &v) );
95
vg_assert
( ! VG_(OSetGen_Remove)(oset, &v) );
96
vg_assert
( ! VG_(OSetGen_Next)(oset) );
97
vg_assert
( 0 == VG_(OSetGen_Size)(oset) );
120
vg_assert
( NN == VG_(OSetGen_Size)(oset) );
157
vg_assert
( ! VG_(OSetGen_Next)(oset) );
158
vg_assert
( ! VG_(OSetGen_Next)(oset) )
[
all
...]
/external/valgrind/main/coregrind/m_initimg/
initimg-linux.c
78
vg_assert
( VG_(args_the_exename) != NULL);
154
vg_assert
(origenv);
155
vg_assert
(toolname);
156
vg_assert
(preload_string);
161
vg_assert
(preload_tool_path);
187
vg_assert
(ret);
196
vg_assert
(envc == (cpp - ret));
203
vg_assert
(cp);
219
vg_assert
(cp);
409
vg_assert
(VG_IS_PAGE_ALIGNED(clstack_end+1))
[
all
...]
/external/valgrind/main/coregrind/m_ume/
script.c
35
#include "pub_core_libcassert.h" // VG_(exit),
vg_assert
99
vg_assert
('#' == hdr[0] && '!' == hdr[1]);
106
vg_assert
(*interp == '/'); /* absolute path only for interpreter */
129
vg_assert
(NULL != info->interp_name);
132
vg_assert
(NULL != info->interp_args);
/external/valgrind/main/coregrind/m_syswrap/
syswrap-main.c
335
vg_assert
(0);
376
vg_assert
(s1->what == s2->what);
380
vg_assert
(0);
512
vg_assert
(canonical->sysno != 0);
536
vg_assert
(canonical->sysno >= 0);
552
vg_assert
(canonical->sysno < 0);
557
vg_assert
(canonical->sysno >= 0);
561
vg_assert
(0);
569
vg_assert
(trc == VEX_TRC_JMP_SYS_SYSCALL);
591
vg_assert
(canonical->sysno != __NR_syscall)
[
all
...]
Completed in 367 milliseconds
1
2
3
4