Home
last modified time | relevance | path

Searched refs:DEBUG_ASSERT (Results 1 – 25 of 783) sorted by relevance

12345678910>>...32

/dports/audio/mixxx/mixxx-2.3.0/src/engine/cachingreader/
H A Dcachingreaderchunk.cpp69 DEBUG_ASSERT( in bufferSampleFrames()
134 DEBUG_ASSERT(!m_pNext); in init()
135 DEBUG_ASSERT(!m_pPrev); in init()
145 DEBUG_ASSERT(!m_pNext); in free()
146 DEBUG_ASSERT(!m_pPrev); in free()
158 DEBUG_ASSERT(ppHead); in insertIntoListBefore()
159 DEBUG_ASSERT(ppTail); in insertIntoListBefore()
165 DEBUG_ASSERT(!m_pNext); in insertIntoListBefore()
166 DEBUG_ASSERT(!m_pPrev); in insertIntoListBefore()
207 DEBUG_ASSERT(ppHead); in removeFromList()
[all …]
H A Dcachingreader.cpp109 DEBUG_ASSERT(pChunk); in freeChunk()
116 DEBUG_ASSERT(removed <= 1); in freeChunk()
133 DEBUG_ASSERT(!m_mruCachingReaderChunk); in freeAllChunks()
134 DEBUG_ASSERT(!m_lruCachingReaderChunk); in freeAllChunks()
172 DEBUG_ASSERT(!pChunk || pChunk->getIndex() == chunkIndex); in lookupChunk()
177 DEBUG_ASSERT(pChunk); in freshenChunk()
232 DEBUG_ASSERT( in process()
339 DEBUG_ASSERT(!remainingFrameIndexRange.empty()); in read()
440 DEBUG_ASSERT(!pChunk || in read()
489 DEBUG_ASSERT(chunkSamples > 0); in read()
[all …]
H A Dcachingreaderchunk.h28 DEBUG_ASSERT(0 == (samples % kChannels)); in samples2frames()
111 DEBUG_ASSERT(!m_pPrev); in giveToWorker()
112 DEBUG_ASSERT(!m_pNext); in giveToWorker()
113 DEBUG_ASSERT(m_state == READY); in giveToWorker()
118 DEBUG_ASSERT(!m_pPrev); in takeFromWorker()
119 DEBUG_ASSERT(!m_pNext); in takeFromWorker()
120 DEBUG_ASSERT(m_state == READ_PENDING); in takeFromWorker()
/dports/audio/mixxx/mixxx-2.3.0/src/sources/
H A Dreadaheadframebuffer.cpp57 DEBUG_ASSERT( in adjustCapacityBeforeBuffering()
64 DEBUG_ASSERT(isValid()); in tryContinueReadingFrom()
81 DEBUG_ASSERT(isValid()); in reset()
86 DEBUG_ASSERT(isReady()); in discardFirstBufferedFrames()
99 DEBUG_ASSERT(isReady()); in discardLastBufferedFrames()
109 DEBUG_ASSERT(isValid()); in fillBuffer()
125 DEBUG_ASSERT(isReady()); in fillBuffer()
191 DEBUG_ASSERT(isValid()); in drainBuffer()
304 DEBUG_ASSERT( in consumeAndFillBuffer()
335 DEBUG_ASSERT( in consumeAndFillBuffer()
[all …]
H A Dsoundsourcemp3.cpp119 DEBUG_ASSERT(pMadStream); in decodeFrameHeader()
120 DEBUG_ASSERT(isStreamValid(*pMadStream)); in decodeFrameHeader()
156 DEBUG_ASSERT(isStreamValid(*pMadStream)); in decodeFrameHeader()
204 DEBUG_ASSERT(!m_file.isOpen()); in tryOpen()
225 DEBUG_ASSERT(m_seekFrameList.empty()); in tryOpen()
317 DEBUG_ASSERT(m_madStream.this_frame); in tryOpen()
477 DEBUG_ASSERT(m_seekFrameList.empty() || in addSeekFrame()
479 DEBUG_ASSERT(m_seekFrameList.empty() || in addSeekFrame()
491 DEBUG_ASSERT(0 < m_avgSeekFrameCount); in findSeekFrameIndex()
492 DEBUG_ASSERT(!m_seekFrameList.empty()); in findSeekFrameIndex()
[all …]
H A Dsoundsourceffmpeg.cpp471 DEBUG_ASSERT(m_pavPacket); in getSupportedFileExtensions()
477 DEBUG_ASSERT(!m_pavPacket); in getSupportedFileExtensions()
545 DEBUG_ASSERT(pDecoder); in getSupportedFileExtensions()
549 DEBUG_ASSERT(pavStream != nullptr); in getSupportedFileExtensions()
676 DEBUG_ASSERT(!m_pavDecodedFrame); in getSupportedFileExtensions()
778 DEBUG_ASSERT(!m_pavDecodedFrame); in getSupportedFileExtensions()
794 DEBUG_ASSERT(!pavPacket->buf); in getSupportedFileExtensions()
820 DEBUG_ASSERT(pavPacket->data); in getSupportedFileExtensions()
891 DEBUG_ASSERT(m_pavPacket); in getSupportedFileExtensions()
892 DEBUG_ASSERT(ppavNextPacket); in getSupportedFileExtensions()
[all …]
H A Dsoundsourcem4a.cpp231 DEBUG_ASSERT(MP4_INVALID_FILE_HANDLE == m_hFile); in tryOpen()
318 DEBUG_ASSERT(!m_pMP4ESConfigBuffer); in openDecoder()
328 DEBUG_ASSERT(!m_pMP4ESConfigBuffer); in openDecoder()
329 DEBUG_ASSERT(m_sizeofMP4ESConfigBuffer == 0); in openDecoder()
335 DEBUG_ASSERT(m_hDecoder); in openDecoder()
371 DEBUG_ASSERT(m_hDecoder == hNewDecoder); in reopenDecoder()
441 DEBUG_ASSERT(m_hDecoder); in replaceDecoder()
615 DEBUG_ASSERT( in readSampleFramesClamped()
623 DEBUG_ASSERT(m_sampleBuffer.empty()); in readSampleFramesClamped()
758 DEBUG_ASSERT(pDecodeResult == in readSampleFramesClamped()
[all …]
H A Dsoundsourcemediafoundation.cpp163 DEBUG_ASSERT(isValidFrameIndex(frameIndex)); in seekSampleFrame()
208 DEBUG_ASSERT(seekPos >= 0); in seekSampleFrame()
295 DEBUG_ASSERT(m_sampleBuffer.empty()); in readSampleFramesClamped()
325 DEBUG_ASSERT(m_sampleBuffer.empty()); in readSampleFramesClamped()
347 DEBUG_ASSERT(pSample == nullptr); in readSampleFramesClamped()
356 DEBUG_ASSERT(pSample == nullptr); in readSampleFramesClamped()
360 DEBUG_ASSERT(pSample == nullptr); in readSampleFramesClamped()
368 DEBUG_ASSERT(pSample == nullptr); in readSampleFramesClamped()
371 DEBUG_ASSERT(pSample != nullptr); in readSampleFramesClamped()
534 DEBUG_ASSERT(pSourceReader); in configureMediaType()
[all …]
/dports/audio/mixxx/mixxx-2.3.0/src/track/
H A Dglobaltrackcache.cpp48 DEBUG_ASSERT( in validateAndCanonicalizeRequestedTrackRef()
51 DEBUG_ASSERT( in validateAndCanonicalizeRequestedTrackRef()
111 DEBUG_ASSERT(s_pInstance); in lockCache()
145 DEBUG_ASSERT(m_pInstance); in relocateCachedTracks()
150 DEBUG_ASSERT(m_pInstance); in purgeTrackId()
155 DEBUG_ASSERT(m_pInstance); in deactivateCache()
160 DEBUG_ASSERT(m_pInstance); in isEmpty()
256 DEBUG_ASSERT(pTrack); in operator ()()
329 DEBUG_ASSERT(m_pSaver); in GlobalTrackCache()
713 DEBUG_ASSERT(pDel); in initTrackId()
[all …]
/dports/audio/mixxx/mixxx-2.3.0/src/util/
H A Dsamplebuffer.h62 DEBUG_ASSERT(0 <= offset);
64 DEBUG_ASSERT(m_size >= offset);
69 DEBUG_ASSERT(0 <= offset);
71 DEBUG_ASSERT(m_size >= offset);
106 DEBUG_ASSERT(m_length >= 0); in ReadableSlice()
116 DEBUG_ASSERT(0 <= offset);
118 DEBUG_ASSERT(m_length >= offset);
122 DEBUG_ASSERT(0 <= offset);
147 DEBUG_ASSERT(m_length >= 0); in WritableSlice()
161 DEBUG_ASSERT(0 <= offset);
[all …]
H A Dindexrange.cpp10 DEBUG_ASSERT(frontLength >= 0); in splitAndShrinkFront()
11 DEBUG_ASSERT(frontLength <= length()); in splitAndShrinkFront()
14 DEBUG_ASSERT(startRange.length() == frontLength); in splitAndShrinkFront()
16 DEBUG_ASSERT(start() == startRange.end()); // adjacent in splitAndShrinkFront()
20 DEBUG_ASSERT(startRange.length() == frontLength); in splitAndShrinkFront()
28 DEBUG_ASSERT(backLength >= 0); in splitAndShrinkBack()
29 DEBUG_ASSERT(backLength <= length()); in splitAndShrinkBack()
32 DEBUG_ASSERT(endRange.length() == backLength); in splitAndShrinkBack()
38 DEBUG_ASSERT(endRange.length() == backLength); in splitAndShrinkBack()
89 DEBUG_ASSERT(lhs.empty()); in intersect2()
[all …]
H A Dindexrange.h22 DEBUG_ASSERT(empty()); in IndexRange()
29 DEBUG_ASSERT(length >= 0); in forward()
33 DEBUG_ASSERT(length >= 0); in backward()
91 DEBUG_ASSERT(frontLength >= 0); in growFront()
101 DEBUG_ASSERT(backLength >= 0); in growBack()
111 DEBUG_ASSERT(frontLength >= 0); in shrinkFront()
112 DEBUG_ASSERT(frontLength <= length()); in shrinkFront()
122 DEBUG_ASSERT(backLength >= 0); in shrinkBack()
123 DEBUG_ASSERT(backLength <= length()); in shrinkBack()
/dports/audio/mixxx/mixxx-2.3.0/src/musicbrainz/
H A Dmusicbrainzxml.cpp60 DEBUG_ASSERT(level > 0); in consumeCurrentElement()
111 DEBUG_ASSERT(artistName.isEmpty()); in readElementArtistCredit()
112 DEBUG_ASSERT(artistId.isNull()); in readElementArtistCredit()
163 DEBUG_ASSERT(!creditedName.isEmpty()); in readElementArtistCredit()
192 DEBUG_ASSERT(!trackRelease.albumReleaseId.isNull()); in readElementRelease()
205 DEBUG_ASSERT(trackRelease.date.isNull()); in readElementRelease()
371 DEBUG_ASSERT(!recordingId.isNull()); in readElementRecording()
383 DEBUG_ASSERT(recordingTitle.isNull()); in readElementRecording()
421 DEBUG_ASSERT(trackRelease.recordingId.isNull()); in readElementRecording()
461 DEBUG_ASSERT(code == Error().code); in Error()
[all …]
/dports/audio/mixxx/mixxx-2.3.0/src/library/
H A Dtreeitem.cpp52 DEBUG_ASSERT(row >= 0); in child()
60 DEBUG_ASSERT(pChild); in insertChild()
61 DEBUG_ASSERT(!pChild->m_pParent); in insertChild()
62 DEBUG_ASSERT(!pChild->m_pFeature || in insertChild()
64 DEBUG_ASSERT(row >= 0); in insertChild()
72 DEBUG_ASSERT(!m_pFeature || in initFeatureRecursively()
74 DEBUG_ASSERT(!m_pParent || in initFeatureRecursively()
101 DEBUG_ASSERT(row >= 0); in removeChild()
107 DEBUG_ASSERT(row >= 0); in insertChildren()
117 DEBUG_ASSERT(count >= 0); in removeChildren()
[all …]
H A Drelocatedtrack.h19 DEBUG_ASSERT(m_missingTrackRef.isValid()); in RelocatedTrack()
20 DEBUG_ASSERT(m_missingTrackRef.hasId()); in RelocatedTrack()
21 DEBUG_ASSERT(m_missingTrackRef.hasLocation()); in RelocatedTrack()
28 DEBUG_ASSERT(m_addedTrackRef.hasLocation()); in RelocatedTrack()
29 DEBUG_ASSERT(updatedTrackRef().isValid()); in RelocatedTrack()
30 DEBUG_ASSERT(updatedTrackRef().hasId()); in RelocatedTrack()
31 DEBUG_ASSERT(updatedTrackRef().hasLocation()); in RelocatedTrack()
/dports/audio/mixxx/mixxx-2.3.0/src/analyzer/
H A Dtrackanalysisscheduler.cpp108 DEBUG_ASSERT(m_pendingTrackIds.size() <= in emitProgressOrFinished()
131 DEBUG_ASSERT(kAnalyzerProgressNone == 0); in emitProgressOrFinished()
190 DEBUG_ASSERT(!trackId.isValid()); in onWorkerThreadProgress()
194 DEBUG_ASSERT(!trackId.isValid()); in onWorkerThreadProgress()
200 DEBUG_ASSERT(trackId.isValid()); in onWorkerThreadProgress()
210 DEBUG_ASSERT(trackId.isValid()); in onWorkerThreadProgress()
221 DEBUG_ASSERT(!trackId.isValid()); in onWorkerThreadProgress()
224 DEBUG_ASSERT(!worker); in onWorkerThreadProgress()
272 DEBUG_ASSERT(worker); in submitNextTrack()
275 DEBUG_ASSERT(nextTrackId.isValid()); in submitNextTrack()
[all …]
H A Danalyzerthread.cpp120 DEBUG_ASSERT(!m_analyzers.empty()); in doRun()
129 DEBUG_ASSERT(m_currentTrack); in doRun()
181 DEBUG_ASSERT(!m_currentTrack); in doRun()
182 DEBUG_ASSERT(isStopping()); in doRun()
191 DEBUG_ASSERT(nextTrack); in submitNextTrack()
207 DEBUG_ASSERT(!m_currentTrack); in tryFetchWorkItems()
224 DEBUG_ASSERT(m_currentTrack); in analyzeAudioSource()
229 DEBUG_ASSERT( in analyzeAudioSource()
334 DEBUG_ASSERT(m_currentTrack); in emitBusyProgress()
349 DEBUG_ASSERT(m_currentTrack); in emitDoneProgress()
[all …]
/dports/audio/mixxx/mixxx-2.3.0/src/util/db/
H A Dfwdsqlquery.cpp15 DEBUG_ASSERT(!query.isActive()); in prepareQuery()
41 DEBUG_ASSERT(!database.isOpen() || hasError()); in FwdSqlQuery()
51 DEBUG_ASSERT(isPrepared()); in execPrepared()
52 DEBUG_ASSERT(!hasError()); in execPrepared()
65 DEBUG_ASSERT(!hasError()); in execPrepared()
69 DEBUG_ASSERT(size() < 0); in execPrepared()
77 DEBUG_ASSERT(hasError()); in execPrepared()
83 DEBUG_ASSERT(!hasError()); in fieldIndex()
84 DEBUG_ASSERT(isSelect()); in fieldIndex()
92 DEBUG_ASSERT(!hasError()); in fieldIndex()
[all …]
H A Dfwdsqlquery.h75 DEBUG_ASSERT(!hasError()); in numRowsAffected()
80 DEBUG_ASSERT(!lastError().isValid()); in lastInsertId()
81 DEBUG_ASSERT(!isSelect()); in lastInsertId()
83 DEBUG_ASSERT(result.isValid()); in lastInsertId()
84 DEBUG_ASSERT(!result.isNull()); in lastInsertId()
89 DEBUG_ASSERT(!hasError()); in next()
90 DEBUG_ASSERT(isSelect()); in next()
97 DEBUG_ASSERT(!hasError()); in fieldValue()
98 DEBUG_ASSERT(isSelect()); in fieldValue()
H A Dfwdsqlqueryselectresult.cpp6 DEBUG_ASSERT(!m_query.isActive()); in FwdSqlQuerySelectResult()
20 DEBUG_ASSERT(m_query.isActive()); in FwdSqlQuerySelectResult()
21 DEBUG_ASSERT(m_query.isSelect()); in FwdSqlQuerySelectResult()
24 DEBUG_ASSERT(!m_query.isValid()); in FwdSqlQuerySelectResult()
28 DEBUG_ASSERT(m_query.isForwardOnly()); in FwdSqlQuerySelectResult()
/dports/audio/mixxx/mixxx-2.3.0/src/musicbrainz/web/
H A Dacoustidlookuptask.cpp35 DEBUG_ASSERT(!fingerprint.isEmpty()); in lookupUrlQuery()
36 DEBUG_ASSERT(duration >= 0); in lookupUrlQuery()
89 DEBUG_ASSERT(content.isEmpty()); in sendNetworkRequest()
91 DEBUG_ASSERT(url.isValid()); in sendNetworkRequest()
101 DEBUG_ASSERT(!m_urlQuery.isEmpty()); in sendNetworkRequest()
111 DEBUG_ASSERT(networkAccessManager); in sendNetworkRequest()
156 DEBUG_ASSERT(result.isObject()); in onFinished()
160 DEBUG_ASSERT(!resultId.isEmpty()); in onFinished()
164 DEBUG_ASSERT(score >= 0.0); in onFinished()
165 DEBUG_ASSERT(score <= 1.0); in onFinished()
[all …]
/dports/audio/mixxx/mixxx-2.3.0/src/network/
H A Dwebtask.cpp125 DEBUG_ASSERT(m_state == State::Pending); in onNetworkError()
141 DEBUG_ASSERT(hasTerminated()); in onNetworkError()
183 DEBUG_ASSERT(!m_pendingNetworkReplyWeakPtr); in slotStart()
211 DEBUG_ASSERT(m_state == State::Idle); in slotStart()
225 DEBUG_ASSERT(timeoutMillis > 0); in slotStart()
248 DEBUG_ASSERT(hasTerminated()); in slotAbort()
278 DEBUG_ASSERT(hasTerminated()); in slotAbort()
303 DEBUG_ASSERT(timerId != kInvalidTimerId); in timerEvent()
315 DEBUG_ASSERT(m_state == State::Pending); in timerEvent()
365 DEBUG_ASSERT(m_state == State::Pending); in slotNetworkReplyFinished()
[all …]
/dports/shells/ast-ksh/ast-ksh93v/src/lib/libast/vmalloc/
H A Dvmbest.c218 { rv = -1; /**/DEBUG_ASSERT(0); } in chkregion()
419 /**/DEBUG_ASSERT(root != t); in bestpackextract()
473 { /**/DEBUG_ASSERT(!(SIZE(fp)&SMALL) ); in bestlistreclaim()
527 { /**/DEBUG_ASSERT(np != fp); in bestlistreclaim()
530 { /**/DEBUG_ASSERT(t != np && t != fp); in bestlistreclaim()
540 { /**/DEBUG_ASSERT(t != np && t != fp); in bestlistreclaim()
602 /**/DEBUG_ASSERT(PACKWILD(pack,tp)); in bestpackalloc()
722 /**/DEBUG_ASSERT((MEM_ALIGN%(BITS+1)) == 0 ); in bestalloc()
783 /**/DEBUG_ASSERT(chkregion(best, local) >= 0); in bestresize()
847 /**/DEBUG_ASSERT(np == rp); in bestresize()
[all …]
/dports/audio/mixxx/mixxx-2.3.0/src/test/
H A Dmixxxtest.cpp30 DEBUG_ASSERT(argsParsed); in ApplicationScope()
47 DEBUG_ASSERT(s_pApplication.isNull()); in ApplicationScope()
53 DEBUG_ASSERT(providersRegistered); in ApplicationScope()
57 DEBUG_ASSERT(!s_pApplication.isNull()); in ~ApplicationScope()
63 DEBUG_ASSERT(m_testDataDir.isValid()); in MixxxTest()
104 DEBUG_ASSERT(!tmpFileName.isEmpty()); in generateTemporaryFileName()
119 DEBUG_ASSERT(!fileName.isEmpty()); in createEmptyTemporaryFile()
133 DEBUG_ASSERT(srcFile.exists()); in copyFile()
/dports/audio/mixxx/mixxx-2.3.0/src/audio/
H A Dsignalinfo.h41 DEBUG_ASSERT(getChannelCount().isValid()); in samples2frames()
42 DEBUG_ASSERT(0 == (samples % getChannelCount())); in samples2frames()
48 DEBUG_ASSERT(getChannelCount().isValid()); in samples2framesFractional()
54 DEBUG_ASSERT(getChannelCount().isValid()); in frames2samples()
60 DEBUG_ASSERT(getSampleRate().isValid()); in frames2secsFractional()
71 DEBUG_ASSERT(getSampleRate().isValid()); in secs2frames()

12345678910>>...32