/macosx-10.10.1/BerkeleyDB-21/db/test/scr029/ |
H A D | t.c | 3 #include <assert.h> 11 assert(dbenv->close(dbenv, 0) == 0); \ 12 assert(db_env_create(&dbenv, 0) == 0); \ 31 assert(dbenv->set_tx_max(dbenv, 37) == 0); 32 assert(dbenv->open(dbenv, 34 assert(dbenv->get_tx_max(dbenv, &v) == 0); 35 assert(v == 37); 37 assert(dbenv->set_tx_max(dbenv, 63) == 0); 38 assert(dbenv->open(dbenv, "TESTDIR", DB_JOINENV, 0666) == 0); 39 assert(dben [all...] |
/macosx-10.10.1/ruby-106/ruby/test/ruby/ |
H A D | test_case.rb | 8 assert(false) 10 assert(true) 15 assert(true) 17 assert(false) 22 assert(true) 24 assert(false) 29 assert(true) 31 assert(false) 36 assert(true) 38 assert(fals [all...] |
H A D | test_condition.rb | 10 $x == $x && assert(true) 11 $x != $x && assert(false) 12 $x == $x || assert(false) 13 $x != $x || assert(true)
|
H A D | test_fnmatch.rb | 14 assert(File.fnmatch('\[1\]' , '[1]'), "[ruby-dev:22819]") 15 assert(File.fnmatch('*?', 'a'), "[ruby-dev:22815]") 16 assert(File.fnmatch('*/', 'a/')) 17 assert(File.fnmatch('\[1\]' , '[1]', File::FNM_PATHNAME)) 18 assert(File.fnmatch('*?', 'a', File::FNM_PATHNAME)) 19 assert(File.fnmatch('*/', 'a/', File::FNM_PATHNAME)) 21 assert(File.fnmatch('cat', 'cat')) 22 assert(!File.fnmatch('cat', 'category')) 23 assert(!File.fnmatch('cat', 'wildcat')) 25 assert(Fil [all...] |
H A D | test_ifunless.rb | 6 assert(if x == x then true else false end) 11 assert(!bad) 12 assert(unless x != x then true else false end)
|
/macosx-10.10.1/libauto-186/tests/ |
H A D | test_bitmaps.cpp | 24 #include <assert.h> 33 assert(bitmap.bits_are_clear(0, bitmap.size_in_bits())); 38 assert(!bitmap.bits_are_clear(0, 16)); 39 assert(bitmap.bits_are_clear(16, 32)); 40 assert(!bitmap.bits_are_clear(48, 16));
|
/macosx-10.10.1/ruby-106/ruby/test/rake/ |
H A D | test_rake_clean.rb | 9 assert Task['clean'], "Should define clean" 10 assert Task['clobber'], "Should define clobber" 11 assert Task['clobber'].prerequisites.include?("clean"),
|
H A D | test_rake_early_time.rb | 6 assert early <= Time.now 7 assert early < Time.now 8 assert early != Time.now 9 assert Time.now > early 10 assert Time.now >= early 11 assert Time.now != early 22 assert t1 < t2 23 assert t2 > t1 24 assert t1 == t1 25 assert t [all...] |
/macosx-10.10.1/ICU-531.30/icuSources/common/ |
H A D | uassert.h | 13 * By default, U_ASSERT just wraps the C library assert macro. 14 * By changing the definition here, the assert behavior for ICU can be changed 15 * without affecting other non-ICU uses of the C library assert(). 25 # include <assert.h> 26 # define U_ASSERT(exp) assert(exp)
|
/macosx-10.10.1/libarchive-30/libarchive/cpio/test/ |
H A D | test_cmdline.c | 38 assert(f != NULL); 42 assert(0 != systemf("%s -i -Q <empty >1.out 2>1.err", testprog)); 46 assert(0 != systemf("%s -if <empty >2.out 2>2.err", testprog)); 50 assert(0 != systemf("%s -i -f <empty >3.out 2>3.err", testprog)); 54 assert(0 != systemf("%s -i --format <empty >4.out 2>4.err", testprog)); 58 assert(0 != systemf("%s -i --badop <empty >5.out 2>5.err", testprog)); 62 assert(0 != systemf("%s -i --badopt <empty >6.out 2>6.err", testprog)); 66 assert(0 != systemf("%s -i --n <empty >7.out 2>7.err", testprog)); 70 assert(0 != systemf("%s --create=arg <empty >8.out 2>8.err", testprog)); 74 assert( [all...] |
H A D | test_owner_parse.c | 68 assert(NULL == owner_parse(ROOT, &uid, &gid)); 69 assert(int_in_list(uid, root_uids, 74 assert(NULL == owner_parse(ROOT ":", &uid, &gid)); 75 assert(int_in_list(uid, root_uids, 77 assert(int_in_list(gid, root_gids, 80 assert(NULL == owner_parse(ROOT ".", &uid, &gid)); 81 assert(int_in_list(uid, root_uids, 83 assert(int_in_list(gid, root_gids, 86 assert(NULL == owner_parse("111", &uid, &gid)); 90 assert(NUL [all...] |
/macosx-10.10.1/bind9-45.101/bind9/contrib/idn/idnkit-1.0-src/include/idn/ |
H A D | assert.h | 1 /* $Id: assert.h,v 1.1 2003/06/04 00:25:35 marka Exp $ */ 51 #include <assert.h>
|
/macosx-10.10.1/OpenLDAP-499.27/OpenLDAP/include/ac/ |
H A D | assert.h | 1 /* Generic assert.h */ 20 #undef assert macro 27 #include <assert.h> 34 * no assert()... must be a very old compiler. 43 #define assert(test) \ macro 46 #define assert(test) \ macro 54 #define assert(test) ((void)0) macro
|
/macosx-10.10.1/libarchive-30/libarchive/libarchive/test/ |
H A D | test_write_disk_perms.c | 65 assert(fd > 0); 68 assert(fstat(fd, &st) == 0); 147 assert((a = archive_write_disk_new()) != NULL); 150 assert((ae = archive_entry_new()) != NULL); 153 assert(0 == archive_write_header(a, ae)); 154 assert(0 == archive_write_finish_entry(a)); 159 assert((ae = archive_entry_new()) != NULL); 162 assert(0 == archive_write_header(a, ae)); 164 assert(0 == archive_write_finish_entry(a)); 166 assert( [all...] |
H A D | test_write_disk_secure.c | 48 assert((a = archive_write_disk_new()) != NULL); 51 assert((ae = archive_entry_new()) != NULL); 54 assert(0 == archive_write_header(a, ae)); 56 assert(0 == archive_write_finish_entry(a)); 59 assert((ae = archive_entry_new()) != NULL); 64 assert(0 == archive_write_header(a, ae)); 65 assert(0 == archive_write_finish_entry(a)); 71 assert(archive_entry_clear(ae) != NULL); 74 assert(0 == archive_write_header(a, ae)); 75 assert( [all...] |
/macosx-10.10.1/apache-793/httpd/modules/lua/test/ |
H A D | test.lua | 27 assert(200 == c, "expected status code 200, got " .. c) 28 assert(b:find("test"), "test not found in document root") 33 assert(200 == c, "expected status code 200, got " .. c) 34 assert(b:find("hello Lua world"), "'hello Lua world' not found in response") 39 assert(200 == c, "unexpected response code " .. c) 40 assert(b == 'hello!', "unexpected response body [" .. b .. "]") 45 assert(200 == c, "expected status code 200, got " .. c) 46 assert(b:find("complex:%s+hello: 7, 1\n"), "didn't find complex post parsing") 47 assert(b:find("simple:%s+hello: 7\n"), "didn't find simple post parsing") 52 assert(20 [all...] |
/macosx-10.10.1/OpenLDAP-499.27/OpenLDAP/libraries/libldap_r/ |
H A D | rdwr.c | 78 assert( rwlock != NULL ); 101 assert( rwlock != NULL ); 104 assert( rw != NULL ); 105 assert( rw->ltrw_valid == LDAP_PVT_THREAD_RDWR_VALID ); 112 assert( rw->ltrw_w_active >= 0 ); 113 assert( rw->ltrw_w_wait >= 0 ); 114 assert( rw->ltrw_r_active >= 0 ); 115 assert( rw->ltrw_r_wait >= 0 ); 146 assert( rwlock != NULL ); 149 assert( r [all...] |
/macosx-10.10.1/removefile-35/test/ |
H A D | test-removefile.c | 2 #include <assert.h> 12 assert(gettimeofday(&tv, NULL) == 0); 17 assert(gettimeofday(&tv2, NULL) == 0); 30 assert(context == (void*)1234); 36 assert(context == (void*)4567); 38 assert(removefile_state_get(state, REMOVEFILE_STATE_ERRNO, &err) == 0); 51 assert(mkdir("/tmp/removefile-test", 0755) == 0); 52 assert(mkdir("/tmp/removefile-test/foo", 0755) == 0); 53 assert(mkdir("/tmp/removefile-test/foo/bar", 0755) == 0); 54 assert(mkdi [all...] |
/macosx-10.10.1/ruby-106/ruby/test/fileutils/ |
H A D | visibility_tests.rb | 15 assert @fu_module.respond_to?(m, true), 17 assert @fu_module.respond_to?(m, false), 22 assert respond_to?(m, true), 24 assert @fu_module.private_method_defined?(m), 31 assert @fu_module.respond_to?(m, true), 36 assert respond_to?(m, true),
|
/macosx-10.10.1/OpenLDAP-499.27/OpenLDAP/libraries/libldap/ |
H A D | messages.c | 32 assert( ld != NULL ); 33 assert( LDAP_VALID( ld ) ); 34 assert( chain != NULL ); 42 assert( ld != NULL ); 43 assert( LDAP_VALID( ld ) ); 44 assert( msg != NULL ); 54 assert( ld != NULL ); 55 assert( LDAP_VALID( ld ) );
|
/macosx-10.10.1/bind9-45.101/bind9/lib/lwres/ |
H A D | assert_p.h | 25 #include <assert.h> /* Required for assert() prototype. */ 27 #define REQUIRE(x) assert(x) 28 #define INSIST(x) assert(x)
|
/macosx-10.10.1/groff-38/groff/src/include/ |
H A D | assert.h | 33 #undef assert macro 36 #define assert(ignore) /* as nothing */ macro 38 #define assert(expr) do_assert(expr, __LINE__, __FILE__) macro
|
/macosx-10.10.1/ruby-106/ruby/test/ |
H A D | test_prime.rb | 40 assert primes.length >= max/Math.log(max) 43 assert primes.length <= li 49 assert enum.respond_to?(:each) 50 assert enum.kind_of?(Enumerable) 51 assert enum.respond_to?(:with_index) 52 assert enum.respond_to?(:next) 53 assert enum.respond_to?(:succ) 54 assert enum.respond_to?(:rewind) 66 assert enum.respond_to?(:each) 67 assert enu [all...] |
/macosx-10.10.1/IOKitUser-1050.1.21/ |
H A D | classcount.c | 27 #include <assert.h> 55 assert(status == KERN_SUCCESS); 60 assert(root); 65 assert( KERN_SUCCESS == status ); 66 assert( CFDictionaryGetTypeID() == CFGetTypeID(props)); 70 assert( dictionary ); 71 assert( CFDictionaryGetTypeID() == CFGetTypeID(dictionary)); 75 assert( dictionary ); 76 assert( CFDictionaryGetTypeID() == CFGetTypeID(dictionary)); 81 assert(ke [all...] |
/macosx-10.10.1/postfix-255/postfix/src/util/ |
H A D | timecmp.c | 58 #include <assert.h> 76 assert(timecmp(now + 10, now) > 0); 77 assert(timecmp(now, now) == 0); 78 assert(timecmp(now - 10, now) < 0); 86 assert(timecmp(now + 10, now) > 0); 87 assert(timecmp(now, now) == 0); 88 assert(timecmp(now - 10, now) < 0);
|