/haiku-fatelf/src/system/libroot/posix/stdio/ |
H A D | fgetpos.c | 47 fgetpos(fp, pos) 49 fpos_t *pos; 51 return((*pos = ftello(fp)) == (fpos_t)-1);
|
/haiku-fatelf/src/system/libroot/posix/glibc/libio/ |
H A D | ftello.c | 38 _IO_off64_t pos; local 42 pos = _IO_seekoff_unlocked (fp, 0, _IO_seek_cur, 0); 46 pos -= fp->_IO_save_end - fp->_IO_save_base; 50 if (pos == _IO_pos_BAD) 58 if ((_IO_off64_t) (off_t) pos != pos) 65 return pos;
|
H A D | ftello64.c | 39 _IO_off64_t pos; local 43 pos = _IO_seekoff_unlocked (fp, 0, _IO_seek_cur, 0); 47 pos -= fp->_IO_save_end - fp->_IO_save_base; 51 if (pos == _IO_pos_BAD) 59 return pos;
|
H A D | ioftell.c | 37 _IO_off64_t pos; local 41 pos = _IO_seekoff_unlocked (fp, 0, _IO_seek_cur, 0); 45 pos -= fp->_IO_save_end - fp->_IO_save_base; 49 if (pos == _IO_pos_BAD) 57 if ((_IO_off64_t) (off_t) pos != pos) 64 return pos;
|
H A D | ioseekpos.c | 34 _IO_seekpos_unlocked(_IO_FILE *fp, _IO_off64_t pos, int mode) argument 49 return _IO_SEEKPOS(fp, pos, mode); 54 _IO_seekpos(_IO_FILE *fp, _IO_off64_t pos, int mode) argument 61 retval = _IO_seekpos_unlocked(fp, pos, mode);
|
/haiku-fatelf/src/bin/less/ |
H A D | jump.c | 33 POSITION pos; local 48 pos = back_line(end_pos); 49 if (pos == NULL_POSITION) 53 jump_loc(pos, sc_height-1); 66 POSITION pos; local 75 pos = find_pos(linenum); 76 if (pos != NULL_POSITION && ch_seek(pos) == 0) 79 set_attnpos(pos); 80 jump_loc(pos, jump_slin 116 POSITION pos, len; local [all...] |
H A D | forwback.c | 59 POSITION pos; local 70 pos = position(BOTTOM_PLUS_ONE); 71 if (pos == NULL_POSITION || pos == ch_length()) 92 * starting at position pos in the input file. 96 * real line. If nblank > 0, the pos must be NULL_POSITION. 100 forw(n, pos, force, only_last, nblank) 102 POSITION pos; 128 if (top_scroll && n >= sc_height - 1 && pos != ch_length()) 137 add_forw_pos(pos); 332 POSITION pos; local 385 POSITION pos; local [all...] |
H A D | linenum.c | 46 POSITION pos; /* File position */ member in struct:linenum_info 98 anchor.pos = (POSITION)0; 117 p->gap = p->next->pos - p->prev->pos; 122 * The specified position (pos) should be the file position of the 126 add_lnum(linenum, pos) 128 POSITION pos; 140 for (p = anchor.next; p != &anchor && p->pos < pos; p = p->next) 171 new->pos 438 POSITION pos; local [all...] |
/haiku-fatelf/src/bin/findutils/gnulib/lib/ |
H A D | fflush.c | 38 off_t pos; local 65 pos = ftello (stream); 66 if (pos == -1) 88 result = fseeko (stream, pos, SEEK_SET); 96 pos = lseek (fileno (stream), pos, SEEK_SET); 97 if (pos == -1) 102 stream->_offset = pos;
|
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/fs_shell/ |
H A D | path_util.cpp | 29 int pos = len - 1; local 30 while (pos > 0 && path[pos] != '/') 31 pos--; 32 if (path[pos] == '/') 33 pos++; 35 path += pos; 36 len -= pos;
|
/haiku-fatelf/src/tools/fs_shell/ |
H A D | path_util.cpp | 33 int pos = len - 1; local 34 while (pos > 0 && path[pos] != '/') 35 pos--; 36 if (path[pos] == '/') 37 pos++; 39 path += pos; 40 len -= pos;
|
/haiku-fatelf/headers/private/input/ |
H A D | shared_cursor_area.h | 16 uint32 pos; member in struct:shared_cursor
|
/haiku-fatelf/src/add-ons/translators/exr/openexr/imath/ |
H A D | ImathGLU.h | 47 gluLookAt(const Imath::V3f &pos, const Imath::V3f &interest, const Imath::V3f &up) argument 49 gluLookAt(pos.x, pos.y, pos.z,
|
/haiku-fatelf/src/bin/coreutils/src/ |
H A D | test.c | 60 static int pos; /* The offset of the current argument in ARGV. */ variable 97 ++pos; 99 if (f && pos >= argc) 107 ++pos; 207 while (pos < argc && argv[pos][0] == '!' && argv[pos][1] == '\0') 213 if (pos >= argc) 217 if (argv[pos][0] == '(' && argv[pos][ [all...] |
/haiku-fatelf/src/add-ons/media/plugins/musepack/mpc/ |
H A D | bitstream.cpp | 24 pos = 0; 33 return 32*WordsRead + pos; 42 pos += bits; 44 if (pos<32) 46 out >>= (32-pos); 51 pos -= 32; 52 if (pos) 54 out <<= pos; local 55 out |= dword >> (32-pos); 68 unsigned int code = dword << pos; [all...] |
/haiku-fatelf/src/bin/bash/ |
H A D | test.c | 106 static int pos; /* The offset of the current argument in ARGV. */ variable 160 #define advance(f) do { ++pos; if (f && pos >= argc) beyond (); } while (0) 161 #define unary_advance() do { advance (1); ++pos; } while (0) 170 if (pos >= argc) 187 if (pos < argc && argv[pos][0] == '-' && argv[pos][1] == 'o' && !argv[pos][2]) 208 if (pos < arg [all...] |
/haiku-fatelf/src/kits/storage/sniffer/ |
H A D | Err.cpp | 20 Err::Err(const char *msg, const ssize_t pos) argument 24 SetTo(msg, pos); 27 Err::Err(const std::string &msg, const ssize_t pos) argument 31 SetTo(msg, pos); 52 Err::SetTo(const char *msg, const ssize_t pos) { argument 54 SetPos(pos); 59 Err::SetTo(const std::string &msg, const ssize_t pos) { argument 60 return SetTo(msg.c_str(), pos); 94 Err::SetPos(ssize_t pos) { argument 95 fPos = pos; [all...] |
/haiku-fatelf/src/tests/system/libroot/posix/ |
H A D | tst-ungetwc2.c | 19 long int pos; local 49 pos = ftell(fp); 50 printf("After get a character: %ld\n", pos); 51 if (pos != 1) 60 pos = ftell(fp); 61 printf("After unget a character: %ld\n", pos); 62 if (pos != 0) 67 pos = ftell(fp); 68 printf("After reget a character: %ld\n", pos); 69 if (pos ! [all...] |
/haiku-fatelf/src/add-ons/print/transports/ipp/ |
H A D | Ipp.cpp | 39 char *_ParseString(BString& outStr, char*& pos); 89 char* pos; local 106 if ((pos=strchr(packet, '"')) != NULL) { 108 if (_ParseString(str, pos)) 110 if (pos && _ParseString(str, pos)) 112 if (pos && _ParseString(str, pos)) 115 if (pos) 116 printer->fAttributes = pos; 152 _ParseString(BString& outStr, char*& pos) argument [all...] |
/haiku-fatelf/src/bin/bash/lib/sh/ |
H A D | xstrchr.c | 46 char *pos; local 56 pos = (char *)s; 62 mblength = mbrlen (pos, strlength, &state); 66 if (c == (unsigned char)*pos) 67 return pos; 70 pos += mblength;
|
/haiku-fatelf/src/system/boot/platform/openfirmware/ |
H A D | Handle.cpp | 49 Handle::ReadAt(void *cookie, off_t pos, void *buffer, size_t bufferSize) argument 51 if (pos == -1 || of_seek(fHandle, pos) != OF_FAILED) 59 Handle::WriteAt(void *cookie, off_t pos, const void *buffer, size_t bufferSize) argument 61 if (pos == -1 || of_seek(fHandle, pos) != OF_FAILED)
|
/haiku-fatelf/src/system/libroot/posix/unistd/ |
H A D | read.c | 33 read_pos(int fd, off_t pos, void* buffer, size_t bufferSize) argument 35 if (pos < 0) 38 RETURN_AND_SET_ERRNO_TEST_CANCEL(_kern_read(fd, pos, buffer, bufferSize)); 43 pread(int fd, void* buffer, size_t bufferSize, off_t pos) argument 45 if (pos < 0) 48 RETURN_AND_SET_ERRNO_TEST_CANCEL(_kern_read(fd, pos, buffer, bufferSize));
|
H A D | write.c | 31 write_pos(int fd, off_t pos, const void *buffer, size_t bufferSize) argument 33 if (pos < 0) 36 RETURN_AND_SET_ERRNO_TEST_CANCEL(_kern_write(fd, pos, buffer, bufferSize)); 41 pwrite(int fd, const void *buffer, size_t bufferSize, off_t pos) argument 43 if (pos < 0) 46 RETURN_AND_SET_ERRNO_TEST_CANCEL(_kern_write(fd, pos, buffer, bufferSize));
|
/haiku-fatelf/src/add-ons/media/plugins/asf_reader/libasf/ |
H A D | utf.h | 37 uint32_t length, pos; local 73 pos = 0; 90 ret[pos++] = 0xF0 | ((codepoint >> 18) & 0x07); 91 ret[pos++] = 0x80 | ((codepoint >> 12) & 0x3F); 92 ret[pos++] = 0x80 | ((codepoint >> 6) & 0x3F); 93 ret[pos++] = 0x80 | (codepoint & 0x3F); 95 ret[pos++] = 0xE0 | (codepoint >> 12); 96 ret[pos++] = 0x80 | ((codepoint >> 6) & 0x3F); 97 ret[pos++] = 0x80 | (codepoint & 0x3F); 99 ret[pos [all...] |
/haiku-fatelf/src/bin/makeudfimage/ |
H A D | EmbeddedStream.cpp | 24 corresponding to the extent starting at byte position \a pos of 31 EmbeddedStream::_GetExtent(off_t pos, size_t size, data_extent &extent) argument 33 if (pos >= fSize) { 39 extent.offset = fOffset + pos; 40 extent.size = fSize - pos;
|