Searched refs:assertion (Results 1 - 25 of 43) sorted by relevance

12

/macosx-10.10.1/xnu-2782.1.97/EXTERNAL_HEADERS/
H A DAssertMacros.h28 Contains: This file defines structured error handling and assertion macros for
39 for the methodology behind these error handling and assertion macros.
52 * check(assertion)
54 * In debug builds, if assertion evaluates to false, calls DEBUG_ASSERT_MESSAGE
56 * verify(assertion)
57 * In production builds, evaluates assertion and does nothing
58 * In debug builds, if assertion evaluates to false, calls DEBUG_ASSERT_MESSAGE
60 * require(assertion, exceptionLabel)
61 * In production builds, if the assertion expression evaluates to false, goto exceptionLabel
62 * In debug builds, if the assertion expressio
[all...]
/macosx-10.10.1/WebKit-7600.1.25/mac/Misc/
H A DOldWebAssertions.c29 void WebReportAssertionFailure(const char *file, int line, const char *function, const char *assertion);
32 void WebReportAssertionFailure(const char *file, int line, const char *function, const char *assertion) argument
/macosx-10.10.1/WTF-7600.1.24/wtf/
H A DAssertions.h127 WTF_EXPORT_PRIVATE void WTFReportAssertionFailure(const char* file, int line, const char* function, const char* assertion);
128 WTF_EXPORT_PRIVATE void WTFReportAssertionFailureWithMessage(const char* file, int line, const char* function, const char* assertion, const char* format, ...) WTF_ATTRIBUTE_PRINTF(5, 6);
129 WTF_EXPORT_PRIVATE void WTFReportArgumentAssertionFailure(const char* file, int line, const char* function, const char* argName, const char* assertion);
214 #define ASSERT(assertion) ((void)0)
215 #define ASSERT_AT(assertion, file, line, function) ((void)0)
219 #define ASSERT_UNUSED(variable, assertion) ((void)variable)
222 #define ASSERT_WITH_SECURITY_IMPLICATION(assertion) \
223 (!(assertion) ? \
224 (WTFReportAssertionFailure(__FILE__, __LINE__, WTF_PRETTY_FUNCTION, #assertion), \
230 #define ASSERT_WITH_SECURITY_IMPLICATION(assertion) ((voi
[all...]
H A DAssertions.cpp209 void WTFReportAssertionFailure(const char* file, int line, const char* function, const char* assertion) argument
211 if (assertion)
212 printf_stderr_common("ASSERTION FAILED: %s\n", assertion);
218 void WTFReportAssertionFailureWithMessage(const char* file, int line, const char* function, const char* assertion, const char* format, ...) argument
224 printf_stderr_common("\n%s\n", assertion);
228 void WTFReportArgumentAssertionFailure(const char* file, int line, const char* function, const char* argName, const char* assertion) argument
230 printf_stderr_common("ARGUMENT BAD: %s, %s\n", argName, assertion);
382 // in case we hit an assertion.
/macosx-10.10.1/OpenLDAP-499.27/OpenLDAP/libraries/libldap/
H A Dassertion.c28 char *assertion,
34 if ( assertion == NULL || assertion[ 0 ] == '\0' ) {
52 err = ldap_pvt_put_filter( ber, assertion );
75 char *assertion,
87 assertion, &value );
26 ldap_create_assertion_control_value( LDAP *ld, char *assertion, struct berval *value ) argument
73 ldap_create_assertion_control( LDAP *ld, char *assertion, int iscritical, LDAPControl **ctrlp ) argument
/macosx-10.10.1/PowerManagement-494.1.2/pmconfigd/
H A DPMAssertions.c84 * PreventDisplayIdleSleep assertion is released
137 static IOReturn raiseAssertion(assertion_t *assertion);
234 // Check for privileges if the assertion requires it.
695 * For now only 'preventSystemSleep' assertion is created
700 /* Create 'PreventSystemSleep' assertion */
709 /* This assertion should be applied even on battery power */
921 * It creates a temporary assertion that keeps the system awake hopefully long enough
922 * for a remote client to connect, and for the server to create an assertion
930 CFSTR("Network wake delay proxy assertion"),
936 /* Enable this assertion o
1466 schedDisableAppSleep(assertion_t *assertion) argument
1500 schedEnableAppSleep(assertion_t *assertion) argument
1532 updateAppStats(assertion_t *assertion, assertionOps op) argument
1602 lookupAssertion(pid_t pid, IOPMAssertionID id, assertion_t **assertion) argument
1732 assertion_t *assertion = NULL; local
1832 assertion_t * assertion = NULL; local
2138 insertInactiveAssertion(assertion_t *assertion, assertionType_t *assertType) argument
2145 removeInactiveAssertion(assertion_t *assertion, assertionType_t *assertType) argument
2151 insertActiveAssertion(assertion_t *assertion, assertionType_t *assertType) argument
2167 removeActiveAssertion(assertion_t *assertion, assertionType_t *assertType) argument
2208 releaseAssertionMemory(assertion_t *assertion, assertLogAction logAction) argument
2234 assertion_t *assertion; local
2306 removeTimedAssertion(assertion_t *assertion, assertionType_t *assertType, bool updateTimer) argument
2333 assertion_t *assertion = NULL; local
2373 insertByTimeout(assertion_t *assertion, assertionType_t *assertType) argument
2417 insertTimedAssertion(assertion_t *assertion, assertionType_t *assertType, bool updateTimer) argument
2444 releaseAssertion(assertion_t *assertion, bool callHandler) argument
2472 assertion_t *assertion = NULL; local
2497 assertion_t *assertion, *nextAssertion; local
2531 assertion_t *assertion = NULL; local
2587 assertion_t *assertion = (assertion_t *)context; local
2681 assertion_t *assertion = NULL; local
3295 assertion_t *assertion = NULL; local
3373 raiseAssertion(assertion_t *assertion) argument
3492 assertion_t *assertion = NULL; local
3555 copyAssertion(assertion_t *assertion, CFMutableDictionaryRef assertionsDict) argument
3654 assertion_t *assertion = NULL; local
3677 assertion_t *assertion = NULL; local
3703 assertion_t *assertion, *nextAssertion; local
3786 assertion_t *assertion, *nextAssertion; local
[all...]
H A DPMAssertionLog.c75 assertion_t *assertion)
86 CFDictionaryRef props = assertion->props;
159 // Type of assertion action
162 // PID owning this assertion
163 if ((pid_cf = CFNumberCreate(NULL, kCFNumberIntType, &assertion->pinfo->pid)) != NULL) {
169 if ((retain_cf = CFNumberCreate(NULL, kCFNumberIntType, &assertion->retainCnt)) != NULL) {
186 // Backtrace of assertion creation
207 ^(assertion_t *assertion) {
208 logAssertionEvent(kASummaryLog, assertion);
272 assertion_t *assertion)
74 logAssertionActivity(assertLogAction action, assertion_t *assertion) argument
271 logAssertionToASL(assertLogAction action, assertion_t *assertion) argument
481 logAssertionEvent(assertLogAction action, assertion_t *assertion) argument
[all...]
H A DPMAssertions.h49 /* ExternalMedia assertion
50 * This assertion is only defined here in PM configd.
100 * A 'assertion_t' stucture is created for each assertion created by the processes.
102 * Each assertion will be associated with one of the pre-defined assertion types. All
103 * assertion types are defined in kerAssertionType enum. A 'assertionType_t' strcture is
104 * created for each assertion type at the start of the process and can be accessed from
107 * Each assertion type will have a pre-defined effect on the system. All possible effects are
109 * assertion effect at the start of the process and can be accessed from 'gAssertionEffects'
112 * An assertion typ
207 typedef struct assertion { struct
[all...]
/macosx-10.10.1/WebKit2-7600.1.25/Platform/IPC/
H A DMessageDecoder.cpp70 void MessageDecoder::setImportanceAssertion(std::unique_ptr<ImportanceAssertion> assertion) argument
72 m_importanceAssertion = WTF::move(assertion);
H A DConnection.h79 #define MESSAGE_CHECK_BASE(assertion, connection) do \
80 if (!(assertion)) { \
81 ASSERT(assertion); \
/macosx-10.10.1/ruby-106/ruby/test/testunit/
H A Dtest_assertion.rb5 assert_match(/assertion message must be String or Proc, but TrueClass was given/, error.message)
/macosx-10.10.1/gnudiff-19/diffutils/lib/
H A Dstrtoimax.c42 #define verify(name, assertion) struct name { char a[(assertion) ? 1 : -1]; }
H A Dexclude.c68 #define verify(name, assertion) struct name { char a[(assertion) ? 1 : -1]; }
/macosx-10.10.1/bash-94.1.2/bash-3.2/lib/sh/
H A Dstrtoimax.c35 #define verify(name, assertion) struct name { char a[(assertion) ? 1 : -1]; }
H A Dstrtoumax.c35 #define verify(name, assertion) struct name { char a[(assertion) ? 1 : -1]; }
/macosx-10.10.1/cxxfilt-11/cxxfilt/cpu/
H A Dsimplify.inc150 x-syntax x-base-ifield x-encoding x-ifield-assertion
160 (ifield-assertion x-ifield-assertion)
171 ; Fields ifield-assertion is absent.
/macosx-10.10.1/IOKitTools-91/ioreg.tproj/
H A Dioreg.c34 #define assertion(e, message) ((void) (__builtin_expect(!(e), 0) ? fprintf(stderr, "ioreg: error: %s.\n", message), exit(1) : 0)) macro
252 assertion(service, "can't obtain I/O Kit's root service");
279 assertion(path != NULL, "can't create path");
282 assertion(file != NULL, "can't create file");
285 assertion(success, "can't open file");
355 assertion(status == KERN_SUCCESS, "can't obtain properties");
363 assertion(dictionary != NULL, "can't create dictionary");
369 assertion(status == KERN_SUCCESS, "can't obtain name");
372 assertion(object != NULL, "can't create name");
383 assertion(objec
[all...]
/macosx-10.10.1/mDNSResponder-561.1.1/mDNSVxWorks/
H A DmDNSVxWorksIPv4Only.c158 #define check(assertion)
159 #define check_string( assertion, cstring )
162 #define check_errno( assertion, errno_value )
164 #define require( assertion, label ) do { if( !(assertion) ) goto label;} while(0)
165 #define require_string( assertion, label, string ) require(assertion, label)
166 #define require_quiet( assertion, label ) require( assertion, label )
168 #define require_noerr_quiet( assertion, labe
[all...]
/macosx-10.10.1/WebKit2-7600.1.25/UIProcess/Network/
H A DNetworkProcessProxy.cpp44 #define MESSAGE_CHECK(assertion) MESSAGE_CHECK_BASE(assertion, connection())
/macosx-10.10.1/OpenLDAP-499.27/OpenLDAP/clients/tools/
H A Dcommon.h85 extern char *assertion;
H A Dcommon.c97 char *assertion = NULL; variable
278 if ( assertion ) {
279 ber_memfree( assertion );
280 assertion = NULL;
462 assert( assertion == NULL );
463 assertion = ber_strdup( cvalue );
1646 assertion, &assertionvalue );
1649 "Unable to create assertion value "
1650 "\"%s\" (%d)\n", assertion, err );
/macosx-10.10.1/gnudiff-19/diffutils/src/
H A Dsystem.h41 #define verify(name, assertion) struct name { char a[(assertion) ? 1 : -1]; }
/macosx-10.10.1/JavaScriptCore-7600.1.17/dfg/
H A DDFGValidate.cpp46 #define VALIDATE(context, assertion) do { \
47 if (!(assertion)) { \
51 dataLogF(": validation %s (%s:%d) failed.\n", #assertion, __FILE__, __LINE__); \
53 WTFReportAssertionFailure(__FILE__, __LINE__, WTF_PRETTY_FUNCTION, #assertion); \
/macosx-10.10.1/OpenSSL098-52/src/crypto/
H A Dcryptlib.c536 void OpenSSLDie(const char *file,int line,const char *assertion) argument
539 "%s(%d): OpenSSL internal error, assertion failed: %s\n",
540 file,line,assertion);
/macosx-10.10.1/gnutar-453/gnutar/lib/
H A Dmktime.c105 #define verify(name, assertion) struct name { char a[(assertion) ? 1 : -1]; }

Completed in 456 milliseconds

12