Home
last modified time | relevance | path

Searched refs:EXPECTED (Results 1 – 25 of 43) sorted by relevance

12

/third_party/node/test/parallel/
Dtest-file-write-stream.js35 const EXPECTED = '012345678910'; constant
53 assert.strictEqual(fs.readFileSync(fn, 'utf8'), EXPECTED);
54 file.write(EXPECTED);
56 assert.strictEqual(fs.readFileSync(fn, 'utf8'), EXPECTED + EXPECTED);
62 assert.strictEqual(file.bytesWritten, EXPECTED.length * 2);
Dtest-file-write-stream2.js34 const EXPECTED = '012345678910'; constant
82 assert.strictEqual(fs.readFileSync(filepath, 'utf8'), EXPECTED);
83 console.error(`ondrain write ret= ${file.write(EXPECTED)}`);
87 assert.strictEqual(fs.readFileSync(filepath, 'utf8'), EXPECTED + EXPECTED);
94 assert.strictEqual(file.bytesWritten, EXPECTED.length * 2);
/third_party/libuv/test/
Dbenchmark-udp-pummel.c29 #define EXPECTED "RANG TANG DING DONG I AM THE JAPANESE SANDMAN" macro
123 ASSERT(!memcmp(buf->base, EXPECTED, nread)); in recv_cb()
182 bufs[0] = uv_buf_init(&EXPECTED[0], 10); in pummel()
183 bufs[1] = uv_buf_init(&EXPECTED[10], 10); in pummel()
184 bufs[2] = uv_buf_init(&EXPECTED[20], 10); in pummel()
185 bufs[3] = uv_buf_init(&EXPECTED[30], 10); in pummel()
186 bufs[4] = uv_buf_init(&EXPECTED[40], 5); in pummel()
/third_party/python/Lib/test/
Dtest_doctest2.py113 EXPECTED = 19
117 if t != EXPECTED:
118 self.fail("expected %d tests to run, not %d" % (EXPECTED, t))
/third_party/openssl/test/
Dasn1_encode_test.c475 } EXPECTED; typedef
485 const EXPECTED *expected, size_t expected_size, in do_decode()
488 EXPECTED *enctst = NULL; in do_decode()
520 static int do_encode(EXPECTED *input, in do_encode()
549 static int do_enc_dec(EXPECTED *bytes, long nbytes, in do_enc_dec()
670 const EXPECTED *expected, size_t expected_size, in do_decode_custom()
692 static int do_encode_custom(EXPECTED *input, in do_encode_custom()
745 switch (do_encode_custom((EXPECTED *)&((unsigned char *)package in test_intern()
767 (EXPECTED *)&((unsigned char *)package in test_intern()
795 switch (do_enc_dec((EXPECTED *)&((unsigned char *)package in test_intern()
/third_party/skia/third_party/externals/tint/src/reader/wgsl/
Dparser_impl_error_resync_test.cc28 #define EXPECT(SOURCE, EXPECTED) \ argument
31 std::string expected = EXPECTED; \
Dparser_impl_error_msg_test.cc28 #define EXPECT(SOURCE, EXPECTED) \ argument
31 std::string expected = EXPECTED; \
/third_party/pixman/test/
Dthread-test.c218 #define EXPECTED 0x82C4D9FB in main() macro
220 if (crc32 != EXPECTED) in main()
223 crc32, EXPECTED); in main()
/third_party/iptables/extensions/
Dlibxt_conntrack.t25 -m conntrack --ctstatus EXPECTED;=;OK
Dlibxt_conntrack.txlate31 iptables-translate -t filter -A INPUT -m conntrack --ctstatus EXPECTED -j ACCEPT
/third_party/node/test/cctest/
Dtest_inspector_socket.cc705 const char EXPECTED[] = "Message 1Message 2"; in TEST_F() local
709 expect_on_client(EXPECTED, sizeof(EXPECTED) - 1); in TEST_F()
/third_party/vk-gl-cts/external/openglcts/modules/gles31/
Des31cFramebufferNoAttachmentsTests.cpp57 #define GLU_EXPECT_ERROR(ERR, EXPECTED, MSG) checkErrorEqualsExpected((ERR), EXPECTED, MSG, __FILE_… argument
/third_party/boost/tools/build/src/util/
Dassert.jam146 # Assert that EXPECTED is the result of calling RULE-NAME with the given
170 # Assert that EXPECTED is set-equal (i.e. duplicates and ordering are ignored)
/third_party/icu/icu4c/source/test/intltest/
Ddtfmttst.cpp143 } EXPECTED[] = { in TestPatterns() local
197 for (int32_t i = 0; i < UPRV_LENGTHOF(EXPECTED); i++) { in TestPatterns()
199 UnicodeString actualPattern(EXPECTED[i].actualPattern, -1, US_INV); in TestPatterns()
200 UnicodeString expectedPattern(EXPECTED[i].expectedPattern, -1, US_INV); in TestPatterns()
201 Locale locale(EXPECTED[i].localeID); in TestPatterns()
217 …("DateTimePatternGenerator::createInstance() failed for locale ID \"%s\"", EXPECTED[i].localeID)) { in TestPatterns()
226 EXPECTED[i].actualPattern, EXPECTED[i].localeID); in TestPatterns()
230 UnicodeString expectedLocalPattern(EXPECTED[i].expectedLocalPattern, -1, US_INV); in TestPatterns()
552 const char* EXPECTED[] = { in TestFieldPosition() local
592 const int32_t EXPECTED_LENGTH = UPRV_LENGTHOF(EXPECTED); in TestFieldPosition()
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
DDateFormatTest.java81 final String[][] EXPECTED = { in TestPatterns() local
149 for (int i = 0; i < EXPECTED.length; i++) { in TestPatterns()
150 if (EXPECTED[i].length == 0) { in TestPatterns()
156 String actualPattern = EXPECTED[i][0]; in TestPatterns()
160 String expectedPattern = EXPECTED[i][1]; in TestPatterns()
161 ULocale locale = new ULocale(EXPECTED[i][2], "", ""); in TestPatterns()
175 String expectedLocalPattern = EXPECTED[i][3]; in TestPatterns()
189 logln(date1.format(testDate) + "\t\t" + Arrays.asList(EXPECTED[i])); in TestPatterns()
385 final String EXPECTED[] = { in TestFieldPosition() local
407 assertTrue("data size", EXPECTED.length == COUNT * DateFormat.FIELD_COUNT); in TestFieldPosition()
[all …]
DNumberRegressionTests.java1702 String EXPECTED[] = {"0.", "2.", "2.", "4.", "4."}; in Test4243011() local
1707 if (result.equals(EXPECTED[i])) { in Test4243011()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateFormatTest.java78 final String[][] EXPECTED = { in TestPatterns() local
146 for (int i = 0; i < EXPECTED.length; i++) { in TestPatterns()
147 if (EXPECTED[i].length == 0) { in TestPatterns()
153 String actualPattern = EXPECTED[i][0]; in TestPatterns()
157 String expectedPattern = EXPECTED[i][1]; in TestPatterns()
158 ULocale locale = new ULocale(EXPECTED[i][2], "", ""); in TestPatterns()
172 String expectedLocalPattern = EXPECTED[i][3]; in TestPatterns()
186 logln(date1.format(testDate) + "\t\t" + Arrays.asList(EXPECTED[i])); in TestPatterns()
382 final String EXPECTED[] = { in TestFieldPosition() local
404 assertTrue("data size", EXPECTED.length == COUNT * DateFormat.FIELD_COUNT); in TestFieldPosition()
[all …]
DNumberRegressionTests.java1699 String EXPECTED[] = {"0.", "2.", "2.", "4.", "4."}; in Test4243011() local
1704 if (result.equals(EXPECTED[i])) { in Test4243011()
/third_party/ltp/testcases/network/nfsv4/locks/
DREADME137 EXPECTED RESULTS
/third_party/boost/tools/build/doc/src/
Darchitecture.adoc167 NOTE: THIS SECTION IS NOT EXPECTED TO BE READ! There are two
/third_party/python/Modules/
D_testcapimodule.c94 #define CHECK_SIZEOF(TYPE, EXPECTED) \ in test_sizeof_c_types() argument
95 if (EXPECTED != sizeof(TYPE)) { \ in test_sizeof_c_types()
98 #TYPE, sizeof(TYPE), EXPECTED); \ in test_sizeof_c_types()
/third_party/e2fsprogs/po/
Dfi.po4144 msgid " (EXPECTED 0x%04x)"
De2fsprogs.pot4198 msgid " (EXPECTED 0x%04x)"
Dsr.po4350 msgid " (EXPECTED 0x%04x)"
Duk.po4354 msgid " (EXPECTED 0x%04x)"

12