Searched refs:pos (Results 101 - 125 of 800) sorted by relevance

1234567891011>>

/haiku-fatelf/src/add-ons/media/media-add-ons/usb_webcam/
H A DCamBufferedFilterInterface.cpp31 CamBufferedFilterInterface::ReadAt(off_t pos, void *buffer, size_t size) argument
33 return fInternalBuffer.ReadAt(pos, buffer, size);
47 CamBufferedFilterInterface::WriteAt(off_t pos, const void *buffer, size_t size) argument
51 return fInternalBuffer.WriteAt(pos, buffer, size);
/haiku-fatelf/src/bin/makeudfimage/
H A DDataStream.h21 virtual ssize_t ReadAt(off_t pos, void *buffer, size_t size) = 0;
24 virtual ssize_t WriteAt(off_t pos, const void *buffer, size_t size) = 0;
27 virtual ssize_t WriteAt(off_t pos, BDataIO &data, size_t size) = 0;
30 virtual ssize_t ZeroAt(off_t pos, size_t size) = 0;
H A DEmbeddedStream.h24 virtual status_t _GetExtent(off_t pos, size_t size, data_extent &extent);
H A DPositionIOStream.h28 virtual ssize_t ReadAt(off_t pos, void *buffer, size_t size);
31 virtual ssize_t WriteAt(off_t pos, const void *buffer, size_t size);
34 virtual ssize_t WriteAt(off_t pos, BDataIO &data, size_t size);
37 virtual ssize_t ZeroAt(off_t pos, size_t size);
H A DSimulatedStream.cpp60 SimulatedStream::ReadAt(off_t pos, void *_buffer, size_t size) argument
67 error = _GetExtent(pos, size, extent);
73 pos += bytes;
121 \a pos in the stream without incrementing the stream's position marker.
124 SimulatedStream::WriteAt(off_t pos, const void *_buffer, size_t size) argument
131 error = _GetExtent(pos, size, extent);
137 pos += bytes;
185 \a pos in the stream without incrementing the stream's position marker.
188 SimulatedStream::WriteAt(off_t pos, BDataIO &data, size_t size) argument
194 error = _GetExtent(pos, siz
248 ZeroAt(off_t pos, size_t size) argument
275 Seek(off_t pos, uint32 seek_mode) argument
[all...]
H A DPositionIOStream.cpp28 PositionIOStream::ReadAt(off_t pos, void *buffer, size_t size) argument
30 return fStream.ReadAt(pos, buffer, size);
40 PositionIOStream::WriteAt(off_t pos, const void *buffer, size_t size) argument
42 return fStream.WriteAt(pos, buffer, size);
85 \a pos in the file without incrementing the file's position marker.
88 PositionIOStream::WriteAt(off_t pos, BDataIO &data, size_t size) argument
105 ssize_t bytesWritten = fStream.WriteAt(pos, buffer, bytesRead);
108 pos += bytesWritten;
157 /*! \brief Writes \a size bytes worth of zeros at position \a pos
161 PositionIOStream::ZeroAt(off_t pos, size_ argument
[all...]
/haiku-fatelf/src/system/boot/platform/amiga_m68k/
H A DHandle.cpp55 Handle::ReadAt(void *cookie, off_t pos, void *buffer, size_t bufferSize) argument
62 Handle::WriteAt(void *cookie, off_t pos, const void *buffer, size_t bufferSize) argument
98 CharHandle::ReadAt(void *cookie, off_t pos, void *buffer, size_t bufferSize) argument
109 CharHandle::WriteAt(void *cookie, off_t pos, const void *buffer, size_t bufferSize) argument
/haiku-fatelf/src/system/boot/platform/atari_m68k/
H A DHandle.cpp56 Handle::ReadAt(void *cookie, off_t pos, void *buffer, size_t bufferSize) argument
63 Handle::WriteAt(void *cookie, off_t pos, const void *buffer, size_t bufferSize) argument
99 CharHandle::ReadAt(void *cookie, off_t pos, void *buffer, size_t bufferSize) argument
116 CharHandle::WriteAt(void *cookie, off_t pos, const void *buffer, size_t bufferSize) argument
/haiku-fatelf/src/tests/kits/interface/menu/menuworld/
H A DViewLayoutFactory.cpp36 uint32 msgID, BPoint pos, corner posRef)
42 MoveViewCorner(*pButton, pos, posRef);
47 const char* label, uint32 msgID, BPoint pos, corner posRef)
53 MoveViewCorner(*pCheckBox, pos, posRef);
58 const char* label, const char* text, BPoint pos, float controlWidth,
69 LayoutTextControl(*pCtrl, pos, controlWidth, posRef);
74 BPoint pos, float controlWidth, corner posRef)
84 MoveViewCorner(control, pos, posRef);
92 void ViewLayoutFactory::MoveViewCorner(BView& view, BPoint pos, corner posRef) argument
98 topLeft = pos;
35 MakeButton(const char* name, const char* label, uint32 msgID, BPoint pos, corner posRef) argument
46 MakeCheckBox(const char* name, const char* label, uint32 msgID, BPoint pos, corner posRef) argument
57 MakeTextControl(const char* name, const char* label, const char* text, BPoint pos, float controlWidth, corner posRef) argument
73 LayoutTextControl(BTextControl& control, BPoint pos, float controlWidth, corner posRef) argument
[all...]
/haiku-fatelf/src/tests/kits/interface/pictureprint/
H A DDumpPrintJob.cpp63 BPoint pos; local
66 while (pjp.NextPicture(picture, pos, rect) == B_OK) {
68 pos.x, pos.y,
/haiku-fatelf/src/tools/fs_shell/
H A Dpartition_support.h22 int restricted_file_restrict_io(int fd, fssh_off_t& pos, fssh_off_t size);
H A Dfd.cpp44 fssh_dprintf("fd[%d] = %p: type = %d, ref_count = %d, ops = %p, u.vnode = %p, u.mount = %p, cookie = %p, open_mode = %x, pos = %Ld\n",
46 descriptor->u.vnode, descriptor->u.mount, descriptor->cookie, (int)descriptor->open_mode, descriptor->pos);
67 descriptor->pos = 0;
469 _kern_read(int fd, fssh_off_t pos, void *buffer, fssh_size_t length) argument
482 if (pos == -1)
483 pos = descriptor->pos;
486 bytesRead = descriptor->ops->fd_read(descriptor, pos, buffer, &length);
493 descriptor->pos = pos
504 _kern_readv(int fd, fssh_off_t pos, const fssh_iovec *vecs, fssh_size_t count) argument
548 _kern_write(int fd, fssh_off_t pos, const void *buffer, fssh_size_t length) argument
583 _kern_writev(int fd, fssh_off_t pos, const fssh_iovec *vecs, fssh_size_t count) argument
627 _kern_seek(int fd, fssh_off_t pos, int seekType) argument
[all...]
H A Ddriver_settings.cpp141 char *pos = *_pos; local
148 while (pos[0]
149 && ((allowNewLine && (isspace(pos[0]) || is_parameter_separator(pos[0])
150 || pos[0] == '#'))
151 || (!allowNewLine && (pos[0] == '\t' || pos[0] == ' '))
152 || (assignmentMode == ALLOW_ASSIGNMENT && pos[0] == '='))) {
154 if (pos[0] == '#') {
155 while (pos[
250 char *pos = *_pos; local
[all...]
/haiku-fatelf/src/tests/kits/interface/picture/
H A DSVGViewView.cpp485 BPoint pos, startPos;
500 pos.Set(startPos.x, startPos.y);
511 pos.Set(x, y);
513 startPos = pos;
514 shape.MoveTo(pos);
522 pos.x += x;
523 pos.y += y;
525 startPos = pos;
526 shape.MoveTo(pos);
534 pos
484 BPoint pos, startPos; local
[all...]
/haiku-fatelf/src/tests/kits/game/push_game_sound_test/
H A Dpush_game_sound_sine.cpp80 for(size_t pos = 0; pos < sampleCount; pos++)
82 *(int16_t*)(buffer + pos * sizeof(int16_t))
83 = (int16_t)(2000 * sin(pos * gsFormat.frame_rate
/haiku-fatelf/src/apps/serialconnect/
H A DTermView.cpp54 VTermPos pos; local
61 for (pos.row = updatedChars.start_row; pos.row <= updatedChars.end_row;
62 pos.row++) {
64 float y = pos.row * fFontHeight + height.ascent + kBorderSpacing;
67 for (pos.col = updatedChars.start_col;
68 pos.col <= updatedChars.end_col;) {
69 if (pos.col < 0 || pos.row < 0 || pos
[all...]
/haiku-fatelf/src/add-ons/kernel/file_systems/udf/
H A DIcb.cpp219 off_t pos = logicalBlock << fVolume->BlockShift(); local
220 if (uint64(pos) >= Length()) {
225 DEBUG_INIT_ETC("Icb", ("pos: %lld", pos));
238 status = list.FindExtent(pos, &extent, &isEmpty);
241 "status = 0x%lx `%s'\n", pos, status, strerror(status)));
250 status = list.FindExtent(pos, &extent, &isEmpty);
253 "status = 0x%lx `%s'\n", pos, status, strerror(status)));
262 // RETURN(_Read(list, pos, buffer, length, block));
291 Icb::Read(off_t pos, voi argument
357 _Read(DescriptorList &list, off_t pos, void *_buffer, size_t *length, uint32 *block) argument
[all...]
/haiku-fatelf/src/apps/icon-o-matic/generic/gui/panel/color_picker/
H A DAlphaSlider.cpp199 float pos = floorf(b.left + Value() * b.Width() / 255.0 + 0.5); local
201 if (pos - 2 >= b.left) {
203 StrokeLine(BPoint(pos - 2, b.top), BPoint(pos - 2, b.bottom));
205 if (pos - 1 >= b.left) {
207 StrokeLine(BPoint(pos - 1, b.top), BPoint(pos - 1, b.bottom));
209 if (pos + 1 <= b.right) {
211 StrokeLine(BPoint(pos + 1, b.top), BPoint(pos
218 float pos = floorf(b.top + Value() * b.Height() / 255.0 + 0.5); local
[all...]
/haiku-fatelf/src/bin/gdb/gdb/
H A Dexpprint.c52 print_subexp (struct expression *exp, int *pos, argument
55 exp->language_defn->la_exp_desc->print_subexp (exp, pos, stream, prec);
61 print_subexp_standard (struct expression *exp, int *pos, argument
78 pc = (*pos)++;
90 (*pos) += 4 + BYTES_TO_EXP_ELEM (nargs + 1);
95 (*pos) += 3;
102 (*pos) += 3;
111 (*pos) += 3;
125 (*pos) += 2;
135 (*pos)
[all...]
/haiku-fatelf/headers/private/storage/sniffer/
H A DParser.h72 Token(TokenType type = EmptyToken, const ssize_t pos = -1);
92 StringToken(const std::string &str, const ssize_t pos);
106 IntToken(const int32 value, const ssize_t pos);
120 FloatToken(const double value, const ssize_t pos);
157 void AddToken(TokenType type, ssize_t pos);
158 void AddString(const std::string &str, ssize_t pos);
159 void AddInt(const char *str, ssize_t pos);
160 void AddFloat(const char *str, ssize_t pos);
283 inline void ThrowOutOfMemError(ssize_t pos);
/haiku-fatelf/src/kits/network/libbind/isc/
H A Dbase64.c207 char *pos; local
219 pos = strchr(Base64, ch);
220 if (pos == 0) /*%< A non-base64 character. */
228 target[tarindex] = (pos - Base64) << 2;
236 target[tarindex] |= (pos - Base64) >> 4;
237 target[tarindex+1] = ((pos - Base64) & 0x0f)
247 target[tarindex] |= (pos - Base64) >> 2;
248 target[tarindex+1] = ((pos - Base64) & 0x03)
258 target[tarindex] |= (pos - Base64);
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/random_read/
H A Drandom_read.cpp88 off_t pos = rand() % size; local
91 off_t max = size - pos;
97 ssize_t bytesRead = file.ReadAt(pos, buffer, bytes);
100 bytes, pos, strerror(bytesRead));
103 bytesRead, bytes, pos);
108 off_t bufferPos = pos;
130 "%ld, should be %08lx, is %08lx)!\n", pos, bytes,
148 "is %08lx)!\n", pos, bytes, bufferPos, num, *numBuffer);
174 "%ld, should be %08lx, is %08lx)!\n", pos, bytes,
/haiku-fatelf/src/add-ons/kernel/file_systems/ext2/
H A DInodeAllocator.cpp151 uint32 pos = 0; local
153 fVolume->InodesPerGroup(), pos);
157 if (fVolume->HasChecksumFeature() && pos > (fVolume->InodesPerGroup() - 1
159 group->SetUnusedInodes(fVolume->InodesPerGroup() - 1 - pos,
167 id = pos + blockGroup * fVolume->InodesPerGroup() + 1;
175 uint32 blockGroup, uint32 numInodes, uint32& pos)
185 pos = 0;
186 inodeBitmap.FindNextUnmarked(pos);
188 if (pos == inodeBitmap.NumBits()) {
195 if (!inodeBitmap.Mark(pos,
174 _MarkInBitmap(Transaction& transaction, fsblock_t bitmapBlock, uint32 blockGroup, uint32 numInodes, uint32& pos) argument
216 uint32 pos = (id - 1) % fVolume->InodesPerGroup(); local
[all...]
/haiku-fatelf/src/apps/serialconnect/libvterm/src/
H A Dparser.c192 size_t pos = 0; local
209 #define ENTER_STRING_STATE(st) do { vt->parser_state = st; string_start = bytes + pos + 1; } while(0)
212 for( ; pos < len; pos++) {
213 unsigned char c = bytes[pos];
217 append_strbuffer(vt, string_start, bytes + pos - string_start);
218 string_start = bytes + pos + 1;
241 append_strbuffer(vt, string_start, bytes + pos - string_start);
244 string_start = bytes + pos + 1;
258 do_string(vt, string_start, bytes + pos
[all...]
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/userlandfs/r5/src/shared/
H A Ddriver_settings.c131 char *pos = *_pos; local
138 while (pos[0]
139 && ((allowNewLine && (isspace(pos[0]) || is_parameter_separator(pos[0]) || pos[0] == '#'))
140 || (!allowNewLine && (pos[0] == '\t' || pos[0] == ' '))
141 || (assignmentMode == ALLOW_ASSIGNMENT && pos[0] == '='))) {
143 if (pos[0] == '#') {
144 while (pos[
239 char *pos = *_pos; local
[all...]

Completed in 230 milliseconds

1234567891011>>