Searched refs:ok (Results 1 - 25 of 78) sorted by relevance

1234

/vbox/src/VBox/Frontends/VirtualBox/src/platform/os2/
H A DVBoxHlp.cpp112 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 Dbyteswap_test.c70 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 Dpubkey_test.h25 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 Dentropy_sample.c52 ok ( rc == 0 );
55 ok ( rc == 0 );
H A Dlist_test.c66 * @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 Dcbc_test.h32 ok ( cbc_test_encrypt ( cipher, key, key_len, iv, plaintext, \
49 ok ( cbc_test_decrypt ( cipher, key, key_len, iv, ciphertext, \
H A Ddigest_test.h33 ok ( digest_test ( digest, fragments, data, len, expected ) ); \
H A Dsettings_test.c50 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 Dtime_test.c91 ok ( time == (test)->time ); \
92 ok ( (test)->tm.tm_wday == (test)->wday ); \
93 ok ( (test)->tm.tm_yday == (test)->yday ); \
H A Dcrc32_test.c92 ok ( crc32 == (test)->crc32 ); \
/vbox/src/libs/xpcom18a4/xpcom/typelib/xpt/tests/
H A DSimpleTypeLib.c85 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 Dtest.h41 #define ok( success ) do { \ macro
/vbox/src/libs/xpcom18a4/python/server/
H A Dmodule.py88 ok = 1
92 ok = 0
99 ok = 0
100 if ok:
/vbox/src/VBox/Devices/EFI/Firmware/StdLib/BsdSocketLib/
H A Dns_ntoa.c87 int ok = 0; local
96 ok = 1;
101 if (nonzero && !ok) { *p++ = 'H'; *p = 0; }
/vbox/src/libs/xpcom18a4/xpcom/base/
H A DnsStackFrameWin.cpp262 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 Dsvchlp.cpp123 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 DQIWidgetValidator.cpp177 bool ok;
178 ulong entered = aInput.toULong (&ok, 0);
180 if (!ok)
/vbox/src/libs/xpcom18a4/python/src/
H A DPyIID.cpp103 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 DPyGBase.cpp200 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 Duri.c418 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 Dt_dd_dmatmp.h1181 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 DVBoxGlobalSettings.cpp281 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 Dsec80211.c190 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 DMozilla.java413 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 Dxpt_struct.c682 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...]

Completed in 2231 milliseconds

1234