/external/icu4c/test/perf/strsrchperf/ |
H A D | strsrchperf.h | 20 typedef void (*StrSrchFn) (BoyerMooreSearch * bms, const UChar *src, int32_t srcLen, const UChar *pttrn, int32_t pttrnLen, UErrorCode *status); 22 typedef void (*StrSrchFn)(UStringSearch* srch, const UChar* src,int32_t srcLen, const UChar* pttrn, int32_t pttrnLen, UErrorCode* status); 29 int32_t srcLen; member in class:StringSearchPerfFunction 41 (*fn)(bms, src, srcLen, pttrn, pttrnLen, status); 43 (*fn)(srch, src, srcLen, pttrn, pttrnLen, status); 49 return (long)(srcLen/pttrnLen); 51 return (long) srcLen; 59 srcLen = sourceLen; 68 srcLen = sourceLen; 79 int32_t srcLen; member in class:StringSearchPerformanceTest [all...] |
/external/icu4c/tools/genrb/ |
H A D | prscmnts.cpp | 35 removeText(UChar *source, int32_t srcLen, argument 43 UnicodeString src(source, srcLen); 55 return dest.extract(source, srcLen, *status); 59 trim(UChar *src, int32_t srcLen, UErrorCode *status){ argument 60 srcLen = removeText(src, srcLen, "^[ \\r\\n]+ ", 0, "", status); // remove leading new lines 61 srcLen = removeText(src, srcLen, "^\\s+", 0, "", status); // remove leading spaces 62 srcLen = removeText(src, srcLen, "\\ 67 removeCmtText(UChar* source, int32_t srcLen, UErrorCode* status) argument 75 getText(const UChar* source, int32_t srcLen, UChar** dest, int32_t destCapacity, UnicodeString patternString, UErrorCode* status) argument 112 getDescription( const UChar* source, int32_t srcLen, UChar** dest, int32_t destCapacity, UErrorCode* status) argument 136 getCount(const UChar* source, int32_t srcLen, UParseCommentsOption option, UErrorCode *status) argument 172 getAt(const UChar* source, int32_t srcLen, UChar** dest, int32_t destCapacity, int32_t index, UParseCommentsOption option, UErrorCode* status) argument 213 getTranslate( const UChar* source, int32_t srcLen, UChar** dest, int32_t destCapacity, UErrorCode* status) argument 223 getNote(const UChar* source, int32_t srcLen, UChar** dest, int32_t destCapacity, UErrorCode* status) argument [all...] |
H A D | rle.c | 148 usArrayToRLEString(const uint16_t* src,int32_t srcLen,uint16_t* buffer, int32_t bufLen,UErrorCode* status) { argument 152 *buffer++ = (uint16_t)(srcLen>>16); 157 *buffer++ = (uint16_t) srcLen; 159 for (; i<srcLen; ++i) { 194 byteArrayToRLEString(const uint8_t* src,int32_t srcLen, uint16_t* buffer,int32_t bufLen, UErrorCode* status) { argument 198 *buffer++ = ((uint16_t) (srcLen >> 16)); 205 *buffer++=((uint16_t) srcLen); 206 for (; i<srcLen; ++i) { 239 rleStringToUCharArray(uint16_t* src, int32_t srcLen, uint16_t* target, int32_t tgtLen, UErrorCode* status) { argument 248 if(srcLen 295 rleStringToByteArray(uint16_t* src, int32_t srcLen, uint8_t* target, int32_t tgtLen, UErrorCode* status) argument [all...] |
H A D | wrtjava.c | 228 str_write_java( uint16_t* src, int32_t srcLen, UBool printEndLine, UErrorCode *status){ argument 230 uint32_t length = srcLen*8; 240 columnCount = getColumnCount(srcLen); 243 bufLen = uCharsToChars(buf,length,src,srcLen,status); 448 int32_t srcLen=res->u.fBinaryValue.fLength; local 450 if(srcLen>0 ) 459 for (;byteIterator<srcLen;byteIterator++)
|
H A D | wrtxml.cpp | 164 static void strnrepchr(char* src, int32_t srcLen, char s, char r){ argument 166 for(i=0;i<srcLen;i++){ 224 const UChar* src, int32_t srcLen, UErrorCode* status){ 231 if(status==NULL || U_FAILURE(*status) || pDest==NULL || srcLen==0 || src == NULL){ 236 destCap = srcLen * 8; 246 while(srcIndex<srcLen){ 247 U16_NEXT(src, srcIndex, srcLen, c); 387 print(UChar* src, int32_t srcLen,const char *tagStart,const char *tagEnd, UErrorCode *status){ argument 388 int32_t bufCapacity = srcLen*4; 401 buf = convertAndEscape(&buf, bufCapacity, &bufLen, src, srcLen,statu 223 convertAndEscape(char** pDest, int32_t destCap, int32_t* destLength, const UChar* src, int32_t srcLen, UErrorCode* status) argument [all...] |
/external/icu4c/test/cintltst/ |
H A D | spreptst.c | 295 unescapeData(const char* src, int32_t srcLen, argument 445 int32_t srcLen; local 452 srcLen = unescapeData(mixed_prep_data[i], (int32_t)strlen(mixed_prep_data[i]), src, MAX_BUFFER_SIZE, &status); 457 destLen = nfs4_mixed_prepare(src, srcLen, NULL, 0, &parseError, &status); 461 destLen = nfs4_mixed_prepare(src, srcLen, dest, destLen, &parseError, &status); 478 int32_t srcLen = unescapeData(source, (int32_t)strlen(source), src, MAX_BUFFER_SIZE, &status); local 480 nfs4_mixed_prepare(src, srcLen, dest, MAX_BUFFER_SIZE, &parseError, &status); 505 int32_t srcLen = unescapeData(source, (int32_t)strlen(source), src, MAX_BUFFER_SIZE, &status); local 508 int32_t destLen = nfs4_cs_prepare(src, srcLen, dest, MAX_BUFFER_SIZE, FALSE, &parseError, &status); 515 if(destLen != srcLen){ 528 int32_t srcLen = unescapeData(source, (int32_t)strlen(source), src, MAX_BUFFER_SIZE, &status); local 551 int32_t srcLen = unescapeData(source, (int32_t)strlen(source), src, MAX_BUFFER_SIZE, &status); local 576 int32_t srcLen = unescapeData(source, (int32_t)strlen(source), src, MAX_BUFFER_SIZE, &status); local [all...] |
H A D | idnatest.c | 604 int32_t srcLen; local 620 srcLen = u_strlen(src); 622 testCompareWithSrc(src,srcLen,src,srcLen,testName, func, TRUE); 625 testCompareWithSrc(src,srcLen,buf,u_strlen(buf),testName, func,TRUE); 629 testCompareWithSrc(src,srcLen,uni1,u_strlen(uni1),testName, func,FALSE); 631 testCompareWithSrc(src,srcLen,uni0,u_strlen(uni0),testName, func,FALSE); 635 testCompareWithSrc(src,srcLen,ascii1,u_strlen(ascii1),testName, func,FALSE); 637 testCompareWithSrc(src,srcLen,ascii0,u_strlen(ascii0),testName, func,FALSE); 685 int32_t srcLen local [all...] |
H A D | cnormtst.c | 240 static void TestNull_check(UChar *src, int32_t srcLen, argument 258 len = unorm_normalize(src, srcLen, mode, 0, result, 50, &status);
|
H A D | capitst.c | 183 static void doStrcoll(const UCollator* coll, const UChar* src, int32_t srcLen, const UChar* tgt, int32_t tgtLen, argument 190 if (ucol_strcoll(coll, src, srcLen, tgt, tgtLen) != expected) { 194 u_strToUTF8(srcU8, UTF8_BUF_SIZE, &len, src, srcLen, &err); 199 if (srcLen >= 0) {
|
H A D | cbiditst.c | 92 static const char* inverseBasic(UBiDi *pBiDi, const char *src, int32_t srcLen, 1406 int32_t srcLen, destLen, runCount, i; local 1440 srcLen = u_unescape("abc ", src, MAXLEN); 1441 ubidi_setPara(bidi, src, srcLen, UBIDI_RTL, NULL, &errorCode); 1452 srcLen = u_unescape("abc def", src, MAXLEN); 1453 ubidi_setPara(bidi, src, srcLen, UBIDI_RTL, NULL, &errorCode); 1464 srcLen = u_unescape("abcdefghi ", src, MAXLEN); 1465 ubidi_setPara(bidi, src, srcLen, UBIDI_RTL, NULL, &errorCode); 1477 srcLen = u_unescape("\\u200eabc def", src, MAXLEN); 1478 ubidi_setPara(bidi, src, srcLen, UBIDI_RT 1693 int32_t srcLen; local 1840 int32_t srcLen, destLen; local 3940 int32_t srcLen, destLen, vis1Len, vis2Len, option, i, j, nCases, paras; local 4024 int32_t srcLen, destLen, idx; local 4128 inverseBasic(UBiDi *pBiDi, const char *srcChars, int32_t srcLen, uint32_t option, UBiDiLevel level, char *result) argument 4192 int32_t srcLen, processedLen, chunk, len, nPortions; local 4321 int32_t srcLen, destLen, textSrcSize = (int32_t)uprv_strlen(textSrc); local 4398 int32_t i, srcLen, resLen, idx; local 4582 int32_t proLength, epiLength, srcLen, destLen, tc; local [all...] |
H A D | nucnvtst.c | 3477 unescape(UChar* dst, int32_t dstLen,const char* src,int32_t srcLen,UErrorCode *status){ argument 3483 if((dst==NULL && dstLen>0) || (src==NULL ) || dstLen < -1 || srcLen <-1 ){ 3487 if(srcLen==-1){ 3488 srcLen = (int32_t)uprv_strlen(src); 3491 for (; srcIndex<srcLen; ) { 3494 c = u_unescapeAt(_charAt,&srcIndex,srcLen,(void*)src); /* advances i*/ 3776 int32_t cSrcLen,srcLen; local 3779 cSrcLen = srcLen = (int32_t)uprv_strlen(fTestCases[i]); 3780 src = (UChar*) malloc((sizeof(UChar) * srcLen) + sizeof(UChar)); 3781 srcLen [all...] |
/external/icu4c/test/perf/convperf/ |
H A D | convperf.h | 28 int32_t srcLen; member in class:ICUToUnicodePerfFunction 36 srcLen = sourceLen; 44 source, srcLen, &status); 57 const char* sourceLimit = src + srcLen; 62 return srcLen; 73 int32_t srcLen; member in class:ICUFromUnicodePerfFunction 82 srcLen = sourceLen; 90 source, srcLen, &status); 103 const UChar* sourceLimit = src + srcLen; 108 return srcLen; 153 UINT srcLen; member in class:WinANSIToUnicodePerfFunction 205 UINT srcLen; member in class:WinANSIFromUnicodePerfFunction 274 UINT srcLen; member in class:WinIMultiLanguageToUnicodePerfFunction 330 UINT srcLen; member in class:WinIMultiLanguageFromUnicodePerfFunction 386 UINT srcLen; member in class:WinIMultiLanguage2ToUnicodePerfFunction 439 UINT srcLen; member in class:WinIMultiLanguage2FromUnicodePerfFunction [all...] |
/external/icu4c/test/perf/normperf/ |
H A D | normperf.cpp | 74 void NormalizerPerformanceTest::normalizeInput(ULine* dest,const UChar* src ,int32_t srcLen,UNormalizationMode mode, int32_t options){ argument 79 reqLen=unorm_normalize(src,srcLen,mode, options,NULL,0,&status); 83 reqLen= unorm_normalize(src,srcLen,mode, options,dest->name,reqLen+1,&status); 91 UChar* NormalizerPerformanceTest::normalizeInput(int32_t& len, const UChar* src ,int32_t srcLen,UNormalizationMode mode, int32_t options){ argument 97 reqLen=unorm_normalize(src,srcLen,mode, options,NULL,0,&status); 101 reqLen= unorm_normalize(src,srcLen,mode, options,dest,reqLen+1,&status); 155 int32_t srcLen = 0; local 156 const UChar* src = getBuffer(srcLen,status); 165 NFDBuffer = normalizeInput(NFDBufferLen,src,srcLen,UNORM_NFD, options); 166 NFCBuffer = normalizeInput(NFCBufferLen,src,srcLen,UNORM_NF [all...] |
H A D | normperf.h | 28 typedef int32_t (*NormFn)(const UChar* src,int32_t srcLen, UChar* dest,int32_t dstLen, int32_t options, UErrorCode* status); 29 typedef int32_t (*QuickCheckFn)(const UChar* src,int32_t srcLen, UNormalizationMode mode, int32_t options, UErrorCode* status); 40 int32_t srcLen; member in class:QuickCheckPerfFunction 59 retVal = (*fn)(src,srcLen,mode, options, status); 74 return srcLen; 84 srcLen = 0; 94 srcLen = sourceLen; 111 int32_t srcLen; member in class:NormPerfFunction 129 retVal = (*fn)(src,srcLen,pDest,destLen, options, status); 143 return srcLen; 257 ICUNormNFD(const UChar* src, int32_t srcLen,UChar* dest, int32_t dstLen, int32_t options, UErrorCode* status) argument 261 ICUNormNFC(const UChar* src, int32_t srcLen,UChar* dest, int32_t dstLen, int32_t options, UErrorCode* status) argument 265 ICUNormNFKD(const UChar* src, int32_t srcLen,UChar* dest, int32_t dstLen, int32_t options, UErrorCode* status) argument 268 ICUNormNFKC(const UChar* src, int32_t srcLen,UChar* dest, int32_t dstLen, int32_t options, UErrorCode* status) argument 272 ICUNormFCD(const UChar* src, int32_t srcLen,UChar* dest, int32_t dstLen, int32_t options, UErrorCode* status) argument 276 ICUQuickCheck(const UChar* src,int32_t srcLen, UNormalizationMode mode, int32_t options, UErrorCode* status) argument 283 ICUIsNormalized(const UChar* src,int32_t srcLen, UNormalizationMode mode, int32_t options, UErrorCode* status) argument 290 ICUNormNFD(const UChar* src, int32_t srcLen,UChar* dest, int32_t dstLen, int32_t options, UErrorCode* status) argument 294 ICUNormNFC(const UChar* src, int32_t srcLen,UChar* dest, int32_t dstLen, int32_t options, UErrorCode* status) argument 298 ICUNormNFKD(const UChar* src, int32_t srcLen,UChar* dest, int32_t dstLen, int32_t options, UErrorCode* status) argument 301 ICUNormNFKC(const UChar* src, int32_t srcLen,UChar* dest, int32_t dstLen, int32_t options, UErrorCode* status) argument 305 ICUNormFCD(const UChar* src, int32_t srcLen,UChar* dest, int32_t dstLen, int32_t options, UErrorCode* status) argument 309 ICUQuickCheck(const UChar* src,int32_t srcLen, UNormalizationMode mode, int32_t options, UErrorCode* status) argument 313 ICUIsNormalized(const UChar* src,int32_t srcLen, UNormalizationMode mode, int32_t options, UErrorCode* status) argument 320 WinNormNFD(const UChar* src, int32_t srcLen, UChar* dest, int32_t dstLen, int32_t options, UErrorCode* status) argument 324 WinNormNFC(const UChar* src, int32_t srcLen, UChar* dest, int32_t dstLen, int32_t options, UErrorCode* status) argument 328 WinNormNFKD(const UChar* src, int32_t srcLen, UChar* dest, int32_t dstLen, int32_t options, UErrorCode* status) argument 331 WinNormNFKC(const UChar* src, int32_t srcLen, UChar* dest, int32_t dstLen, int32_t options, UErrorCode* status) argument 335 WinNormNFD(const UChar* src, int32_t srcLen, UChar* dest, int32_t dstLen, int32_t options, UErrorCode* status) argument 339 WinNormNFC(const UChar* src, int32_t srcLen, UChar* dest, int32_t dstLen, int32_t options, UErrorCode* status) argument 343 WinNormNFKD(const UChar* src, int32_t srcLen, UChar* dest, int32_t dstLen, int32_t options, UErrorCode* status) argument 346 WinNormNFKC(const UChar* src, int32_t srcLen, UChar* dest, int32_t dstLen, int32_t options, UErrorCode* status) argument [all...] |
/external/icu4c/test/perf/ustrperf/ |
H A D | stringperf.cpp | 100 int32_t srcLen = 0; local 101 const UChar* src = getBuffer(srcLen,status); 107 StrBuffer = new UChar[srcLen]; 108 StrBufferLen = srcLen; 109 memcpy(StrBuffer, src, srcLen * U_SIZEOF_UCHAR);
|
H A D | stringperf.h | 58 typedef void (*ICUStringPerfFn)(const UChar* src,int32_t srcLen, UnicodeString s0); 59 typedef void (*StdStringPerfFn)(const wchar_t* src,int32_t srcLen, stlstring s0); 386 inline void ctor(const UChar* src,int32_t srcLen, UnicodeString s0) argument 391 inline void ctor1(const UChar* src,int32_t srcLen, UnicodeString s0) argument 396 inline void ctor2(const UChar* src,int32_t srcLen, UnicodeString s0) argument 401 inline void ctor3(const UChar* src,int32_t srcLen, UnicodeString s0) argument 403 UnicodeString d(src,srcLen); 406 inline UnicodeString icu_assign_helper(const UChar* src,int32_t srcLen) argument 408 if (srcLen==-1) { return src;} 409 else { return UnicodeString(src, srcLen);} 412 assign(const UChar* src,int32_t srcLen, UnicodeString s0) argument 417 assign1(const UChar* src,int32_t srcLen, UnicodeString s0) argument 422 assign2(const UChar* src,int32_t srcLen, UnicodeString s0) argument 427 getch(const UChar* src,int32_t srcLen, UnicodeString s0) argument 433 catenate(const UChar* src,int32_t srcLen, UnicodeString s0) argument 450 scan(const UChar* src,int32_t srcLen, UnicodeString s0) argument 456 scan1(const UChar* src,int32_t srcLen, UnicodeString s0) argument 461 scan2(const UChar* src,int32_t srcLen, UnicodeString s0) argument 470 StdLibCtor(const wchar_t* src,int32_t srcLen, stlstring s0) argument 475 StdLibCtor1(const wchar_t* src,int32_t srcLen, stlstring s0) argument 480 StdLibCtor2(const wchar_t* src,int32_t srcLen, stlstring s0) argument 485 StdLibCtor3(const wchar_t* src,int32_t srcLen, stlstring s0) argument 494 stl_assign_helper(const wchar_t* src,int32_t srcLen) argument 500 StdLibAssign(const wchar_t* src,int32_t srcLen, stlstring s0) argument 505 StdLibAssign1(const wchar_t* src,int32_t srcLen, stlstring s0) argument 511 StdLibAssign2(const wchar_t* src,int32_t srcLen, stlstring s0) argument 516 StdLibGetch(const wchar_t* src,int32_t srcLen, stlstring s0) argument 521 StdLibCatenate(const wchar_t* src,int32_t srcLen, stlstring s0) argument 535 StdLibScan(const wchar_t* src,int32_t srcLen, stlstring s0) argument 540 StdLibScan1(const wchar_t* src,int32_t srcLen, stlstring s0) argument 545 StdLibScan2(const wchar_t* src,int32_t srcLen, stlstring s0) argument [all...] |
/external/skia/src/pdf/ |
H A D | SkPDFFont.cpp | 161 size_t srcLen; local 162 if ((srcLen = srcStream->getLength()) > 0) { 163 staticStream.reset(new SkMemoryStream(srcLen + 1)); 166 memcpy((void *)src, srcStream->getMemoryBase(), srcLen); 169 while (read < srcLen) { 171 srcLen - read); 179 ((uint8_t *)src)[srcLen] = 0; 191 srcLen = data->size() - 1; 198 if (parsePFB(src, srcLen, headerLen, dataLen, trailerLen)) { 213 if (parsePFA((const char*)src, srcLen, headerLe [all...] |
/external/icu4c/common/ |
H A D | ustring.cpp | 1356 const char *src, int32_t srcLen) { 1360 if (srcLen > destCapacity) { 1361 srcLen = destCapacity; 1363 u_charsToUChars(src, dest, srcLen); 1355 _appendUChars(UChar *dest, int32_t destCapacity, const char *src, int32_t srcLen) argument
|
/external/icu4c/io/ |
H A D | uprntf_p.c | 566 int32_t srcLen, expLen; local 585 srcLen = unum_getSymbol(format, 594 srcExpBuf, srcLen, 600 srcExpBuf, srcLen, 658 srcLen,
|
H A D | uscanf_p.c | 493 int32_t srcLen, expLen; local 519 srcLen = unum_getSymbol(format, 528 srcExpBuf, srcLen, 534 srcExpBuf, srcLen,
|
/external/icu4c/test/intltest/ |
H A D | testidna.cpp | 807 int32_t srcLen = u_strlen(src); //subtract null local 809 testCompare(src,srcLen,src,srcLen,testName, func, TRUE); 812 testCompare(src,srcLen,buf,u_strlen(buf),testName, func,TRUE); 816 testCompare(src,srcLen,uni1.getBuffer(),uni1.length()-1,testName, func,FALSE); 818 testCompare(src,srcLen,uni0.getBuffer(),uni0.length()-1,testName, func,FALSE); 822 testCompare(src,srcLen,ascii1.getBuffer(),ascii1.length()-1,testName, func,FALSE); 824 testCompare(src,srcLen,ascii0.getBuffer(),ascii0.length()-1,testName, func,FALSE); 881 int32_t srcLen = u_strlen(start); 882 labelLen = getNextSeperator(start,srcLen, 1000 int32_t srcLen = u_strlen(src); local 1206 int32_t srcLen = u_strlen(src); //subtract null local 1420 testCompareReferenceImpl(const UChar* src, int32_t srcLen) argument 1525 int32_t srcLen = 0; local [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
H A D | com.ibm.icu_4.2.1.v20100412.jar | META-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ... |