HomeSort by relevance Sort by last modified time
    Searched full:errorcode (Results 1 - 25 of 637) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/icu4c/common/
errorcode.cpp 8 * file name: errorcode.cpp
18 #include "unicode/errorcode.h"
22 ErrorCode::~ErrorCode() {}
24 UErrorCode ErrorCode::reset() {
25 UErrorCode code = errorCode;
26 errorCode = U_ZERO_ERROR;
30 void ErrorCode::assertSuccess() const {
36 const char* ErrorCode::errorName() const {
37 return u_errorName(errorCode);
    [all...]
listformatter.cpp 46 void ListFormatter::initializeHash(UErrorCode& errorCode) {
47 if (U_FAILURE(errorCode)) {
53 errorCode = U_MEMORY_ALLOCATION_ERROR;
60 addDataToHash("af", "{0} en {1}", "{0}, {1}", "{0}, {1}", "{0} en {1}", errorCode);
61 addDataToHash("am", "{0} \\u12a5\\u1293 {1}", "{0}, {1}", "{0}, {1}", "{0}, \\u12a5\\u1293 {1}", errorCode);
62 addDataToHash("ar", "{0} \\u0648 {1}", "{0}\\u060c {1}", "{0}\\u060c {1}", "{0}\\u060c \\u0648 {1}", errorCode);
63 addDataToHash("bg", "{0} \\u0438 {1}", "{0}, {1}", "{0}, {1}", "{0} \\u0438 {1}", errorCode);
64 addDataToHash("bn", "{0} \\u098f\\u09ac\\u0982 {1}", "{0}, {1}", "{0}, {1}", "{0}, \\u098f\\u09ac\\u0982 {1}", errorCode);
65 addDataToHash("bs", "{0} i {1}", "{0}, {1}", "{0}, {1}", "{0} i {1}", errorCode);
66 addDataToHash("ca", "{0} i {1}", "{0}, {1}", "{0}, {1}", "{0} i {1}", 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 62 UErrorCode &errorCode) const {
63 if(U_SUCCESS(errorCode)) {
67 errorCode=U_ILLEGAL_ARGUMENT_ERROR;
75 UErrorCode &errorCode) const {
76 if(U_SUCCESS(errorCode)) {
80 errorCode=U_ILLEGAL_ARGUMENT_ERROR;
88 UErrorCode &errorCode) const {
89 if(U_SUCCESS(errorCode)) {
93 errorCode=U_ILLEGAL_ARGUMENT_ERROR;
133 UErrorCode &errorCode) const
    [all...]
locresdata.cpp 52 UErrorCode errorCode;
59 errorCode=U_ZERO_ERROR;
60 rb=ures_open(path, locale, &errorCode);
62 if(U_FAILURE(errorCode)) {
64 *pErrorCode=errorCode;
66 } else if(errorCode==U_USING_DEFAULT_WARNING ||
67 (errorCode==U_USING_FALLBACK_WARNING && *pErrorCode!=U_USING_DEFAULT_WARNING)
70 *pErrorCode=errorCode;
76 ures_getByKeyWithFallback(rb, tableKey, &table, &errorCode);
80 ures_getByKeyWithFallback(&table,subTableKey, &subTable, &errorCode);
    [all...]
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...]
bytestrieiterator.cpp 24 UErrorCode &errorCode)
29 if(U_FAILURE(errorCode)) {
39 stack_=new UVector32(errorCode);
40 if(U_SUCCESS(errorCode) && (str_==NULL || stack_==NULL)) {
41 errorCode=U_MEMORY_ALLOCATION_ERROR;
46 UErrorCode &errorCode)
51 if(U_FAILURE(errorCode)) {
55 stack_=new UVector32(errorCode);
56 if(U_FAILURE(errorCode)) {
60 errorCode=U_MEMORY_ALLOCATION_ERROR
    [all...]
  /external/icu4c/test/intltest/
itutil.cpp 13 #include "unicode/errorcode.h"
106 ErrorCode errorCode;
107 if(errorCode.get()!=U_ZERO_ERROR || !errorCode.isSuccess() || errorCode.isFailure()) {
108 errln("ErrorCode did not initialize properly");
111 errorCode.assertSuccess();
112 if(errorCode.errorName()!=u_errorName(U_ZERO_ERROR)) {
113 errln("ErrorCode did not format error message string properly")
    [all...]
  /external/icu4c/test/cintltst/
cstrcase.c 43 UErrorCode errorCode;
47 errorCode=U_ZERO_ERROR;
51 &errorCode);
52 if( U_FAILURE(errorCode) ||
59 u_errorName(errorCode),
69 errorCode=U_ZERO_ERROR;
73 &errorCode);
74 if( U_FAILURE(errorCode) ||
81 u_errorName(errorCode),
87 errorCode=U_ZERO_ERROR
    [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...]
trie2test.c 488 UErrorCode errorCode;
502 errorCode=U_ZERO_ERROR;
504 utrie2_set32(trie, 1, 234, &errorCode);
506 if(errorCode!=U_NO_WRITE_PERMISSION || value2!=value) {
508 testName, u_errorName(errorCode));
512 errorCode=U_ZERO_ERROR;
513 utrie2_setRange32(trie, 1, 5, 234, TRUE, &errorCode);
515 if(errorCode!=U_NO_WRITE_PERMISSION || value2!=value) {
517 testName, u_errorName(errorCode));
521 errorCode=U_ZERO_ERROR
    [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...]
udatpg_test.c 73 UErrorCode errorCode=U_ZERO_ERROR;
79 dtpg=udatpg_open(NULL, &errorCode);
80 if(U_FAILURE(errorCode)) {
81 log_err_status(errorCode, "udatpg_open(NULL) failed - %s\n", u_errorName(errorCode));
87 dtpg=udatpg_open("de", &errorCode);
88 if(U_FAILURE(errorCode)) {
89 log_err("udatpg_open(de) failed - %s\n", u_errorName(errorCode));
97 dtpg2=udatpg_clone(dtpg, &errorCode);
98 if(U_FAILURE(errorCode) || dtpg2==NULL)
    [all...]
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...]
cldrtest.c 75 UErrorCode errorCode = U_ZERO_ERROR;
84 errorCode = U_ZERO_ERROR;
86 subBundle = ures_getNextResource(currentBundle, NULL, &errorCode);
87 if (U_FAILURE(errorCode)) {
88 log_err("Can't open a resource for lnocale %s. Error: %s\n", locale, u_errorName(errorCode));
94 subRootBundle = ures_getByKey(root, subBundleKey, NULL, &errorCode);
95 if (U_FAILURE(errorCode)) {
120 const int32_t *subRootBundleArr = ures_getIntVector(subRootBundle, &minSize, &errorCode);
121 const int32_t *subBundleArr = ures_getIntVector(subBundle, &subBundleSize, &errorCode);
156 UResourceBundle *subSubBundle = ures_getByIndex(subBundle, 0, NULL, &errorCode);
    [all...]
  /frameworks/compile/libbcc/include/bcc/
Linker.h 45 enum ErrorCode {
61 static const char *GetErrorString(enum ErrorCode pErrCode);
79 enum ErrorCode config(const LinkerConfig& pConfig);
81 enum ErrorCode addNameSpec(const std::string &pNameSpec);
83 enum ErrorCode addObject(const std::string &pObjectPath);
85 enum ErrorCode addObject(void* pMemory, size_t pSize);
87 enum ErrorCode addCode(void* pMemory, size_t pSize);
89 enum ErrorCode setOutput(const std::string &pPath);
91 enum ErrorCode setOutput(int pFileHandler);
93 enum ErrorCode link()
    [all...]
  /external/xmp_toolkit/XMPCore/src/com/adobe/xmp/
XMPException.java 19 /** the errorCode of the XMP toolkit */
20 private int errorCode;
26 * @param errorCode the error code
28 public XMPException(String message, int errorCode)
31 this.errorCode = errorCode;
38 * @param errorCode the error code
41 public XMPException(String message, int errorCode, Throwable t)
44 this.errorCode = errorCode;
    [all...]
  /external/icu4c/common/unicode/
errorcode.h 8 * file name: errorcode.h
22 * \brief C++ API: ErrorCode class intended to make it easier to use
50 * The ErrorCode base class destructor does nothing.
58 * class IcuErrorCode: public icu::ErrorCode {
66 * log_failure(u_errorName(errorCode));
67 * exit(errorCode);
79 class U_COMMON_API ErrorCode: public UMemory {
85 ErrorCode() : errorCode(U_ZERO_ERROR) {}
87 virtual ~ErrorCode();
    [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...]
  /frameworks/compile/mclinker/tools/mcld/include/alone/
Linker.h 38 enum ErrorCode {
54 static const char *GetErrorString(enum ErrorCode pErrCode);
72 enum ErrorCode config(const LinkerConfig& pConfig);
74 enum ErrorCode addNameSpec(const std::string &pNameSpec);
76 enum ErrorCode addObject(const std::string &pObjectPath);
78 enum ErrorCode addObject(void* pMemory, size_t pSize);
80 enum ErrorCode addCode(void* pMemory, size_t pSize);
82 enum ErrorCode setOutput(const std::string &pPath);
84 enum ErrorCode setOutput(int pFileHandler);
86 enum ErrorCode link()
    [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...]
  /frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/
omxVCM4P2_DecodeBlockCoef_Inter.c 77 OMXResult errorCode;
83 errorCode = omxVCM4P2_DecodeVLCZigzag_Inter(ppBitStream, pBitOffset,
85 armRetDataErrIf((errorCode != OMX_Sts_NoErr), errorCode);
88 errorCode = omxVCM4P2_QuantInvInter_I(
91 armRetDataErrIf((errorCode != OMX_Sts_NoErr), errorCode);
94 errorCode = omxVCM4P2_IDCT8x8blk(pTempBuf1, pDst);
95 armRetDataErrIf((errorCode != OMX_Sts_NoErr), errorCode);
    [all...]
  /frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p2/src/
omxVCM4P2_DecodeBlockCoef_Inter.c 77 OMXResult errorCode;
83 errorCode = omxVCM4P2_DecodeVLCZigzag_Inter(ppBitStream, pBitOffset,
85 armRetDataErrIf((errorCode != OMX_Sts_NoErr), errorCode);
88 errorCode = omxVCM4P2_QuantInvInter_I(
91 armRetDataErrIf((errorCode != OMX_Sts_NoErr), errorCode);
94 errorCode = omxVCM4P2_IDCT8x8blk(pTempBuf1, pDst);
95 armRetDataErrIf((errorCode != OMX_Sts_NoErr), errorCode);
    [all...]
  /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);

Completed in 2534 milliseconds

1 2 3 4 5 6 7 8 91011>>