Searched defs:test (Results 1 - 25 of 43) sorted by relevance

12

/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/cmd/dtrace/test/tst/sparc/pid/
H A Dtst.br.s39 ENTRY(test) function
64 SET_SIZE(test)
76 call test
/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)
H A Ddbmalloc.c45 ** 14-May-97 AGarcia- Converted the test to accomodate the debug_mode flag.
46 ** The debug mode will print all of the printfs associated with this test.
210 test function
219 printf("[%s]: starting test 0\n", name);
222 printf("[%s]: test 0 had %ld allocations.\n", name, n);
229 if( 0 == which ) printf("[%s]: starting test %d -- no allocation should fail\n", name, i+1);
230 else printf("[%s]: starting test %d -- allocation %d should fail\n", name, i+1, which);
232 printf("[%s]: test %d done.\n", name, i+1);
315 n->thread = PR_CreateThread(PR_USER_THREAD, (void (*)(void *))test,
331 test(*arg
[all...]
H A Dforeign.c273 PRIntn test = (PRIntn)arg; local
275 for (test = 0; test < 12; ++test) {
277 switch (test)
/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...]
/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/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/libs/xpcom18a4/xpcom/tests/
H A DTestDeque.cpp64 * conduct automated self test for this class
153 _TestDeque test; local
/vbox/src/libs/xpcom18a4/python/test/
H A Dtest_weakreferences.py62 def test(): function
79 # Now a test that we can get a _new_ interface from the weak reference - ie,
92 # Do the test lots of times - can help shake-out ref-count bugs.
95 test()
109 # Make this test run under our std test suite
/vbox/src/libs/xpcom18a4/python/tools/
H A Dtracer_demo.py41 # creates the Python test component, and references some methods
93 def test(): function
113 test()
/vbox/src/VBox/Main/webservice/samples/java/jax-ws/
H A Dclienttest.java46 vbox = mgr.logon("test", "test");
75 public void test() method in class:clienttest
110 IVirtualBox vbox1 = mgr1.logon("test", "test");
111 IVirtualBox vbox2 = mgr2.logon("test", "test");
121 vbox1 = mgr1.logon("test", "test");
122 vbox2 = mgr2.logon("test", "tes
[all...]
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/misc/
H A Dprthinfo.c129 prword_t *test; local
131 test = *((prword_t **)scan);
132 status = scanFun(t, (void**)&test, 1, scanClosure);
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/VfrCompile/Pccts/h/
H A DATokenBuffer.cpp44 static unsigned char test[1000]; variable
147 /* MR23 */ printMessage(stderr, "rewind(%d)[nm=%d,from=%d,%d.n=%d]\n", pos, num_markers, tp-buffer,pos,test[pos]);
148 test[pos]--;
162 test[tp-buffer]++;
163 /* MR23 */ printMessage(stderr,"mark(%d)[nm=%d,%d.n=%d]\n",tp-buffer,num_markers+1,tp-buffer,test[tp-buffer]);
/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/VBox/ExtPacks/VBoxDTrace/onnv/cmd/dtrace/test/tst/common/nfs/
H A Dtst.call3.c351 call3_test_t *test; local
395 for (test = call3_tests; test->arginit; ++test) {
396 argbuf = realloc(argbuf, test->argsize);
397 resbuf = realloc(resbuf, test->ressize);
402 (test->arginit)(argbuf);
403 bzero(resbuf, test->ressize);
404 status = clnt_call(client, test->proc,
405 test
[all...]
/vbox/src/VBox/Devices/PC/ipxe/src/drivers/net/
H A Dne2k_isa.c153 static unsigned char test[] = "NE*000 memory"; local
171 eth_pio_write((unsigned char *) test, 8192, sizeof(test));
172 eth_pio_read(8192, testbuf, sizeof(test));
173 if (!memcmp(test, testbuf, sizeof(test)))
183 eth_pio_write((unsigned char *) test, 16384, sizeof(test));
184 eth_pio_read(16384, testbuf, sizeof(test));
185 if (!memcmp(testbuf, test, sizeo
[all...]
H A Dns8390.c891 static unsigned char test[] = "NE*000 memory"; local
920 eth_pio_write( (unsigned char *) test, 8192, sizeof(test));
921 eth_pio_read(8192, testbuf, sizeof(test));
922 if (!memcmp(test, testbuf, sizeof(test)))
932 eth_pio_write( (unsigned char *) test, 16384, sizeof(test));
933 eth_pio_read(16384, testbuf, sizeof(test));
934 if (!memcmp(testbuf, test, sizeo
[all...]
/vbox/src/libs/xpcom18a4/xpcom/proxy/tests/
H A Dproxytests.cpp97 nsITestProxy *test; local
99 p1->QueryInterface(NS_GET_IID(nsITestProxy), (void**)&test);
101 test->Test2();
103 test->Test( 1, 2, &a);
374 nsITestProxy *test; local
375 bISupports->QueryInterface(NS_GET_IID(nsITestProxy), (void**)&test);
377 test->Test2();
/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/zlib-1.2.6/examples/
H A Dgun.c537 /* Decompress the file inname to the file outnname, of if test is true, just
547 local int gunzip(z_stream *strm, char *inname, char *outname, int test) argument
564 if (test)
632 int ret, len, test; local
651 test = 0;
659 test = 1;
665 if (test)
691 ret = gunzip(&strm, *argv, outname, test);
696 ret = gunzip(&strm, NULL, NULL, test);
/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...]

Completed in 75 milliseconds

12