Searched refs:assert (Results 76 - 100 of 3030) sorted by relevance

1234567891011>>

/freebsd-10.2-release/contrib/libarchive/libarchive/test/
H A Dtest_read_format_cpio_bin_bz2.c41 assert((a = archive_read_new()) != NULL);
52 assert(archive_filter_code(a, 0) == ARCHIVE_FILTER_BZIP2);
53 assert(archive_format(a) == ARCHIVE_FORMAT_CPIO_BIN_LE);
H A Dtest_archive_api_feature.c45 assert(*p == 'a' || *p == 'b' || *p == 'c' || *p == 'd');
48 assert(*p == '\0');
H A Dtest_write_format_iso9660.c48 assert(buff != NULL);
51 assert((a = archive_write_new()) != NULL);
59 assert((ae = archive_entry_new()) != NULL);
75 assert((ae = archive_entry_new()) != NULL);
90 assert((ae = archive_entry_new()) != NULL);
105 assert((ae = archive_entry_new()) != NULL);
126 assert((ae = archive_entry_new()) != NULL);
140 assert((ae = archive_entry_new()) != NULL);
156 assert((ae = archive_entry_new()) != NULL);
172 assert((a
[all...]
H A Dtest_write_disk.c44 assert((ad = archive_write_disk_new()) != NULL);
51 assert(0 == stat(archive_entry_pathname(ae), &st));
70 assert((ad = archive_write_disk_new()) != NULL);
118 assert((ad = archive_write_disk_new()) != NULL);
147 assert((ad = archive_write_disk_new()) != NULL);
157 assert(0 == stat(archive_entry_pathname(ae), &st));
174 assert((ad = archive_write_disk_new()) != NULL);
183 assert(0 == stat(archive_entry_pathname(ae), &st));
203 assert((ad = archive_write_disk_new()) != NULL);
216 assert(NUL
[all...]
/freebsd-10.2-release/contrib/llvm/lib/Support/Windows/
H A DThreadLocal.inc29 assert(*tls != TLS_OUT_OF_INDEXES);
45 assert(errorcode != 0);
/freebsd-10.2-release/contrib/llvm/lib/Support/
H A Dregutils.h48 #include <assert.h>
H A DRWMutex.cpp61 assert(errorcode == 0);
71 assert(rwlock != 0);
80 assert(rwlock != 0);
90 assert(rwlock != 0);
100 assert(rwlock != 0);
110 assert(rwlock != 0);
/freebsd-10.2-release/contrib/libyaml/tests/
H A Drun-loader.c9 #include <assert.h>
34 assert(file);
36 assert(yaml_parser_initialize(&parser));
56 assert(!fclose(file));
H A Drun-parser.c9 #include <assert.h>
34 assert(file);
36 assert(yaml_parser_initialize(&parser));
56 assert(!fclose(file));
H A Drun-scanner.c9 #include <assert.h>
34 assert(file);
36 assert(yaml_parser_initialize(&parser));
56 assert(!fclose(file));
H A Dtest-version.c9 #include <assert.h>
21 assert(strcmp(buf, yaml_get_version_string()) == 0);
/freebsd-10.2-release/contrib/llvm/lib/Target/R600/
H A DAMDGPURegisterInfo.h38 assert(!"Unimplemented"); return BitVector();
46 assert(!"Unimplemented"); return NULL;
50 assert(!"Unimplemented"); return NULL;
54 assert(!"Unimplemented"); return 0;
/freebsd-10.2-release/contrib/xz/src/liblzma/common/
H A Dvli_size.c28 assert(i <= LZMA_VLI_BYTES_MAX);
/freebsd-10.2-release/contrib/llvm/tools/clang/lib/Basic/
H A DSourceLocation.cpp80 assert(isValid());
86 assert(isValid());
91 assert(isValid());
96 assert(isValid());
101 assert(isValid());
106 assert(isValid());
111 assert(isValid());
116 assert(isValid());
121 assert(isValid());
130 assert(isVali
[all...]
/freebsd-10.2-release/cddl/compat/opensolaris/misc/
H A Dzmount.c38 #include <assert.h>
80 assert(spec != NULL);
81 assert(dir != NULL);
82 assert(mflag == 0 || mflag == MS_RDONLY);
83 assert(fstype != NULL);
84 assert(strcmp(fstype, MNTTYPE_ZFS) == 0);
85 assert(dataptr == NULL);
86 assert(datalen == 0);
87 assert(optptr != NULL);
88 assert(optle
[all...]
/freebsd-10.2-release/contrib/llvm/utils/TableGen/
H A DTGValueTypes.cpp90 assert(isExtended() && "Type is not extended!");
96 assert(isExtended() && "Type is not extended!");
101 assert(isExtended() && "Type is not extended!");
106 assert(isExtended() && "Type is not extended!");
111 assert(isExtended() && "Type is not extended!");
116 assert(isExtendedVector() && "Type is not an extended vector!");
121 assert(isExtendedVector() && "Type is not an extended vector!");
126 assert(isExtended() && "Type is not extended!");
/freebsd-10.2-release/contrib/ofed/management/opensm/include/complib/
H A Dcl_types_osd.h66 #include <assert.h>
69 #define CL_ASSERT assert
/freebsd-10.2-release/contrib/ngatm/libngatm/
H A Dcccust.h40 #include <assert.h>
43 #define CCASSERT(E, M) assert(E)
/freebsd-10.2-release/contrib/libarchive/tar/test/
H A Dtest_0.c51 if (!assert((st.st_mode & 0111) != 0)) {
71 assert(0);
H A Dtest_version.c45 if (!assert(r == 0))
53 assert(s > 6);
65 assert(s > 1);
70 assert(*q == ' ');
78 assert(s > 11);
91 assert(s >= 1);
/freebsd-10.2-release/contrib/flex/
H A Dscanflags.c53 assert(_sf_top_ix > 0);
61 assert(_sf_stk == NULL);
/freebsd-10.2-release/contrib/libarchive/cpio/test/
H A Dtest_0.c51 if (!assert((st.st_mode & 0111) != 0)) {
71 assert(0);
H A Dtest_option_version.c39 if (!assert(s > 6))
53 assert(s > 1);
58 assert(*q == ' ');
65 assert(s > 11);
78 assert(s >= 1);
100 if (!assert(r == 0))
/freebsd-10.2-release/lib/libz/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...]
/freebsd-10.2-release/tools/regression/lib/msun/
H A Dtest-exponential.c34 #include <assert.h>
55 * These are macros instead of functions so that assert provides more
63 assert(feclearexcept(FE_ALL_EXCEPT) == 0); \
64 assert(fpequal((func)(_d), (result))); \
65 assert(((void)(func), fetestexcept(exceptmask) == (excepts))); \
126 assert(exp2f(i) == ldexpf(1.0, i));
127 assert(fetestexcept(ALL_STD_EXCEPT) == 0);
130 assert(exp2(i) == ldexp(1.0, i));
131 assert(fetestexcept(ALL_STD_EXCEPT) == 0);
134 assert(exp2
[all...]

Completed in 267 milliseconds

1234567891011>>