HomeSort by relevance Sort by last modified time
    Searched refs:errorCode (Results 51 - 75 of 716) sorted by null

1 23 4 5 6 7 8 91011>>

  /external/icu/icu4c/source/i18n/
ucol_res.cpp 81 CollationLoader::loadRootRules(UErrorCode &errorCode) {
82 if(U_FAILURE(errorCode)) { return; }
83 rootBundle = ures_open(U_ICUDATA_COLL, kRootLocaleName, &errorCode);
84 if(U_FAILURE(errorCode)) { return; }
85 rootRules = ures_getStringByKey(rootBundle, "UCARules", &rootRulesLength, &errorCode);
86 if(U_FAILURE(errorCode)) {
96 UErrorCode errorCode = U_ZERO_ERROR;
97 umtx_initOnce(gInitOnce, CollationLoader::loadRootRules, errorCode);
98 if(U_SUCCESS(errorCode)) {
104 CollationLoader::loadRules(const char *localeID, const char *collationType, UErrorCode &errorCode) {
    [all...]
collationfastlatinbuilder.h 31 CollationFastLatinBuilder(UErrorCode &errorCode);
34 UBool forData(const CollationData &data, UErrorCode &errorCode);
42 UBool loadGroups(const CollationData &data, UErrorCode &errorCode);
46 void getCEs(const CollationData &data, UErrorCode &errorCode);
48 UErrorCode &errorCode);
50 UErrorCode &errorCode);
51 void addContractionEntry(int32_t x, int64_t cce0, int64_t cce1, UErrorCode &errorCode);
52 void addUniqueCE(int64_t ce, UErrorCode &errorCode);
54 UBool encodeUniqueCEs(UErrorCode &errorCode);
55 UBool encodeCharCEs(UErrorCode &errorCode);
    [all...]
collationruleparser.cpp 58 CollationRuleParser::CollationRuleParser(const CollationData *base, UErrorCode &errorCode)
59 : nfd(*Normalizer2::getNFDInstance(errorCode)),
60 nfc(*Normalizer2::getNFCInstance(errorCode)),
74 UErrorCode &errorCode) {
75 if(U_FAILURE(errorCode)) { return; }
85 parse(ruleString, errorCode);
89 CollationRuleParser::parse(const UnicodeString &ruleString, UErrorCode &errorCode) {
90 if(U_FAILURE(errorCode)) { return; }
102 parseRuleChain(errorCode);
105 parseSetting(errorCode);
    [all...]
collationruleparser.h 78 const char *&errorReason, UErrorCode &errorCode) = 0;
84 const char *&errorReason, UErrorCode &errorCode) = 0;
87 UErrorCode &errorCode);
90 UErrorCode &errorCode);
98 const char *&errorReason, UErrorCode &errorCode) = 0;
106 CollationRuleParser(const CollationData *base, UErrorCode &errorCode);
128 UErrorCode &errorCode);
146 void parse(const UnicodeString &ruleString, UErrorCode &errorCode);
147 void parseRuleChain(UErrorCode &errorCode);
148 int32_t parseResetAndPosition(UErrorCode &errorCode);
    [all...]
rulebasedcollator.cpp 153 const RuleBasedCollator *base, UErrorCode &errorCode)
160 if(U_FAILURE(errorCode)) { return; }
162 errorCode = U_ILLEGAL_ARGUMENT_ERROR;
165 const CollationTailoring *root = CollationRoot::getRoot(errorCode);
166 if(U_FAILURE(errorCode)) { return; }
168 errorCode = U_UNSUPPORTED_ERROR;
173 errorCode = U_MEMORY_ALLOCATION_ERROR;
176 CollationDataReader::read(base->tailoring, bin, length, *t, errorCode);
177 if(U_FAILURE(errorCode)) { return; }
247 UErrorCode errorCode = U_ZERO_ERROR
    [all...]
  /external/icu/icu4c/source/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/icu/icu4c/source/common/
