HomeSort by relevance Sort by last modified time
    Searched refs:errorCode (Results 201 - 225 of 973) sorted by null

1 2 3 4 5 6 7 891011>>

  /external/icu/icu4c/source/test/cintltst/
nucnvtst.c 181 UErrorCode errorCode=U_ZERO_ERROR;
186 c=ucnv_getNextUChar(cnv, &s, limit, &errorCode);
187 if(errorCode==U_INDEX_OUTOFBOUNDS_ERROR) {
189 } else if(U_FAILURE(errorCode)) {
190 log_err("%s ucnv_getNextUChar() failed: %s\n", message, u_errorName(errorCode));
209 UErrorCode errorCode=U_ZERO_ERROR;
211 c=ucnv_getNextUChar(cnv, &s, limit, &errorCode);
212 if(errorCode != expected){
213 log_err("FAIL: Expected:%s when %s-----Got:%s\n", myErrorName(expected), message, myErrorName(errorCode));
    [all...]
spreptst.c 33 int32_t options, UErrorCode* errorCode);
65 UErrorCode errorCode = U_ZERO_ERROR;
66 loadTestData(&errorCode);
67 if(U_FAILURE(errorCode)) {
68 log_data_err("Could not load testdata.dat, status = %s\n", u_errorName(errorCode));
73 doStringPrepTest("nfscsi","nfs4_cs_prep_ci.txt", USPREP_DEFAULT, &errorCode);
76 errorCode = U_ZERO_ERROR;
77 doStringPrepTest("nfscss","nfs4_cs_prep_cs.txt", USPREP_DEFAULT, &errorCode);
83 UErrorCode errorCode = U_ZERO_ERROR;
85 doStringPrepTest("nfscis","nfs4_cis_prep.txt", USPREP_DEFAULT, &errorCode);
    [all...]
cintltst.c 92 UErrorCode errorCode = U_ZERO_ERROR;
116 u_init(&errorCode);
117 if (U_FAILURE(errorCode)) {
119 "#### Note: ICU Init without build-specific setDataDirectory() failed. %s\n", u_errorName(errorCode));
133 errorCode = U_ZERO_ERROR;
139 u_init(&errorCode);
140 if (U_FAILURE(errorCode)) {
144 "*** check that the data files are present.\n", argv[0], u_errorName(errorCode));
155 cnv = ucnv_open(TRY_CNV_2, &errorCode);
171 rb = ures_open(NULL, "en", &errorCode);
    [all...]
cstrtest.c 237 UErrorCode errorCode;
239 errorCode=U_ZERO_ERROR;
240 cnv=ucnv_open(NULL, &errorCode);
241 if(U_FAILURE(errorCode)) {
244 length=ucnv_fromUChars(cnv, cs, sizeof(cs), invariantUChars, -1, &errorCode);
245 if(U_FAILURE(errorCode)) {
246 log_err("ucnv_fromUChars(invariantUChars) failed - %s\n", u_errorName(errorCode));
251 errorCode=U_ZERO_ERROR;
252 length=ucnv_toUChars(cnv, us, UPRV_LENGTHOF(us), invariantChars, -1, &errorCode);
253 if(U_FAILURE(errorCode)) {
    [all...]
  /external/icu/icu4c/source/i18n/
utf8collationiterator.cpp 45 UTF8CollationIterator::handleNextCE32(UChar32 &c, UErrorCode & /*errorCode*/) {
96 UTF8CollationIterator::nextCodePoint(UErrorCode & /*errorCode*/) {
110 UTF8CollationIterator::previousCodePoint(UErrorCode & /*errorCode*/) {
120 UTF8CollationIterator::forwardNumCodePoints(int32_t num, UErrorCode & /*errorCode*/) {
125 UTF8CollationIterator::backwardNumCodePoints(int32_t num, UErrorCode & /*errorCode*/) {
152 FCDUTF8CollationIterator::handleNextCE32(UChar32 &c, UErrorCode &errorCode) {
206 if(!nextSegment(errorCode)) {
212 return UTF8CollationIterator::handleNextCE32(c, errorCode);
267 FCDUTF8CollationIterator::nextCodePoint(UErrorCode &errorCode) {
285 if(!nextSegment(errorCode)) {
    [all...]
uitercollationiterator.cpp 45 UIterCollationIterator::handleNextCE32(UChar32 &c, UErrorCode & /*errorCode*/) {
61 UIterCollationIterator::nextCodePoint(UErrorCode & /*errorCode*/) {
66 UIterCollationIterator::previousCodePoint(UErrorCode & /*errorCode*/) {
71 UIterCollationIterator::forwardNumCodePoints(int32_t num, UErrorCode & /*errorCode*/) {
78 UIterCollationIterator::backwardNumCodePoints(int32_t num, UErrorCode & /*errorCode*/) {
109 FCDUIterCollationIterator::handleNextCE32(UChar32 &c, UErrorCode &errorCode) {
120 if(!nextSegment(errorCode)) {
162 FCDUIterCollationIterator::nextCodePoint(UErrorCode &errorCode) {
174 if(!nextSegment(errorCode)) {
205 FCDUIterCollationIterator::previousCodePoint(UErrorCode &errorCode) {
    [all...]
utf16collationiterator.cpp 60 UTF16CollationIterator::handleNextCE32(UChar32 &c, UErrorCode & /*errorCode*/) {
88 UTF16CollationIterator::nextCodePoint(UErrorCode & /*errorCode*/) {
108 UTF16CollationIterator::previousCodePoint(UErrorCode & /*errorCode*/) {
123 UTF16CollationIterator::forwardNumCodePoints(int32_t num, UErrorCode & /*errorCode*/) {
139 UTF16CollationIterator::backwardNumCodePoints(int32_t num, UErrorCode & /*errorCode*/) {
210 FCDUTF16CollationIterator::handleNextCE32(UChar32 &c, UErrorCode &errorCode) {
222 if(!nextSegment(errorCode)) {
251 FCDUTF16CollationIterator::nextCodePoint(UErrorCode &errorCode) {
263 if(!nextSegment(errorCode)) {
290 FCDUTF16CollationIterator::previousCodePoint(UErrorCode &errorCode) {
    [all...]
measfmt.cpp 237 int32_t minPlaceholders, UErrorCode &errorCode) {
239 if (U_SUCCESS(errorCode) && patterns[index] == NULL) {
242 value.getUnicodeString(errorCode), minPlaceholders, 1, errorCode);
244 if (U_SUCCESS(errorCode) && patterns[index] == NULL) {
245 errorCode = U_MEMORY_ALLOCATION_ERROR;
250 void setDnamIfAbsent(const ResourceValue &value, UErrorCode& errorCode) {
253 cacheData.dnams[unitIndex][width] = value.getString(length, errorCode);
261 void consumePattern(const char *key, const ResourceValue &value, UErrorCode &errorCode) {
262 if (U_FAILURE(errorCode)) { return;
    [all...]
dtitvinf.cpp 240 virtual void put(const char *key, ResourceValue &value, UBool /*noFallback*/, UErrorCode &errorCode) {
241 if (U_FAILURE(errorCode)) { return; }
244 ResourceTable dateIntervalData = value.getTable(errorCode);
245 if (U_FAILURE(errorCode)) { return; }
254 const UnicodeString &aliasPath = value.getAliasUnicodeString(errorCode);
255 if (U_FAILURE(errorCode)) { return; }
258 getCalendarTypeFromPath(aliasPath, nextCalendarType, errorCode);
260 if (U_FAILURE(errorCode)) {
267 ResourceTable skeletonData = value.getTable(errorCode);
268 if (U_FAILURE(errorCode)) { return;
    [all...]
coleitr.cpp 383 UErrorCode errorCode = U_ZERO_ERROR;
385 offsets_ = new UVector32(other.offsets_->size(), errorCode);
388 offsets_->assign(*other.offsets_, errorCode);
398 MaxExpSink(UHashtable *h, UErrorCode &ec) : maxExpansions(h), errorCode(ec) {}
422 uhash_iputi(maxExpansions, (int32_t)lastHalf, count, &errorCode);
428 UErrorCode &errorCode;
436 CollationElementIterator::computeMaxExpansions(const CollationData *data, UErrorCode &errorCode) {
437 if (U_FAILURE(errorCode)) { return NULL; }
439 uhash_compareLong, &errorCode);
440 if (U_FAILURE(errorCode)) { return NULL;
    [all...]
udat.cpp 738 // TODO: also needs an errorCode.
903 const UChar *value, int32_t valueLength, UErrorCode &errorCode)
907 errorCode=U_INDEX_OUTOFBOUNDS_ERROR;
909 errorCode=U_ILLEGAL_ARGUMENT_ERROR;
918 const UChar *value, int32_t valueLength, UErrorCode &errorCode)
920 setSymbol(syms->fEras, syms->fErasCount, index, value, valueLength, errorCode);
925 const UChar *value, int32_t valueLength, UErrorCode &errorCode)
927 setSymbol(syms->fEraNames, syms->fEraNamesCount, index, value, valueLength, errorCode);
932 const UChar *value, int32_t valueLength, UErrorCode &errorCode)
934 setSymbol(syms->fMonths, syms->fMonthsCount, index, value, valueLength, errorCode);
    [all...]
  /external/icu/icu4c/source/common/unicode/
bytestriebuilder.h 44 * @param errorCode Standard ICU error code.
47 BytesTrieBuilder(UErrorCode &errorCode);
62 * @param errorCode Standard ICU error code. Its input value must
69 BytesTrieBuilder &add(StringPiece s, int32_t value, UErrorCode &errorCode);
82 * @param errorCode Standard ICU error code. Its input value must
89 BytesTrie *build(UStringTrieBuildOption buildOption, UErrorCode &errorCode);
106 * @param errorCode Standard ICU error code. Its input value must
113 StringPiece buildStringPiece(UStringTrieBuildOption buildOption, UErrorCode &errorCode);
127 void buildBytes(UStringTrieBuildOption buildOption, UErrorCode &errorCode);
ucharstriebuilder.h 44 * @param errorCode Standard ICU error code.
47 UCharsTrieBuilder(UErrorCode &errorCode);
62 * @param errorCode Standard ICU error code. Its input value must
69 UCharsTrieBuilder &add(const UnicodeString &s, int32_t value, UErrorCode &errorCode);
82 * @param errorCode Standard ICU error code. Its input value must
89 UCharsTrie *build(UStringTrieBuildOption buildOption, UErrorCode &errorCode);
108 * @param errorCode Standard ICU error code. Its input value must
116 UErrorCode &errorCode);
135 void buildUChars(UStringTrieBuildOption buildOption, UErrorCode &errorCode);
normlzr.h 319 * @param errorCode ICU error code in/out parameter.
328 isNormalized(const UnicodeString &src, UNormalizationMode mode, UErrorCode &errorCode);
337 * @param errorCode ICU error code in/out parameter.
346 isNormalized(const UnicodeString &src, UNormalizationMode mode, int32_t options, UErrorCode &errorCode);
366 * @param errorCode ICU error code in/out parameter.
381 UErrorCode &errorCode);
436 * @param errorCode ICU error code in/out parameter.
451 UErrorCode &errorCode);
797 UErrorCode &errorCode) {
802 &errorCode);
    [all...]
  /external/icu/icu4c/source/test/intltest/
bytestrietest.cpp 80 IcuTestErrorCode errorCode(*this, "BytesTrieTest()");
81 builder_=new BytesTrieBuilder(errorCode);
116 IcuTestErrorCode errorCode(*this, "TestBuilder()");
118 delete builder_->build(USTRINGTRIE_BUILD_FAST, errorCode);
119 if(errorCode.reset()!=U_INDEX_OUTOFBOUNDS_ERROR) {
124 builder_->add("=", 0, errorCode).add("=", 1, errorCode).build(USTRINGTRIE_BUILD_FAST, errorCode);
125 if(errorCode.reset()!=U_ILLEGAL_ARGUMENT_ERROR) {
403 IcuTestErrorCode errorCode(*this, "TestIteratorFromBranch()")
    [all...]
  /external/icu/icu4c/source/tools/toolutil/
xmlparser.h 136 UXMLElement(const UXMLParser *parser, const UnicodeString *name, UErrorCode &errorCode);
169 static UXMLParser *createParser(UErrorCode &errorCode);
180 UXMLElement *parse(const UnicodeString &src, UErrorCode &errorCode);
186 UXMLElement *parseFile(const char *filename, UErrorCode &errorCode);
213 const UnicodeString *intern(const UnicodeString &s, UErrorCode &errorCode);
  /frameworks/base/core/java/android/nfc/tech/
BasicTagTechnology.java 73 int errorCode = mTag.getTagService().connect(mTag.getServiceHandle(),
76 if (errorCode == ErrorCodes.SUCCESS) {
80 } else if (errorCode == ErrorCodes.ERROR_NOT_SUPPORTED) {
101 int errorCode = mTag.getTagService().reconnect(mTag.getServiceHandle());
103 if (errorCode != ErrorCodes.SUCCESS) {
  /system/netd/server/
MDnsSdListener.h 28 uint32_t interfaceIndex, DNSServiceErrorType errorCode,
33 DNSServiceErrorType errorCode, const char *serviceName, const char *regType,
37 DNSServiceErrorType errorCode, const char *fullname, const char *hosttarget, uint16_t port,
41 DNSServiceErrorType errorCode, const char *hostname, void *inContext);
44 uint32_t interface, DNSServiceErrorType errorCode, const char *hostname,
  /external/icu/icu4c/source/common/
uresdata.cpp 159 UErrorCode *errorCode) {
169 *errorCode=U_INVALID_FORMAT_ERROR;
177 *errorCode=U_INVALID_FORMAT_ERROR;
189 *errorCode=U_INVALID_FORMAT_ERROR;
197 *errorCode=U_INVALID_FORMAT_ERROR;
220 *errorCode=U_INVALID_FORMAT_ERROR;
243 UErrorCode *errorCode) {
247 if(U_FAILURE(*errorCode)) {
251 *errorCode=U_INVALID_FORMAT_ERROR;
254 res_init(pResData, formatVersion, inBytes, length, errorCode);
    [all...]
  /external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/VirtualMachine/
InstanceCountsTest.java 101 short errorCode = checkedReply.getErrorCode();
102 if (errorCode != JDWPConstants.Error.NONE) {
103 if(errorCode == JDWPConstants.Error.ILLEGAL_ARGUMENT) {
159 short errorCode = checkedReply.getErrorCode();
160 if (errorCode != JDWPConstants.Error.NONE) {
161 if (errorCode == JDWPConstants.Error.NOT_IMPLEMENTED) {
165 else if(errorCode == JDWPConstants.Error.ILLEGAL_ARGUMENT) {
198 short errorCode = checkedReply.getErrorCode();
199 if (errorCode != JDWPConstants.Error.NONE) {
200 if (errorCode == JDWPConstants.Error.NOT_IMPLEMENTED)
    [all...]
  /system/core/adb/
transport_mdns.cpp 49 DNSServiceErrorType errorCode,
160 DNSServiceErrorType /*errorCode*/,
174 DNSServiceErrorType errorCode,
211 DNSServiceErrorType errorCode,
222 if (errorCode != kDNSServiceErr_NoError) {
223 D("Got error %d resolving service.", errorCode);
244 DNSServiceErrorType errorCode,
250 if (errorCode != kDNSServiceErr_NoError) {
251 D("Got error %d during mDNS browse.", errorCode);
266 DNSServiceErrorType errorCode
    [all...]
  /external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ObjectReference/
SetValues002Test.java 130 short errorCode = checkedReply.getErrorCode();
131 if ( errorCode != JDWPConstants.Error.NONE ) {
132 if ( errorCode != JDWPConstants.Error.INVALID_OBJECT ) {
134 + " returns unexpected ERROR = " + errorCode
135 + "(" + JDWPConstants.Error.getName(errorCode) + ")");
137 + " returns unexpected ERROR = " + errorCode
138 + "(" + JDWPConstants.Error.getName(errorCode) + ")");
  /external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ReferenceType/
SourceDebugExtensionTest.java 78 short errorCode = checkedReply.getErrorCode();
79 assertEquals(expectedErrorCode, errorCode);
81 switch ( errorCode ) {
93 + errorCode + "(" + JDWPConstants.Error.getName(errorCode) + ")");
95 + errorCode + "(" + JDWPConstants.Error.getName(errorCode) + ")");
  /prebuilts/ndk/r13/sources/third_party/vulkan/src/build-android/
update_external_sources_android.bat 22 set errorCode=0
35 set errorCode=1
44 set errorCode=1
53 set errorCode=1
64 if %errorCode% neq 0 (goto:error)
77 set errorCode=1
84 set errorCode=1
110 if %errorCode% neq 0 (goto:error)
112 if %errorCode% neq 0 (goto:error)
123 if %errorCode% neq 0 (goto:error
    [all...]
  /external/icu/icu4c/source/i18n/unicode/
alphaindex.h 271 int32_t getBucketIndex(const UnicodeString &name, UErrorCode &errorCode) const;
361 ImmutableIndex *buildImmutableIndex(UErrorCode &errorCode);
675 UBool addChineseIndexCharacters(UErrorCode &errorCode);
686 void initLabels(UVector &indexCharacters, UErrorCode &errorCode) const;
687 BucketList *createBucketList(UErrorCode &errorCode) const;
688 void initBuckets(UErrorCode &errorCode);

Completed in 1257 milliseconds

1 2 3 4 5 6 7 891011>>