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
80
) 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_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
310
vg_assert
(loBits < ECLASS_N-1);
333
vg_assert
(vge->n_used >= 1 && vge->n_used <= 3);
370
vg_assert
(0);
389
vg_assert
(ec >= 0 && ec < ECLASS_N);
390
vg_assert
(tteno < N_TTES_PER_SECTOR);
396
vg_assert
(sec->ec2tte_used[ec] == sec->ec2tte_size[ec]);
415
vg_assert
(r >= 0 && r < sec->ec2tte_size[ec]);
429
vg_assert
(tteno >= 0 && tteno < N_TTES_PER_SECTOR);
434
vg_assert
(r >= 1 && r <= 3);
530
vg_assert
(tte->status == InUse)
[
all
...]
m_machine.c
140
vg_assert
(shadowNo == 0 || shadowNo == 1 || shadowNo == 2);
141
vg_assert
(VG_(is_valid_tid)(tid));
143
vg_assert
(0 <= offset && offset < sizeof(VexGuestArchState));
144
vg_assert
(offset + size <= sizeof(VexGuestArchState));
164
vg_assert
(shadowNo == 0 || shadowNo == 1 || shadowNo == 2);
165
vg_assert
(VG_(is_valid_tid)(tid));
167
vg_assert
(0 <= offset && offset < sizeof(VexGuestArchState));
168
vg_assert
(offset + size <= sizeof(VexGuestArchState));
303
vg_assert
(0 <= tid && tid < VG_N_THREADS && tid != VG_INVALID_THREADID);
304
vg_assert
(VG_(threads)[tid].status != VgTs_Empty)
[
all
...]
m_libcsignal.c
77
vg_assert
(set != NULL);
86
vg_assert
(set != NULL);
95
vg_assert
(set1 != NULL && set2 != NULL);
141
vg_assert
(dst != NULL && src != NULL);
150
vg_assert
(dst != NULL && src != NULL);
159
vg_assert
(dst != NULL && src != NULL);
168
vg_assert
(dst != NULL && src != NULL);
269
vg_assert
(oldactCopy.before[0] == 0x5555555555555555ULL);
270
vg_assert
(oldactCopy.before[1] == 0x5555555555555555ULL);
271
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
244
vg_assert
(htab_sz > 0);
258
vg_assert
(ec_htab_size_idx >= 0 && ec_htab_size_idx < N_EC_PRIMES);
279
vg_assert
(hash < new_size);
304
vg_assert
(sizeof(void*) == sizeof(UWord));
305
vg_assert
(sizeof(void*) == sizeof(Addr));
307
vg_assert
(VG_(is_valid_tid)(tid));
309
vg_assert
(VG_(clo_backtrace_size) >= 1 &&
377
vg_assert
(prev2->chain == prev);
378
vg_assert
(prev->chain == list);
385
vg_assert
(ec_htab[hash] == prev)
[
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);
/external/valgrind/main/coregrind/m_scheduler/
sema.c
56
vg_assert
(r == 0);
58
vg_assert
(sema->pipe[0] != sema->pipe[1]);
66
vg_assert
(sema->pipe[0] != sema->pipe[1]);
76
vg_assert
(res == 1);
81
vg_assert
(sema->owner_lwpid != -1); /* must be initialised */
82
vg_assert
(sema->pipe[0] != sema->pipe[1]);
96
vg_assert
(sema->owner_lwpid != lwpid); /* can't have it already */
97
vg_assert
(sema->pipe[0] != sema->pipe[1]);
110
vg_assert
(ret == 1); /* should get exactly 1 token */
111
vg_assert
(buf[0] >= 'A' && buf[0] <= 'Z')
[
all
...]
scheduler.c
212
vg_assert
(VG_(strlen)(who) <= 100-50);
225
vg_assert
(tst->status != VgTs_Runnable);
231
vg_assert
(VG_(running_tid) == VG_INVALID_THREADID);
240
vg_assert
(VG_(strlen)(who) <= 150-50);
257
vg_assert
(tst->status == VgTs_Runnable);
259
vg_assert
(sleepstate == VgTs_WaitSys ||
264
vg_assert
(VG_(running_tid) == tid);
269
vg_assert
(VG_(strlen)(who) <= 200-100);
298
vg_assert
(VG_(is_valid_tid)(tid));
299
vg_assert
(VG_(is_running_thread)(tid))
[
all
...]
/external/valgrind/main/coregrind/m_debuginfo/
storage.c
122
vg_assert
(0+0); \
153
vg_assert
(0);
205
vg_assert
(len >= 0);
256
vg_assert
(di->symtab_used <= di->symtab_size);
286
vg_assert
(loc->size > 0);
304
vg_assert
(di->loctab_used <= di->loctab_size);
376
vg_assert
(di->have_rx_map && di->have_rw_map);
389
vg_assert
(lineno >= 0);
438
vg_assert
(cfsi.len > 0);
445
vg_assert
(cfsi.len < 5000000)
[
all
...]
tytypes.c
62
vg_assert
(0);
183
vg_assert
(0);
213
vg_assert
(ent->tag == Te_Bound);
296
vg_assert
(0);
368
vg_assert
(first == last);
411
vg_assert
( ((UWord)a) <= 1 );
412
vg_assert
( ((UWord)b) <= 1 );
442
vg_assert
(n >= 0);
554
vg_assert
(0);
610
vg_assert
(0)
[
all
...]
debuginfo.c
129
vg_assert
(di != NULL);
139
vg_assert
(di0 == di);
145
vg_assert
(di2->next == di1);
146
vg_assert
(di1->next == di0);
155
vg_assert
(debugInfo_list == di1);
156
vg_assert
(di1->next == di0);
181
vg_assert
(filename);
215
vg_assert
(di != NULL);
266
vg_assert
(arange->vars);
269
vg_assert
(var)
[
all
...]
readdwarf3.c
189
vg_assert
(c);
196
vg_assert
(is_sane_Cursor(c));
200
vg_assert
(is_sane_Cursor(c));
205
vg_assert
(is_sane_Cursor(c));
210
vg_assert
(is_sane_Cursor(c));
214
vg_assert
(is_sane_Cursor(c));
219
vg_assert
(is_sane_Cursor(c));
227
/*
vg_assert
(is_sane_Cursor(c)); */
231
vg_assert
(0);
239
vg_assert
(is_sane_Cursor(c))
[
all
...]
/external/valgrind/main/memcheck/tests/
unit_oset.c
22
#undef
vg_assert
macro
23
#define
vg_assert
(e) assert(e)
macro
90
vg_assert
( ! VG_(OSetGen_Contains)(oset, &v) );
91
vg_assert
( ! VG_(OSetGen_Lookup)(oset, &v) );
92
vg_assert
( ! VG_(OSetGen_Remove)(oset, &v) );
93
vg_assert
( ! VG_(OSetGen_Next)(oset) );
94
vg_assert
( 0 == VG_(OSetGen_Size)(oset) );
117
vg_assert
( NN == VG_(OSetGen_Size)(oset) );
154
vg_assert
( ! VG_(OSetGen_Next)(oset) );
155
vg_assert
( ! VG_(OSetGen_Next)(oset) )
[
all
...]
/external/valgrind/main/coregrind/m_initimg/
initimg-aix5.c
110
vg_assert
( iicii.toolname );
119
vg_assert
(pltool_len > 0);
129
vg_assert
( pltool_str[pltool_len-1] == 0);
130
vg_assert
( VG_(strlen)(pltool_str) == pltool_len-1 );
140
vg_assert
(plcore_len > 0);
150
vg_assert
( plcore_str[plcore_len-1] == 0 );
151
vg_assert
( VG_(strlen)(plcore_str) == plcore_len-1 );
163
vg_assert
( ld_pre_str[ld_pre_len-1] == 0);
164
vg_assert
( VG_(strlen)( ld_pre_str ) == ld_pre_len - 1 );
184
vg_assert
((sizeof(AIX5PreloadPage) % 4) == 0); /* paranoia *
[
all
...]
initimg-linux.c
82
vg_assert
( VG_(args_the_exename) != NULL);
158
vg_assert
(origenv);
159
vg_assert
(toolname);
160
vg_assert
(preload_string);
165
vg_assert
(preload_tool_path);
191
vg_assert
(ret);
200
vg_assert
(envc == (cpp - ret));
207
vg_assert
(cp);
223
vg_assert
(cp);
413
vg_assert
(VG_IS_PAGE_ALIGNED(clstack_end+1))
[
all
...]
/external/valgrind/main/coregrind/m_syswrap/
syswrap-amd64-darwin.c
112
vg_assert
(count == x86_THREAD_STATE64_COUNT);
117
vg_assert
(count == x86_FLOAT_STATE64_COUNT);
122
vg_assert
(0);
174
vg_assert
(count == x86_THREAD_STATE64_COUNT);
178
vg_assert
(count == x86_FLOAT_STATE64_COUNT);
183
vg_assert
(0);
196
vg_assert
(flavor == x86_THREAD_STATE64);
197
vg_assert
(count == x86_THREAD_STATE64_COUNT);
223
vg_assert
(flavor == x86_THREAD_STATE64);
224
vg_assert
(count == x86_THREAD_STATE64_COUNT)
[
all
...]
syswrap-ppc64-aix5.c
71
vg_assert
(c >= 1); /* stay sane */
81
vg_assert
(i_am_the_only_thread());
101
vg_assert
(tst->status == VgTs_Init);
119
vg_assert
(VG_(is_exiting)(tid));
121
vg_assert
(tst->status == VgTs_Runnable);
122
vg_assert
(VG_(is_running_thread)(tid));
153
vg_assert
(c >= 1); /* stay sane */
155
vg_assert
(src == VgSrc_ExitThread
181
vg_assert
(c >= 2);
186
vg_assert
(tst->status == VgTs_Zombie)
[
all
...]
syswrap-main.c
340
vg_assert
(0);
381
vg_assert
(s1->what == s2->what);
385
vg_assert
(0);
518
vg_assert
(canonical->sysno != 0);
542
vg_assert
(canonical->sysno >= 0);
558
vg_assert
(canonical->sysno < 0);
563
vg_assert
(canonical->sysno >= 0);
567
vg_assert
(0);
575
vg_assert
(trc == VEX_TRC_JMP_SYS_SYSCALL);
597
vg_assert
(canonical->sysno != __NR_syscall)
[
all
...]
syswrap-ppc32-aix5.c
71
vg_assert
(c >= 1); /* stay sane */
81
vg_assert
(i_am_the_only_thread());
101
vg_assert
(tst->status == VgTs_Init);
119
vg_assert
(VG_(is_exiting)(tid));
121
vg_assert
(tst->status == VgTs_Runnable);
122
vg_assert
(VG_(is_running_thread)(tid));
153
vg_assert
(c >= 1); /* stay sane */
155
vg_assert
(src == VgSrc_ExitThread
181
vg_assert
(c >= 2);
186
vg_assert
(tst->status == VgTs_Zombie)
[
all
...]
/external/valgrind/main/coregrind/m_sigframe/
sigframe-ppc64-aix5.c
126
vg_assert
(VG_IS_16_ALIGNED(sizeof(struct hacky_sigframe)));
135
vg_assert
(VG_IS_16_ALIGNED(sp));
154
vg_assert
(sp == (Addr)&frame->lower_guardzone[512]);
170
vg_assert
(__NR_FAKE_SIGRETURN >= 10000);
171
vg_assert
(__NR_FAKE_SIGRETURN <= 32767);
207
vg_assert
(VG_(is_valid_tid)(tid));
212
vg_assert
(VG_IS_16_ALIGNED(sp));
230
vg_assert
(scannable_bytes <= one_meg);
246
vg_assert
(frame->magicPI == 0x31415927);
sigframe-ppc32-aix5.c
126
vg_assert
(VG_IS_16_ALIGNED(sizeof(struct hacky_sigframe)));
135
vg_assert
(VG_IS_16_ALIGNED(sp));
154
vg_assert
(sp == (Addr)&frame->lower_guardzone[256]);
170
vg_assert
(__NR_FAKE_SIGRETURN >= 10000);
171
vg_assert
(__NR_FAKE_SIGRETURN <= 32767);
204
vg_assert
(VG_(is_valid_tid)(tid));
209
vg_assert
(VG_IS_16_ALIGNED(sp));
212
vg_assert
(frame->magicPI == 0x31415927);
/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);
Completed in 2361 milliseconds
1
2
3
4