| /onnv/onnv-gate/usr/src/lib/libast/common/hash/ |
| hashscan.c | 35 * Hash_position_t* pos; 37 * pos = hashscan(tab, flags); 38 * while (b = hashnext(&pos)) ...; 39 * hashdone(pos); 43 * return pos for scan on table 49 register Hash_position_t* pos; local 53 if (!(pos = newof(0, Hash_position_t, 1, 0))) return(0); 54 pos->tab = tab->root->last.table = tab; 55 pos->bucket = ∅ 56 pos->slot = tab->table - 1 [all...] |
| hashwalk.c | 41 Hash_position_t* pos; local 43 if (!(pos = hashscan(tab, flags))) 46 while (b = hashnext(pos)) 49 hashdone(pos);
|
| /onnv/onnv-gate/usr/src/uts/common/ipp/ipgpc/ |
| trie.h | 48 #define COMPUTE_BIT_POS(len, pos) \ 49 (((len - pos - 1) & 0xf8) | (pos & 0x7)) 53 * extracts a single bit at position pos from a given value, val, for an 56 #define EXTRACTBIT_CMN(val, pos) ((val >> pos) & 1) 58 #define EXTRACTBIT(val, pos, len) (EXTRACTBIT_CMN(val, pos)) 60 #define EXTRACTBIT(val, pos, len) \ 61 (EXTRACTBIT_CMN(val, (COMPUTE_BIT_POS(len, pos)))) [all...] |
| trie.c | 63 buf->pos = 0; 73 * t_split(c_node, pos, key_len) 96 * * * bits = 4 pos = 5 val = 1011 mask = 00111100 102 * * bits = 1 pos = 5 val = 1 mask = 00100000 104 * bits = 2 pos = 3 val=11* * (to be inserted: (bits = 2 pos = 3 val = 00 115 * * * bits = 4 pos = 5 val = 1011 mask = 00111100 117 * * * (to be inserted: bits = 1 pos = 0 val = 1 mask = 00000001) 121 t_split(node_t **c_node, uint8_t pos, uint8_t key_len) 130 if (pos == (nodep->pos - nodep->bits)) 220 uint8_t pos; local 334 uint8_t pos; local 631 uint8_t pos; local 705 uint8_t pos; local 782 uint8_t pos; local [all...] |
| /onnv/onnv-gate/usr/src/cmd/ipf/tools/ |
| lex_var.h | 5 extern long pos; 8 if (pos >= string_start && pos <= string_end) { \ 9 buf[0] = string_val[pos - string_start]; \ 10 pos++; \ 23 pos++; \ 31 # define input() (((pos >= string_start) && (pos < string_end)) ? \ 32 yysptr = yysbuf, string_val[pos++ - string_start] : \ 34 getc(yyin)) == 10 ? (pos++, yylineno++, yytchar) : [all...] |
| /onnv/onnv-gate/usr/src/lib/libast/common/stdio/ |
| fgetpos.c | 31 fgetpos(Sfio_t* f, fpos_t* pos) 33 STDIO_INT(f, "fgetpos", int, (Sfio_t*, fpos_t*), (f, pos)) 35 return (pos->_sf_offset = sfseek(f, (Sfoff_t)0, SEEK_CUR)) >= 0 ? 0 : -1; 41 fgetpos64(Sfio_t* f, fpos64_t* pos) 43 STDIO_INT(f, "fgetpos64", int, (Sfio_t*, fpos64_t*), (f, pos)) 45 return (pos->_sf_offset = sfseek(f, (Sfoff_t)0, SEEK_CUR)) >= 0 ? 0 : -1;
|
| fsetpos.c | 31 fsetpos(Sfio_t* f, const fpos_t* pos) 33 STDIO_INT(f, "fsetpos", int, (Sfio_t*, const fpos_t*), (f, pos)) 35 return sfseek(f, (Sfoff_t)pos->_sf_offset, SF_PUBLIC) == (Sfoff_t)pos->_sf_offset ? 0 : -1; 41 fsetpos64(Sfio_t* f, const fpos64_t* pos) 43 STDIO_INT(f, "fsetpos64", int, (Sfio_t*, const fpos64_t*), (f, pos)) 45 return sfseek(f, (Sfoff_t)pos->_sf_offset, SF_PUBLIC) == (Sfoff_t)pos->_sf_offset ? 0 : -1;
|
| /onnv/onnv-gate/usr/src/cmd/ipf/lib/common/ |
| resetlexer.c | 6 long pos = 0; variable 14 pos = 0;
|
| /onnv/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/t/op/ |
| pos.t | 7 if (pos($x)==2) {print "ok 1\n"} else {print "not ok 1\n";} 10 if (pos($x)==2) {print "ok 2\n"} else {print "not ok 2\n";} 15 if (f(pos($x))==4) {print "ok 3\n"} else {print "not ok 3\n";} 17 # Is pos() set inside //g? (bug id 19990615.008) 18 $x = "test string?"; $x =~ s/\w/pos($x)/eg;
|
| subst_amp.t | 20 pos = 1; 27 pos = 1; 34 pos = 1; 41 pos = 1; 48 pos ($a) = 1; 55 pos ($a) = 1; 62 pos ($a) = 1; 69 pos ($a) = 1; 79 pos ($a) = 1; 86 pos ($a) = 1 [all...] |
| /onnv/onnv-gate/usr/src/lib/libc/port/stdio/ |
| fpos.c | 38 fgetpos(FILE *stream, fpos_t *pos) 40 if ((*pos = (fpos_t)ftello(stream)) == (fpos_t)-1) 46 fsetpos(FILE *stream, const fpos_t *pos) 48 if (fseeko(stream, (off_t)*pos, SEEK_SET) != 0)
|
| /onnv/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/Search/ |
| Dict.t | 47 my $pos = look *DICT, "Ababa"; 49 print "not " if $pos < 0 || $word ne "Ababa"; 54 $pos = look *DICT, "foo"; 57 print "not " if $pos != length($DICT); # will search to end of file 60 my $pos = look *DICT, "abash"; 62 print "not " if $pos < 0 || $word ne "abash"; 68 $pos = look *DICT, "FOO"; 71 print "not " if $pos != length($DICT); # will search to end of file 74 my $pos = look *DICT, "Abba"; 76 print "not " if $pos < 0 || $word ne "Abba" [all...] |
| /onnv/onnv-gate/usr/src/cmd/fmli/qued/ |
| wrap.c | 56 register int pos; local 58 for (pos = LASTCOL; pos >= 0; pos--) 59 if ((freadchar(row, pos) == ch) == val) 61 return(pos); 84 register int i, need, pos, row; local 100 pos = prev_bndry(row, ' ', TRUE) + 1; 101 need = LASTCOL - pos + 1; 112 fgo(row, pos); [all...] |
| /onnv/onnv-gate/usr/src/cmd/cmd-inet/usr.bin/nc/ |
| atomicio.c | 47 size_t pos = 0; local 53 while (n > pos) { 54 res = (f) (fd, s + pos, n - pos); 66 return (pos); 68 pos += (size_t)res; 71 return (pos);
|
| /onnv/onnv-gate/usr/src/cmd/ssh/libssh/common/ |
| atomicio.c | 46 ssize_t res, pos = 0; local 48 while (n > pos) { 49 res = (f) (fd, s + pos, n - pos); 62 pos += res; 65 return (pos); 75 size_t pos = 0, rem; local 95 return pos; 98 pos += rem; 117 return pos; [all...] |
| /onnv/onnv-gate/usr/src/lib/libntfs/common/include/ntfs/ |
| compress.h | 29 extern s64 ntfs_compressed_attr_pread(ntfs_attr *na, s64 pos, s64 count,
|
| list.h | 175 * @pos: the &struct list_head to use as a loop counter. 178 #define list_for_each(pos, head) \ 179 for (pos = (head)->next; pos != (head); pos = pos->next) 183 * @pos: the &struct list_head to use as a loop counter. 187 #define list_for_each_safe(pos, n, head) \ 188 for (pos = (head)->next, n = pos->next; pos != (head); [all...] |
| /onnv/onnv-gate/usr/src/cmd/stat/common/ |
| acquire_iodevs.c | 59 struct iodev_snapshot *pos; local 62 for (pos = list; pos; pos = pos->is_next) { 63 if (strcmp(pos->is_name, name) == 0) 64 return (pos); 66 pos2 = find_iodev_by_name(pos->is_children, name); 101 struct iodev_snapshot *pos; local 112 for (pos = ss->s_iodevs; pos; pos = pos->is_next) 407 struct iodev_snapshot *pos, *ppos, *tmp, *ptmp; local 506 struct iodev_snapshot *pos; local 884 struct iodev_snapshot *pos, *entry, *parent; local 948 struct iodev_snapshot *entry, *parent, *pos; local 1016 struct iodev_snapshot *pos; local [all...] |
| /onnv/onnv-gate/usr/src/cmd/man/src/util/nsgmls.src/lib/ |
| Recognizer.cxx | 41 register const Trie *pos = trie_.pointer(); local 43 pos = pos->next(map_[in->tokenChar(mgr)]); 44 } while (pos->hasNext()); 45 if (!pos->blank()) { 46 in->endToken(pos->tokenLength()); 47 return pos->token(); 49 const BlankTrie *b = pos->blank(); 68 in->endToken(pos->tokenLength() + (pos->includeBlanks() ? nBlanks : 0)) [all...] |
| /onnv/onnv-gate/usr/src/cmd/sendmail/libsm/ |
| fpos.c | 76 register off_t pos; local 119 pos = fp->f_lseekoff; 123 pos = (*fp->f_seek)(fp, (off_t) 0, SM_IO_SEEK_CUR); 124 if (pos == -1L) 135 pos -= fp->f_r; 137 pos -= fp->f_ur; 147 pos += fp->f_p - fp->f_bf.smb_base; 154 return pos;
|
| /onnv/onnv-gate/usr/src/uts/common/io/mega_sas/ |
| list.h | 213 * @pos: the &struct mlist_head to use as a loop counter. 216 #define mlist_for_each(pos, head) \ 217 for (pos = (head)->next, prefetch(pos->next); pos != (head); \ 218 pos = pos->next, prefetch(pos->next)) 223 * @pos: the &struct mlist_head to use as a loop counter. 227 #define mlist_for_each_safe(pos, n, head) [all...] |
| /onnv/onnv-gate/usr/src/uts/common/io/mr_sas/ |
| mr_sas_list.h | 190 * @pos: the &struct mlist_head to use as a loop counter. 193 #define mlist_for_each(pos, head) \ 194 for (pos = (head)->next, prefetch(pos->next); pos != (head); \ 195 pos = pos->next, prefetch(pos->next)) 200 * @pos: the &struct mlist_head to use as a loop counter. 204 #define mlist_for_each_safe(pos, n, head) [all...] |
| /onnv/onnv-gate/usr/src/lib/libresolv2/common/irs/ |
| lcl_ng.c | 277 char *pos, *gpos; local 297 pos = lp->l_line; 298 while (*pos != '\0') { 299 if (*pos == '(') { 308 pos++; 309 gpos = strsep(&pos, ")"); 334 spos = strsep(&pos, ", \t"); 340 if (pos == NULL) 342 while (*pos == ' ' || *pos == ',' || *pos == '\t' 359 char *pos, *spos, *linep = NULL, *olinep; local [all...] |
| /onnv/onnv-gate/usr/src/uts/common/os/ |
| bitmap.c | 120 size_t pos; local 122 for (pos = *pos1; pos < end_pos; pos++) 123 if (BT_TEST(bitmap, pos)) 126 if (pos == end_pos) 129 *pos1 = pos; 131 for (; pos < end_pos; pos++) 132 if (!BT_TEST(bitmap, pos)) [all...] |
| /onnv/onnv-gate/usr/src/cmd/audio/include/ |
| AudioList.h | 63 Double pos); // split at offset 73 Double& pos, // target position (updated) 86 virtual AudioHdr GetHeader(Double pos); // Get header at pos 92 Double& pos); // start position (updated) 98 Double& pos); // start position (updated) 110 Double pos); // insertion offset, in seconds
|