/dports/cad/opencascade/opencascade-7.6.0/inc/ |
H A D | OSD_Path.hxx | 235 …static Standard_Boolean IsDosPath (const char* thePath) { return thePath[0] != '\0' && thePath[1] … in IsDosPath() argument 256 return thePath[2] != '?' in IsUncPath() 257 || IsUncExtendedPath (thePath); in IsUncPath() 277 return thePath[0] == '/' && thePath[1] != '/'; in IsUnixPath() 296 const char* anIter = thePath; in IsRemoteProtocolPath() 317 return !IsUncPath (thePath) in IsRelativePath() 318 && !IsDosPath (thePath) in IsRelativePath() 319 && !IsNtExtendedPath (thePath) in IsRelativePath() 320 && !IsUnixPath (thePath) in IsRelativePath() 321 && !IsRemoteProtocolPath (thePath); in IsRelativePath() [all …]
|
H A D | RWStl.hxx | 33 const OSD_Path& thePath, 40 const OSD_Path& thePath, 67 Standard_EXPORT static Handle(Poly_Triangulation) ReadBinary (const OSD_Path& thePath, 72 Standard_EXPORT static Handle(Poly_Triangulation) ReadAscii (const OSD_Path& thePath,
|
/dports/cad/opencascade/opencascade-7.6.0/src/OSD/ |
H A D | OSD_Path.hxx | 235 …static Standard_Boolean IsDosPath (const char* thePath) { return thePath[0] != '\0' && thePath[1] … in IsDosPath() argument 256 return thePath[2] != '?' in IsUncPath() 257 || IsUncExtendedPath (thePath); in IsUncPath() 277 return thePath[0] == '/' && thePath[1] != '/'; in IsUnixPath() 296 const char* anIter = thePath; in IsRemoteProtocolPath() 317 return !IsUncPath (thePath) in IsRelativePath() 318 && !IsDosPath (thePath) in IsRelativePath() 319 && !IsNtExtendedPath (thePath) in IsRelativePath() 320 && !IsUnixPath (thePath) in IsRelativePath() 321 && !IsRemoteProtocolPath (thePath); in IsRelativePath() [all …]
|
H A D | OSD_Disk.cxx | 30 static TCollection_AsciiString _osd_wnt_set_disk_name (const OSD_Path& thePath) in _osd_wnt_set_disk_name() argument 33 TCollection_AsciiString aDisk = thePath.Disk(); in _osd_wnt_set_disk_name() 40 TCollection_AsciiString aDir = thePath.Trek(); in _osd_wnt_set_disk_name() 70 if (thePath.Name().UsefullLength() == 0 in _osd_wnt_set_disk_name() 71 && thePath.Extension().UsefullLength() == 0) in _osd_wnt_set_disk_name() 78 aDir += thePath.Name(); in _osd_wnt_set_disk_name() 79 aDir += thePath.Extension(); in _osd_wnt_set_disk_name()
|
/dports/devel/py-cadquery-pywrap/pywrap-e8c7bc9/opencascade/ |
H A D | OSD_Path.hxx | 223 …static Standard_Boolean IsDosPath (const char* thePath) { return thePath[0] != '\0' && thePath[1] … in IsDosPath() argument 231 …static Standard_Boolean IsNtExtendedPath (const char* thePath) { return ::memcmp (thePath, "\\\\?\… in IsNtExtendedPath() argument 241 return thePath[2] != '?' in IsUncPath() 242 || IsUncExtendedPath (thePath); in IsUncPath() 257 …static Standard_Boolean IsUnixPath (const char* thePath) { return thePath[0] == '/' && thePath[1] … in IsUnixPath() argument 272 const char* anIter = thePath; in IsRemoteProtocolPath() 293 return !IsUncPath (thePath) in IsRelativePath() 294 && !IsDosPath (thePath) in IsRelativePath() 295 && !IsNtExtendedPath (thePath) in IsRelativePath() 296 && !IsUnixPath (thePath) in IsRelativePath() [all …]
|
/dports/devel/staf/src/staf/stafif/win32/ |
H A D | STAFFileSystem.cpp | 525 thePath = thePath.subString(thePath.findFirstNotOf(sBothSlash, in STAFFSDisassemblePath() 565 thePath = thePath.subString(endShareNamePos + 1); in STAFFSDisassemblePath() 572 thePath = ""; in STAFFSDisassemblePath() 603 thePath = thePath.subString( in STAFFSDisassemblePath() 619 thePath = thePath.subString(thePath.findFirstNotOf(sBothSlash, in STAFFSDisassemblePath() 637 if ((thePath == sPeriod) || (thePath == (sPeriod + sPeriod))) in STAFFSDisassemblePath() 657 thePath = thePath.subString(0, extLoc); in STAFFSDisassemblePath() 704 if ((thePath.length() != 2) || (thePath.subString(1,1) != kUTF8_COLON)) in STAFFSExists() 764 STAFString thePath(path); in STAFFSGetEntry() local 768 thePath = getFullLongPath(thePath); in STAFFSGetEntry() [all …]
|
/dports/mail/gnumail/GNUMail-1.3.0/Framework/GNUMail/ |
H A D | ExtendedFileWrapper.m | 35 - (id) _initWithPath: (NSString *) thePath 37 - (id) _initWithPath: (NSString *) thePath 48 - (id) initWithPath: (NSString *) thePath 56 if ( [aFileManager fileExistsAtPath: thePath isDirectory: &aBOOL] ) 85 return [self _initWithPath: thePath pathToZip: pathToZip]; 89 return [self _initWithPath: thePath pathToTar: pathToTar]; 94 return [super initWithPath: thePath]; 108 - (id) _initWithPath: (NSString *) thePath 117 thePath, 126 - (id) _initWithPath: (NSString *) thePath [all …]
|
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/jdk.incubator.jpackage/windows/native/common/ |
H A D | WinDll.cpp | 47 Dll::Dll(const tstrings::any &libPath): thePath(libPath.tstr()), in Dll() 52 thePath(FileUtils::combinePath(SysInfo::getSystem32Dir(), in Dll() 54 handle(loadLibrary(tstrings::any(thePath).wstr())) { in Dll() 57 Dll::Dll(const Dll& other): thePath(other.thePath) { in Dll() 59 if (!GetModuleHandleExW(0, thePath.c_str(), &h)) { in Dll() 61 << thePath << ") failed", GetModuleHandleExW)); in Dll() 69 JP_THROW(SysError(tstrings::any() << "GetProcAddress(" << thePath in getFunction()
|
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/jdk.jpackage/windows/native/common/ |
H A D | WinDll.cpp | 47 Dll::Dll(const tstrings::any &libPath): thePath(libPath.tstr()), in Dll() 52 thePath(FileUtils::combinePath(SysInfo::getSystem32Dir(), in Dll() 54 handle(loadLibrary(tstrings::any(thePath).wstr())) { in Dll() 57 Dll::Dll(const Dll& other): thePath(other.thePath) { in Dll() 59 if (!GetModuleHandleExW(0, thePath.c_str(), &h)) { in Dll() 61 << thePath << ") failed", GetModuleHandleExW)); in Dll() 69 JP_THROW(SysError(tstrings::any() << "GetProcAddress(" << thePath in getFunction()
|
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/src/jdk.jpackage/windows/native/common/ |
H A D | WinDll.cpp | 47 Dll::Dll(const tstrings::any &libPath): thePath(libPath.tstr()), in Dll() 52 thePath(FileUtils::combinePath(SysInfo::getSystem32Dir(), in Dll() 54 handle(loadLibrary(tstrings::any(thePath).wstr())) { in Dll() 57 Dll::Dll(const Dll& other): thePath(other.thePath) { in Dll() 59 if (!GetModuleHandleExW(0, thePath.c_str(), &h)) { in Dll() 61 << thePath << ") failed", GetModuleHandleExW)); in Dll() 69 JP_THROW(SysError(tstrings::any() << "GetProcAddress(" << thePath in getFunction()
|
/dports/net/norm/norm-1.5r6/protolib/src/common/ |
H A D | protoFile.cpp | 106 file_ptr = fopen(thePath, "rb"); in Open() 108 file_ptr = fopen(thePath, "w+b"); in Open() 596 if (thePath && !ProtoFile::Exists(thePath)) 598 if (thePath && _access(thePath, 0)) 601 if (thePath && access(thePath, X_OK)) 845 strncpy(path, thePath, PATH_MAX); 1285 size_t len = strlen(thePath); 1287 strncpy(path, thePath, PATH_MAX); 1321 : ProtoFileList::FileItem(thePath) 1360 size_t len = strlen(thePath); [all …]
|
/dports/net/norm/norm-1.5r6/src/common/ |
H A D | normFile.cpp | 106 file_ptr = fopen(thePath, "rb"); in Open() 108 file_ptr = fopen(thePath, "w+b"); in Open() 115 fd = _open(thePath, theFlags, 0640); in Open() 502 if (thePath && !NormFile::Exists(thePath)) 504 if (thePath && _access(thePath, 0)) 507 if (thePath && access(thePath, X_OK)) 746 strncpy(path, thePath, PATH_MAX); 1186 size_t len = strlen(thePath); 1222 : NormFileList::FileItem(thePath) 1261 size_t len = strlen(thePath); [all …]
|
/dports/cad/opencascade/opencascade-7.6.0/samples/java/jniviewer/app/src/main/jni/ |
H A D | OcctJni_Viewer.cxx | 48 return stat64 (thePath.ToCString(), &aStatBuffer) == 0; in isFileExist() 54 TCollection_AsciiString aPath = thePath; in getParentDir() 479 if (thePath.IsEmpty()) in open() 487 const Standard_Integer aLen = thePath.Length(); in open() 489 && thePath.Value (aLen - 4) == '.') in open() 494 && thePath.Value (aLen - 3) == '.') in open() 499 && thePath.Value (aLen - 2) == '.') in open() 509 aShape = loadSTEP (thePath); in open() 514 aShape = loadIGES (thePath); in open() 561 || thePath.IsEmpty()) in saveSnapshot() [all …]
|
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/jdk.incubator.jpackage/unix/native/common/ |
H A D | UnixDll.cpp | 46 Dll::Dll(const tstrings::any &libPath): thePath(libPath.tstr()), in Dll() 47 handle(loadLibrary(thePath)) { in Dll() 50 Dll::Dll(const Dll& other): thePath(other.thePath), in Dll() 51 handle(loadLibrary(thePath)) { in Dll() 57 JP_THROW(tstrings::any() << "dlsym(" << thePath in getFunction()
|
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/jdk.jpackage/unix/native/common/ |
H A D | UnixDll.cpp | 46 Dll::Dll(const tstrings::any &libPath): thePath(libPath.tstr()), in Dll() 47 handle(loadLibrary(thePath)) { in Dll() 50 Dll::Dll(const Dll& other): thePath(other.thePath), in Dll() 51 handle(loadLibrary(thePath)) { in Dll() 57 JP_THROW(tstrings::any() << "dlsym(" << thePath in getFunction()
|
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/src/jdk.jpackage/unix/native/common/ |
H A D | UnixDll.cpp | 46 Dll::Dll(const tstrings::any &libPath): thePath(libPath.tstr()), in Dll() 47 handle(loadLibrary(thePath)) { in Dll() 50 Dll::Dll(const Dll& other): thePath(other.thePath), in Dll() 51 handle(loadLibrary(thePath)) { in Dll() 57 JP_THROW(tstrings::any() << "dlsym(" << thePath in getFunction()
|
/dports/devel/staf/src/staf/stafif/unix/ |
H A D | STAFFileSystem.cpp | 279 STAFString thePath(path); in STAFFSDisassemblePath() local 288 thePath = thePath.subString(thePath.findFirstNotOf(sSlash)); in STAFFSDisassemblePath() 295 thePath = removeTrailingSlashes(thePath); in STAFFSDisassemblePath() 303 slashLoc = thePath.find(sSlash)) in STAFFSDisassemblePath() 306 thePath = thePath.subString(thePath.findFirstNotOf(sSlash, in STAFFSDisassemblePath() 324 if ((thePath == sPeriod) || (thePath == sDoublePeriod)) in STAFFSDisassemblePath() 326 if (name) *name = thePath.adoptImpl(); in STAFFSDisassemblePath() 340 (extLoc != (thePath.length() - 1))) in STAFFSDisassemblePath() 342 theExtension = thePath.subString(extLoc + in STAFFSDisassemblePath() 344 thePath = thePath.subString(0, extLoc); in STAFFSDisassemblePath() [all …]
|
/dports/games/criticalmass/CriticalMass-1.5/utils/ |
H A D | GetDataPath.cpp | 48 std::string thePath; in getPath() local 56 thePath = path; in getPath() 68 thePath = [appSupportPath cStringUsingEncoding:NSUTF8StringEncoding]; in getPath() 74 LOG_INFO << "getPath:" << thePath << "\n"; in getPath() 76 return thePath; in getPath() 81 std::string thePath; in getPath() local 90 thePath = szPath; in getPath() 94 thePath = "./"; in getPath() 96 return thePath; in getPath()
|
/dports/graphics/inkscape/inkscape-1.1_2021-05-24_c4e8f9ed74/src/trace/autotrace/ |
H A D | inkscape-autotrace.cpp | 150 std::stringstream thePath; in trace() local 168 thePath << "z"; in trace() 171 TracingEngineResult ter(theStyle.str(), thePath.str(), nNodes); in trace() 174 thePath.clear(); in trace() 182 thePath << "M" << START_POINT(first).x << " " << height - START_POINT(first).y; in trace() 188 thePath << "L" << END_POINT(s).x << " " << height - END_POINT(s).y; in trace() 192 … thePath << "C" << CONTROL1(s).x << " " << height - CONTROL1(s).y << " " << CONTROL2(s).x << " " in trace() 200 thePath << "z"; in trace() 203 TracingEngineResult ter(theStyle.str(), thePath.str(), nNodes); in trace() 206 thePath.clear(); in trace()
|
/dports/benchmarks/polygraph/polygraph-4.13.0/src/csm/ |
H A D | RamFiles.cc | 18 DirScanner scanner(thePath); in load() 74 ramFile.name = fullFileName.area(thePath.len()).data(); in load() 80 Comment(3) << "fyi: failed to load " << badFileCount << " bad file(s) from " << thePath << endc; in load() 83 Comment(3) << "fyi: skipped " << hugeFileCount << " huge file(s) from " << thePath << endc; in load() 86 Comment(3) << "warning: skipped " << emptyFileCount << " empty file(s) from " << thePath << endc; in load() 88 Comment(3) << "fyi: loaded " << count() << " file(s) from " << thePath << endc; in load()
|
/dports/archivers/zip/zip30/macos/source/ |
H A D | pathname.c | 197 void createArchiveName(char *thePath) in createArchiveName() argument 203 if (thePath[pathlen-1] == ':') thePath[pathlen-1] = 0x0; in createArchiveName() 228 if (thePath[pathlen-1] == '.') in createArchiveName() 230 thePath[pathlen-1] = 0; in createArchiveName() 241 thePath[pathlen] = '.'; in createArchiveName() 242 thePath[pathlen+1] = 'z'; in createArchiveName() 243 thePath[pathlen+2] = 'i'; in createArchiveName() 244 thePath[pathlen+3] = 'p'; in createArchiveName() 245 thePath[pathlen+4] = 0x0; in createArchiveName() 250 FindDesktopFolder(thePath); in createArchiveName() [all …]
|
/dports/archivers/unzip/unzip60/macos/source/ |
H A D | pathname.c | 197 void createArchiveName(char *thePath) in createArchiveName() argument 203 if (thePath[pathlen-1] == ':') thePath[pathlen-1] = 0x0; in createArchiveName() 228 if (thePath[pathlen-1] == '.') in createArchiveName() 230 thePath[pathlen-1] = 0; in createArchiveName() 241 thePath[pathlen] = '.'; in createArchiveName() 242 thePath[pathlen+1] = 'z'; in createArchiveName() 243 thePath[pathlen+2] = 'i'; in createArchiveName() 244 thePath[pathlen+3] = 'p'; in createArchiveName() 245 thePath[pathlen+4] = 0x0; in createArchiveName() 250 FindDesktopFolder(thePath); in createArchiveName() [all …]
|
/dports/misc/perkeep/perkeep-0.11/clients/osx/Perkeep/ |
H A D | LoginItemManager.m | 32 …ItemExistsWithLoginItemReference:(LSSharedFileListRef)theLoginItemsRefs forPath:(CFURLRef)thePath { 43 CFURLRef thePath = (CFURLRef)CFBridgingRetain([[NSBundle mainBundle] bundlePath]); 50 if (LSSharedFileListItemResolve(itemRef, 0, (CFURLRef*) &thePath, NULL) == noErr) { 51 … if ([[(NSURL *)CFBridgingRelease(thePath) path] hasPrefix:[[NSBundle mainBundle] bundlePath]]) 62 CFURLRef thePath = (CFURLRef)CFBridgingRetain([[NSBundle mainBundle] bundlePath]); 69 if (LSSharedFileListItemResolve(itemRef, 0, (CFURLRef*) &thePath, NULL) == noErr) { 70 … if ([[(NSURL *)CFBridgingRelease(thePath) path] hasPrefix:[[NSBundle mainBundle] bundlePath]]) {
|
/dports/textproc/zorba/zorba-2.7.0/src/zorbatypes/ |
H A D | URI.cpp | 553 thePath = to_copy.thePath; in initialize() 572 thePath.clear(); in initialize() 924 thePath = uri; in initializePath() 1004 thePath.clear(); in initializePath() 1145 thePath = new_path; in set_path() 1281 thePath = path; in resolve() 1369 path.append(thePath); in resolve() 1448 thePath = path; in resolve() 1616 if(!thePath.empty() && (thePath[0] != '/') && (thePath[0] != '\\')) in build_path_notation() 1662 lURI << thePath; in build_full_text() [all …]
|
/dports/cad/opencascade/opencascade-7.6.0/src/RWStl/ |
H A D | RWStl.hxx | 33 const OSD_Path& thePath, 40 const OSD_Path& thePath, 67 Standard_EXPORT static Handle(Poly_Triangulation) ReadBinary (const OSD_Path& thePath, 72 Standard_EXPORT static Handle(Poly_Triangulation) ReadAscii (const OSD_Path& thePath,
|