Home
last modified time | relevance | path

Searched refs:errorName (Results 1 – 25 of 27) sorted by relevance

12

/external/llvm-project/lldb/third_party/Python/module/unittest2/unittest2/
Dsuite.py147 errorName = 'setUpClass (%s)' % className
148 self._addClassOrModuleLevelException(result, e, errorName)
178 errorName = 'setUpModule (%s)' % currentModule
179 self._addClassOrModuleLevelException(result, e, errorName)
181 def _addClassOrModuleLevelException(self, result, exception, errorName): argument
182 error = _ErrorHolder(errorName)
208 errorName = 'tearDownModule (%s)' % previousModule
209 self._addClassOrModuleLevelException(result, e, errorName)
231 errorName = 'tearDownClass (%s)' % className
232 self._addClassOrModuleLevelException(result, e, errorName)
/external/python/cpython2/Lib/unittest/
Dsuite.py152 errorName = 'setUpClass (%s)' % className
153 self._addClassOrModuleLevelException(result, e, errorName)
187 errorName = 'setUpModule (%s)' % currentModule
188 self._addClassOrModuleLevelException(result, e, errorName)
192 def _addClassOrModuleLevelException(self, result, exception, errorName): argument
193 error = _ErrorHolder(errorName)
220 errorName = 'tearDownModule (%s)' % previousModule
221 self._addClassOrModuleLevelException(result, e, errorName)
246 errorName = 'tearDownClass (%s)' % className
247 self._addClassOrModuleLevelException(result, e, errorName)
/external/icu/icu4c/source/tools/gendict/
Dgendict.cpp319 fprintf(stderr, "error opening input file: ICU Error \"%s\"\n", status.errorName()); in main()
325 fprintf(stderr, "new DataDict: ICU Error \"%s\"\n", status.errorName()); in main()
389 status.errorName(), lineCount); in main()
416 …, if U_ILLEGAL_ARGUMENT_ERROR possibly due to duplicate dictionary entries\n", status.errorName()); in main()
422 …f(stderr, "gendict: could not open output file \"%s\", \"%s\"\n", outFileName, status.errorName()); in main()
445 fprintf(stderr, "gendict: error \"%s\" writing the output file\n", status.errorName()); in main()
/external/icu/icu4c/source/test/cintltst/
Dputiltst.c483 const char* errorName ; in TestErrorName() local
485 errorName = u_errorName((UErrorCode)code); in TestErrorName()
486 if(!errorName || errorName[0] == 0) { in TestErrorName()
492 errorName = u_errorName(errorCode[code]); in TestErrorName()
493 if(uprv_strcmp(str[code],errorName )!=0){ in TestErrorName()
494 log_err("Error : u_errorName failed. Expected: %s Got: %s \n",str[code],errorName); in TestErrorName()
/external/python/cpython3/Lib/unittest/
Dsuite.py227 errorName = f'{method_name} ({parent})'
228 self._addClassOrModuleLevelException(result, exc, errorName, info)
230 def _addClassOrModuleLevelException(self, result, exception, errorName, argument
232 error = _ErrorHolder(errorName)
/external/icu/icu4c/source/test/intltest/
Dcollationtest.cpp1151 (int)fileLineNumber, errorCode.errorName()); in parseAndSetAttribute()
1192 (int)fileLineNumber, errorCode.errorName()); in parseAndSetAttribute()
1226 (int)fileLineNumber, errorCode.errorName()); in parseAndSetReorderCodes()
1252 dataerrln("RuleBasedCollator(rules) failed - %s", errorCode.errorName()); in buildTailoring()
1358 norm, errorCode.errorName()); in getCollationKey()
1412 norm, (int)partSize, errorCode.errorName()); in getCollationKey()
1562 (int)fileLineNumber, norm, order, expectedOrder, errorCode.errorName()); in checkCompareTwo()
1573 (int)fileLineNumber, norm, order, -expectedOrder, errorCode.errorName()); in checkCompareTwo()
1587 (int)fileLineNumber, norm, order, expectedOrder, errorCode.errorName()); in checkCompareTwo()
1598 (int)fileLineNumber, norm, order, -expectedOrder, errorCode.errorName()); in checkCompareTwo()
[all …]
Dstrcase.cpp648 errorCode.errorName()); in TestTitleOptions()
655 errorCode.errorName()); in TestTitleOptions()
664 errorCode.errorName()); in TestTitleOptions()
862 errorCode.errorName(), (long)destLength); in TestLongUpper()
871 errln("ucasemap_open(English) failed - %s", errorCode.errorName()); in TestMalformedUTF8()
881 errorCode.errorName(), (int)destLength, dest[0]); in TestMalformedUTF8()
890 errorCode.errorName(), (int)destLength, dest[0]); in TestMalformedUTF8()
898 errorCode.errorName(), (int)destLength, dest[0]); in TestMalformedUTF8()
906 errorCode.errorName(), (int)destLength, dest[0]); in TestMalformedUTF8()
916 errln("ucasemap_open(English) failed - %s", errorCode.errorName()); in TestBufferOverflow()
[all …]
Dtmsgfmt.cpp1816 errln("msgfmt.getFormatNames()[0] failed: %s", errorCode.errorName()); in testGetFormatNames()
1825 errln("msgfmt.getFormatNames()[1] failed: %s", errorCode.errorName()); in testGetFormatNames()
1834 errln("msgfmt.getFormatNames()[2] failed: %s", errorCode.errorName()); in testGetFormatNames()
Ducdtest.cpp345 errorCode.errorName()); in TestConsistency()
Ditutil.cpp106 if(errorCode.errorName()!=u_errorName(U_ZERO_ERROR)) { in TestErrorCode()
Drbbiapts.cpp268 errcheckln(status, "Fail : in construction - %s", status.errorName()); in TestGetSetAdoptText()
Dtstnorm.cpp644 name, errorCode.errorName()); in TestPreviousNext()
Dconvtest.cpp1224 … cc.caseNr, cc.charset, cc.cbopt, cc.fallbacks, cc.finalFlush, errorCode.errorName()); in ToUnicodeCase()
Dapicoll.cpp2500 errln("unexpected error for primary-gap overflow: %s", errorCode.errorName()); in TestGapTooSmall()
/external/icu/icu4c/source/common/
Derrorcode.cpp38 const char* ErrorCode::errorName() const { in errorName() function in ErrorCode
/external/icu/icu4c/source/common/unicode/
Derrorcode.h123 const char* errorName() const;
/external/icu/libicu/cts_headers/unicode/
Derrorcode.h123 const char* errorName() const;
/external/bcc/src/cc/frontends/p4/compiler/
DebpfParser.py208 "{0} = p4_pe_unhandled_select;", program.errorName)
270 program.errorName)
335 program.errorName)
DebpfProgram.py45 self.errorName = self.reservedPrefix + "error"
366 "enum ErrorCode {0} = p4_pe_no_error;", self.errorName)
/external/doclava/src/com/google/doclava/
DPackageInfo.java401 public ClassInfo getError(String errorName) { in getError() argument
402 return mErrorsMap.get(errorName); in getError()
/external/icu/icu4c/source/tools/ctestfw/
Dtstdtmod.cpp120 msg.append(u" but got error: ").append(UnicodeString(errorName(), -1, US_INV)); in errlog()
/external/icu/icu4c/source/tools/toolutil/
Dtoolutil.cpp80 fprintf(stderr, "error at %s: %s\n", location, errorName()); in handleFailure()
/external/icu/icu4c/source/tools/gennorm2/
Dn2builder.cpp730 errorCode.errorName()); in processData()
787 filename, errorCode.errorName()); in writeBinaryFile()
796 fprintf(stderr, "gennorm2: error %s writing the output file\n", errorCode.errorName()); in writeBinaryFile()
/external/tinyxml2/
Dtinyxml2.cpp2462 const char* errorName = _errorNames[errorID]; in ErrorIDToName() local
2463 TIXMLASSERT( errorName && errorName[0] ); in ErrorIDToName()
2464 return errorName; in ErrorIDToName()
/external/icu/icu4c/source/test/perf/dicttrieperf/
Ddicttrieperf.cpp713 fprintf(stderr, "DictionaryTriePerfTest() failed: %s\n", errorCode.errorName()); in main()

12