HomeSort by relevance Sort by last modified time
    Searched refs:Lease (Results 1 - 14 of 14) sorted by null

  /device/generic/goldfish/dhcp/server/
lease.h 24 // A lease consists of both the interface index and the MAC address. This
34 struct Lease {
35 Lease(unsigned int interfaceIndex, const uint8_t* macAddress) {
50 template<> struct hash<Lease> {
51 size_t operator()(const Lease& lease) const {
53 hash_combine(seed, lease.InterfaceIndex);
55 hash_combine(seed, *reinterpret_cast<const uint32_t*>(lease.MacAddress));
58 *reinterpret_cast<const uint16_t*>(lease.MacAddress + 4));
64 inline bool operator==(const Lease& left, const Lease& right)
    [all...]
dhcpserver.h 19 #include "lease.h"
70 // Map a lease to an IP address for that lease
71 std::unordered_map<Lease, in_addr_t> mLeases;
dhcpserver.cpp 113 // Someone wants a lease based on an offer
351 Lease key(interfaceIndex, macAddress);
  /external/grpc-grpc/src/csharp/Grpc.Core.Tests/Internal/
DefaultObjectPoolTest.cs 37 var origLeased = pool.Lease();
39 Assert.AreSame(origLeased, pool.Lease());
40 Assert.AreNotSame(origLeased, pool.Lease());
47 var origLeased = pool.Lease();
49 Assert.AreNotSame(origLeased, pool.Lease());
56 var origLeased = pool.Lease();
59 Assert.AreNotSame(origLeased, pool.Lease());
66 var origLeased = pool.Lease();
69 Assert.AreNotSame(origLeased, pool.Lease());
  /external/autotest/venv/lucifer/
leasing.py 8 obtain a job lease. Ongoing ownership of the lease is established using
9 an exclusive fcntl lock on the lease file.
11 If a lease file is older than a few seconds and is not locked, then its
34 """Return a context manager owning a lease file.
36 The process that obtains the lease will maintain an exclusive,
48 """Yield Lease instances from jobdir.
50 @param jobdir: job lease file directory
55 yield Lease(entry)
58 class Lease(object)
    [all...]
  /external/grpc-grpc/src/csharp/Grpc.Core/Internal/
IObjectPool.cs 32 T Lease();
GrpcThreadPool.cs 222 var completionRegistry = new CompletionRegistry(environment, () => environment.BatchContextPool.Lease(), () => environment.RequestCallContextPool.Lease());
DefaultObjectPool.cs 51 /// On average, the shared pool will only be accessed approx. once for every <c>threadLocalCapacity / 2</c> rent or lease
77 public T Lease()
113 // next time we try to lease we will just create those
AsyncCall.cs 102 var ctx = details.Channel.Environment.BatchContextPool.Lease();
  /device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Dhcp4Dxe/
Dhcp4Option.h 82 UINT32 Lease; // DHCP4_TAG_LEASE
Dhcp4Io.c 274 Compute the lease. If the server grants a permanent lease, just
275 process it as a normal timeout value since the lease will last
290 DhcpSb->Lease = Para->Lease;
294 if (DhcpSb->Lease == 0) {
295 DhcpSb->Lease = DHCP_DEFAULT_LEASE;
298 if ((DhcpSb->T2 == 0) || (DhcpSb->T2 >= Para->Lease)) {
299 DhcpSb->T2 = Para->Lease - (Para->Lease >> 3);
    [all...]
Dhcp4Impl.h 98 IP4_ADDR ClientAddr; // lease IP or configured client address
106 UINT32 Lease;
112 UDP_IO *LeaseIoPort; // Udp child with lease IP
Dhcp4Option.c 263 Para->Lease = NetGetUint32 (Data);
Dhcp4Impl.c 135 Extends the lease time by sending a request packet.
137 The RenewRebind() function is used to manually extend the lease time when the
138 EFI DHCPv4 Protocol driver is in the Dhcp4Bound state and the lease time has
144 field that is specified in EFI_DHCP4_CONFIG_DATA) but before the lease time that
401 Dhcp4ModeData->LeaseTime = Para->Lease;
843 Extends the lease time by sending a request packet.
845 The RenewRebind() function is used to manually extend the lease time when the
846 EFI DHCPv4 Protocol driver is in the Dhcp4Bound state and the lease time has
    [all...]

Completed in 376 milliseconds