/vbox/src/VBox/Frontends/VirtualBox/src/platform/os2/ |
H A D | VBoxHlp.cpp | 112 BOOL ok = WinSetHook (aHab, NULLHANDLE, HK_PREACCEL, 115 if (ok) 122 return (bool) ok; 140 BOOL ok = WinReleaseHook (aHab, NULLHANDLE, HK_PREACCEL, 143 if (ok) 150 return (bool) ok; 163 bool ok = true; local 186 return (unsigned long) ok;
|
/vbox/src/VBox/Devices/PC/ipxe/src/tests/ |
H A D | byteswap_test.c | 70 ok ( test_bswap16 ( 0x1234 ) == 0x3412 ); 71 ok ( test_bswap32 ( 0x12345678UL ) == 0x78563412UL ); 72 ok ( test_bswap64 ( 0x123456789abcdef0ULL ) == 0xf0debc9a78563412ULL ); 76 ok ( test16 == 0xcdab ); 80 ok ( test32 == 0x01efcdabUL ); 84 ok ( test64 == 0x8967452301efcdabULL );
|
H A D | pubkey_test.h | 25 ok ( pubkey_init ( (pubkey), ctx, (key), (key_len) ) == 0 ); \ 35 ok ( decrypted_len == ( ( int ) (expected_len) ) ); \ 36 ok ( memcmp ( decrypted, (expected), \ 58 ok ( pubkey_init ( (pubkey), ctx, (encrypt_key), \ 69 ok ( encrypted_len >= 0 ); \ 101 ok ( pubkey_init ( (pubkey), ctx, (key), (key_len) ) == 0 ); \ 109 ok ( signature_len == ( ( int ) (expected_len) ) ); \ 110 ok ( memcmp ( signature, (expected), \ 139 ok ( pubkey_init ( (pubkey), ctx, (key), (key_len) ) == 0 ); \ 140 ok ( pubkey_verif [all...] |
H A D | entropy_sample.c | 52 ok ( rc == 0 ); 55 ok ( rc == 0 );
|
H A D | list_test.c | 66 * @v ok List contents are as expected 118 ok ( list_check_contents ( (list), (expected) ) ); \ 135 ok ( entry->label == *(check++) ); \ 137 ok ( *check == '\0' ); \ 151 ok ( (pos)->label == *(check++) ); \ 153 ok ( *check == '\0' ); \ 169 ok ( list_empty ( list ) ); 194 ok ( list_empty ( list ) ); 198 ok ( ! list_is_singular ( list ) ); 200 ok ( list_is_singula [all...] |
H A D | cbc_test.h | 32 ok ( cbc_test_encrypt ( cipher, key, key_len, iv, plaintext, \ 49 ok ( cbc_test_decrypt ( cipher, key, key_len, iv, ciphertext, \
|
H A D | digest_test.h | 33 ok ( digest_test ( digest, fragments, data, len, expected ) ); \
|
H A D | settings_test.c | 50 ok ( storef_setting ( settings, setting, formatted ) == 0 ); \ 56 ok ( len == ( int ) sizeof ( actual ) ); \ 57 ok ( memcmp ( actual, expected, sizeof ( actual ) ) == 0 ); \ 73 ok ( store_setting ( settings, setting, raw, \ 80 ok ( len == ( int ) ( sizeof ( actual ) - 1 ) ); \ 81 ok ( strcmp ( actual, formatted ) == 0 ); \ 179 ok ( register_settings ( &test_settings, NULL, "test" ) == 0 );
|
H A D | time_test.c | 91 ok ( time == (test)->time ); \ 92 ok ( (test)->tm.tm_wday == (test)->wday ); \ 93 ok ( (test)->tm.tm_yday == (test)->yday ); \
|
H A D | crc32_test.c | 92 ok ( crc32 == (test)->crc32 ); \
|
/vbox/src/libs/xpcom18a4/xpcom/typelib/xpt/tests/ |
H A D | SimpleTypeLib.c | 85 PRBool ok; local 123 ok = XPT_FillInterfaceDirectoryEntry(arena, header->interface_directory, &iid, 125 TRY("FillInterfaceDirectoryEntry", ok); 129 ok = XPT_FillMethodDescriptor(arena, meth, 0, "method1", 0); 130 TRY("FillMethodDescriptor", ok); 136 ok = XPT_FillMethodDescriptor(arena, meth, 0, "method2", 2); 137 TRY("FillMethodDescriptor", ok); 162 ok = XPT_MakeCursor(state, XPT_HEADER, header_sz, cursor); 163 TRY("MakeCursor", ok); 165 ok [all...] |
/vbox/src/VBox/Devices/PC/ipxe/src/include/ipxe/ |
H A D | test.h | 41 #define ok( success ) do { \ macro
|
/vbox/src/libs/xpcom18a4/python/server/ |
H A D | module.py | 88 ok = 1 92 ok = 0 99 ok = 0 100 if ok:
|
/vbox/src/VBox/Devices/EFI/Firmware/StdLib/BsdSocketLib/ |
H A D | ns_ntoa.c | 87 int ok = 0; local 96 ok = 1; 101 if (nonzero && !ok) { *p++ = 'H'; *p = 0; }
|
/vbox/src/libs/xpcom18a4/xpcom/base/ |
H A D | nsStackFrameWin.cpp | 262 BOOL ok; local 264 ok = EnsureSymInitialized(); 265 if (! ok) 273 ok = GetThreadContext(myThread, &context); 274 if (! ok) 290 ok = _StackWalk(IMAGE_FILE_MACHINE_I386, 300 if (!ok) { 317 if (!ok || frame.AddrPC.Offset == 0) 338 ok = _SymGetSymFromAddr(myProcess, 343 if (ok) { [all...] |
/vbox/src/VBox/Main/src-server/win/ |
H A D | svchlp.cpp | 123 BOOL ok = ConnectNamedPipe (mReadEnd, NULL); 124 if (!ok && GetLastError() != ERROR_PIPE_CONNECTED) 165 BOOL ok = WriteFile (mWriteEnd, aVal, (ULONG)aLen, &written, NULL); local 166 AssertReturn(!ok || written == aLen, VERR_GENERAL_FAILURE); 167 return ok ? VINF_SUCCESS : rtErrConvertFromWin32OnFailure(); 207 BOOL ok = ReadFile (mReadEnd, aVal, (ULONG)aLen, &read, NULL); local 208 AssertReturn(!ok || read == aLen, VERR_GENERAL_FAILURE); 209 return ok ? VINF_SUCCESS : rtErrConvertFromWin32OnFailure();
|
/vbox/src/VBox/Frontends/VirtualBox/src/extensions/ |
H A D | QIWidgetValidator.cpp | 177 bool ok; 178 ulong entered = aInput.toULong (&ok, 0); 180 if (!ok)
|
/vbox/src/libs/xpcom18a4/python/src/ |
H A D | PyIID.cpp | 103 PRBool ok = PR_TRUE; local 110 ok = iid.Parse(PyString_AsString(ob)); 111 if (!ok) { 133 ok = PR_FALSE; 135 if (ok) *pRet = iid; 136 return ok;
|
H A D | PyGBase.cpp | 200 PRBool ok = PR_FALSE; local 215 ok = PR_TRUE; // life is good! 225 ok = Py_nsISupports::InterfaceFromPyObject(wrap_ret, iid, ppret, PR_FALSE, PR_FALSE); 227 if (ok) 241 return ok; 761 PRBool ok = PR_TRUE; local 763 ok = NS_SUCCEEDED(Py_nsISupports::InterfaceFromPyObject(ob_existing_weak, 769 if (ok) { 791 PRBool ok = PR_TRUE; local 793 ok [all...] |
/vbox/src/VBox/Devices/PC/ipxe/src/core/ |
H A D | uri.c | 418 int ok = ( isupper ( c ) || islower ( c ) || isdigit ( c ) || local 423 ok = ok || ( c == ';' ) || ( c == '&' ) || ( c == '=' ); 426 ok = ok || ( c == '/' ); 429 ok = 1; 431 return ok;
|
/vbox/src/VBox/Additions/x11/x11include/mesa-7.2/src/mesa/tnl_dd/ |
H A D | t_dd_dmatmp.h | 1181 GLboolean ok = GL_FALSE; local 1188 ok = HAVE_POINTS; 1191 ok = HAVE_LINES && !ctx->Line.StippleFlag; 1194 ok = HAVE_LINE_STRIPS && !ctx->Line.StippleFlag; 1197 ok = HAVE_LINE_STRIPS && !ctx->Line.StippleFlag; 1200 ok = HAVE_TRIANGLES; 1203 ok = HAVE_TRI_STRIPS; 1206 ok = HAVE_TRI_FANS; 1210 ok = GL_TRUE; 1213 ok [all...] |
/vbox/src/VBox/Frontends/VirtualBox/src/ |
H A D | VBoxGlobalSettings.cpp | 281 bool ok = setProperty (gPropertyMap [index].name, value); local 282 Assert (ok); 283 if (ok)
|
/vbox/src/VBox/Devices/PC/ipxe/src/net/80211/ |
H A D | sec80211.c | 190 int ok = 0; local 207 ok |= ( 1 << crypto->algorithm ); 209 ok |= ( 1 << hs->protocol ); 248 if ( ok & ( 1 << map_ent->net80211_type ) ) {
|
/vbox/src/libs/xpcom18a4/java/src/org/mozilla/xpcom/ |
H A D | Mozilla.java | 413 boolean ok = true; 415 while (ok && e.hasMoreElements()) { 420 ok = false; 426 ok = false; 430 if (!ok) { 532 boolean ok = true; 534 while (ok && e.hasMoreElements()) { 539 ok = false; 544 ok = false; 548 if (!ok) { [all...] |
/vbox/src/libs/xpcom18a4/xpcom/typelib/xpt/src/ |
H A D | xpt_struct.c | 682 PRBool ok = PR_FALSE; local 692 ok = XPT_Do8(cursor, (PRUint8*) &cd->value.i8); 695 ok = XPT_Do16(cursor, (PRUint16*) &cd->value.i16); 698 ok = XPT_Do32(cursor, (PRUint32*) &cd->value.i32); 701 ok = XPT_Do64(cursor, &cd->value.i64); 704 ok = XPT_Do8(cursor, &cd->value.ui8); 707 ok = XPT_Do16(cursor, &cd->value.ui16); 710 ok = XPT_Do32(cursor, &cd->value.ui32); 713 ok = XPT_Do64(cursor, (PRInt64 *)&cd->value.ui64); 716 ok [all...] |