/external/icu/icu4c/source/common/ |
H A D | ucnv_set.c | 35 UErrorCode *pErrorCode) { 37 if(pErrorCode==NULL || U_FAILURE(*pErrorCode)) { 41 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; 47 *pErrorCode=U_UNSUPPORTED_ERROR; 66 cnv->sharedData->impl->getUnicodeSet(cnv, &sa, whichSet, pErrorCode); 32 ucnv_getUnicodeSet(const UConverter *cnv, USet *setFillIn, UConverterUnicodeSet whichSet, UErrorCode *pErrorCode) argument
|
H A D | ucnvdisp.c | 39 UErrorCode *pErrorCode) { 46 if(pErrorCode==NULL || U_FAILURE(*pErrorCode)) { 51 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; 56 rb=ures_open(NULL, displayLocale, pErrorCode); 57 if(U_FAILURE(*pErrorCode)) { 67 if (*pErrorCode == U_ZERO_ERROR) { 68 *pErrorCode = localStatus; 76 return u_terminateUChars(displayName, displayNameCapacity, length, pErrorCode); 36 ucnv_getDisplayName(const UConverter *cnv, const char *displayLocale, UChar *displayName, int32_t displayNameCapacity, UErrorCode *pErrorCode) argument
|
H A D | ucasemap_titlecase_brkiter.cpp | 39 ucasemap_setBreakIterator(UCaseMap *csm, UBreakIterator *iterToAdopt, UErrorCode * /*pErrorCode*/) { 49 UErrorCode *pErrorCode) { 51 utext_openUTF8(&utext, (const char *)src, srcLength, pErrorCode); 52 if(U_FAILURE(*pErrorCode)) { 58 pErrorCode); 60 ubrk_setUText(csm->iter, &utext, pErrorCode); 64 ucasemap_internalUTF8ToTitle, pErrorCode); 46 ucasemap_utf8ToTitle(UCaseMap *csm, char *dest, int32_t destCapacity, const char *src, int32_t srcLength, UErrorCode *pErrorCode) argument
|
H A D | unistr_titlecase_brkiter.cpp | 35 UErrorCode *pErrorCode) { 36 ubrk_setText(csm->iter, src, srcLength, pErrorCode); 37 return ustrcase_internalToTitle(csm, dest, destCapacity, src, srcLength, pErrorCode); 32 unistr_case_internalToTitle(const UCaseMap *csm, UChar *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, UErrorCode *pErrorCode) argument
|
H A D | ustr_titlecase_brkiter.cpp | 57 UErrorCode *pErrorCode) { 61 ubrk_setText(csm.iter=titleIter, src, srcLength, pErrorCode); 63 csm.iter=ubrk_open(UBRK_WORD, csm.locale, src, srcLength, pErrorCode); 69 ustrcase_internalToTitle, pErrorCode); 80 UErrorCode *pErrorCode) { 82 ubrk_setText(csm->iter, src, srcLength, pErrorCode); 84 csm->iter=ubrk_open(UBRK_WORD, csm->locale, src, srcLength, pErrorCode); 90 ustrcase_internalToTitle, pErrorCode); 53 u_strToTitle(UChar *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, UBreakIterator *titleIter, const char *locale, UErrorCode *pErrorCode) argument 77 ucasemap_toTitle(UCaseMap *csm, UChar *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, UErrorCode *pErrorCode) argument
|
H A D | ustrcase_locale.cpp | 90 UErrorCode *pErrorCode) { 97 ustrcase_internalToLower, pErrorCode); 104 UErrorCode *pErrorCode) { 111 ustrcase_internalToUpper, pErrorCode); 87 u_strToLower(UChar *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, const char *locale, UErrorCode *pErrorCode) argument 101 u_strToUpper(UChar *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, const char *locale, UErrorCode *pErrorCode) argument
|
H A D | ucnv_cnv.c | 35 UErrorCode *pErrorCode) { 43 UErrorCode *pErrorCode) { 54 UErrorCode *pErrorCode) { 84 *pErrorCode=U_BUFFER_OVERFLOW_ERROR; 94 UErrorCode *pErrorCode) { 124 *pErrorCode=U_BUFFER_OVERFLOW_ERROR; 134 UErrorCode *pErrorCode) { 172 *pErrorCode=U_BUFFER_OVERFLOW_ERROR; 32 ucnv_getCompleteUnicodeSet(const UConverter *cnv, const USetAdder *sa, UConverterUnicodeSet which, UErrorCode *pErrorCode) argument 40 ucnv_getNonSurrogateUnicodeSet(const UConverter *cnv, const USetAdder *sa, UConverterUnicodeSet which, UErrorCode *pErrorCode) argument 49 ucnv_fromUWriteBytes(UConverter *cnv, const char *bytes, int32_t length, char **target, const char *targetLimit, int32_t **offsets, int32_t sourceIndex, UErrorCode *pErrorCode) argument 89 ucnv_toUWriteUChars(UConverter *cnv, const UChar *uchars, int32_t length, UChar **target, const UChar *targetLimit, int32_t **offsets, int32_t sourceIndex, UErrorCode *pErrorCode) argument 129 ucnv_toUWriteCodePoint(UConverter *cnv, UChar32 c, UChar **target, const UChar *targetLimit, int32_t **offsets, int32_t sourceIndex, UErrorCode *pErrorCode) argument
|
H A D | locresdata.cpp | 49 UErrorCode *pErrorCode) 66 *pErrorCode=errorCode; 69 (errorCode==U_USING_FALLBACK_WARNING && *pErrorCode!=U_USING_DEFAULT_WARNING) 72 *pErrorCode=errorCode; 85 *pErrorCode = errorCode; 96 *pErrorCode = errorCode; /*save the errorCode*/ 108 *pErrorCode = errorCode; 122 *pErrorCode = errorCode; 127 *pErrorCode = errorCode; 135 *pErrorCode 45 uloc_getTableStringWithFallback(const char *path, const char *locale, const char *tableKey, const char *subTableKey, const char *itemKey, int32_t *pLength, UErrorCode *pErrorCode) argument [all...] |
H A D | uscript_props.cpp | 236 uscript_getSampleString(UScriptCode script, UChar *dest, int32_t capacity, UErrorCode *pErrorCode) { argument 237 if(U_FAILURE(*pErrorCode)) { return 0; } 239 *pErrorCode = U_ILLEGAL_ARGUMENT_ERROR; 253 return u_terminateUChars(dest, capacity, length, pErrorCode);
|
H A D | ustrtrns.cpp | 46 UErrorCode *pErrorCode) { 55 if(U_FAILURE(*pErrorCode)){ 62 *pErrorCode = U_ILLEGAL_ARGUMENT_ERROR; 117 *pErrorCode = U_INVALID_CHAR_FOUND; 134 u_terminateUChars(dest, destCapacity, reqLength, pErrorCode); 145 UErrorCode *pErrorCode) { 150 pErrorCode); 160 UErrorCode *pErrorCode) { 170 if(U_FAILURE(*pErrorCode)){ 177 *pErrorCode 40 u_strFromUTF32WithSub(UChar *dest, int32_t destCapacity, int32_t *pDestLength, const UChar32 *src, int32_t srcLength, UChar32 subchar, int32_t *pNumSubstitutions, UErrorCode *pErrorCode) argument 140 u_strFromUTF32(UChar *dest, int32_t destCapacity, int32_t *pDestLength, const UChar32 *src, int32_t srcLength, UErrorCode *pErrorCode) argument 154 u_strToUTF32WithSub(UChar32 *dest, int32_t destCapacity, int32_t *pDestLength, const UChar *src, int32_t srcLength, UChar32 subchar, int32_t *pNumSubstitutions, UErrorCode *pErrorCode) argument 246 u_strToUTF32(UChar32 *dest, int32_t destCapacity, int32_t *pDestLength, const UChar *src, int32_t srcLength, UErrorCode *pErrorCode) argument [all...] |
H A D | filterednormalizer2.cpp | 274 unorm2_openFiltered(const UNormalizer2 *norm2, const USet *filterSet, UErrorCode *pErrorCode) { argument 275 if(U_FAILURE(*pErrorCode)) { 279 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; 285 *pErrorCode=U_MEMORY_ALLOCATION_ERROR;
|
H A D | uarrsort.c | 133 UComparator *cmp, const void *context, UErrorCode *pErrorCode) { 143 *pErrorCode=U_MEMORY_ALLOCATION_ERROR; 237 UComparator *cmp, const void *context, UErrorCode *pErrorCode) { 247 *pErrorCode=U_MEMORY_ALLOCATION_ERROR; 269 UBool sortStable, UErrorCode *pErrorCode) { 270 if(pErrorCode==NULL || U_FAILURE(*pErrorCode)) { 274 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; 281 insertionSort((char *)array, length, itemSize, cmp, context, pErrorCode); 283 quickSort((char *)array, length, itemSize, cmp, context, pErrorCode); 132 insertionSort(char *array, int32_t length, int32_t itemSize, UComparator *cmp, const void *context, UErrorCode *pErrorCode) argument 236 quickSort(char *array, int32_t length, int32_t itemSize, UComparator *cmp, const void *context, UErrorCode *pErrorCode) argument 267 uprv_sortArray(void *array, int32_t length, int32_t itemSize, UComparator *cmp, const void *context, UBool sortStable, UErrorCode *pErrorCode) argument [all...] |
H A D | ubidiwrt.c | 62 UErrorCode *pErrorCode) { 69 *pErrorCode=U_BUFFER_OVERFLOW_ERROR; 83 *pErrorCode=U_BUFFER_OVERFLOW_ERROR; 101 *pErrorCode=U_BUFFER_OVERFLOW_ERROR; 130 *pErrorCode=U_BUFFER_OVERFLOW_ERROR; 155 UErrorCode *pErrorCode) { 187 *pErrorCode=U_BUFFER_OVERFLOW_ERROR; 215 *pErrorCode=U_BUFFER_OVERFLOW_ERROR; 264 *pErrorCode=U_BUFFER_OVERFLOW_ERROR; 312 UErrorCode *pErrorCode) { 59 doWriteForward(const UChar *src, int32_t srcLength, UChar *dest, int32_t destSize, uint16_t options, UErrorCode *pErrorCode) argument 152 doWriteReverse(const UChar *src, int32_t srcLength, UChar *dest, int32_t destSize, uint16_t options, UErrorCode *pErrorCode) argument 309 ubidi_writeReverse(const UChar *src, int32_t srcLength, UChar *dest, int32_t destSize, uint16_t options, UErrorCode *pErrorCode) argument 350 ubidi_writeReordered(UBiDi *pBiDi, UChar *dest, int32_t destSize, uint16_t options, UErrorCode *pErrorCode) argument [all...] |
H A D | unorm.cpp | 50 UErrorCode *pErrorCode) { 51 const Normalizer2 *n2=Normalizer2Factory::getInstance(mode, *pErrorCode); 52 return unorm2_quickCheck((const UNormalizer2 *)n2, src, srcLength, pErrorCode); 58 UErrorCode *pErrorCode) { 59 const Normalizer2 *n2=Normalizer2Factory::getInstance(mode, *pErrorCode); 61 FilteredNormalizer2 fn2(*n2, *uniset_getUnicode32Instance(*pErrorCode)); 64 src, srcLength, pErrorCode); 66 return unorm2_quickCheck((const UNormalizer2 *)n2, src, srcLength, pErrorCode); 73 UErrorCode *pErrorCode) { 74 const Normalizer2 *n2=Normalizer2Factory::getInstance(mode, *pErrorCode); 47 unorm_quickCheck(const UChar *src, int32_t srcLength, UNormalizationMode mode, UErrorCode *pErrorCode) argument 56 unorm_quickCheckWithOptions(const UChar *src, int32_t srcLength, UNormalizationMode mode, int32_t options, UErrorCode *pErrorCode) argument 71 unorm_isNormalized(const UChar *src, int32_t srcLength, UNormalizationMode mode, UErrorCode *pErrorCode) argument 79 unorm_isNormalizedWithOptions(const UChar *src, int32_t srcLength, UNormalizationMode mode, int32_t options, UErrorCode *pErrorCode) argument 97 unorm_normalize(const UChar *src, int32_t srcLength, UNormalizationMode mode, int32_t options, UChar *dest, int32_t destCapacity, UErrorCode *pErrorCode) argument 117 _iterate(UCharIterator *src, UBool forward, UChar *dest, int32_t destCapacity, const Normalizer2 *n2, UBool doNormalize, UBool *pNeededToNormalize, UErrorCode *pErrorCode) argument 177 unorm_iterate(UCharIterator *src, UBool forward, UChar *dest, int32_t destCapacity, UNormalizationMode mode, int32_t options, UBool doNormalize, UBool *pNeededToNormalize, UErrorCode *pErrorCode) argument 197 unorm_previous(UCharIterator *src, UChar *dest, int32_t destCapacity, UNormalizationMode mode, int32_t options, UBool doNormalize, UBool *pNeededToNormalize, UErrorCode *pErrorCode) argument 210 unorm_next(UCharIterator *src, UChar *dest, int32_t destCapacity, UNormalizationMode mode, int32_t options, UBool doNormalize, UBool *pNeededToNormalize, UErrorCode *pErrorCode) argument 225 _concatenate(const UChar *left, int32_t leftLength, const UChar *right, int32_t rightLength, UChar *dest, int32_t destCapacity, const Normalizer2 *n2, UErrorCode *pErrorCode) argument 261 unorm_concatenate(const UChar *left, int32_t leftLength, const UChar *right, int32_t rightLength, UChar *dest, int32_t destCapacity, UNormalizationMode mode, int32_t options, UErrorCode *pErrorCode) argument [all...] |
H A D | dictionarydata.cpp | 163 void *outData, UErrorCode *pErrorCode) { 172 headerSize = udata_swapDataHeader(ds, inData, length, outData, pErrorCode); 173 if (pErrorCode == NULL || U_FAILURE(*pErrorCode)) return 0; 182 *pErrorCode = U_UNSUPPORTED_ERROR; 194 *pErrorCode = U_INDEX_OUTOFBOUNDS_ERROR; 208 *pErrorCode = U_INDEX_OUTOFBOUNDS_ERROR; 217 ds->swapArray32(ds, inBytes, sizeof(indexes), outBytes, pErrorCode); 223 ds->swapArray16(ds, inBytes + offset, nextOffset - offset, outBytes + offset, pErrorCode); 228 *pErrorCode 162 udict_swap(const UDataSwapper *ds, const void *inData, int32_t length, void *outData, UErrorCode *pErrorCode) argument [all...] |
H A D | loadednormalizer2impl.cpp | 322 unorm2_getNFKCInstance(UErrorCode *pErrorCode) { argument 323 return (const UNormalizer2 *)Normalizer2::getNFKCInstance(*pErrorCode); 327 unorm2_getNFKDInstance(UErrorCode *pErrorCode) { argument 328 return (const UNormalizer2 *)Normalizer2::getNFKDInstance(*pErrorCode); 332 unorm2_getNFKCCasefoldInstance(UErrorCode *pErrorCode) { argument 333 return (const UNormalizer2 *)Normalizer2::getNFKCCasefoldInstance(*pErrorCode); 340 UErrorCode *pErrorCode) { 341 return (const UNormalizer2 *)Normalizer2::getInstance(packageName, name, mode, *pErrorCode); 337 unorm2_getInstance(const char *packageName, const char *name, UNormalization2Mode mode, UErrorCode *pErrorCode) argument
|
H A D | propsvec.c | 44 upvec_open(int32_t columns, UErrorCode *pErrorCode) { argument 49 if(U_FAILURE(*pErrorCode)) { 53 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; 63 *pErrorCode=U_MEMORY_ALLOCATION_ERROR; 158 UErrorCode *pErrorCode) { 165 if(U_FAILURE(*pErrorCode)) { 172 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; 176 *pErrorCode=U_NO_WRITE_PERMISSION; 215 *pErrorCode=U_INTERNAL_PROGRAM_ERROR; 220 *pErrorCode 154 upvec_setValue(UPropsVectors *pv, UChar32 start, UChar32 end, int32_t column, uint32_t value, uint32_t mask, UErrorCode *pErrorCode) argument 336 upvec_compact(UPropsVectors *pv, UPVecCompactHandler *handler, void *context, UErrorCode *pErrorCode) argument 452 upvec_cloneArray(const UPropsVectors *pv, int32_t *pRows, int32_t *pColumns, UErrorCode *pErrorCode) argument 481 upvec_compactToUTrie2WithRowIndexes(UPropsVectors *pv, UErrorCode *pErrorCode) argument 498 upvec_compactToUTrie2Handler(void *context, UChar32 start, UChar32 end, int32_t rowIndex, uint32_t *row, int32_t columns, UErrorCode *pErrorCode) argument [all...] |
H A D | punycode.cpp | 187 UErrorCode *pErrorCode) { 194 if(pErrorCode==NULL || U_FAILURE(*pErrorCode)) { 199 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; 216 *pErrorCode=U_INDEX_OUTOFBOUNDS_ERROR; 237 *pErrorCode=U_INVALID_CHAR_FOUND; 248 *pErrorCode=U_INDEX_OUTOFBOUNDS_ERROR; 270 *pErrorCode=U_INVALID_CHAR_FOUND; 316 *pErrorCode=U_INTERNAL_PROGRAM_ERROR; 373 return u_terminateUChars(dest, destCapacity, destLength, pErrorCode); 184 u_strToPunycode(const UChar *src, int32_t srcLength, UChar *dest, int32_t destCapacity, const UBool *caseFlags, UErrorCode *pErrorCode) argument 377 u_strFromPunycode(const UChar *src, int32_t srcLength, UChar *dest, int32_t destCapacity, UBool *caseFlags, UErrorCode *pErrorCode) argument [all...] |
H A D | ubidi_props.c | 65 ubidi_addPropertyStarts(const UBiDiProps *bdp, const USetAdder *sa, UErrorCode *pErrorCode) { argument 72 if(U_FAILURE(*pErrorCode)) {
|
/external/icu/icu4c/source/samples/uciter8/ |
H A D | uit_len8.c | 495 lenient8IteratorSetState(UCharIterator *iter, uint32_t state, UErrorCode *pErrorCode) { argument 496 if(pErrorCode==NULL || U_FAILURE(*pErrorCode)) { 499 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; 507 *pErrorCode=U_INDEX_OUTOFBOUNDS_ERROR; 522 *pErrorCode=U_INDEX_OUTOFBOUNDS_ERROR;
|
/external/icu/icu4c/source/test/perf/usetperf/ |
H A D | usetperf.cpp | 42 virtual void call(UErrorCode* pErrorCode){ argument 43 set.applyPattern(pat, *pErrorCode); 68 virtual void call(UErrorCode* pErrorCode){ argument
|
/external/icu/icu4c/source/test/perf/utrie2perf/ |
H A D | utrie2perf.cpp | 34 unorm_initUTrie2(UErrorCode *pErrorCode); 37 ubidi_initUTrie2(UErrorCode *pErrorCode); 104 // virtual void call(UErrorCode* pErrorCode) { ... } 124 virtual void call(UErrorCode* pErrorCode) { argument 144 virtual void call(UErrorCode* pErrorCode) { 165 virtual void call(UErrorCode* pErrorCode) { 192 virtual void call(UErrorCode* pErrorCode) { argument 216 virtual void call(UErrorCode* pErrorCode) { argument
|
/external/icu/icu4c/source/tools/toolutil/ |
H A D | swapimpl.cpp | 77 UErrorCode *pErrorCode) { 79 int32_t headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode); 80 if(pErrorCode==NULL || U_FAILURE(*pErrorCode)) { 99 *pErrorCode=U_UNSUPPORTED_ERROR; 112 *pErrorCode=U_INDEX_OUTOFBOUNDS_ERROR; 124 *pErrorCode=U_INDEX_OUTOFBOUNDS_ERROR; 132 ds->swapArray32(ds, inBytes, numBytesIndexesAndValueMaps, outBytes, pErrorCode); 162 UErrorCode *pErrorCode) { 170 headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode); 75 upname_swap(const UDataSwapper *ds, const void *inData, int32_t length, void *outData, UErrorCode *pErrorCode) argument 160 uprops_swap(const UDataSwapper *ds, const void *inData, int32_t length, void *outData, UErrorCode *pErrorCode) argument 308 ucase_swap(const UDataSwapper *ds, const void *inData, int32_t length, void *outData, UErrorCode *pErrorCode) argument 410 ubidi_swap(const UDataSwapper *ds, const void *inData, int32_t length, void *outData, UErrorCode *pErrorCode) argument 520 unorm_swap(const UDataSwapper *ds, const void *inData, int32_t length, void *outData, UErrorCode *pErrorCode) argument 644 test_swap(const UDataSwapper *ds, const void *inData, int32_t length, void *outData, UErrorCode *pErrorCode) argument 750 udata_swap(const UDataSwapper *ds, const void *inData, int32_t length, void *outData, UErrorCode *pErrorCode) argument [all...] |
H A D | unewdata.c | 39 UErrorCode *pErrorCode) { 46 if(pErrorCode==NULL || U_FAILURE(*pErrorCode)) { 49 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; 56 *pErrorCode=U_MEMORY_ALLOCATION_ERROR; 81 *pErrorCode = U_BUFFER_OVERFLOW_ERROR; 105 *pErrorCode=U_FILE_ACCESS_ERROR; 144 udata_finish(UNewDataMemory *pData, UErrorCode *pErrorCode) { argument 147 if(pErrorCode==NULL || U_FAILURE(*pErrorCode)) { 36 udata_create(const char *dir, const char *type, const char *name, const UDataInfo *pInfo, const char *comment, UErrorCode *pErrorCode) argument 184 udata_createDummy(const char *dir, const char *type, const char *name, UErrorCode *pErrorCode) argument 186 udata_finish(udata_create(dir, type, name, &dummyDataInfo, NULL, pErrorCode), pErrorCode); local [all...] |
H A D | uparse.c | 78 UErrorCode *pErrorCode) { 84 if(U_FAILURE(*pErrorCode)) { 89 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; 100 *pErrorCode=U_FILE_ACCESS_ERROR; 115 *pErrorCode=U_ZERO_ERROR; 117 *pErrorCode=U_USING_DEFAULT_WARNING; 159 *pErrorCode=U_PARSE_ERROR; 167 if(U_FAILURE(*pErrorCode)) { 172 lineFn(context, fields, fieldCount, pErrorCode); 173 if(U_FAILURE(*pErrorCode)) { 75 u_parseDelimitedFile(const char *filename, char delimiter, char *fields[][2], int32_t fieldCount, UParseLineFn *lineFn, void *context, UErrorCode *pErrorCode) argument 189 u_parseCodePoints(const char *s, uint32_t *dest, int32_t destCapacity, UErrorCode *pErrorCode) argument 237 u_parseString(const char *s, UChar *dest, int32_t destCapacity, uint32_t *pFirst, UErrorCode *pErrorCode) argument 298 u_parseCodePointRangeAnyTerminator(const char *s, uint32_t *pStart, uint32_t *pEnd, const char **terminator, UErrorCode *pErrorCode) argument 349 u_parseCodePointRange(const char *s, uint32_t *pStart, uint32_t *pEnd, UErrorCode *pErrorCode) argument [all...] |