Home
last modified time | relevance | path

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

/external/deqp/framework/delibs/deutil/
DdeProcess.c82 size_t pathLen = strlen(pathPrefix); in beginsWithPath() local
85 while (pathLen > 0 && pathPrefix[pathLen-1] == '/') in beginsWithPath()
86 pathLen -= 1; in beginsWithPath()
88 return pathLen > 0 && deMemoryEqual(fileName, pathPrefix, pathLen) && fileName[pathLen] == '/'; in beginsWithPath()
93 size_t pathLen = strlen(pathPrefix); in stripLeadingPath() local
99 while (pathLen > 0 && pathPrefix[pathLen-1] == '/') in stripLeadingPath()
100 pathLen -= 1; in stripLeadingPath()
102 DE_ASSERT(pathLen > 0); in stripLeadingPath()
103 DE_ASSERT(fileName[pathLen] == '/'); in stripLeadingPath()
105 memmove(&fileName[0], &fileName[0]+pathLen+1, fileNameLen-pathLen); in stripLeadingPath()
/external/python/cpython2/PC/
Dimport_nt.c21 Py_ssize_t pathLen) in PyWin_FindRegisteredModule() argument
56 assert(pathLen < INT_MAX); in PyWin_FindRegisteredModule()
57 modNameSize = (int)pathLen; in PyWin_FindRegisteredModule()
63 modNameSize = (int)pathLen; in PyWin_FindRegisteredModule()
/external/icu/icu4c/source/common/
Dudata.cpp521 int32_t pathLen = 0; in next() local
533 pathLen = (int32_t)uprv_strlen(currentPath); in next()
539 pathLen = (int32_t)uprv_strlen(currentPath); in next()
542 pathLen = (int32_t)(nextPath - currentPath); in next()
548 if(pathLen == 0) { in next()
557 for(qqq=0;qqq<pathLen;qqq++) in next()
565 pathBuffer.clear().append(currentPath, pathLen, *pErrorCode); in next()
571 (pathLen>=4) && in next()
572 uprv_strncmp(pathBuffer.data() +(pathLen-4), suffix.data(), 4)==0 && /* suffix matches */ in next()
583 if(pathBuffer[pathLen-1] != U_FILE_SEP_CHAR) { in next()
[all …]
Dumapfile.cpp387 int32_t pathLen; /* Length of the returned directory path */ in uprv_computeDirPath() local
410 pathLen = (int32_t)(finalSlash - path + 1); in uprv_computeDirPath()
411 uprv_memcpy(pathBuffer, path, pathLen); in uprv_computeDirPath()
412 *(pathBuffer+pathLen) = 0; in uprv_computeDirPath()
413 return pathBuffer+pathLen; in uprv_computeDirPath()
/external/lzma/C/Util/SfxSetup/
DSfxSetup.c253 size_t pathLen; in main() local
309 pathLen = wcslen(path); in main()
319 wcscpy(path + pathLen, L"7z"); in main()
339 pathLen = wcslen(path); in main()
421 temp = path + pathLen; in main()
528 WCHAR *temp = path + pathLen; in main()
617 path[pathLen] = L'\0'; in main()
/external/skqp/tools/bookmaker/
DtextParser.cpp24 DWORD pathLen = GetCurrentDirectory(MAX_PATH, pathChars); in ReportFilename() local
25 for (DWORD index = 0; index < pathLen; ++index) { in ReportFilename()
/external/skia/tools/bookmaker/
DtextParser.cpp24 DWORD pathLen = GetCurrentDirectory(MAX_PATH, pathChars); in ReportFilename() local
25 for (DWORD index = 0; index < pathLen; ++index) { in ReportFilename()
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DOpenSSLX509Certificate.java364 final int pathLen = NativeCrypto.get_X509_ex_pathlen(mContext, this); in getBasicConstraints() local
365 if (pathLen == -1) { in getBasicConstraints()
369 return pathLen; in getBasicConstraints()
/external/conscrypt/common/src/main/java/org/conscrypt/
DOpenSSLX509Certificate.java360 final int pathLen = NativeCrypto.get_X509_ex_pathlen(mContext, this); in getBasicConstraints() local
361 if (pathLen == -1) { in getBasicConstraints()
365 return pathLen; in getBasicConstraints()
/external/llvm/unittests/Support/
DPath.cpp307 auto pathLen = ::wcslen(path); in TEST() local
309 pathLen * sizeof(wchar_t)}; in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/
DPath.cpp301 auto pathLen = ::wcslen(path); in TEST() local
303 pathLen * sizeof(wchar_t)}; in TEST()
/external/sqlite/dist/orig/
Dsqlite3.c37588 size_t pathLen = 0;
37595 pathLen = strlcpy(tPath, cPath, MAXPATHLEN);
37596 if( pathLen>MAXPATHLEN || pathLen<6 ||
37597 (strlcpy(&tPath[pathLen-5], "break", 6) != 5) ){
37598 sqlite3_snprintf(sizeof(errmsg),errmsg,"path error (len %d)",(int)pathLen);
37780 size_t pathLen = (readLen - PROXY_PATHINDEX);
37782 if( pathLen>=MAXPATHLEN ){
37783 pathLen=MAXPATHLEN-1;
37785 memcpy(lockPath, &readBuf[PROXY_PATHINDEX], pathLen);
37786 lockPath[pathLen] = 0;
/external/sqlite/dist/
Dsqlite3.c37604 size_t pathLen = 0;
37611 pathLen = strlcpy(tPath, cPath, MAXPATHLEN);
37612 if( pathLen>MAXPATHLEN || pathLen<6 ||
37613 (strlcpy(&tPath[pathLen-5], "break", 6) != 5) ){
37614 sqlite3_snprintf(sizeof(errmsg),errmsg,"path error (len %d)",(int)pathLen);
37796 size_t pathLen = (readLen - PROXY_PATHINDEX);
37798 if( pathLen>=MAXPATHLEN ){
37799 pathLen=MAXPATHLEN-1;
37801 memcpy(lockPath, &readBuf[PROXY_PATHINDEX], pathLen);
37802 lockPath[pathLen] = 0;