/external/swiftshader/src/OpenGL/libGLES_CM/ |
main.h | 34 void error(GLenum errorCode); 37 const T &error(GLenum errorCode, const T &returnValue) 39 error(errorCode);
|
/external/icu/icu4c/source/common/ |
charstr.cpp | 25 CharString &CharString::copyFrom(const CharString &s, UErrorCode &errorCode) { 26 if(U_SUCCESS(errorCode) && this!=&s && ensureCapacity(s.len+1, 0, errorCode)) { 52 CharString &CharString::append(char c, UErrorCode &errorCode) { 53 if(ensureCapacity(len+2, 0, errorCode)) { 60 CharString &CharString::append(const char *s, int32_t sLength, UErrorCode &errorCode) { 61 if(U_FAILURE(errorCode)) { 65 errorCode=U_ILLEGAL_ARGUMENT_ERROR; 76 errorCode=U_INTERNAL_PROGRAM_ERROR; 85 return append(CharString(s, sLength, errorCode), errorCode) [all...] |
loadednormalizer2impl.cpp | 38 void load(const char *packageName, const char *name, UErrorCode &errorCode); 76 LoadedNormalizer2Impl::load(const char *packageName, const char *name, UErrorCode &errorCode) { 77 if(U_FAILURE(errorCode)) { 80 memory=udata_openChoice(packageName, "nrm", name, isAcceptable, this, &errorCode); 81 if(U_FAILURE(errorCode)) { 88 errorCode=U_INVALID_FORMAT_ERROR; // Not enough indexes. 96 &errorCode); 97 if(U_FAILURE(errorCode)) { 117 UErrorCode &errorCode) { 118 if(U_FAILURE(errorCode)) { [all...] |
filterednormalizer2.cpp | 36 UErrorCode &errorCode) const { 37 uprv_checkCanGetBuffer(src, errorCode); 38 if(U_FAILURE(errorCode)) { 43 errorCode=U_ILLEGAL_ARGUMENT_ERROR; 47 return normalize(src, dest, USET_SPAN_SIMPLE, errorCode); 61 UErrorCode &errorCode) const { 76 tempDest, errorCode)); 77 if(U_FAILURE(errorCode)) { 91 UErrorCode &errorCode) const { 92 return normalizeSecondAndAppend(first, second, TRUE, errorCode); [all...] |
resource.h | 125 virtual const UChar *getString(int32_t &length, UErrorCode &errorCode) const = 0; 127 inline UnicodeString getUnicodeString(UErrorCode &errorCode) const { 129 const UChar *r = getString(len, errorCode); 136 virtual const UChar *getAliasString(int32_t &length, UErrorCode &errorCode) const = 0; 138 inline UnicodeString getAliasUnicodeString(UErrorCode &errorCode) const { 140 const UChar *r = getAliasString(len, errorCode); 149 virtual int32_t getInt(UErrorCode &errorCode) const = 0; 156 virtual uint32_t getUInt(UErrorCode &errorCode) const = 0; 163 virtual const int32_t *getIntVector(int32_t &length, UErrorCode &errorCode) const = 0; 170 virtual const uint8_t *getBinary(int32_t &length, UErrorCode &errorCode) const = 0 [all...] |
/system/security/keystore/include/keystore/ |
keystore_return_types.h | 26 using ::android::hardware::keymaster::V3_0::ErrorCode; 33 * ErrorCode, which has negative error codes and use 0 for ERROR_OK; 37 * ErrorCode::OK (0), because this is what (java) clients expect. 44 KeyStoreServiceReturnCode(const ErrorCode& errorCode) : errorCode_(int32_t(errorCode)) {} 45 KeyStoreServiceReturnCode(const ResponseCode& errorCode) : errorCode_(int32_t(errorCode)) {} 46 KeyStoreServiceReturnCode(const KeyStoreServiceReturnCode& errorCode) 47 : errorCode_(errorCode.errorCode_) { [all...] |
/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
DataModelException.java | 61 public DataModelException(final int errorCode, final Exception innerException, 66 if (errorCode < FIRST || errorCode > LAST) { 67 throw new IllegalArgumentException("error code out of range: " + errorCode); 70 mErrorCode = errorCode; 81 public DataModelException(final int errorCode) { 82 this(errorCode, null, 0, false, null); 85 public DataModelException(final int errorCode, final Exception innerException) { 86 this(errorCode, innerException, 0, false, null); 89 public DataModelException(final int errorCode, final String message) [all...] |
/external/icu/icu4c/source/i18n/ |
dayperiodrules.cpp | 53 virtual void put(const char *key, ResourceValue &value, UBool, UErrorCode &errorCode) { 54 ResourceTable dayPeriodData = value.getTable(errorCode); 55 if (U_FAILURE(errorCode)) { return; } 59 ResourceTable locales = value.getTable(errorCode); 60 if (U_FAILURE(errorCode)) { return; } 63 UnicodeString setNum_str = value.getUnicodeString(errorCode); 64 int32_t setNum = parseSetNum(setNum_str, errorCode); 65 uhash_puti(data->localeToRuleSetNumMap, const_cast<char *>(key), setNum, &errorCode); 71 errorCode = U_MEMORY_ALLOCATION_ERROR; 74 ResourceTable rules = value.getTable(errorCode); [all...] |
ucol_res.cpp | 82 CollationLoader::loadRootRules(UErrorCode &errorCode) { 83 if(U_FAILURE(errorCode)) { return; } 84 rootBundle = ures_open(U_ICUDATA_COLL, kRootLocaleName, &errorCode); 85 if(U_FAILURE(errorCode)) { return; } 86 rootRules = ures_getStringByKey(rootBundle, "UCARules", &rootRulesLength, &errorCode); 87 if(U_FAILURE(errorCode)) { 99 UErrorCode errorCode = U_ZERO_ERROR; 100 umtx_initOnce(gInitOnce, CollationLoader::loadRootRules, errorCode); 101 if(U_SUCCESS(errorCode)) { 108 UnicodeString &rules, UErrorCode &errorCode) { [all...] |
uitercollationiterator.h | 46 virtual UChar32 nextCodePoint(UErrorCode &errorCode); 48 virtual UChar32 previousCodePoint(UErrorCode &errorCode); 51 virtual uint32_t handleNextCE32(UChar32 &c, UErrorCode &errorCode); 55 virtual void forwardNumCodePoints(int32_t num, UErrorCode &errorCode); 57 virtual void backwardNumCodePoints(int32_t num, UErrorCode &errorCode); 78 virtual UChar32 nextCodePoint(UErrorCode &errorCode); 80 virtual UChar32 previousCodePoint(UErrorCode &errorCode); 83 virtual uint32_t handleNextCE32(UChar32 &c, UErrorCode &errorCode); 87 virtual void forwardNumCodePoints(int32_t num, UErrorCode &errorCode); 89 virtual void backwardNumCodePoints(int32_t num, UErrorCode &errorCode); [all...] |
utf8collationiterator.h | 47 virtual UChar32 nextCodePoint(UErrorCode &errorCode); 49 virtual UChar32 previousCodePoint(UErrorCode &errorCode); 62 virtual uint32_t handleNextCE32(UChar32 &c, UErrorCode &errorCode); 68 virtual void forwardNumCodePoints(int32_t num, UErrorCode &errorCode); 70 virtual void backwardNumCodePoints(int32_t num, UErrorCode &errorCode); 94 virtual UChar32 nextCodePoint(UErrorCode &errorCode); 96 virtual UChar32 previousCodePoint(UErrorCode &errorCode); 99 virtual uint32_t handleNextCE32(UChar32 &c, UErrorCode &errorCode); 105 virtual void forwardNumCodePoints(int32_t num, UErrorCode &errorCode); 107 virtual void backwardNumCodePoints(int32_t num, UErrorCode &errorCode); [all...] |
/external/lzma/CPP/Windows/ |
ErrorMsg.cpp | 18 static bool MyFormatMessage(DWORD errorCode, UString &message)
26 NULL, errorCode, 0, (LPTSTR) &msgBuf, 0, NULL) == 0)
35 NULL, errorCode, 0, (LPWSTR) &msgBuf, 0, NULL) == 0)
43 UString MyFormatMessage(DWORD errorCode)
46 if (!MyFormatMessage(errorCode, message))
51 unsigned t = errorCode & 0xF;
52 errorCode >>= 4;
|
/external/icu/icu4c/source/test/cintltst/ |
cstrcase.c | 44 UErrorCode errorCode; 48 errorCode=U_ZERO_ERROR; 52 &errorCode); 53 if( U_FAILURE(errorCode) || 60 u_errorName(errorCode), 70 errorCode=U_ZERO_ERROR; 74 &errorCode); 75 if( U_FAILURE(errorCode) || 82 u_errorName(errorCode), 88 errorCode=U_ZERO_ERROR [all...] |
cnormtst.c | 550 UErrorCode errorCode; 555 errorCode=U_ZERO_ERROR; 556 if(!unorm_isNormalized(notNFC[0]+2, 1, UNORM_NFC, &errorCode) || U_FAILURE(errorCode)) { 557 log_data_err("error: !isNormalized(<U+0300>, NFC) (%s) - (Are you missing data?)\n", u_errorName(errorCode)); 561 errorCode=U_TRUNCATED_CHAR_FOUND; 562 (void)unorm_isNormalized(notNFC[0]+2, 1, UNORM_NFC, &errorCode); 563 if(errorCode!=U_TRUNCATED_CHAR_FOUND) { 564 log_err("error: isNormalized(U_TRUNCATED_CHAR_FOUND) changed the error code to %s\n", u_errorName(errorCode)); 568 errorCode=U_ZERO_ERROR [all...] |
/external/icu/icu4c/source/tools/gencolusb/ |
verify_uset.cpp | 21 UErrorCode errorCode = U_ZERO_ERROR; 31 if(U_SUCCESS(errorCode)) { 32 UnicodeSet us(unsafeBackwardPattern, errorCode); 33 fprintf(stderr, "\n%s:%d: err creating set %s\n", __FILE__, __LINE__, u_errorName(errorCode)); 51 UnicodeSet u(unsafe_serializedData, unsafe_serializedCount, UnicodeSet::kSerialized, errorCode); 52 fprintf(stderr, "\n%s:%d: err creating set %s\n", __FILE__, __LINE__, u_errorName(errorCode)); 57 // errorCode = U_MEMORY_ALLOCATION_ERROR; 58 // fprintf(stderr, "\n%s:%d: err %s\n", __FILE__, __LINE__, u_errorName(errorCode)); 61 if(U_SUCCESS(errorCode)) { 62 Collator *col = Collator::createInstance(Locale::getEnglish(), errorCode); [all...] |
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
LegacyExceptionUtils.java | 88 int errorCode = ICameraService.ERROR_INVALID_OPERATION; 94 errorCode = ICameraService.ERROR_PERMISSION_DENIED; 101 errorCode = ICameraService.ERROR_ILLEGAL_ARGUMENT; 104 errorCode = ICameraService.ERROR_DISCONNECTED; 107 errorCode = ICameraService.ERROR_INVALID_OPERATION; 110 errorCode = ICameraService.ERROR_DISABLED; 113 errorCode = ICameraService.ERROR_CAMERA_IN_USE; 116 errorCode = ICameraService.ERROR_MAX_CAMERAS_IN_USE; 119 errorCode = ICameraService.ERROR_DISCONNECTED; 122 errorCode = ICameraService.ERROR_DEPRECATED_HAL [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/ |
omxVCM4P10_DeblockChroma_I.c | 82 OMXResult errorCode; 94 errorCode = omxVCM4P10_FilterDeblockingChroma_VerEdge_I( 97 armRetArgErrIf(errorCode != OMX_Sts_NoErr, errorCode) 99 errorCode = omxVCM4P10_FilterDeblockingChroma_HorEdge_I( 102 return errorCode;
|
omxVCM4P10_DeblockLuma_I.c | 85 OMXResult errorCode; 97 errorCode = omxVCM4P10_FilterDeblockingLuma_VerEdge_I( 100 armRetArgErrIf(errorCode != OMX_Sts_NoErr, errorCode) 102 errorCode = omxVCM4P10_FilterDeblockingLuma_HorEdge_I( 105 return errorCode;
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src/ |
omxVCM4P10_DeblockChroma_I.c | 82 OMXResult errorCode; 94 errorCode = omxVCM4P10_FilterDeblockingChroma_VerEdge_I( 97 armRetArgErrIf(errorCode != OMX_Sts_NoErr, errorCode) 99 errorCode = omxVCM4P10_FilterDeblockingChroma_HorEdge_I( 102 return errorCode;
|
omxVCM4P10_DeblockLuma_I.c | 85 OMXResult errorCode; 97 errorCode = omxVCM4P10_FilterDeblockingLuma_VerEdge_I( 100 armRetArgErrIf(errorCode != OMX_Sts_NoErr, errorCode) 102 errorCode = omxVCM4P10_FilterDeblockingLuma_HorEdge_I( 105 return errorCode;
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/ |
omxVCM4P10_DeblockChroma_I.c | 101 OMXResult errorCode; 113 errorCode = omxVCM4P10_FilterDeblockingChroma_VerEdge_I( 116 armRetArgErrIf(errorCode != OMX_Sts_NoErr, errorCode) 118 errorCode = omxVCM4P10_FilterDeblockingChroma_HorEdge_I( 121 return errorCode;
|
omxVCM4P10_DeblockLuma_I.c | 103 OMXResult errorCode; 115 errorCode = omxVCM4P10_FilterDeblockingLuma_VerEdge_I( 118 armRetArgErrIf(errorCode != OMX_Sts_NoErr, errorCode) 120 errorCode = omxVCM4P10_FilterDeblockingLuma_HorEdge_I( 123 return errorCode;
|
/external/swiftshader/src/OpenGL/libGLESv2/ |
main.h | 36 void error(GLenum errorCode); 39 const T &error(GLenum errorCode, const T &returnValue) 41 error(errorCode);
|
/external/icu/icu4c/source/samples/udata/ |
writer.c | 68 UErrorCode errorCode=U_ZERO_ERROR; 81 U_COPYRIGHT_STRING, &errorCode); 88 if(U_FAILURE(errorCode)) { 89 fprintf(stderr, "Error: unable to create data memory, error %d\n", errorCode); 90 exit(errorCode); 101 dataLength=udata_finish(pData, &errorCode); 102 if(U_FAILURE(errorCode)) { 103 fprintf(stderr, "Error: error %d writing the output file\n", errorCode); 104 exit(errorCode);
|
/external/icu/icu4c/source/test/perf/ucnvavailperf/ |
ucnvavailperf.cpp | 88 UErrorCode errorCode = U_ZERO_ERROR; 92 u_setMemoryFunctions(NULL, my_alloc, my_realloc, my_free, &errorCode); 93 if(U_FAILURE(errorCode)) { 96 u_errorName(errorCode)); 97 return errorCode; 109 ucnv_close(ucnv_open("ibm-1208", &errorCode)); 110 if(U_FAILURE(errorCode)) { 113 u_errorName(errorCode)); 114 return errorCode;
|