Searched defs:pErrorCode (Results 1 - 25 of 182) sorted by relevance

12345678

/external/chromium_org/third_party/icu/source/common/
H A Ducnv_set.c33 UErrorCode *pErrorCode) {
35 if(pErrorCode==NULL || U_FAILURE(*pErrorCode)) {
39 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR;
45 *pErrorCode=U_UNSUPPORTED_ERROR;
64 cnv->sharedData->impl->getUnicodeSet(cnv, &sa, whichSet, pErrorCode);
30 ucnv_getUnicodeSet(const UConverter *cnv, USet *setFillIn, UConverterUnicodeSet whichSet, UErrorCode *pErrorCode) argument
H A Ducnvdisp.c37 UErrorCode *pErrorCode) {
44 if(pErrorCode==NULL || U_FAILURE(*pErrorCode)) {
49 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR;
54 rb=ures_open(NULL, displayLocale, pErrorCode);
55 if(U_FAILURE(*pErrorCode)) {
65 if (*pErrorCode == U_ZERO_ERROR) {
66 *pErrorCode = localStatus;
74 return u_terminateUChars(displayName, displayNameCapacity, length, pErrorCode);
34 ucnv_getDisplayName(const UConverter *cnv, const char *displayLocale, UChar *displayName, int32_t displayNameCapacity, UErrorCode *pErrorCode) argument
H A Ducasemap_titlecase_brkiter.cpp37 ucasemap_setBreakIterator(UCaseMap *csm, UBreakIterator *iterToAdopt, UErrorCode * /*pErrorCode*/) {
47 UErrorCode *pErrorCode) {
49 utext_openUTF8(&utext, (const char *)src, srcLength, pErrorCode);
50 if(U_FAILURE(*pErrorCode)) {
56 pErrorCode);
58 ubrk_setUText(csm->iter, &utext, pErrorCode);
62 ucasemap_internalUTF8ToTitle, pErrorCode);
44 ucasemap_utf8ToTitle(UCaseMap *csm, char *dest, int32_t destCapacity, const char *src, int32_t srcLength, UErrorCode *pErrorCode) argument
H A Dunistr_titlecase_brkiter.cpp33 UErrorCode *pErrorCode) {
34 ubrk_setText(csm->iter, src, srcLength, pErrorCode);
35 return ustrcase_internalToTitle(csm, dest, destCapacity, src, srcLength, pErrorCode);
30 unistr_case_internalToTitle(const UCaseMap *csm, UChar *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, UErrorCode *pErrorCode) argument
H A Dustr_titlecase_brkiter.cpp55 UErrorCode *pErrorCode) {
59 ubrk_setText(csm.iter=titleIter, src, srcLength, pErrorCode);
61 csm.iter=ubrk_open(UBRK_WORD, csm.locale, src, srcLength, pErrorCode);
67 ustrcase_internalToTitle, pErrorCode);
78 UErrorCode *pErrorCode) {
80 ubrk_setText(csm->iter, src, srcLength, pErrorCode);
82 csm->iter=ubrk_open(UBRK_WORD, csm->locale, src, srcLength, pErrorCode);
88 ustrcase_internalToTitle, pErrorCode);
51 u_strToTitle(UChar *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, UBreakIterator *titleIter, const char *locale, UErrorCode *pErrorCode) argument
75 ucasemap_toTitle(UCaseMap *csm, UChar *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, UErrorCode *pErrorCode) argument
H A Dustrcase_locale.cpp88 UErrorCode *pErrorCode) {
95 ustrcase_internalToLower, pErrorCode);
102 UErrorCode *pErrorCode) {
109 ustrcase_internalToUpper, pErrorCode);
85 u_strToLower(UChar *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, const char *locale, UErrorCode *pErrorCode) argument
99 u_strToUpper(UChar *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, const char *locale, UErrorCode *pErrorCode) argument
H A Ducnv_cnv.c33 UErrorCode *pErrorCode) {
41 UErrorCode *pErrorCode) {
52 UErrorCode *pErrorCode) {
82 *pErrorCode=U_BUFFER_OVERFLOW_ERROR;
92 UErrorCode *pErrorCode) {
122 *pErrorCode=U_BUFFER_OVERFLOW_ERROR;
132 UErrorCode *pErrorCode) {
170 *pErrorCode=U_BUFFER_OVERFLOW_ERROR;
30 ucnv_getCompleteUnicodeSet(const UConverter *cnv, const USetAdder *sa, UConverterUnicodeSet which, UErrorCode *pErrorCode) argument
38 ucnv_getNonSurrogateUnicodeSet(const UConverter *cnv, const USetAdder *sa, UConverterUnicodeSet which, UErrorCode *pErrorCode) argument
47 ucnv_fromUWriteBytes(UConverter *cnv, const char *bytes, int32_t length, char **target, const char *targetLimit, int32_t **offsets, int32_t sourceIndex, UErrorCode *pErrorCode) argument
87 ucnv_toUWriteUChars(UConverter *cnv, const UChar *uchars, int32_t length, UChar **target, const UChar *targetLimit, int32_t **offsets, int32_t sourceIndex, UErrorCode *pErrorCode) argument
127 ucnv_toUWriteCodePoint(UConverter *cnv, UChar32 c, UChar **target, const UChar *targetLimit, int32_t **offsets, int32_t sourceIndex, UErrorCode *pErrorCode) argument
H A Dlocresdata.cpp47 UErrorCode *pErrorCode)
64 *pErrorCode=errorCode;
67 (errorCode==U_USING_FALLBACK_WARNING && *pErrorCode!=U_USING_DEFAULT_WARNING)
70 *pErrorCode=errorCode;
83 *pErrorCode = errorCode;
94 *pErrorCode = errorCode; /*save the errorCode*/
106 *pErrorCode = errorCode;
120 *pErrorCode = errorCode;
125 *pErrorCode = errorCode;
133 *pErrorCode
43 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 Ducol_swp.cpp35 UErrorCode *pErrorCode) {
41 if(pErrorCode==NULL || U_FAILURE(*pErrorCode)) {
45 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR;
51 *pErrorCode=U_INDEX_OUTOFBOUNDS_ERROR;
70 *pErrorCode=U_INVALID_FORMAT_ERROR; /* not a UTrie */
81 *pErrorCode=U_INDEX_OUTOFBOUNDS_ERROR;
88 ds->swapArray32(ds, inTrie, sizeof(UTrieHeader), outTrie, pErrorCode);
92 ds->swapArray16(ds, inTrie+1, trie.indexLength*2, outTrie+1, pErrorCode);
94 (uint16_t *)(outTrie+1)+trie.indexLength, pErrorCode);
33 utrie_swap(const UDataSwapper *ds, const void *inData, int32_t length, void *outData, UErrorCode *pErrorCode) argument
149 ucol_swapBinary(const UDataSwapper *ds, const void *inData, int32_t length, void *outData, UErrorCode *pErrorCode) argument
332 ucol_swap(const UDataSwapper *ds, const void *inData, int32_t length, void *outData, UErrorCode *pErrorCode) argument
377 ucol_swapInverseUCA(const UDataSwapper *ds, const void *inData, int32_t length, void *outData, UErrorCode *pErrorCode) argument
[all...]
H A Duscript_props.cpp221 uscript_getSampleString(UScriptCode script, UChar *dest, int32_t capacity, UErrorCode *pErrorCode) { argument
222 if(U_FAILURE(*pErrorCode)) { return 0; }
224 *pErrorCode = U_ILLEGAL_ARGUMENT_ERROR;
238 return u_terminateUChars(dest, capacity, length, pErrorCode);
H A Dustrtrns.cpp46 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...]
/external/icu/icu4c/source/common/
H A Ducnv_set.c33 UErrorCode *pErrorCode) {
35 if(pErrorCode==NULL || U_FAILURE(*pErrorCode)) {
39 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR;
45 *pErrorCode=U_UNSUPPORTED_ERROR;
64 cnv->sharedData->impl->getUnicodeSet(cnv, &sa, whichSet, pErrorCode);
30 ucnv_getUnicodeSet(const UConverter *cnv, USet *setFillIn, UConverterUnicodeSet whichSet, UErrorCode *pErrorCode) argument
H A Ducnvdisp.c37 UErrorCode *pErrorCode) {
44 if(pErrorCode==NULL || U_FAILURE(*pErrorCode)) {
49 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR;
54 rb=ures_open(NULL, displayLocale, pErrorCode);
55 if(U_FAILURE(*pErrorCode)) {
65 if (*pErrorCode == U_ZERO_ERROR) {
66 *pErrorCode = localStatus;
74 return u_terminateUChars(displayName, displayNameCapacity, length, pErrorCode);
34 ucnv_getDisplayName(const UConverter *cnv, const char *displayLocale, UChar *displayName, int32_t displayNameCapacity, UErrorCode *pErrorCode) argument
H A Ducasemap_titlecase_brkiter.cpp37 ucasemap_setBreakIterator(UCaseMap *csm, UBreakIterator *iterToAdopt, UErrorCode * /*pErrorCode*/) {
47 UErrorCode *pErrorCode) {
49 utext_openUTF8(&utext, (const char *)src, srcLength, pErrorCode);
50 if(U_FAILURE(*pErrorCode)) {
56 pErrorCode);
58 ubrk_setUText(csm->iter, &utext, pErrorCode);
62 ucasemap_internalUTF8ToTitle, pErrorCode);
44 ucasemap_utf8ToTitle(UCaseMap *csm, char *dest, int32_t destCapacity, const char *src, int32_t srcLength, UErrorCode *pErrorCode) argument
H A Dunistr_titlecase_brkiter.cpp33 UErrorCode *pErrorCode) {
34 ubrk_setText(csm->iter, src, srcLength, pErrorCode);
35 return ustrcase_internalToTitle(csm, dest, destCapacity, src, srcLength, pErrorCode);
30 unistr_case_internalToTitle(const UCaseMap *csm, UChar *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, UErrorCode *pErrorCode) argument
H A Dustr_titlecase_brkiter.cpp55 UErrorCode *pErrorCode) {
59 ubrk_setText(csm.iter=titleIter, src, srcLength, pErrorCode);
61 csm.iter=ubrk_open(UBRK_WORD, csm.locale, src, srcLength, pErrorCode);
67 ustrcase_internalToTitle, pErrorCode);
78 UErrorCode *pErrorCode) {
80 ubrk_setText(csm->iter, src, srcLength, pErrorCode);
82 csm->iter=ubrk_open(UBRK_WORD, csm->locale, src, srcLength, pErrorCode);
88 ustrcase_internalToTitle, pErrorCode);
51 u_strToTitle(UChar *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, UBreakIterator *titleIter, const char *locale, UErrorCode *pErrorCode) argument
75 ucasemap_toTitle(UCaseMap *csm, UChar *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, UErrorCode *pErrorCode) argument
H A Dustrcase_locale.cpp88 UErrorCode *pErrorCode) {
95 ustrcase_internalToLower, pErrorCode);
102 UErrorCode *pErrorCode) {
109 ustrcase_internalToUpper, pErrorCode);
85 u_strToLower(UChar *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, const char *locale, UErrorCode *pErrorCode) argument
99 u_strToUpper(UChar *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, const char *locale, UErrorCode *pErrorCode) argument
H A Ducnv_cnv.c33 UErrorCode *pErrorCode) {
41 UErrorCode *pErrorCode) {
52 UErrorCode *pErrorCode) {
82 *pErrorCode=U_BUFFER_OVERFLOW_ERROR;
92 UErrorCode *pErrorCode) {
122 *pErrorCode=U_BUFFER_OVERFLOW_ERROR;
132 UErrorCode *pErrorCode) {
170 *pErrorCode=U_BUFFER_OVERFLOW_ERROR;
30 ucnv_getCompleteUnicodeSet(const UConverter *cnv, const USetAdder *sa, UConverterUnicodeSet which, UErrorCode *pErrorCode) argument
38 ucnv_getNonSurrogateUnicodeSet(const UConverter *cnv, const USetAdder *sa, UConverterUnicodeSet which, UErrorCode *pErrorCode) argument
47 ucnv_fromUWriteBytes(UConverter *cnv, const char *bytes, int32_t length, char **target, const char *targetLimit, int32_t **offsets, int32_t sourceIndex, UErrorCode *pErrorCode) argument
87 ucnv_toUWriteUChars(UConverter *cnv, const UChar *uchars, int32_t length, UChar **target, const UChar *targetLimit, int32_t **offsets, int32_t sourceIndex, UErrorCode *pErrorCode) argument
127 ucnv_toUWriteCodePoint(UConverter *cnv, UChar32 c, UChar **target, const UChar *targetLimit, int32_t **offsets, int32_t sourceIndex, UErrorCode *pErrorCode) argument
H A Dlocresdata.cpp47 UErrorCode *pErrorCode)
64 *pErrorCode=errorCode;
67 (errorCode==U_USING_FALLBACK_WARNING && *pErrorCode!=U_USING_DEFAULT_WARNING)
70 *pErrorCode=errorCode;
83 *pErrorCode = errorCode;
94 *pErrorCode = errorCode; /*save the errorCode*/
106 *pErrorCode = errorCode;
120 *pErrorCode = errorCode;
125 *pErrorCode = errorCode;
133 *pErrorCode
43 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 Duscript_props.cpp221 uscript_getSampleString(UScriptCode script, UChar *dest, int32_t capacity, UErrorCode *pErrorCode) { argument
222 if(U_FAILURE(*pErrorCode)) { return 0; }
224 *pErrorCode = U_ILLEGAL_ARGUMENT_ERROR;
238 return u_terminateUChars(dest, capacity, length, pErrorCode);
H A Dustrtrns.cpp46 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...]
/external/chromium_org/third_party/icu/source/samples/uciter8/
H A Duit_len8.c489 lenient8IteratorSetState(UCharIterator *iter, uint32_t state, UErrorCode *pErrorCode) { argument
490 if(pErrorCode==NULL || U_FAILURE(*pErrorCode)) {
493 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR;
501 *pErrorCode=U_INDEX_OUTOFBOUNDS_ERROR;
516 *pErrorCode=U_INDEX_OUTOFBOUNDS_ERROR;
/external/chromium_org/third_party/icu/source/test/perf/usetperf/
H A Dusetperf.cpp38 virtual void call(UErrorCode* pErrorCode){ argument
39 set.applyPattern(pat, *pErrorCode);
64 virtual void call(UErrorCode* pErrorCode){ argument
/external/icu/icu4c/source/samples/uciter8/
H A Duit_len8.c489 lenient8IteratorSetState(UCharIterator *iter, uint32_t state, UErrorCode *pErrorCode) { argument
490 if(pErrorCode==NULL || U_FAILURE(*pErrorCode)) {
493 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR;
501 *pErrorCode=U_INDEX_OUTOFBOUNDS_ERROR;
516 *pErrorCode=U_INDEX_OUTOFBOUNDS_ERROR;
/external/icu/icu4c/source/test/perf/usetperf/
H A Dusetperf.cpp38 virtual void call(UErrorCode* pErrorCode){ argument
39 set.applyPattern(pat, *pErrorCode);
64 virtual void call(UErrorCode* pErrorCode){ argument

Completed in 305 milliseconds

12345678