/external/icu/icu4c/source/common/ |
D | unorm.cpp | 48 UErrorCode *pErrorCode) { in unorm_quickCheck() argument 49 const Normalizer2 *n2=Normalizer2Factory::getInstance(mode, *pErrorCode); in unorm_quickCheck() 50 return unorm2_quickCheck((const UNormalizer2 *)n2, src, srcLength, pErrorCode); in unorm_quickCheck() 56 UErrorCode *pErrorCode) { in unorm_quickCheckWithOptions() argument 57 const Normalizer2 *n2=Normalizer2Factory::getInstance(mode, *pErrorCode); in unorm_quickCheckWithOptions() 59 FilteredNormalizer2 fn2(*n2, *uniset_getUnicode32Instance(*pErrorCode)); in unorm_quickCheckWithOptions() 62 src, srcLength, pErrorCode); in unorm_quickCheckWithOptions() 64 return unorm2_quickCheck((const UNormalizer2 *)n2, src, srcLength, pErrorCode); in unorm_quickCheckWithOptions() 71 UErrorCode *pErrorCode) { in unorm_isNormalized() argument 72 const Normalizer2 *n2=Normalizer2Factory::getInstance(mode, *pErrorCode); in unorm_isNormalized() [all …]
|
D | udataswp.c | 33 UErrorCode *pErrorCode) { in uprv_swapArray16() argument 39 if(pErrorCode==NULL || U_FAILURE(*pErrorCode)) { in uprv_swapArray16() 43 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; in uprv_swapArray16() 63 UErrorCode *pErrorCode) { in uprv_copyArray16() argument 64 if(pErrorCode==NULL || U_FAILURE(*pErrorCode)) { in uprv_copyArray16() 68 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; in uprv_copyArray16() 81 UErrorCode *pErrorCode) { in uprv_swapArray32() argument 87 if(pErrorCode==NULL || U_FAILURE(*pErrorCode)) { in uprv_swapArray32() 91 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; in uprv_swapArray32() 111 UErrorCode *pErrorCode) { in uprv_copyArray32() argument [all …]
|
D | udata.cpp | 204 setCommonICUDataPointer(const void *pData, UBool /*warn*/, UErrorCode *pErrorCode) { in setCommonICUDataPointer() argument 208 udata_checkCommonData(&tData, pErrorCode); in setCommonICUDataPointer() 209 return setCommonICUData(&tData, FALSE, pErrorCode); in setCommonICUDataPointer() 406 UErrorCode *pErrorCode); 407 const char *next(UErrorCode *pErrorCode); 437 UErrorCode *pErrorCode) in UDataPathIterator() argument 451 packageStub.append(U_FILE_SEP_CHAR, *pErrorCode).append(pkg, *pErrorCode); in UDataPathIterator() 465 itemPath.append(item, (int32_t)(basename-item), *pErrorCode); in UDataPathIterator() 503 const char *UDataPathIterator::next(UErrorCode *pErrorCode) in next() argument 505 if(U_FAILURE(*pErrorCode)) { in next() [all …]
|
D | ustr_wcs.cpp | 68 UErrorCode *pErrorCode){ in _strToWCS() argument 83 conv = u_getDefaultConverter(pErrorCode); in _strToWCS() 85 if(U_FAILURE(*pErrorCode)){ in _strToWCS() 97 *pErrorCode = U_ZERO_ERROR; in _strToWCS() 100 …v_fromUnicode(conv,&tempBuf,tempBufLimit,&pSrc,pSrcLimit,NULL,(UBool)(pSrc==pSrcLimit),pErrorCode); in _strToWCS() 104 if(*pErrorCode==U_BUFFER_OVERFLOW_ERROR){ in _strToWCS() 126 if(U_FAILURE(*pErrorCode)){ in _strToWCS() 167 *pErrorCode = U_INVALID_CHAR_FOUND; in _strToWCS() 214 *pErrorCode = U_MEMORY_ALLOCATION_ERROR; in _strToWCS() 221 u_terminateWChars(dest,destCapacity,count,pErrorCode); in _strToWCS() [all …]
|
D | normalizer2.cpp | 263 unorm2_getNFCInstance(UErrorCode *pErrorCode) { in unorm2_getNFCInstance() argument 264 return (const UNormalizer2 *)Normalizer2::getNFCInstance(*pErrorCode); in unorm2_getNFCInstance() 268 unorm2_getNFDInstance(UErrorCode *pErrorCode) { in unorm2_getNFDInstance() argument 269 return (const UNormalizer2 *)Normalizer2::getNFDInstance(*pErrorCode); in unorm2_getNFDInstance() 281 UErrorCode *pErrorCode) { in unorm2_normalize() argument 282 if(U_FAILURE(*pErrorCode)) { in unorm2_normalize() 289 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; in unorm2_normalize() 300 if(buffer.init(length, *pErrorCode)) { in unorm2_normalize() 301 n2wi->normalize(src, length>=0 ? src+length : NULL, buffer, *pErrorCode); in unorm2_normalize() 305 n2->normalize(srcString, destString, *pErrorCode); in unorm2_normalize() [all …]
|
D | ucnv_io.cpp | 311 haveAliasData(UErrorCode *pErrorCode) { in haveAliasData() argument 312 umtx_initOnce(gAliasDataInitOnce, &initAliasData, *pErrorCode); in haveAliasData() 313 return U_SUCCESS(*pErrorCode); in haveAliasData() 317 isAlias(const char *alias, UErrorCode *pErrorCode) { in isAlias() argument 319 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; in isAlias() 549 findConverter(const char *alias, UBool *containsOption, UErrorCode *pErrorCode) { in findConverter() argument 558 *pErrorCode = U_BUFFER_OVERFLOW_ERROR; in findConverter() 596 *pErrorCode = U_AMBIGUOUS_ALIAS_WARNING; in findConverter() 642 findTaggedAliasListsOffset(const char *alias, const char *standard, UErrorCode *pErrorCode) { in findTaggedAliasListsOffset() argument 652 *pErrorCode = myErr; in findTaggedAliasListsOffset() [all …]
|
D | ucasemap.cpp | 41 ucasemap_open(const char *locale, uint32_t options, UErrorCode *pErrorCode) { in ucasemap_open() argument 44 if(U_FAILURE(*pErrorCode)) { in ucasemap_open() 55 ucasemap_setLocale(csm, locale, pErrorCode); in ucasemap_open() 56 if(U_FAILURE(*pErrorCode)) { in ucasemap_open() 87 ucasemap_setLocale(UCaseMap *csm, const char *locale, UErrorCode *pErrorCode) { in ucasemap_setLocale() argument 90 if(U_FAILURE(*pErrorCode)) { in ucasemap_setLocale() 94 length=uloc_getName(locale, csm->locale, (int32_t)sizeof(csm->locale), pErrorCode); in ucasemap_setLocale() 95 if(*pErrorCode==U_BUFFER_OVERFLOW_ERROR || length==sizeof(csm->locale)) { in ucasemap_setLocale() 96 *pErrorCode=U_ZERO_ERROR; in ucasemap_setLocale() 98 length=uloc_getLanguage(locale, csm->locale, (int32_t)sizeof(csm->locale), pErrorCode); in ucasemap_setLocale() [all …]
|
D | ubidiwrt.c | 60 UErrorCode *pErrorCode) { in doWriteForward() argument 67 *pErrorCode=U_BUFFER_OVERFLOW_ERROR; in doWriteForward() 81 *pErrorCode=U_BUFFER_OVERFLOW_ERROR; in doWriteForward() 99 *pErrorCode=U_BUFFER_OVERFLOW_ERROR; in doWriteForward() 128 *pErrorCode=U_BUFFER_OVERFLOW_ERROR; in doWriteForward() 153 UErrorCode *pErrorCode) { in doWriteReverse() argument 185 *pErrorCode=U_BUFFER_OVERFLOW_ERROR; in doWriteReverse() 213 *pErrorCode=U_BUFFER_OVERFLOW_ERROR; in doWriteReverse() 262 *pErrorCode=U_BUFFER_OVERFLOW_ERROR; in doWriteReverse() 310 UErrorCode *pErrorCode) { in ubidi_writeReverse() argument [all …]
|
D | ucol_swp.cpp | 36 UErrorCode *pErrorCode) { in utrie_swap() argument 42 if(pErrorCode==NULL || U_FAILURE(*pErrorCode)) { in utrie_swap() 46 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; in utrie_swap() 52 *pErrorCode=U_INDEX_OUTOFBOUNDS_ERROR; in utrie_swap() 71 *pErrorCode=U_INVALID_FORMAT_ERROR; /* not a UTrie */ in utrie_swap() 82 *pErrorCode=U_INDEX_OUTOFBOUNDS_ERROR; in utrie_swap() 89 ds->swapArray32(ds, inTrie, sizeof(UTrieHeader), outTrie, pErrorCode); in utrie_swap() 93 ds->swapArray16(ds, inTrie+1, trie.indexLength*2, outTrie+1, pErrorCode); in utrie_swap() 95 (uint16_t *)(outTrie+1)+trie.indexLength, pErrorCode); in utrie_swap() 97 … ds->swapArray16(ds, inTrie+1, (trie.indexLength+trie.dataLength)*2, outTrie+1, pErrorCode); in utrie_swap() [all …]
|
D | locdispnames.cpp | 301 UErrorCode *pErrorCode) { in _getStringOrCopyKey() argument 309 rb=ures_open(path, locale, pErrorCode); in _getStringOrCopyKey() 311 if(U_SUCCESS(*pErrorCode)) { in _getStringOrCopyKey() 312 s=ures_getStringByKey(rb, tableKey, &length, pErrorCode); in _getStringOrCopyKey() 319 *pErrorCode = U_MISSING_RESOURCE_ERROR; in _getStringOrCopyKey() 327 pErrorCode); in _getStringOrCopyKey() 331 if(U_SUCCESS(*pErrorCode)) { in _getStringOrCopyKey() 340 *pErrorCode=U_USING_DEFAULT_WARNING; in _getStringOrCopyKey() 343 return u_terminateUChars(dest, destCapacity, length, pErrorCode); in _getStringOrCopyKey() 354 UErrorCode *pErrorCode) { in _getDisplayNameForComponent() argument [all …]
|
D | ustr_imp.h | 63 UErrorCode *pErrorCode); 82 UErrorCode *pErrorCode); 91 uprv_haveProperties(UErrorCode *pErrorCode); 143 UErrorCode *pErrorCode); 152 UErrorCode *pErrorCode); 159 UErrorCode *pErrorCode); 168 UErrorCode *pErrorCode); 177 UErrorCode *pErrorCode); 188 UErrorCode *pErrorCode); 201 UErrorCode *pErrorCode); [all …]
|
D | propsvec.c | 42 upvec_open(int32_t columns, UErrorCode *pErrorCode) { in upvec_open() argument 47 if(U_FAILURE(*pErrorCode)) { in upvec_open() 51 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; in upvec_open() 61 *pErrorCode=U_MEMORY_ALLOCATION_ERROR; in upvec_open() 156 UErrorCode *pErrorCode) { in upvec_setValue() argument 163 if(U_FAILURE(*pErrorCode)) { in upvec_setValue() 170 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; in upvec_setValue() 174 *pErrorCode=U_NO_WRITE_PERMISSION; in upvec_setValue() 213 *pErrorCode=U_INTERNAL_PROGRAM_ERROR; in upvec_setValue() 218 *pErrorCode=U_MEMORY_ALLOCATION_ERROR; in upvec_setValue() [all …]
|
D | ucnv_u7.c | 195 UErrorCode *pErrorCode) { in _UTF7Open() argument 201 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; in _UTF7Open() 207 UErrorCode *pErrorCode) { in _UTF7ToUnicodeWithOffsets() argument 273 *pErrorCode=U_ILLEGAL_CHAR_FOUND; in _UTF7ToUnicodeWithOffsets() 294 *pErrorCode=U_BUFFER_OVERFLOW_ERROR; in _UTF7ToUnicodeWithOffsets() 334 *pErrorCode=U_ILLEGAL_CHAR_FOUND; in _UTF7ToUnicodeWithOffsets() 341 *pErrorCode=U_ILLEGAL_CHAR_FOUND; in _UTF7ToUnicodeWithOffsets() 347 *pErrorCode=U_ILLEGAL_CHAR_FOUND; in _UTF7ToUnicodeWithOffsets() 420 *pErrorCode=U_ILLEGAL_CHAR_FOUND; in _UTF7ToUnicodeWithOffsets() 429 *pErrorCode=U_BUFFER_OVERFLOW_ERROR; in _UTF7ToUnicodeWithOffsets() [all …]
|
D | utrie2_builder.cpp | 107 utrie2_open(uint32_t initialValue, uint32_t errorValue, UErrorCode *pErrorCode) { in utrie2_open() argument 113 if(U_FAILURE(*pErrorCode)) { in utrie2_open() 124 *pErrorCode=U_MEMORY_ALLOCATION_ERROR; in utrie2_open() 227 utrie2_set32(trie, i, initialValue, pErrorCode); in utrie2_open() 276 utrie2_clone(const UTrie2 *other, UErrorCode *pErrorCode) { in utrie2_clone() argument 279 if(U_FAILURE(*pErrorCode)) { in utrie2_clone() 283 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; in utrie2_clone() 364 utrie2_cloneAsThawed(const UTrie2 *other, UErrorCode *pErrorCode) { in utrie2_cloneAsThawed() argument 368 if(U_FAILURE(*pErrorCode)) { in utrie2_cloneAsThawed() 372 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; in utrie2_cloneAsThawed() [all …]
|
D | ucnvdisp.c | 37 UErrorCode *pErrorCode) { in ucnv_getDisplayName() argument 44 if(pErrorCode==NULL || U_FAILURE(*pErrorCode)) { in ucnv_getDisplayName() 49 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; in ucnv_getDisplayName() 54 rb=ures_open(NULL, displayLocale, pErrorCode); in ucnv_getDisplayName() 55 if(U_FAILURE(*pErrorCode)) { in ucnv_getDisplayName() 65 if (*pErrorCode == U_ZERO_ERROR) { in ucnv_getDisplayName() 66 *pErrorCode = localStatus; in ucnv_getDisplayName() 74 return u_terminateUChars(displayName, displayNameCapacity, length, pErrorCode); in ucnv_getDisplayName()
|
D | ucnv_u16.c | 36 UErrorCode *pErrorCode); 49 UErrorCode *pErrorCode) { in _UTF16BEFromUnicodeWithOffsets() argument 75 pErrorCode); in _UTF16BEFromUnicodeWithOffsets() 81 *pErrorCode=U_BUFFER_OVERFLOW_ERROR; in _UTF16BEFromUnicodeWithOffsets() 219 *pErrorCode=U_ILLEGAL_CHAR_FOUND; in _UTF16BEFromUnicodeWithOffsets() 226 *pErrorCode=U_ILLEGAL_CHAR_FOUND; in _UTF16BEFromUnicodeWithOffsets() 237 pErrorCode); in _UTF16BEFromUnicodeWithOffsets() 241 if(U_SUCCESS(*pErrorCode) && source<pArgs->sourceLimit && targetCapacity==0) { in _UTF16BEFromUnicodeWithOffsets() 242 *pErrorCode=U_BUFFER_OVERFLOW_ERROR; in _UTF16BEFromUnicodeWithOffsets() 253 UErrorCode *pErrorCode) { in _UTF16BEToUnicodeWithOffsets() argument [all …]
|
/external/icu/icu4c/source/tools/toolutil/ |
D | swapimpl.cpp | 75 UErrorCode *pErrorCode) { in upname_swap() argument 77 int32_t headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode); in upname_swap() 78 if(pErrorCode==NULL || U_FAILURE(*pErrorCode)) { in upname_swap() 97 *pErrorCode=U_UNSUPPORTED_ERROR; in upname_swap() 110 *pErrorCode=U_INDEX_OUTOFBOUNDS_ERROR; in upname_swap() 122 *pErrorCode=U_INDEX_OUTOFBOUNDS_ERROR; in upname_swap() 130 ds->swapArray32(ds, inBytes, numBytesIndexesAndValueMaps, outBytes, pErrorCode); in upname_swap() 160 UErrorCode *pErrorCode) { in uprops_swap() argument 168 headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode); in uprops_swap() 169 if(pErrorCode==NULL || U_FAILURE(*pErrorCode)) { in uprops_swap() [all …]
|
D | uparse.c | 76 UErrorCode *pErrorCode) { in u_parseDelimitedFile() argument 82 if(U_FAILURE(*pErrorCode)) { in u_parseDelimitedFile() 87 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; in u_parseDelimitedFile() 98 *pErrorCode=U_FILE_ACCESS_ERROR; in u_parseDelimitedFile() 113 *pErrorCode=U_ZERO_ERROR; in u_parseDelimitedFile() 115 *pErrorCode=U_USING_DEFAULT_WARNING; in u_parseDelimitedFile() 157 *pErrorCode=U_PARSE_ERROR; in u_parseDelimitedFile() 165 if(U_FAILURE(*pErrorCode)) { in u_parseDelimitedFile() 170 lineFn(context, fields, fieldCount, pErrorCode); in u_parseDelimitedFile() 171 if(U_FAILURE(*pErrorCode)) { in u_parseDelimitedFile() [all …]
|
D | pkgitems.cpp | 130 UErrorCode *pErrorCode) { in makeTargetName() argument 152 *pErrorCode=U_BUFFER_OVERFLOW_ERROR; in makeTargetName() 164 UErrorCode *pErrorCode) { in checkIDSuffix() argument 166 makeTargetName(itemName, id, idLength, suffix, target, (int32_t)sizeof(target), pErrorCode); in checkIDSuffix() 167 if(U_SUCCESS(*pErrorCode)) { in checkIDSuffix() 175 UErrorCode *pErrorCode) { in checkParent() argument 210 checkIDSuffix(itemName, parent, parentLength, suffix, check, context, pErrorCode); in checkParent() 223 CheckDependency check, void *context, UErrorCode *pErrorCode) { in checkAlias() argument 229 *pErrorCode=U_INVALID_CHAR_FOUND; in checkAlias() 255 *pErrorCode=U_UNSUPPORTED_ERROR; in checkAlias() [all …]
|
D | unewdata.c | 37 UErrorCode *pErrorCode) { in udata_create() argument 44 if(pErrorCode==NULL || U_FAILURE(*pErrorCode)) { in udata_create() 47 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; in udata_create() 54 *pErrorCode=U_MEMORY_ALLOCATION_ERROR; in udata_create() 79 *pErrorCode = U_BUFFER_OVERFLOW_ERROR; in udata_create() 103 *pErrorCode=U_FILE_ACCESS_ERROR; in udata_create() 142 udata_finish(UNewDataMemory *pData, UErrorCode *pErrorCode) { in udata_finish() argument 145 if(pErrorCode==NULL || U_FAILURE(*pErrorCode)) { in udata_finish() 154 *pErrorCode=U_FILE_ACCESS_ERROR; in udata_finish() 182 udata_createDummy(const char *dir, const char *type, const char *name, UErrorCode *pErrorCode) { in udata_createDummy() argument [all …]
|
/external/icu/icu4c/source/tools/gensprep/ |
D | gensprep.c | 56 parseMappings(const char *filename, UBool reportError, UErrorCode *pErrorCode); 59 parseNormalizationCorrections(const char *filename, UErrorCode *pErrorCode); 278 UErrorCode *pErrorCode) { in normalizationCorrectionsLineFn() argument 288 if(U_FAILURE(*pErrorCode)) { in normalizationCorrectionsLineFn() 290 exit(*pErrorCode); in normalizationCorrectionsLineFn() 296 length=u_parseCodePoints(s, mapping, sizeof(mapping)/4, pErrorCode); in normalizationCorrectionsLineFn() 305 if(U_FAILURE(*pErrorCode)) { in normalizationCorrectionsLineFn() 307 (long)code, u_errorName(*pErrorCode)); in normalizationCorrectionsLineFn() 308 exit(*pErrorCode); in normalizationCorrectionsLineFn() 315 storeMapping(code,mapping, length, USPREP_MAP, pErrorCode); in normalizationCorrectionsLineFn() [all …]
|
/external/icu/icu4c/source/i18n/ |
D | udatpg.cpp | 30 udatpg_open(const char *locale, UErrorCode *pErrorCode) { in udatpg_open() argument 32 return (UDateTimePatternGenerator *)DateTimePatternGenerator::createInstance(*pErrorCode); in udatpg_open() 34 …(UDateTimePatternGenerator *)DateTimePatternGenerator::createInstance(Locale(locale), *pErrorCode); in udatpg_open() 39 udatpg_openEmpty(UErrorCode *pErrorCode) { in udatpg_openEmpty() argument 40 return (UDateTimePatternGenerator *)DateTimePatternGenerator::createEmptyInstance(*pErrorCode); in udatpg_openEmpty() 49 udatpg_clone(const UDateTimePatternGenerator *dtpg, UErrorCode *pErrorCode) { in udatpg_clone() argument 50 if(U_FAILURE(*pErrorCode)) { in udatpg_clone() 60 UErrorCode *pErrorCode) { in udatpg_getBestPattern() argument 63 bestPattern, capacity, pErrorCode); in udatpg_getBestPattern() 71 UErrorCode *pErrorCode) { in udatpg_getBestPatternWithOptions() argument [all …]
|
/external/icu/icu4c/source/common/unicode/ |
D | unorm2.h | 133 unorm2_getNFCInstance(UErrorCode *pErrorCode); 147 unorm2_getNFDInstance(UErrorCode *pErrorCode); 161 unorm2_getNFKCInstance(UErrorCode *pErrorCode); 175 unorm2_getNFKDInstance(UErrorCode *pErrorCode); 189 unorm2_getNFKCCasefoldInstance(UErrorCode *pErrorCode); 216 UErrorCode *pErrorCode); 234 unorm2_openFiltered(const UNormalizer2 *norm2, const USet *filterSet, UErrorCode *pErrorCode); 284 UErrorCode *pErrorCode); 307 UErrorCode *pErrorCode); 330 UErrorCode *pErrorCode); [all …]
|
/external/icu/icu4c/source/tools/icuswap/ |
D | icuswap.cpp | 75 UErrorCode *pErrorCode); 290 UErrorCode *pErrorCode) { in extractPackageName() argument 294 if(U_FAILURE(*pErrorCode)) { in extractPackageName() 304 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; in extractPackageName() 311 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; in extractPackageName() 337 UErrorCode *pErrorCode) { in udata_swapPackage() argument 356 headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode); in udata_swapPackage() 357 if(pErrorCode==NULL || U_FAILURE(*pErrorCode)) { in udata_swapPackage() 374 *pErrorCode=U_UNSUPPORTED_ERROR; in udata_swapPackage() 386 pErrorCode); in udata_swapPackage() [all …]
|
/external/icu/icu4c/source/i18n/unicode/ |
D | uldnames.h | 69 UErrorCode *pErrorCode); 137 UErrorCode *pErrorCode); 157 UErrorCode *pErrorCode); 175 UErrorCode *pErrorCode); 193 UErrorCode *pErrorCode); 211 UErrorCode *pErrorCode); 229 UErrorCode *pErrorCode); 247 UErrorCode *pErrorCode); 267 UErrorCode *pErrorCode); 285 int32_t length, UErrorCode *pErrorCode); [all …]
|