Home
last modified time | relevance | path

Searched refs:reservation (Results 1 – 25 of 40) sorted by relevance

12

/external/chromium_org/webkit/browser/fileapi/quota/
Dquota_reservation_manager_unittest.cc84 void RefreshQuota(QuotaReservation* reservation, int64 size) { in RefreshQuota() argument
85 DCHECK(reservation); in RefreshQuota()
88 reservation->RefreshReservation(size, base::Bind(&ExpectSuccess, &done)); in RefreshQuota()
164 scoped_refptr<QuotaReservation> reservation = in TEST_F() local
166 EXPECT_EQ(0, reservation->remaining_quota()); in TEST_F()
168 RefreshQuota(reservation, 100); in TEST_F()
169 EXPECT_EQ(100, reservation->remaining_quota()); in TEST_F()
176 reservation->GetOpenFileHandle(file_path()); in TEST_F()
181 int64 remaining_quota = reservation->remaining_quota(); in TEST_F()
192 EXPECT_EQ(remaining_quota, reservation->remaining_quota()); in TEST_F()
[all …]
Dquota_reservation_buffer.cc33 QuotaReservation* reservation, in GetOpenFileHandle() argument
39 return make_scoped_ptr(new OpenFileHandle(reservation, *open_file)); in GetOpenFileHandle()
69 void QuotaReservationBuffer::PutReservationToBuffer(int64 reservation) { in PutReservationToBuffer() argument
71 DCHECK_LE(0, reservation); in PutReservationToBuffer()
72 reserved_quota_ += reservation; in PutReservationToBuffer()
Dquota_reservation.cc89 const base::WeakPtr<QuotaReservation>& reservation, in AdaptDidUpdateReservedQuota() argument
93 if (!reservation) in AdaptDidUpdateReservedQuota()
96 reservation->DidUpdateReservedQuota(new_reserved_size, callback, error); in AdaptDidUpdateReservedQuota()
Dopen_file_handle.cc33 OpenFileHandle::OpenFileHandle(QuotaReservation* reservation, in OpenFileHandle() argument
35 : reservation_(reservation), in OpenFileHandle()
Dopen_file_handle.h38 OpenFileHandle(QuotaReservation* reservation,
Dquota_reservation.h68 const base::WeakPtr<QuotaReservation>& reservation,
Dquota_reservation_buffer.h42 QuotaReservation* reservation,
/external/chromium_org/chrome/test/chromedriver/net/
Dport_server_unittest.cc146 scoped_ptr<PortReservation> reservation; in TEST_F() local
147 Status status = server.ReservePort(&port, &reservation); in TEST_F()
160 scoped_ptr<PortReservation> reservation; in TEST_F() local
161 Status status = server.ReservePort(&port, &reservation); in TEST_F()
165 reservation.reset(); in TEST_F()
166 status = server.ReservePort(&port, &reservation); in TEST_F()
179 scoped_ptr<PortReservation> reservation; in TEST_F() local
180 Status status = server.ReservePort(&port, &reservation); in TEST_F()
185 status = server.ReservePort(&port, &reservation); in TEST_F()
194 scoped_ptr<PortReservation> reservation; in TEST() local
[all …]
Dport_server.cc47 scoped_ptr<PortReservation>* reservation) { in ReservePort() argument
62 reservation->reset(new PortReservation( in ReservePort()
145 scoped_ptr<PortReservation>* reservation) { in ReservePort() argument
169 reservation->reset(new PortReservation( in ReservePort()
Dport_server.h38 Status ReservePort(int* port, scoped_ptr<PortReservation>* reservation);
56 Status ReservePort(int* port, scoped_ptr<PortReservation>* reservation);
/external/chromium_org/content/browser/renderer_host/pepper/
Dquota_reservation_unittest.cc96 scoped_refptr<fileapi::QuotaReservation> reservation, in CreateQuotaReservation() argument
101 new QuotaReservation(reservation, origin, type)); in CreateQuotaReservation()
157 scoped_refptr<fileapi::QuotaReservation> reservation( in TEST_F() local
160 CreateQuotaReservation(reservation, origin, type); in TEST_F()
186 EXPECT_EQ(amount, reservation->remaining_quota()); in TEST_F()
189 reservation->remaining_quota()); in TEST_F()
198 scoped_refptr<fileapi::QuotaReservation> reservation( in TEST_F() local
201 CreateQuotaReservation(reservation, origin, type); in TEST_F()
/external/v8/src/
Dspaces.cc295 void MemoryAllocator::FreeMemory(VirtualMemory* reservation, in FreeMemory() argument
298 ASSERT(reservation->IsReserved()); in FreeMemory()
299 size_t size = reservation->size(); in FreeMemory()
311 static_cast<Address>(reservation->address()))); in FreeMemory()
313 reservation->Release(); in FreeMemory()
345 VirtualMemory reservation(size, alignment); in ReserveAlignedMemory() local
347 if (!reservation.IsReserved()) return NULL; in ReserveAlignedMemory()
348 size_ += reservation.size(); in ReserveAlignedMemory()
349 Address base = RoundUp(static_cast<Address>(reservation.address()), in ReserveAlignedMemory()
351 controller->TakeControl(&reservation); in ReserveAlignedMemory()
[all …]
Dplatform-freebsd.cc357 void* reservation = mmap(OS::GetRandomMmapAddr(), in VirtualMemory() local
363 if (reservation == MAP_FAILED) return; in VirtualMemory()
365 Address base = static_cast<Address>(reservation); in VirtualMemory()
Dplatform-solaris.cc347 void* reservation = mmap(OS::GetRandomMmapAddr(), in VirtualMemory() local
353 if (reservation == MAP_FAILED) return; in VirtualMemory()
355 Address base = static_cast<Address>(reservation); in VirtualMemory()
Dplatform-macos.cc366 void* reservation = mmap(OS::GetRandomMmapAddr(), in VirtualMemory() local
372 if (reservation == MAP_FAILED) return; in VirtualMemory()
374 Address base = static_cast<Address>(reservation); in VirtualMemory()
Dplatform-openbsd.cc404 void* reservation = mmap(GetRandomMmapAddr(), in VirtualMemory() local
410 if (reservation == MAP_FAILED) return; in VirtualMemory()
412 Address base = static_cast<Address>(reservation); in VirtualMemory()
Dplatform-linux.cc610 void* reservation = mmap(OS::GetRandomMmapAddr(), in VirtualMemory() local
616 if (reservation == MAP_FAILED) return; in VirtualMemory()
618 Address base = static_cast<Address>(reservation); in VirtualMemory()
/external/chromium_org/v8/src/
Dplatform-macos.cc215 void* reservation = mmap(OS::GetRandomMmapAddr(), in VirtualMemory() local
221 if (reservation == MAP_FAILED) return; in VirtualMemory()
223 Address base = static_cast<Address>(reservation); in VirtualMemory()
Dplatform-freebsd.cc213 void* reservation = mmap(OS::GetRandomMmapAddr(), in VirtualMemory() local
219 if (reservation == MAP_FAILED) return; in VirtualMemory()
221 Address base = static_cast<Address>(reservation); in VirtualMemory()
Dplatform-solaris.cc225 void* reservation = mmap(OS::GetRandomMmapAddr(), in VirtualMemory() local
231 if (reservation == MAP_FAILED) return; in VirtualMemory()
233 Address base = static_cast<Address>(reservation); in VirtualMemory()
Dspaces.cc321 void MemoryAllocator::FreeMemory(VirtualMemory* reservation, in FreeMemory() argument
324 ASSERT(reservation->IsReserved()); in FreeMemory()
325 size_t size = reservation->size(); in FreeMemory()
337 static_cast<Address>(reservation->address()))); in FreeMemory()
339 reservation->Release(); in FreeMemory()
371 VirtualMemory reservation(size, alignment); in ReserveAlignedMemory() local
373 if (!reservation.IsReserved()) return NULL; in ReserveAlignedMemory()
374 size_ += reservation.size(); in ReserveAlignedMemory()
375 Address base = RoundUp(static_cast<Address>(reservation.address()), in ReserveAlignedMemory()
377 controller->TakeControl(&reservation); in ReserveAlignedMemory()
[all …]
Dplatform-openbsd.cc245 void* reservation = mmap(OS::GetRandomMmapAddr(), in VirtualMemory() local
251 if (reservation == MAP_FAILED) return; in VirtualMemory()
253 Address base = static_cast<Address>(reservation); in VirtualMemory()
Dplatform-linux.cc319 void* reservation = mmap(OS::GetRandomMmapAddr(), in VirtualMemory() local
325 if (reservation == MAP_FAILED) return; in VirtualMemory()
327 Address base = static_cast<Address>(reservation); in VirtualMemory()
Dserialize.h333 void set_reservation(int space_number, int reservation) { in set_reservation() argument
336 reservations_[space_number] = reservation; in set_reservation()
/external/llvm/include/llvm/Target/
DTargetItinerary.td12 // itineraries for scheduling. Itineraries are details reservation
63 int Kind = kind.Value; // kind of FU reservation
135 // expensive HazardRecognizer because no reservation table is needed.

12