Searched refs:assert (Results 1 - 25 of 10240) sorted by last modified time

1234567891011>>

/external/zlib/src/examples/
H A Denough.c105 #include <assert.h>
217 assert(syms > left && left > 0 && len < max);
247 assert(sum != 0);
339 assert(rem == left);
H A Dfitblk.c10 Use assert() for internal errors
56 #include <assert.h>
87 assert(ret != Z_STREAM_ERROR);
107 assert(ret != Z_STREAM_ERROR && ret != Z_DATA_ERROR &&
118 assert(ret != Z_STREAM_ERROR);
171 assert(ret != Z_STREAM_ERROR);
190 assert(ret != Z_STREAM_ERROR);
203 assert(ret != Z_STREAM_ERROR);
205 assert(ret != Z_STREAM_ERROR);
215 assert(re
[all...]
H A Dzpipe.c17 #include <assert.h>
68 assert(ret != Z_STREAM_ERROR); /* state not clobbered */
75 assert(strm.avail_in == 0); /* all input will be used */
79 assert(ret == Z_STREAM_END); /* stream will be complete */
126 assert(ret != Z_STREAM_ERROR); /* state not clobbered */
/external/zlib/src/test/
H A Dinfcover.c11 #include <assert.h>
163 assert(zone != NULL);
301 out = malloc(len); assert(out != NULL);
309 ret = inflateGetHeader(&strm, &head); assert(ret == Z_OK);
311 in = h2b(hex, &have); assert(in != NULL);
320 ret = inflate(&strm, Z_NO_FLUSH); assert(err == 9 || ret == err);
325 assert(ret == Z_DATA_ERROR);
328 assert(ret == Z_MEM_ERROR);
332 assert(ret == Z_OK);
333 ret = inflate(&strm, Z_NO_FLUSH); assert(re
[all...]
/external/zopfli/src/zopfli/
H A Dblocksplitter.c22 #include <assert.h>
170 assert(npoints == nlz77points);
250 assert(lstart < lend);
253 assert(llpos > lstart);
254 assert(llpos < lend);
326 assert(*npoints == nlz77points);
H A Dcache.c22 #include <assert.h>
73 assert(bestlength == length);
76 assert(bestlength <= length);
78 assert(bestlength == ZopfliMaxCachedSublen(lmc, pos, length));
H A Ddeflate.c22 #include <assert.h>
295 assert, but you can set it to 0 to not do the assertion.
312 assert(litlen < 256);
313 assert(ll_lengths[litlen] > 0);
319 assert(litlen >= 3 && litlen <= 288);
320 assert(ll_lengths[lls] > 0);
321 assert(d_lengths[ds] > 0);
333 assert(expected_data_size == 0 || testlength == expected_data_size);
496 assert(btype == 1 || btype == 2); /* This is not for uncompressed blocks. */
522 expected_data_size: the uncompressed block size, used for assert, bu
[all...]
H A Dhash.c22 #include <assert.h>
H A Dkatajainen.c27 #include <assert.h>
H A Dlz77.c23 #include <assert.h>
98 /* TODO(lode): make this only run in a debug compile, it's for assert only. */
101 assert(pos + length <= datasize);
104 assert(data[pos - dist + i] == data[pos + i]);
187 assert(sublen[*length] == s->lmc->dist[lmcpos]);
220 assert(s->lmc->length[lmcpos] == 1 && s->lmc->dist[lmcpos] == 0);
223 assert(!(s->lmc->length[lmcpos] == 1 && s->lmc->dist[lmcpos] == 0));
253 assert(pos + *length <= size);
258 assert(limit <= ZOPFLI_MAX_MATCH);
259 assert(limi
[all...]
H A Dsqueeze.c22 #include <assert.h>
274 assert(newCost >= 0);
289 assert(newCost >= 0);
291 assert(k <= ZOPFLI_MAX_MATCH);
298 assert(costs[blocksize] >= 0);
319 assert(length_array[index] <= index);
320 assert(length_array[index] <= ZOPFLI_MAX_MATCH);
321 assert(length_array[index] != 0);
360 assert(pos < inend);
370 assert(!(dummy_lengt
[all...]
H A Dtree.c22 #include <assert.h>
47 assert(lengths[i] <= maxbits);
92 assert(bitlengths[i] >= 0);
100 assert(!error);
H A Dutil.c24 #include <assert.h>
H A Dzopfli_bin.c27 #include <assert.h>
64 assert(!(*outsize) || out); /* If size is not zero, out must be allocated. */
74 assert(file);
186 assert(output_type == ZOPFLI_FORMAT_DEFLATE);
H A Dzopfli_lib.c26 #include <assert.h>
40 assert(0);
/external/webrtc/src/common_audio/vad/
H A Dvad_sp.c13 #include <assert.h>
75 assert(channel < NUM_CHANNELS);
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/
H A Dfilters_neon.c20 #include <assert.h>
34 assert(N % 4 == 0);
/external/webrtc/src/modules/audio_processing/aec/
H A Daec_core.c17 #include <assert.h>
694 assert(WebRtc_available_read(aec->far_buf) > 0);
915 assert(WebRtc_available_read(aec->far_buf_windowed) > 0);
H A Daec_resampler.c17 #include <assert.h>
193 assert(n > 0);
202 assert(n > 0);
223 assert(n > 0);
/external/webrtc/src/modules/audio_processing/aecm/
H A Daecm_core.c13 #include <assert.h>
250 assert(self != NULL);
664 assert(PART_LEN % 16 == 0);
1815 assert(kMaxPrefBand - kMinPrefBand + 1 > 0);
1935 assert(shiftFromNearToNoise >= 0);
1936 assert(shiftFromNearToNoise < 16);
H A Daecm_core_neon.c14 #include <assert.h>
/external/webrtc/src/modules/audio_processing/agc/
H A Danalog_agc.c20 #include <assert.h>
205 assert(stt->maxLevel > stt->maxAnalog);
212 assert(targetGainIdx < GAIN_TBL_LEN);
H A Ddigital_agc.c17 #include <assert.h>
111 assert(0);
/external/webrtc/src/modules/audio_processing/
H A Daudio_buffer.cc26 assert(left != NULL && right != NULL && out != NULL);
98 assert(channel >= 0 && channel < num_channels_);
107 assert(channel >= 0 && channel < num_channels_);
116 assert(channel >= 0 && channel < num_channels_);
125 assert(channel >= 0 && channel < num_mixed_channels_);
131 assert(channel >= 0 && channel < num_mixed_low_pass_channels_);
137 assert(channel >= 0 && channel < num_channels_);
146 assert(channel >= 0 && channel < num_channels_);
151 assert(channel >= 0 && channel < num_channels_);
156 assert(channe
[all...]
H A Daudio_processing_impl.cc13 #include <assert.h>
482 assert(kMaxFilenameSize == FileWrapper::kMaxFileNameSize);

Completed in 628 milliseconds

1234567891011>>