Home
last modified time | relevance | path

Searched refs:cwdLen (Results 1 – 21 of 21) sorted by relevance

/dports/editors/libreoffice6/libreoffice-6.4.7.2/desktop/win32/source/guiloader/
H A Dgenericloader.cxx42 DWORD cwdLen = GetCurrentDirectoryW(MAX_PATH, cwd); in GenericMain() local
43 if (cwdLen >= MAX_PATH) { in GenericMain()
44 cwdLen = 0; in GenericMain()
61 MY_LENGTH(L" \"-env:OOO_CWD=2") + 4 * cwdLen + MY_LENGTH(L"\"") + 1]; in GenericMain()
72 if (cwdLen == 0) { in GenericMain()
/dports/editors/libreoffice/libreoffice-7.2.6.2/desktop/win32/source/
H A Dloader.cxx179 DWORD cwdLen = GetCurrentDirectoryW(MAX_PATH, cwd); in officeloader_impl() local
180 if (cwdLen >= MAX_PATH) in officeloader_impl()
182 cwdLen = 0; in officeloader_impl()
270 n += MY_LENGTH(L" \"-env:OOO_CWD=2") + 4 * cwdLen + MY_LENGTH(L"\"") + 1; in officeloader_impl()
289 if (cwdLen == 0) in officeloader_impl()
394 DWORD cwdLen = GetCurrentDirectoryW(MAX_PATH, cwd); in unopkgloader_impl() local
395 if (cwdLen >= MAX_PATH) { in unopkgloader_impl()
396 cwdLen = 0; in unopkgloader_impl()
413 MY_LENGTH(L" \"-env:OOO_CWD=2") + 4 * cwdLen + MY_LENGTH(L"\"") + 1]; in unopkgloader_impl()
424 if (cwdLen == 0) { in unopkgloader_impl()
/dports/lang/tcl85/tcl8.5.19/generic/
H A DtclPathObj.c1416 int cwdLen, len; in TclFSMakePathRelative() local
1513 cwdLen++; in TclFSMakePathRelative()
1517 if (tempStr[cwdLen-1] != '/' && tempStr[cwdLen-1] != '\\') { in TclFSMakePathRelative()
1518 cwdLen++; in TclFSMakePathRelative()
1524 return Tcl_NewStringObj(tempStr + cwdLen, len - cwdLen); in TclFSMakePathRelative()
1834 int tailLen, cwdLen, pathType; in Tcl_FSGetNormalizedPath() local
1860 cwdLen += (Tcl_GetString(copy)[cwdLen] == '/'); in Tcl_FSGetNormalizedPath()
1948 int cwdLen; in Tcl_FSGetNormalizedPath() local
1954 cwdLen += (Tcl_GetString(copy)[cwdLen] == '/'); in Tcl_FSGetNormalizedPath()
2668 int cwdLen; in UpdateStringOfFsPath() local
[all …]
H A DtclIOUtil.c4399 int cwdLen, normLen; in Tcl_FSRemoveDirectory() local
4404 cwdStr = Tcl_GetStringFromObj(cwdPtr, &cwdLen); in Tcl_FSRemoveDirectory()
4405 if ((cwdLen >= normLen) && (strncmp(normPathStr, cwdStr, in Tcl_FSRemoveDirectory()
/dports/lang/tcl87/tcl8.7a5/generic/
H A DtclPathObj.c1392 int cwdLen, len; in TclFSMakePathRelative() local
1425 if (tempStr[cwdLen-1] != '/') { in TclFSMakePathRelative()
1426 cwdLen++; in TclFSMakePathRelative()
1430 if (tempStr[cwdLen-1] != '/' && tempStr[cwdLen-1] != '\\') { in TclFSMakePathRelative()
1431 cwdLen++; in TclFSMakePathRelative()
1437 return Tcl_NewStringObj(tempStr + cwdLen, len - cwdLen); in TclFSMakePathRelative()
1710 int tailLen, cwdLen, pathType; in Tcl_FSGetNormalizedPath() local
1811 int cwdLen; in Tcl_FSGetNormalizedPath() local
1817 cwdLen += (Tcl_GetString(copy)[cwdLen] == '/'); in Tcl_FSGetNormalizedPath()
2469 int cwdLen; in UpdateStringOfFsPath() local
[all …]
H A DtclIOUtil.c4437 int cwdLen, normLen; in Tcl_FSRemoveDirectory() local
4442 cwdStr = TclGetStringFromObj(cwdPtr, &cwdLen); in Tcl_FSRemoveDirectory()
4443 if ((cwdLen >= normLen) && (strncmp(normPathStr, cwdStr, in Tcl_FSRemoveDirectory()
/dports/lang/tcl86/tcl8.6.12/generic/
H A DtclPathObj.c1439 int cwdLen, len; in TclFSMakePathRelative() local
1471 if (tempStr[cwdLen-1] != '/') { in TclFSMakePathRelative()
1472 cwdLen++; in TclFSMakePathRelative()
1476 if (tempStr[cwdLen-1] != '/' && tempStr[cwdLen-1] != '\\') { in TclFSMakePathRelative()
1477 cwdLen++; in TclFSMakePathRelative()
1483 return Tcl_NewStringObj(tempStr + cwdLen, len - cwdLen); in TclFSMakePathRelative()
1794 int tailLen, cwdLen, pathType; in Tcl_FSGetNormalizedPath() local
1907 int cwdLen; in Tcl_FSGetNormalizedPath() local
1913 cwdLen += (Tcl_GetString(copy)[cwdLen] == '/'); in Tcl_FSGetNormalizedPath()
2623 int cwdLen; in UpdateStringOfFsPath() local
[all …]
H A DtclIOUtil.c4558 int cwdLen, normLen; in Tcl_FSRemoveDirectory() local
4563 cwdStr = Tcl_GetStringFromObj(cwdPtr, &cwdLen); in Tcl_FSRemoveDirectory()
4564 if ((cwdLen >= normLen) && (strncmp(normPathStr, cwdStr, in Tcl_FSRemoveDirectory()
/dports/x11-toolkits/p5-Tk/Tk-804.035/pTk/mTk/tclGeneric/
H A DtclIOUtil.c5071 cwdLen++;
5077 cwdLen++;
5082 cwdLen++;
5088 return Tcl_NewStringObj(tempStr + cwdLen, len - cwdLen);
5360 int cwdLen; local
5389 cwdLen++;
5477 cwdLen++;
5484 cwdLen++;
5490 cwdLen++;
6200 cwdLen++;
[all …]
/dports/multimedia/libxspf/libxspf-1.2.0/examples/read/
H A Dread.cpp242 size_t const cwdLen = ::PORT_STRLEN(absoluteFilename); in makeAbsoluteFilename() local
243 absoluteFilename[cwdLen] = _PT(DIR_SEPERATOR); in makeAbsoluteFilename()
244 ::PORT_STRNCPY(absoluteFilename + cwdLen + 1, relativeFilename, in makeAbsoluteFilename()
246 absoluteFilename[cwdLen + 1 + relativeFilenameLen] = _PT('\0'); in makeAbsoluteFilename()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/desktop/win32/source/
H A Dloader.cxx160 DWORD cwdLen = GetCurrentDirectoryW(MAX_PATH, cwd); in officeloader_impl() local
161 if (cwdLen >= MAX_PATH) in officeloader_impl()
163 cwdLen = 0; in officeloader_impl()
222 n += MY_LENGTH(L" \"-env:OOO_CWD=2") + 4 * cwdLen + MY_LENGTH(L"\"") + 1; in officeloader_impl()
241 if (cwdLen == 0) in officeloader_impl()
/dports/devel/liblouis/liblouis-3.20.0/extra/generate-display-names/
H A Dgenerate.c199 int cwdLen = strlen(cwd); in main() local
201 if (strncmp(cwd, tablePath, cwdLen) || tablePath[cwdLen] != '/') { in main()
276 if (!strcmp(&tables[k][cwdLen + 1], table)) { in main()
/dports/devel/fossology-nomos-standalone/fossology-3.11.0/src/nomos/agent/
H A Dnomos.h413 size_t cwdLen; member
H A Dlicenses.c583 scp->nameOffset = (size_t) (cur.cwdLen + 1); in createRelativePath()
/dports/lang/tcl86/tcl8.6.12/win/
H A DtclWinFile.c2901 int cwdLen; in TclWinVolumeRelativeNormalize() local
2903 Tcl_GetStringFromObj(useThisCwd, &cwdLen); in TclWinVolumeRelativeNormalize()
2916 if (drive[cwdLen-1] != '/' && (path[2] != '\0')) { in TclWinVolumeRelativeNormalize()
/dports/lang/tcl85/tcl8.5.19/win/
H A DtclWinFile.c3055 int cwdLen; in TclWinVolumeRelativeNormalize() local
3057 Tcl_GetStringFromObj(useThisCwd, &cwdLen); in TclWinVolumeRelativeNormalize()
3070 if (drive[cwdLen-1] != '/' && (path[2] != '\0')) { in TclWinVolumeRelativeNormalize()
/dports/lang/tcl87/tcl8.7a5/win/
H A DtclWinFile.c2913 int cwdLen; in TclWinVolumeRelativeNormalize() local
2914 const char *drive = TclGetStringFromObj(useThisCwd, &cwdLen); in TclWinVolumeRelativeNormalize()
2927 if (drive[cwdLen-1] != '/' && (path[2] != '\0')) { in TclWinVolumeRelativeNormalize()
/dports/cad/ldview/ldview-4.4/TCFoundation/
H A Dmystring.cpp771 size_t cwdLen = strlen(cwd); in findRelativePath() local
817 for (i = 0; i < cwdLen && i < pathLen; i++) in findRelativePath()
/dports/lang/tcl85/tcl8.5.19/
H A DChangeLog.20032838 (UpdateStringOfFsPath): revert the cwdLen == 0 check and instead
2846 (UpdateStringOfFsPath): handle the cwdLen == 0 case
/dports/lang/tcl86/tcl8.6.12/
H A DChangeLog.20032838 (UpdateStringOfFsPath): revert the cwdLen == 0 check and instead
2846 (UpdateStringOfFsPath): handle the cwdLen == 0 case
/dports/lang/tcl87/tcl8.7a5/
H A DChangeLog.20032838 (UpdateStringOfFsPath): revert the cwdLen == 0 check and instead
2846 (UpdateStringOfFsPath): handle the cwdLen == 0 case