/third_party/vk-gl-cts/framework/delibs/deutil/ |
H A 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 in stripLeadingPath() [all...] |
/third_party/icu/icu4c/source/common/ |
H A 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 in next() [all...] |
H A 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/ |
H A 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 in next() [all...] |
H A 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/ |
H A 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 in next() [all...] |
H A 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/ |
H A D | SfxSetup.c | 269 size_t pathLen;
in main() local 325 pathLen = wcslen(path);
in main() 335 wcscpy(path + pathLen, L"7z");
in main() 355 pathLen = wcslen(path);
in main() 437 temp = path + pathLen;
in main() 544 WCHAR *temp = path + pathLen;
in main() 633 path[pathLen] = L'\0';
in main()
|
/kernel/liteos_m/components/shell/src/cmds/ |
H A D | vfs_shellcmd.c | 124 size_t pathLen; in OsLsGetFullpath() local 127 pathLen = strlen(path) + strlen(pdirent->d_name) + 2; /* 2, path + '/' + d_name + '\0' */ in OsLsGetFullpath() 128 fullpath = (CHAR *)malloc(pathLen); in OsLsGetFullpath() 133 ret = snprintf_s(fullpath, pathLen, pathLen - 1, "%s/%s", path, pdirent->d_name); in OsLsGetFullpath() 139 pathLen = strlen(pdirent->d_name) + 2; /* 2, '/' + d_name + '\0' */ in OsLsGetFullpath() 140 fullpath = (CHAR *)malloc(pathLen); in OsLsGetFullpath() 145 ret = snprintf_s(fullpath, pathLen, pathLen, "/%s", pdirent->d_name); in OsLsGetFullpath()
|
/third_party/skia/third_party/externals/angle2/util/windows/ |
H A 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()
|
/kernel/liteos_a/testsuites/unittest/tools/ |
H A D | unittest_tools.cpp | 95 int pathLen = strlen(pDir->d_name); in GetAllTestsuites() local 96 if (pathLen <= suffixLen) { in GetAllTestsuites() 99 if (strcmp(".bin", (char *)(pDir->d_name + (pathLen - suffixLen))) != 0) { in GetAllTestsuites()
|
/kernel/liteos_m/components/fs/fatfs/ |
H A D | fatfs.c | 76 UINT16 pathLen = strlen((char const *)path);
in FsChangeDrive() local 81 if (pathLen >= (FS_DRIVE_NAME_MAX_LEN - 1)) {
in FsChangeDrive() 83 pathLen = FS_DRIVE_NAME_MAX_LEN - 2;
in FsChangeDrive() 86 retErr = strncpy_s(tmpPath + 1, (FS_DRIVE_NAME_MAX_LEN - 1), (char const *)path, pathLen);
in FsChangeDrive()
|
/third_party/python/Modules/ |
H A D | getpath.c | 731 uint32_t pathLen = 256; in progname_to_dict() 732 while (pathLen) { in progname_to_dict() 733 path = PyMem_RawMalloc((pathLen + 1) * sizeof(char)); in progname_to_dict() 737 if (_NSGetExecutablePath(path, &pathLen) != 0) { in progname_to_dict()
|
/kernel/liteos_m/components/fs/vfs/ |
H A D | vfs_fs.c | 508 size_t pathLen = strlen(path) + 1; in open() local 509 if ((unsigned)pathLen > PATH_MAX) { in open() 514 char *canonicalPath = (char *)LOSCFG_FS_MALLOC_HOOK(pathLen); in open() 519 if (GetCanonicalPath(NULL, path, canonicalPath, pathLen) == 0) { in open()
|
/third_party/curl/lib/ |
H A D | ftp.c | 3235 size_t pathLen = 0; in ftp_done() local 3283 result = Curl_urldecode(ftp->path, 0, &rawPath, &pathLen, in ftp_done() 3301 pathLen = 0; /* relative path => working directory is FTP home */ in ftp_done() 3303 pathLen -= ftpc->file?strlen(ftpc->file):0; /* file is url-decoded */ in ftp_done() 3305 rawPath[pathLen] = '\0'; in ftp_done() 4134 size_t pathLen = 0; in ftp_parse_url_path() local 4140 result = Curl_urldecode(ftp->path, 0, &rawPath, &pathLen, REJECT_CTRL); in ftp_parse_url_path() 4149 if((pathLen > 0) && (rawPath[pathLen - 1] != '/')) in ftp_parse_url_path() 4253 size_t n = pathLen; in ftp_parse_url_path() [all...] |
/third_party/skia/third_party/externals/angle2/src/common/ |
H A D | utilities.cpp | 1371 DWORD pathLen = GetTempPathA(sizeof(path) / sizeof(path[0]), path); in getTempPath() local 1372 if (pathLen == 0) in getTempPath()
|
/third_party/selinux/libselinux/src/ |
H A D | selinux_restorecon.c | 644 size_t pathLen = strlen(path); in is_hnp_path() local 645 if ((pathLen < HNP_ROOT_PATH_LEN + 1 + HNP_PUBLIC_DIR_LEN + 1) || in is_hnp_path()
|
/third_party/sqlite/src/ |
H A D | sqlite3.c | 44135 size_t pathLen = 0; proxyBreakConchLock() local 44336 size_t pathLen = (readLen - PROXY_PATHINDEX); proxyTakeConch() local [all...] |