| /src/lib/libc/stdio/ |
| ftell.c | 56 off_t pos; local 73 pos = fp->_offset; 75 pos = (*fp->_seek)(fp->_cookie, (off_t)0, SEEK_CUR); 76 if (pos == -1L) { 78 return (long)pos; 87 pos -= fp->_r; 89 pos -= fp->_ur; 96 pos += fp->_p - fp->_bf._base; 100 if (__long_overflow(pos)) { 105 return (long)pos; [all...] |
| ftello.c | 57 off_t pos; local 74 pos = fp->_offset; 76 pos = (*fp->_seek)(fp->_cookie, (off_t)0, SEEK_CUR); 77 if (pos == (off_t)-1) { 79 return pos; 88 pos -= fp->_r; 90 pos -= fp->_ur; 97 pos += fp->_p - fp->_bf._base; 100 return pos;
|
| /src/external/gpl2/xcvs/dist/lib/ |
| ftello.c | 26 long pos; local 27 pos = ftell (stream); 29 return (off_t) pos;
|
| fseeko.c | 42 long pos = (offset < 0) ? LONG_MIN : LONG_MAX; local 44 if (fseek (stream, pos, whence) != 0) 46 offset -= pos;
|
| /src/games/robots/ |
| rnd_pos.c | 54 static COORD pos; local 58 pos.y = arc4random_uniform(Y_FIELDSIZE - 1) + 1; 59 pos.x = arc4random_uniform(X_FIELDSIZE - 1) + 1; 61 } while (Field[pos.y][pos.x] != 0); 63 return &pos;
|
| /src/sys/arch/amiga/stand/bootblock/boot/ |
| twiddle.c | 43 static short int pos; local 45 putchar(chars[pos++ & 3]);
|
| /src/external/apache2/llvm/dist/libcxx/utils/google-benchmark/test/ |
| string_util_gtest.cc | 11 size_t pos = 0; local 12 EXPECT_EQ(0ul, benchmark::stoul("0", &pos)); 13 EXPECT_EQ(1ul, pos); 16 size_t pos = 0; local 17 EXPECT_EQ(7ul, benchmark::stoul("7", &pos)); 18 EXPECT_EQ(1ul, pos); 21 size_t pos = 0; local 22 EXPECT_EQ(135ul, benchmark::stoul("135", &pos)); 23 EXPECT_EQ(3ul, pos); 27 size_t pos = 0 local 33 size_t pos = 0; local 39 size_t pos = 0; local 44 size_t pos = 0; local 49 size_t pos = 0; local 54 size_t pos = 0; local 59 size_t pos = 0; local 70 size_t pos = 0; local 75 size_t pos = 0; local 80 size_t pos = 0; local 85 size_t pos = 0; local 90 size_t pos = 0; local 95 size_t pos = 0; local 100 size_t pos = 0; local 105 size_t pos = 0; local 116 size_t pos = 0; local 121 size_t pos = 0; local 126 size_t pos = 0; local 131 size_t pos = 0; local 136 size_t pos = 0; local [all...] |
| /src/external/bsd/less/dist/ |
| brac.c | 32 POSITION pos; local 40 pos = position((forwdir) ? TOP : BOTTOM); 41 if (pos == NULL_POSITION || ch_seek(pos))
|
| /src/external/gpl3/gcc/dist/libstdc++-v3/include/ext/pb_ds/detail/cc_hash_table_map_/ |
| insert_no_store_hash_fn_imps.hpp | 51 const size_type pos = ranged_hash_fn_base::operator()(r_key); local 52 entry_pointer p_e = m_entries[pos]; 70 return std::make_pair(insert_new_imp(r_val, pos), true);
|
| /src/external/gpl3/gcc.old/dist/libstdc++-v3/include/ext/pb_ds/detail/cc_hash_table_map_/ |
| insert_no_store_hash_fn_imps.hpp | 51 const size_type pos = ranged_hash_fn_base::operator()(r_key); local 52 entry_pointer p_e = m_entries[pos]; 70 return std::make_pair(insert_new_imp(r_val, pos), true);
|
| /src/games/hangman/ |
| getword.c | 52 long pos; local 56 pos = (double) rand() / (RAND_MAX + 1.0) * (double) Dict_size; 57 fseek(inf, pos, SEEK_SET);
|
| /src/usr.bin/nc/ |
| atomicio.c | 44 size_t pos = 0; local 50 while (n > pos) { 51 res = (f) (fd, s + pos, n - pos); 63 return pos; 65 pos += (size_t)res; 68 return (pos);
|
| /src/external/bsd/ipf/dist/lib/ |
| resetlexer.c | 16 long pos = 0; variable 24 pos = 0;
|
| /src/external/bsd/mdocml/dist/ |
| compat_getline.c | 28 size_t nbufsz, pos; local 41 pos = 0; 43 if (pos + 1 >= *bufsz) { 51 (*buf)[pos] = '\0'; 52 return pos > 0 && feof(fp) ? (ssize_t)pos : -1; 54 (*buf)[pos++] = c; 55 (*buf)[pos] = '\0'; 57 return pos;
|
| /src/external/gpl3/gcc/dist/libstdc++-v3/include/ext/pb_ds/detail/gp_hash_table_map_/ |
| erase_no_store_hash_fn_imps.hpp | 56 const size_type pos = ranged_probe_fn_base::operator()(r_key, hash, i); local 57 entry* const p_e = m_entries + pos;
|
| erase_store_hash_fn_imps.hpp | 54 const size_type pos = ranged_probe_fn_base::operator()(r_key, pos_hash_pair.second, i); local 56 entry* const p_e = m_entries + pos;
|
| /src/external/gpl3/gcc.old/dist/libstdc++-v3/include/ext/pb_ds/detail/gp_hash_table_map_/ |
| erase_no_store_hash_fn_imps.hpp | 56 const size_type pos = ranged_probe_fn_base::operator()(r_key, hash, i); local 57 entry* const p_e = m_entries + pos;
|
| erase_store_hash_fn_imps.hpp | 54 const size_type pos = ranged_probe_fn_base::operator()(r_key, pos_hash_pair.second, i); local 56 entry* const p_e = m_entries + pos;
|
| /src/games/adventure/ |
| crc.c | 124 size_t pos; local 128 pos = 0; 129 while (pos < num) { 130 x = (c->crcval >> 24 ^ udata[pos++]) & 0xff;
|
| /src/sys/lib/libsa/ |
| loadfile_ecoff.c | 57 paddr_t minp = ~0, maxp = 0, pos; local 88 pos = coff->a.text_start; 89 if (minp > pos) 90 minp = pos; 91 pos += coff->a.tsize; 92 if (maxp < pos) 93 maxp = pos; 113 pos = coff->a.data_start; 114 if (minp > pos) 115 minp = pos; [all...] |
| twiddle.c | 54 static unsigned int pos; local 57 if ((pos & TWIDDLE_MASK) == 0) { 58 putchar(TWIDDLE_CHARS[(pos >> TWIDDLE_DELAY) & 3]); 61 pos++;
|
| /src/crypto/external/apache2/openssl/dist/test/testutil/ |
| random.c | 21 static unsigned int pos = 3; local 23 if (pos == 31) 24 pos = 0; 25 test_random_state[pos] += test_random_state[(pos + 28) % 31]; 26 return test_random_state[pos++] / 2;
|
| /src/crypto/external/bsd/openssl/dist/test/testutil/ |
| random.c | 20 static unsigned int pos = 3; local 22 if (pos == 31) 23 pos = 0; 24 test_random_state[pos] += test_random_state[(pos + 28) % 31]; 25 return test_random_state[pos++] / 2;
|
| /src/crypto/external/bsd/openssl.old/dist/test/testutil/ |
| random.c | 20 static unsigned int pos = 3; local 22 if (pos == 31) 23 pos = 0; 24 test_random_state[pos] += test_random_state[(pos + 28) % 31]; 25 return test_random_state[pos++] / 2;
|
| /src/external/bsd/nvi/dist/ex/ |
| ex_visual.c | 47 int pos; local 69 pos = '^'; 72 pos = '-'; 75 pos = '.'; 78 pos = '+'; 90 "%luz%c%lu", (unsigned long)sp->lno, pos, cmdp->count); 93 "%luz%c", (unsigned long)sp->lno, pos);
|