/haiku-fatelf/src/system/libroot/os/ |
H A D | fs_attr.cpp | 49 fs_read_attr(int fd, const char* attribute, uint32 /*type*/, off_t pos, argument 52 ssize_t bytes = _kern_read_attr(fd, attribute, pos, buffer, readBytes); 58 fs_write_attr(int fd, const char* attribute, uint32 type, off_t pos, argument 64 // On BeOS, it was documented that the "pos" argument is ignored, however, 79 ssize_t bytes = _kern_write_attr(fd, attribute, type, pos, buffer,
|
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/beserved/server-1.2.6/ |
H A D | sessions.h | 17 off_t pos; member in struct:btblock
|
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/bfs/btree/ |
H A D | Inode.cpp | 30 Inode::FindBlockRun(off_t pos, block_run &run, off_t &offset) argument
|
/haiku-fatelf/src/tools/fs_shell/ |
H A D | fd.h | 23 fssh_status_t (*fd_read)(struct file_descriptor *, fssh_off_t pos, 25 fssh_status_t (*fd_write)(struct file_descriptor *, fssh_off_t pos, 27 fssh_off_t (*fd_seek)(struct file_descriptor *, fssh_off_t pos, 58 fssh_off_t pos; member in struct:FSShell::file_descriptor
|
/haiku-fatelf/src/add-ons/kernel/file_systems/ntfs/ |
H A D | volume_util.c | 72 off_t pos = 0; local 88 while( pos < data->data_size) 90 if( pos % vol->cluster_size == 0) 92 readed = ntfs_attr_pread(vol->lcnbmp_na, pos, min(data->data_size - pos, vol->cluster_size), buf); 94 if(readed != min(data->data_size - pos, vol->cluster_size)) 98 free_clusters += ntfs_count_bits( buf[pos%vol->cluster_size], min( (vol->nr_clusters) - (pos * 8), 8)); 99 pos++;
|
/haiku-fatelf/src/kits/storage/sniffer/ |
H A D | Parser.cpp | 67 Token::Token(TokenType type, const ssize_t pos) argument 69 , fPos(pos) 155 StringToken::StringToken(const std::string &str, const ssize_t pos) argument 156 : Token(CharacterString, pos) 173 IntToken::IntToken(const int32 value, const ssize_t pos) argument 174 : Token(Integer, pos) 196 FloatToken::FloatToken(const double value, const ssize_t pos) argument 197 : Token(FloatingPoint, pos) 275 ssize_t pos = stream.Pos(); local 279 startPos = pos; 750 AddToken(TokenType type, ssize_t pos) argument 756 AddString(const std::string &str, ssize_t pos) argument 762 AddInt(const char *str, ssize_t pos) argument 770 AddFloat(const char *str, ssize_t pos) argument 970 ssize_t pos = err && (err->Pos() >= 0) ? err->Pos() : 0; local 1253 ThrowOutOfMemError(ssize_t pos) argument [all...] |
/haiku-fatelf/src/add-ons/media/plugins/wav_reader/ |
H A D | WavReaderPlugin.cpp | 124 int64 pos = 0; local 128 if (sizeof(riff) != Source()->ReadAt(pos, &riff, sizeof(riff))) { 132 pos += sizeof(riff); 157 while (pos + sizeof(chunk_struct) <= fFileSize) { 159 if (sizeof(chunk) != Source()->ReadAt(pos, &chunk, sizeof(chunk))) { 163 pos += sizeof(chunk); 174 if (wavFmtSize != Source()->ReadAt(pos, &format, wavFmtSize)) { 182 if ((wavFmtSize + format.extra_size) != Source()->ReadAt(pos, &format, wavFmtSize + format.extra_size)) { 192 if (sizeof(mpeg3_format) != Source()->ReadAt(pos, &mpeg3_format, sizeof(mpeg3_format))) { 200 if (sizeof(format_ext) != Source()->ReadAt(pos, 520 int64 pos; local 538 int64 pos; local [all...] |
/haiku-fatelf/src/apps/serialconnect/libvterm/src/ |
H A D | screen.c | 159 static int putglyph(const uint32_t chars[], int width, VTermPos pos, void *user) argument 162 ScreenCell *cell = getcell(screen, pos.row, pos.col); 167 .start_row = pos.row, 168 .end_row = pos.row+1, 169 .start_col = pos.col, 170 .end_col = pos.col+width, 181 getcell(screen, pos.row, pos.col + col)->chars[0] = (uint32_t)-1; 307 static int movecursor(VTermPos pos, VTermPo argument 573 vterm_screen_get_cell(VTermScreen *screen, VTermPos pos, VTermScreenCell *cell) argument 602 vterm_screen_is_eol(VTermScreen *screen, VTermPos pos) argument [all...] |
/haiku-fatelf/src/libs/stdc++/legacy/ |
H A D | editbuf.cc | 107 void edit_buffer::move_gap(buf_offset pos) argument 109 if (pos < size1()) 110 gap_left (pos); 111 else if (pos > size1()) 112 gap_right (pos); 115 void edit_buffer::gap_left (int pos) argument 132 i = new_s1 - pos; 140 pos = new_s1; 155 adjust_markers (pos << 1, size1() << 1, gap_size(), data); 157 _gap_start = data + pos; 166 gap_right(int pos) argument [all...] |
/haiku-fatelf/src/documentation/docbook-xsl/extensions/xalan2/com/nwalsh/xalan/ |
H A D | Table.java | 119 int pos = 0; 127 if (lench[pos] == '+' || lench[pos] == '-') { 128 if (lench[pos] == '-') { 131 pos++; 135 if (pos >= lench.length) { 138 if ((lench[pos] > '9' || lench[pos] < '0') && lench[pos] != '.') { 140 units = length.substring(pos); [all...] |
/haiku-fatelf/src/documentation/docbook-xsl/extensions/xalan27/src/com/nwalsh/xalan/ |
H A D | Table.java | 126 int pos = 0; 134 if (lench[pos] == '+' || lench[pos] == '-') { 135 if (lench[pos] == '-') { 138 pos++; 142 if (pos >= lench.length) { 145 if ((lench[pos] > '9' || lench[pos] < '0') && lench[pos] != '.') { 147 units = length.substring(pos); [all...] |
/haiku-fatelf/src/documentation/docbook-xsl/extensions/saxon643/com/nwalsh/saxon/ |
H A D | CalloutEmitter.java | 138 int pos = 0; 190 int pos = 0; 195 if (pos > 0) { 196 rtfEmitter.characters(newChars, 0, pos); 197 pos = 0; 218 if (pos > 0) { 219 rtfEmitter.characters(newChars, 0, pos); 220 pos = 0; 246 newChars[pos++] = chars[count]; 249 if (pos > [all...] |
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/fs_shell/ |
H A D | sysdep.c | 151 off_t pos = (off_t)_pos; local 154 if (lseek(fd, pos, SEEK_SET) < 0) { 173 off_t pos = (off_t)_pos; local 176 if (lseek(fd, pos, SEEK_SET) < 0) { 207 off_t pos = (off_t)_pos; local 213 if (lseek(fd, pos, SEEK_SET) < 0) { 242 off_t pos = (off_t)_pos; local 248 if (lseek(fd, pos, SEEK_SET) < 0) { 328 ssize_t build_platform_read_pos(int fd, fs_off_t pos, void *buf, size_t count); 331 build_platform_read_pos(int fd, fs_off_t pos, voi argument [all...] |
/haiku-fatelf/src/add-ons/accelerants/intel_extreme/ |
H A D | overlay.cpp | 135 int32 pos; local 137 pos = i + j * 32; 138 sum += rawCoefficients[pos]; 141 pos = i + j * 32; 142 coefficients[i][j] = rawCoefficients[pos] / sum; 147 pos = j + i * taps; 151 splitCoefficients[pos]); 173 pos = tap2Fix + i * taps; 177 splitCoefficients[pos]); 677 int32 pos local [all...] |
/haiku-fatelf/headers/os/drivers/ |
H A D | midi_driver.h | 61 status_t (*read_hook)(void* cookie, off_t pos, void* data, 63 status_t (*write_hook)(void* cookie, off_t pos, const void* data,
|
/haiku-fatelf/headers/os/support/ |
H A D | BufferIO.h | 20 virtual ssize_t ReadAt(off_t pos, void* buffer, size_t size); 21 virtual ssize_t WriteAt(off_t pos, const void* buffer,
|
/haiku-fatelf/headers/private/kernel/boot/ |
H A D | FileMapDisk.h | 54 virtual ssize_t ReadAt(void *cookie, off_t pos, void *buffer, 56 virtual ssize_t WriteAt(void *cookie, off_t pos, const void *buffer,
|
/haiku-fatelf/src/add-ons/kernel/debugger/demangle/ |
H A D | gcc2.cpp | 291 size_t pos = strlen(name) - 1; 294 while (pos > 1) { 295 if (name[pos] == '_') { 296 if (name[pos - 1] == '_') { 297 mangled = name + pos + 1; 300 pos--; 302 pos--; 314 *_symbolLength = pos - 1;
|
/haiku-fatelf/src/add-ons/kernel/drivers/audio/cmedia/ |
H A D | midi_driver.h | 104 status_t (*read_hook)(void * cookie, off_t pos, void * data, size_t * len); 105 status_t (*write_hook)(void * cookie, off_t pos, const void * data, size_t * len);
|
/haiku-fatelf/src/add-ons/kernel/drivers/common/ |
H A D | null.c | 49 null_read(void *cookie, off_t pos, void *buffer, size_t *_length) argument 57 null_write(void *cookie, off_t pos, const void *buffer, size_t *_length) argument
|
H A D | zero.c | 48 zero_read(void *cookie, off_t pos, void *buffer, size_t *_length) argument 58 zero_write(void *cookie, off_t pos, const void *buffer, size_t *_length) argument
|
/haiku-fatelf/src/add-ons/kernel/file_systems/bfs/ |
H A D | Attribute.h | 39 status_t Read(attr_cookie* cookie, off_t pos, uint8* buffer, 42 off_t pos, const uint8* buffer, size_t* _length,
|
/haiku-fatelf/src/add-ons/kernel/file_systems/exfat/ |
H A D | Inode.cpp | 193 Inode::FindBlock(off_t pos, off_t& physical, off_t *_length) argument 196 return stream.FindBlock(pos, physical, _length); 201 Inode::ReadAt(off_t pos, uint8* buffer, size_t* _length) argument 205 // set/check boundaries for pos/length 206 if (pos < 0) { 207 ERROR("inode %" B_PRIdINO ": ReadAt failed(pos %lld, length %lu)\n", 208 ID(), pos, length); 212 if (pos >= Size() || length == 0) { 213 TRACE("inode %" B_PRIdINO ": ReadAt 0 (pos %lld, length %lu)\n", 214 ID(), pos, lengt [all...] |
/haiku-fatelf/src/add-ons/kernel/file_systems/fat/ |
H A D | attr.h | 26 off_t pos, void *buffer, size_t *_length); 28 off_t pos, const void *buffer, size_t *_length);
|
/haiku-fatelf/src/add-ons/kernel/file_systems/netfs/server/ |
H A D | NodeHandle.cpp | 137 FileHandle::Read(off_t pos, void* buffer, size_t size, size_t* _bytesRead) argument 142 ssize_t bytesRead = read_pos(fFD, pos, buffer, size); 152 FileHandle::Write(off_t pos, const void* buffer, size_t size, argument 158 ssize_t bytesWritten = write_pos(fFD, pos, buffer, size); 168 FileHandle::ReadAttr(const char* name, uint32 type, off_t pos, void* buffer, argument 174 ssize_t bytesRead = fs_read_attr(fFD, name, type, pos, buffer, size); 184 FileHandle::WriteAttr(const char* name, uint32 type, off_t pos, argument 190 ssize_t bytesWritten = fs_write_attr(fFD, name, type, pos, buffer, size);
|