normalizer2.cpp 61 UErrorCode &errorCode) const {
62 if(U_SUCCESS(errorCode)) {
66 errorCode=U_ILLEGAL_ARGUMENT_ERROR;
74 UErrorCode &errorCode) const {
75 if(U_SUCCESS(errorCode)) {
79 errorCode=U_ILLEGAL_ARGUMENT_ERROR;
87 UErrorCode &errorCode) const {
88 if(U_SUCCESS(errorCode)) {
92 errorCode=U_ILLEGAL_ARGUMENT_ERROR;
132 UErrorCode &errorCode) const
    [all...]
  /external/icu/icu4c/source/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...]
  /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/icu/icu4c/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/chromium_org/third_party/icu/source/test/intltest/
convtest.cpp 54 UErrorCode errorCode=U_ZERO_ERROR;
55 utf8Cnv=ucnv_open("UTF-8", &errorCode);
56 ucnv_setToUCallBack(utf8Cnv, UCNV_TO_U_CALLBACK_STOP, NULL, NULL, NULL, &errorCode);
57 if(U_FAILURE(errorCode)) {
98 UErrorCode errorCode;
101 errorCode=U_ZERO_ERROR;
102 dataModule=TestDataModule::getTestDataModule("conversion", *this, errorCode);
103 if(U_SUCCESS(errorCode)) {
104 testData=dataModule->createTestData("toUnicode", errorCode);
105 if(U_SUCCESS(errorCode)) {
    [all...]
  /external/icu/icu4c/source/test/intltest/
convtest.cpp 54 UErrorCode errorCode=U_ZERO_ERROR;
55 utf8Cnv=ucnv_open("UTF-8", &errorCode);
56 ucnv_setToUCallBack(utf8Cnv, UCNV_TO_U_CALLBACK_STOP, NULL, NULL, NULL, &errorCode);
57 if(U_FAILURE(errorCode)) {
98 UErrorCode errorCode;
101 errorCode=U_ZERO_ERROR;
102 dataModule=TestDataModule::getTestDataModule("conversion", *this, errorCode);
103 if(U_SUCCESS(errorCode)) {
104 testData=dataModule->createTestData("toUnicode", errorCode);
105 if(U_SUCCESS(errorCode)) {
    [all...]
itutil.cpp 13 #include "unicode/errorcode.h"
133 ErrorCode errorCode;
134 if(errorCode.get()!=U_ZERO_ERROR || !errorCode.isSuccess() || errorCode.isFailure()) {
135 errln("ErrorCode did not initialize properly");
138 errorCode.assertSuccess();
139 if(errorCode.errorName()!=u_errorName(U_ZERO_ERROR)) {
140 errln("ErrorCode did not format error message string properly")
    [all...]
collationtest.cpp 17 #include "unicode/errorcode.h"
102 UBool readLine(UCHARBUF *f, IcuTestErrorCode &errorCode);
103 void parseString(int32_t &start, UnicodeString &prefix, UnicodeString &s, UErrorCode &errorCode);
104 Collation::Level parseRelationAndString(UnicodeString &s, IcuTestErrorCode &errorCode);
105 void parseAndSetAttribute(IcuTestErrorCode &errorCode);
106 void parseAndSetReorderCodes(int32_t start, IcuTestErrorCode &errorCode);
107 void buildTailoring(UCHARBUF *f, IcuTestErrorCode &errorCode);
108 void setRootCollator(IcuTestErrorCode &errorCode);
109 void setLocaleCollator(IcuTestErrorCode &errorCode);
111 UBool needsNormalization(const UnicodeString &s, UErrorCode &errorCode) const
    [all...]
ucdtest.cpp 36 UErrorCode errorCode=U_ZERO_ERROR;
37 unknownPropertyNames=new U_NAMESPACE_QUALIFIER Hashtable(errorCode);
38 if(U_FAILURE(errorCode)) {
44 unknownPropertyNames->puti(UnicodeString(ignorePropNames[i], -1, US_INV), 1, errorCode);
178 UErrorCode errorCode=U_ZERO_ERROR;
179 me->unknownPropertyNames->puti(propName, 1, errorCode);
204 UErrorCode errorCode=U_ZERO_ERROR;
215 strcpy(backupPath, loadTestData(errorCode));
222 u_parseDelimitedFile(newPath, ';', fields, 2, derivedPropsLineFn, this, &errorCode);
224 if(errorCode==U_FILE_ACCESS_ERROR)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/platform/network/
SocketStreamError.cpp 44 if (a.errorCode() != b.errorCode())
SocketStreamError.h 44 static PassRefPtr<SocketStreamError> create(int errorCode, const String& errorMessage)
46 return adoptRef(new SocketStreamError(errorCode, errorMessage));
51 int errorCode() const { return m_errorCode; }
58 explicit SocketStreamError(int errorCode, const String& errorMessage)
59 : m_errorCode(errorCode)
  /frameworks/base/core/java/android/accounts/
IAccountAuthenticatorResponse.aidl 27 void onError(int errorCode, String errorMessage);
IAccountManagerResponse.aidl 26 void onError(int errorCode, String errorMessage);
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/
SmsResponse.java 30 * errorCode: See 3GPP 27.005, 3.2.5 for GSM/UMTS,
35 public SmsResponse(int messageRef, String ackPdu, int errorCode) {
38 mErrorCode = errorCode;
  /external/chromium_org/third_party/icu/source/common/
normalizer2.cpp 41 UErrorCode &errorCode) const {
42 if(U_SUCCESS(errorCode)) {
46 errorCode=U_ILLEGAL_ARGUMENT_ERROR;
54 UErrorCode &errorCode) const {
55 if(U_SUCCESS(errorCode)) {
59 errorCode=U_ILLEGAL_ARGUMENT_ERROR;
67 UErrorCode &errorCode) const {
68 if(U_SUCCESS(errorCode)) {
72 errorCode=U_ILLEGAL_ARGUMENT_ERROR;
108 UErrorCode &errorCode) const
    [all...]
  /external/chromium_org/third_party/icu/source/test/iotest/
iotest.cpp 196 UErrorCode errorCode;
221 errorCode=U_ZERO_ERROR;
222 dataModule=TestDataModule::getTestDataModule("icuio", logger, errorCode);
223 if(U_SUCCESS(errorCode)) {
224 testData=dataModule->createTestData("printf", errorCode);
225 if(U_SUCCESS(errorCode)) {
226 for(i=0; testData->nextCase(testCase, errorCode); ++i) {
227 if(U_FAILURE(errorCode)) {
229 i, u_errorName(errorCode));
230 errorCode=U_ZERO_ERROR
    [all...]
  /external/chromium_org/third_party/icu/source/test/cintltst/
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...]
  /external/icu/icu4c/source/test/cintltst/
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...]
  /external/icu/icu4c/source/samples/case/
ucase.c 24 UErrorCode errorCode = U_ZERO_ERROR;
51 sizeof(upper)/sizeof(upper[0]), "tr", &errorCode);
52 if(U_FAILURE(errorCode) || buffer[length]!=0) {
54 u_errorName(errorCode));
64 sizeof(upper)/sizeof(upper[0]), "en", &errorCode);
65 if(U_FAILURE(errorCode) || buffer[length]!=0) {
67 u_errorName(errorCode));
76 &errorCode);
77 if(U_FAILURE(errorCode) || buffer[length]!=0) {
79 u_errorName(errorCode));
    [all...]

Completed in 1377 milliseconds

1 23 4 5 6 7 8 91011>>