Searched refs:pos (Results 126 - 150 of 800) sorted by relevance

1234567891011>>

/haiku-fatelf/src/bin/less/
H A Dsearch.c267 POSITION pos; local
291 pos = position(slinenum);
292 if (pos == NULL_POSITION)
305 if (is_hilited(pos, epos, 1, NULL))
308 (void) forw_line(pos);
327 POSITION pos; local
347 pos = position(slinenum);
348 if (pos == NULL_POSITION)
351 if (pos < old_end_attnpos &&
354 (void) forw_line(pos);
970 POSITION pos; local
1244 POSITION pos; local
[all...]
H A Dinput.c378 set_attnpos(pos)
379 POSITION pos;
383 if (pos != NULL_POSITION)
385 if (ch_seek(pos))
394 pos++;
397 start_attnpos = pos;
401 pos++;
405 end_attnpos = pos;
/haiku-fatelf/src/add-ons/translators/exr/openexr/ilmimf/
H A DImfStdIO.cpp137 StdIFStream::seekg (Int64 pos) argument
139 _is->seekg (pos);
197 StdOFStream::seekp (Int64 pos) argument
199 _os->seekp (pos);
227 StdOSStream::seekp (Int64 pos) argument
229 _os.seekp (pos);
/haiku-fatelf/src/add-ons/translators/hpgs/
H A DReadHelper.h64 positionio_tell(my_hpgs_istream *stream, size_t *pos) argument
66 *pos = stream->buffer->Position();
72 positionio_seek(my_hpgs_istream *stream, size_t pos) argument
74 stream->buffer->Seek(pos, SEEK_SET);
80 positionio_seekend(my_hpgs_istream *stream, size_t pos) argument
82 stream->buffer->Seek(pos, SEEK_END);
/haiku-fatelf/src/apps/cdplayer/
H A DCDAudioDevice.cpp347 scsi_position pos; local
354 status_t result = ioctl(fFileHandle, B_SCSI_GET_POSITION, &pos);
357 else if ((!pos.position[1]) || (pos.position[1] >= 0x13) ||
358 ((pos.position[1] == 0x12) && (!pos.position[6])))
360 else if (pos.position[1] == 0x11)
384 scsi_position pos; local
392 status_t result = ioctl(fFileHandle, B_SCSI_GET_POSITION, &pos);
396 if (!pos
502 scsi_position pos; local
[all...]
/haiku-fatelf/src/apps/icon-o-matic/generic/gui/
H A DNummericalTextView.cpp180 int32 pos = 0; local
181 while (text[pos]) {
184 && pos == selectionStart) {
185 pos = selectionEnd;
187 if (text[pos] == c) {
191 pos++;
/haiku-fatelf/src/system/boot/loader/file_systems/bfs/
H A DStream.cpp199 Stream::FindBlockRun(off_t pos, block_run& run, off_t& offset) argument
203 if (data.MaxDirectRange() > 0 && pos >= data.MaxDirectRange()) {
205 && pos >= data.MaxIndirectRange()) {
216 off_t start = pos - data.MaxIndirectRange();
259 if (runBlockEnd > pos) {
282 if (runBlockEnd > pos) {
289 //PRINT(("FindBlockRun() failed in direct range: size = %Ld, pos = %Ld\n",data.size,pos));
297 Stream::ReadAt(off_t pos, uint8* buffer, size_t* _length) argument
299 // set/check boundaries for pos/lengt
[all...]
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);
H A DLink.cpp47 Link::ReadAt(void *cookie, off_t pos, void *buffer, size_t bufferSize) argument
54 Link::WriteAt(void *cookie, off_t pos, const void *buffer, size_t bufferSize) argument
/haiku-fatelf/src/system/boot/platform/u-boot/
H A Dconsole.cpp22 virtual ssize_t ReadAt(void *cookie, off_t pos, void *buffer, size_t bufferSize);
23 virtual ssize_t WriteAt(void *cookie, off_t pos, const void *buffer, size_t bufferSize);
38 virtual ssize_t ReadAt(void *cookie, off_t pos, void *buffer, size_t bufferSize);
39 virtual ssize_t WriteAt(void *cookie, off_t pos, const void *buffer, size_t bufferSize);
64 Console::ReadAt(void *cookie, off_t pos, void *buffer, size_t bufferSize) argument
73 Console::WriteAt(void *cookie, off_t /*pos*/, const void *buffer, size_t bufferSize)
135 SerialConsole::ReadAt(void *cookie, off_t pos, void *buffer, size_t bufferSize) argument
144 SerialConsole::WriteAt(void *cookie, off_t /*pos*/, const void *buffer, size_t bufferSize)
/haiku-fatelf/src/add-ons/media/plugins/au_reader/
H A Dau_reader.cpp312 int64 pos; local
316 pos = (*frame * fBitsPerFrame) / 8;
318 pos = (*frame * fDataSize) / fFrameCount;
319 pos = (pos / fBlockAlign) * fBlockAlign; // round down to a block start
320 TRACE("auReader::Seek to frame %Ld, pos %Ld\n", *frame, pos);
323 pos = (*time * fFrameRate * fBitsPerFrame) / (1000000LL * 8);
325 pos = (*time * fDataSize) / fDuration;
326 pos
[all...]
/haiku-fatelf/src/add-ons/kernel/file_systems/btrfs/
H A DInode.cpp141 Inode::FindBlock(off_t pos, off_t& physical, off_t *_length) argument
146 search_key.SetOffset(pos + 1);
159 off_t diff = pos - search_key.Offset();
169 pos, physical);
177 Inode::ReadAt(off_t pos, uint8* buffer, size_t* _length) argument
181 // set/check boundaries for pos/length
182 if (pos < 0) {
183 ERROR("inode %" B_PRIdINO ": ReadAt failed(pos %lld, length %lu)\n",
184 ID(), pos, length);
188 if (pos >
[all...]
/haiku-fatelf/src/apps/serialconnect/libvterm/src/
H A Dencoding.c32 const char bytes[], size_t *pos, size_t bytelen)
40 for( ; *pos < bytelen; (*pos)++) {
41 unsigned char c = bytes[*pos];
44 printf(" pos=%zd c=%02x rem=%d\n", *pos, c, data->bytes_remaining);
158 const char bytes[], size_t *pos, size_t bytelen)
160 for(; *pos < bytelen; (*pos)++) {
161 unsigned char c = bytes[*pos];
30 decode_utf8(VTermEncoding *enc, void *data_, uint32_t cp[], int *cpi, int cplen, const char bytes[], size_t *pos, size_t bytelen) argument
156 decode_usascii(VTermEncoding *enc, void *data, uint32_t cp[], int *cpi, int cplen, const char bytes[], size_t *pos, size_t bytelen) argument
179 decode_table(VTermEncoding *enc, void *data, uint32_t cp[], int *cpi, int cplen, const char bytes[], size_t *pos, size_t bytelen) argument
[all...]
/haiku-fatelf/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Dlogfile.c49 * @pos: position in logfile at which the restart page header resides
57 static BOOL ntfs_check_restart_page_header(RESTART_PAGE_HEADER *rp, s64 pos) argument
79 * We must be either at !pos (1st restart page) or at pos = system page
82 if (pos && pos != logfile_system_page_size) {
329 * @pos: position in @log_na at which the restart page resides
353 RESTART_PAGE_HEADER *rp, s64 pos, RESTART_PAGE_HEADER **wrp,
362 if (!ntfs_check_restart_page_header(rp, pos)) {
386 else if (ntfs_attr_pread(log_na, pos,
352 ntfs_check_and_load_restart_page(ntfs_attr *log_na, RESTART_PAGE_HEADER *rp, s64 pos, RESTART_PAGE_HEADER **wrp, LSN *lsn) argument
465 s64 size, pos; local
701 s64 pos, count; local
[all...]
/haiku-fatelf/headers/build/os/kernel/
H A Dfs_attr.h24 off_t pos, void *buffer, size_t readBytes);
26 off_t pos, const void *buffer, size_t readBytes);
/haiku-fatelf/headers/os/kernel/
H A Dfs_attr.h24 off_t pos, void *buffer, size_t readBytes);
26 off_t pos, const void *buffer, size_t readBytes);
/haiku-fatelf/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-fatelf/headers/private/storage/
H A DOffsetFile.h45 ssize_t ReadAt(off_t pos, void *buffer, size_t size);
46 ssize_t WriteAt(off_t pos, const void *buffer,
/haiku-fatelf/src/add-ons/mail_daemon/inbound_protocols/pop3/
H A DMessageIO.h23 virtual ssize_t ReadAt(off_t pos, void* buffer,
25 virtual ssize_t WriteAt(off_t pos, const void* buffer,
/haiku-fatelf/src/add-ons/media/media-add-ons/usb_webcam/
H A DCamBufferedFilterInterface.h20 virtual ssize_t ReadAt(off_t pos, void *buffer, size_t size);
23 virtual ssize_t WriteAt(off_t pos, const void *buffer, size_t size);
/haiku-fatelf/src/add-ons/media/plugins/avi_reader/libOpenDML/
H A DIndex.cpp123 int64 pos = 0; local
129 lastKeyframePos = pos;
132 pos, frame_pos);
137 if (pos == frame_pos) {
147 if (pos >= frame_pos && pos == lastKeyframePos) {
155 if (pos == frame_pos) {
161 pos++;
171 TRACE("seek done: index: pos %Ld\n", data->current_chunk);
201 printf("index %ld Frame %Ld, pos
[all...]
/haiku-fatelf/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-fatelf/src/system/kernel/device_manager/
H A DBaseDevice.cpp75 BaseDevice::Read(void* cookie, off_t pos, void* buffer, size_t* _length) argument
82 BaseDevice::Write(void* cookie, off_t pos, const void* buffer, size_t* _length) argument
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/dos/r5/
H A Dattr.h18 size_t *len, off_t pos);
20 const void *buf, size_t *len, off_t pos);
/haiku-fatelf/src/tools/restest/
H A DOffsetFile.h21 ssize_t ReadAt(off_t pos, void *buffer, size_t size);
22 ssize_t WriteAt(off_t pos, const void *buffer,

Completed in 215 milliseconds

1234567891011>>