Home
last modified time | relevance | path

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

/third_party/vk-gl-cts/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()
/third_party/skia/third_party/externals/icu/source/common/
Dudata.cpp522 int32_t pathLen = 0; in next() local
534 pathLen = (int32_t)uprv_strlen(currentPath); in next()
540 pathLen = (int32_t)uprv_strlen(currentPath); in next()
543 pathLen = (int32_t)(nextPath - currentPath); in next()
549 if(pathLen == 0) { in next()
558 for(qqq=0;qqq<pathLen;qqq++) in next()
566 pathBuffer.clear().append(currentPath, pathLen, *pErrorCode); in next()
572 (pathLen>=4) && in next()
573 uprv_strncmp(pathBuffer.data() +(pathLen-4), suffix.data(), 4)==0 && /* suffix matches */ in next()
584 if(pathBuffer[pathLen-1] != U_FILE_SEP_CHAR) { in next()
[all …]
Dumapfile.cpp389 int32_t pathLen; /* Length of the returned directory path */ in uprv_computeDirPath() local
412 pathLen = (int32_t)(finalSlash - path + 1); in uprv_computeDirPath()
413 uprv_memcpy(pathBuffer, path, pathLen); in uprv_computeDirPath()
414 *(pathBuffer+pathLen) = 0; in uprv_computeDirPath()
415 return pathBuffer+pathLen; in uprv_computeDirPath()
/third_party/node/deps/icu-small/source/common/
Dudata.cpp522 int32_t pathLen = 0; in next() local
534 pathLen = (int32_t)uprv_strlen(currentPath); in next()
540 pathLen = (int32_t)uprv_strlen(currentPath); in next()
543 pathLen = (int32_t)(nextPath - currentPath); in next()
549 if(pathLen == 0) { in next()
558 for(qqq=0;qqq<pathLen;qqq++) in next()
566 pathBuffer.clear().append(currentPath, pathLen, *pErrorCode); in next()
572 (pathLen>=4) && in next()
573 uprv_strncmp(pathBuffer.data() +(pathLen-4), suffix.data(), 4)==0 && /* suffix matches */ in next()
584 if(pathBuffer[pathLen-1] != U_FILE_SEP_CHAR) { in next()
[all …]
Dumapfile.cpp389 int32_t pathLen; /* Length of the returned directory path */ in uprv_computeDirPath() local
412 pathLen = (int32_t)(finalSlash - path + 1); in uprv_computeDirPath()
413 uprv_memcpy(pathBuffer, path, pathLen); in uprv_computeDirPath()
414 *(pathBuffer+pathLen) = 0; in uprv_computeDirPath()
415 return pathBuffer+pathLen; in uprv_computeDirPath()
/third_party/flutter/skia/third_party/externals/icu/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()
/third_party/icu/icu4c/source/common/
Dudata.cpp522 int32_t pathLen = 0; in next() local
534 pathLen = (int32_t)uprv_strlen(currentPath); in next()
540 pathLen = (int32_t)uprv_strlen(currentPath); in next()
543 pathLen = (int32_t)(nextPath - currentPath); in next()
549 if(pathLen == 0) { in next()
558 for(qqq=0;qqq<pathLen;qqq++) in next()
566 pathBuffer.clear().append(currentPath, pathLen, *pErrorCode); in next()
572 (pathLen>=4) && in next()
573 uprv_strncmp(pathBuffer.data() +(pathLen-4), suffix.data(), 4)==0 && /* suffix matches */ in next()
584 if(pathBuffer[pathLen-1] != U_FILE_SEP_CHAR) { in next()
[all …]
Dumapfile.cpp389 int32_t pathLen; /* Length of the returned directory path */ in uprv_computeDirPath() local
412 pathLen = (int32_t)(finalSlash - path + 1); in uprv_computeDirPath()
413 uprv_memcpy(pathBuffer, path, pathLen); in uprv_computeDirPath()
414 *(pathBuffer+pathLen) = 0; in uprv_computeDirPath()
415 return pathBuffer+pathLen; in uprv_computeDirPath()
/third_party/typescript/scripts/importDefinitelyTypedTests/
DimportDefinitelyTypedTests.ts39 const pathLen = path.length; constant
41 …return pathLen > extLen && path.substr(pathLen - extLen, extLen).toLocaleLowerCase() === endingStr…
/third_party/skia/third_party/externals/angle2/util/windows/
Dtest_utils_win.cpp413 DWORD pathLen = ::GetTempPathA(maxDirNameLen, tempDirOut); in GetTempDir() local
415 if (pathLen > 0) in GetTempDir()
423 return (pathLen < MAX_PATH && pathLen > 0); in GetTempDir()
/third_party/node/deps/npm/node_modules/sshpk/lib/formats/
Dx509.js265 bc.pathLen = der.readInt();
618 var pathLen = exts[i].pathLen;
620 if (pathLen !== undefined)
621 der.writeInt(pathLen);
/third_party/flutter/skia/third_party/externals/angle2/src/common/
Dutilities.cpp1086 DWORD pathLen = GetTempPathA(sizeof(path) / sizeof(path[0]), path); in getTempPath() local
1087 if (pathLen == 0) in getTempPath()
/third_party/skia/third_party/externals/angle2/src/common/
Dutilities.cpp1371 DWORD pathLen = GetTempPathA(sizeof(path) / sizeof(path[0]), path); in getTempPath() local
1372 if (pathLen == 0) in getTempPath()
/third_party/sqlite/src/
Dsqlite3.c43997 size_t pathLen = 0;
44004 pathLen = strlcpy(tPath, cPath, MAXPATHLEN);
44005 if( pathLen>MAXPATHLEN || pathLen<6 ||
44006 (strlcpy(&tPath[pathLen-5], "break", 6) != 5) ){
44007 sqlite3_snprintf(sizeof(errmsg),errmsg,"path error (len %d)",(int)pathLen);
44189 size_t pathLen = (readLen - PROXY_PATHINDEX);
44191 if( pathLen>=MAXPATHLEN ){
44192 pathLen=MAXPATHLEN-1;
44194 memcpy(lockPath, &readBuf[PROXY_PATHINDEX], pathLen);
44195 lockPath[pathLen] = 0;