/external/icu4c/tools/genrb/ |
prscmnts.h | 33 getNote(const UChar* source, int32_t srcLen, 37 removeCmtText(UChar* source, int32_t srcLen, UErrorCode* status); 40 getDescription( const UChar* source, int32_t srcLen, 44 getTranslate( const UChar* source, int32_t srcLen, 49 getAt(const UChar* source, int32_t srcLen, 56 getCount(const UChar* source, int32_t srcLen,
|
prscmnts.cpp | 35 removeText(UChar *source, int32_t srcLen, 43 UnicodeString src(source, srcLen); 55 return dest.extract(source, srcLen, *status); 59 trim(UChar *src, int32_t srcLen, UErrorCode *status){ 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, "\\s+$", 0, "", status); // remvoe trailing spcae [all...] |
rle.c | 148 usArrayToRLEString(const uint16_t* src,int32_t srcLen,uint16_t* buffer, int32_t bufLen,UErrorCode* status) { 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) { 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) { 248 if(srcLen == -1) [all...] |
rle.h | 40 byteArrayToRLEString(const uint8_t* src,int32_t srcLen, uint16_t* buffer,int32_t bufLen, UErrorCode* status); 57 usArrayToRLEString(const uint16_t* src,int32_t srcLen,uint16_t* buffer, int32_t bufLen,UErrorCode* status); 63 rleStringToByteArray(uint16_t* src, int32_t srcLen, uint8_t* target, int32_t tgtLen, UErrorCode* status); 68 rleStringToUCharArray(uint16_t* src, int32_t srcLen, uint16_t* target, int32_t tgtLen, UErrorCode* status);
|
wrtjava.c | 229 str_write_java( uint16_t* src, int32_t srcLen, UBool printEndLine, UErrorCode *status){ 231 uint32_t length = srcLen*8; 241 columnCount = getColumnCount(srcLen); 244 bufLen = uCharsToChars(buf,length,src,srcLen,status); 449 int32_t srcLen=res->u.fBinaryValue.fLength; 451 if(srcLen>0 ) 460 for (;byteIterator<srcLen;byteIterator++)
|
/external/icu4c/test/perf/normperf/ |
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; 59 retVal = (*fn)(src,srcLen,mode, options, status); 74 return srcLen; 84 srcLen = 0; 94 srcLen = sourceLen; 111 int32_t srcLen; 129 retVal = (*fn)(src,srcLen,pDest,destLen, options, status); 143 return srcLen; [all...] |
normperf.cpp | 74 void NormalizerPerformanceTest::normalizeInput(ULine* dest,const UChar* src ,int32_t srcLen,UNormalizationMode mode, int32_t options){ 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){ 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; 156 const UChar* src = getBuffer(srcLen,status); 165 NFDBuffer = normalizeInput(NFDBufferLen,src,srcLen,UNORM_NFD, options); 166 NFCBuffer = normalizeInput(NFCBufferLen,src,srcLen,UNORM_NFC, options) [all...] |
/external/icu4c/test/perf/strsrchperf/ |
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; 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; [all...] |
strsrchperf.cpp | 30 src = getBuffer(srcLen, status); 34 UBreakIterator* brk = ubrk_open(UBRK_WORD, locale, src, srcLen, &status); 73 targetString = new UnicodeString(src, srcLen); 77 srch = usearch_open(pttrn, pttrnLen, src, srcLen, locale, NULL, &status); 121 StringSearchPerfFunction *func = new StringSearchPerfFunction(ICUForwardSearch, bms, src, srcLen, pttrn, pttrnLen); 123 StringSearchPerfFunction* func = new StringSearchPerfFunction(ICUForwardSearch, srch, src, srcLen, pttrn, pttrnLen); 130 StringSearchPerfFunction *func = new StringSearchPerfFunction(ICUBackwardSearch, bms, src, srcLen, pttrn, pttrnLen); 132 StringSearchPerfFunction* func = new StringSearchPerfFunction(ICUBackwardSearch, srch, src, srcLen, pttrn, pttrnLen);
|
/external/icu4c/test/perf/ustrperf/ |
stringperf.h | 56 typedef void (*ICUStringPerfFn)(const UChar* src,int32_t srcLen, UnicodeString s0); 57 typedef void (*StdStringPerfFn)(const wchar_t* src,int32_t srcLen, stlstring s0); 384 inline void ctor(const UChar* src,int32_t srcLen, UnicodeString s0) 389 inline void ctor1(const UChar* src,int32_t srcLen, UnicodeString s0) 394 inline void ctor2(const UChar* src,int32_t srcLen, UnicodeString s0) 399 inline void ctor3(const UChar* src,int32_t srcLen, UnicodeString s0) 401 UnicodeString d(src,srcLen); 404 inline UnicodeString icu_assign_helper(const UChar* src,int32_t srcLen) 406 if (srcLen==-1) { return src;} 407 else { return UnicodeString(src, srcLen);} [all...] |
stringperf.cpp | 100 int32_t srcLen = 0; 101 const UChar* src = getBuffer(srcLen,status); 107 StrBuffer = new UChar[srcLen]; 108 StrBufferLen = srcLen; 109 memcpy(StrBuffer, src, srcLen * U_SIZEOF_UCHAR);
|
/external/icu4c/test/perf/convperf/ |
convperf.h | 28 int32_t srcLen; 36 srcLen = sourceLen; 44 source, srcLen, &status); 57 const char* sourceLimit = src + srcLen; 62 return srcLen; 73 int32_t srcLen; 82 srcLen = sourceLen; 90 source, srcLen, &status); 103 const UChar* sourceLimit = src + srcLen; 108 return srcLen; [all...] |
/frameworks/base/media/libdrm/mobile1/src/objmng/ |
drm_decoder.c | 40 int32_t drm_decodeBase64(uint8_t * dest, int32_t destLen, uint8_t * src, int32_t * srcLen) 46 if (NULL == src || NULL == srcLen || *srcLen <= 0 || destLen < 0) 49 maxDestSize = (*srcLen) * 3/4; 59 for (i = 0; i < maxGroup && *srcLen - (pSrc - src) >= 4; i++) { 61 if (pSrc - src >= *srcLen) 94 *srcLen = pSrc - src;
|
/external/icu4c/test/cintltst/ |
nfsprep.h | 44 * @param srcLen 62 * @param srcLen 77 * @param srcLen 92 * @param srcLen
|
cbiditst.c | 80 static const char* inverseBasic(UBiDi *pBiDi, const char *src, int32_t srcLen, [all...] |
spreptst.c | 293 unescapeData(const char* src, int32_t srcLen, 443 int32_t srcLen; 450 srcLen = unescapeData(mixed_prep_data[i], (int32_t)strlen(mixed_prep_data[i]), src, MAX_BUFFER_SIZE, &status); 455 destLen = nfs4_mixed_prepare(src, srcLen, NULL, 0, &parseError, &status); 459 destLen = nfs4_mixed_prepare(src, srcLen, dest, destLen, &parseError, &status); 476 int32_t srcLen = unescapeData(source, (int32_t)strlen(source), src, MAX_BUFFER_SIZE, &status); 478 nfs4_mixed_prepare(src, srcLen, dest, MAX_BUFFER_SIZE, &parseError, &status); 503 int32_t srcLen = unescapeData(source, (int32_t)strlen(source), src, MAX_BUFFER_SIZE, &status); 506 int32_t destLen = nfs4_cs_prepare(src, srcLen, dest, MAX_BUFFER_SIZE, FALSE, &parseError, &status); 513 if(destLen != srcLen){ [all...] |
idnatest.c | 603 int32_t srcLen; 619 srcLen = u_strlen(src); 621 testCompareWithSrc(src,srcLen,src,srcLen,testName, func, TRUE); 624 testCompareWithSrc(src,srcLen,buf,u_strlen(buf),testName, func,TRUE); 628 testCompareWithSrc(src,srcLen,uni1,u_strlen(uni1),testName, func,FALSE); 630 testCompareWithSrc(src,srcLen,uni0,u_strlen(uni0),testName, func,FALSE); 634 testCompareWithSrc(src,srcLen,ascii1,u_strlen(ascii1),testName, func,FALSE); 636 testCompareWithSrc(src,srcLen,ascii0,u_strlen(ascii0),testName, func,FALSE); 708 int32_t srcLen = u_strlen(src) [all...] |
/frameworks/base/media/libdrm/mobile1/include/objmng/ |
drm_decoder.h | 42 * \param srcLen source buffer length, and when return, give out how many bytes has been decoded 49 int32_t drm_decodeBase64(uint8_t * dest, int32_t destLen, uint8_t * src, int32_t * srcLen);
|
/external/qemu/distrib/sdl-1.2.12/src/stdlib/ |
SDL_iconv.c | 214 size_t srclen, dstlen; local 226 srclen = (inbytesleft ? *inbytesleft : 0); 235 size_t n = srclen / 2; 257 size_t n = srclen / 4; 303 while ( srclen > 0 ) { 311 --srclen; 319 --srclen; 403 --srclen; 404 if ( srclen < left ) { 419 --srclen; [all...] |
/build/tools/acp/ |
acp.c | 119 int srcLen; 122 srcLen = strlen(argv[i]); 123 src = malloc(srcLen+1); 124 memcpy(src, argv[i], srcLen+1); 126 if (src[srcLen-1] == FSSEP) 127 src[--srcLen] = '\0';
|
/dalvik/libcore/math/src/main/java/java/math/ |
BitLevel.java | 179 static void shiftLeftOneBit(int result[], int source[], int srcLen) { 181 for(int i = 0; i < srcLen; i++) { 187 result[srcLen] = carry; 195 int srcLen = source.numberLength; 196 int resLen = srcLen + 1; 198 shiftLeftOneBit(resDigits, source.digits, srcLen);
|
/external/qemu/telephony/ |
sms.h | 51 extern int sms_address_from_str( SmsAddress address, const char* src, int srclen ); 52 extern int sms_address_to_str( SmsAddress address, char* src, int srclen );
|
/external/qemu/distrib/sdl-1.2.12/src/video/bwindow/ |
SDL_BWin.h | 229 int32 state, srclen, dstlen; local 235 srclen = SDL_strlen(buf); 237 convert_from_utf8(B_UNICODE_CONVERSION, buf, &srclen, (char *)destbuf, &dstlen, &state);
|
/external/icu4c/test/intltest/ |
testidna.cpp | 807 int32_t srcLen = u_strlen(src); //subtract null 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); [all...] |
testidna.h | 100 void testCompareReferenceImpl(const UChar* src, int32_t srcLen);
|