Searched refs:allocator (Results 1 - 25 of 51) sorted by relevance

123

/haiku-fatelf/src/tests/bin/makeudfimage/
H A DAllocatorTest.cpp34 Allocator allocator(0);
35 CHK(allocator.InitCheck() != B_OK);
39 Allocator allocator(1);
40 CHK(allocator.InitCheck() == B_OK);
44 Allocator allocator(2);
45 CHK(allocator.InitCheck() == B_OK);
49 Allocator allocator(3);
50 CHK(allocator.InitCheck() != B_OK);
54 Allocator allocator(256);
55 CHK(allocator
[all...]
/haiku-fatelf/src/add-ons/kernel/file_systems/userlandfs/private/
H A DRequestPort.cpp17 AllocatorNode(Port* port) : allocator(port), previous(NULL) {}
19 RequestAllocator allocator; member in struct:RequestPort::AllocatorNode
75 RequestPort::SendRequest(RequestAllocator* allocator) argument
80 if (!allocator || allocator->GetRequest() == NULL
81 || allocator->GetRequestSize() < (int32)sizeof(Request)) {
84 allocator->FinishDeferredInit();
85 //PRINT(("RequestPort::SendRequest(%lu)\n", allocator->GetRequest()->GetType()));
87 if (!is_userland_request(allocator->GetRequest()->GetType())) {
89 "request\n", allocator
105 SendRequest(RequestAllocator* allocator, RequestHandler* handler, Request** reply, bigtime_t timeout) argument
[all...]
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/userlandfs/r5/src/private/
H A DRequestPort.cpp15 AllocatorNode(Port* port) : allocator(port), previous(NULL) {}
17 RequestAllocator allocator; member in struct:RequestPort::AllocatorNode
73 RequestPort::SendRequest(RequestAllocator* allocator) argument
78 if (!allocator || allocator->GetRequest() != fPort.GetBuffer()
79 || allocator->GetRequestSize() < (int32)sizeof(Request)
80 || allocator->GetRequestSize() > fPort.GetCapacity()) {
83 allocator->FinishDeferredInit();
84 //PRINT(("RequestPort::SendRequest(%lu)\n", allocator->GetRequest()->GetType()));
86 if (!is_userland_request(allocator
103 SendRequest(RequestAllocator* allocator, RequestHandler* handler, Request** reply, bigtime_t timeout) argument
[all...]
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/userlandfs/r5/src/server/
H A DUserlandRequestHandler.cpp228 RequestAllocator allocator(fPort->GetPort());
230 status_t error = AllocateRequest(allocator, &reply);
238 return _SendReply(allocator, false);
255 RequestAllocator allocator(fPort->GetPort());
257 status_t error = AllocateRequest(allocator, &reply);
262 return _SendReply(allocator, false);
279 RequestAllocator allocator(fPort->GetPort());
281 status_t error = AllocateRequest(allocator, &reply);
286 return _SendReply(allocator, false);
304 RequestAllocator allocator(fPor
1842 _SendReply(RequestAllocator& allocator, bool expectsReceipt) argument
[all...]
H A Dkernel_emu.cpp137 RequestAllocator allocator(port->GetPort());
139 error = AllocateRequest(allocator, &request);
147 error = allocator.AllocateString(request->name, name);
153 error = port->SendRequest(&allocator, &handler, (Request**)&reply);
174 RequestAllocator allocator(port->GetPort());
176 error = AllocateRequest(allocator, &request);
184 error = port->SendRequest(&allocator, &handler, (Request**)&reply);
204 RequestAllocator allocator(port->GetPort());
206 error = AllocateRequest(allocator, &request);
218 error = allocator
[all...]
/haiku-fatelf/src/add-ons/kernel/file_systems/userlandfs/server/
H A DUserlandRequestHandler.cpp275 RequestAllocator allocator(fPort->GetPort());
277 status_t error = AllocateRequest(allocator, &reply);
287 return _SendReply(allocator, false);
303 RequestAllocator allocator(fPort->GetPort());
305 status_t error = AllocateRequest(allocator, &reply);
311 return _SendReply(allocator, false);
328 RequestAllocator allocator(fPort->GetPort());
330 status_t error = AllocateRequest(allocator, &reply);
336 return _SendReply(allocator, false);
354 RequestAllocator allocator(fPor
2474 _SendReply(RequestAllocator& allocator, bool expectsReceipt) argument
[all...]
H A Dkernel_emu.cpp142 RequestAllocator allocator(port->GetPort());
144 error = AllocateRequest(allocator, &request);
154 error = allocator.AllocateString(request->oldName, oldName);
157 error = allocator.AllocateString(request->name, name);
164 error = port->SendRequest(&allocator, &handler, (Request**)&reply);
188 RequestAllocator allocator(port->GetPort());
190 error = AllocateRequest(allocator, &request);
201 error = port->SendRequest(&allocator, &handler, (Request**)&reply);
226 RequestAllocator allocator(port->GetPort());
228 error = AllocateRequest(allocator,
[all...]
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/userlandfs/r5/src/kernel_add_on/
H A DKernelRequestHandler.cpp125 RequestAllocator allocator(fPort->GetPort());
127 status_t error = AllocateRequest(allocator, &reply);
132 return fPort->SendRequest(&allocator);
147 RequestAllocator allocator(fPort->GetPort());
149 status_t error = AllocateRequest(allocator, &reply);
154 return fPort->SendRequest(&allocator);
197 RequestAllocator allocator(fPort->GetPort());
199 status_t error = AllocateRequest(allocator, &reply);
204 return fPort->SendRequest(&allocator);
222 RequestAllocator allocator(fPor
[all...]
H A DVolume.cpp258 RequestAllocator allocator(port->GetPort());
260 status_t error = AllocateRequest(allocator, &request);
267 error = _SendRequest(port, &allocator, &handler, (Request**)&reply);
287 RequestAllocator allocator(port->GetPort());
289 status_t error = AllocateRequest(allocator, &request);
296 error = _SendRequest(port, &allocator, &handler, (Request**)&reply);
317 RequestAllocator allocator(port->GetPort());
319 status_t error = AllocateRequest(allocator, &request);
328 error = _SendRequest(port, &allocator, &handler, (Request**)&reply);
351 RequestAllocator allocator(por
2640 _SendRequest(RequestPort* port, RequestAllocator* allocator, RequestHandler* handler, Request** reply) argument
[all...]
H A DFileSystem.cpp126 RequestAllocator allocator(port->GetPort());
128 status_t error = AllocateRequest(allocator, &request);
131 error = allocator.AllocateString(request->device, deviceName);
133 error = allocator.AllocateData(request->parameters, parameters, len, 1);
139 error = port->SendRequest(&allocator, &handler, (Request**)&reply);
243 RequestAllocator allocator(fInitPort->GetPort());
245 status_t error = AllocateRequest(allocator, &request);
248 error = allocator.AllocateString(request->fsName, fName.GetString());
254 error = fInitPort->SendRequest(&allocator, &handler, (Request**)&reply);
H A DUserlandFS.cpp37 RequestAllocator allocator(fPort->GetPort());
39 if (AllocateRequest(allocator, &request) == B_OK) {
40 if (fPort->SendRequest(&allocator) != B_OK)
/haiku-fatelf/src/add-ons/kernel/file_systems/userlandfs/kernel_add_on/
H A DKernelRequestHandler.cpp230 RequestAllocator allocator(fPort->GetPort());
232 status_t error = AllocateRequest(allocator, &reply);
239 return fPort->SendRequest(&allocator);
264 RequestAllocator allocator(fPort->GetPort());
266 status_t error = AllocateRequest(allocator, &reply);
273 return fPort->SendRequest(&allocator);
325 RequestAllocator allocator(fPort->GetPort());
327 status_t error = AllocateRequest(allocator, &reply);
334 return fPort->SendRequest(&allocator);
352 RequestAllocator allocator(fPor
[all...]
H A DVolume.cpp895 RequestAllocator allocator(port->GetPort());
897 status_t error = AllocateRequest(allocator, &request);
906 error = _SendRequest(port, &allocator, &handler, (Request**)&reply);
956 RequestAllocator allocator(port->GetPort());
958 status_t error = AllocateRequest(allocator, &request);
969 error = _SendRequest(port, &allocator, &handler, (Request**)&reply);
1021 RequestAllocator allocator(port->GetPort());
1023 status_t error = AllocateRequest(allocator, &request);
1034 error = _SendRequest(port, &allocator, &handler, (Request**)&reply);
1068 RequestAllocator allocator(por
4383 _SendRequest(RequestPort* port, RequestAllocator* allocator, RequestHandler* handler, Request** reply) argument
[all...]
/haiku-fatelf/headers/cpp/
H A Dalloc.h37 using __STD::allocator;
H A Ddefalloc.h17 // default allocator. It is provided only for backward compatibility.
21 // that requires an allocator with the HP-style interface.
24 // standard default allocator is declared in the header <memory>.
63 class allocator { class
88 class allocator<void> { class
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/userlandfs/r5/headers/private/
H A DRequestAllocator.h74 AllocateRequest(RequestAllocator& allocator, SpecificRequest** request) argument
78 status_t error = allocator.AllocateRequest(sizeof(SpecificRequest));
80 *request = new(allocator.GetRequest()) SpecificRequest;
H A DRequestPort.h27 status_t SendRequest(RequestAllocator* allocator);
28 status_t SendRequest(RequestAllocator* allocator,
/haiku-fatelf/headers/private/userlandfs/private/
H A DRequestAllocator.h78 AllocateRequest(RequestAllocator& allocator, SpecificRequest** request) argument
82 status_t error = allocator.AllocateRequest(sizeof(SpecificRequest));
84 *request = new(allocator.GetRequest()) SpecificRequest;
H A DRequestPort.h27 status_t SendRequest(RequestAllocator* allocator);
28 status_t SendRequest(RequestAllocator* allocator,
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/bfs/bufferPool/
H A Dmain.cpp16 allocator(void *_pool) function
48 thread[i] = spawn_thread(allocator, "", B_NORMAL_PRIORITY, (void *)&pool);
/haiku-fatelf/src/apps/resedit/
H A DResourceRoster.cpp34 create_editor *allocator);
48 create_editor *allocator)
51 fAllocator(allocator)
47 EditorInfo(const image_id &id, const char *name, create_editor *allocator) argument
/haiku-fatelf/src/add-ons/kernel/file_systems/ext2/
H A DBlockAllocator.h42 static status_t _Initialize(BlockAllocator* allocator);
/haiku-fatelf/src/bin/makeudfimage/
H A DPhysicalPartitionAllocator.h10 Udf physical partition allocator (declarations).
25 PhysicalPartitionAllocator(uint16 number, uint32 offset, Allocator &allocator);
H A DPhysicalPartitionAllocator.cpp10 Udf physical partition allocator (implementation).
19 Allocator &allocator)
22 , fAllocator(allocator)
17 PhysicalPartitionAllocator(uint16 number, uint32 offset, Allocator &allocator) argument
/haiku-fatelf/src/servers/app/
H A DBitmapManager.h29 ServerBitmap* CreateBitmap(ClientMemoryAllocator* allocator,

Completed in 206 milliseconds

123