/third_party/pcre2/pcre2/ |
H A D | RunGrepTest | 58 vjs="--suppressions=./testdata/valgrind-jit.supp" 97 if [ -z "$srcdir" -o ! -d "$srcdir/testdata" ] ; then 98 if [ -d "./testdata" ] ; then 100 elif [ -d "../testdata" ] ; then 103 echo "Cannot find the testdata directory" 137 (cd $srcdir; $valgrind $vjs $pcre2grep PATTERN ./testdata/grepinput) >>testtrygrep 141 (cd $srcdir; $valgrind $vjs $pcre2grep '^PATTERN' ./testdata/grepinput) >>testtrygrep 145 (cd $srcdir; $valgrind $vjs $pcre2grep -in PATTERN ./testdata/grepinput) >>testtrygrep 149 (cd $srcdir; $valgrind $vjs $pcre2grep -ic PATTERN ./testdata/grepinput) >>testtrygrep 153 (cd $srcdir; $valgrind $vjs $pcre2grep -in PATTERN ./testdata/grepinpu [all...] |
H A D | RunGrepTest.bat | 57 if NOT exist %srcdir%\testdata\ (
58 if exist testdata\ (
60 ) else if exist ..\testdata\ (
62 ) else if exist ..\..\testdata\ (
65 echo Cannot find the testdata directory
94 (pushd %srcdir% & %pcre2grep% PATTERN ./testdata/grepinput & popd) >>testtrygrep
98 (pushd %srcdir% & %pcre2grep% "^PATTERN" ./testdata/grepinput & popd) >>testtrygrep
102 (pushd %srcdir% & %pcre2grep% -in PATTERN ./testdata/grepinput & popd) >>testtrygrep
106 (pushd %srcdir% & %pcre2grep% -ic PATTERN ./testdata/grepinput & popd) >>testtrygrep
110 (pushd %srcdir% & %pcre2grep% -in PATTERN ./testdata/grepinpu [all...] |
H A D | RunTest | 140 testdata="$srcdir/testdata" 141 elif [ -d "./testdata" ] ; then 142 testdata=./testdata 143 elif [ -d "../testdata" ] ; then 144 testdata=../testdata 146 echo "Cannot find the testdata directory" 172 $cf $testdata/testoutpu [all...] |
H A D | RunTest.bat | 34 if exist testdata\ set srcdir=.)
36 if exist ..\testdata\ set srcdir=..)
38 if exist ..\..\testdata\ set srcdir=..\..)
39 if NOT exist %srcdir%\testdata\ (
40 Error: echo distribution testdata folder not found!
254 if exist %srcdir%\testdata\win%testinput% (
260 %pcre2test% %mode% %4 %5 %6 %7 %8 %9 %srcdir%\testdata\%testinput% >%2%bits%\%testoutput%
263 echo. %pcre2test% %mode% %4 %5 %6 %7 %8 %9 %srcdir%\testdata\%testinput% ^>%2%bits%\%testoutput%
284 fc /n %srcdir%\testdata\%testoutput%%type% %2%bits%\%testoutput% >NUL
287 echo. failed comparison: fc /n %srcdir%\testdata\ [all...] |
/third_party/lwip/test/unit/core/ |
H A D | test_pbuf.c | 183 u8_t testdata[] = { 0x01, 0x08, 0x82, 0x02 }; in START_TEST() local 193 res = pbuf_take_at(p, &testdata, sizeof(testdata), 0); in START_TEST() 197 for (i = 0; i < (int)sizeof(testdata); i++) { in START_TEST() 198 fail_unless(out[i] == testdata[i], in START_TEST() 199 "Bad data at pos %d, was %02X, expected %02X", i, out[i], testdata[i]); in START_TEST() 203 res = pbuf_take_at(p, &testdata, sizeof(testdata), p->len - 1); in START_TEST() 207 fail_unless(out[p->len - 1] == testdata[0], in START_TEST() 208 "Bad data at pos %d, was %02X, expected %02X", p->len - 1, out[p->len - 1], testdata[ in START_TEST() 234 u8_t testdata = 0x01; START_TEST() local [all...] |
/third_party/skia/tools/ |
H A D | chrome_fuzz.cpp | 15 static bool read_test_case(const char* filename, SkString* testdata) { in read_test_case() argument 26 testdata->resize(len); in read_test_case() 27 (void) fread(testdata->writable_str(), len, file); in read_test_case() 31 static void run_test_case(const SkString& testdata, const SkBitmap& bitmap, in run_test_case() argument 35 sk_sp<SkImageFilter> flattenable = SkValidatingDeserializeImageFilter(testdata.c_str(), in run_test_case() 36 testdata.size()); in run_test_case() 61 SkString testdata; in read_and_run_test_case() local 64 if (!read_test_case(filename, &testdata)) in read_and_run_test_case() 66 run_test_case(testdata, bitmap, canvas); in read_and_run_test_case()
|
/third_party/openssl/test/ |
H A D | sslbuffertest.c | 52 const char testdata[] = "Test data"; in test_func() local 53 char buf[sizeof(testdata)]; in test_func() 78 for (ret = -1, i = 0, len = 0; len != sizeof(testdata) && i < 2; in test_func() 91 ret = SSL_write(clientssl, testdata + len, in test_func() 92 sizeof(testdata) - len); in test_func() 105 if (!TEST_size_t_eq(len, sizeof(testdata))) in test_func() 112 for (ret = -1, i = 0, len = 0; len != sizeof(testdata) && in test_func() 138 if (!TEST_mem_eq(buf, len, testdata, sizeof(testdata))) in test_func()
|
H A D | time_offset_test.c | 70 const TESTDATA *testdata = &tests[idx]; in test_offset() local 74 at.data = (unsigned char*)testdata->data; in test_offset() 75 at.length = strlen(testdata->data); in test_offset() 76 at.type = testdata->type; in test_offset() 94 if (!TEST_int_eq(testdata->time_result, ret)) { in test_offset() 101 if (!TEST_int_eq(testdata->time_result, ret)) { in test_offset()
|
H A D | mdc2_internal_test.c | 57 const TESTDATA testdata = tests[idx]; in test_mdc2() local 60 MDC2_Update(&c, (const unsigned char *)testdata.input, in test_mdc2() 61 strlen(testdata.input)); in test_mdc2() 64 if (!TEST_mem_eq(testdata.expected, MDC2_DIGEST_LENGTH, in test_mdc2()
|
H A D | asynciotest.c | 296 const char testdata[] = "Test data"; in test_asyncio() local 297 char buf[sizeof(testdata)]; in test_asyncio() 342 for (ret = -1, i = 0, len = 0; len != sizeof(testdata) && i < 2; in test_asyncio() 344 ret = SSL_write(clientssl, testdata + len, in test_asyncio() 345 sizeof(testdata) - len); in test_asyncio() 356 if (!TEST_size_t_eq(len, sizeof(testdata))) in test_asyncio() 364 for (ret = -1, i = 0, len = 0; len != sizeof(testdata) && in test_asyncio() 377 if (!TEST_mem_eq(testdata, sizeof(testdata), buf, len)) in test_asyncio()
|
H A D | hexstr_test.c | 19 struct testdata struct 30 static struct testdata tbl_testdata[] = { 69 struct testdata *test = &tbl_testdata[test_index]; in test_hexstr_sep_to_from() 90 struct testdata *test = &tbl_testdata[test_index]; in test_hexstr_to_from() 119 struct testdata *test = &tbl_testdata[test_index]; in test_hexstr_ex_to_from()
|
H A D | asn1_time_test.c | 21 struct testdata { struct 31 static struct testdata tbl_testdata_pos[] = { 81 static struct testdata tbl_testdata_neg[] = { 88 static struct testdata tbl_testdata_pos_64bit[] = { 96 static struct testdata tbl_testdata_neg_64bit[] = { 110 static int test_table(struct testdata *tbl, int idx) in test_table() 115 struct testdata *td = &tbl[idx]; in test_table()
|
/third_party/libsnd/tests/ |
H A D | chunk_test.c | 107 chunk_test_helper (const char *filename, int format, const char * testdata) in chunk_test_helper() argument 135 chunk_info.data = strdup (testdata) ; in chunk_test_helper() 143 "\n\nLine %d : sf_set_chunk returned for testdata '%s' : %s\n\n", __LINE__, testdata, sf_error_number (err) in chunk_test_helper() 161 "\n\nLine %d : sf_get_chunk_size returned for testdata '%s' : %s\n\n", __LINE__, testdata, sf_error_number (err) in chunk_test_helper() 166 "\n\nLine %d : testdata '%s' : Bad chunk length %u (previous length %u)\n\n", __LINE__, testdata, chunk_info.datalen, length_before in chunk_test_helper() 173 "\n\nLine %d : sf_get_chunk_size returned for testdata '%s' : %s\n\n", __LINE__, testdata, sf_error_numbe in chunk_test_helper() 178 "\\n\\nLine %d : Data compare failed.\\n %s\\n %s\\n\\n", __LINE__, testdata, (char*) chunk_info.data chunk_test_helper() local 288 "\\n\\nLine %d : Data compare failed at %d.\\n %s\\n %s\\n\\n", __LINE__, (int) i, testdata [i], (char*) chunk_info.data multichunk_test_helper() local 303 { const char* testdata [] = chunk_test() local [all...] |
/third_party/ltp/testcases/network/sockets/ |
H A D | ltpSockets.sh | 15 usage: ${0##*/} [ -h hostname2 ] [ -d testdata ] 19 testdata=$testdata 33 d) testdata=$OPTARG;; 46 if [ ! -n "$testdata" ]; then 59 ./ltpClient $hostname1 $hostname1 $testdata
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_open/ |
H A D | 37-1.c | 24 struct test_data testdata[] = { variable 46 for (i = 0; i < ARRAY_SIZE(testdata); i++) { in main() 48 printf("Test: %s\n", testdata[i].desc); in main() 51 fd = shm_open(testdata[i].name, O_RDWR | O_CREAT, 0); in main() 62 shm_unlink(testdata[i].name); in main()
|
/third_party/icu/icu4c/source/data/ |
H A D | makedata.mak | 124 TESTDATA=$(ICUP)\source\test\testdata 129 TESTDATAOUT=$(ICUP)\source\test\testdata\out 136 TESTDATABLD=$(ICUP)\source\test\testdata\out\build 263 ALL : GODATA "$(ICU_LIB_TARGET)" "$(TESTDATAOUT)\testdata.dat" 272 ALL : GODATA "$(ICU_LIB_TARGET)" "$(TESTDATAOUT)\testdata.dat" $(ARM_CROSSBUILD_TS) 329 # Build the ICU4J icudata.jar and testdata.jar. 354 # Build testdata.jar: 358 "$(ICUOUT)\icu4j\testdata.jar": GODATA "$(TESTDATAOUT)\testdata.dat" 359 if not exist "$(ICUOUT)\icu4j\com\ibm\icu\dev\data\testdata" mkdi [all...] |
/third_party/skia/third_party/externals/icu/source/data/ |
H A D | makedata.mak | 124 TESTDATA=$(ICUP)\source\test\testdata 129 TESTDATAOUT=$(ICUP)\source\test\testdata\out 136 TESTDATABLD=$(ICUP)\source\test\testdata\out\build 244 ALL : GODATA "$(ICU_LIB_TARGET)" "$(TESTDATAOUT)\testdata.dat" 253 ALL : GODATA "$(ICU_LIB_TARGET)" "$(TESTDATAOUT)\testdata.dat" $(ARM_CROSSBUILD_TS) 310 # Build the ICU4J icudata.jar and testdata.jar. 335 # Build testdata.jar: 339 "$(ICUOUT)\icu4j\testdata.jar": GODATA "$(TESTDATAOUT)\testdata.dat" 340 if not exist "$(ICUOUT)\icu4j\com\ibm\icu\dev\data\testdata" mkdi [all...] |
/third_party/icu/icu4c/source/test/testdata/ |
H A D | testdata.mak | 12 TESTPKG=testdata 16 ALL : "$(TESTDATAOUT)\testdata.dat" 28 TESTDATATMP="$(TESTDATAOUT)\testdata" 35 "$(TESTDATAOUT)\testdata.dat" : 45 "$(ICUPBIN)\pkgdata" -f -v -m common -c -p"$(TESTPKG)" -d "$(TESTDATAOUT)" -T "$(TESTDATABLD)" -s "$(TESTDATABLD)" $(TESTDATATMP)\testdata.lst
|
/third_party/python/Lib/test/ |
H A D | test_imghdr.py | 41 cls.testdata = stream.read() 75 stream.write(self.testdata) 124 stream = io.BytesIO(self.testdata) 131 stream.write(self.testdata) 138 stream.write(self.testdata)
|
H A D | test_ucn.py | 182 testdata = support.open_urlresource(url, encoding="utf-8", 186 self.addCleanup(testdata.close) 187 for line in testdata:
|
/third_party/nghttp2/tests/ |
H A D | end_to_end.py | 25 testdata = '%s/testdata' % srcdir 27 base_args = ['%s/src/spdyd' % top_builddir, '-d', testdata] 30 base_args.extend([str(port), '%s/privkey.pem' % testdata, 31 '%s/cacert.pem' % testdata])
|
/third_party/skia/third_party/externals/brotli/python/tests/ |
H A D | _test_utils.py | 35 TESTDATA_DIR = os.path.join(test_dir, 'testdata') 86 for testdata in paths: 88 f = os.path.splitext(os.path.basename(testdata))[0] 92 getattr(test_case_class, method), testdata, **opts_dict)
|
/third_party/libexif/test/ |
H A D | extract-parse.sh | 33 for fn in "${srcdir}"/testdata/*.jpg ; do 45 for fn in "${srcdir}"/testdata/*.jpg ; do
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_broadcast/ |
H A D | 1-2.c | 159 struct testdata { struct 167 static struct testdata *td; 316 struct testdata alternativ; in main() 352 * Allocate space for the testdata structure in main() 383 sz = ((sizeof(struct testdata) / ps) + 1) * ps; in main() 401 td = (struct testdata *)mmaped; in main() 406 sizeof(struct testdata)); in main()
|
/third_party/fsverity-utils/ |
H A D | Makefile | 253 --key=testdata/key.pem --cert=testdata/cert.pem > /dev/null 256 --key=testdata/key.pem --cert=testdata/cert.pem > /dev/null
|