Home
last modified time | relevance | path

Searched defs:errorCode (Results 1 – 25 of 238) sorted by relevance

12345678910

/external/icu/icu4c/source/common/
Dcharstr.cpp22 CharString &CharString::copyFrom(const CharString &s, UErrorCode &errorCode) { in copyFrom()
40 CharString &CharString::append(char c, UErrorCode &errorCode) { in append()
48 CharString &CharString::append(const char *s, int32_t sLength, UErrorCode &errorCode) { in append()
85 UErrorCode &errorCode) { in getAppendBuffer()
103 CharString &CharString::appendInvariantChars(const UnicodeString &s, UErrorCode &errorCode) { in appendInvariantChars()
112 UErrorCode &errorCode) { in ensureCapacity()
130 CharString &CharString::appendPathPart(const StringPiece &s, UErrorCode &errorCode) { in appendPathPart()
Dloadednormalizer2impl.cpp74 LoadedNormalizer2Impl::load(const char *packageName, const char *name, UErrorCode &errorCode) { in load()
115 UErrorCode &errorCode) { in createInstance()
140 static void U_CALLCONV initSingletons(const char *what, UErrorCode &errorCode) { in initSingletons()
172 Norm2AllModes::getNFKCInstance(UErrorCode &errorCode) { in getNFKCInstance()
179 Norm2AllModes::getNFKC_CFInstance(UErrorCode &errorCode) { in getNFKC_CFInstance()
186 Normalizer2::getNFKCInstance(UErrorCode &errorCode) { in getNFKCInstance()
192 Normalizer2::getNFKDInstance(UErrorCode &errorCode) { in getNFKDInstance()
198 Normalizer2::getNFKCCasefoldInstance(UErrorCode &errorCode) { in getNFKCCasefoldInstance()
207 UErrorCode &errorCode) { in getInstance()
281 Normalizer2Factory::getInstance(UNormalizationMode mode, UErrorCode &errorCode) { in getInstance()
[all …]
Dnorm2allmodes.h37 UErrorCode &errorCode) const { in normalize()
63 UErrorCode &errorCode) const { in normalizeSecondAndAppend()
69 UErrorCode &errorCode) const { in append()
76 UErrorCode &errorCode) const { in normalizeSecondAndAppend()
147 isNormalized(const UnicodeString &s, UErrorCode &errorCode) const { in isNormalized()
160 quickCheck(const UnicodeString &s, UErrorCode &errorCode) const { in quickCheck()
164 spanQuickCheckYes(const UnicodeString &s, UErrorCode &errorCode) const { in spanQuickCheckYes()
193 ReorderingBuffer &buffer, UErrorCode &errorCode) const { in normalize()
200 ReorderingBuffer &buffer, UErrorCode &errorCode) const { in normalizeAndAppend()
204 spanQuickCheckYes(const UChar *src, const UChar *limit, UErrorCode &errorCode) const { in spanQuickCheckYes()
[all …]
Dcharstr.h42 CharString(const StringPiece &s, UErrorCode &errorCode) : len(0) { in CharString()
46 CharString(const CharString &s, UErrorCode &errorCode) : len(0) { in CharString()
50 CharString(const char *s, int32_t sLength, UErrorCode &errorCode) : len(0) { in CharString()
76 CharString &append(const StringPiece &s, UErrorCode &errorCode) { in append()
79 CharString &append(const CharString &s, UErrorCode &errorCode) { in append()
Dmessagepattern.cpp111 UErrorCode &errorCode) { in copyFrom()
123 …PatternList<T, stackCapacity>::ensureCapacityForOneMore(int32_t oldLength, UErrorCode &errorCode) { in ensureCapacityForOneMore()
144 MessagePattern::MessagePattern(UErrorCode &errorCode) in MessagePattern()
152 MessagePattern::MessagePattern(UMessagePatternApostropheMode mode, UErrorCode &errorCode) in MessagePattern()
160 …ttern::MessagePattern(const UnicodeString &pattern, UParseError *parseError, UErrorCode &errorCode) in MessagePattern()
171 MessagePattern::init(UErrorCode &errorCode) { in init()
190 UErrorCode errorCode=U_ZERO_ERROR; in MessagePattern() local
206 UErrorCode errorCode=U_ZERO_ERROR; in operator =() local
214 MessagePattern::copyStorage(const MessagePattern &other, UErrorCode &errorCode) { in copyStorage()
266 MessagePattern::parse(const UnicodeString &pattern, UParseError *parseError, UErrorCode &errorCode)… in parse()
[all …]
Ducharstrieiterator.cpp23 UErrorCode &errorCode) in Iterator()
45 UErrorCode &errorCode) in Iterator()
99 UCharsTrie::Iterator::next(UErrorCode &errorCode) { in next()
184 UCharsTrie::Iterator::branchNext(const UChar *pos, int32_t length, UErrorCode &errorCode) { in branchNext()
Dbytestrieiterator.cpp24 UErrorCode &errorCode) in Iterator()
46 UErrorCode &errorCode) in Iterator()
100 BytesTrie::Iterator::next(UErrorCode &errorCode) { in next()
180 BytesTrie::Iterator::branchNext(const uint8_t *pos, int32_t length, UErrorCode &errorCode) { in branchNext()
Dlistformatter.cpp112 void ListFormatter::initializeHash(UErrorCode& errorCode) { in initializeHash()
129 const Locale& locale, const char *style, UErrorCode& errorCode) { in getListFormatInternal()
172 const Locale& locale, const char * style, UErrorCode& errorCode) { in loadListFormatInternal()
202 …ngByKey(const UResourceBundle* rb, const char* key, UnicodeString& result, UErrorCode& errorCode) { in getStringByKey()
211 ListFormatter* ListFormatter::createInstance(UErrorCode& errorCode) { in createInstance()
216 ListFormatter* ListFormatter::createInstance(const Locale& locale, UErrorCode& errorCode) { in createInstance()
220 …er* ListFormatter::createInstance(const Locale& locale, const char *style, UErrorCode& errorCode) { in createInstance()
261 UErrorCode& errorCode) { in joinStringsAndReplace()
Dnormalizer2.cpp139 Norm2AllModes::createInstance(Normalizer2Impl *impl, UErrorCode &errorCode) { in createInstance()
154 Norm2AllModes::createNFCInstance(UErrorCode &errorCode) { in createNFCInstance()
179 static void U_CALLCONV initNFCSingleton(UErrorCode &errorCode) { in initNFCSingleton()
184 static void U_CALLCONV initNoopSingleton(UErrorCode &errorCode) { in initNoopSingleton()
211 Norm2AllModes::getNFCInstance(UErrorCode &errorCode) { in getNFCInstance()
218 Normalizer2::getNFCInstance(UErrorCode &errorCode) { in getNFCInstance()
224 Normalizer2::getNFDInstance(UErrorCode &errorCode) { in getNFDInstance()
229 const Normalizer2 *Normalizer2Factory::getFCDInstance(UErrorCode &errorCode) { in getFCDInstance()
234 const Normalizer2 *Normalizer2Factory::getFCCInstance(UErrorCode &errorCode) { in getFCCInstance()
239 const Normalizer2 *Normalizer2Factory::getNoopInstance(UErrorCode &errorCode) { in getNoopInstance()
[all …]
/external/icu/icu4c/source/i18n/
Dcollationroot.cpp49 CollationRoot::load(UErrorCode &errorCode) { in load()
73 CollationRoot::getRootCacheEntry(UErrorCode &errorCode) { in getRootCacheEntry()
80 CollationRoot::getRoot(UErrorCode &errorCode) { in getRoot()
87 CollationRoot::getData(UErrorCode &errorCode) { in getData()
94 CollationRoot::getSettings(UErrorCode &errorCode) { in getSettings()
Dcollationsettings.cpp36 UErrorCode errorCode = U_ZERO_ERROR; in CollationSettings() local
85 const uint8_t *table, UErrorCode &errorCode) { in aliasReordering()
129 UErrorCode &errorCode) { in setReordering()
191 const uint8_t *table, UErrorCode &errorCode) { in setReorderArrays()
223 CollationSettings::copyReorderingFrom(const CollationSettings &other, UErrorCode &errorCode) { in copyReorderingFrom()
268 CollationSettings::setStrength(int32_t value, int32_t defaultOptions, UErrorCode &errorCode) { in setStrength()
290 int32_t defaultOptions, UErrorCode &errorCode) { in setFlag()
310 int32_t defaultOptions, UErrorCode &errorCode) { in setCaseFirst()
334 int32_t defaultOptions, UErrorCode &errorCode) { in setAlternateHandling()
354 CollationSettings::setMaxVariable(int32_t value, int32_t defaultOptions, UErrorCode &errorCode) { in setMaxVariable()
Duitercollationiterator.cpp107 FCDUIterCollationIterator::handleNextCE32(UChar32 &c, UErrorCode &errorCode) { in handleNextCE32()
160 FCDUIterCollationIterator::nextCodePoint(UErrorCode &errorCode) { in nextCodePoint()
203 FCDUIterCollationIterator::previousCodePoint(UErrorCode &errorCode) { in previousCodePoint()
256 FCDUIterCollationIterator::forwardNumCodePoints(int32_t num, UErrorCode &errorCode) { in forwardNumCodePoints()
265 FCDUIterCollationIterator::backwardNumCodePoints(int32_t num, UErrorCode &errorCode) { in backwardNumCodePoints()
303 FCDUIterCollationIterator::nextSegment(UErrorCode &errorCode) { in nextSegment()
384 FCDUIterCollationIterator::previousSegment(UErrorCode &errorCode) { in previousSegment()
439 FCDUIterCollationIterator::normalize(const UnicodeString &s, UErrorCode &errorCode) { in normalize()
Dcollationiterator.cpp35 CollationIterator::CEBuffer::ensureAppendCapacity(int32_t appCap, UErrorCode &errorCode) { in ensureAppendCapacity()
153 UErrorCode errorCode = U_ZERO_ERROR; in CollationIterator() local
196 CollationIterator::fetchCEs(UErrorCode &errorCode) { in fetchCEs()
205 CollationIterator::handleNextCE32(UChar32 &c, UErrorCode &errorCode) { in handleNextCE32()
231 CollationIterator::getCE32FromBuilderData(uint32_t /*ce32*/, UErrorCode &errorCode) { in getCE32FromBuilderData()
238 UErrorCode &errorCode) { in nextCEFromCE32()
250 UBool forward, UErrorCode &errorCode) { in appendCEsFromCE32()
447 UErrorCode &errorCode) { in getCE32FromPrefix()
469 CollationIterator::nextSkippedCodePoint(UErrorCode &errorCode) { in nextSkippedCodePoint()
479 CollationIterator::backwardNumSkipped(int32_t n, UErrorCode &errorCode) { in backwardNumSkipped()
[all …]
Dcollationruleparser.cpp56 CollationRuleParser::CollationRuleParser(const CollationData *base, UErrorCode &errorCode) in CollationRuleParser()
72 UErrorCode &errorCode) { in parse()
87 CollationRuleParser::parse(const UnicodeString &ruleString, UErrorCode &errorCode) { in parse()
127 CollationRuleParser::parseRuleChain(UErrorCode &errorCode) { in parseRuleChain()
171 CollationRuleParser::parseResetAndPosition(UErrorCode &errorCode) { in parseResetAndPosition()
206 CollationRuleParser::parseRelationOperator(UErrorCode &errorCode) { in parseRelationOperator()
256 CollationRuleParser::parseRelationStrings(int32_t strength, int32_t i, UErrorCode &errorCode) { in parseRelationStrings()
288 CollationRuleParser::parseStarredCharacters(int32_t strength, int32_t i, UErrorCode &errorCode) { in parseStarredCharacters()
360 CollationRuleParser::parseTailoringString(int32_t i, UnicodeString &raw, UErrorCode &errorCode) { in parseTailoringString()
369 CollationRuleParser::parseString(int32_t i, UnicodeString &raw, UErrorCode &errorCode) { in parseString()
[all …]
Dutf8collationiterator.cpp150 FCDUTF8CollationIterator::handleNextCE32(UChar32 &c, UErrorCode &errorCode) { in handleNextCE32()
265 FCDUTF8CollationIterator::nextCodePoint(UErrorCode &errorCode) { in nextCodePoint()
303 FCDUTF8CollationIterator::previousCodePoint(UErrorCode &errorCode) { in previousCodePoint()
341 FCDUTF8CollationIterator::forwardNumCodePoints(int32_t num, UErrorCode &errorCode) { in forwardNumCodePoints()
350 FCDUTF8CollationIterator::backwardNumCodePoints(int32_t num, UErrorCode &errorCode) { in backwardNumCodePoints()
385 FCDUTF8CollationIterator::nextSegment(UErrorCode &errorCode) { in nextSegment()
464 FCDUTF8CollationIterator::previousSegment(UErrorCode &errorCode) { in previousSegment()
520 FCDUTF8CollationIterator::normalize(const UnicodeString &s, UErrorCode &errorCode) { in normalize()
Dcollationbuilder.cpp69 const char *& /*errorReason*/, UErrorCode &errorCode) { in getRules()
93 RuleBasedCollator::RuleBasedCollator(const UnicodeString &rules, UErrorCode &errorCode) in RuleBasedCollator()
105 UErrorCode &errorCode) in RuleBasedCollator()
118 UErrorCode &errorCode) in RuleBasedCollator()
132 UErrorCode &errorCode) in RuleBasedCollator()
145 UErrorCode &errorCode) in RuleBasedCollator()
161 UErrorCode &errorCode) { in internalBuildTailoring()
199 CollationBuilder::CollationBuilder(const CollationTailoring *b, UErrorCode &errorCode) in CollationBuilder()
235 UErrorCode &errorCode) { in parseAndBuild()
293 const char *&parserErrorReason, UErrorCode &errorCode) { in addReset()
[all …]
Dcollationdatabuilder.cpp179 UErrorCode errorCode = U_ZERO_ERROR; in fetchCEs() local
255 DataBuilderCollationIterator::getCE32FromBuilderData(uint32_t ce32, UErrorCode &errorCode) { in getCE32FromBuilderData()
278 CollationDataBuilder::CollationDataBuilder(UErrorCode &errorCode) in CollationDataBuilder()
298 CollationDataBuilder::initForTailoring(const CollationData *b, UErrorCode &errorCode) { in initForTailoring()
339 UErrorCode &errorCode) { in maybeSetPrimaryRange()
376 UErrorCode &errorCode) { in setPrimaryRangeAndReturnNext()
488 CollationDataBuilder::addCE(int64_t ce, UErrorCode &errorCode) { in addCE()
498 CollationDataBuilder::addCE32(uint32_t ce32, UErrorCode &errorCode) { in addCE32()
509 UErrorCode &errorCode) { in addConditionalCE32()
529 UErrorCode &errorCode) { in add()
[all …]
Dcollationfastlatinbuilder.cpp87 CollationFastLatinBuilder::CollationFastLatinBuilder(UErrorCode &errorCode) in CollationFastLatinBuilder()
101 CollationFastLatinBuilder::forData(const CollationData &data, UErrorCode &errorCode) { in forData()
137 CollationFastLatinBuilder::loadGroups(const CollationData &data, UErrorCode &errorCode) { in loadGroups()
203 CollationFastLatinBuilder::getCEs(const CollationData &data, UErrorCode &errorCode) { in getCEs()
245 UErrorCode &errorCode) { in getCEsFromCE32()
341 UErrorCode &errorCode) { in getCEsFromContractionCE32()
400 UErrorCode &errorCode) { in addContractionEntry()
409 CollationFastLatinBuilder::addUniqueCE(int64_t ce, UErrorCode &errorCode) { in addUniqueCE()
428 CollationFastLatinBuilder::encodeUniqueCEs(UErrorCode &errorCode) { in encodeUniqueCEs()
563 CollationFastLatinBuilder::encodeCharCEs(UErrorCode &errorCode) { in encodeCharCEs()
[all …]
Dutf16collationiterator.cpp208 FCDUTF16CollationIterator::handleNextCE32(UChar32 &c, UErrorCode &errorCode) { in handleNextCE32()
249 FCDUTF16CollationIterator::nextCodePoint(UErrorCode &errorCode) { in nextCodePoint()
288 FCDUTF16CollationIterator::previousCodePoint(UErrorCode &errorCode) { in previousCodePoint()
324 FCDUTF16CollationIterator::forwardNumCodePoints(int32_t num, UErrorCode &errorCode) { in forwardNumCodePoints()
333 FCDUTF16CollationIterator::backwardNumCodePoints(int32_t num, UErrorCode &errorCode) { in backwardNumCodePoints()
372 FCDUTF16CollationIterator::nextSegment(UErrorCode &errorCode) { in nextSegment()
436 FCDUTF16CollationIterator::previousSegment(UErrorCode &errorCode) { in previousSegment()
476 FCDUTF16CollationIterator::normalize(const UChar *from, const UChar *to, UErrorCode &errorCode) { in normalize()
Ducol_res.cpp80 CollationLoader::loadRootRules(UErrorCode &errorCode) { in loadRootRules()
95 UErrorCode errorCode = U_ZERO_ERROR; in appendRootRules() local
104 UnicodeString &rules, UErrorCode &errorCode) { in loadRules()
144 CollationLoader::loadTailoring(const Locale &locale, UErrorCode &errorCode) { in loadTailoring()
164 UErrorCode &errorCode) in CollationLoader()
206 CollationLoader::createCacheEntry(UErrorCode &errorCode) { in createCacheEntry()
224 CollationLoader::loadFromLocale(UErrorCode &errorCode) { in loadFromLocale()
250 CollationLoader::loadFromBundle(UErrorCode &errorCode) { in loadFromBundle()
311 CollationLoader::loadFromCollations(UErrorCode &errorCode) { in loadFromCollations()
377 CollationLoader::loadFromData(UErrorCode &errorCode) { in loadFromData()
[all …]
Dudat.cpp901 const UChar *value, int32_t valueLength, UErrorCode &errorCode) in setSymbol()
916 const UChar *value, int32_t valueLength, UErrorCode &errorCode) in setEra()
923 const UChar *value, int32_t valueLength, UErrorCode &errorCode) in setEraName()
930 const UChar *value, int32_t valueLength, UErrorCode &errorCode) in setMonth()
937 const UChar *value, int32_t valueLength, UErrorCode &errorCode) in setShortMonth()
944 const UChar *value, int32_t valueLength, UErrorCode &errorCode) in setNarrowMonth()
951 const UChar *value, int32_t valueLength, UErrorCode &errorCode) in setStandaloneMonth()
958 const UChar *value, int32_t valueLength, UErrorCode &errorCode) in setStandaloneShortMonth()
965 const UChar *value, int32_t valueLength, UErrorCode &errorCode) in setStandaloneNarrowMonth()
972 const UChar *value, int32_t valueLength, UErrorCode &errorCode) in setWeekday()
[all …]
/external/icu/icu4c/source/test/intltest/
Ditutil.cpp143 ErrorCode errorCode; in TestErrorCode() local
192 MyErrorCode errorCode(countChecks, countDests); in TestSubclass() local
238 MyErrorCode errorCode(countChecks, countDests); in TestSubclass() local
304 UErrorCode errorCode = U_ZERO_ERROR; in TestLocalPointer() local
372 IcuTestErrorCode errorCode(*this, "TestLocalXyzPointer"); in TestLocalXyzPointer() local
481 IcuTestErrorCode errorCode(*this, "TestLocalXyzPointerNull/LocalUConverterSelectorPointer"); in TestLocalXyzPointerNull() local
490 IcuTestErrorCode errorCode(*this, "TestLocalXyzPointerNull/LocalUCalendarPointer"); in TestLocalXyzPointerNull() local
498 …IcuTestErrorCode errorCode(*this, "TestLocalXyzPointerNull/LocalUDateTimePatternGeneratorPointer"); in TestLocalXyzPointerNull() local
504 IcuTestErrorCode errorCode(*this, "TestLocalXyzPointerNull/LocalUMessageFormatPointer"); in TestLocalXyzPointerNull() local
515 IcuTestErrorCode errorCode(*this, "TestLocalXyzPointerNull/LocalURegularExpressionPointer"); in TestLocalXyzPointerNull() local
[all …]
Dbytestrietest.cpp77 IcuTestErrorCode errorCode(*this, "BytesTrieTest()"); in BytesTrieTest() local
112 IcuTestErrorCode errorCode(*this, "TestBuilder()"); in TestBuilder() local
399 IcuTestErrorCode errorCode(*this, "TestIteratorFromBranch()"); in TestIteratorFromBranch() local
450 IcuTestErrorCode errorCode(*this, "TestIteratorFromLinearMatch()"); in TestIteratorFromLinearMatch() local
472 IcuTestErrorCode errorCode(*this, "TestTruncatingIteratorFromRoot()"); in TestTruncatingIteratorFromRoot() local
526 IcuTestErrorCode errorCode(*this, "TestTruncatingIteratorFromLinearMatchShort()"); in TestTruncatingIteratorFromLinearMatchShort() local
555 IcuTestErrorCode errorCode(*this, "TestTruncatingIteratorFromLinearMatchLong()"); in TestTruncatingIteratorFromLinearMatchLong() local
579 IcuTestErrorCode errorCode(*this, "TestIteratorFromBytes()"); in TestIteratorFromBytes() local
609 IcuTestErrorCode errorCode(*this, "buildTrie()"); in buildTrie() local
836 IcuTestErrorCode errorCode(*this, "checkIterator()"); in checkIterator() local
[all …]
/external/icu/icu4c/source/tools/toolutil/
Dppucd.cpp55 PreparsedUCD::PreparsedUCD(const char *filename, UErrorCode &errorCode) in PreparsedUCD()
103 PreparsedUCD::readLine(UErrorCode &errorCode) { in readLine()
183 PreparsedUCD::getProps(UnicodeSet &newValues, UErrorCode &errorCode) { in getProps()
271 UErrorCode &errorCode) { in parseProperty()
465 PreparsedUCD::getRangeForAlgNames(UChar32 &start, UChar32 &end, UErrorCode &errorCode) { in getRangeForAlgNames()
486 PreparsedUCD::parseCodePoint(const char *s, UErrorCode &errorCode) { in parseCodePoint()
500 …arsedUCD::parseCodePointRange(const char *s, UChar32 &start, UChar32 &end, UErrorCode &errorCode) { in parseCodePointRange()
515 PreparsedUCD::parseString(const char *s, UnicodeString &uni, UErrorCode &errorCode) { in parseString()
533 PreparsedUCD::parseScriptExtensions(const char *s, UnicodeSet &scx, UErrorCode &errorCode) { in parseScriptExtensions()
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/
DXMPException.java20 private int errorCode; field in XMPException
28 public XMPException(String message, int errorCode) in XMPException()
41 public XMPException(String message, int errorCode, Throwable t) in XMPException()

12345678910