/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';
|
/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...] |
/external/icu4c/test/perf/ustrperf/ |
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);
|
/libcore/luni/src/main/java/java/math/ |
BitLevel.java | 114 static void shiftLeftOneBit(int[] result, int[] source, int srcLen) { 116 for (int i = 0; i < srcLen; i++) { 122 result[srcLen] = carry; 128 int srcLen = source.numberLength; 129 int resLen = srcLen + 1; 131 shiftLeftOneBit(resDigits, source.digits, srcLen);
|
/build/libs/host/ |
CopyFile.c | 484 int srcLen, dstLen, nameLen; 497 srcLen = strlen(src); 500 srcFile = malloc(srcLen +1 + nameLen +1); 501 memcpy(srcFile, src, srcLen); 502 srcFile[srcLen] = FSSEP; 503 memcpy(srcFile + srcLen+1, ent->d_name, nameLen +1);
|
/external/icu4c/test/cintltst/ |
spreptst.c | 295 unescapeData(const char* src, int32_t srcLen, 445 int32_t srcLen; 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); 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); 508 int32_t destLen = nfs4_cs_prepare(src, srcLen, dest, MAX_BUFFER_SIZE, FALSE, &parseError, &status); 515 if(destLen != srcLen){ [all...] |
idnatest.c | 604 int32_t srcLen; 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 = u_strlen(src) [all...] |
cbiditst.c | 86 static const char* inverseBasic(UBiDi *pBiDi, const char *src, int32_t srcLen, [all...] |
nucnvtst.c | [all...] |
/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...] |
/external/icu4c/test/perf/normperf/ |
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...] |
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...] |
/external/skia/src/pdf/ |
SkPDFFont.cpp | 161 size_t srcLen; 162 if ((srcLen = srcStream->getLength()) > 0) { 163 staticStream = new SkMemoryStream(srcLen + 1); 167 memcpy((void *)src, srcStream->getMemoryBase(), srcLen); 170 while (read < srcLen) { 172 srcLen - read); 180 ((uint8_t *)src)[srcLen] = 0; 192 srcLen = data->size() - 1; 199 if (parsePFB(src, srcLen, headerLen, dataLen, trailerLen)) { 214 if (parsePFA((const char*)src, srcLen, headerLen, &hexDataLen, dataLen [all...] |
/frameworks/base/cmds/rawbu/ |
backup.cpp | 261 int srcLen = strlen(srcPath); 290 fullPath = (char*)malloc(srcLen + strlen(de->d_name) + 2); 292 fullPath[srcLen] = '/'; 293 strcpy(fullPath+srcLen+1, de->d_name);
|
/external/icu4c/tools/genrb/ |
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); 453 int32_t srcLen=res->u.fBinaryValue.fLength; 455 if(srcLen>0 ) 464 for (;byteIterator<srcLen;byteIterator++)
|
/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...] |
/external/icu4c/io/ |
uprntf_p.c | 566 int32_t srcLen, expLen; 585 srcLen = unum_getSymbol(format, 594 srcExpBuf, srcLen, 600 srcExpBuf, srcLen, 658 srcLen, [all...] |
uscanf_p.c | 493 int32_t srcLen, expLen; 519 srcLen = unum_getSymbol(format, 528 srcExpBuf, srcLen, 534 srcExpBuf, srcLen, [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
com.ibm.icu_4.2.1.v20100412.jar | |