Searched refs:pos (Results 76 - 100 of 800) sorted by relevance

1234567891011>>

/haiku-fatelf/src/bin/gdb/opcodes/
H A Dm68hc11-dis.c76 int pos = 1; local
142 status = read_memory (memaddr + pos, &buffer[0], 2, info);
148 pos += 2;
166 status = read_memory (memaddr + pos,
176 pos += 2;
184 pos++;
219 return pos;
230 long format, pos, i; local
244 pos = 0;
249 pos
[all...]
/haiku-fatelf/src/add-ons/input_server/methods/pen/compat/
H A DStringIO.h25 virtual ssize_t ReadAt(off_t pos, void *buffer, size_t size);
26 virtual ssize_t WriteAt(off_t pos, const void *buffer, size_t size);
28 virtual off_t Seek(off_t pos, uint32 seek_mode);
/haiku-fatelf/src/add-ons/print/drivers/pdf/source/
H A DLink.cpp70 int pos = 0; local
72 DetectLink(pos);
75 pos = fEndPos;
130 int pos = INT_MAX; local
137 if (p >= start && p < pos) {
138 pos = p;
143 if (pos != INT_MAX) {
144 fStartPos = pos;
145 fEndPos = pos + strlen(prefix);
153 pos
382 BPoint pos = seg->Start(); local
[all...]
/haiku-fatelf/src/tests/kits/mail/
H A Dheader_test.cpp93 for (int pos = 0; pos < bytesRead; pos++) {
101 if (!memcmp(&buffer[pos], gDefaultFields[i].rfc_name,
102 fieldLength) && buffer[pos + fieldLength] == ':') {
104 pos += fieldLength + 1;
105 fieldStart = pos;
112 while (pos < bytesRead && buffer[pos] != '\n')
113 pos
[all...]
/haiku-fatelf/src/add-ons/kernel/drivers/audio/cmedia/
H A Djoy.c18 static status_t joy_read(void *cookie, off_t pos, void *data, size_t *len);
19 static status_t joy_write(void *cookie, off_t pos, const void *data, size_t *len);
95 off_t pos,
99 return (*gameport->read_hook)(cookie, pos, data, nread);
106 off_t pos,
110 return (*gameport->write_hook)(cookie, pos, data, nwritten);
93 joy_read( void * cookie, off_t pos, void * data, size_t * nread) argument
104 joy_write( void * cookie, off_t pos, const void * data, size_t * nwritten) argument
/haiku-fatelf/src/add-ons/kernel/drivers/audio/emuxki/
H A Djoy.c21 static status_t joy_read(void *cookie, off_t pos, void *data, size_t *len);
22 static status_t joy_write(void *cookie, off_t pos, const void *data, size_t *len);
85 joy_read(void * cookie, off_t pos, void * data, size_t * nread) argument
87 return (*gameport->read_hook)(cookie, pos, data, nread);
92 joy_write(void * cookie, off_t pos, const void * data, size_t * nwritten) argument
94 return (*gameport->write_hook)(cookie, pos, data, nwritten);
/haiku-fatelf/src/add-ons/translators/gif/
H A DSFHash.cpp39 int pos = item->key % size; local
41 if (main_array[pos] == NULL) {
42 main_array[pos] = item;
45 HashItem *temp = main_array[pos];
54 int pos = key % size; local
55 HashItem *item = main_array[pos];
/haiku-fatelf/src/add-ons/translators/jpeg2000/libjasper/
H A Djas_tvp.c152 tvp->pos = tvp->buf;
178 p = tvp->pos;
186 tvp->pos = p;
208 tvp->pos = p;
220 tvp->pos = p;
235 tvp->pos = p;
/haiku-fatelf/src/system/boot/platform/amiga_m68k/
H A DHandle.h22 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);
59 virtual ssize_t ReadAt(void *cookie, off_t pos, void *buffer, size_t bufferSize);
60 virtual ssize_t WriteAt(void *cookie, off_t pos, const void *buffer, size_t bufferSize);
/haiku-fatelf/src/bin/gdb/gdb/
H A Deval.c69 int *pos, enum noside noside)
72 (expect_type, exp, pos, noside);
180 get_label (struct expression *exp, int *pos)
182 if (exp->elts[*pos].opcode == OP_LABELED)
184 int pc = (*pos)++;
187 (*pos) += 3 + BYTES_TO_EXP_ELEM (tem + 1);
200 int *pos, enum noside noside, int nargs)
210 int pc = *pos;
217 while (get_label (exp, pos) != NULL)
308 val = evaluate_subexp (field_type, exp, pos, nosid
68 evaluate_subexp(struct type *expect_type, struct expression *exp, int *pos, enum noside noside) argument
178 get_label(struct expression *exp, int *pos) argument
196 evaluate_struct_tuple(struct value *struct_val, struct expression *exp, int *pos, enum noside noside, int nargs) argument
339 init_array_element(struct value *array, struct value *element, struct expression *exp, int *pos, enum noside noside, LONGEST low_bound, LONGEST high_bound) argument
380 evaluate_subexp_standard(struct type *expect_type, struct expression *exp, int *pos, enum noside noside) argument
2077 evaluate_subexp_for_address(struct expression *exp, int *pos, enum noside noside) argument
2157 evaluate_subexp_with_coercion(struct expression *exp, int *pos, enum noside noside) argument
2194 evaluate_subexp_for_sizeof(struct expression *exp, int *pos) argument
[all...]
/haiku-fatelf/src/system/kernel/fs/
H A Dfd.cpp104 "u.mount = %p, cookie = %p, open_mode = %lx, pos = %Ld\n",
107 descriptor->cookie, descriptor->open_mode, descriptor->pos);
127 descriptor->pos = 0;
715 common_user_io(int fd, off_t pos, void* buffer, size_t length, bool write) argument
720 if (pos < -1)
734 if (pos == -1) {
735 pos = descriptor->pos;
747 status = descriptor->ops->fd_write(descriptor, pos, buffer, &length);
749 status = descriptor->ops->fd_read(descriptor, pos, buffe
762 common_user_vector_io(int fd, off_t pos, const iovec* userVecs, size_t count, bool write) argument
855 _user_read(int fd, off_t pos, void* buffer, size_t length) argument
862 _user_readv(int fd, off_t pos, const iovec* userVecs, size_t count) argument
869 _user_write(int fd, off_t pos, const void* buffer, size_t length) argument
876 _user_writev(int fd, off_t pos, const iovec* userVecs, size_t count) argument
883 _user_seek(int fd, off_t pos, int seekType) argument
1020 _kern_read(int fd, off_t pos, void* buffer, size_t length) argument
1061 _kern_readv(int fd, off_t pos, const iovec* vecs, size_t count) argument
1115 _kern_write(int fd, off_t pos, const void* buffer, size_t length) argument
1156 _kern_writev(int fd, off_t pos, const iovec* vecs, size_t count) argument
1210 _kern_seek(int fd, off_t pos, int seekType) argument
[all...]
/haiku-fatelf/headers/posix/sys/
H A Duio.h23 ssize_t readv_pos(int fd, off_t pos, const struct iovec *vec, size_t count);
25 ssize_t writev_pos(int fd, off_t pos, const struct iovec *vec, size_t count);
/haiku-fatelf/src/bin/less/
H A Dmark.c44 marks[i].m_scrpos.pos = NULL_POSITION;
83 m->m_scrpos.pos = ch_zero();
97 m->m_scrpos.pos = ch_tell();
122 if (m->m_scrpos.pos == NULL_POSITION)
171 if (scrpos.pos == NULL_POSITION)
196 if (m == &marks[LASTMARK] && m->m_scrpos.pos == NULL_POSITION)
199 m->m_scrpos.pos = ch_zero();
218 jump_loc(scrpos.pos, scrpos.ln);
243 return (m->m_scrpos.pos);
257 marks[i].m_scrpos.pos
[all...]
H A Dprompt.c116 ap_pos(pos)
117 POSITION pos;
119 char buf[INT_STRLEN_BOUND(pos) + 2];
121 postoa(pos, buf);
167 POSITION pos; local
169 pos = position(where);
170 while (pos == NULL_POSITION && where >= 0 && where < sc_height-1)
171 pos = position(++where);
172 if (pos == NULL_POSITION)
173 pos
253 POSITION pos; local
[all...]
H A Dline.c174 plinenum(pos)
175 POSITION pos;
190 linenum = find_linenum(pos);
200 pos >= start_attnpos && pos < end_attnpos)
213 char buf[INT_STRLEN_BOUND(pos) + 2];
563 #define STORE_CHAR(ch,a,rep,pos) \
565 if (store_char((ch),(a),(rep),(pos))) return (1); \
569 store_char(ch, a, rep, pos)
573 POSITION pos;
[all...]
/haiku-fatelf/src/system/boot/loader/file_systems/bfs/
H A DLink.h25 virtual ssize_t ReadAt(void *cookie, off_t pos, void *buffer, size_t bufferSize);
26 virtual ssize_t WriteAt(void *cookie, off_t pos, const void *buffer, size_t bufferSize);
/haiku-fatelf/src/system/boot/platform/cfe/
H A DHandle.h22 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);
/haiku-fatelf/src/system/boot/platform/openfirmware/
H A DHandle.h22 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);
/haiku-fatelf/src/system/libroot/posix/glibc/include/
H A Dunistd.h19 #define __lseek(fd, pos, whence) \
20 lseek(fd, pos, whence)
/haiku-fatelf/src/tests/system/boot/loader/
H A DHandle.h25 virtual ssize_t ReadAt(void *cookie, off_t pos, void *buffer, size_t bufferSize);
26 virtual ssize_t WriteAt(void *cookie, off_t pos, const void *buffer, size_t bufferSize);
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/bfs/r5/
H A DStream.h258 status_t FindBlockRun(off_t pos, block_run &run, off_t &offset);
259 status_t ReadAt(off_t pos, uint8 *buffer, size_t *length);
260 status_t WriteAt(Transaction *transaction, off_t pos, const uint8 *buffer, size_t *length);
268 Stream<Cache>::FindBlockRun(off_t pos, block_run &run, off_t &offset) argument
274 if (data->MaxDirectRange() > 0 && pos >= data->MaxDirectRange()) {
275 if (data->MaxDoubleIndirectRange() > 0 && pos >= data->MaxIndirectRange()) {
280 off_t start = pos - data->MaxIndirectRange();
325 if (runBlockEnd > pos) {
347 if (runBlockEnd > pos) {
354 //PRINT(("FindBlockRun() failed in direct range: size = %Ld, pos
363 ReadAt(off_t pos, uint8 *buffer, size_t *_length) argument
485 WriteAt(Transaction *transaction, off_t pos, const uint8 *buffer, size_t *_length) argument
[all...]
/haiku-fatelf/src/system/boot/loader/file_systems/fat/
H A DStream.cpp110 Stream::_FindCluster(off_t pos, uint32& _cluster) argument
112 //TRACE(("FATFS::Stream::%s(%Ld,,)\n", __FUNCTION__, pos));
113 uint32 index = (uint32)(pos / fVolume.ClusterSize());
114 if (pos > fSize || index >= fClusterCount)
159 Stream::_FindOrCreateCluster(off_t pos, uint32& _cluster, bool& _added) argument
161 status_t error = _FindCluster(pos, _cluster);
168 uint32 index = (uint32)(pos / fVolume.ClusterSize());
215 Stream::FindBlock(off_t pos, off_t &block, off_t &offset) argument
218 status_t error = _FindCluster(pos, cluster);
224 offset += (pos
235 ReadAt(off_t pos, void *_buffer, size_t *_length, off_t *diskOffset) argument
354 WriteAt(off_t pos, const void* _buffer, size_t* _length, off_t* diskOffset) argument
[all...]
/haiku-fatelf/src/apps/bsnow/
H A DSnowView.cpp285 if (!ur.Contains(BRect(fFlakes[cw][i].pos-BPoint(4,4), fFlakes[cw][i].pos+BPoint(4,4))))
290 //FillRect(BRect(fFlakes[cw][i].pos-BPoint(PAT_HOTSPOT),fFlakes[cw][i].pos-BPoint(PAT_HOTSPOT)+BPoint(7,7)), gFlakePatterns[pat]);
292 StrokeLine(fFlakes[cw][i].pos+BPoint(-1,-1),
293 fFlakes[cw][i].pos+BPoint(1,1));
294 StrokeLine(fFlakes[cw][i].pos+BPoint(-1,1),
295 fFlakes[cw][i].pos+BPoint(1,-1));
297 DrawBitmap(fFlakeBitmaps[pat], fFlakes[cw][i].pos-BPoint(PAT_HOTSPOT));
340 fFlakes[cw][i].pos
[all...]
/haiku-fatelf/headers/private/app/
H A DSimpleMallocIO.h41 void ReadAt(off_t pos, void *buffer, size_t size) argument
43 memcpy(buffer, fBuffer + pos, size);
56 void WriteAt(off_t pos, const void *buffer, size_t size) argument
58 memcpy(fBuffer + pos, buffer, size);
/haiku-fatelf/headers/private/fs_shell/
H A Dfssh_unistd.h62 extern fssh_ssize_t fssh_read_pos(int fd, fssh_off_t pos, void *buffer,
65 fssh_off_t pos);
67 extern fssh_ssize_t fssh_write_pos(int fd, fssh_off_t pos, const void *buffer,
70 fssh_off_t pos);

Completed in 215 milliseconds

1234567891011>>