Searched refs:test (Results 151 - 175 of 238) sorted by relevance

12345678910

/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_mutex_trylock/
H A D4-3.c18 * This sample test aims to check the following assertion:
58 * where descr is a short text saying why the test has failed.
176 void * test(void * arg) function
301 if ((ret = pthread_create(&th_work, NULL, test, NULL)))
/haiku-fatelf/src/tests/system/kernel/device_manager/
H A Ddma_resource_test.cpp132 while (Test* test = fTests.RemoveHead()) {
133 delete test;
139 Test* test = new(std::nothrow) Test(*this, offset, length, isWrite, local
141 fTests.Add(test);
143 return *test;
150 while (Test* test = iterator.Next()) {
151 dprintf("test %lu...\n", count++);
152 test->Run(fDMAResource);
668 dprintf("test failed\n");
1121 sArea = create_area("dma test",
[all...]
/haiku-fatelf/src/bin/network/wget/src/
H A Durl.c51 #include "test.h"
234 /* Quote the characters that match the test mask. */
363 Anon's test case:
369 Simpler test cases:
1624 test examples are provided below. If you change anything in this
1626 test case. */
2128 run_test (char *test, char *expected_result, enum url_scheme scheme,
2131 char *test_copy = xstrdup (test);
2137 test, expected_result, test_copy);
2144 test);
2116 run_test(char *test, char *expected_result, enum url_scheme scheme, bool expected_change) argument
2146 char *test, *result; member in struct:__anon4504
2183 char *test = tests[i].test; local
[all...]
/haiku-fatelf/src/tools/cppunit/
H A DTestShell.cpp90 BTestShell::AddTest(const string &name, CppUnit::Test *test) { argument
91 if (test != NULL)
92 fTests[name] = test;
178 // See if it's a suite (since it may just be a single test)
181 // name is also the name of an available individual test
195 // test of the same name).
200 // Everything still in fTestsToRun must then be an explicit test
202 // Make sure it's a valid test
291 cout << indent << "-v2 Sets verbosity level to 2 (*default* -- per-test results plus" << endl;
294 cout << indent << " per-test result
[all...]
/haiku-fatelf/headers/tools/cppunit/
H A DTestShell.h44 built on top of the CppUnit testing library. You add named test suites
46 user can get a list of each test installed via AddSuite(), and optionally
56 // ownership of the BTestSuite object. Each test in the kit is added to
60 // This function is used to add test suites to the list of available
65 // given suite would be a test suite for an entire class, but that's
67 void AddTest(const std::string &name, CppUnit::Test* test);
69 // This function loads all the test addons it finds in the given
73 // This is the function you call after you've added all your test
74 // suites with calls to AddSuite(). It runs the test, or displays
155 //! Makes any necessary pre-test preparation
[all...]
/haiku-fatelf/src/bin/mkdos/
H A Dmkdos.cpp56 bool test = false; local
65 {"test", no_argument, 0, 't'},
80 test = true;
121 if (test)
122 printf("test mode enabled (no writes will occur)\n");
125 s = Initialize(fat, device, label, noprompt, test);
633 printf(" -t, --test enable test mode (will not write to disk)\n");
/haiku-fatelf/src/kits/network/libbind/irs/
H A Dirp_ng.c92 ng->test = ng_test;
H A Dnis_ng.c118 ng->test = ng_test;
/haiku-fatelf/src/libs/ncurses/test/
H A Dfirework.c4 #include <test.priv.h>
H A Dhashtest.c2 * hashtest.c -- test hash mapping
17 #include <test.priv.h>
142 ," -l num repeat test 'num' times"
143 ," -n test the normal optimizer"
144 ," -o test the hashed optimizer"
H A Drailroad.c36 #include <test.priv.h>
/haiku-fatelf/src/tests/kits/storage/
H A DMimeSnifferTest.cpp713 // The uber test
810 // test a couple of valid and invalid rules
1355 test_case &test = tests[i];
1357 // cout << test.data << endl;
1363 // cout << test.result[j] << endl;
1367 // dumpStr(test.data, "str ");
1375 data.Write(test.data.data(), test.data.length());//strlen(test.data));
1379 // << ((match == test
[all...]
H A DDirectoryTest.cpp1157 // create a test directory
1187 CPPUNIT_ASSERT( testSet.test(ents->d_name) == true );
1233 testSet.test(".");
1234 testSet.test("..");
1240 CPPUNIT_ASSERT( testSet.test(path.Leaf()) == true );
1249 testSet.test(".");
1250 testSet.test("..");
1253 CPPUNIT_ASSERT( testSet.test(ref.name) == true );
1263 CPPUNIT_ASSERT( testSet.test(ents->d_name) == true );
1281 CPPUNIT_ASSERT( testSet.test(ent
[all...]
/haiku-fatelf/src/tests/system/kernel/unit/
H A DTestContext.h93 TestContext(TestContext& parent, Test* test);
/haiku-fatelf/src/bin/gawk/
H A Dansi2knr.c311 test: line += strlen(line);
342 goto test;
/haiku-fatelf/src/tests/kits/interface/layout/
H A DLayoutTest1.cpp51 : BView("test view", B_WILL_DRAW | B_FULL_UPDATE_ON_RESIZE),
330 // test views
415 // test views
508 // test views
602 // test views
683 // test views
691 // set maximal width on the test views
716 // test views
839 // test views
951 // test view
1604 _AddTest(Test* test) argument
[all...]
/haiku-fatelf/src/libs/ncurses/tack/
H A Dedit.c556 ** Enter each name into the can-test data base.
824 struct test_list *test,
836 i = test->flags & 255;
852 generic_done_message(test, state, chp);
898 generic_done_message(test, state, chp);
936 generic_done_message(test, state, chp);
823 change_one_entry( struct test_list *test, int *state, int *chp) argument
/haiku-fatelf/src/kits/shared/
H A DExpressionParser.cpp186 BString test = temp; local
187 test << "&_";
190 int32 matches = sscanf(test.String(), "%lf&%s", &value, t);
/haiku-fatelf/src/preferences/shortcuts/
H A DShortcutsSpec.cpp260 MinMatchFieldTester test(NUM_META_COLUMNS, false);
264 test.AddSlave(sMetaMaps[i].GetNthStateTester(fMetaCellStateIndex[i]));
268 ret = test.Archive(&testerMsg);
310 else // test the old one.
/haiku-fatelf/src/apps/mail/
H A DWords.cpp466 word_match(const char* reference, const char* test) argument
471 s1 = test;
778 // If suffix, transform and test
/haiku-fatelf/src/apps/mediaplayer/playlist/
H A DFilePlaylistItem.cpp460 BEntry test(&trashDir, (*namesInTrash)[i].String());
461 if (!test.Exists())
/haiku-fatelf/src/tools/docbook/libxslt/libxslt/
H A Dpreproc.c1543 comp->test = xsltGetCNsProp(style, inst, (const xmlChar *)"test", XSLT_NAMESPACE);
1544 if (comp->test == NULL) {
1546 "xsl:if : test is not defined\n");
1550 comp->comp = xsltXPathCompile(style, comp->test);
1553 "xsl:if : could not compile test expression '%s'\n",
1554 comp->test);
1589 comp->test = xsltGetCNsProp(style, inst, (const xmlChar *)"test", XSLT_NAMESPACE);
1590 if (comp->test
[all...]
/haiku-fatelf/src/add-ons/accelerants/matrox/engine/
H A Dmga_proto.h72 uint8 * m_result,uint8 * n_result,uint8 * p_result, uint8 test);
/haiku-fatelf/src/bin/gdb/gdb/
H A Dp-lang.c264 gdb test suite since we don't have to account for the differences
/haiku-fatelf/src/bin/network/tcpdump/libpcap/msdos/
H A Dpkt_rx1.s76 ; A test for equality is done by putting CX in _pktRxBuf [n].firstCount

Completed in 339 milliseconds

12345678910