/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Net.NameResolution/src/System/Net/ |
H A D | NameResolutionPal.Unix.cs | 92 for (int i = 0; i < hostEntry.IPAddressCount; i++) in CreateIPHostEntry() 106 for (int i = 0; i < nativeAddressCount; i++) in CreateIPHostEntry() 108 ipAddresses[i] = nativeAddresses[i].GetIPAddress(); in CreateIPHostEntry() 125 for (int i = 0; i < numAliases; i++) in CreateIPHostEntry() 127 Debug.Assert(hostEntry.Aliases[i] != null); in CreateIPHostEntry() 128 aliases[i] = Marshal.PtrToStringAnsi((IntPtr)hostEntry.Aliases[i]); in CreateIPHostEntry() 150 Interop.Sys.HostEntry entry; in GetHostByName() 164 Interop.Sys.HostEntry entry; in GetHostByAddr() 182 Interop.Sys.HostEntry entry; in TryGetAddrInfo() 212 Interop.Sys.NI_MAXHOST, in TryGetNameInfo() [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Net.Sockets/src/System/Net/Sockets/ |
H A D | SocketAsyncEngine.Unix.cs | 74 private readonly Interop.Sys.SocketEvent* _buffer; 158 for (int i = 0; i < s_allocateFromEngine; i++) in AllocateToken() 160 var previousEngine = s_currentEngines[i]; in AllocateToken() 163 s_allocateFromEngine = i; in AllocateToken() 274 if (Interop.Sys.Pipe(pipeFds, Interop.Sys.PipeFlags.O_CLOEXEC) != 0) in SocketAsyncEngine() 281 …if (Interop.Sys.TryChangeSocketEventRegistration(_port, (IntPtr)_shutdownReadPipe, Interop.Sys.Soc… in SocketAsyncEngine() 319 for (int i = 0; i < numEvents; i++) in EventLoop() 321 IntPtr handle = _buffer[i].Data; in EventLoop() 331 context.HandleEvents(_buffer[i].Events); in EventLoop() 380 …error = Interop.Sys.TryChangeSocketEventRegistration(_port, socket, Interop.Sys.SocketEvents.None, in TryRegister() [all …]
|
H A D | SocketPal.Unix.cs | 166 for (int i = 0; i < maxBuffers; i++, startOffset = 0) in Send() 203 for (int i = 0; i < iovCount; i++) in Send() 275 for (int i = 0; i < maxBuffers; i++) in Receive() 281 iovecs[i].Base = &((byte*)handles[i].AddrOfPinnedObject())[buffer.Offset]; in Receive() 327 for (int i = 0; i < iovCount; i++) in Receive() 408 for (int i = 0; i < buffersCount; i++) in ReceiveMessageFrom() 414 iovecs[i].Base = &((byte*)handles[i].AddrOfPinnedObject())[buffer.Offset]; in ReceiveMessageFrom() 461 for (int i = 0; i < buffersCount; i++) in ReceiveMessageFrom() 1475 for (int i = 0; i < listCount; i++) in AddToPollArray() 1510 for (int i = socketList.Count - 1; i >= 0; --i, --arrEndOffset) in FilterPollList() [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Diagnostics.Process/src/System/Diagnostics/ |
H A D | Process.BSD.cs | 26 for (int i = 0; i < procs.Length; i++) in GetProcessesByName() 28 … if (string.Equals(processName, procs[i].ProcessName, StringComparison.OrdinalIgnoreCase)) in GetProcessesByName() 30 list.Add(procs[i]); in GetProcessesByName() 34 procs[i].Dispose(); in GetProcessesByName() 63 if (_processId != Interop.Sys.GetPid()) in GetWorkingSetLimits() 70 Interop.Sys.RLimit limit; in GetWorkingSetLimits() 71 if (Interop.Sys.GetRLimit(Interop.Sys.RlimitResources.RLIMIT_RSS, out limit) == 0) in GetWorkingSetLimits() 92 if (_processId != Interop.Sys.GetPid()) 109 …Interop.Sys.RLimit limits = new Interop.Sys.RLimit() { CurrentLimit = (ulong)newMax.Value.ToInt64(… 110 … int result = Interop.Sys.SetRLimit(Interop.Sys.RlimitResources.RLIMIT_RSS, ref limits); [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.IO.FileSystem.DriveInfo/src/System/IO/ |
H A D | DriveInfo.Unix.cs | 14 string[] mountPoints = Interop.Sys.GetAllMountPoints(); in GetDrives() 16 for (int i = 0; i < info.Length; i++) in GetDrives() 18 info[i] = new DriveInfo(mountPoints[i]); in GetDrives() 42 int result = Interop.Sys.GetFormatInfoForMountPoint(Name, out type); 49 Interop.ErrorInfo errorInfo = Interop.Sys.GetLastErrorInfo(); 81 Interop.Sys.MountPointInformation mpi = default(Interop.Sys.MountPointInformation); 82 … CheckStatfsResultAndThrowIfNecessary(Interop.Sys.GetSpaceInfoForMountPoint(Name, out mpi)); 91 Interop.Sys.MountPointInformation mpi = default(Interop.Sys.MountPointInformation); 92 … CheckStatfsResultAndThrowIfNecessary(Interop.Sys.GetSpaceInfoForMountPoint(Name, out mpi)); 101 Interop.Sys.MountPointInformation mpi = default(Interop.Sys.MountPointInformation); [all …]
|
/dports/devel/p5-Sys-Virt/Sys-Virt-1.1.1/examples/ |
H A D | hv-stat.pl | 6 use Sys::Virt; 7 use Sys::Virt::Domain; 18 &Sys::Virt::Domain::STATE_NOSTATE => "nostate", 19 &Sys::Virt::Domain::STATE_RUNNING => "running", 20 &Sys::Virt::Domain::STATE_BLOCKED => "blocked", 21 &Sys::Virt::Domain::STATE_PAUSED => "paused", 23 &Sys::Virt::Domain::STATE_SHUTOFF => "shutoff", 24 &Sys::Virt::Domain::STATE_CRASHED => "crashed", 31 for (my $i = 0 ; $i < $iterations ; $i++) { 32 sleep $interval if $i; [all …]
|
/dports/games/7kaa/7kaa-2.15.4p1/src/ |
H A D | OSYS3.cpp | 51 void Sys::sp_close_seed_file() in sp_close_seed_file() 64 void Sys::sp_load_seed_file() in sp_load_seed_file() 99 for(int i=0; i<random_seed_backup_table_data_size; i++) in sp_load_seed_file() local 108 void Sys::sp_record_match_seed() in sp_record_match_seed() 116 void Sys::sp_record_seed() in sp_record_seed() 125 void Sys::sp_write_seed() in sp_write_seed() 149 for(int i=0; i<random_seed_backup_pos; i++) in sp_write_seed() local 155 for(int i=0; i<random_seed_backup_pos; i++) in sp_write_seed() local 166 void Sys::sp_compare_seed() in sp_compare_seed() 200 void Sys::sp_seed_pos_reset() in sp_seed_pos_reset() [all …]
|
/dports/editors/lazarus/lazarus/components/fpdebug/ |
H A D | fpimgreaderwinpe.pas | 125 i,j: integer; 137 for i := 0 to SymbolCount-1 do 141 if SymbolArr^[i].N.Name.Short=0 then 164 i: Integer; 168 i := FSections.IndexOf(AName); 169 if i < 0 then 199 1: (Sys: TImageNtHeaders;); 204 n, i: Integer; 234 (@NtHeaders.Sys.OptionalHeader - @NtHeaders.Sys) + 255 i := FFileLoader.Read( [all …]
|
/dports/editors/lazarus-qt5/lazarus/components/fpdebug/ |
H A D | fpimgreaderwinpe.pas | 125 i,j: integer; 137 for i := 0 to SymbolCount-1 do 141 if SymbolArr^[i].N.Name.Short=0 then 164 i: Integer; 168 i := FSections.IndexOf(AName); 169 if i < 0 then 199 1: (Sys: TImageNtHeaders;); 204 n, i: Integer; 234 (@NtHeaders.Sys.OptionalHeader - @NtHeaders.Sys) + 255 i := FFileLoader.Read( [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Net.NetworkInformation/src/System/Net/NetworkInformation/ |
H A D | OsxIPGlobalProperties.cs | 14 int realCount = Interop.Sys.GetEstimatedTcpConnectionCount(); in GetActiveTcpConnections() 16 …Interop.Sys.NativeTcpConnectionInformation* infos = stackalloc Interop.Sys.NativeTcpConnectionInfo… in GetActiveTcpConnections() 17 if (Interop.Sys.GetActiveTcpConnectionInfos(infos, &infoCount) == -1) in GetActiveTcpConnections() 23 for (int i = 0; i < infoCount; i++) in GetActiveTcpConnections() 25 Interop.Sys.NativeTcpConnectionInformation nativeInfo = infos[i]; in GetActiveTcpConnections() 66 int realCount = Interop.Sys.GetEstimatedUdpListenerCount(); in GetActiveUdpListeners() 68 Interop.Sys.IPEndPointInfo* infos = stackalloc Interop.Sys.IPEndPointInfo[infoCount]; in GetActiveUdpListeners() 69 if (Interop.Sys.GetActiveUdpListeners(infos, &infoCount) == -1) in GetActiveUdpListeners() 75 for (int i = 0; i < infoCount; i++) in GetActiveUdpListeners() 77 Interop.Sys.IPEndPointInfo endPointInfo = infos[i]; in GetActiveUdpListeners() [all …]
|
/dports/games/multimc/MultiMC5-0.6.11/libraries/systeminfo/src/ |
H A D | distroutils.cpp | 42 Sys::DistributionInfo Sys::read_os_release() in read_os_release() 44 Sys::DistributionInfo out; in read_os_release() 87 bool Sys::main_lsb_info(Sys::LsbInfo & out) in main_lsb_info() 119 bool Sys::fallback_lsb_info(Sys::LsbInfo & out) in fallback_lsb_info() 143 void Sys::lsb_postprocess(Sys::LsbInfo & lsb, Sys::DistributionInfo & out) in lsb_postprocess() 186 Sys::DistributionInfo Sys::read_lsb_release() in read_lsb_release() 224 for(int i = list.size() - 1; i >= 0; --i) in _extract_version() local 226 QString chunk = list[i]; in _extract_version() 235 Sys::DistributionInfo Sys::read_legacy_release() in read_legacy_release() 246 {"/etc/slackware-version", &Sys::_extract_distribution, &Sys::_extract_version}, in read_legacy_release() [all …]
|
/dports/games/zdoom/zdoom-2.8.1/src/sound/ |
H A D | fmodsound.cpp | 1333 for (i = 0; i < numdrivers; ++i) in PrintDriversList() 1335 if (FMOD_OK == Sys->getDriverInfo(i, name, sizeof(name), NULL)) in PrintDriversList() 1529 for (int i = 0; i < numtags; ++i) in SetCustomLoopPts() 1543 for (int i = 0; i < 2; ++i) in SetCustomLoopPts() local 2430 for (i = numinputs - 1; i >= 0; --i) in ReconnectSFXReverbUnit() 2522 for (int i = 0; i < length; ++i) in LoadSoundRaw() local 2524 sfxdata[i] = sfxdata[i] - 128; in LoadSoundRaw() 2780 for (int i = 0, x = 16; i < count; ++i) in DrawSpeakerLabels() local 2927 for (i = 1; i < width; ++i) in DrawWave() 2936 for (i = 0; i < width; ++i) in DrawWave() [all …]
|
/dports/lang/ferite/ferite-1.0.2/tools/generate-module/ |
H A D | generate-module.fe | 75 for( ; i < Array.size(self.options); i++ ) 125 Sys.exit(1); 151 Sys.exit(1); 156 Sys.exit(1); 162 number i; 171 for(i = 0; i < Array.size(files);i++) 217 Sys.exit(1); 232 number i; 252 for(i=0;i < Array.size(files); i++) 257 Sys.exit(1); [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.IO.FileSystem/src/System/IO/ |
H A D | FileSystem.Unix.cs | 57 Interop.Sys.FileStatus ignored; in ReplaceFile() 212 int i = length - 1; in CreateDirectory() 213 while (i >= lengthRoot && !somepathexists) in CreateDirectory() 215 string dir = fullPath.Substring(0, i + 1); in CreateDirectory() 225 while (i > lengthRoot && !PathInternal.IsDirectorySeparator(fullPath[i])) in CreateDirectory() 227 i--; in CreateDirectory() 229 i--; in CreateDirectory() 254 result = Interop.Sys.MkDir(name, (int)Interop.Sys.Permissions.Mask); in CreateDirectory() 424 …Debug.Assert(fileType == Interop.Sys.FileTypes.S_IFREG || fileType == Interop.Sys.FileTypes.S_IFDI… in FileExists() 444 ((fileinfo.Mode & Interop.Sys.FileTypes.S_IFMT) == Interop.Sys.FileTypes.S_IFDIR); in FileExists() [all …]
|
/dports/devel/R-cran-progress/progress/ |
H A D | README.md | 35 for (i in 1:100) { 55 Sys.sleep(3) 56 for (i in 1:100) { 70 for (i in 1:100) { 86 for (i in 1:100) { 100 for (i in 1:1000) { 118 for (i in 1:total) { 137 for (i in 1:100) { 141 for (i in 1:100) { 160 for (i in 1:100) { [all …]
|
/dports/editors/lazarus-devel/lazarus-6df7e8756882f7d7f28f662011ee72f21746c580/components/fpdebug/ |
H A D | fpimgreaderwinpe.pas | 141 i: Integer; 162 i,j: integer; 219 i: Integer; 298 i: Integer; 303 if i < 0 then 315 i: Integer; 368 1: (Sys: TImageNtHeaders;); 373 n, i: Integer; 401 case NtHeaders.Sys.FileHeader.Machine of 421 case NtHeaders.Sys.OptionalHeader.Magic of [all …]
|
/dports/editors/lazarus-qt5-devel/lazarus-6df7e8756882f7d7f28f662011ee72f21746c580/components/fpdebug/ |
H A D | fpimgreaderwinpe.pas | 141 i: Integer; 162 i,j: integer; 219 i: Integer; 298 i: Integer; 303 if i < 0 then 315 i: Integer; 368 1: (Sys: TImageNtHeaders;); 373 n, i: Integer; 401 case NtHeaders.Sys.FileHeader.Machine of 421 case NtHeaders.Sys.OptionalHeader.Magic of [all …]
|
/dports/comms/hylafax/hylafax-6.0.7/hfaxd/ |
H A D | Login.c++ | 105 int i; in isAdminGroup() local 109 for (i=0; grinfo->gr_mem[i] != NULL; i++) { in isAdminGroup() 110 if (strcmp(curruser, grinfo->gr_mem[i]) == 0) retval = true; in isAdminGroup() 273 for (u_int i = 0, n = tempFiles.length(); i < n; i++) in dologout() local 274 (void) Sys::unlink(tempFiles[i]); in dologout() 276 Sys::close(xferfaxlog); in dologout() 278 Sys::close(clientFd); in dologout() 283 if (Sys::isFIFOFile( "/" | clientFIFOName)) { in dologout() 284 Sys::unlink("/" | clientFIFOName); in dologout() 286 Sys::unlink( FAX_SPOOLDIR "/" | clientFIFOName); in dologout() [all …]
|
H A D | main.c++ | 92 if (!Sys::isCharSpecialFile(PATH_DEVNULL)) { in CheckSpoolingSetup() 93 if (!Sys::isCharSpecialFile("/" PATH_DEVNULL, sb)) in CheckSpoolingSetup() 107 if (Sys::isCharSpecialFile("/" PATH_DEVTCP, sb) && in CheckSpoolingSetup() 108 !Sys::isCharSpecialFile(PATH_DEVTCP)) { in CheckSpoolingSetup() 114 if (Sys::stat(PATH_NETCONFIG, sb) < 0) { in CheckSpoolingSetup() 138 !Sys::isCharSpecialFile(PATH_DEVSOCKSYS)) in CheckSpoolingSetup() 159 int fd = Sys::open(_PATH_DEVNULL, O_RDWR); in detachFromTTY() 165 Sys::close(fd); in detachFromTTY() 242 if (Sys::chdir(queueDir) < 0) in main() 327 for (u_int i = 0, n = handlers.length(); i < n; i++) in main() local [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.IO.FileSystem.Watcher/src/System/IO/ |
H A D | FileSystemWatcher.Linux.cs | 42 handle = Interop.Sys.INotifyInit(); in StartRaisingEvents() 154 Interop.Sys.NotifyEvents result = 0; in TranslateFilters() 352 Interop.Sys.FileStatus status = default(Interop.Sys.FileStatus); in AddDirectoryWatchUnlocked() 354 … ((status.Mode & (uint)Interop.Sys.FileTypes.S_IFMT) == Interop.Sys.FileTypes.S_IFLNK)) in AddDirectoryWatchUnlocked() 363 …wd = Interop.Sys.INotifyAddWatch(_inotifyHandle, fullPath, (uint)(this._watchFilters | Interop.Sys… in AddDirectoryWatchUnlocked() 635 …const Interop.Sys.NotifyEvents AddMaskFilters = Interop.Sys.NotifyEvents.IN_CREATE | Interop.Sys.N… in ProcessEvents() 644 … const Interop.Sys.NotifyEvents fileDirEvents = Interop.Sys.NotifyEvents.IN_CREATE | in ProcessEvents() 656 …Interop.Sys.NotifyEvents.IN_ACCESS | Interop.Sys.NotifyEvents.IN_MODIFY | Interop.Sys.NotifyEvents… in ProcessEvents() 829 for (int i = 0; i < nameLength; i++) in ReadName() 831 if (_buffer[position + i] == '\0') in ReadName() [all …]
|
/dports/science/lammps/lammps-stable_29Sep2021/tools/lmp2arc/src/ |
H A D | lmp2arc.c | 145 extern void ReadCarFile(FILE *,struct Sys *); 146 extern void ProcessPosFile01(int,char **,struct Sys *,FILE *); 147 extern void ProcessPosFile05(int,char **,struct Sys *,FILE *); 151 int got_car,ierr,i; in main() local 153 struct Sys *sysinfo; in main() 173 for (i = 1; i < argc; i++) { in main() 178 i++; in main() 191 i++; in main() 195 i++; in main() 214 sysinfo = (struct Sys *) calloc(1,sizeof(struct Sys)); in main() [all …]
|
/dports/games/lwjgl/lwjgl-2df01dd/src/java/org/lwjgl/test/input/ |
H A D | MouseCreationTest.java | 34 import org.lwjgl.Sys; 113 for(int i=0; i<2; i++) { in executeTest() 114 System.out.println("Test " + (i+1) + ":"); in executeTest() 136 for(int i=0; i<2; i++) { in executeTest() 151 long statustime = Sys.getTime(); in wiggleMouse() 152 long endtime = Sys.getTime() + Sys.getTimerResolution() * 5; in wiggleMouse() 154 while (Sys.getTime() < endtime) { in wiggleMouse() 177 if (Sys.getTime() - statustime > Sys.getTimerResolution()) { in wiggleMouse() 179 statustime = Sys.getTime(); in wiggleMouse() 193 for(int i=0;i<Mouse.getButtonCount(); i++) { in render() [all …]
|
/dports/lang/voc/voc-63008f6/src/library/ulm/ |
H A D | ulmSYSTEM.Mod | 2 IMPORT SYSTEM, Platform, Sys := ulmSys; 16 i : LONGINT; 19 i := 0; 22 bar[i] := b; 23 INC(i) 24 UNTIL i = SIZE(LONGINT) 30 i : LONGINT; 33 i := 0; 36 lar[i] := b; 37 INC(i) [all …]
|
/dports/misc/concourse/vault-bdd38fca2cff/helper/testhelpers/ |
H A D | testhelpers.go | 163 client.Sys().ResetUnsealProcess() 191 for i := 0; i < 30; i++ { 204 for i := 0; i < 10; i++ { 206 leaderResp, err := core.Client.Sys().Leader() 223 leaderResp, err := core.Client.Sys().Leader() 237 for i := 0; i < 30; i++ { 256 for i := 0; i < 60; i++ { 275 for i := 0; i < 30; i++ { 294 initFunc := client.Sys().RekeyInit 296 initFunc = client.Sys().RekeyRecoveryKeyInit [all …]
|
/dports/misc/concourse/concourse-6.7.2/vendor/github.com/hashicorp/vault/helper/testhelpers/ |
H A D | testhelpers.go | 163 client.Sys().ResetUnsealProcess() 191 for i := 0; i < 30; i++ { 204 for i := 0; i < 10; i++ { 206 leaderResp, err := core.Client.Sys().Leader() 223 leaderResp, err := core.Client.Sys().Leader() 237 for i := 0; i < 30; i++ { 256 for i := 0; i < 60; i++ { 275 for i := 0; i < 30; i++ { 294 initFunc := client.Sys().RekeyInit 296 initFunc = client.Sys().RekeyRecoveryKeyInit [all …]
|