/external/icu/icu4c/source/common/ |
ucasemap.cpp | 41 ucasemap_open(const char *locale, uint32_t options, UErrorCode *pErrorCode) { 44 if(U_FAILURE(*pErrorCode)) { 55 ucasemap_setLocale(csm, locale, pErrorCode); 56 if(U_FAILURE(*pErrorCode)) { 87 ucasemap_setLocale(UCaseMap *csm, const char *locale, UErrorCode *pErrorCode) { 90 if(U_FAILURE(*pErrorCode)) { 94 length=uloc_getName(locale, csm->locale, (int32_t)sizeof(csm->locale), pErrorCode); 95 if(*pErrorCode==U_BUFFER_OVERFLOW_ERROR || length==sizeof(csm->locale)) { 96 *pErrorCode=U_ZERO_ERROR; 98 length=uloc_getLanguage(locale, csm->locale, (int32_t)sizeof(csm->locale), pErrorCode); [all...] |
ucnv_io.cpp | 311 haveAliasData(UErrorCode *pErrorCode) { 312 umtx_initOnce(gAliasDataInitOnce, &initAliasData, *pErrorCode); 313 return U_SUCCESS(*pErrorCode); 317 isAlias(const char *alias, UErrorCode *pErrorCode) { 319 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; 549 findConverter(const char *alias, UBool *containsOption, UErrorCode *pErrorCode) { 558 *pErrorCode = U_BUFFER_OVERFLOW_ERROR; 596 *pErrorCode = U_AMBIGUOUS_ALIAS_WARNING; 642 findTaggedAliasListsOffset(const char *alias, const char *standard, UErrorCode *pErrorCode) { 652 *pErrorCode = myErr [all...] |
ucol_swp.cpp | 36 UErrorCode *pErrorCode) { 42 if(pErrorCode==NULL || U_FAILURE(*pErrorCode)) { 46 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; 52 *pErrorCode=U_INDEX_OUTOFBOUNDS_ERROR; 71 *pErrorCode=U_INVALID_FORMAT_ERROR; /* not a UTrie */ 82 *pErrorCode=U_INDEX_OUTOFBOUNDS_ERROR; 89 ds->swapArray32(ds, inTrie, sizeof(UTrieHeader), outTrie, pErrorCode); 93 ds->swapArray16(ds, inTrie+1, trie.indexLength*2, outTrie+1, pErrorCode); 95 (uint16_t *)(outTrie+1)+trie.indexLength, pErrorCode); [all...] |
propsvec.c | 42 upvec_open(int32_t columns, UErrorCode *pErrorCode) { 47 if(U_FAILURE(*pErrorCode)) { 51 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; 61 *pErrorCode=U_MEMORY_ALLOCATION_ERROR; 156 UErrorCode *pErrorCode) { 163 if(U_FAILURE(*pErrorCode)) { 170 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; 174 *pErrorCode=U_NO_WRITE_PERMISSION; 213 *pErrorCode=U_INTERNAL_PROGRAM_ERROR; 218 *pErrorCode=U_MEMORY_ALLOCATION_ERROR [all...] |
ubidiwrt.c | 60 UErrorCode *pErrorCode) { 67 *pErrorCode=U_BUFFER_OVERFLOW_ERROR; 81 *pErrorCode=U_BUFFER_OVERFLOW_ERROR; 99 *pErrorCode=U_BUFFER_OVERFLOW_ERROR; 128 *pErrorCode=U_BUFFER_OVERFLOW_ERROR; 153 UErrorCode *pErrorCode) { 185 *pErrorCode=U_BUFFER_OVERFLOW_ERROR; 213 *pErrorCode=U_BUFFER_OVERFLOW_ERROR; 262 *pErrorCode=U_BUFFER_OVERFLOW_ERROR; 310 UErrorCode *pErrorCode) { [all...] |
usc_impl.h | 71 * @param pErrorCode is a pointer to a valid <code>UErrorCode</code> value. If this value 79 uscript_openRun(const UChar *src, int32_t length, UErrorCode *pErrorCode); 110 * @param pErrorCode is a pointer to a valid <code>UErrorCode</code> value. If this value 115 uscript_setRunText(UScriptRun *scriptRun, const UChar *src, int32_t length, UErrorCode *pErrorCode);
|
locdispnames.cpp | 301 UErrorCode *pErrorCode) { 309 rb=ures_open(path, locale, pErrorCode); 311 if(U_SUCCESS(*pErrorCode)) { 312 s=ures_getStringByKey(rb, tableKey, &length, pErrorCode); 319 *pErrorCode = U_MISSING_RESOURCE_ERROR; 327 pErrorCode); 331 if(U_SUCCESS(*pErrorCode)) { 340 *pErrorCode=U_USING_DEFAULT_WARNING; 343 return u_terminateUChars(dest, destCapacity, length, pErrorCode); 354 UErrorCode *pErrorCode) { [all...] |
ucnv_cnv.h | 64 const uint8_t *raw, UErrorCode *pErrorCode); 67 typedef void (*UConverterOpen) (UConverter *cnv, UConverterLoadArgs *pArgs, UErrorCode *pErrorCode); 126 UErrorCode *pErrorCode); 152 UErrorCode *pErrorCode); 167 typedef void (*UConverterWriteSub) (UConverterFromUnicodeArgs *pArgs, int32_t offsetIndex, UErrorCode *pErrorCode); 210 UErrorCode *pErrorCode); 288 UErrorCode *pErrorCode); 294 UErrorCode *pErrorCode); 302 UErrorCode *pErrorCode); 309 UErrorCode *pErrorCode); [all...] |
punycode.cpp | 185 UErrorCode *pErrorCode) { 192 if(pErrorCode==NULL || U_FAILURE(*pErrorCode)) { 197 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; 214 *pErrorCode=U_INDEX_OUTOFBOUNDS_ERROR; 235 *pErrorCode=U_INVALID_CHAR_FOUND; 246 *pErrorCode=U_INDEX_OUTOFBOUNDS_ERROR; 268 *pErrorCode=U_INVALID_CHAR_FOUND; 314 *pErrorCode=U_INTERNAL_PROGRAM_ERROR; 371 return u_terminateUChars(dest, destCapacity, destLength, pErrorCode); [all...] |
unormcmp.cpp | 144 UErrorCode *pErrorCode) { 180 nfcImpl=Normalizer2Factory::getNFCImpl(*pErrorCode); 189 if(U_FAILURE(*pErrorCode)) { 537 UnicodeString &normalized, UErrorCode *pErrorCode) { 541 int32_t spanQCYes=n2->spanQuickCheckYes(str, *pErrorCode); 542 if (U_FAILURE(*pErrorCode)) { 556 n2->normalizeSecondAndAppend(normalized, unnormalized, *pErrorCode); 557 if (U_SUCCESS(*pErrorCode)) { 568 UErrorCode *pErrorCode) { 570 if(U_FAILURE(*pErrorCode)) { [all...] |
ustrcase_locale.cpp | 88 UErrorCode *pErrorCode) { 95 ustrcase_internalToLower, pErrorCode); 102 UErrorCode *pErrorCode) { 109 ustrcase_internalToUpper, pErrorCode);
|
udataswp.h | 80 * @param pErrorCode ICU UErrorCode parameter, must not be NULL and must 90 UErrorCode *pErrorCode); 201 UErrorCode *pErrorCode); 215 UErrorCode *pErrorCode); 232 UErrorCode *pErrorCode); 256 UErrorCode *pErrorCode); 274 UErrorCode *pErrorCode); 283 UErrorCode *pErrorCode); 292 UErrorCode *pErrorCode); 301 UErrorCode *pErrorCode); [all...] |
ucnv_u16.c | 36 UErrorCode *pErrorCode); 49 UErrorCode *pErrorCode) { 75 pErrorCode); 81 *pErrorCode=U_BUFFER_OVERFLOW_ERROR; 219 *pErrorCode=U_ILLEGAL_CHAR_FOUND; 226 *pErrorCode=U_ILLEGAL_CHAR_FOUND; 237 pErrorCode); 241 if(U_SUCCESS(*pErrorCode) && source<pArgs->sourceLimit && targetCapacity==0) { 242 *pErrorCode=U_BUFFER_OVERFLOW_ERROR; 253 UErrorCode *pErrorCode) { [all...] |
ustrcase.cpp | 131 UErrorCode *pErrorCode) { 156 *pErrorCode=U_BUFFER_OVERFLOW_ERROR; 167 UErrorCode *pErrorCode) { 173 if(U_FAILURE(*pErrorCode)) { 272 pErrorCode); 289 *pErrorCode=U_BUFFER_OVERFLOW_ERROR; 302 UErrorCode *pErrorCode) { 310 pErrorCode); 317 UErrorCode *pErrorCode) { 325 pErrorCode); [all...] |
ucmndata.h | 78 * p->vFuncs.Lookup(p, tocEntryName, pErrorCode); 86 UErrorCode *pErrorCode); 109 U_CFUNC void udata_checkCommonData(UDataMemory *pData, UErrorCode *pErrorCode);
|
/external/icu/icu4c/source/i18n/unicode/ |
udatpg.h | 130 * @param pErrorCode a pointer to the UErrorCode which must not indicate a 136 udatpg_open(const char *locale, UErrorCode *pErrorCode); 140 * @param pErrorCode a pointer to the UErrorCode which must not indicate a 146 udatpg_openEmpty(UErrorCode *pErrorCode); 178 * @param pErrorCode a pointer to the UErrorCode which must not indicate a 184 udatpg_clone(const UDateTimePatternGenerator *dtpg, UErrorCode *pErrorCode); 204 * @param pErrorCode a pointer to the UErrorCode which must not indicate a 213 UErrorCode *pErrorCode); 239 * @param pErrorCode 250 UErrorCode *pErrorCode); [all...] |
/external/icu/icu4c/source/common/unicode/ |
unorm.h | 250 * @param pErrorCode ICU error code in/out parameter. 261 UErrorCode *pErrorCode); 276 * @param pErrorCode ICU error code in/out parameter. 287 UErrorCode *pErrorCode); 297 * @param pErrorCode ICU error code in/out parameter. 309 UErrorCode *pErrorCode); 375 * @param pErrorCode ICU error code in/out parameter. 389 UErrorCode *pErrorCode); 408 * @param pErrorCode ICU error code in/out parameter. 422 UErrorCode *pErrorCode); [all...] |
ubidi.h | 42 * the <code>pErrorCode</code> pointer must be valid 181 * count=ubidi_countRuns(para, pErrorCode); 182 * if(U_SUCCESS(*pErrorCode)) { 209 * UErrorCode *pErrorCode) { 212 * if(pErrorCode==NULL || U_FAILURE(*pErrorCode) || length<=0) { 216 * para=ubidi_openSized(length, 0, pErrorCode); 221 * NULL, pErrorCode); 222 * if(U_SUCCESS(*pErrorCode)) { 247 * line=ubidi_openSized(length, 0, pErrorCode); [all...] |
uidna.h | 132 * @param pErrorCode Standard ICU error code. Its input value must 140 uidna_openUTS46(uint32_t options, UErrorCode *pErrorCode); 224 * @param pErrorCode Standard ICU error code. Its input value must 235 UIDNAInfo *pInfo, UErrorCode *pErrorCode); 251 * @param pErrorCode Standard ICU error code. Its input value must 262 UIDNAInfo *pInfo, UErrorCode *pErrorCode); 280 * @param pErrorCode Standard ICU error code. Its input value must 291 UIDNAInfo *pInfo, UErrorCode *pErrorCode); 307 * @param pErrorCode Standard ICU error code. Its input value must 318 UIDNAInfo *pInfo, UErrorCode *pErrorCode); [all...] |
ucnv.h | 191 * @param pErrorCode ICU error code in/out parameter. 204 UErrorCode *pErrorCode); 215 * @param pErrorCode ICU error code in/out parameter. 228 UErrorCode *pErrorCode); [all...] |
/external/icu/icu4c/source/tools/toolutil/ |
unewdata.c | 37 UErrorCode *pErrorCode) { 44 if(pErrorCode==NULL || U_FAILURE(*pErrorCode)) { 47 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; 54 *pErrorCode=U_MEMORY_ALLOCATION_ERROR; 79 *pErrorCode = U_BUFFER_OVERFLOW_ERROR; 103 *pErrorCode=U_FILE_ACCESS_ERROR; 142 udata_finish(UNewDataMemory *pData, UErrorCode *pErrorCode) { 145 if(pErrorCode==NULL || U_FAILURE(*pErrorCode)) { [all...] |
pkgitems.cpp | 130 UErrorCode *pErrorCode) { 152 *pErrorCode=U_BUFFER_OVERFLOW_ERROR; 164 UErrorCode *pErrorCode) { 166 makeTargetName(itemName, id, idLength, suffix, target, (int32_t)sizeof(target), pErrorCode); 167 if(U_SUCCESS(*pErrorCode)) { 175 UErrorCode *pErrorCode) { 210 checkIDSuffix(itemName, parent, parentLength, suffix, check, context, pErrorCode); 223 CheckDependency check, void *context, UErrorCode *pErrorCode) { 229 *pErrorCode=U_INVALID_CHAR_FOUND; 255 *pErrorCode=U_UNSUPPORTED_ERROR [all...] |
/external/icu/icu4c/source/test/perf/utfperf/ |
utfperf.cpp | 110 UErrorCode *pErrorCode) { 114 UCNV_FROM_U_CALLBACK_SUBSTITUTE(context, fromUArgs, codeUnits, length, codePoint, reason, pErrorCode); 137 // virtual void call(UErrorCode* pErrorCode) { ... } 163 virtual void call(UErrorCode* pErrorCode){ 187 ucnv_fromUnicode(cnv, &pInter, pInterLimit, &pIn, pInLimit, NULL, TRUE, pErrorCode); 190 if(*pErrorCode==U_BUFFER_OVERFLOW_ERROR) { 192 *pErrorCode=U_ZERO_ERROR; 193 } else if(U_FAILURE(*pErrorCode)) { 201 ucnv_toUnicode(cnv, &pOut, pOutLimit,&p, pInter,NULL, flush,pErrorCode); 202 if(U_FAILURE(*pErrorCode)) { [all...] |
/external/icu/icu4c/source/tools/makeconv/ |
makeconv.cpp | 85 createConverter(ConvData *data, const char* converterName, UErrorCode *pErrorCode); 425 UErrorCode *pErrorCode) { 431 if(U_FAILURE(*pErrorCode)) { 467 *pErrorCode=U_INVALID_TABLE_FORMAT; 478 *pErrorCode=U_INVALID_TABLE_FORMAT; 491 *pErrorCode=U_INVALID_TABLE_FORMAT; 545 *pErrorCode=U_INVALID_TABLE_FORMAT; 552 UErrorCode *pErrorCode) { 560 if(U_FAILURE(*pErrorCode)) { 568 *pErrorCode=U_FILE_ACCESS_ERROR [all...] |
/external/icu/icu4c/source/test/cintltst/ |
sprpdata.c | 34 parseMappings(const char *filename, UStringPrepProfile* data, UBool reportError, UErrorCode *pErrorCode); 49 UErrorCode *pErrorCode) { 63 u_parseCodePointRange(fields[0][0], &rangeStart,&rangeEnd, pErrorCode); 70 u_parseCodePointRange(fields[0][0], &rangeStart,&rangeEnd, pErrorCode); 80 length=u_parseCodePoints(map, mapping, sizeof(mapping)/4, pErrorCode); 85 *pErrorCode = U_INVALID_FORMAT_ERROR; 93 parseMappings(const char *filename, UStringPrepProfile* data, UBool reportError, UErrorCode *pErrorCode) { 96 if(pErrorCode==NULL || U_FAILURE(*pErrorCode)) { 100 u_parseDelimitedFile(filename, ';', fields, 3, strprepProfileLineFn, (void*)data, pErrorCode); [all...] |