/dports/textproc/exempi/exempi-2.5.2/source/ |
H A D | XIO.cpp | 39 size_t dirPos = path->size(); in SplitLeafName() local 41 if ( dirPos == 0 || (dirPos == 1 && in SplitLeafName() 53 --dirPos; in SplitLeafName() 55 if ( (*path)[dirPos] == '/' ) (*path)[dirPos] = kDirChar; // Tolerate both '\' and '/'. in SplitLeafName() 57 if ( (*path)[dirPos] == kDirChar ) in SplitLeafName() 59 path->erase(dirPos); in SplitLeafName() 63 for ( --dirPos; dirPos > 0; --dirPos ) { in SplitLeafName() 65 if ( (*path)[dirPos] == '/' ) (*path)[dirPos] = kDirChar; // Tolerate both '\' and '/'. in SplitLeafName() 70 if ( (*path)[dirPos] == kDirChar ) { in SplitLeafName() 72 path->erase ( dirPos ); in SplitLeafName() [all …]
|
/dports/net/rclone/rclone-1.57.0/cmd/ncdu/ |
H A D | ncdu.go | 121 type dirPos struct { struct 343 n := i + dirPos.offset 456 dirPos.entry += d 459 if dirPos.entry < 0 { 460 dirPos.entry = 0 466 p := dirPos.entry - dirPos.offset // where dirPos.entry appears on the screen 468 dirPos.offset -= absD 470 dirPos.offset += absD 475 dirPos.offset = 0 508 u.removeEntry(dirPos) [all …]
|
/dports/graphics/dcp2icc/dcp2icc-0.1/XMP-Toolkit-SDK-4.4.2/source/XMPFiles/ |
H A D | XMPFiles_Impl.hpp | 484 size_t dirPos = path->size(); in SplitLeafName() local 485 if ( dirPos == 0 ) { in SplitLeafName() 490 for ( --dirPos; dirPos > 0; --dirPos ) { in SplitLeafName() 492 if ( (*path)[dirPos] == '/' ) (*path)[dirPos] = kDirChar; // Tolerate both '\' and '/'. in SplitLeafName() 494 if ( (*path)[dirPos] == kDirChar ) break; in SplitLeafName() 496 if ( (*path)[dirPos] == kDirChar ) { in SplitLeafName() 497 leafName->assign ( &(*path)[dirPos+1] ); in SplitLeafName() 498 path->erase ( dirPos ); in SplitLeafName() 499 } else if ( dirPos == 0 ) { in SplitLeafName()
|
/dports/games/gillo/gillo/src/ |
H A D | omnicar.cpp | 307 sgVec3 dirPos; in update() local 311 this->getPos(dirPos); in update() 314 sgAddVec3(dirPos, temp); in update() 315 ballDistance[0] = ballPos[0] - dirPos[0]; in update() 316 ballDistance[1] = ballPos[1] - dirPos[1]; in update() 317 ballDistance[2] = ballPos[2] - dirPos[2]; in update() 335 dBodySetPosition(this->ball.getBid(), (double) dirPos[0], (double) dirPos[1], (double) dirPos[2]); in update() 336 dJointSetBallAnchor (ballJoint, (double) dirPos[0], (double) dirPos[1], (double) dirPos[2]); in update()
|
/dports/emulators/dosbox/dosbox-0.74-3/src/dos/ |
H A D | drive_fat.cpp | 904 Bit16u dirPos; in FindNextInternal() local 910 dirPos = dta.GetDirID(); in FindNextInternal() 914 entryoffset = dirPos % 16; in FindNextInternal() 927 dirPos++; in FindNextInternal() 928 dta.SetDirID(dirPos); in FindNextInternal() 1003 Bit16u dirPos = 0; in directoryBrowse() local 1020 dirPos++; in directoryBrowse() 1037 Bit16u dirPos = 0; in directoryChange() local 1054 dirPos++; in directoryChange() 1075 Bit16u dirPos = 0; in addDirectoryEntry() local [all …]
|
/dports/games/libretro-dosbox/dosbox-libretro-aa71b67/src/dos/ |
H A D | drive_fat.cpp | 957 Bit16u dirPos; in FindNextInternal() local 964 dirPos = dta.GetDirID(); in FindNextInternal() 967 logentsector = dirPos / 16; in FindNextInternal() 968 entryoffset = dirPos % 16; in FindNextInternal() 985 dirPos++; in FindNextInternal() 986 dta.SetDirID(dirPos); in FindNextInternal() 1112 dirPos++; in directoryBrowse() 1129 Bit16u dirPos = 0; in directoryChange() local 1146 dirPos++; in directoryChange() 1167 Bit16u dirPos = 0; in addDirectoryEntry() local [all …]
|
/dports/emulators/dosbox-staging/dosbox-staging-0.78.0/src/dos/ |
H A D | drive_fat.cpp | 1144 Bit16u dirPos; in FindNextInternal() local 1150 dirPos = dta.GetDirID(); in FindNextInternal() 1153 logentsector = dirPos / 16; in FindNextInternal() 1154 entryoffset = dirPos % 16; in FindNextInternal() 1171 dirPos++; in FindNextInternal() 1172 dta.SetDirID(dirPos); in FindNextInternal() 1280 dirPos++; in directoryBrowse() 1297 Bit16u dirPos = 0; in directoryChange() local 1314 dirPos++; in directoryChange() 1335 Bit16u dirPos = 0; in addDirectoryEntry() local [all …]
|
/dports/multimedia/kodi-addon-peripheral.joystick/peripheral.joystick-1.7.1-Matrix/src/buttonmapper/ |
H A D | ButtonMapTranslator.cpp | 90 size_t dirPos = strPrimitive.find_first_not_of("0123456789", 1); in ToDriverPrimitive() local 91 if (dirPos != std::string::npos) in ToDriverPrimitive() 93 …ICK_DRIVER_HAT_DIRECTION hatDir = JoystickTranslator::TranslateHatDir(strPrimitive.substr(dirPos)); in ToDriverPrimitive()
|
/dports/games/fillets-ng/fillets-ng-1.0.1/src/gengine/ |
H A D | Path.cpp | 143 std::string::size_type dirPos = original.rfind('/'); in localizePath() local 144 if (dirPos != std::string::npos && dotPos < dirPos) { in localizePath()
|
/dports/graphics/p5-Image-ExifTool-devel/Image-ExifTool-12.14/lib/Image/ExifTool/ |
H A D | Samsung.pm | 1313 my $dirPos = $raf->Tell() - $len; 1328 my $dataPos = $$dirInfo{DataPos} = $dirPos - $firstBlock; 1341 last SamBlock if $noff > $dirPos or $size > $noff or $size < 8; 1346 last unless $raf->Seek($dirPos-$noff, 0) and $raf->Read($buf2, 8) == 8; 1372 last unless $raf->Seek($dirPos-$noff, 0) and $raf->Read($buf2, $size) == $size; 1380 DataPos => $dirPos - $noff, 1386 DataPos => $dirPos - $noff, 1396 my $newPos = Tell($outfile) + $dirPos - $audioNOff - $dataPos;
|
/dports/graphics/p5-Image-ExifTool/Image-ExifTool-12.30/lib/Image/ExifTool/ |
H A D | Samsung.pm | 1351 my $dirPos = $raf->Tell() - $len; 1366 my $dataPos = $$dirInfo{DataPos} = $dirPos - $firstBlock; 1379 last SamBlock if $noff > $dirPos or $size > $noff or $size < 8; 1384 last unless $raf->Seek($dirPos-$noff, 0) and $raf->Read($buf2, 8) == 8; 1410 last unless $raf->Seek($dirPos-$noff, 0) and $raf->Read($buf2, $size) == $size; 1418 DataPos => $dirPos - $noff, 1424 DataPos => $dirPos - $noff, 1434 my $newPos = Tell($outfile) + $dirPos - $audioNOff - $dataPos;
|
/dports/devel/itext/itext-4.2.0/core/com/lowagie/text/pdf/ |
H A D | EnumerateTTC.java | 88 int dirPos = rf.getFilePointer(); in findNames() local 91 rf.seek(dirPos); in findNames()
|
/dports/print/pdftk/pdftk-7d2ac3c1fa858f2c247c809fc6ef43f71f241098/java/com/gitlab/pdftk_java/com/lowagie/text/pdf/ |
H A D | EnumerateTTC.java | 92 int dirPos = rf.getFilePointer(); in findNames() local 95 rf.seek(dirPos); in findNames()
|
/dports/www/firefox-legacy/firefox-52.8.0esr/netwerk/test/ |
H A D | TestURLParser.cpp | 55 uint32_t dirPos, basePos, extPos; in parse_file_path() local 59 &dirPos, &dirLen, in parse_file_path()
|
/dports/benchmarks/polygraph/polygraph-4.13.0/src/base/ |
H A D | OLog.cc | 198 const Size dirPos = thePos; in putTrailer() local 200 puti(thePos - dirPos); // dir size in putTrailer()
|
/dports/textproc/catdoc/catdoc-0.95/src/ |
H A D | ole.h | 37 unsigned char *dirPos; member
|
/dports/math/vtk9/VTK-9.1.0/ThirdParty/vpic/vtkvpic/ |
H A D | VPICGlobal.cxx | 340 string::size_type dirPos = this->globalFile.find_last_of(Slash); in buildFileNames() local 341 if (dirPos == string::npos) { in buildFileNames() 345 string dirName = this->globalFile.substr(0, dirPos); in buildFileNames()
|
/dports/math/vtk6/VTK-6.2.0/ThirdParty/VPIC/ |
H A D | VPICGlobal.cxx | 340 string::size_type dirPos = this->globalFile.rfind(Slash); in buildFileNames() local 341 if (dirPos == string::npos) { in buildFileNames() 345 string dirName = this->globalFile.substr(0, dirPos); in buildFileNames()
|
/dports/math/vtk8/VTK-8.2.0/ThirdParty/VPIC/ |
H A D | VPICGlobal.cxx | 340 string::size_type dirPos = this->globalFile.rfind(Slash); in buildFileNames() local 341 if (dirPos == string::npos) { in buildFileNames() 345 string dirName = this->globalFile.substr(0, dirPos); in buildFileNames()
|
/dports/irc/smuxi/smuxi-1.1/lib/ServiceStack.Text/src/ServiceStack.Text/ |
H A D | StringExtensions.cs | 366 var dirPos = filePath.LastIndexOfAny(DirSeps); in WithoutExtension() 367 return extPos > dirPos ? filePath.Substring(0, extPos) : filePath; in WithoutExtension()
|
/dports/math/vtk9/VTK-9.1.0/IO/H5Rage/ |
H A D | H5RageAdaptor.cxx | 387 std::string::size_type dirPos = hdfRageFileName.find_last_of(Slash); in ParseH5RageFile() local 389 if (dirPos == std::string::npos) in ParseH5RageFile() 397 dirName = hdfRageFileName.substr(0, dirPos); in ParseH5RageFile()
|
/dports/graphics/netpbm/netpbm-10.91.01/converter/ppm/ |
H A D | sldtoppm.c | 189 long const dirPos, in scanDirectory() argument 208 for (found = false, eof = false, pos = dirPos; !found && !eof; ) { in scanDirectory()
|
/dports/cad/librecad/LibreCAD-2.2.0-rc2/librecad/src/lib/engine/ |
H A D | rs_vector.cpp | 412 RS_Vector dirPos {pos - start}; in posInLine() local 420 return dotP( dirPos, dirEnd) / lenSquared; in posInLine()
|
/dports/math/vtk8/VTK-8.2.0/IO/Geometry/ |
H A D | vtkWindBladeReader.cxx | 1559 std::string::size_type dirPos = std::string(fileName).rfind('/'); in SetUpGlobalData() local 1560 if (dirPos == std::string::npos) in SetUpGlobalData() 1564 this->RootDirectory = std::string(fileName).substr(0, dirPos); in SetUpGlobalData()
|
/dports/math/vtk9/VTK-9.1.0/IO/Geometry/ |
H A D | vtkWindBladeReader.cxx | 1515 std::string::size_type dirPos = std::string(fileName).rfind('/'); in SetUpGlobalData() local 1516 if (dirPos == std::string::npos) in SetUpGlobalData() 1520 this->RootDirectory = std::string(fileName).substr(0, dirPos); in SetUpGlobalData()
|