Home
last modified time | relevance | path

Searched refs:assert (Results 1 – 25 of 599) sorted by relevance

12345678910>>...24

/reactos/sdk/lib/3rdparty/adns/src/
H A Dcheck.c52 assert((nodevar)->next \
75 assert((nodevar)); \
97 assert(!ads->tcpsend.used); in checkc_notcpbuf()
98 assert(!ads->tcprecv.used); in checkc_notcpbuf()
99 assert(!ads->tcprecv_skip); in checkc_notcpbuf()
105 assert(ads->udpsocket >= 0); in checkc_global()
114 assert(ads->tcpsocket >= 0); in checkc_global()
119 assert(ads->tcpsocket == -1); in checkc_global()
123 assert(ads->tcpsocket >= 0); in checkc_global()
139 assert(qu->udpsent); in checkc_queue_udpw()
[all …]
/reactos/sdk/lib/3rdparty/libxml2/
H A Dtriostr.c191 assert(target);
192 assert(source);
223 assert(target);
224 assert(source);
251 assert(string);
279 assert(target);
405 assert(first);
444 assert(first);
473 assert(first);
500 assert(first);
[all …]
/reactos/dll/opengl/glu32/src/libnurbs/internals/
H A Dsplitarcs.cc124 assert( jarc1->check( ) != 0 ); in check_s()
125 assert( jarc2->check( ) != 0 ); in check_s()
128 assert( jarc1 != jarc2 ); in check_s()
182 assert( jarc1->check( ) != 0); in join_s()
183 assert( jarc2->check( ) != 0); in join_s()
184 assert( jarc1 != jarc2 ); in join_s()
201 assert( t1 < t2 ); in join_s()
214 assert( jarc1->check( ) != 0 ); in join_s()
227 assert( jarc1 != jarc2 ); in check_t()
258 assert( jarc1 != jarc2 ); in join_t()
[all …]
H A Dccw.cc67 assert( v1 != v1last ); in ccwTurn_sr()
68 assert( v2 != v2last ); in ccwTurn_sr()
91 assert( v1->param[0] <= v1next->param[0] ); in ccwTurn_sr()
180 assert( v1 != v1last ); in ccwTurn_sl()
181 assert( v2 != v2last ); in ccwTurn_sl()
293 assert( v1 != v1last ); in ccwTurn_tr()
294 assert( v2 != v2last ); in ccwTurn_tr()
406 assert( v1 != v1last ); in ccwTurn_tl()
407 assert( v2 != v2last ); in ccwTurn_tl()
518 assert( tc >= ta ); in bbox()
[all …]
H A Dintersect.cc84 assert( jarc->head()[param] > value ); in partition()
119 assert( jarc->head()[param] < value ); in partition()
159 assert( val > l->param[p]); in vert_interp()
160 assert( val < r->param[p]); in vert_interp()
192 assert(jarc->check() != 0); in arc_split()
255 assert(jarc->check() != 0); in arc_split()
282 assert(jarc->check() != 0); in arc_split()
297 assert(jarc->check() != 0); in arc_split()
313 assert(jarc->check() != 0); in arc_split()
330 assert(jarc->check() != 0); in arc_split()
[all …]
/reactos/sdk/tools/widl/
H A Dtypetree.h76 assert(type_get_type(type) == TYPE_BASIC); in type_basic_get_type()
83 assert(type_get_type(type) == TYPE_BASIC); in type_basic_get_sign()
90 assert(type_get_type(type) == TYPE_STRUCT); in type_struct_get_fields()
116 assert(type_get_type(type) == TYPE_ENUM); in type_enum_get_values()
221 assert(type_get_type(type) == TYPE_ARRAY); in type_array_has_conformance()
228 assert(type_get_type(type) == TYPE_ARRAY); in type_array_has_variance()
235 assert(type_get_type(type) == TYPE_ARRAY); in type_array_get_dim()
242 assert(type_get_type(type) == TYPE_ARRAY); in type_array_get_conformance()
249 assert(type_get_type(type) == TYPE_ARRAY); in type_array_get_variance()
256 assert(type_get_type(type) == TYPE_ARRAY); in type_array_get_element()
[all …]
/reactos/dll/3rdparty/libtirpc/src/
H A Drpc_prot.c87 assert(xdrs != NULL);
88 assert(ap != NULL);
105 assert(xdrs != NULL);
106 assert(blkp != NULL);
122 assert(xdrs != NULL);
123 assert(ar != NULL);
158 assert(xdrs != NULL);
159 assert(rr != NULL);
175 assert(0);
192 assert(xdrs != NULL);
[all …]
/reactos/drivers/filesystems/btrfs/zstd/
H A Dzstd_cwksp.h153 assert(ws->workspace <= ws->objectEnd); in ZSTD_cwksp_assert_internal_consistency()
154 assert(ws->objectEnd <= ws->tableEnd); in ZSTD_cwksp_assert_internal_consistency()
155 assert(ws->objectEnd <= ws->tableValidEnd); in ZSTD_cwksp_assert_internal_consistency()
156 assert(ws->tableEnd <= ws->allocStart); in ZSTD_cwksp_assert_internal_consistency()
166 assert((align & mask) == 0); in ZSTD_cwksp_align()
190 assert(phase >= ws->phase); in ZSTD_cwksp_internal_advance_phase()
239 assert(alloc >= bottom); in ZSTD_cwksp_reserve_internal()
271 assert((bytes & (sizeof(U32)-1)) == 0); in ZSTD_cwksp_reserve_aligned()
288 assert((bytes & (sizeof(U32)-1)) == 0); in ZSTD_cwksp_reserve_table()
291 assert(end <= top); in ZSTD_cwksp_reserve_table()
[all …]
H A Dzstd_decompress_block.c357 assert(nbAddBits < 255); in ZSTD_buildSeqTable_rle()
475 assert(0); in ZSTD_buildSeqTable()
584 assert(*ip <= *op); in ZSTD_overlapCopy8()
602 assert(*op - *ip >= 8); in ZSTD_overlapCopy8()
630 assert(length >= 8); in ZSTD_safecopy()
633 assert(op <= oend); in ZSTD_safecopy()
766 assert(op <= oMatchEnd); in ZSTD_execSequence()
977 assert(op <= oend); in ZSTD_assertValidSequence()
1026 assert(dst != NULL); in ZSTD_decompressSequences_body()
1161 assert(dst != NULL); in ZSTD_decompressSequencesLong_body()
[all …]
H A Dbitstream.h141 assert(val != 0); in BIT_highbit32()
202 assert(nbBits < BIT_MASK_SIZE); in BIT_addBits()
214 assert((value>>nbBits) == 0); in BIT_addBitsFast()
226 assert(bitC->bitPos < sizeof(bitC->bitContainer) * 8); in BIT_flushBitsFast()
227 assert(bitC->ptr <= bitC->endPtr); in BIT_flushBitsFast()
242 assert(bitC->bitPos < sizeof(bitC->bitContainer) * 8); in BIT_flushBits()
243 assert(bitC->ptr <= bitC->endPtr); in BIT_flushBits()
329 assert(nbBits < BIT_MASK_SIZE); in BIT_getMiddleBits()
335 assert(nbBits < BIT_MASK_SIZE); in BIT_getLowerBits()
364 assert(nbBits >= 1); in BIT_lookBitsFast()
[all …]
H A Dzstd_opt.c53 assert(hb + BITCOST_ACCURACY < 31); in ZSTD_fracWeight()
265 assert(matchLength >= MINMATCH); in ZSTD_getMatchPrice()
308 assert(offCode <= MaxOff); in ZSTD_updateStats()
351 assert(hashLog3 > 0); in ZSTD_insertAndFindFirstIndexHash3()
410 assert(windowLow > 0); in ZSTD_insertBt1()
414 assert(matchIndex < current); in ZSTD_insertBt1()
646 assert(current > matchIndex); in ZSTD_insertBtAndGetAllMatches()
736 assert(matchEndIdx > current+8); in ZSTD_insertBtAndGetAllMatches()
824 assert(optLevel <= 2); in ZSTD_compressBlock_opt_generic()
1005 assert(opt[0].mlen == 0); in ZSTD_compressBlock_opt_generic()
[all …]
/reactos/dll/win32/riched20/
H A Dtable.c139 assert(para); in ME_GetTableRowEnd()
157 assert(para); in ME_GetTableRowStart()
219 assert(pCell); in ME_CheckTablesForCorruption()
226 assert(p->member.para.pCell in ME_CheckTablesForCorruption()
267 assert(p->type == diTextEnd); in ME_CheckTablesForCorruption()
415 assert(table_row); in ME_AppendTableRow()
469 assert(ME_IsInTable(run)); in ME_SelectOrInsertNextCell()
480 assert(cell); in ME_SelectOrInsertNextCell()
489 assert(para); in ME_SelectOrInsertNextCell()
521 assert(run); in ME_SelectOrInsertNextCell()
[all …]
/reactos/modules/rostests/kmtests/kmtest/
H A Dfilter.c36 assert(ServiceName); in KmtFltLoad()
72 assert(ServiceHandle);
101 assert(Error);
126 assert(ServiceName); in KmtFltConnect()
127 assert(hPort); in KmtFltConnect()
156 assert(hPort); in KmtFltDisconnect()
199 assert(hPort); in KmtFltSendMessage()
200 assert(InBuffer); in KmtFltSendMessage()
201 assert(InBufferSize); in KmtFltSendMessage()
250 assert(hPort); in KmtFltGetMessage()
[all …]
H A Dservice.c44 assert(!ScmHandle); in KmtServiceInit()
166 assert(ServiceHandle); in KmtEnsureServiceState()
167 assert(ExpectedServiceState); in KmtEnsureServiceState()
223 assert(ServiceHandle); in KmtStartService()
271 assert(ServiceHandle); in KmtCreateAndStartService()
297 assert(Error || *ServiceHandle); in KmtCreateAndStartService()
322 assert(ServiceHandle); in KmtStopService()
362 assert(ServiceHandle); in KmtDeleteService()
397 assert(ServiceHandle); in KmtCloseService()
425 assert(ServiceHandle); in KmtpCreateService()
[all …]
/reactos/dll/win32/avifil32/
H A Dextrachunk.c38 assert(extra != NULL); in ReadExtraChunk()
39 assert(size != NULL); in ReadExtraChunk()
75 assert(extra != NULL); in WriteExtraChunk()
76 assert(lpData != NULL); in WriteExtraChunk()
77 assert(size > 0); in WriteExtraChunk()
108 assert(extra != NULL); in ReadChunkIntoExtra()
109 assert(hmmio != NULL); in ReadChunkIntoExtra()
110 assert(lpck != NULL); in ReadChunkIntoExtra()
151 assert(extra != NULL); in FindChunkAndKeepExtras()
152 assert(hmmio != NULL); in FindChunkAndKeepExtras()
[all …]
/reactos/dll/opengl/glu32/src/libtess/
H A Dmesh.c141 assert(vNew != NULL); in MakeVertex()
174 assert(fNew != NULL); in MakeFace()
753 assert( f->prev == fPrev ); in __gl_meshCheckMesh()
756 assert( e->Sym != e ); in __gl_meshCheckMesh()
760 assert( e->Lface == f ); in __gl_meshCheckMesh()
768 assert( v->prev == vPrev ); in __gl_meshCheckMesh()
771 assert( e->Sym != e ); in __gl_meshCheckMesh()
775 assert( e->Org == v ); in __gl_meshCheckMesh()
784 assert( e->Sym != e ); in __gl_meshCheckMesh()
786 assert( e->Org != NULL ); in __gl_meshCheckMesh()
[all …]
/reactos/dll/3rdparty/libtiff/
H A Dtif_swab.c38 assert(sizeof(uint16)==2); in TIFFSwabShort()
49 assert(sizeof(uint32)==4); in TIFFSwabLong()
61 assert(sizeof(uint64)==8); in TIFFSwabLong8()
75 assert(sizeof(uint16)==2); in TIFFSwabArrayOfShort()
107 assert(sizeof(uint32)==4); in TIFFSwabArrayOfLong()
124 assert(sizeof(uint64)==8); in TIFFSwabArrayOfLong8()
143 assert(sizeof(float)==4); in TIFFSwabFloat()
155 assert(sizeof(float)==4); in TIFFSwabArrayOfFloat()
172 assert(sizeof(double)==8); in TIFFSwabDouble()
186 assert(sizeof(double)==8); in TIFFSwabArrayOfDouble()
H A Dtif_zip.c100 assert(sp != NULL); in ZIPSetupDecode()
130 assert(sp != NULL); in ZIPPreDecode()
136 assert(sizeof(sp->stream.avail_in)==4); /* if this assert gets raised, in ZIPPreDecode()
151 assert(sp != NULL); in ZIPDecode()
152 assert(sp->state == ZSTATE_INIT_DECODE); in ZIPDecode()
202 assert(sp != NULL); in ZIPSetupEncode()
226 assert(sp != NULL); in ZIPPreEncode()
248 assert(sp != NULL); in ZIPEncode()
249 assert(sp->state == ZSTATE_INIT_ENCODE); in ZIPEncode()
316 assert(sp != 0); in ZIPCleanup()
[all …]
/reactos/dll/win32/msrle32/
H A Dmsrle32.c104 assert(lpbi != NULL); in isSupportedMRLE()
126 assert(lpbi != NULL); in isSupportedDIB()
166 assert(clrs != NULL); in MSRLE32_GetNearestPaletteIndex()
246 assert(lpbi != NULL); in MSRLE32_GetMaxCompressedSize()
385 assert(count > 0); in MSRLE32_CompressRLE4Line()
478 assert(count > 0); in MSRLE32_CompressRLE8Line()
617 assert(w >= 4); in MSRLE32_CompressRLE4()
670 assert(jumpx == -1); in MSRLE32_CompressRLE4()
845 assert(pi != NULL); in MSRLE32_DecompressRLE4()
1006 assert(pi != NULL); in MSRLE32_DecompressRLE8()
[all …]
/reactos/sdk/include/c++/stlport/
H A Dassert.h25 # if !defined (assert)
28 # include_next <assert.h>
30 # include _STLP_NATIVE_C_HEADER(assert.h)
35 # error assert has been defined before inclusion of assert.h header.
/reactos/dll/opengl/mesa/
H A Dhash.c90 assert(table); in DeleteHashTable()
115 assert(table); in HashLookup()
116 assert(key); in HashLookup()
144 assert(table); in HashInsert()
145 assert(key); in HashInsert()
181 assert(table); in HashRemove()
182 assert(key); in HashRemove()
214 assert(table); in HashFirstEntry()
230 assert(table); in HashPrint()
/reactos/dll/opengl/glu32/src/libnurbs/nurbtess/
H A DgridWrap.cc57 assert(nUlines>=2); in gridWrap()
58 assert(nVlines>=2); in gridWrap()
68 assert(u_values); in gridWrap()
70 assert(v_values); in gridWrap()
92 assert(u_values); in gridWrap()
94 assert(v_values); in gridWrap()
97 assert(nUlines>=2); in gridWrap()
98 assert(nVlines>=2); in gridWrap()
187 assert(ulineIndices); in gridBoundaryChain()
190 assert(innerIndices); in gridBoundaryChain()
[all …]
/reactos/modules/rostests/tests/thread_msg/
H A Dthread_msg.c48 assert( !msg.hwnd ); in thread()
77 assert( PostThreadMessage( id, WM_USER + 0, 1, 2 ) == FALSE ); in main()
87 assert( PostThreadMessage( id, WM_USER + 0, 1, 2 ) ); in main()
88 assert( PostThreadMessage( id, WM_USER + 1, 3, 4 ) ); in main()
90 assert( PostThreadMessage( id, WM_USER + 2, 5, 6 ) ); in main()
91 assert( PostThreadMessage( id, WM_QUIT, 0,0 ) ); in main()
/reactos/modules/rostests/tests/dnsapi/
H A Ddnsapi.c12 assert (DnsValidateName( "||||", DnsNameDomain ) == DNS_ERROR_INVALID_NAME_CHAR); in main()
13 assert (DnsValidateName( "a.b.c", DnsNameDomainLabel ) == DNS_ERROR_INVALID_NAME); in main()
14 assert (DnsValidateName( "1234", DnsNameDomainLabel ) == ERROR_SUCCESS); in main()
15 assert (DnsValidateName( "fubar", DnsNameDomain ) == ERROR_SUCCESS); in main()
16 assert (DnsQuery ("www.reactos.com", DNS_TYPE_A, DNS_QUERY_STANDARD, in main()
/reactos/dll/opengl/glu32/src/libnurbs/interface/
H A DbezierPatchMesh.cc115 assert(ret); in bezierPatchMeshMake()
134 assert(ret->UVarray); in bezierPatchMeshMake()
138 assert(ret->type_array); in bezierPatchMeshMake()
155 assert(ret); in bezierPatchMeshMake2()
165 assert(ret->UVarray); in bezierPatchMeshMake2()
263 assert(temp); in bezierPatchMeshEndStrip()
265 assert(temp_type); in bezierPatchMeshEndStrip()
297 assert(temp); in bezierPatchMeshInsertUV()
442 assert(new_UVarray); in bezierPatchMeshDelDeg()
557 assert(*vertex_array); in bezierPatchMeshListCollect()
[all …]

12345678910>>...24