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

123456

/system/extras/f2fs_utils/
H A Df2fs_dlutils.c34 #include <assert.h>
44 assert(f2fs_format_device_dl);
48 assert(f2fs_init_configuration_dl);
H A Df2fs_ioutils.c31 #include <assert.h>
199 assert(false); // Must not be invoked.
205 assert(false); // Must not be invoked.
223 assert(false); // Must not be invoked.
229 assert(false); // Must not be invoked.
235 assert(false); // Must not be invoked.
241 assert(false); // Must not be invoked.
/system/keymaster/
H A Dkey.cpp17 #include <assert.h>
29 assert(error);
H A Doperation.cpp64 assert(false);
85 assert(false);
153 assert(input_consumed == input.available_read());
154 assert(output_params.empty());
155 assert(output.available_read() == 0);
H A Dserializable.cpp19 #include <assert.h>
112 assert(buffer_size_ >= write_position_);
117 assert(buffer_size_ >= write_position_);
118 assert(write_position_ >= read_position_);
H A Dhmac.cpp19 #include <assert.h>
56 assert(digest_len);
/system/keymaster/include/keymaster/
H A DUniquePtr.h144 static void assert(bool b) { function
159 assert(*p == 123);
173 assert(cCount == 1);
175 assert(cCount == 0);
180 assert(cCount == 1);
183 assert(cCount == 1);
188 assert(cCount == 1);
190 assert(cCount == 1);
192 assert(cCount == 0);
201 assert(cCoun
[all...]
/system/core/trusty/storage/proxy/
H A Dipc.c16 #include <assert.h>
40 assert(tipc_fd == -1);
61 assert(tipc_fd >= 0);
72 assert(tipc_fd >= 0);
101 assert(tipc_fd >= 0);
/system/nfc/src/adaptation/
H A Dringbuffer.cc19 #include <assert.h>
50 assert(rb);
55 assert(rb);
60 assert(rb);
61 assert(p);
75 assert(rb);
88 assert(rb);
89 assert(p);
90 assert(offset >= 0);
91 assert((size_
[all...]
/system/chre/platform/linux/include/chre/target_platform/
H A Dassert.h79 assert(condition); \
85 #define CHRE_ASSERT(condition) assert(condition)
/system/extras/perfprofd/tests/
H A Dperfprofdmockutils.cc24 #include <assert.h>
34 assert(mock_log);
40 assert(!mock_log);
46 assert(mock_log);
53 assert(mock_log);
/system/media/audio_utils/spdif/
H A DFrameScanner.cpp20 #include <assert.h>
55 assert(mCursor < sizeof(mHeaderBuffer));
H A DBitFieldParser.cpp21 #include <assert.h>
/system/extras/tests/lib/testUtil/
H A DtestUtil.c20 #include <assert.h>
107 assert(first != NULL);
108 assert(second != NULL);
109 assert(first->tv_nsec >= 0 && first->tv_nsec < nSecsPerSec);
110 assert(second->tv_nsec >= 0 && second->tv_nsec < nSecsPerSec);
130 assert(first != NULL);
131 assert(second != NULL);
132 assert(first->tv_usec >= 0 && first->tv_usec < uSecsPerSec);
133 assert(second->tv_usec >= 0 && second->tv_usec < uSecsPerSec);
344 assert((ALE
[all...]
/system/core/libmemunreachable/
H A DAllocator.cpp22 #include <assert.h>
44 // assert - fprintf + mmap
151 assert(map_size > size);
152 assert(ptr != NULL);
215 assert(count == sizeof(Chunk));
226 assert(reinterpret_cast<Chunk*>(ptr) == ptr_to_chunk(ptr));
248 assert(free_count_ > 0);
252 assert(i < arraysize(free_bitmap_));
254 assert(free_bitmap_[i] & (1U << bit));
257 assert(
[all...]
/system/core/toolbox/upstream-netbsd/lib/libc/string/
H A Dswab.c44 #include <assert.h>
/system/extras/perfprofd/
H A Dconfigreader.cc18 #include <assert.h>
163 assert(it != u_entries.end());
171 assert(it != s_entries.end());
179 assert(it != u_entries.end());
182 assert(iit != u_info.end());
184 assert(new_value >= vals.minv && new_value <= vals.maxv);
199 assert(key);
200 assert(value);
210 assert(iit != u_info.end());
/system/extras/verity/
H A Dbuild_verity_tree.cpp7 #include <assert.h>
63 assert(mdctx);
69 assert(ret == 1);
96 assert(len % ctx->block_size == 0);
215 assert(hash_size * 2 < block_size);
307 assert(ptr == verity_tree + verity_blocks * block_size);
308 assert(verity_tree_level_blocks[levels - 1] == 1);
339 assert(div_round_up(out_size, block_size) == verity_tree_level_blocks[i + 1]);
341 assert(out_size == hash_size);
/system/core/libcutils/
H A Drecord_stream.c20 #include <assert.h>
49 assert (maxRecordLen <= 0xffff);
148 assert (0);
/system/core/toolbox/
H A Dbsd-compatibility.h39 #include <assert.h>
/system/extras/verity/fec/
H A Dimage.cpp24 #include <assert.h>
54 assert(ctx->input == ctx->output);
84 assert(len % FEC_BLOCKSIZE == 0);
147 assert(ctx->roots > 0 && ctx->roots < FEC_RSM);
194 assert(ctx->rounds > 0); /* image_load should be called first */
226 assert(sizeof(fec_header) <= FEC_BLOCKSIZE);
294 assert(2 * sizeof(fec_header) <= FEC_BLOCKSIZE);
313 assert(ctx->fec_filename);
365 assert(ctx->rounds > 0);
418 assert(arg
[all...]
/system/bt/build/toolchain/clang/
H A DBUILD.gn18 assert(clang_suffix != "None",
/system/sepolicy/tools/
H A Dcheckfc.c49 } assert; member in struct:__anon2499
174 uint32_t len = ebitmap_length(&global_state.assert.set);
177 &global_state.assert.set);
180 dump_char_array(stderr, global_state.assert.attrs);
229 ebitmap_destroy(&global_state.assert.set);
310 global_state.assert.attrs = filemode_to_assert_attrs(mode);
312 bool ret = ebitmap_attribute_assertion_init(&global_state.assert.set, global_state.assert.attrs);
/system/core/libutils/
H A DFileMap.cpp43 #include <assert.h>
177 assert(fd >= 0);
178 assert(offset >= 0);
179 assert(length > 0);
214 assert(mBasePtr != NULL);
235 assert(false);
/system/core/libsparse/
H A Dbacked_block.c17 #include <assert.h>
77 assert(bb->type == BACKED_BLOCK_DATA);
83 assert(bb->type == BACKED_BLOCK_FILE);
89 assert(bb->type == BACKED_BLOCK_FD);
95 assert(bb->type == BACKED_BLOCK_FILE || bb->type == BACKED_BLOCK_FD);
105 assert(bb->type == BACKED_BLOCK_FILL);
201 assert(a->block < b->block);

Completed in 454 milliseconds

123456