/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/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/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/flutter/skia/third_party/externals/icu/source/common/ |
D | udata.cpp | 521 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 …]
|
D | umapfile.cpp | 387 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/ |
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/typescript/scripts/importDefinitelyTypedTests/ |
D | importDefinitelyTypedTests.ts | 39 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/ |
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/node/deps/npm/node_modules/sshpk/lib/formats/ |
D | x509.js | 265 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/ |
D | utilities.cpp | 1086 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/ |
D | utilities.cpp | 1371 DWORD pathLen = GetTempPathA(sizeof(path) / sizeof(path[0]), path); in getTempPath() local 1372 if (pathLen == 0) in getTempPath()
|
/third_party/sqlite/src/ |
D | sqlite3.c | 43997 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;
|