| /external/chromium_org/third_party/icu/source/common/ |
| mutex.cpp | 21 UErrorCode &errorCode) { 23 if(U_FAILURE(errorCode)) { 31 instance=instantiator(context, errorCode); 33 if(fInstance==NULL && U_SUCCESS(errorCode)) { 44 UErrorCode &errorCode) { 46 if(U_FAILURE(errorCode)) { 54 errorCode=fErrorCode; // instance creation failed 57 void *instance=instantiator(context, errorCode); 60 if(U_SUCCESS(errorCode)) { 65 fErrorCode=errorCode; [all...] |
| filterednormalizer2.cpp | 32 UErrorCode &errorCode) const { 33 uprv_checkCanGetBuffer(src, errorCode); 34 if(U_FAILURE(errorCode)) { 39 errorCode=U_ILLEGAL_ARGUMENT_ERROR; 43 return normalize(src, dest, USET_SPAN_SIMPLE, errorCode); 57 UErrorCode &errorCode) const { 72 tempDest, errorCode)); 73 if(U_FAILURE(errorCode)) { 87 UErrorCode &errorCode) const { 88 return normalizeSecondAndAppend(first, second, TRUE, errorCode); [all...] |
| /external/icu4c/test/cintltst/ |
| cucdapi.c | 384 UErrorCode errorCode=U_ZERO_ERROR; 386 USCRIPT_COMMON==uscript_getScript(0x0640, &errorCode) && 387 USCRIPT_INHERITED==uscript_getScript(0x0650, &errorCode) && 388 USCRIPT_ARABIC==uscript_getScript(0xfdf2, &errorCode)) || 389 U_FAILURE(errorCode) 446 UErrorCode errorCode; 449 errorCode=U_PARSE_ERROR; 450 length=uscript_getScriptExtensions(0x0640, scripts, LENGTHOF(scripts), &errorCode); 451 if(errorCode!=U_PARSE_ERROR) { 453 u_errorName(errorCode)); [all...] |
| sorttest.c | 34 UErrorCode errorCode; 37 errorCode=U_ZERO_ERROR; 38 uprv_sortArray(small, LENGTHOF(small), sizeof(small[0]), uprv_uint16Comparator, NULL, TRUE, &errorCode); 39 if(U_FAILURE(errorCode)) { 40 log_err("uprv_sortArray(small) failed - %s\n", u_errorName(errorCode)); 56 uprv_sortArray(medium, LENGTHOF(medium), sizeof(medium[0]), uprv_int32Comparator, NULL, TRUE, &errorCode); 57 if(U_FAILURE(errorCode)) { 58 log_err("uprv_sortArray(medium) failed - %s\n", u_errorName(errorCode)); 69 errorCode=U_ZERO_ERROR; 70 uprv_sortArray(large, LENGTHOF(large), sizeof(large[0]), uprv_uint32Comparator, NULL, FALSE, &errorCode); [all...] |
| cnormtst.c | 549 UErrorCode errorCode; 554 errorCode=U_ZERO_ERROR; 555 if(!unorm_isNormalized(notNFC[0]+2, 1, UNORM_NFC, &errorCode) || U_FAILURE(errorCode)) { 556 log_data_err("error: !isNormalized(<U+0300>, NFC) (%s) - (Are you missing data?)\n", u_errorName(errorCode)); 560 errorCode=U_TRUNCATED_CHAR_FOUND; 561 (void)unorm_isNormalized(notNFC[0]+2, 1, UNORM_NFC, &errorCode); 562 if(errorCode!=U_TRUNCATED_CHAR_FOUND) { 563 log_err("error: isNormalized(U_TRUNCATED_CHAR_FOUND) changed the error code to %s\n", u_errorName(errorCode)); 567 errorCode=U_ZERO_ERROR [all...] |
| /external/chromium_org/third_party/icu/source/common/unicode/ |
| normalizer2.h | 94 * @param errorCode Standard ICU error code. Its input value must 105 UErrorCode &errorCode); 110 * @param errorCode Standard ICU error code. Its input value must 118 normalize(const UnicodeString &src, UErrorCode &errorCode) const { 120 normalize(src, result, errorCode); 129 * @param errorCode Standard ICU error code. Its input value must 139 UErrorCode &errorCode) const = 0; 147 * @param errorCode Standard ICU error code. Its input value must 157 UErrorCode &errorCode) const = 0; 165 * @param errorCode Standard ICU error code. Its input value mus [all...] |
| /external/icu4c/common/ |
| filterednormalizer2.cpp | 34 UErrorCode &errorCode) const { 35 uprv_checkCanGetBuffer(src, errorCode); 36 if(U_FAILURE(errorCode)) { 41 errorCode=U_ILLEGAL_ARGUMENT_ERROR; 45 return normalize(src, dest, USET_SPAN_SIMPLE, errorCode); 59 UErrorCode &errorCode) const { 74 tempDest, errorCode)); 75 if(U_FAILURE(errorCode)) { 89 UErrorCode &errorCode) const { 90 return normalizeSecondAndAppend(first, second, TRUE, errorCode); [all...] |
| charstr.cpp | 22 CharString &CharString::copyFrom(const CharString &s, UErrorCode &errorCode) { 23 if(U_SUCCESS(errorCode) && this!=&s && ensureCapacity(s.len+1, 0, errorCode)) { 40 CharString &CharString::append(char c, UErrorCode &errorCode) { 41 if(ensureCapacity(len+2, 0, errorCode)) { 48 CharString &CharString::append(const char *s, int32_t sLength, UErrorCode &errorCode) { 49 if(U_FAILURE(errorCode)) { 53 errorCode=U_ILLEGAL_ARGUMENT_ERROR; 64 errorCode=U_INTERNAL_PROGRAM_ERROR; 73 return append(CharString(s, sLength, errorCode), errorCode) [all...] |
| normalizer2.cpp | 60 UErrorCode &errorCode) const { 61 if(U_SUCCESS(errorCode)) { 65 errorCode=U_ILLEGAL_ARGUMENT_ERROR; 73 UErrorCode &errorCode) const { 74 if(U_SUCCESS(errorCode)) { 78 errorCode=U_ILLEGAL_ARGUMENT_ERROR; 86 UErrorCode &errorCode) const { 87 if(U_SUCCESS(errorCode)) { 91 errorCode=U_ILLEGAL_ARGUMENT_ERROR; 131 UErrorCode &errorCode) const [all...] |
| /frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/ |
| omxVCM4P10_DeblockChroma_I.c | 67 OMXResult errorCode; 79 errorCode = omxVCM4P10_FilterDeblockingChroma_VerEdge_I( 82 armRetArgErrIf(errorCode != OMX_Sts_NoErr, errorCode) 84 errorCode = omxVCM4P10_FilterDeblockingChroma_HorEdge_I( 87 return errorCode;
|
| omxVCM4P10_DeblockLuma_I.c | 70 OMXResult errorCode; 82 errorCode = omxVCM4P10_FilterDeblockingLuma_VerEdge_I( 85 armRetArgErrIf(errorCode != OMX_Sts_NoErr, errorCode) 87 errorCode = omxVCM4P10_FilterDeblockingLuma_HorEdge_I( 90 return errorCode;
|
| /frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src/ |
| omxVCM4P10_DeblockChroma_I.c | 67 OMXResult errorCode; 79 errorCode = omxVCM4P10_FilterDeblockingChroma_VerEdge_I( 82 armRetArgErrIf(errorCode != OMX_Sts_NoErr, errorCode) 84 errorCode = omxVCM4P10_FilterDeblockingChroma_HorEdge_I( 87 return errorCode;
|
| omxVCM4P10_DeblockLuma_I.c | 70 OMXResult errorCode; 82 errorCode = omxVCM4P10_FilterDeblockingLuma_VerEdge_I( 85 armRetArgErrIf(errorCode != OMX_Sts_NoErr, errorCode) 87 errorCode = omxVCM4P10_FilterDeblockingLuma_HorEdge_I( 90 return errorCode;
|
| /frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/ |
| omxVCM4P10_DeblockChroma_I.c | 86 OMXResult errorCode; 98 errorCode = omxVCM4P10_FilterDeblockingChroma_VerEdge_I( 101 armRetArgErrIf(errorCode != OMX_Sts_NoErr, errorCode) 103 errorCode = omxVCM4P10_FilterDeblockingChroma_HorEdge_I( 106 return errorCode;
|
| omxVCM4P10_DeblockLuma_I.c | 88 OMXResult errorCode; 100 errorCode = omxVCM4P10_FilterDeblockingLuma_VerEdge_I( 103 armRetArgErrIf(errorCode != OMX_Sts_NoErr, errorCode) 105 errorCode = omxVCM4P10_FilterDeblockingLuma_HorEdge_I( 108 return errorCode;
|
| /external/chromium_org/third_party/icu/source/test/cintltst/ |
| sorttest.c | 34 UErrorCode errorCode; 37 errorCode=U_ZERO_ERROR; 38 uprv_sortArray(small, LENGTHOF(small), sizeof(small[0]), uprv_uint16Comparator, NULL, TRUE, &errorCode); 39 if(U_FAILURE(errorCode)) { 40 log_err("uprv_sortArray(small) failed - %s\n", u_errorName(errorCode)); 56 uprv_sortArray(medium, LENGTHOF(medium), sizeof(medium[0]), uprv_int32Comparator, NULL, TRUE, &errorCode); 57 if(U_FAILURE(errorCode)) { 58 log_err("uprv_sortArray(medium) failed - %s\n", u_errorName(errorCode)); 69 errorCode=U_ZERO_ERROR; 70 uprv_sortArray(large, LENGTHOF(large), sizeof(large[0]), uprv_uint32Comparator, NULL, FALSE, &errorCode); [all...] |
| /external/chromium_org/third_party/icu/source/test/perf/ucnvavailperf/ |
| ucnvavailperf.cpp | 82 UErrorCode errorCode = U_ZERO_ERROR; 86 u_setMemoryFunctions(NULL, my_alloc, my_realloc, my_free, &errorCode); 87 if(U_FAILURE(errorCode)) { 90 u_errorName(errorCode)); 91 return errorCode; 103 ucnv_close(ucnv_open("ibm-1208", &errorCode)); 104 if(U_FAILURE(errorCode)) { 107 u_errorName(errorCode)); 108 return errorCode;
|
| /external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/sftp/ |
| ErrorCodes.java | 100 public static final String[] getDescription(int errorCode) 102 if ((errorCode < 0) || (errorCode >= messages.length)) 105 return messages[errorCode];
|
| /external/icu4c/samples/udata/ |
| writer.c | 62 UErrorCode errorCode=U_ZERO_ERROR; 75 U_COPYRIGHT_STRING, &errorCode); 82 if(U_FAILURE(errorCode)) { 83 fprintf(stderr, "Error: unable to create data memory, error %d\n", errorCode); 84 exit(errorCode); 95 dataLength=udata_finish(pData, &errorCode); 96 if(U_FAILURE(errorCode)) { 97 fprintf(stderr, "Error: error %d writing the output file\n", errorCode); 98 exit(errorCode);
|
| /external/icu4c/test/perf/ucnvavailperf/ |
| ucnvavailperf.cpp | 82 UErrorCode errorCode = U_ZERO_ERROR; 86 u_setMemoryFunctions(NULL, my_alloc, my_realloc, my_free, &errorCode); 87 if(U_FAILURE(errorCode)) { 90 u_errorName(errorCode)); 91 return errorCode; 103 ucnv_close(ucnv_open("ibm-1208", &errorCode)); 104 if(U_FAILURE(errorCode)) { 107 u_errorName(errorCode)); 108 return errorCode;
|
| /frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/ |
| omxVCM4P2_DecodeBlockCoef_Intra.c | 112 OMXResult errorCode; 165 errorCode = omxVCM4P2_DecodeVLCZigzag_IntraDCVLC( 172 armRetDataErrIf((errorCode != OMX_Sts_NoErr), errorCode); 176 errorCode = omxVCM4P2_DecodeVLCZigzag_IntraACVLC( 182 armRetDataErrIf((errorCode != OMX_Sts_NoErr), errorCode); 186 errorCode = omxVCM4P2_PredictReconCoefIntra( 195 armRetDataErrIf((errorCode != OMX_Sts_NoErr), errorCode); [all...] |
| /external/icu4c/common/unicode/ |
| normalizer2.h | 88 * Same as getInstance(NULL, "nfc", UNORM2_COMPOSE, errorCode). 90 * @param errorCode Standard ICU error code. Its input value must 98 getNFCInstance(UErrorCode &errorCode); 102 * Same as getInstance(NULL, "nfc", UNORM2_DECOMPOSE, errorCode). 104 * @param errorCode Standard ICU error code. Its input value must 112 getNFDInstance(UErrorCode &errorCode); 116 * Same as getInstance(NULL, "nfkc", UNORM2_COMPOSE, errorCode). 118 * @param errorCode Standard ICU error code. Its input value must 126 getNFKCInstance(UErrorCode &errorCode); 130 * Same as getInstance(NULL, "nfkc", UNORM2_DECOMPOSE, errorCode) [all...] |
| /external/chromium_org/third_party/icu/source/test/perf/unisetperf/draft/ |
| trieset.cpp | 33 TrieSet(const UnicodeSet &set, UErrorCode &errorCode) 35 if(U_FAILURE(errorCode)) { 39 errorCode=U_MEMORY_ALLOCATION_ERROR; 58 errorCode=U_INTERNAL_PROGRAM_ERROR; 64 int32_t length=utrie_serialize(newTrie, NULL, 0, NULL, 8, &errorCode); 65 if(errorCode!=U_BUFFER_OVERFLOW_ERROR) { 71 errorCode=U_MEMORY_ALLOCATION_ERROR; 75 errorCode=U_ZERO_ERROR; 76 utrie_serialize(newTrie, trieData, length, NULL, 8, &errorCode); 77 utrie_unserialize(&trie, trieData, length, &errorCode); // TODO: Implement for 8-bit UTrie [all...] |
| /external/icu4c/test/perf/unisetperf/draft/ |
| trieset.cpp | 33 TrieSet(const UnicodeSet &set, UErrorCode &errorCode) 35 if(U_FAILURE(errorCode)) { 39 errorCode=U_MEMORY_ALLOCATION_ERROR; 58 errorCode=U_INTERNAL_PROGRAM_ERROR; 64 int32_t length=utrie_serialize(newTrie, NULL, 0, NULL, 8, &errorCode); 65 if(errorCode!=U_BUFFER_OVERFLOW_ERROR) { 71 errorCode=U_MEMORY_ALLOCATION_ERROR; 75 errorCode=U_ZERO_ERROR; 76 utrie_serialize(newTrie, trieData, length, NULL, 8, &errorCode); 77 utrie_unserialize(&trie, trieData, length, &errorCode); // TODO: Implement for 8-bit UTrie [all...] |
| /external/icu4c/tools/toolutil/ |
| ppucd.cpp | 57 PreparsedUCD::PreparsedUCD(const char *filename, UErrorCode &errorCode) 64 if(U_FAILURE(errorCode)) { return; } 75 errorCode=U_FILE_ACCESS_ERROR; 105 PreparsedUCD::readLine(UErrorCode &errorCode) { 106 if(U_FAILURE(errorCode)) { return NO_LINE; } 123 errorCode=U_FILE_ACCESS_ERROR; 155 errorCode=U_PARSE_ERROR; 185 PreparsedUCD::getProps(UnicodeSet &newValues, UErrorCode &errorCode) { 186 if(U_FAILURE(errorCode)) { return NULL; } 189 errorCode=U_ILLEGAL_ARGUMENT_ERROR [all...] |