Searched refs:test (Results 1 - 25 of 322) sorted by relevance

1234567891011>>

/vbox/src/libs/xpcom18a4/nsprpub/pr/tests/
H A Datomic.c44 PRInt32 rv, oldval, test, result = 0; local
47 oldval = test = -2;
48 rv = PR_AtomicIncrement(&test);
53 oldval = test;
54 rv = PR_AtomicIncrement(&test);
59 oldval = test;
60 rv = PR_AtomicIncrement(&test);
66 oldval = test = -2;
67 rv = PR_AtomicAdd(&test,1);
72 oldval = test;
[all...]
H A Dlazyinit.c42 ** Since you only get to initialize once, you have to rerun the test
43 ** for each test case. The test cases are numbered. If you want to
47 ** This test is problematic on systems that don't support the notion
82 PRIntn test; local
86 test = 0;
89 test = atoi(argv[1]);
91 switch (test)
/vbox/src/libs/libxml2-2.6.31/macos/src/
H A Dmacos_main.c6 DECLARE_MAIN(test)
9 REGISTER_MAIN(test)
/vbox/src/libs/xpcom18a4/xpcom/reflect/xptcall/src/md/unix/
H A Dvtable_layout_x86.cpp12 class test { class
19 test::test() { this->x = 0x12121212; }; function in class:test
21 int test::t1(void) { return 1; }
22 int test::t2(void) { return 2; }
33 test *t = new test();
41 die("Integer element test::x not found!");
/vbox/src/VBox/Devices/PC/ipxe/src/tests/
H A Dmd5_test.c29 #include <ipxe/test.h>
32 /** An MD5 test vector */
42 /** MD5 test vectors */
58 /** MD5 test fragment lists */
66 * Perform MD5 self-test
71 struct md5_test_vector *test; local
77 test = &md5_test_vectors[i];
79 digest_ok ( digest, NULL, test->data, test->len, test
[all...]
H A Dsha1_test.c29 #include <ipxe/test.h>
32 /** An SHA-1 test vector */
42 /** SHA-1 test vectors */
44 /* Empty test data
63 /** SHA-1 test fragment lists */
71 * Perform SHA-1 self-test
76 struct sha1_test_vector *test; local
82 test = &sha1_test_vectors[i];
84 digest_ok ( digest, NULL, test->data, test
[all...]
H A Dsha256_test.c29 #include <ipxe/test.h>
32 /** An SHA-256 test vector */
42 /** SHA-256 test vectors */
44 /* Empty test data
66 /** SHA-256 test fragment lists */
74 * Perform SHA-256 self-test
79 struct sha256_test_vector *test; local
85 test = &sha256_test_vectors[i];
87 digest_ok ( digest, NULL, test->data, test
[all...]
H A Dcrc32_test.c49 #include <ipxe/test.h>
54 /** A CRC32 test */
58 /** Length of test data */
67 * Define a CRC32 test
73 * @ret test CRC32 test
85 * Report a CRC32 test result
87 * @v test CRC32 test
89 #define crc32_ok( test ) d
[all...]
H A Daes_cbc_test.c25 * These test vectors are provided by NIST as part of the
38 #include <ipxe/test.h>
53 /** An AES-in-CBC-mode test */
74 * Define an AES-in-CBC-mode test
81 * @ret test AES-in-CBC-mode test
104 * @v test Instantiation test
106 #define aes_cbc_ok( test ) do { \
109 assert ( (test)
[all...]
H A Dtime_test.c31 #include <ipxe/test.h>
33 /** A mktime() test */
46 * Define a mktime() test
59 * @ret test mktime() test
61 * This macro is designed to make it easy to generate test vectors in
85 * Report mktime() test result
87 * @v test mktime() test
89 #define mktime_ok( test ) d
[all...]
H A Ddigest_test.h8 #include <ipxe/test.h>
10 /** Maximum number of digest test fragments */
13 /** A digest test fragment list */
24 * Report digest test result
27 * @v fragments Digest test fragment list, or NULL
29 * @v len Length of test data
/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/cmd/dtrace/test/tst/common/providers/
H A Derr.D_PDESC_ZERO.nonprofile.d31 * Simple profile provider test;
45 profile:::test
/vbox/src/libs/xpcom18a4/xpcom/tests/windows/
H A DnsStringTest2.h5 * This file is designed to help test the new nsString classes.
51 This class's only purpose in life is to test the
68 //test 1: unicode char is stripped correctly using StripChars()
70 PRUnichar test[]={0x0041,0x0051,0x0052,0x0000}; local
71 nsString T(test);
77 //test 2: unicode char is not matched and stripped when high-order byte is not 0x00
79 PRUnichar test[]={0x4e41,0x4e51,0x4e52,0x4e53,0x0000}; local
80 nsAutoString T(test);
86 //test 3: unicode char is not matched and stripped when high-order byte is 0xFF
89 PRUnichar test[] local
98 PRUnichar test[] = {0x0041,0x0051,0x0052,0x0000}; local
108 PRUnichar test[]={0x4e41,0x4e51,0x4e52,0x4e53,0x0000}; local
118 PRUnichar test[] = {0xFF41,0x4e51,0x4e52,0x4e53,0x0000}; local
128 PRUnichar test[] = {0x0041,0x0051,0x0052,0x0000}; local
138 PRUnichar test[] = {0x4e41,0x4e51,0x4e52,0x4e53,0x0000}; local
148 PRUnichar test[] = {0x4150,0x4e51,0x4e52,0x4e53,0x0000}; local
158 PRUnichar test[] = {0xFFc1,0x4e51,0x4e52,0x4e53,0x0000}; local
169 PRUnichar test[] = {0x0041,0x0051,0x0052,0x0000}; local
179 PRUnichar test[] = {0x4e41,0x0051,0x0052,0x0000}; local
189 PRUnichar test[] = {0x4150,0x4e51,0x4e52,0x4e53,0x0000}; local
198 PRUnichar test[] = {0xFFc2,0x4e51,0x4e52,0x4e53,0x0000}; local
206 PRUnichar test[] = {0xFFc2,0x4e51,0x4e52,0x4e53,0x0000}; local
218 PRUnichar test[] = {0x0041,0x0042,0x0043,0x0044,0x0045,0x0000}; local
228 PRUnichar test[] = {0x0041,0x4e42,0x0043,0x0044,0x0045,0x0000}; local
238 PRUnichar test[] = {0x0041,0x4e51,0x4e52,0x4e53,0x0000}; local
246 PRUnichar test[] = {0x4e41,0x4e51,0x4e52,0x4e53,0x0000}; local
254 PRUnichar test[] = {0x4e51,0x4e52,0x4e53,0x4e41,0x0000}; local
273 PRUnichar test[] = {0x0041,0x0042,0x0043,0x0051,0x0052,0x0000}; local
279 PRUnichar test[] = {0x4e41,0x4e42,0x4e43,0x4e53,0x0000}; local
285 PRUnichar test[] = {0xFFc1,0x0051,0x0052,0x0053,0x0000}; local
294 PRUnichar test[] = {0x0041,0x0051,0x0052,0x0000}; local
299 PRUnichar test[] = {0x4e41,0x4e42,0x4e43,0x4e53,0x0000}; local
304 PRUnichar test[] = {0xFFc1,0x4e51,0x4e52,0x4e53,0x0000}; local
310 PRUnichar test[] = {0x4132,0x0051,0x0052,0x0000}; local
316 PRUnichar test[] = {0x0041,0x0051,0x0052,0x0000}; local
321 PRUnichar test[] = {0x4e41,0x4e42,0x4e43,0x4e53,0x0000}; local
327 PRUnichar test[] = {0xFFc1,0x4e51,0x4e52,0x4e53,0x0000}; local
334 PRUnichar test[] = {0x4132,0x5132,0x5232,0x0000}; local
341 PRUnichar test[] = {0x0051,0x0052,0x0041,0x0042,0x0043,0x0000}; local
346 PRUnichar test[] = {0x4e41,0x4e42,0x4e43,0x4e53,0x0000}; local
351 PRUnichar test[] = {0xFFc1,0xFFc2,0xFFc3,0x4e53,0x0000}; local
360 PRUnichar test[] = {0x0041,0x0042,0x0043,0x0000}; local
366 PRUnichar test[] = {0x4e41,0x4e42,0x4e43,0x4e53,0x0000}; local
371 PRUnichar test[] = {0xFFc1,0x4e51,0x4e52,0x4e53,0x0000}; local
378 PRUnichar test[] = {0x4132,0x0051,0x0052,0x0000}; local
384 PRUnichar test[] = {0x0041,0x0042,0x0043,0x0000}; local
389 PRUnichar test[] = {0xc341,0xc342,0xc343}; local
[all...]
/vbox/src/libs/libxml2-2.6.31/
H A Dgentest.py20 # Modules we want to skip in API test
181 # Extra code needed for some test cases
274 # Do not test destructors
399 global test
415 test.write("#ifdef %s\n" % (modules_defines[module]))
417 test.write("""
426 test.write("#endif\n\n")
445 # Copy the beginning of the C test program result
452 test = open('testapi.c.new', 'w') variable
455 global test
[all...]
H A Dcheck-xinclude-test-suite.py12 DIR="xinclude-test-suite"
14 LOG="check-xinclude-test-suite.log"
55 def runTest(test, basedir):
64 uri = test.prop('href')
65 id = test.prop('id')
66 type = test.prop('type')
88 output = test.xpathEval('string(output)')
151 print "Test %s: failed optional test" % (id)
157 content = string.strip(test.content)
166 log.write("diff from test
[all...]
/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/cmd/dtrace/test/tst/common/sdt/
H A Dtst.sdtargs.d42 printf("sdt:::test failed.\n");
46 sdt:::test
57 sdt:::test
65 trace("test timed out");
/vbox/src/VBox/HostServices/testcase/
H A DtstHGCMSvc.cpp23 #include <iprt/test.h>
28 * Init the runtime, test and say hello.
37 * Run the test.
/vbox/src/VBox/Devices/PC/ipxe/src/image/
H A Dscript.c173 char test[ sizeof ( ipxe_magic ) - 1 /* NUL */ local
177 if ( image->len < sizeof ( test ) ) {
183 copy_from_user ( test, image->data, 0, sizeof ( test ) );
184 if ( ! ( ( ( memcmp ( test, ipxe_magic, sizeof ( test ) - 1 ) == 0 ) ||
185 ( memcmp ( test, gpxe_magic, sizeof ( test ) - 1 ) == 0 )) &&
186 isspace ( test[ sizeof ( test )
[all...]
/vbox/src/libs/libxml2-2.6.31/python/tests/
H A DtstLastError.py78 test = TestCase() variable in class:TestCase
79 test.setUp()
80 test.test1()
81 test.test2()
82 test.tearDown()
H A Dthread2.py28 def test(expectedLineNumbersDefault): function
51 test(1)
61 ts.append(Thread(target=test,args=(0,)))
76 ts.append(Thread(target=test,args=(1,)))
/vbox/src/libs/xpcom18a4/python/test/
H A Dpyxpcom_test_tools.py0 # test tools for the pyxpcom bindings
86 def _getTestWrapper(self, test):
87 # later! see pywin32's win32/test/util.py
88 return test
97 test = unittest.TestLoader.loadTestsFromName(self, name, module)
98 if isinstance(test, unittest.TestSuite):
99 pass # hmmm? print "Don't wrap suites yet!", test._tests
100 elif isinstance(test, unittest.TestCase):
101 test = self._getTestWrapper(test)
[all...]
/vbox/src/libs/libxml2-2.6.31/xstc/
H A Dxstc.py4 # This is the MS subset of the W3C test suite for XML Schemas.
5 # This file is generated from the MS W3c test suite description file.
20 default="test.log",
27 opa.add_option("--no-test-out", action="store_true", dest="disableTestStdOut",
29 help="Don't output test results")
42 opa.add_option("-t", "--test", type="string", dest="singleTest",
44 help="Runs the specified test only")
46 opa.add_option("--tsw", "--test-starts-with", type="string", dest="testStartsWith",
48 help="Runs the specified test(s), starting with the given string")
84 help="Displays info on the suite only. Does not run any test
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Library/BaseLib/Ia32/
H A DARShiftU64.c42 test cl, 32
H A DLShiftU64.c42 test cl, 32 // Count >= 32?
H A DRShiftU64.c42 test cl, 32

Completed in 71 milliseconds

1234567891011>>