/freebsd-10.2-release/contrib/llvm/tools/clang/include/clang/AST/ |
H A D | APValue.h | 202 assert(isInt() && "Invalid accessor"); 210 assert(isFloat() && "Invalid accessor"); 218 assert(isComplexInt() && "Invalid accessor"); 226 assert(isComplexInt() && "Invalid accessor"); 234 assert(isComplexFloat() && "Invalid accessor"); 242 assert(isComplexFloat() && "Invalid accessor"); 260 assert(isVector() && "Invalid accessor"); 261 assert(I < getVectorLength() && "Index out of range"); 268 assert(isVector() && "Invalid accessor"); 273 assert(isArra [all...] |
/freebsd-10.2-release/contrib/llvm/tools/clang/lib/Lex/ |
H A D | PPCaching.cpp | 33 assert(!BacktrackPositions.empty() 41 assert(!BacktrackPositions.empty() 87 assert(CachedLexPos + N > CachedTokens.size() && "Confused caching."); 98 assert(Tok.isAnnotation() && "Expected annotation token"); 99 assert(CachedLexPos != 0 && "Expected to have some cached tokens"); 100 assert(CachedTokens[CachedLexPos-1].getLastLoc() == Tok.getAnnotationEndLoc() 108 assert((BacktrackPositions.empty() || BacktrackPositions.back() < i) &&
|
/freebsd-10.2-release/contrib/libarchive/tar/test/ |
H A D | test_option_r.c | 49 if (!assert(p0 != NULL)) 51 if (!assert(s >= 2048)) { 62 assert(buff != NULL); 80 if (!assert(p1 != NULL)) { 85 assert(s >= 2560 + buff_size_rounded); 108 if (!assert(p1 != NULL)) { 112 assert(s >= 3584 + buff_size_rounded);
|
/freebsd-10.2-release/contrib/ldns/compat/ |
H A D | b64_ntop.c | 140 assert(output[0] < 64); 141 assert(output[1] < 64); 142 assert(output[2] < 64); 143 assert(output[3] < 64); 164 assert(output[0] < 64); 165 assert(output[1] < 64); 166 assert(output[2] < 64);
|
/freebsd-10.2-release/tools/regression/lib/libc/string/ |
H A D | test-stpncpy.c | 32 #include <assert.h> 44 assert(buf); 46 assert(munmap(buf + alloc_size - PAGE_SIZE, PAGE_SIZE) == 0); 49 assert(munmap(buf, PAGE_SIZE) == 0); 70 assert(stpncpy(dst, src, bufsize) == dst+len); 71 assert(memcmp(src, dst, len) == 0); 73 assert(dst[x] == '\0');
|
H A D | test-wcsnlen.c | 32 #include <assert.h> 45 assert(buf); 47 assert(munmap(buf + alloc_size - PAGE_SIZE, PAGE_SIZE) == 0); 50 assert(munmap(buf, PAGE_SIZE) == 0); 68 assert(wcsnlen(s1, bufsize) == len);
|
/freebsd-10.2-release/usr.sbin/bhyve/ |
H A D | rtc.c | 35 #include <assert.h> 90 assert(err == 0); 92 assert(err == 0); 96 assert(err == 0); 98 assert(err == 0); 100 assert(err == 0); 103 assert(err == 0);
|
/freebsd-10.2-release/contrib/llvm/include/llvm/Option/ |
H A D | Option.h | 80 assert(Info && "Must have a valid info!"); 85 assert(Info && "Must have a valid info!"); 91 assert(Info && "Must have a valid info!"); 96 assert(Info && "Must have a valid info!"); 97 assert(Owner && "Must have a valid owner!"); 102 assert(Info && "Must have a valid info!"); 103 assert(Owner && "Must have a valid owner!"); 110 assert(Info && "Must have a valid info!"); 111 assert((!Info->AliasArgs || Info->AliasArgs[0] != 0) &&
|
/freebsd-10.2-release/contrib/libarchive/libarchive/test/ |
H A D | test_write_disk_times.c | 40 assert((a = archive_write_disk_new()) != NULL); 47 assert((ae = archive_entry_new()) != NULL); 62 assert((ae = archive_entry_new()) != NULL); 75 assert((ae = archive_entry_new()) != NULL); 89 assert((ae = archive_entry_new()) != NULL); 103 assert((ae = archive_entry_new()) != NULL); 118 assert((ae = archive_entry_new()) != NULL); 136 assert((ae = archive_entry_new()) != NULL); 151 assert((ae = archive_entry_new()) != NULL);
|
H A D | test_write_disk_secure746.c | 60 assert((a = archive_write_disk_new()) != NULL); 64 assert((ae = archive_entry_new()) != NULL); 102 assert((a = archive_write_disk_new()) != NULL); 106 assert((ae = archive_entry_new()) != NULL); 114 assert((ae = archive_entry_new()) != NULL);
|
H A D | test_write_format_tar_empty.c | 40 assert((a = archive_write_new()) != NULL); 51 assert(used == 1024); 54 assert(buff[i] == 0); 58 assert((a = archive_write_new()) != NULL); 72 assert(buff[i] == 0);
|
H A D | test_archive_string.c | 46 assert(NULL != (as).s); \ 58 assert(&s == archive_string_ensure(&s, 5)); 62 assert(&s == archive_string_ensure(&s, EXTENT - 1)); 65 assert(&s == archive_string_ensure(&s, EXTENT)); 68 assert(&s == archive_string_ensure(&s, EXTENT + 1)); 81 assert(&s == archive_strcat(&s, "")); 85 assert(&s == archive_strcat(&s, "")); 89 assert(&s == archive_strcat(&s, "fubar")); 93 assert(&s == archive_strcat(&s, "baz")); 127 assert( [all...] |
/freebsd-10.2-release/contrib/expat/tests/ |
H A D | chardata.c | 16 #include <assert.h> 27 assert(s != NULL); 37 assert(storage != NULL); 47 assert(s != NULL); 65 assert(storage != NULL); 66 assert(s != NULL); 89 assert(storage != NULL); 90 assert(expected != NULL); 118 assert(storage != NULL);
|
/freebsd-10.2-release/tools/regression/include/stdatomic/ |
H A D | logic.c | 30 #include <assert.h> 61 assert(atomic_##name(a, v2) == v1); \ 62 assert(atomic_load(a) == (T)(result)); \ 70 assert(v1 == v2); \ 72 assert(atomic_compare_exchange_##name(a, &v2, v3)); \ 73 assert(atomic_load(a) == v3); \ 80 assert(atomic_load(a) == v1); \ 85 assert(atomic_load(a) == v1); \ 107 assert(memcmp(&list, &cmp, sizeof(list)) == 0); \
|
/freebsd-10.2-release/contrib/ntp/include/ |
H A D | ntp_assert.h | 47 * Coverity has special knowledge that assert(x) terminates the process 55 #define ALWAYS_REQUIRE(x) assert(x) 56 #define ALWAYS_INSIST(x) assert(x) 57 #define ALWAYS_INVARIANT(x) assert(x) 58 #define ALWAYS_ENSURE(x) assert(x) 64 #include <assert.h> 66 #define ALWAYS_REQUIRE(x) assert(x) 67 #define ALWAYS_INSIST(x) assert(x) 68 #define ALWAYS_INVARIANT(x) assert(x) 69 #define ALWAYS_ENSURE(x) assert( [all...] |
/freebsd-10.2-release/contrib/groff/src/libs/libgroff/ |
H A D | errarg.cpp | 23 #include "assert.h" 100 assert(format != 0); 110 assert(!arg1.empty()); 114 assert(!arg2.empty()); 118 assert(!arg3.empty()); 122 assert(0);
|
/freebsd-10.2-release/contrib/openbsm/bin/auditdistd/ |
H A D | pjdlog.c | 38 #include <assert.h> 68 assert(n >= 1); 94 assert(n >= 1); 157 assert(pjdlog_initialized == PJDLOG_NEVER_INITIALIZED || 159 assert(mode == PJDLOG_MODE_STD || mode == PJDLOG_MODE_SYSLOG); 192 assert(pjdlog_initialized == PJDLOG_INITIALIZED); 215 assert(pjdlog_initialized == PJDLOG_INITIALIZED); 216 assert(mode == PJDLOG_MODE_STD || mode == PJDLOG_MODE_SYSLOG); 240 assert(pjdlog_initialized == PJDLOG_INITIALIZED); 253 assert(pjdlog_initialize [all...] |
/freebsd-10.2-release/sbin/hastd/ |
H A D | pjdlog.c | 39 #include <assert.h> 65 assert(n >= 1); 91 assert(n >= 1); 153 assert(pjdlog_initialized == PJDLOG_NEVER_INITIALIZED || 155 assert(mode == PJDLOG_MODE_STD || mode == PJDLOG_MODE_SYSLOG); 186 assert(pjdlog_initialized == PJDLOG_INITIALIZED); 209 assert(pjdlog_initialized == PJDLOG_INITIALIZED); 210 assert(mode == PJDLOG_MODE_STD || mode == PJDLOG_MODE_SYSLOG); 234 assert(pjdlog_initialized == PJDLOG_INITIALIZED); 247 assert(pjdlog_initialize [all...] |
/freebsd-10.2-release/contrib/llvm/tools/lldb/source/Plugins/Process/elf-core/ |
H A D | RegisterContextPOSIXCore_mips64.cpp | 52 assert(0); 59 assert(0); 67 assert(reg_num < k_num_gpr_registers_mips64);
|
/freebsd-10.2-release/contrib/llvm/tools/clang/include/clang/Lex/ |
H A D | Token.h | 115 assert(!isAnnotation() && "Annotation tokens have no length field"); 121 assert(!isAnnotation() && "Annotation tokens have no length field"); 126 assert(isAnnotation() && "Used AnnotEndLocID on non-annotation token"); 130 assert(isAnnotation() && "Used AnnotEndLocID on non-annotation token"); 162 assert(isNot(tok::raw_identifier) && 164 assert(!isAnnotation() && 177 assert(is(tok::raw_identifier)); 181 assert(is(tok::raw_identifier)); 189 assert(isLiteral() && "Cannot get literal data of non-literal"); 193 assert(isLitera [all...] |
/freebsd-10.2-release/contrib/llvm/lib/CodeGen/ |
H A D | MachineFunctionAnalysis.cpp | 29 assert(!MF && "MachineFunctionAnalysis left initialized!"); 39 assert(MMI && "MMI not around yet??"); 47 assert(!MF && "MachineFunctionAnalysis already initialized!");
|
/freebsd-10.2-release/contrib/llvm/lib/Support/ |
H A D | ManagedStatic.cpp | 48 assert(Ptr == 0 && DeleterFn == 0 && Next == 0 && 60 assert(DeleterFn && "ManagedStatic not initialized correctly!"); 61 assert(StaticList == this &&
|
/freebsd-10.2-release/lib/libelf/ |
H A D | elf_end.c | 32 #include <assert.h> 50 assert(e->e_activations == 0); 72 assert(0);
|
/freebsd-10.2-release/lib/libc/rpc/ |
H A D | authunix_prot.c | 46 #include <assert.h> 64 assert(xdrs != NULL); 65 assert(p != NULL);
|
/freebsd-10.2-release/usr.sbin/bluetooth/hccontrol/ |
H A D | send_recv.c | 36 #include <assert.h> 52 assert(rp != NULL); 53 assert(rp_size != NULL); 54 assert(*rp_size > 0); 61 assert(0 < cp_size && cp_size <= NG_HCI_CMD_PKT_SIZE); 134 assert(buffer != NULL); 135 assert(size >= sizeof(ng_hci_cmd_pkt_t)); 136 assert(size <= sizeof(ng_hci_cmd_pkt_t) + NG_HCI_CMD_PKT_SIZE); 152 assert(buffer != NULL); 153 assert(siz [all...] |