/external/mesa3d/src/glx/ |
glx_error.c | 38 __glXSendError(Display * dpy, int_fast8_t errorCode, uint_fast32_t resourceID, 53 error.errorCode = errorCode; 56 error.errorCode = glx_dpy->codes->first_error + errorCode; 77 error.errorCode = err->error_code;
|
/external/icu/icu4c/source/test/intltest/ |
convtest.cpp | 55 UErrorCode errorCode=U_ZERO_ERROR; 56 utf8Cnv=ucnv_open("UTF-8", &errorCode); 57 ucnv_setToUCallBack(utf8Cnv, UCNV_TO_U_CALLBACK_STOP, NULL, NULL, NULL, &errorCode); 58 if(U_FAILURE(errorCode)) { 101 UErrorCode errorCode; 104 errorCode=U_ZERO_ERROR; 105 dataModule=TestDataModule::getTestDataModule("conversion", *this, errorCode); 106 if(U_SUCCESS(errorCode)) { 107 testData=dataModule->createTestData("toUnicode", errorCode); 108 if(U_SUCCESS(errorCode)) { [all...] |
tstnrapi.cpp | 63 UErrorCode errorCode=U_ZERO_ERROR; 64 Normalizer::compose(tel, TRUE, 0, nfkc, errorCode); 65 Normalizer::decompose(tel, TRUE, 0, nfkd, errorCode); 66 if(U_FAILURE(errorCode)) { 67 dataerrln("error in Normalizer::(de)compose(): %s", u_errorName(errorCode)); 83 errorCode=U_ZERO_ERROR; 84 copy.setText(iter, errorCode); 85 if(U_FAILURE(errorCode)) { 86 errln("error Normalizer::setText() failed: %s", u_errorName(errorCode)); 99 errorCode=U_ZERO_ERROR [all...] |
collationtest.cpp | 19 #include "unicode/errorcode.h" 99 UBool readNonEmptyLine(UCHARBUF *f, IcuTestErrorCode &errorCode); 100 void parseString(int32_t &start, UnicodeString &prefix, UnicodeString &s, UErrorCode &errorCode); 101 Collation::Level parseRelationAndString(UnicodeString &s, IcuTestErrorCode &errorCode); 102 void parseAndSetAttribute(IcuTestErrorCode &errorCode); 103 void parseAndSetReorderCodes(int32_t start, IcuTestErrorCode &errorCode); 104 void buildTailoring(UCHARBUF *f, IcuTestErrorCode &errorCode); 105 void setRootCollator(IcuTestErrorCode &errorCode); 106 void setLocaleCollator(IcuTestErrorCode &errorCode); 108 UBool needsNormalization(const UnicodeString &s, UErrorCode &errorCode) const [all...] |
/external/icu/icu4c/source/test/cintltst/ |
custrtrn.c | [all...] |
crestst.c | 473 UErrorCode errorCode; 480 errorCode=U_ZERO_ERROR; 481 idna_rules=ures_openDirect(loadTestData(&errorCode), "idna_rules", &errorCode); 482 if(U_FAILURE(errorCode)) { 483 log_data_err("ures_openDirect(\"idna_rules\") failed: %s\n", u_errorName(errorCode)); 487 if(0!=uprv_strcmp("idna_rules", ures_getLocale(idna_rules, &errorCode))) { 490 errorCode=U_ZERO_ERROR; 493 item=ures_getByKey(idna_rules, "UnassignedSet", NULL, &errorCode); 494 if(U_FAILURE(errorCode)) { [all...] |
cpluralrulestest.c | 100 UErrorCode errorCode = U_ZERO_ERROR; 101 UPluralRules* upr = uplrules_openForType("en", UPLURAL_TYPE_ORDINAL, &errorCode); 102 if (U_FAILURE(errorCode)) { 103 log_err("uplrules_openForType(en, ordinal) failed - %s\n", u_errorName(errorCode)); 107 length = uplrules_select(upr, 2., keyword, 8, &errorCode); 108 if (U_FAILURE(errorCode) || u_strCompare(keyword, length, two, 3, FALSE) != 0) { 109 log_data_err("uplrules_select(en-ordinal, 2) failed - %s\n", u_errorName(errorCode));
|
cbiditst.c | 174 UErrorCode errorCode=U_ZERO_ERROR; 178 pBiDi=ubidi_openSized(MAXLEN, 0, &errorCode); 188 log_err("ubidi_openSized() returned NULL, errorCode %s\n", myErrorName(errorCode)); 206 UErrorCode errorCode; 211 errorCode=U_ZERO_ERROR; 214 ubidi_setPara(pBiDi, string, -1, paraLevel, NULL, &errorCode); 215 if(U_SUCCESS(errorCode)) { 222 ubidi_setLine(pBiDi, lineStart, tests[testNumber].lineLimit, pLine, &errorCode); 223 if(U_SUCCESS(errorCode)) { [all...] |
cldrtest.c | 78 UErrorCode errorCode = U_ZERO_ERROR; 87 errorCode = U_ZERO_ERROR; 90 subBundle = ures_getNextResource(currentBundle, NULL, &errorCode); 91 if (U_FAILURE(errorCode)) { 92 log_err("Can't open a resource for lnocale %s. Error: %s\n", locale, u_errorName(errorCode)); 98 subRootBundle = ures_getByKey(root, subBundleKey, NULL, &errorCode); 99 if (U_FAILURE(errorCode)) { 124 const int32_t *subRootBundleArr = ures_getIntVector(subRootBundle, &minSize, &errorCode); 125 const int32_t *subBundleArr = ures_getIntVector(subBundle, &subBundleSize, &errorCode); 160 UResourceBundle *subSubBundle = ures_getByIndex(subBundle, 0, NULL, &errorCode); [all...] |
sorttest.c | 38 UErrorCode errorCode; 41 errorCode=U_ZERO_ERROR; 42 uprv_sortArray(small, UPRV_LENGTHOF(small), sizeof(small[0]), uprv_uint16Comparator, NULL, TRUE, &errorCode); 43 if(U_FAILURE(errorCode)) { 44 log_err("uprv_sortArray(small) failed - %s\n", u_errorName(errorCode)); 60 uprv_sortArray(medium, UPRV_LENGTHOF(medium), sizeof(medium[0]), uprv_int32Comparator, NULL, TRUE, &errorCode); 61 if(U_FAILURE(errorCode)) { 62 log_err("uprv_sortArray(medium) failed - %s\n", u_errorName(errorCode)); 73 errorCode=U_ZERO_ERROR; 74 uprv_sortArray(large, UPRV_LENGTHOF(large), sizeof(large[0]), uprv_uint32Comparator, NULL, FALSE, &errorCode); [all...] |
/external/icu/icu4c/source/i18n/ |
collationdatareader.cpp | 48 CollationTailoring &tailoring, UErrorCode &errorCode) { 49 if(U_FAILURE(errorCode)) { return; } 52 errorCode = U_ILLEGAL_ARGUMENT_ERROR; 58 errorCode = U_INVALID_FORMAT_ERROR; 62 errorCode = U_COLLATOR_VERSION_MISMATCH; 73 errorCode = U_ILLEGAL_ARGUMENT_ERROR; 79 errorCode = U_INVALID_FORMAT_ERROR; // Not enough indexes. 101 errorCode = U_INVALID_FORMAT_ERROR; 117 errorCode = U_INVALID_FORMAT_ERROR; 147 errorCode = U_INVALID_FORMAT_ERROR; // Reordering table without reordering codes [all...] |
collationdatawriter.h | 35 UErrorCode &errorCode); 39 UErrorCode &errorCode); 48 UErrorCode &errorCode);
|
/external/icu/icu4c/source/tools/gencolusb/ |
extract_unsafe_backwards.cpp | 25 UErrorCode errorCode = U_ZERO_ERROR; 28 const CollationCacheEntry *rootEntry = CollationRoot::getRootCacheEntry(errorCode); 29 if(U_FAILURE(errorCode)) { 30 fprintf(stderr, "Err: %s getting root cache entry\n", u_errorName(errorCode)); 53 unsafeBackwardSet->serialize(serializedData, serializedCount, errorCode); 54 if(U_FAILURE(errorCode)) { 56 fprintf(stderr, "Err: %s serializing unicodeset\n", u_errorName(errorCode)); 70 if(U_SUCCESS(errorCode)) { 73 // UnicodeSet usA(pattern, errorCode); 74 // fprintf(stderr, "\n%s:%d: err creating set A %s\n", __FILE__, __LINE__, u_errorName(errorCode)); [all...] |
/external/icu/icu4c/source/common/ |
unistr_cnv.cpp | 81 UErrorCode &errorCode) { 83 if(U_SUCCESS(errorCode)) { 88 errorCode=U_ILLEGAL_ARGUMENT_ERROR; 98 doCodepageCreate(src, srcLength, cnv, errorCode); 101 cnv=u_getDefaultConverter(&errorCode); 102 doCodepageCreate(src, srcLength, cnv, errorCode); 108 if(U_FAILURE(errorCode)) { 209 UErrorCode &errorCode) const 211 if(U_FAILURE(errorCode)) { 216 errorCode=U_ILLEGAL_ARGUMENT_ERROR [all...] |
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ReferenceType/ |
Signature002Test.java | 127 short errorCode = checkedReply.getErrorCode(); 128 if ( errorCode != JDWPConstants.Error.NONE ) { 129 if ( errorCode != JDWPConstants.Error.INVALID_CLASS ) { 131 + " returns unexpected ERROR = " + errorCode 132 + "(" + JDWPConstants.Error.getName(errorCode) + ")"); 134 + " returns unexpected ERROR = " + errorCode 135 + "(" + JDWPConstants.Error.getName(errorCode) + ")"); 156 errorCode = checkedReply.getErrorCode(); 157 if ( errorCode != JDWPConstants.Error.NONE ) { 158 if ( errorCode != JDWPConstants.Error.INVALID_OBJECT ) [all...] |
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/ |
FramedStream.java | 74 private ErrorCode errorCode = null; 107 if (errorCode != null) { 139 while (responseHeaders == null && errorCode == null) { 146 throw new IOException("stream was reset: " + errorCode); 153 public synchronized ErrorCode getErrorCode() { 154 return errorCode; 218 public void close(ErrorCode rstStatusCode) throws IOException { 229 public void closeLater(ErrorCode errorCode) { [all...] |
/system/chre/core/ |
wifi_request_manager.cc | 91 uint8_t errorCode) { 94 uint8_t errorCode; 102 cbState->errorCode = errorCode; 107 .handleScanMonitorStateChangeSync(state->enabled, state->errorCode); 117 uint8_t errorCode) { 120 uint8_t errorCode; 128 cbState->errorCode = errorCode; 133 .handleScanResponseSync(state->pending, state->errorCode); [all...] |
/external/icu/icu4c/source/tools/genrb/ |
reslist.h | 71 SRBRoot(const UString *comment, UBool isPoolBundle, UErrorCode &errorCode); 75 char *writtenFilename, int writtenFilenameLen, UErrorCode &errorCode); 77 void setLocale(UChar *locale, UErrorCode &errorCode); 78 int32_t addTag(const char *tag, UErrorCode &errorCode); 83 int32_t addKeyBytes(const char *keyBytes, int32_t length, UErrorCode &errorCode); 85 void compactKeys(UErrorCode &errorCode); 91 void compactStringsV2(UHashtable *stringSet, UErrorCode &errorCode); 163 UErrorCode &errorCode); 180 void preflightStrings(SRBRoot *bundle, UHashtable *stringSet, UErrorCode &errorCode); 181 virtual void handlePreflightStrings(SRBRoot *bundle, UHashtable *stringSet, UErrorCode &errorCode); [all...] |
/external/icu/icu4c/source/tools/toolutil/ |
ppucd.h | 98 PreparsedUCD(const char *filename, UErrorCode &errorCode); 110 LineType readLine(UErrorCode &errorCode); 131 const UniProps *getProps(UnicodeSet &newValues, UErrorCode &errorCode); 137 * Returns U_SUCCESS(errorCode). 139 UBool getRangeForAlgNames(UChar32 &start, UChar32 &end, UErrorCode &errorCode); 150 UErrorCode &errorCode); 151 UChar32 parseCodePoint(const char *s, UErrorCode &errorCode); 152 UBool parseCodePointRange(const char *s, UChar32 &start, UChar32 &end, UErrorCode &errorCode); 153 void parseString(const char *s, UnicodeString &uni, UErrorCode &errorCode); 154 void parseScriptExtensions(const char *s, UnicodeSet &scx, UErrorCode &errorCode); [all...] |
/external/icu/icu4c/source/test/iotest/ |
iotest.cpp | 200 UErrorCode errorCode; 225 errorCode=U_ZERO_ERROR; 226 dataModule=TestDataModule::getTestDataModule("icuio", logger, errorCode); 227 if(U_SUCCESS(errorCode)) { 228 testData=dataModule->createTestData("printf", errorCode); 229 if(U_SUCCESS(errorCode)) { 230 for(i=0; testData->nextCase(testCase, errorCode); ++i) { 231 if(U_FAILURE(errorCode)) { 233 i, u_errorName(errorCode)); 234 errorCode=U_ZERO_ERROR [all...] |
/external/swiftshader/src/OpenGL/libGL/ |
main.h | 54 void error(GLenum errorCode); 57 T &error(GLenum errorCode, T &returnValue) 59 error(errorCode); 65 const T &error(GLenum errorCode, const T &returnValue) 67 error(errorCode);
|
/external/icu/icu4c/source/common/unicode/ |
messagepattern.h | 364 * @param errorCode Standard ICU error code. Its input value must 370 MessagePattern(UErrorCode &errorCode); 375 * @param errorCode Standard ICU error code. Its input value must 381 MessagePattern(UMessagePatternApostropheMode mode, UErrorCode &errorCode); 390 * @param errorCode Standard ICU error code. Its input value must 401 MessagePattern(const UnicodeString &pattern, UParseError *parseError, UErrorCode &errorCode); 430 * @param errorCode Standard ICU error code. Its input value must 442 UParseError *parseError, UErrorCode &errorCode); 450 * @param errorCode Standard ICU error code. Its input value must 462 UParseError *parseError, UErrorCode &errorCode); [all...] |
/external/icu/icu4c/source/samples/props/ |
props.cpp | 34 UErrorCode errorCode; 37 errorCode=U_ZERO_ERROR; 38 u_charName(codePoint, U_UNICODE_CHAR_NAME, buffer, sizeof(buffer), &errorCode);
|
/external/icu/icu4c/source/tools/gentest/ |
gentest.c | 66 UErrorCode errorCode = U_ZERO_ERROR; 97 createData(options[2].value, &errorCode); 99 return U_FAILURE(errorCode); 104 createData(const char* outputDirectory, UErrorCode *errorCode) { 113 U_COPYRIGHT_STRING, errorCode); 114 if(U_FAILURE(*errorCode)) { 115 fprintf(stderr, "gentest: unable to create data memory, %s\n", u_errorName(*errorCode)); 116 exit(*errorCode); 125 dataLength=udata_finish(pData, errorCode); 126 if(U_FAILURE(*errorCode)) { [all...] |
/frameworks/base/media/java/android/media/ |
MediaCasStateException.java | 41 switch (e.errorCode) { 70 throw new MediaCasStateException(e.errorCode, e.getMessage(), 71 String.format("%s (err=%d)", diagnosticInfo, e.errorCode));
|