Searched defs:destCapacity (Results 26 - 41 of 41) sorted by relevance

12

/external/icu4c/common/
H A Dusprep.cpp519 UChar* dest, int32_t destCapacity,
576 if(destIndex < destCapacity ){
593 if(destIndex < destCapacity ){
598 if(destIndex+1 < destCapacity ){
607 return u_terminateUChars(dest, destCapacity, destIndex, status);
613 UChar* dest, int32_t destCapacity,
618 dest, destCapacity,
668 UChar* dest, int32_t destCapacity,
679 if(profile==NULL || src==NULL || srcLength<-1 || (dest==NULL && destCapacity!=0)) {
803 if(b2Len>0 && b2Len <= destCapacity){
517 usprep_map( const UStringPrepProfile* profile, const UChar* src, int32_t srcLength, UChar* dest, int32_t destCapacity, int32_t options, UParseError* parseError, UErrorCode* status ) argument
612 usprep_normalize( const UChar* src, int32_t srcLength, UChar* dest, int32_t destCapacity, UErrorCode* status ) argument
666 usprep_prepare( const UStringPrepProfile* profile, const UChar* src, int32_t srcLength, UChar* dest, int32_t destCapacity, int32_t options, UParseError* parseError, UErrorCode* status ) argument
[all...]
H A Duts46.cpp431 int32_t destCapacity; local
433 stackArray, LENGTHOF(stackArray), &destCapacity);
H A Dunistr.cpp744 UnicodeString::extract(UChar *dest, int32_t destCapacity, argument
748 if(isBogus() || destCapacity<0 || (destCapacity>0 && dest==0)) {
752 if(len>0 && len<=destCapacity && array!=dest) {
755 return u_terminateUChars(dest, destCapacity, len, &errorCode);
H A Dushape.c1419 UChar *dest, int32_t destCapacity,
1438 if( source==NULL || sourceLength<-1 || (dest==NULL && destCapacity!=0) || destCapacity<0 ||
1480 return u_terminateUChars(dest, destCapacity, 0, pErrorCode);
1486 (dest<=source && source<dest+destCapacity))) {
1544 outputSize=calculateSize(source,sourceLength,destCapacity,options);
1549 if(outputSize>destCapacity) {
1607 destLength = shapeUnicode(tempbuffer,sourceLength,destCapacity,options,pErrorCode,2);
1610 destLength = shapeUnicode(tempbuffer,sourceLength,destCapacity,options,pErrorCode,1);
1614 destLength = handleTashkeelWithTatweel(tempbuffer,destLength,destCapacity,option
1418 u_shapeArabic(const UChar *source, int32_t sourceLength, UChar *dest, int32_t destCapacity, uint64_t options, UErrorCode *pErrorCode) argument
[all...]
H A Dustring.c1348 static void _appendUChars(UChar *dest, int32_t destCapacity, argument
1350 if (destCapacity < 0) {
1351 destCapacity = 0;
1353 if (srcLen > destCapacity) {
1354 srcLen = destCapacity;
1361 u_unescape(const char *src, UChar *dest, int32_t destCapacity) { argument
1375 _appendUChars(dest + i, destCapacity - i,
1386 if (dest != NULL && UTF_CHAR_LENGTH(c32) <= (destCapacity - i)) {
1398 _appendUChars(dest + i, destCapacity - i,
1403 if (dest != NULL && i < destCapacity) {
1444 u_terminateUChars(UChar *dest, int32_t destCapacity, int32_t length, UErrorCode *pErrorCode) argument
1450 u_terminateChars(char *dest, int32_t destCapacity, int32_t length, UErrorCode *pErrorCode) argument
1456 u_terminateUChar32s(UChar32 *dest, int32_t destCapacity, int32_t length, UErrorCode *pErrorCode) argument
1462 u_terminateWChars(wchar_t *dest, int32_t destCapacity, int32_t length, UErrorCode *pErrorCode) argument
[all...]
H A Dnormalizer2impl.cpp37 UBool ReorderingBuffer::init(int32_t destCapacity, UErrorCode &errorCode) { argument
39 start=str.getBuffer(destCapacity);
H A Ducnv.c1716 char *dest, int32_t destCapacity,
1729 destCapacity<0 || (destCapacity>0 && dest==NULL) ||
1744 destLimit=dest+destCapacity;
1771 return u_terminateChars(originalDest, destCapacity, destLength, pErrorCode);
1776 UChar *dest, int32_t destCapacity,
1789 destCapacity<0 || (destCapacity>0 && dest==NULL) ||
1804 destLimit=dest+destCapacity;
1833 return u_terminateUChars(originalDest, destCapacity, destLengt
1715 ucnv_fromUChars(UConverter *cnv, char *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, UErrorCode *pErrorCode) argument
1775 ucnv_toUChars(UConverter *cnv, UChar *dest, int32_t destCapacity, const char *src, int32_t srcLength, UErrorCode *pErrorCode) argument
[all...]
H A Duloc.c1170 _copyCount(char *dest, int32_t destCapacity, const char *src) { argument
1179 if(destCapacity<=0) {
1184 --destCapacity;
H A Dunames.c1510 char *dest, int32_t destCapacity,
1517 } else if(destCapacity<0 || (destCapacity>0 && dest==NULL)) {
1523 return u_terminateChars(dest, destCapacity, 0, pErrorCode);
1527 length=getName(uCharNames, (uint32_t)c, U_ISO_COMMENT, dest, (uint16_t)destCapacity);
1528 return u_terminateChars(dest, destCapacity, length, pErrorCode);
1509 u_getISOComment(UChar32 c, char *dest, int32_t destCapacity, UErrorCode *pErrorCode) argument
H A Dutext.cpp421 UChar *dest, int32_t destCapacity,
423 return ut->pFuncs->extract(ut, start, limit, dest, destCapacity, status);
1743 int32_t destCapacity,
1752 UChar *pDestLimit = dest+destCapacity;
1802 u_terminateUChars(dest,destCapacity,reqLength,pErrorCode);
1812 UChar *dest, int32_t destCapacity,
1817 if(destCapacity<0 || (dest==NULL && destCapacity>0)) {
1856 utext_strFromUTF8(dest, destCapacity, &destLength,
2189 UChar *dest, int32_t destCapacity,
419 utext_extract(UText *ut, int64_t start, int64_t limit, UChar *dest, int32_t destCapacity, UErrorCode *status) argument
1742 utext_strFromUTF8(UChar *dest, int32_t destCapacity, int32_t *pDestLength, const char* src, int32_t srcLength, UErrorCode *pErrorCode ) argument
1810 utf8TextExtract(UText *ut, int64_t start, int64_t limit, UChar *dest, int32_t destCapacity, UErrorCode *pErrorCode) argument
2187 repTextExtract(UText *ut, int64_t start, int64_t limit, UChar *dest, int32_t destCapacity, UErrorCode *status) argument
2466 unistrTextExtract(UText *t, int64_t start, int64_t limit, UChar *dest, int32_t destCapacity, UErrorCode *pErrorCode) argument
2832 ucstrTextExtract(UText *ut, int64_t start, int64_t limit, UChar *dest, int32_t destCapacity, UErrorCode *pErrorCode) argument
3092 charIterTextExtract(UText *ut, int64_t start, int64_t limit, UChar *dest, int32_t destCapacity, UErrorCode *status) argument
[all...]
/external/icu4c/i18n/
H A Duspoof.cpp390 UChar *dest, int32_t destCapacity, int32_t *outputLength, UErrorCode *status) {
397 requiredCapacity = uspoof_getSkeleton(sc, type, s, inputLength, dest, destCapacity, status);
598 UChar *dest, int32_t destCapacity,
611 if (length<-1 || destCapacity<0 || (destCapacity==0 && dest!=NULL) ||
698 if (destCapacity == 0 || resultLen > destCapacity) {
699 *status = resultLen>destCapacity ? U_BUFFER_OVERFLOW_ERROR : U_STRING_NOT_TERMINATED_WARNING;
702 if (destCapacity > resultLen) {
755 char *dest, int32_t destCapacity,
389 getSkeleton(const USpoofChecker *sc, uint32_t type, const UChar *s, int32_t inputLength, UChar *dest, int32_t destCapacity, int32_t *outputLength, UErrorCode *status) argument
595 uspoof_getSkeleton(const USpoofChecker *sc, uint32_t type, const UChar *s, int32_t length, UChar *dest, int32_t destCapacity, UErrorCode *status) argument
752 uspoof_getSkeletonUTF8(const USpoofChecker *sc, uint32_t type, const char *s, int32_t length, char *dest, int32_t destCapacity, UErrorCode *status) argument
[all...]
H A Dplurrule.cpp218 int32_t destCapacity, UErrorCode& error) {
219 return getSamplesInternal(keyword, dest, destCapacity, FALSE, error);
224 int32_t destCapacity, UErrorCode& status) {
225 return getSamplesInternal(keyword, dest, destCapacity, TRUE, status);
230 int32_t destCapacity, UBool includeUnlimited,
236 if (destCapacity < 0 || (dest == NULL && destCapacity > 0)) {
257 if (len <= destCapacity) {
258 destCapacity = len;
260 len = destCapacity; // n
217 getAllKeywordValues(const UnicodeString &keyword, double *dest, int32_t destCapacity, UErrorCode& error) argument
223 getSamples(const UnicodeString &keyword, double *dest, int32_t destCapacity, UErrorCode& status) argument
229 getSamplesInternal(const UnicodeString &keyword, double *dest, int32_t destCapacity, UBool includeUnlimited, UErrorCode& status) argument
[all...]
H A Drematch.cpp2022 int32_t destCapacity,
2031 UText **destText = (UText **)uprv_malloc(sizeof(UText*)*destCapacity);
2037 for (i = 0; i < destCapacity; i++) {
2041 int32_t fieldCount = split(&inputText, destText, destCapacity, status);
2043 for (i = 0; i < destCapacity; i++) {
2057 int32_t destCapacity,
2067 if (destCapacity < 1) {
2087 if (i>=destCapacity-1) {
2090 // ( i will be == destCapacity if we filled the output array while processing
2094 i = destCapacity
2020 split(const UnicodeString &input, UnicodeString dest[], int32_t destCapacity, UErrorCode &status) argument
2055 split(UText *input, UText *dest[], int32_t destCapacity, UErrorCode &status) argument
[all...]
H A Duregex.cpp636 int32_t destCapacity,
642 if (destCapacity < 0 || (destCapacity > 0 && dest == NULL)) {
647 if (destCapacity == 0 || regexp->fText != NULL) {
665 if (copyLength < destCapacity) {
667 } else if (copyLength == destCapacity) {
670 copyLength = destCapacity;
683 int32_t result = utext_extract(groupText, 0, utext_nativeLength(groupText), dest, destCapacity, status);
1158 int32_t destCapacity,
1165 (destBuf == NULL && destCapacity >
633 uregex_group(URegularExpression *regexp2, int32_t groupNum, UChar *dest, int32_t destCapacity, UErrorCode *status) argument
1154 uregex_replaceAll(URegularExpression *regexp2, const UChar *replacementText, int32_t replacementLength, UChar *destBuf, int32_t destCapacity, UErrorCode *status) argument
1228 uregex_replaceFirst(URegularExpression *regexp2, const UChar *replacementText, int32_t replacementLength, UChar *destBuf, int32_t destCapacity, UErrorCode *status) argument
1340 appendReplacement(RegularExpression *regexp, const UChar *replacementText, int32_t replacementLength, UChar **destBuf, int32_t *destCapacity, UErrorCode *status) argument
1552 uregex_appendReplacement(URegularExpression *regexp2, const UChar *replacementText, int32_t replacementLength, UChar **destBuf, int32_t *destCapacity, UErrorCode *status) argument
1582 appendTail(RegularExpression *regexp, UChar **destBuf, int32_t *destCapacity, UErrorCode *status) argument
1705 uregex_appendTail(URegularExpression *regexp2, UChar **destBuf, int32_t *destCapacity, UErrorCode *status) argument
1769 split(RegularExpression *regexp, UChar *destBuf, int32_t destCapacity, int32_t *requiredCapacity, UChar *destFields[], int32_t destFieldsCapacity, UErrorCode *status) argument
1905 uregex_split(URegularExpression *regexp2, UChar *destBuf, int32_t destCapacity, int32_t *requiredCapacity, UChar *destFields[], int32_t destFieldsCapacity, UErrorCode *status) argument
[all...]
H A Ducol.cpp4186 * can be NULL if destCapacity==0
4187 * @param destCapacity the number of bytes in the dest buffer
4189 * can be larger than destCapacity, or 0 if an error occurs (only for illegal arguments),
4197 uint8_t *dest, int32_t destCapacity) {
4204 destCapacity<0 || (destCapacity>0 && dest==NULL)
4207 if(dest!=NULL && destCapacity>0) {
4222 if(destLength>destCapacity) {
4274 SortKeyByteSink(char *dest, int32_t destCapacity, uint32_t flags=0) argument
4275 : ownedBuffer_(NULL), buffer_(dest), capacity_(destCapacity),
4195 ucol_mergeSortkeys(const uint8_t *src1, int32_t src1Length, const uint8_t *src2, int32_t src2Length, uint8_t *dest, int32_t destCapacity) argument
6702 ucol_getReorderCodes(const UCollator *coll, int32_t *dest, int32_t destCapacity, UErrorCode *status) argument
6770 ucol_getEquivalentReorderCodes(int32_t reorderCode, int32_t* dest, int32_t destCapacity, UErrorCode *pErrorCode) argument
[all...]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dcom.ibm.icu_4.2.1.v20100412.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...

Completed in 1302 milliseconds

12