Searched refs:ok (Results 251 - 275 of 1506) sorted by relevance

<<11121314151617181920>>

/macosx-10.10.1/OpenSSL098-52/src/util/
H A Dselftest.pl18 my $ok=0;
154 $ok=1;
157 if ($ok and open(IN,"<maketest.log")) {
159 $ok=2 if /^platform: $platform/;
164 if ($ok != 2) {
/macosx-10.10.1/configd-699.1.5/SystemConfiguration.fproj/
H A DSCNetworkConfigurationInternal.c77 Boolean ok; local
111 ok = TRUE;
114 ok = SCPreferencesPathSetValue(prefs, path, newConfig);
117 ok = SCPreferencesPathRemoveValue(prefs, path);
118 if (!ok && (SCError() == kSCStatusNoKey)) {
119 ok = TRUE;
123 return ok;
148 Boolean ok = FALSE; local
178 ok = TRUE;
181 ok
199 Boolean ok; local
427 Boolean ok; local
571 Boolean ok = FALSE; local
[all...]
/macosx-10.10.1/Security-57031.1.35/Security/sec/securityd/Regressions/
H A Dsecd-61-account-leave-not-in-kansas-anymore.c76 ok(applicants, "Have Applicants");
80 ok(retval = SOSAccountAcceptApplicants(account, applicants, &error), "Account accepts (%@)", error);
101 ok(SOSAccountAssertUserCredentials(bob_account, cfaccount, cfpassword, &error), "Credential setting (%@)", error);
106 ok(SOSAccountAssertUserCredentials(alice_account, cfaccount, cfpassword, &error), "Credential setting (%@)", error);
109 ok(SOSAccountAssertUserCredentials(carole_account, cfaccount, cfpassword, &error), "Credential setting (%@)", error);
112 ok(SOSAccountAssertUserCredentials(david_account, cfaccount, cfpassword, &error), "Credential setting (%@)", error);
115 ok(SOSAccountResetToOffering(alice_account, &error), "Reset to offering (%@)", error);
121 ok(SOSAccountJoinCircles(bob_account, &error), "Bob Applies (%@)", error);
127 ok(accept_applicants(alice_account, 1), "Alice Accepts Application");
137 ok(SOSAccountJoinCircle
[all...]
H A Dsecd-56-account-apply.c82 ok(SOSAccountAssertUserCredentials(bob_account, cfaccount, cfpassword, &error), "Credential setting (%@)", error);
87 ok(SOSAccountAssertUserCredentials(alice_account, cfaccount, cfpassword, &error), "Credential setting (%@)", error);
90 ok(SOSAccountAssertUserCredentials(carole_account, cfaccount, cfpassword, &error), "Credential setting (%@)", error);
93 ok(SOSAccountAssertUserCredentials(david_account, cfaccount, cfpassword, &error), "Credential setting (%@)", error);
97 ok(SOSAccountResetToOffering(alice_account, &error), "Reset to offering (%@)", error);
103 ok(SOSAccountJoinCircles(bob_account, &error), "Bob Applies (%@)", error);
106 ok(SOSAccountJoinCircles(carole_account, &error), "Carole Applies too (%@)", error);
117 ok(applicants && CFArrayGetCount(applicants) == 2, "See two applicants %@ (%@)", applicants, error);
130 ok(applicants && CFArrayGetCount(applicants) == 2, "See two applicants %@ (%@)", applicants, error);
131 ok(SOSAccountRejectApplicant
[all...]
H A Dsecd-70-engine-corrupt.c62 ok(SecDbPerformWrite(source->db, &error, ^(SecDbConnectionRef dbconn) {
63 ok(SecDbTransaction(dbconn, kSecDbExclusiveTransactionType, &error, ^(bool *commit) {
64 ok(SecDbExec(dbconn, CFSTR("UPDATE genp SET sha1=X'0000000000000000000000000000000000000000' WHERE rowid=5;"), &error),
95 ok(SecDbPerformWrite(source->db, &error, ^(SecDbConnectionRef dbconn) {
96 ok(SecDbTransaction(dbconn, kSecDbExclusiveTransactionType, &error, ^(bool *commit) {
97 ok(SecDbExec(dbconn, CFSTR("DELETE FROM genp WHERE rowid=5;"), &error),
130 ok(SOSEngineUpdateLocalManifest(engine, kSOSDataSourceSOSTransaction,
159 ok(SecDbPerformWrite(source->db, &error, ^(SecDbConnectionRef dbconn) {
160 ok(SecDbTransaction(dbconn, kSecDbExclusiveTransactionType, &error, ^(bool *commit) {
161 ok(SecDbExe
[all...]
/macosx-10.10.1/Security-57031.1.35/Security/utilities/src/
H A DSecDb.c240 if (result && strncasecmp(result, "ok", 3) == 0) {
255 bool ok = true; local
268 ok = dbconn->db->opened(dbconn, didCreate, &localError);
270 if (!ok)
283 ok = SecDbHandleCorrupt(dbconn, 0, error);
287 return ok;
476 bool ok = true; local
480 if (ok) {
482 ok = stmt != NULL;
487 ok
502 bool ok = true; local
533 bool ok = true, commited = false; local
550 bool ok = true; local
629 __block bool ok = SecDbFileControl(dbconn, SQLITE_TRUNCATE_DATABASE, &flags, error); local
684 bool ok = (didRename && local
769 __block bool ok = true; local
838 __block bool ok = true; local
982 bool ok = SecDbErrorWithStmt(sqlite3_bind_blob(stmt, param, zData, (int)n, xDel), local
993 bool ok = SecDbErrorWithStmt(sqlite3_bind_text(stmt, param, zData, (int)n, xDel), stmt, error, local
1000 bool ok = SecDbErrorWithStmt(sqlite3_bind_double(stmt, param, value), stmt, error, local
1007 bool ok = SecDbErrorWithStmt(sqlite3_bind_int(stmt, param, value), stmt, error, local
1014 bool ok = SecDbErrorWithStmt(sqlite3_bind_int64(stmt, param, value), stmt, error, local
1177 bool ok = true; local
[all...]
/macosx-10.10.1/Security-57031.1.35/Security/utilities/utilities/
H A DSecDb.c240 if (result && strncasecmp(result, "ok", 3) == 0) {
255 bool ok = true; local
268 ok = dbconn->db->opened(dbconn, didCreate, &localError);
270 if (!ok)
283 ok = SecDbHandleCorrupt(dbconn, 0, error);
287 return ok;
476 bool ok = true; local
480 if (ok) {
482 ok = stmt != NULL;
487 ok
502 bool ok = true; local
533 bool ok = true, commited = false; local
550 bool ok = true; local
629 __block bool ok = SecDbFileControl(dbconn, SQLITE_TRUNCATE_DATABASE, &flags, error); local
684 bool ok = (didRename && local
769 __block bool ok = true; local
838 __block bool ok = true; local
982 bool ok = SecDbErrorWithStmt(sqlite3_bind_blob(stmt, param, zData, (int)n, xDel), local
993 bool ok = SecDbErrorWithStmt(sqlite3_bind_text(stmt, param, zData, (int)n, xDel), stmt, error, local
1000 bool ok = SecDbErrorWithStmt(sqlite3_bind_double(stmt, param, value), stmt, error, local
1007 bool ok = SecDbErrorWithStmt(sqlite3_bind_int(stmt, param, value), stmt, error, local
1014 bool ok = SecDbErrorWithStmt(sqlite3_bind_int64(stmt, param, value), stmt, error, local
1177 bool ok = true; local
[all...]
/macosx-10.10.1/BerkeleyDB-21/db/perl/BerkeleyDB/t/Test/
H A DMore.pm25 @EXPORT = qw(ok use_ok require_ok
67 # Various ways to say "ok"
68 ok($this eq $that, $test_name);
86 ok( foo(), $test_name );
93 ok( foo(), $test_name );
122 utilities. Various ways to say "ok" with better diagnostics,
125 C<ok()> function, it doesn't provide good diagnostic output.
236 ok 4
237 not ok 5
238 ok
297 sub ok ($;$) { subroutine
[all...]
/macosx-10.10.1/Security-57031.1.35/Security/sec/SOSCircle/Regressions/
H A Dsc-90-ckdclient.c139 ok(testSynchronize(generalq, dgroup), "test synchronize");
145 ok(testGetObjectFromCloud(kTestKeyIDTimestamp, generalq, dgroup) != nil, "testGet for %@", kTestKeyIDTimestamp);
147 ok(postIDTimestamp(generalq, dgroup), "testPostGet for %@", kTestKeyIDTimestamp);
149 ok(testPostGet(kTestKeyString, CFSTR("test string"), generalq, dgroup), "testPostGet for CFStringRef");
152 ok(testPostGet(kTestKeyString, CFSTR("test string"), generalq, dgroup), "testPostGet for CFStringRef");
153 ok(testPostGet(kTestKeyData, testData, generalq, dgroup), "testPostGet for CFDataRef");
154 ok(testPostGet(kTestKeyArray, testArray, generalq, dgroup), "testPostGet for CFDataRef");
156 ok(postIDTimestamp(generalq, dgroup), "testPostGet for %@", kTestKeyIDTimestamp);
159 ok(testSynchronize(generalq, dgroup), "test synchronize");
/macosx-10.10.1/CPANInternal-159.1/Log-Log4perl-1.40/t/
H A D028Additivity.t25 ok(1); # If we made it this far, we're ok.
45 ok($buf1, "INFO - Percolate this!\n");
46 ok($buf2, "INFO - Percolate this!\n");
69 ok($buf1, ""); # Not supposed to show up in the root logger
70 ok($buf2, "INFO - Percolate this!\n");
93 ok($buf1, "INFO - Percolate this!\n");
94 ok($buf2, "INFO - Percolate this!\n");
/macosx-10.10.1/CommonCrypto-60061/test/CommonCrypto/
H A DCommonRandom.c104 isnt(devRandom,NULL, "Dev random first state ok");
106 isnt(drbg,NULL, "DRBG first state ok");
118 ok(memcmp(buf1, buf2, len), "Buffers aren't the same");
119 ok(memcmp(buf3, buf4, len), "Buffers aren't the same");
120 ok(memcmp(buf2, buf3, len), "Buffers aren't the same");
121 ok(memcmp(buf5, buf6, len), "Buffers aren't the same");
122 ok(memcmp(buf5, buf2, len), "Buffers aren't the same");
123 ok(memcmp(buf6, buf1, len), "Buffers aren't the same");
124 ok(memcmp(buf7, buf1, len), "Buffers aren't the same");
H A DCommonCryptoSymOffset.c64 ok(retval == 0, "Encrypt worked");
66 ok(retval == 0, "Decrypt worked");
71 ok(retval == 0, "Encrypt/Decrypt Cycle");
/macosx-10.10.1/CPANInternal-159.1/Tree-Simple-VisitorFactory-0.10/t/
H A D90_Tree_Simple_Visitor_FromNestedHash_test.t51 ok($grandchild1->isLeaf(), '... GrandChild1 is a leaf node');
54 ok($grandchild2->isLeaf(), '... GrandChild2 is a leaf node');
57 ok($child2->isLeaf(), '... Child2 is a leaf node');
86 ok($grandchild1->isLeaf(), '... GrandChild1 is a leaf node');
89 ok($grandchild2->isLeaf(), '... GrandChild2 is a leaf node');
92 ok($child2->isLeaf(), '... Child2 is a leaf node');
124 ok($grandchild1->isLeaf(), '... GrandChild1 is a leaf node');
127 ok($grandchild2->isLeaf(), '... GrandChild2 is a leaf node');
130 ok($child2->isLeaf(), '... Child2 is a leaf node');
H A D91_Tree_Simple_Visitor_FromNestedArray_test.t51 ok($grandchild1->isLeaf(), '... GrandChild1 is a leaf node');
54 ok($grandchild2->isLeaf(), '... GrandChild2 is a leaf node');
57 ok($child2->isLeaf(), '... Child2 is a leaf node');
86 ok($grandchild1->isLeaf(), '... GrandChild1 is a leaf node');
89 ok($grandchild2->isLeaf(), '... GrandChild2 is a leaf node');
92 ok($child2->isLeaf(), '... Child2 is a leaf node');
124 ok($grandchild1->isLeaf(), '... GrandChild1 is a leaf node');
127 ok($grandchild2->isLeaf(), '... GrandChild2 is a leaf node');
130 ok($child2->isLeaf(), '... Child2 is a leaf node');
/macosx-10.10.1/Security-57031.1.35/Security/sec/Security/Regressions/otr/
H A Dotr-00-identity.c64 ok(idToPurge != NULL, "Make Identity");
68 ok(SecOTRFIAppendSerialization(idToPurge, purgeExport, &testError), "First export");
76 ok(purgeIdInflate != NULL, "Inflate Identity");
86 ok(failIDInflate == NULL, "Should fail");
95 ok(idToPurge != NULL, "Make Identity again");
105 ok(failIDInflate2 == NULL, "Should fail 2");
111 ok(id != NULL, "Make Identity");
115 ok(SecOTRFIAppendSerialization(id, firstExport, &testError), "First export");
123 ok(idInflate != NULL, "Inflate Identity");
128 ok(SecOTRFIAppendSerializatio
[all...]
/macosx-10.10.1/ruby-106/ruby/bootstraptest/
H A Dtest_proc.rb38 assert_equal %q{ok}, %q{
41 :ok
256 assert_equal %Q{ok\n}, %q{
257 class A; def get_block; proc {puts "ok"} end end
263 assert_equal 'ok', %q{
269 :ok
273 assert_equal 'ok', %q{
275 break :ok
292 assert_equal 'ok', %q{
293 $x = :ok
[all...]
/macosx-10.10.1/IOPCIFamily-239.1.2/
H A DIOPCIRange.cpp560 bool ok; local
574 ok = IOPCIRangeListAllocateSubRange(head, range);
575 assert(ok);
580 ok = IOPCIRangeListAllocateSubRange(head, range);
581 assert(ok);
600 ok = IOPCIRangeListAllocateSubRange(head, range);
601 assert(ok);
607 ok = IOPCIRangeListAllocateSubRange(head, range);
608 assert(ok);
615 ok
[all...]
/macosx-10.10.1/CPANInternal-159.1/SOAP-Lite-1.11/t/
H A D23-ppm.t58 ok($r =~ 'SOAP-Lite');
59 ok($r =~ 'Paul Kulchenko');
63 ok(!defined $r);
/macosx-10.10.1/Security-57031.1.35/Security/sec/Security/Tool/
H A Dkeychain_backup.c46 bool ok=false; local
54 ok=_SecKeychainRestoreBackup(backup, keybag, password);
61 return ok?0:1;
70 bool ok=false; local
78 ok=writeFileContents(backupPath, backup);
85 return ok?0:1;
/macosx-10.10.1/Security-57031.1.35/SecurityTests/regressions/inc/Test/
H A DSimple.pm12 @EXPORT = qw(ok);
25 ok( $foo eq $bar, 'foo is bar' );
37 The basic unit of Perl testing is the ok. For each thing you want to
38 test your program will print out an "ok" or "not ok" to indicate pass
39 or fail. You do this with the ok() function (see below).
53 =item B<ok>
55 ok( $foo eq $bar, $name );
56 ok( $foo eq $bar );
58 ok() i
80 sub ok ($;$) { subroutine
[all...]
/macosx-10.10.1/bind9-45.101/bind9/unit/atf-src/atf-c++/
H A Dmacros_test.cpp295 bool ok; member in struct:test
314 if (t->ok) {
323 if (t->ok)
338 bool ok; member in struct:test
356 << " and expecting " << (t->ok ? "true" : "false")
362 if (t->ok) {
371 if (t->ok)
386 bool ok; member in struct:test
402 << " and expecting " << (t->ok ? "true" : "false")
408 if (t->ok) {
431 bool ok; member in struct:test
479 bool ok; member in struct:test
529 bool ok; member in struct:test
576 bool ok; member in struct:test
[all...]
/macosx-10.10.1/curl-83.1.2/curl/docs/examples/
H A Dxmlstream.c45 int ok; member in struct:ParserStruct
72 state->ok = 0;
96 if (state->ok && XML_Parse(parser, contents, real_size, 0) == 0) {
100 state->ok = 0;
115 state.ok = 1;
138 else if (state.ok) {
/macosx-10.10.1/mDNSResponder-561.1.1/mDNSWindows/DLLX/
H A DDNSSD.cpp23 BOOL ok; local
29 ok = BSTRToUTF8( regtype, regtypeUTF8 );
30 require_action( ok, exit, err = kDNSServiceErr_BadParam );
31 ok = BSTRToUTF8( domain, domainUTF8 );
32 require_action( ok, exit, err = kDNSServiceErr_BadParam );
79 BOOL ok; local
85 ok = BSTRToUTF8( serviceName, serviceNameUTF8 );
86 require_action( ok, exit, err = kDNSServiceErr_BadParam );
87 ok = BSTRToUTF8( regType, regTypeUTF8 );
88 require_action( ok, exi
186 BOOL ok; local
254 BOOL ok; local
306 BOOL ok; local
450 BOOL ok = TRUE; local
626 BOOL ok; local
698 BOOL ok; local
754 BOOL ok; local
809 BOOL ok; local
[all...]
/macosx-10.10.1/pyobjc-45/2.5/pyobjc/pyobjc-framework-Cocoa/PyObjCTest/
H A Dtest_cfurlaccess.py40 ok, data, properties, errorCode = CFURLCreateDataAndPropertiesFromResource(
42 self.failUnless(ok)
51 ok, errorCode = CFURLWriteDataAndPropertiesToResource(
53 self.failUnless(ok)
61 ok, errorCode = CFURLDestroyResource(url, None)
62 self.failUnless(ok)
/macosx-10.10.1/pyobjc-45/2.6/pyobjc/pyobjc-framework-Cocoa/PyObjCTest/
H A Dtest_cfurlaccess.py37 ok, data, properties, errorCode = CFURLCreateDataAndPropertiesFromResource(
39 self.assertTrue(ok)
55 ok, errorCode = CFURLWriteDataAndPropertiesToResource(
57 self.assertTrue(ok)
64 ok, errorCode = CFURLDestroyResource(url, None)
65 self.assertTrue(ok)

Completed in 374 milliseconds

<<11121314151617181920>>