Searched refs:ASSERT (Results 1 - 25 of 25) sorted by relevance

/ast/src/cmd/dsslib/ip_t/
H A Divlib.h50 #ifndef ASSERT
52 #define ASSERT(p) ((p) ? 0 : (abort(),0)) macro
54 #define ASSERT(p) macro
/ast/src/lib/libodelta/
H A Dsuftree.h54 #define ASSERT(p) if(!(p)) abort(); macro
56 #define ASSERT(p) macro
H A Dsuftree.c179 /**/ ASSERT(relen <= mtlen)
192 /**/ ASSERT(match != NULL)
/ast/src/lib/libast/vmalloc/
H A Dvmbest.c147 { /**/ASSERT(0); return -1; }
151 { /**/ASSERT(0); return -1; }
155 { /**/ASSERT(0); return -1; }
160 { /**/ASSERT(0); return -1; }
184 { rv = -1; /**/ASSERT(0); }
195 { rv = -1; /**/ASSERT(0); }
199 { rv = -1; /**/ASSERT(0); }
203 { rv = -1; /**/ASSERT(0); }
207 { rv = -1; /**/ASSERT(0); }
211 { rv = -1; /**/ASSERT(
[all...]
H A Dvmopen.c98 vd = &init->vd.vd; /**/ASSERT(VLONG(vd)%ALIGN == 0);
113 init = (Vminit_t*)(addr + (algn ? ALIGN-algn : 0)); /**/ASSERT(VLONG(init)%ALIGN == 0);
114 vd = &init->vd.vd; /**/ASSERT(VLONG(vd)%ALIGN == 0);
129 vd->seg = &init->seg.seg; /**/ ASSERT(VLONG(vd->seg)%ALIGN == 0);
143 size = ((seg->baddr - (Vmuchar_t*)bp)/ALIGN) * ALIGN; /**/ ASSERT(size > 0);
144 SIZE(bp) = size - 2*sizeof(Head_t); /**/ASSERT(SIZE(bp) > 0 && (SIZE(bp)%ALIGN) == 0);
146 /**/ ASSERT(SIZE(bp)%ALIGN == 0);
147 /**/ ASSERT(VLONG(bp)%ALIGN == 0);
H A Dvmmopen.c139 { /**/ASSERT(!base || (base && (VLONG(base)%_Vmpagesize) == 0) );
226 { /**/ASSERT(!(mmdc->flag&MM_INIT));
250 { /**/ASSERT(mmvm && mmvm != (Mmvm_t*)(-1));
353 { /**/ASSERT(mmdc->flag&MM_INIT);
354 /**/ASSERT(mmdc->mmvm->magic == MM_LETMEDOIT);
358 { /**/ASSERT(!(mmdc->flag&MM_INIT));
359 /**/ASSERT(mmdc->mmvm->magic == MM_MAGIC);
368 { /**/ASSERT(mmdc->mmvm->magic == MM_LETMEDOIT);
373 } /**/ASSERT(mmdc->mmvm->magic == MM_MAGIC);
424 { /**/ASSERT(mmd
[all...]
H A Dvmprivate.c97 { /**/ ASSERT((SIZE(bp)&~BITS) == 0);
98 /**/ ASSERT(SEG(bp) == seg);
103 { /**/ ASSERT(searchf);
H A Dvmstat.c112 /**/ASSERT(st->extent >= (st->s_busy + st->s_free));
H A Dvmpool.c177 /**/ASSERT(KPVADDR(vm, data, pooladdr) == 0);
221 /**/ASSERT(KPVADDR(vm, data, pooladdr) == 0);
H A Dvmlast.c387 /**/ASSERT(seg);
391 data += align-s; /**/ASSERT((VLONG(data)%align) == 0);
H A Dvmhdr.h144 #define ASSERT(p) ((p) ? 0 : (MESSAGE("Assertion failed"), ABORT() ? (abort(),0) : 0)) macro
148 #define ASSERT(p) macro
H A Dmalloc.c463 /**/ASSERT(Region[p] == NIL(Vmalloc_t*));
502 { /**/ASSERT(vm->data->lock == 1);
523 { /**/ASSERT(vm->data->lock == 1);
643 { /**/ASSERT(vm->data->lock == 1);
H A Dvmprofile.c521 /**/ASSERT(KPVADDR(vm, data, Vmbest->addrf) == 0 );
579 /**/ASSERT(KPVADDR(vm,data,Vmbest->addrf) == 0 );
/ast/src/lib/libvgraph/
H A Dkpvdebug.h37 #define ASSERT(p) ((p) ? 0 : (_oops(__FILE__, __LINE__),0)) macro
53 #define ASSERT(p) macro
H A Dgrbranching.c166 { /**/ASSERT(cl < endcl);
/ast/src/lib/libvdelta/
H A Dvdsqueeze.c88 best = n - (d<<VD_BITS); /**/ASSERT(best < (1<<VD_BITS));
92 /**/ASSERT(best >= 0);
93 /**/ASSERT((k_type+K_MERGE) < (1<<I_BITS) );
H A Dvdelhdr.h39 #define ASSERT(p) ((p) ? 0 : abort()) macro
43 #define ASSERT(p)
H A Dvddelta.c89 best = n - (d<<VD_BITS); /**/ASSERT(best < (1<<VD_BITS));
93 /**/ASSERT(best >= 0);
94 /**/ASSERT((k_type+K_MERGE) < (1<<I_BITS) );
/ast/src/cmd/nmake/
H A DSYSTEM.mk40 .ASSERT : ":_SS_ASSERT_:"
43 .ASSERT : .DELETE ":_SS_ASSERT_:"
H A DMakerules.mk2692 .ASSERT..SOURCE% : ":NONRECURSIVE_SOURCE:"
2748 .ASSERT. : .DELETE .SOURCE%
/ast/src/lib/libvdelta/vd01/
H A Dvdelhdr01.h39 #define ASSERT(p) ((p) ? 0 : abort()) macro
43 #define ASSERT(p)
H A Dvddelta01.c93 best = n - (d<<VD_BITS); /**/ASSERT(best < (1<<VD_BITS));
97 /**/ASSERT(best >= 0);
98 /**/ASSERT((k_type+K_MERGE) < (1<<I_BITS) );
/ast/src/lib/libast/sfio/
H A Dsfclose.c95 { f->mode &= ~SF_LOCK; /**/ASSERT(_Sfpmove);
H A Dsfpool.c130 /**/ASSERT(f->next == f->data);
352 /**/ASSERT(p->sf[0] == pf && p->sf[p->n_sf-1] == f);
H A Dsfhdr.h539 #define ASSERT(p) ((p) ? 0 : (abort(),0) ) macro
541 #define ASSERT(p) macro

Completed in 73 milliseconds