Home
last modified time | relevance | path

Searched refs:pathLen (Results 1 – 17 of 17) sorted by relevance

/external/icu4c/common/
Dudata.cpp520 int32_t pathLen = 0; in next() local
532 pathLen = (int32_t)uprv_strlen(currentPath); in next()
538 pathLen = (int32_t)uprv_strlen(currentPath); in next()
541 pathLen = (int32_t)(nextPath - currentPath); in next()
547 if(pathLen == 0) { in next()
556 for(qqq=0;qqq<pathLen;qqq++) in next()
564 pathBuffer.clear().append(currentPath, pathLen, *pErrorCode); in next()
570 (pathLen>=4) && in next()
571 uprv_strncmp(pathBuffer.data() +(pathLen-4), suffix, 4)==0 && /* suffix matches */ in next()
582 if(pathBuffer[pathLen-1] != U_FILE_SEP_CHAR) { in next()
[all …]
Dumapfile.c325 int32_t pathLen; /* Length of the returned directory path */ in uprv_computeDirPath() local
348 pathLen = (int32_t)(finalSlash - path + 1); in uprv_computeDirPath()
349 uprv_memcpy(pathBuffer, path, pathLen); in uprv_computeDirPath()
350 *(pathBuffer+pathLen) = 0; in uprv_computeDirPath()
351 return pathBuffer+pathLen; in uprv_computeDirPath()
/external/chromium_org/third_party/icu/source/common/
Dudata.cpp496 int32_t pathLen = 0; in next() local
508 pathLen = (int32_t)uprv_strlen(currentPath); in next()
514 pathLen = (int32_t)uprv_strlen(currentPath); in next()
517 pathLen = (int32_t)(nextPath - currentPath); in next()
523 if(pathLen == 0) { in next()
532 for(qqq=0;qqq<pathLen;qqq++) in next()
540 pathBuffer.clear().append(currentPath, pathLen, *pErrorCode); in next()
546 (pathLen>=4) && in next()
547 uprv_strncmp(pathBuffer.data() +(pathLen-4), suffix, 4)==0 && /* suffix matches */ in next()
558 if(pathBuffer[pathLen-1] != U_FILE_SEP_CHAR) { in next()
[all …]
Dumapfile.c329 int32_t pathLen; /* Length of the returned directory path */ in uprv_computeDirPath() local
352 pathLen = (int32_t)(finalSlash - path + 1); in uprv_computeDirPath()
353 uprv_memcpy(pathBuffer, path, pathLen); in uprv_computeDirPath()
354 *(pathBuffer+pathLen) = 0; in uprv_computeDirPath()
355 return pathBuffer+pathLen; in uprv_computeDirPath()
/external/v8/test/mjsunit/tools/
Dtickprocessor.js373 var pathLen = TEST_FILE_NAME.lastIndexOf('/');
374 if (pathLen == -1) {
375 pathLen = TEST_FILE_NAME.lastIndexOf('\\');
377 assertTrue(pathLen != -1);
378 var testsPath = TEST_FILE_NAME.substr(0, pathLen + 1);
/external/chromium_org/v8/test/mjsunit/tools/
Dtickprocessor.js377 var pathLen = TEST_FILE_NAME.lastIndexOf('/');
378 if (pathLen == -1) {
379 pathLen = TEST_FILE_NAME.lastIndexOf('\\');
381 assertTrue(pathLen != -1);
382 var testsPath = TEST_FILE_NAME.substr(0, pathLen + 1);
/external/lzma/C/Util/SfxSetup/
DSfxSetup.c245 size_t pathLen; in main() local
297 pathLen = wcslen(path); in main()
306 wcscpy(path + pathLen, L"7z"); in main()
326 pathLen = wcslen(path); in main()
398 temp = path + pathLen; in main()
503 WCHAR *temp = path + pathLen; in main()
570 path[pathLen] = L'\0'; in main()
/external/qemu/android/utils/
Dpath.c456 int pathLen = strlen(path); in path_get_absolute() local
464 result = malloc(currentLen + pathLen + 2); in path_get_absolute()
470 memcpy(result + currentLen, path, pathLen+1); in path_get_absolute()
476 int pathLen = strlen(path); in path_get_absolute() local
489 result = malloc(currentLen + pathLen + 2); in path_get_absolute()
495 memcpy(result + currentLen, path, pathLen+1); in path_get_absolute()
/external/svox/pico/lib/
Dpicotrns.c384 picotrns_altDesc_t altDesc[], picoos_uint16 pathLen, in NoteSolution() argument
392 for (i = 0; i < pathLen; i++) { in NoteSolution()
400 if (pathLen > maxOutSeqLen) { in NoteSolution()
/external/chromium_org/third_party/angle/src/libGLESv2/
Dutilities.cpp741 DWORD pathLen = GetTempPathA(sizeof(path) / sizeof(path[0]), path); in getTempPath() local
742 if (pathLen == 0) in getTempPath()
/external/apache-harmony/security/src/test/impl/java.injected/java/security/cert/
DX509CertSelectorTest.java103 protected int pathLen = -1; field in X509CertSelectorTest.TestCert
161 public TestCert(int pathLen) { in TestCert() argument
162 this.pathLen = pathLen; in TestCert()
333 return pathLen; in getBasicConstraints()
405 new Boolean(pathLen != -1), in getExtensionValue()
406 BigInteger.valueOf(pathLen). in getExtensionValue()
/external/chromium_org/third_party/sqlite/src/src/
Dos_unix.c5886 size_t pathLen = 0; in proxyBreakConchLock() local
5893 pathLen = strlcpy(tPath, cPath, MAXPATHLEN); in proxyBreakConchLock()
5894 if( pathLen>MAXPATHLEN || pathLen<6 || in proxyBreakConchLock()
5895 (strlcpy(&tPath[pathLen-5], "break", 6) != 5) ){ in proxyBreakConchLock()
5896 sqlite3_snprintf(sizeof(errmsg),errmsg,"path error (len %d)",(int)pathLen); in proxyBreakConchLock()
6077 size_t pathLen = (readLen - PROXY_PATHINDEX); in proxyTakeConch() local
6079 if( pathLen>=MAXPATHLEN ){ in proxyTakeConch()
6080 pathLen=MAXPATHLEN-1; in proxyTakeConch()
6082 memcpy(lockPath, &readBuf[PROXY_PATHINDEX], pathLen); in proxyTakeConch()
6083 lockPath[pathLen] = 0; in proxyTakeConch()
/external/skia/src/core/
DSkDraw.cpp2265 SkScalar pathLen = meas.getLength(); in drawTextOnPath() local
2267 pathLen = SkScalarHalf(pathLen); in drawTextOnPath()
2269 hOffset += pathLen; in drawTextOnPath()
/external/chromium_org/third_party/skia/src/core/
DSkDraw.cpp2265 SkScalar pathLen = meas.getLength(); in drawTextOnPath() local
2267 pathLen = SkScalarHalf(pathLen); in drawTextOnPath()
2269 hOffset += pathLen; in drawTextOnPath()
/external/chromium_org/third_party/sqlite/amalgamation/
Dsqlite3.c30042 size_t pathLen = 0;
30049 pathLen = strlcpy(tPath, cPath, MAXPATHLEN);
30050 if( pathLen>MAXPATHLEN || pathLen<6 ||
30051 (strlcpy(&tPath[pathLen-5], "break", 6) != 5) ){
30052 sqlite3_snprintf(sizeof(errmsg),errmsg,"path error (len %d)",(int)pathLen);
30233 size_t pathLen = (readLen - PROXY_PATHINDEX);
30235 if( pathLen>=MAXPATHLEN ){
30236 pathLen=MAXPATHLEN-1;
30238 memcpy(lockPath, &readBuf[PROXY_PATHINDEX], pathLen);
30239 lockPath[pathLen] = 0;
/external/sqlite/dist/orig/
Dsqlite3.c31017 size_t pathLen = 0;
31024 pathLen = strlcpy(tPath, cPath, MAXPATHLEN);
31025 if( pathLen>MAXPATHLEN || pathLen<6 ||
31026 (strlcpy(&tPath[pathLen-5], "break", 6) != 5) ){
31027 sqlite3_snprintf(sizeof(errmsg),errmsg,"path error (len %d)",(int)pathLen);
31208 size_t pathLen = (readLen - PROXY_PATHINDEX);
31210 if( pathLen>=MAXPATHLEN ){
31211 pathLen=MAXPATHLEN-1;
31213 memcpy(lockPath, &readBuf[PROXY_PATHINDEX], pathLen);
31214 lockPath[pathLen] = 0;
/external/sqlite/dist/
Dsqlite3.c31045 size_t pathLen = 0;
31052 pathLen = strlcpy(tPath, cPath, MAXPATHLEN);
31053 if( pathLen>MAXPATHLEN || pathLen<6 ||
31054 (strlcpy(&tPath[pathLen-5], "break", 6) != 5) ){
31055 sqlite3_snprintf(sizeof(errmsg),errmsg,"path error (len %d)",(int)pathLen);
31236 size_t pathLen = (readLen - PROXY_PATHINDEX);
31238 if( pathLen>=MAXPATHLEN ){
31239 pathLen=MAXPATHLEN-1;
31241 memcpy(lockPath, &readBuf[PROXY_PATHINDEX], pathLen);
31242 lockPath[pathLen] = 0;