/external/chromium_org/webkit/browser/fileapi/quota/ |
quota_reservation_manager_unittest.cc | 84 void RefreshQuota(QuotaReservation* reservation, int64 size) { 85 DCHECK(reservation); 88 reservation->RefreshReservation(size, base::Bind(&ExpectSuccess, &done)); 161 // Create Reservation channel for the origin and type. 162 // Reservation holds remaining quota reservation and provides a method to 164 scoped_refptr<QuotaReservation> reservation = local 166 EXPECT_EQ(0, reservation->remaining_quota()); 168 RefreshQuota(reservation, 100); 169 EXPECT_EQ(100, reservation->remaining_quota()) 213 scoped_refptr<QuotaReservation> reservation = local [all...] |
open_file_handle.cc | 33 OpenFileHandle::OpenFileHandle(QuotaReservation* reservation, 35 : reservation_(reservation),
|
open_file_handle.h | 38 OpenFileHandle(QuotaReservation* reservation,
|
quota_reservation_buffer.cc | 33 QuotaReservation* reservation, 39 return make_scoped_ptr(new OpenFileHandle(reservation, *open_file)); 52 << " reservation"; 69 void QuotaReservationBuffer::PutReservationToBuffer(int64 reservation) { 71 DCHECK_LE(0, reservation); 72 reserved_quota_ += reservation;
|
quota_reservation.cc | 89 const base::WeakPtr<QuotaReservation>& reservation, 93 if (!reservation) 96 reservation->DidUpdateReservedQuota(new_reserved_size, callback, error);
|
quota_reservation.h | 23 // Represents a unit of quota reservation. 68 const base::WeakPtr<QuotaReservation>& reservation,
|
quota_reservation_buffer.h | 42 QuotaReservation* reservation,
|
/external/chromium_org/chrome/test/chromedriver/net/ |
port_server.h | 30 // Communicates with a port reservation management server. 38 Status ReservePort(int* port, scoped_ptr<PortReservation>* reservation); 50 // Manages reservation of a block of local ports. 56 Status ReservePort(int* port, scoped_ptr<PortReservation>* reservation);
|
port_server_unittest.cc | 146 scoped_ptr<PortReservation> reservation; local 147 Status status = server.ReservePort(&port, &reservation); 160 scoped_ptr<PortReservation> reservation; local 161 Status status = server.ReservePort(&port, &reservation); 165 reservation.reset(); 166 status = server.ReservePort(&port, &reservation); 179 scoped_ptr<PortReservation> reservation; local 180 Status status = server.ReservePort(&port, &reservation); 185 status = server.ReservePort(&port, &reservation); 194 scoped_ptr<PortReservation> reservation; local [all...] |
port_server.cc | 47 scoped_ptr<PortReservation>* reservation) { 62 reservation->reset(new PortReservation( 145 scoped_ptr<PortReservation>* reservation) { 169 reservation->reset(new PortReservation(
|
/external/chromium_org/content/browser/renderer_host/pepper/ |
quota_reservation_unittest.cc | 96 scoped_refptr<fileapi::QuotaReservation> reservation, 101 new QuotaReservation(reservation, origin, type)); 157 scoped_refptr<fileapi::QuotaReservation> reservation( 160 CreateQuotaReservation(reservation, origin, type); 170 // Open a file, refresh the reservation, extend the file, and close it. 186 EXPECT_EQ(amount, reservation->remaining_quota()); 189 reservation->remaining_quota()); 198 scoped_refptr<fileapi::QuotaReservation> reservation( 201 CreateQuotaReservation(reservation, origin, type);
|
/external/chromium_org/v8/src/ |
platform-solaris.cc | 225 void* reservation = mmap(OS::GetRandomMmapAddr(), local 231 if (reservation == MAP_FAILED) return; 233 Address base = static_cast<Address>(reservation);
|
platform-freebsd.cc | 213 void* reservation = mmap(OS::GetRandomMmapAddr(), local 219 if (reservation == MAP_FAILED) return; 221 Address base = static_cast<Address>(reservation);
|
platform-linux.cc | 319 void* reservation = mmap(OS::GetRandomMmapAddr(), local 325 if (reservation == MAP_FAILED) return; 327 Address base = static_cast<Address>(reservation);
|
platform-macos.cc | 215 void* reservation = mmap(OS::GetRandomMmapAddr(), local 221 if (reservation == MAP_FAILED) return; 223 Address base = static_cast<Address>(reservation);
|
platform-openbsd.cc | 245 void* reservation = mmap(OS::GetRandomMmapAddr(), local 251 if (reservation == MAP_FAILED) return; 253 Address base = static_cast<Address>(reservation);
|
spaces.cc | 321 void MemoryAllocator::FreeMemory(VirtualMemory* reservation, 324 ASSERT(reservation->IsReserved()); 325 size_t size = reservation->size(); 337 static_cast<Address>(reservation->address()))); 339 reservation->Release(); 371 VirtualMemory reservation(size, alignment); 373 if (!reservation.IsReserved()) return NULL; 374 size_ += reservation.size(); 375 Address base = RoundUp(static_cast<Address>(reservation.address()), 377 controller->TakeControl(&reservation); 388 VirtualMemory reservation; local 602 VirtualMemory reservation; local 772 VirtualMemory* reservation = chunk->reserved_memory(); local [all...] |
serialize.h | 333 void set_reservation(int space_number, int reservation) { 336 reservations_[space_number] = reservation;
|
spaces.h | 347 void set_reserved_memory(VirtualMemory* reservation) { 348 ASSERT_NOT_NULL(reservation); 349 reservation_.TakeControl(reservation); 683 // If the chunk needs to remember its memory reservation, it is stored here. [all...] |
/external/v8/src/ |
spaces.cc | 295 void MemoryAllocator::FreeMemory(VirtualMemory* reservation, 298 ASSERT(reservation->IsReserved()); 299 size_t size = reservation->size(); 311 static_cast<Address>(reservation->address()))); 313 reservation->Release(); 345 VirtualMemory reservation(size, alignment); 347 if (!reservation.IsReserved()) return NULL; 348 size_ += reservation.size(); 349 Address base = RoundUp(static_cast<Address>(reservation.address()), 351 controller->TakeControl(&reservation); 360 VirtualMemory reservation; local 496 VirtualMemory reservation; local 610 VirtualMemory* reservation = chunk->reserved_memory(); local [all...] |
platform-macos.cc | 366 void* reservation = mmap(OS::GetRandomMmapAddr(), local 372 if (reservation == MAP_FAILED) return; 374 Address base = static_cast<Address>(reservation);
|
platform-solaris.cc | 347 void* reservation = mmap(OS::GetRandomMmapAddr(), local 353 if (reservation == MAP_FAILED) return; 355 Address base = static_cast<Address>(reservation);
|
platform-freebsd.cc | 357 void* reservation = mmap(OS::GetRandomMmapAddr(), local 363 if (reservation == MAP_FAILED) return; 365 Address base = static_cast<Address>(reservation);
|
platform-linux.cc | 610 void* reservation = mmap(OS::GetRandomMmapAddr(), local 616 if (reservation == MAP_FAILED) return; 618 Address base = static_cast<Address>(reservation); [all...] |
platform-openbsd.cc | 404 void* reservation = mmap(GetRandomMmapAddr(), local 410 if (reservation == MAP_FAILED) return; 412 Address base = static_cast<Address>(reservation);
|