/third_party/vk-gl-cts/framework/delibs/deutil/ |
D | deProcess.c | 82 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/icu/icu4c/source/common/ |
D | udata.cpp | 522 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 …]
|
D | umapfile.cpp | 389 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/ |
D | udata.cpp | 522 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 …]
|
D | umapfile.cpp | 389 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/skia/third_party/externals/icu/source/common/ |
D | udata.cpp | 522 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 …]
|
D | umapfile.cpp | 389 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/lzma/C/Util/SfxSetup/ |
D | SfxSetup.c | 253 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()
|
/third_party/skia/third_party/externals/angle2/util/windows/ |
D | test_utils_win.cpp | 413 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/typescript/scripts/ |
D | importDefinitelyTypedTests.mjs | 38 const pathLen = path.length; 40 …return pathLen > extLen && path.substr(pathLen - extLen, extLen).toLocaleLowerCase() === endingStr…
|
/third_party/curl/lib/ |
D | ftp.c | 3241 size_t pathLen = 0; in ftp_done() local 3290 result = Curl_urldecode(ftp->path, 0, &rawPath, &pathLen, in ftp_done() 3308 pathLen = 0; /* relative path => working directory is FTP home */ in ftp_done() 3310 pathLen -= ftpc->file?strlen(ftpc->file):0; /* file is url-decoded */ in ftp_done() 3312 rawPath[pathLen] = '\0'; in ftp_done() 4141 size_t pathLen = 0; in ftp_parse_url_path() local 4147 result = Curl_urldecode(ftp->path, 0, &rawPath, &pathLen, REJECT_CTRL); in ftp_parse_url_path() 4156 if((pathLen > 0) && (rawPath[pathLen - 1] != '/')) in ftp_parse_url_path() 4262 size_t n = pathLen; in ftp_parse_url_path()
|
/third_party/skia/third_party/externals/angle2/src/common/ |
D | utilities.cpp | 1371 DWORD pathLen = GetTempPathA(sizeof(path) / sizeof(path[0]), path); in getTempPath() local 1372 if (pathLen == 0) in getTempPath()
|