Home
last modified time | relevance | path

Searched refs:error2 (Results 1 – 25 of 62) sorted by relevance

123

/third_party/glib/glib/tests/
Dconvert.c149 GError *error, *error2, *error3; in check_utf8_to_ucs4() local
171 error2 = NULL; in check_utf8_to_ucs4()
172 result2 = g_utf8_to_ucs4 (utf8, -1, &items_read2, &items_written2, &error2); in check_utf8_to_ucs4()
176 g_assert_cmpint (!!error, ==, !!error2); in check_utf8_to_ucs4()
182 if (error2) in check_utf8_to_ucs4()
183 g_error_free (error2); in check_utf8_to_ucs4()
239 GError *error, *error2, *error3; in check_ucs4_to_utf8() local
247 error2 = NULL; in check_ucs4_to_utf8()
248 result2 = g_ucs4_to_utf8 (ucs4, -1, &items_read2, &items_written2, &error2); in check_ucs4_to_utf8()
253 g_assert_cmpint (!!error, ==, !!error2); in check_ucs4_to_utf8()
[all …]
/third_party/node/deps/npm/node_modules/promise-retry/node_modules/retry/test/integration/
Dtest-retry-operation.js10 var error2 = new Error('some other error');
12 operation._errors.push(error2);
14 assert.deepEqual(operation.errors(), [error, error2]);
20 var error2 = new Error('some other error');
23 operation._errors.push(error2);
32 var error2 = new Error('some other error');
35 operation._errors.push(error2);
37 assert.strictEqual(operation.mainError(), error2);
/third_party/node/deps/npm/node_modules/retry/test/integration/
Dtest-retry-operation.js49 var error2 = new Error('some other error');
51 operation._errors.push(error2);
53 assert.deepEqual(operation.errors(), [error, error2]);
59 var error2 = new Error('some other error');
62 operation._errors.push(error2);
71 var error2 = new Error('some other error');
74 operation._errors.push(error2);
76 assert.strictEqual(operation.mainError(), error2);
/third_party/grpc/src/objective-c/tests/UnitTests/
DNSErrorUnitTests.m35 NSError *error2 = [NSError grpc_errorFromStatusCode:GRPC_STATUS_CANCELLED
46 XCTAssertEqual(error2.code, 1);
47 XCTAssertEqualObjects(error2.domain, @"io.grpc");
48 XCTAssertEqualObjects(error2.userInfo[NSLocalizedDescriptionKey],
50 XCTAssertEqualObjects(error2.userInfo[NSDebugDescriptionErrorKey],
/third_party/jerryscript/tests/unit-core/
Dtest-api-set-and-clear-error-flag.c90 jerry_value_t error2 = jerry_create_abort_from_value (error, false); in main() local
91 TEST_ASSERT (jerry_value_is_abort (error2)); in main()
93 str = jerry_get_value_from_error (error2, true); in main()
195 error2 = jerry_create_error_from_value (error, false); in main()
197 jerry_release_value (error2); in main()
201 error2 = jerry_create_abort_from_value (error, false); in main()
203 jerry_release_value (error2); in main()
/third_party/mindspore/tests/st/nccl/
Dtest_nccl_all_reduce_op.py76 error2 = np.ones(shape=expect2.shape) * 1.0e-5
77 assert np.all(diff2 < error2)
122 error2 = np.ones(shape=expect2.shape) * 1.0e-5
123 assert np.all(diff2 < error2)
162 error2 = np.ones(shape=expect2.shape) * 1.0e-5
163 assert np.all(diff2 < error2)
Dtest_nccl_broadcast_op.py69 error2 = np.ones(shape=expect2.shape) * 1.0e-5
70 assert np.all(diff2 < error2)
Dtest_nccl_reduce_scatter_op.py74 error2 = np.ones(shape=expect2.shape) * 1.0e-5
75 assert np.all(diff2 < error2)
/third_party/boost/libs/exception/test/
Ddiagnostic_information_test.cpp38 error2: struct
159 error2 x; in main()
164 error2 & x ) in main()
173 error2 x; in main()
178 error2 & x ) in main()
/third_party/mindspore/tests/st/ops/gpu/
Dtest_mul_op.py76 error2 = np.ones(shape=expect2.shape) * 1.0e-5
77 assert np.all(diff2 < error2)
113 error2 = np.ones(shape=expect2.shape) * 1.0e-5
114 assert np.all(diff2 < error2)
198 error2 = np.ones(shape=expect2.shape) * 1.0e-5
199 assert np.all(diff2 < error2)
Dtest_realdiv_op.py79 error2 = np.ones(shape=expect2.shape) * 1.0e-5
80 assert np.all(diff2 < error2)
116 error2 = np.ones(shape=expect2.shape) * 1.0e-5
117 assert np.all(diff2 < error2)
Dtest_softmax_op.py47 error2 = expect2 * 1.0e-6
57 assert np.all(diff2 < error2)
67 assert np.all(diff2 < error2)
Dtest_oneslike_op.py83 error2 = np.ones(shape=expect2.shape) * 1.0e-5
84 assert np.all(diff2 < error2)
Dtest_sub_op.py73 error2 = np.ones(shape=expect2.shape) * 1.0e-5
93 assert np.all(diff2 < error2)
116 assert np.all(diff2 < error2)
/third_party/boost/libs/asio/test/
Derror.cpp30 boost::system::error_code error2(error); in test_error_code() local
31 BOOST_ASIO_CHECK(error == error2); in test_error_code()
32 BOOST_ASIO_CHECK(!(error != error2)); in test_error_code()
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_sse.h628 int16_t error0, error1, error2, error3; in util_sse2_stretch_row_8unorm() local
636 error2 = error1 + src_xstep; in util_sse2_stretch_row_8unorm()
637 error3 = error2 + src_xstep; in util_sse2_stretch_row_8unorm()
641 error_hi = _mm_setr_epi16(error2, error2, error2, error2, in util_sse2_stretch_row_8unorm()
/third_party/flutter/skia/third_party/externals/freetype/src/psaux/
Dpsintrp.c1299 FT_Error error2; in cf2_interpT2CharString() local
1389 error2 = FT_GlyphLoader_CheckSubGlyphs( loader, 2 ); in cf2_interpT2CharString()
1390 if ( error2 ) in cf2_interpT2CharString()
1392 lastError = error2; /* pass FreeType error through */ in cf2_interpT2CharString()
1428 error2 = cf2_getT1SeacComponent( decoder, in cf2_interpT2CharString()
1431 if ( error2 ) in cf2_interpT2CharString()
1433 lastError = error2; /* pass FreeType error through */ in cf2_interpT2CharString()
1468 error2 = cf2_getT1SeacComponent( decoder, in cf2_interpT2CharString()
1471 if ( error2 ) in cf2_interpT2CharString()
1473 lastError = error2; /* pass FreeType error through */ in cf2_interpT2CharString()
[all …]
Dpsft.c372 FT_Error error2 = FT_Err_Ok; in cf2_decoder_parse_charstrings() local
430 error2 = cf2_checkTransform( &transform, font->unitsPerEm ); in cf2_decoder_parse_charstrings()
431 if ( error2 ) in cf2_decoder_parse_charstrings()
432 return error2; in cf2_decoder_parse_charstrings()
435 error2 = cf2_getGlyphOutline( font, &buf, &transform, &glyphWidth ); in cf2_decoder_parse_charstrings()
436 if ( error2 ) in cf2_decoder_parse_charstrings()
/third_party/freetype/src/psaux/
Dpsintrp.c1299 FT_Error error2; in cf2_interpT2CharString() local
1389 error2 = FT_GlyphLoader_CheckSubGlyphs( loader, 2 ); in cf2_interpT2CharString()
1390 if ( error2 ) in cf2_interpT2CharString()
1392 lastError = error2; /* pass FreeType error through */ in cf2_interpT2CharString()
1428 error2 = cf2_getT1SeacComponent( decoder, in cf2_interpT2CharString()
1431 if ( error2 ) in cf2_interpT2CharString()
1433 lastError = error2; /* pass FreeType error through */ in cf2_interpT2CharString()
1468 error2 = cf2_getT1SeacComponent( decoder, in cf2_interpT2CharString()
1471 if ( error2 ) in cf2_interpT2CharString()
1473 lastError = error2; /* pass FreeType error through */ in cf2_interpT2CharString()
[all …]
Dpsft.c372 FT_Error error2 = FT_Err_Ok; in cf2_decoder_parse_charstrings() local
430 error2 = cf2_checkTransform( &transform, font->unitsPerEm ); in cf2_decoder_parse_charstrings()
431 if ( error2 ) in cf2_decoder_parse_charstrings()
432 return error2; in cf2_decoder_parse_charstrings()
435 error2 = cf2_getGlyphOutline( font, &buf, &transform, &glyphWidth ); in cf2_decoder_parse_charstrings()
436 if ( error2 ) in cf2_decoder_parse_charstrings()
/third_party/skia/third_party/externals/freetype/src/psaux/
Dpsintrp.c1299 FT_Error error2; in cf2_interpT2CharString() local
1389 error2 = FT_GlyphLoader_CheckSubGlyphs( loader, 2 ); in cf2_interpT2CharString()
1390 if ( error2 ) in cf2_interpT2CharString()
1392 lastError = error2; /* pass FreeType error through */ in cf2_interpT2CharString()
1428 error2 = cf2_getT1SeacComponent( decoder, in cf2_interpT2CharString()
1431 if ( error2 ) in cf2_interpT2CharString()
1433 lastError = error2; /* pass FreeType error through */ in cf2_interpT2CharString()
1468 error2 = cf2_getT1SeacComponent( decoder, in cf2_interpT2CharString()
1471 if ( error2 ) in cf2_interpT2CharString()
1473 lastError = error2; /* pass FreeType error through */ in cf2_interpT2CharString()
[all …]
Dpsft.c372 FT_Error error2 = FT_Err_Ok; in cf2_decoder_parse_charstrings() local
430 error2 = cf2_checkTransform( &transform, font->unitsPerEm ); in cf2_decoder_parse_charstrings()
431 if ( error2 ) in cf2_decoder_parse_charstrings()
432 return error2; in cf2_decoder_parse_charstrings()
435 error2 = cf2_getGlyphOutline( font, &buf, &transform, &glyphWidth ); in cf2_decoder_parse_charstrings()
436 if ( error2 ) in cf2_decoder_parse_charstrings()
/third_party/mindspore/tests/st/ops/cpu/
Dtest_arithmetic_op.py142 error2 = np.ones(shape=expect2.shape) * 1.0e-5
143 assert np.all(diff2 < error2)
223 error2 = np.ones(shape=expect2.shape) * 1.0e-5
224 assert np.all(diff2 < error2)
300 error2 = np.ones(shape=expect2.shape) * 1.0e-5
301 assert np.all(diff2 < error2)
394 error2 = np.ones(shape=expect2.shape) * 1.0e-5
395 assert np.all(diff2 < error2)
/third_party/libuv/src/unix/
Dthread.c72 goto error2; in uv_barrier_init()
83 error2: in uv_barrier_init()
734 goto error2; in uv_cond_init()
738 goto error2; in uv_cond_init()
748 error2: in uv_cond_init()
/third_party/FreeBSD/sys/dev/usb/controller/
Dehci_pci.c151 goto error2; in ehci_pci_attach()
174 error2: in ehci_pci_attach()

123