Home
last modified time | relevance | path

Searched refs:status (Results 1 – 25 of 9432) sorted by relevance

12345678910>>...378

/external/tensorflow/tensorflow/lite/delegates/gpu/cl/kernels/
Delementwise_test.cc31 auto status = AbsTest(&exec_env_); in TEST_F() local
32 ASSERT_TRUE(status.ok()) << status.error_message(); in TEST_F()
36 auto status = CosTest(&exec_env_); in TEST_F() local
37 ASSERT_TRUE(status.ok()) << status.error_message(); in TEST_F()
41 auto status = CopyTest(&exec_env_); in TEST_F() local
42 ASSERT_TRUE(status.ok()) << status.error_message(); in TEST_F()
46 auto status = EluTest(&exec_env_); in TEST_F() local
47 ASSERT_TRUE(status.ok()) << status.error_message(); in TEST_F()
51 auto status = ExpTest(&exec_env_); in TEST_F() local
52 ASSERT_TRUE(status.ok()) << status.error_message(); in TEST_F()
[all …]
/external/cronet/third_party/icu/source/test/intltest/
Dmeasfmttest.cpp239 UErrorCode status = U_ZERO_ERROR; in TestCompatible53() local
241 measureUnit.adoptInstead(MeasureUnit::createGForce(status)); in TestCompatible53()
242 measureUnit.adoptInstead(MeasureUnit::createArcMinute(status)); in TestCompatible53()
243 measureUnit.adoptInstead(MeasureUnit::createArcSecond(status)); in TestCompatible53()
244 measureUnit.adoptInstead(MeasureUnit::createDegree(status)); in TestCompatible53()
245 measureUnit.adoptInstead(MeasureUnit::createAcre(status)); in TestCompatible53()
246 measureUnit.adoptInstead(MeasureUnit::createHectare(status)); in TestCompatible53()
247 measureUnit.adoptInstead(MeasureUnit::createSquareFoot(status)); in TestCompatible53()
248 measureUnit.adoptInstead(MeasureUnit::createSquareKilometer(status)); in TestCompatible53()
249 measureUnit.adoptInstead(MeasureUnit::createSquareMeter(status)); in TestCompatible53()
[all …]
Dv32test.cpp60 #define TEST_CHECK_STATUS(status) UPRV_BLOCK_MACRO_BEGIN {\ argument
61 if (U_FAILURE(status)) {\
62 errln("UVector32Test failure at line %d. status=%s\n", __LINE__, u_errorName(status));\
80 UErrorCode status = U_ZERO_ERROR; in UVector32_API() local
84 a = new UVector32(status); in UVector32_API()
85 TEST_CHECK_STATUS(status); in UVector32_API()
88 status = U_ZERO_ERROR; in UVector32_API()
89 a = new UVector32(2000, status); in UVector32_API()
90 TEST_CHECK_STATUS(status); in UVector32_API()
96 status = U_ZERO_ERROR; in UVector32_API()
[all …]
/external/icu/icu4c/source/test/intltest/
Dmeasfmttest.cpp239 UErrorCode status = U_ZERO_ERROR; in TestCompatible53() local
241 measureUnit.adoptInstead(MeasureUnit::createGForce(status)); in TestCompatible53()
242 measureUnit.adoptInstead(MeasureUnit::createArcMinute(status)); in TestCompatible53()
243 measureUnit.adoptInstead(MeasureUnit::createArcSecond(status)); in TestCompatible53()
244 measureUnit.adoptInstead(MeasureUnit::createDegree(status)); in TestCompatible53()
245 measureUnit.adoptInstead(MeasureUnit::createAcre(status)); in TestCompatible53()
246 measureUnit.adoptInstead(MeasureUnit::createHectare(status)); in TestCompatible53()
247 measureUnit.adoptInstead(MeasureUnit::createSquareFoot(status)); in TestCompatible53()
248 measureUnit.adoptInstead(MeasureUnit::createSquareKilometer(status)); in TestCompatible53()
249 measureUnit.adoptInstead(MeasureUnit::createSquareMeter(status)); in TestCompatible53()
[all …]
Dv32test.cpp60 #define TEST_CHECK_STATUS(status) UPRV_BLOCK_MACRO_BEGIN {\ argument
61 if (U_FAILURE(status)) {\
62 errln("UVector32Test failure at line %d. status=%s\n", __LINE__, u_errorName(status));\
80 UErrorCode status = U_ZERO_ERROR; in UVector32_API() local
84 a = new UVector32(status); in UVector32_API()
85 TEST_CHECK_STATUS(status); in UVector32_API()
88 status = U_ZERO_ERROR; in UVector32_API()
89 a = new UVector32(2000, status); in UVector32_API()
90 TEST_CHECK_STATUS(status); in UVector32_API()
96 status = U_ZERO_ERROR; in UVector32_API()
[all …]
/external/icu/icu4c/source/test/cintltst/
Dreapits.c37 #define TEST_ASSERT_SUCCESS(status) UPRV_BLOCK_MACRO_BEGIN { \ argument
38 if (U_FAILURE(status)) { \
39 … at file %s:%d - error = %s (Are you missing data?)\n", __FILE__, __LINE__, u_errorName(status)); \
62 status = U_ZERO_ERROR; \
63 re = uregex_openC(pattern, flags, NULL, &status); \
64 TEST_ASSERT_SUCCESS(status); \
68 uregex_setText(re, srcString, -1, &status); \
69 TEST_ASSERT_SUCCESS(status); \
70 if (U_SUCCESS(status)) { \
75 TEST_ASSERT_SUCCESS(status); \
[all …]
Dcreststn.c278 static void checkStatus(int32_t line, UErrorCode expected, UErrorCode status) { in checkStatus() argument
279 if(U_FAILURE(status)) { in checkStatus()
282 if(status != expected) { in checkStatus()
283 …log_err_status(status, "%s:%d: Expected error code %s, got error code %s\n", __FILE__, line, u_err… in checkStatus()
288 UErrorCode status = U_USING_DEFAULT_WARNING; in TestErrorCodes() local
294 r = ures_open(NULL, "ti_ER_ASSAB", &status); in TestErrorCodes()
295 checkStatus(__LINE__, U_USING_FALLBACK_WARNING, status); in TestErrorCodes()
299 status = U_USING_DEFAULT_WARNING; in TestErrorCodes()
300 r = ures_open(NULL, "ti_ER", &status); in TestErrorCodes()
301 checkStatus(__LINE__, U_USING_DEFAULT_WARNING, status); in TestErrorCodes()
[all …]
Dccaltst.c115 UErrorCode status = U_ZERO_ERROR; in TestCalendar() local
141 ucal_getAvailableTZIDs(offset, i, &status); in TestCalendar()
142 if(U_FAILURE(status)){ in TestCalendar()
143 log_err("FAIL: ucal_getAvailableTZIDs returned %s\n", u_errorName(status)); in TestCalendar()
145 log_verbose("%s\n", u_austrcpy(tempMsgBuf, ucal_getAvailableTZIDs(offset, i, &status))); in TestCalendar()
148 ucal_getAvailableTZIDs(offset, i, &status); in TestCalendar()
149 if(status != U_INDEX_OUTOFBOUNDS_ERROR){ in TestCalendar()
150 …err("FAIL:for TZID index >= count Expected INDEX_OUTOFBOUNDS_ERROR Got %s\n", u_errorName(status)); in TestCalendar()
152 status=U_ZERO_ERROR; in TestCalendar()
162 uenum = ucal_openTimeZones(&status); in TestCalendar()
[all …]
Dcnumtst.c134 UErrorCode* status = &st; in TestInt64Parse() local
146 nf = unum_open(UNUM_DEFAULT, NULL, -1, NULL, NULL, status); in TestInt64Parse()
148 if(U_FAILURE(*status)) in TestInt64Parse()
150 log_data_err("Error in unum_open() %s \n", myErrorName(*status)); in TestInt64Parse()
156 a = unum_parseInt64(nf, text, size, 0, status); in TestInt64Parse()
160 if(!U_FAILURE(*status)) in TestInt64Parse()
162 log_err("Error in unum_parseInt64(): %s \n", myErrorName(*status)); in TestInt64Parse()
201 UErrorCode status=U_ZERO_ERROR; in TestNumberFormat() local
208 status = U_ZERO_ERROR; in TestNumberFormat()
210 def=unum_open(style, NULL,0,NULL, NULL,&status); in TestNumberFormat()
[all …]
Dspooftest.c35 #define TEST_ASSERT_SUCCESS(status) UPRV_BLOCK_MACRO_BEGIN { \ argument
36 if (U_FAILURE(status)) { \
37 …log_err_status(status, "Failure at file %s, line %d, error = %s\n", __FILE__, __LINE__, u_errorNam…
69 UErrorCode status = U_ZERO_ERROR; \
71 sc = uspoof_open(&status); \
72 TEST_ASSERT_SUCCESS(status); \
73 if (U_SUCCESS(status)){
77 TEST_ASSERT_SUCCESS(status); \
127 UErrorCode status = U_ZERO_ERROR; in TestOpenFromSource() local
164 &errType, &pe, &status); in TestOpenFromSource()
[all …]
/external/cronet/third_party/icu/source/test/cintltst/
Dreapits.c37 #define TEST_ASSERT_SUCCESS(status) UPRV_BLOCK_MACRO_BEGIN { \ argument
38 if (U_FAILURE(status)) { \
39 … at file %s:%d - error = %s (Are you missing data?)\n", __FILE__, __LINE__, u_errorName(status)); \
62 status = U_ZERO_ERROR; \
63 re = uregex_openC(pattern, flags, NULL, &status); \
64 TEST_ASSERT_SUCCESS(status); \
68 uregex_setText(re, srcString, -1, &status); \
69 TEST_ASSERT_SUCCESS(status); \
70 if (U_SUCCESS(status)) { \
75 TEST_ASSERT_SUCCESS(status); \
[all …]
Dcreststn.c278 static void checkStatus(int32_t line, UErrorCode expected, UErrorCode status) { in checkStatus() argument
279 if(U_FAILURE(status)) { in checkStatus()
282 if(status != expected) { in checkStatus()
283 …log_err_status(status, "%s:%d: Expected error code %s, got error code %s\n", __FILE__, line, u_err… in checkStatus()
288 UErrorCode status = U_USING_DEFAULT_WARNING; in TestErrorCodes() local
294 r = ures_open(NULL, "ti_ER_ASSAB", &status); in TestErrorCodes()
295 checkStatus(__LINE__, U_USING_FALLBACK_WARNING, status); in TestErrorCodes()
299 status = U_USING_DEFAULT_WARNING; in TestErrorCodes()
300 r = ures_open(NULL, "ti_ER", &status); in TestErrorCodes()
301 checkStatus(__LINE__, U_USING_DEFAULT_WARNING, status); in TestErrorCodes()
[all …]
Dccaltst.c115 UErrorCode status = U_ZERO_ERROR; in TestCalendar() local
141 ucal_getAvailableTZIDs(offset, i, &status); in TestCalendar()
142 if(U_FAILURE(status)){ in TestCalendar()
143 log_err("FAIL: ucal_getAvailableTZIDs returned %s\n", u_errorName(status)); in TestCalendar()
145 log_verbose("%s\n", u_austrcpy(tempMsgBuf, ucal_getAvailableTZIDs(offset, i, &status))); in TestCalendar()
148 ucal_getAvailableTZIDs(offset, i, &status); in TestCalendar()
149 if(status != U_INDEX_OUTOFBOUNDS_ERROR){ in TestCalendar()
150 …err("FAIL:for TZID index >= count Expected INDEX_OUTOFBOUNDS_ERROR Got %s\n", u_errorName(status)); in TestCalendar()
152 status=U_ZERO_ERROR; in TestCalendar()
162 uenum = ucal_openTimeZones(&status); in TestCalendar()
[all …]
Dcnumtst.c134 UErrorCode* status = &st; in TestInt64Parse() local
146 nf = unum_open(UNUM_DEFAULT, NULL, -1, NULL, NULL, status); in TestInt64Parse()
148 if(U_FAILURE(*status)) in TestInt64Parse()
150 log_data_err("Error in unum_open() %s \n", myErrorName(*status)); in TestInt64Parse()
156 a = unum_parseInt64(nf, text, size, 0, status); in TestInt64Parse()
160 if(!U_FAILURE(*status)) in TestInt64Parse()
162 log_err("Error in unum_parseInt64(): %s \n", myErrorName(*status)); in TestInt64Parse()
201 UErrorCode status=U_ZERO_ERROR; in TestNumberFormat() local
208 status = U_ZERO_ERROR; in TestNumberFormat()
210 def=unum_open(style, NULL,0,NULL, NULL,&status); in TestNumberFormat()
[all …]
Dspooftest.c35 #define TEST_ASSERT_SUCCESS(status) UPRV_BLOCK_MACRO_BEGIN { \ argument
36 if (U_FAILURE(status)) { \
37 …log_err_status(status, "Failure at file %s, line %d, error = %s\n", __FILE__, __LINE__, u_errorNam…
69 UErrorCode status = U_ZERO_ERROR; \
71 sc = uspoof_open(&status); \
72 TEST_ASSERT_SUCCESS(status); \
73 if (U_SUCCESS(status)){
77 TEST_ASSERT_SUCCESS(status); \
127 UErrorCode status = U_ZERO_ERROR; in TestOpenFromSource() local
164 &errType, &pe, &status); in TestOpenFromSource()
[all …]
/external/tensorflow/tensorflow/c/experimental/filesystem/
Dmodular_filesystem_test.cc224 Status status = env_->NewWritableFile(filepath, &new_file); in TEST_P() local
225 EXPECT_PRED2(UnimplementedOrReturnsCode, status, Code::OK); in TEST_P()
231 Status status = env_->NewWritableFile(filepath, &new_file); in TEST_P() local
232 EXPECT_PRED2(UnimplementedOrReturnsCode, status, Code::NOT_FOUND); in TEST_P()
237 Status status = env_->CreateDir(filepath); in TEST_P() local
238 if (!status.ok()) GTEST_SKIP() << "CreateDir() not supported: " << status; in TEST_P()
241 status = env_->NewWritableFile(filepath, &new_file); in TEST_P()
242 EXPECT_PRED2(UnimplementedOrReturnsCode, status, Code::FAILED_PRECONDITION); in TEST_P()
248 Status status = env_->NewWritableFile(filepath, &file); in TEST_P() local
249 if (!status.ok()) GTEST_SKIP() << "CreateDir() not supported: " << status; in TEST_P()
[all …]
/external/python/cpython3/Modules/_decimal/libmpdec/
Dmpsignal.c42 uint32_t status = 0; in mpd_format() local
43 ret = mpd_qformat(dec, fmt, ctx, &status); in mpd_format()
44 mpd_addstatus_raise(ctx, status); in mpd_format()
52 uint32_t status = 0; in mpd_import_u16() local
53 mpd_qimport_u16(result, srcdata, srclen, srcsign, base, ctx, &status); in mpd_import_u16()
54 mpd_addstatus_raise(ctx, status); in mpd_import_u16()
61 uint32_t status = 0; in mpd_import_u32() local
62 mpd_qimport_u32(result, srcdata, srclen, srcsign, base, ctx, &status); in mpd_import_u32()
63 mpd_addstatus_raise(ctx, status); in mpd_import_u32()
71 uint32_t status = 0; in mpd_export_u16() local
[all …]
/external/selinux/libsemanage/src/
Dpywrap-test.py171 (status, slist) = semanage.semanage_seuser_list(sh)
172 if status < 0:
174 print("Query status (commit number): %s" % status)
191 (status, ulist) = semanage.semanage_user_list(sh)
192 if status < 0:
194 print("Query status (commit number): %s" % status)
209 (status, rlist) = semanage.semanage_user_get_roles(sh, user)
210 if status < 0:
221 (status, plist) = semanage.semanage_port_list(sh)
222 if status < 0:
[all …]
/external/icu/icu4c/source/i18n/
Dmeasunit.cpp593 MeasureUnit *MeasureUnit::createGForce(UErrorCode &status) { in createGForce() argument
594 return MeasureUnit::create(0, 0, status); in createGForce()
601 MeasureUnit *MeasureUnit::createMeterPerSecondSquared(UErrorCode &status) { in createMeterPerSecondSquared() argument
602 return MeasureUnit::create(0, 1, status); in createMeterPerSecondSquared()
609 MeasureUnit *MeasureUnit::createArcMinute(UErrorCode &status) { in createArcMinute() argument
610 return MeasureUnit::create(1, 0, status); in createArcMinute()
617 MeasureUnit *MeasureUnit::createArcSecond(UErrorCode &status) { in createArcSecond() argument
618 return MeasureUnit::create(1, 1, status); in createArcSecond()
625 MeasureUnit *MeasureUnit::createDegree(UErrorCode &status) { in createDegree() argument
626 return MeasureUnit::create(1, 2, status); in createDegree()
[all …]
/external/cronet/third_party/icu/source/i18n/
Dmeasunit.cpp593 MeasureUnit *MeasureUnit::createGForce(UErrorCode &status) { in createGForce() argument
594 return MeasureUnit::create(0, 0, status); in createGForce()
601 MeasureUnit *MeasureUnit::createMeterPerSecondSquared(UErrorCode &status) { in createMeterPerSecondSquared() argument
602 return MeasureUnit::create(0, 1, status); in createMeterPerSecondSquared()
609 MeasureUnit *MeasureUnit::createArcMinute(UErrorCode &status) { in createArcMinute() argument
610 return MeasureUnit::create(1, 0, status); in createArcMinute()
617 MeasureUnit *MeasureUnit::createArcSecond(UErrorCode &status) { in createArcSecond() argument
618 return MeasureUnit::create(1, 1, status); in createArcSecond()
625 MeasureUnit *MeasureUnit::createDegree(UErrorCode &status) { in createDegree() argument
626 return MeasureUnit::create(1, 2, status); in createDegree()
[all …]
/external/icu/icu4c/source/test/perf/convperf/
Dconvperf.cpp24 UErrorCode status = U_ZERO_ERROR; in main() local
25 ConverterPerformanceTest test(argc, argv, status); in main()
26 if(U_FAILURE(status)){ in main()
27 return status; in main()
37 …rterPerformanceTest::ConverterPerformanceTest(int32_t argc, const char* argv[], UErrorCode& status) in ConverterPerformanceTest() argument
38 : UPerfTest(argc,argv,status){ in ConverterPerformanceTest()
128 UErrorCode status = U_ZERO_ERROR; in TestICU_CleanOpenAllConverters() local
129 UPerfFunction* pf = new ICUOpenAllConvertersFunction(true, status); in TestICU_CleanOpenAllConverters()
130 if(U_FAILURE(status)){ in TestICU_CleanOpenAllConverters()
137 UErrorCode status = U_ZERO_ERROR; in TestICU_OpenAllConverters() local
[all …]
/external/cronet/third_party/icu/source/test/perf/convperf/
Dconvperf.cpp24 UErrorCode status = U_ZERO_ERROR; in main() local
25 ConverterPerformanceTest test(argc, argv, status); in main()
26 if(U_FAILURE(status)){ in main()
27 return status; in main()
37 …rterPerformanceTest::ConverterPerformanceTest(int32_t argc, const char* argv[], UErrorCode& status) in ConverterPerformanceTest() argument
38 : UPerfTest(argc,argv,status){ in ConverterPerformanceTest()
128 UErrorCode status = U_ZERO_ERROR; in TestICU_CleanOpenAllConverters() local
129 UPerfFunction* pf = new ICUOpenAllConvertersFunction(true, status); in TestICU_CleanOpenAllConverters()
130 if(U_FAILURE(status)){ in TestICU_CleanOpenAllConverters()
137 UErrorCode status = U_ZERO_ERROR; in TestICU_OpenAllConverters() local
[all …]
/external/tensorflow/tensorflow/c/eager/
Dc_api_test.cc59 TF_Status* status = TF_NewStatus(); in BM_InitOp() local
61 TFE_Context* ctx = TFE_NewContext(opts, status); in BM_InitOp()
62 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in BM_InitOp()
72 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in BM_InitOp()
73 TF_DeleteStatus(status); in BM_InitOp()
80 TF_Status* status = TF_NewStatus(); in BM_Execute() local
83 TFE_Context* ctx = TFE_NewContext(opts, status); in BM_Execute()
84 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in BM_Execute()
88 TFE_Op* matmul = TFE_NewOp(ctx, "MatMul", status); in BM_Execute()
89 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in BM_Execute()
[all …]
/external/tensorflow/tensorflow/lite/delegates/gpu/metal/kernels/
Delementwise_test.mm18 #include "tensorflow/lite/delegates/gpu/common/status.h"
30 auto status = AbsTest(&exec_env_);
31 XCTAssertTrue(status.ok(), @"%s", std::string(status.message()).c_str());
35 auto status = CosTest(&exec_env_);
36 XCTAssertTrue(status.ok(), @"%s", std::string(status.message()).c_str());
40 auto status = CopyTest(&exec_env_);
41 XCTAssertTrue(status.ok(), @"%s", std::string(status.message()).c_str());
45 auto status = EluTest(&exec_env_);
46 XCTAssertTrue(status.ok(), @"%s", std::string(status.message()).c_str());
50 auto status = ExpTest(&exec_env_);
[all …]
/external/icu/libicu/cts_headers/unicode/
Dmeasunit.h403 static MeasureUnit forIdentifier(StringPiece identifier, UErrorCode& status);
479 UMeasureUnitComplexity getComplexity(UErrorCode& status) const;
495 MeasureUnit withPrefix(UMeasurePrefix prefix, UErrorCode& status) const;
511 UMeasurePrefix getPrefix(UErrorCode& status) const;
527 MeasureUnit withDimensionality(int32_t dimensionality, UErrorCode& status) const;
542 int32_t getDimensionality(UErrorCode& status) const;
556 MeasureUnit reciprocal(UErrorCode& status) const;
575 MeasureUnit product(const MeasureUnit& other, UErrorCode& status) const;
592 inline std::pair<LocalArray<MeasureUnit>, int32_t> splitToSingleUnits(UErrorCode& status) const;
688 static MeasureUnit *createGForce(UErrorCode &status);
[all …]

12345678910>>...378