/dports/games/supertuxkart/SuperTuxKart-1.2-src/lib/irrlicht/source/Irrlicht/ |
H A D | CZipReader.cpp | 319 SZIPFileCentralDirEnd dirEnd; in scanZipHeader() local 353 File->read(&dirEnd, sizeof(dirEnd)); in scanZipHeader() 355 dirEnd.NumberDisk = os::Byteswap::byteswap(dirEnd.NumberDisk); in scanZipHeader() 356 dirEnd.NumberStart = os::Byteswap::byteswap(dirEnd.NumberStart); in scanZipHeader() 357 dirEnd.TotalDisk = os::Byteswap::byteswap(dirEnd.TotalDisk); in scanZipHeader() 358 dirEnd.TotalEntries = os::Byteswap::byteswap(dirEnd.TotalEntries); in scanZipHeader() 359 dirEnd.Size = os::Byteswap::byteswap(dirEnd.Size); in scanZipHeader() 360 dirEnd.Offset = os::Byteswap::byteswap(dirEnd.Offset); in scanZipHeader() 361 dirEnd.CommentLength = os::Byteswap::byteswap(dirEnd.CommentLength); in scanZipHeader() 363 FileInfo.reallocate(dirEnd.TotalEntries); in scanZipHeader() [all …]
|
/dports/net-p2p/rtorrent/rtorrent-0.9.8/src/input/ |
H A D | path_input.cc | 91 size_type dirEnd = find_last_delim(); in receive_do_complete() local 93 utils::Directory dir(dirEnd != 0 ? str().substr(0, dirEnd) : "./"); in receive_do_complete() 103 range_type r = find_incomplete(dir, str().substr(dirEnd, get_pos())); in receive_do_complete() 113 str().resize(dirEnd); in receive_do_complete() 114 str().insert(dirEnd, base); in receive_do_complete() 116 set_pos(dirEnd + base.size()); in receive_do_complete()
|
/dports/graphics/p5-Image-ExifTool/Image-ExifTool-12.30/lib/Image/ExifTool/ |
H A D | APP12.pm | 143 my ($dirEnd, %doneTags); 145 $dirEnd = $pos + $$dirInfo{DirLen}; 149 $pos = $dirEnd = 0; 156 if ($pos + 4 <= $dirEnd) { 160 if ($pos + $len > $dirEnd) { 213 my $dirEnd = $pos + $$dirInfo{DirLen}; 217 last if $pos + 4 > $dirEnd; 221 if ($pos + $len > $dirEnd) {
|
H A D | Red.pm | 208 my ($buff, $buf2, $pos, $dirLen, $dirEnd); 258 $dirEnd = length $buff; 262 $dirEnd = $pos + $dirLen; 267 while ($pos + 4 <= $dirEnd) { 269 last if $len < 4 or $pos + $len > $dirEnd;
|
H A D | NikonCapture.pm | 742 my $dirEnd = $dirStart + $dirLen; 745 for ($pos=$dirStart+22; $pos+22<$dirEnd; $pos+=22+$size) { 748 last if $size < 0 or $pos + 22 + $size > $dirEnd; 795 unless ($pos == $dirEnd) { 796 if ($pos == $dirEnd - 4) { 821 my $dirEnd = $dirStart + $dirLen; 829 last if $pos + 4 > $dirEnd; 831 last if $pos + $len + 4 > $dirEnd; 858 my $dirEnd = $dirStart + $dirLen; 864 for ($pos=$dirStart+22; $pos+22<$dirEnd; ) { [all …]
|
H A D | Parrot.pm | 677 my $dirEnd = length $$dataPt; 680 $et->VerboseDir('Parrot mett', undef, $dirEnd); 682 while ($pos + 4 < $dirEnd) { 687 last unless $dirEnd == 60; 693 $size = $dirEnd - $pos; 702 last if $pos + $size > $dirEnd;
|
H A D | WriteIPTC.pl | 412 my $dirEnd = $start + $dirLen; 423 if ($pos + 5 <= $dirEnd) { 431 $pos = $dirEnd; 441 if ($pos + $n <= $dirEnd and $n <= 8) { 447 $len = $dirEnd; # invalid length 454 $pos = $dirEnd if $pos > $dirEnd; 629 if ($tail < $dirEnd) { 630 my $pad = substr($$dataPt, $tail, $dirEnd-$tail);
|
H A D | FlashPix.pm | 1334 my $dirEnd = length $val; 1335 return undef if $dirEnd < 4; 1374 if ($valPos + $size > $dirEnd) { 1389 if ($valPos + $size > $dirEnd) { 1401 if ($valPos + $size > $dirEnd) { 1453 if ($valPos + $len + 4 > $dirEnd) { 1742 my $dirEnd = $pos + $dirLen; 1764 last if $pos + 8 > $dirEnd; 1780 last if $valStart >= $dirEnd; 1787 last if $valPos + 8 > $dirEnd; [all …]
|
H A D | Qualcomm.pm | 1271 my $dirEnd = $pos + $$dirInfo{DirLen}; 1276 while ($pos + 3 < $dirEnd) { 1279 last if $pos + 8 + $tagLen + $valLen > $dirEnd;
|
H A D | Matroska.pm | 722 my ($buff, $buf2, @dirEnd, $trackIndent, %trackTypes); 749 while (@dirEnd and $pos + $dataPos >= $dirEnd[-1][0]) { 750 pop @dirEnd; 770 if (@dirEnd and $pos + $dataPos + $size > $dirEnd[-1][0]) { 771 $et->Warn("Invalid or corrupted $dirEnd[-1][1] master element"); 772 $pos = $dirEnd[-1][0] - $dataPos; 789 push @dirEnd, [ $pos + $dataPos + $size, $$tagInfo{Name} ];
|
/dports/graphics/p5-Image-ExifTool-devel/Image-ExifTool-12.14/lib/Image/ExifTool/ |
H A D | APP12.pm | 143 my ($dirEnd, %doneTags); 145 $dirEnd = $pos + $$dirInfo{DirLen}; 149 $pos = $dirEnd = 0; 156 if ($pos + 4 <= $dirEnd) { 160 if ($pos + $len > $dirEnd) { 213 my $dirEnd = $pos + $$dirInfo{DirLen}; 217 last if $pos + 4 > $dirEnd; 221 if ($pos + $len > $dirEnd) {
|
H A D | Red.pm | 208 my ($buff, $buf2, $pos, $dirLen, $dirEnd); 258 $dirEnd = length $buff; 262 $dirEnd = $pos + $dirLen; 267 while ($pos + 4 <= $dirEnd) { 269 last if $len < 4 or $pos + $len > $dirEnd;
|
H A D | NikonCapture.pm | 742 my $dirEnd = $dirStart + $dirLen; 745 for ($pos=$dirStart+22; $pos+22<$dirEnd; $pos+=22+$size) { 748 last if $size < 0 or $pos + 22 + $size > $dirEnd; 795 unless ($pos == $dirEnd) { 796 if ($pos == $dirEnd - 4) { 821 my $dirEnd = $dirStart + $dirLen; 829 last if $pos + 4 > $dirEnd; 831 last if $pos + $len + 4 > $dirEnd; 858 my $dirEnd = $dirStart + $dirLen; 864 for ($pos=$dirStart+22; $pos+22<$dirEnd; ) { [all …]
|
H A D | Parrot.pm | 677 my $dirEnd = length $$dataPt; 680 $et->VerboseDir('Parrot mett', undef, $dirEnd); 682 while ($pos + 4 < $dirEnd) { 687 last unless $dirEnd == 60; 693 $size = $dirEnd - $pos; 702 last if $pos + $size > $dirEnd;
|
H A D | WriteIPTC.pl | 412 my $dirEnd = $start + $dirLen; 423 if ($pos + 5 <= $dirEnd) { 431 $pos = $dirEnd; 441 if ($pos + $n <= $dirEnd and $n <= 8) { 447 $len = $dirEnd; # invalid length 454 $pos = $dirEnd if $pos > $dirEnd; 629 if ($tail < $dirEnd) { 630 my $pad = substr($$dataPt, $tail, $dirEnd-$tail);
|
H A D | Qualcomm.pm | 1271 my $dirEnd = $pos + $$dirInfo{DirLen}; 1276 while ($pos + 3 < $dirEnd) { 1279 last if $pos + 8 + $tagLen + $valLen > $dirEnd;
|
H A D | FlashPix.pm | 1334 my $dirEnd = length $val; 1335 return undef if $dirEnd < 4; 1374 last if $valPos + $size > $dirEnd; 1385 last if $valPos + $size > $dirEnd; 1394 last if $valPos + $size > $dirEnd; 1717 my $dirEnd = $pos + $dirLen; 1739 last if $pos + 8 > $dirEnd; 1745 if ($pos + 8 + 8 * $numEntries > $dirEnd) { 1755 last if $valStart >= $dirEnd; 1762 last if $valPos + 8 > $dirEnd; [all …]
|
/dports/x11-toolkits/irrlicht/irrlicht-1.8.5/source/Irrlicht/ |
H A D | CZipReader.cpp | 372 SZIPFileCentralDirEnd dirEnd; in scanZipHeader() local 406 File->read(&dirEnd, sizeof(dirEnd)); in scanZipHeader() 408 dirEnd.NumberDisk = os::Byteswap::byteswap(dirEnd.NumberDisk); in scanZipHeader() 409 dirEnd.NumberStart = os::Byteswap::byteswap(dirEnd.NumberStart); in scanZipHeader() 410 dirEnd.TotalDisk = os::Byteswap::byteswap(dirEnd.TotalDisk); in scanZipHeader() 411 dirEnd.TotalEntries = os::Byteswap::byteswap(dirEnd.TotalEntries); in scanZipHeader() 412 dirEnd.Size = os::Byteswap::byteswap(dirEnd.Size); in scanZipHeader() 413 dirEnd.Offset = os::Byteswap::byteswap(dirEnd.Offset); in scanZipHeader() 414 dirEnd.CommentLength = os::Byteswap::byteswap(dirEnd.CommentLength); in scanZipHeader() 416 FileInfo.reallocate(dirEnd.TotalEntries); in scanZipHeader() [all …]
|
/dports/games/uqm/uqm-0.8.0/src/libs/uio/ |
H A D | paths.c | 38 getFirstPathComponent(const char *dir, const char *dirEnd, in getFirstPathComponent() argument 40 assert(dir <= dirEnd); in getFirstPathComponent() 42 if (*startComp == dirEnd) { in getFirstPathComponent() 46 *endComp = memchr(*startComp, '/', dirEnd - *startComp); in getFirstPathComponent() 48 *endComp = dirEnd; in getFirstPathComponent() 75 getNextPathComponent(const char *dirEnd, in getNextPathComponent() argument 77 assert(*endComp <= dirEnd); in getNextPathComponent() 78 if (*endComp == dirEnd) { in getNextPathComponent() 84 *endComp = memchr(*startComp, '/', dirEnd - *startComp); in getNextPathComponent() 86 *endComp = dirEnd; in getNextPathComponent()
|
H A D | paths.h | 42 void getFirstPathComponent(const char *dir, const char *dirEnd, 46 void getNextPathComponent(const char *dirEnd, 49 void getLastPathComponent(const char *dir, const char *dirEnd,
|
/dports/x11-toolkits/scintilla/scite/src/ |
H A D | FilePath.cxx | 135 const size_t dirEnd = fileName.rfind(pathSepChar); in IsUntitled() local 136 return (dirEnd == GUI::gui_string::npos) || (!fileName[dirEnd+1]); in IsUntitled() 181 const size_t dirEnd = fileName.rfind(pathSepChar); in Name() local 182 if (dirEnd != GUI::gui_string::npos) in Name() 183 return fileName.substr(dirEnd + 1); in Name() 189 const size_t dirEnd = fileName.rfind(pathSepChar); in BaseName() local 191 if (dirEnd != GUI::gui_string::npos) { in BaseName() 192 if (extStart > dirEnd) { in BaseName() 193 return FilePath(fileName.substr(dirEnd + 1, extStart - dirEnd - 1)); in BaseName() 195 return FilePath(fileName.substr(dirEnd + 1)); in BaseName() [all …]
|
/dports/editors/scite/scite/src/ |
H A D | FilePath.cxx | 135 const size_t dirEnd = fileName.rfind(pathSepChar); in IsUntitled() local 136 return (dirEnd == GUI::gui_string::npos) || (!fileName[dirEnd+1]); in IsUntitled() 181 const size_t dirEnd = fileName.rfind(pathSepChar); in Name() local 182 if (dirEnd != GUI::gui_string::npos) in Name() 183 return fileName.substr(dirEnd + 1); in Name() 189 const size_t dirEnd = fileName.rfind(pathSepChar); in BaseName() local 191 if (dirEnd != GUI::gui_string::npos) { in BaseName() 192 if (extStart > dirEnd) { in BaseName() 193 return FilePath(fileName.substr(dirEnd + 1, extStart - dirEnd - 1)); in BaseName() 195 return FilePath(fileName.substr(dirEnd + 1)); in BaseName() [all …]
|
/dports/games/spring/spring_98.0/rts/System/FileSystem/ |
H A D | VFSHandler.cpp | 210 std::string dirEnd = dir; in GetFilesInDir() local 211 dirEnd[dirLast] = dirEnd[dirLast] + 1; in GetFilesInDir() 213 filesEnd = files.upper_bound(dirEnd); in GetFilesInDir() 258 std::string dirEnd = dir; in GetDirsInDir() local 259 dirEnd[dirLast] = dirEnd[dirLast] + 1; in GetDirsInDir() 261 filesEnd = files.upper_bound(dirEnd); in GetDirsInDir()
|
/dports/biology/ncbi-cxx-toolkit/ncbi_cxx--25_2_0/src/serial/datatool/ |
H A D | fileutil.cpp | 264 SIZE_TYPE dirEnd = path.find_last_of(ALL_SEPARATOR_CHARS); in BaseName() local 266 if ( dirEnd != NPOS ) in BaseName() 267 name = path.substr(dirEnd + 1); in BaseName() 278 SIZE_TYPE dirEnd = path.find_last_of(ALL_SEPARATOR_CHARS); in DirName() local 279 if ( dirEnd != NPOS ) { in DirName() 280 if ( dirEnd == 0 /* "/" root directory */ || in DirName() 281 IsDiskSeparator(path[dirEnd]) /* disk separator */ ) in DirName() 282 ++dirEnd; // include separator in DirName() 284 return path.substr(0, dirEnd); in DirName()
|
/dports/biology/ncbi-blast+/ncbi-blast-2.12.0+-src/c++/src/serial/datatool/ |
H A D | fileutil.cpp | 264 SIZE_TYPE dirEnd = path.find_last_of(ALL_SEPARATOR_CHARS); in BaseName() local 266 if ( dirEnd != NPOS ) in BaseName() 267 name = path.substr(dirEnd + 1); in BaseName() 278 SIZE_TYPE dirEnd = path.find_last_of(ALL_SEPARATOR_CHARS); in DirName() local 279 if ( dirEnd != NPOS ) { in DirName() 280 if ( dirEnd == 0 /* "/" root directory */ || in DirName() 281 IsDiskSeparator(path[dirEnd]) /* disk separator */ ) in DirName() 282 ++dirEnd; // include separator in DirName() 284 return path.substr(0, dirEnd); in DirName()
|