Searched refs:buffer (Results 526 - 550 of 2144) sorted by relevance

<<21222324252627282930>>

/haiku/headers/os/support/
H A DBufferedDataIO.h29 virtual ssize_t Read(void* buffer, size_t size);
30 virtual ssize_t Write(const void* buffer, size_t size);
/haiku/src/kits/support/
H A DBufferIO.cpp32 // (if you specify a very big buffer, the application just
53 BBufferIO::ReadAt(off_t pos, void* buffer, size_t size) argument
60 if (buffer == NULL)
63 // If the amount of data we want doesn't fit in the buffer, just
64 // read it directly from the disk (and don't touch the buffer).
68 return fStream->ReadAt(pos, buffer, size);
71 // If the data we are looking for is not in the buffer...
95 // copy data from the cache to the given buffer
96 memcpy(buffer, fBuffer + pos - fBufferStart, size);
103 BBufferIO::WriteAt(off_t pos, const void* buffer, size_ argument
[all...]
/haiku/src/add-ons/kernel/bus_managers/ps2/
H A Dps2_standard_mouse.h39 uint8 buffer[PS2_MAX_PACKET_SIZE]; member in struct:__anon2
48 status_t standard_mouse_ioctl(void* _cookie, uint32 op, void* buffer,
/haiku/src/add-ons/mail_daemon/inbound_protocols/pop3/
H A DMessageIO.h22 virtual ssize_t ReadAt(off_t pos, void* buffer,
24 virtual ssize_t WriteAt(off_t pos, const void* buffer,
/haiku/src/apps/diskprobe/
H A DAttributeWindow.cpp108 char buffer[B_PATH_NAME_LENGTH]; local
109 snprintf(buffer, sizeof(buffer), "%s: %s", name, attribute);
110 SetTitle(buffer);
171 char buffer[1024]; local
173 snprintf(buffer, sizeof(buffer),
179 buffer, B_TRANSLATE("Cancel"), B_TRANSLATE("Remove"), NULL,
/haiku/src/servers/app/drawing/Painter/drawing_modes/
H A DDrawingModeAlphaPOSolidSUBPIX.h19 const color_type& c, const uint8* covers, agg_buffer* buffer,
22 uint8* p = buffer->row_ptr(y) + (x << 2);
18 blend_solid_hspan_alpha_po_solid_subpix(int x, int y, unsigned len, const color_type& c, const uint8* covers, agg_buffer* buffer, const PatternHandler* pattern) argument
/haiku/src/add-ons/media/media-add-ons/video_mixer/
H A DVideoMixerNodeConsumer.cpp75 void VideoMixerNode::BufferReceived(BBuffer *buffer) argument
77 switch (buffer->Header()->type) {
80 // status_t status = ApplyParameterData(buffer->Data(),buffer->SizeUsed());
84 // buffer->Recycle();
88 if (buffer->Flags() & BBuffer::B_SMALL_BUFFER) {
91 buffer->Recycle();
93 media_timed_event event(buffer->Header()->start_time, BTimedEventQueue::B_HANDLE_BUFFER,
94 buffer, BTimedEventQueue::B_RECYCLE_BUFFER);
98 buffer
[all...]
/haiku/headers/private/app/
H A DAppMisc.h22 status_t get_app_path(team_id team, char *buffer);
23 status_t get_app_path(char *buffer);
/haiku/headers/os/net/
H A DSocket.h30 virtual ssize_t Read(void* buffer, size_t size);
31 virtual ssize_t Write(const void* buffer, size_t size);
/haiku/src/kits/debugger/arch/x86/disasm/
H A DDisassemblerX86.cpp106 char buffer[256]; local
107 snprintf(buffer, sizeof(buffer), "0x%08" B_PRIx32 ": %16.16s %s", address,
111 line = buffer;
165 char buffer[256]; local
166 snprintf(buffer, sizeof(buffer), "0x%08" B_PRIx32 ": %16.16s %s", address,
170 if (!_info.SetTo(address, targetAddress, size, type, true, buffer))
/haiku/headers/private/fs_shell/
H A Dfssh_fs_attr.h24 uint32_t type, fssh_off_t pos, void *buffer,
27 uint32_t type, fssh_off_t pos, const void *buffer,
/haiku/headers/build/os/kernel/
H A Dfs_attr.h25 off_t pos, void *buffer, size_t readBytes);
27 off_t pos, const void *buffer, size_t readBytes);
/haiku/headers/libs/print/libprint/
H A DTransport.h40 void Write(const void *buffer, size_t size)
42 void Read(void *buffer, size_t size)
/haiku/headers/private/notification/
H A DAppUsage.h29 virtual status_t Flatten(void* buffer, ssize_t numBytes) const;
33 virtual status_t Unflatten(type_code code, const void* buffer,
/haiku/src/add-ons/kernel/drivers/ports/usb_serial/
H A DFTDI.h43 virtual void OnRead(char **buffer, size_t *numBytes);
44 virtual void OnWrite(const char *buffer, size_t *numBytes,
/haiku/src/build/libgnuregex/
H A Dregex.h135 stored in the pattern buffer, so changing this does not affect
276 the pattern compiler, the fields `buffer', `allocated', `fastmap',
287 unsigned char *buffer;
289 /* Number of bytes to which `buffer' points. */
292 /* Number of bytes actually used in `buffer'. */
371 /* If `regs_allocated' is REGS_UNALLOCATED in the pattern buffer,
414 and syntax given by the global `re_syntax_options', into the buffer
418 struct re_pattern_buffer *buffer));
424 extern int re_compile_fastmap _RE_ARGS ((struct re_pattern_buffer *buffer));
433 _RE_ARGS ((struct re_pattern_buffer *buffer, cons
284 unsigned char *buffer; member in struct:re_pattern_buffer
[all...]
/haiku/src/system/libroot/posix/sys/
H A Dxsi_msg_queue.cpp25 msgctl(int messageQueueID, int command, struct msqid_ds *buffer) argument
27 RETURN_AND_SET_ERRNO(_kern_xsi_msgctl(messageQueueID, command, buffer));
/haiku/src/system/boot/loader/file_systems/amiga_ffs/
H A DFile.h26 virtual ssize_t ReadAt(void *cookie, off_t pos, void *buffer, size_t bufferSize);
27 virtual ssize_t WriteAt(void *cookie, off_t pos, const void *buffer, size_t bufferSize);
/haiku/src/system/boot/loader/file_systems/bfs/
H A DFile.h26 virtual ssize_t ReadAt(void *cookie, off_t pos, void *buffer, size_t bufferSize);
27 virtual ssize_t WriteAt(void *cookie, off_t pos, const void *buffer, size_t bufferSize);
/haiku/src/tests/kits/support/
H A Dcompression_test.cpp202 uint8 buffer[64 * 1024]; local
203 ssize_t bytesRead = inputStream->Read(buffer, sizeof(buffer));
212 error = outputFile.WriteExactly(buffer, bytesRead);
238 uint8 buffer[64 * 1024]; local
239 ssize_t bytesRead = inputFile.Read(buffer, sizeof(buffer));
248 error = outputStream->WriteExactly(buffer, bytesRead);
/haiku/src/add-ons/kernel/drivers/graphics/radeon_hd/
H A Ddevice.cpp45 void* buffer, size_t length);
47 void* buffer, size_t* length);
49 const void* buffer, size_t* length);
181 device_ioctl(void* data, uint32 op, void* buffer, size_t bufferLength) argument
188 if (user_strlcpy((char*)buffer, RADEON_ACCELERANT_NAME,
197 if (user_memcpy(&data, buffer, sizeof(radeon_get_private_data)) < B_OK)
202 return user_memcpy(buffer, &data,
210 if (user_strlcpy((char*)buffer, gDeviceNames[info->id],
227 void* /*buffer*/, size_t *_length)
236 const void* /*buffer*/, size_
[all...]
/haiku/src/system/kernel/slab/
H A Dslab_private.h57 slab_internal_free(void* buffer, uint32 flags) argument
59 free_etc(buffer, flags);
/haiku/src/add-ons/kernel/network/ppp/shared/libkernelppp/
H A DKPPPConfigurePacket.cpp179 net_buffer *buffer = gBufferModule->create(256); local
180 if (buffer == NULL) {
186 status_t status = gBufferModule->append_size(buffer, 1492, (void **)&header);
189 gBufferModule->free(buffer);
204 gBufferModule->free(buffer);
215 status = gBufferModule->trim(buffer, length);
218 gBufferModule->free(buffer);
222 return buffer;
/haiku/src/system/boot/platform/openfirmware/
H A Dmenu.cpp58 platform_get_user_input_text(Menu *menu, MenuItem *item, char *buffer, argument
61 return platform_generic_get_user_input_text(menu, item, buffer,
/haiku/src/add-ons/kernel/drivers/input/hid_shared/
H A DMouseProtocolHandler.h33 virtual status_t Control(uint32 *cookie, uint32 op, void *buffer,
37 status_t _ReadReport(void *buffer, uint32 *cookie);

Completed in 264 milliseconds

<<21222324252627282930>>