/titanic_51/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_dhcp.c | 267 unsigned char *start, save; in show_options() local 277 start = cp; in show_options() 280 while (start < end) { in show_options() 281 if (*start == CD_PAD) { in show_options() 282 start++; in show_options() 285 if (*start == CD_END) in show_options() 288 save = *start++; in show_options() 297 if (*start != 4) { in show_options() 301 start++; in show_options() 303 &start); in show_options() [all...] |
/titanic_51/usr/src/cmd/mandoc/ |
H A D | mandoc.c | 42 mandoc_escape(const char **end, const char **start, int *sz) in mandoc_escape() argument 54 if (NULL == start) in mandoc_escape() 55 start = &local_start; in mandoc_escape() 66 *start = ++*end; in mandoc_escape() 70 switch ((*start)[-1]) { in mandoc_escape() 85 if ('\'' != **start) in mandoc_escape() 87 *start = ++*end; in mandoc_escape() 133 switch (**start) { in mandoc_escape() 135 *start = ++*end; in mandoc_escape() 139 *start in mandoc_escape() 381 char *start, *cp; mandoc_getarg() local [all...] |
H A D | eqn.c | 369 char *start, *next; in eqn_next() local 389 start = &ep->data[(int)ep->cur]; in eqn_next() 392 if ('\0' == *start) in eqn_next() 395 if (quote == *start) { in eqn_next() 400 start = &ep->data[(int)ep->cur]; in eqn_next() 403 if ('{' == *start || '}' == *start) in eqn_next() 406 ssz = strcspn(start + 1, " ^~\"{}\t") + 1; in eqn_next() 407 next = start + (int)ssz; in eqn_next() 411 next = strchr(start, quot in eqn_next() 491 const char *start; eqn_tok_parse() local 599 const char *start; eqn_delim() local 623 const char *start; eqn_undef() local 643 const char *start; eqn_def() local 700 const char *start; eqn_parse() local [all...] |
/titanic_51/usr/src/cmd/lp/filter/postscript/postreverse/ |
H A D | postreverse.c | 58 * start from begining looking for a DSC page comment 59 * (that is the header) start from the end looking for 60 * a DSC trailer comment (that is the trailer) start from 63 * start from the header until the trailer looking for BSD 68 * pages, print it from start to end unaltered if they all 253 int start, end; in ParsePageList() local 258 start = atoi(s1); in ParsePageList() 260 if (end < start) { in ParsePageList() 263 end = start; in ParsePageList() 264 start in ParsePageList() 422 caddr_t start; DocumentHeader() local 467 caddr_t start, ptr1; DocumentGlobals() local [all...] |
/titanic_51/usr/src/uts/i86pc/os/ |
H A D | memnode.c | 71 mem_node_add_slice(pfn_t start, pfn_t end) in mem_node_add_slice() argument 78 * We need to round down to get the real start of in mem_node_add_slice() 82 start &= ~(btop(mem_node_physalign) - 1); in mem_node_add_slice() 86 mnode = PFN_2_MEM_NODE(start); in mem_node_add_slice() 93 if (start < mem_node_config[mnode].physbase) in mem_node_add_slice() 94 mem_node_config[mnode].physbase = start; in mem_node_add_slice() 98 mem_node_config[mnode].physbase = start; in mem_node_add_slice() 122 mem_node_del_slice(pfn_t start, pfn_t end) in mem_node_del_slice() argument 129 start &= ~(btop(mem_node_physalign) - 1); in mem_node_del_slice() 132 mnode = PFN_2_MEM_NODE(start); in mem_node_del_slice() 172 mem_node_add_range(pfn_t start,pfn_t end) mem_node_add_range() argument 181 mem_node_del_range(pfn_t start,pfn_t end) mem_node_del_range() argument 192 pfn_t start, end; startup_build_mem_nodes() local [all...] |
/titanic_51/usr/src/uts/common/crypto/io/ |
H A D | arcfour.c | 268 char *start, *end; in rc4_crypt_update() local 269 start = input->cd_raw.iov_base + input->cd_offset; in rc4_crypt_update() 273 if (start + input->cd_length > end) in rc4_crypt_update() 276 arcfour_crypt(key, (uchar_t *)start, (uchar_t *)start, in rc4_crypt_update() 281 uchar_t *start, *end; in rc4_crypt_update() local 287 mp1 = advance_position(mp, input->cd_offset, &start); in rc4_crypt_update() 300 if (_PTRDIFF(mp1->b_wptr, start) > left) { in rc4_crypt_update() 302 arcfour_crypt(key, start, start, le in rc4_crypt_update() 337 uchar_t *start; rc4_crypt_update() local 375 char *start, *end; rc4_crypt_update() local 391 uchar_t *start, *end; rc4_crypt_update() local 454 uchar_t *start; rc4_crypt_update() local 540 uchar_t *start, *end; crypto_arcfour_crypt() local 555 uchar_t *start, *end; crypto_arcfour_crypt() local 611 uchar_t *start; crypto_arcfour_crypt() local [all...] |
/titanic_51/usr/src/cmd/dtrace/test/tst/common/misc/ |
H A D | tst.schrock.ksh | 44 self->start = vtimestamp; 48 /self->start/ 50 trace(vtimestamp - self->start); 54 /self->start/ 56 trace(vtimestamp - self->start); 60 /self->start/ 62 self->start = 0; 67 /self->start/ 69 trace(vtimestamp - self->start); 73 /self->start/ [all...] |
/titanic_51/usr/src/psm/promif/ieee1275/common/ |
H A D | prom_printf.c | 41 _pput_flush(char *start, char *end) in _pput_flush() argument 44 start, end - start, 0, BYTE) == -1) in _pput_flush() 100 char *s, *start; in _doprint() local 109 start = *bp; in _doprint() 118 if (start == localbuf) { in _doprint() 119 _pput_flush(start, *bp); in _doprint() 124 if (start == localbuf && (*bp - start > 80)) { in _doprint() 125 _pput_flush(start, *b in _doprint() [all...] |
/titanic_51/usr/src/common/net/dhcp/ |
H A D | scan.c | 45 field_scan(uint8_t *start, uint8_t *end, DHCP_OPT **options, in field_scan() argument 50 while (start < end) { in field_scan() 51 if (*start == CD_PAD) { in field_scan() 52 start++; in field_scan() 55 if (*start == CD_END) in field_scan() 57 if (*start > last_option) { in field_scan() 58 if (++start < end) in field_scan() 59 start += *start + 1; in field_scan() 63 current = start; in field_scan() 91 uint8_t *start, *end, len; vendor_scan() local [all...] |
/titanic_51/usr/src/cmd/lp/filter/postscript/dpost/ |
H A D | ps_include.c | 50 long start; member 119 prolog.start = prolog.end = 0; in ps_include() 120 page.start = page.end = 0; in ps_include() 121 trailer.start = 0; in ps_include() 129 page.start = ftell(fin); in ps_include() 133 else if (foundpage && page.end <= page.start) in ps_include() 142 page.start = ftell(fin); in ps_include() 148 prolog.end = page.start = ftell(fin); in ps_include() 150 trailer.start = ftell(fin); in ps_include() 152 if (page.end <= page.start) { in ps_include() [all...] |
/titanic_51/usr/src/cmd/pools/poold/com/sun/solaris/domain/pools/ |
H A D | Statistic.java | 46 * Return the start of the sample period for which the 99 * iterator (which must be of the same type) whose start and 100 * end dates lie within the supplied ranges. If either start 102 * start date is supplied, then start checking is disabled. 104 * @param start The start date for qualification in the snapshot. 109 Date start, Date end) throws IllegalArgumentException; in getSnapshotForInterval() argument 125 * The start of the interval during which the statistic was 128 private final Date start; field in AbstractStatistic 162 AbstractStatistic(Object value, Date start, Date end) AbstractStatistic() argument 244 DoubleStatistic(Double value, Date start, Date end) DoubleStatistic() argument 286 getSnapshotForInterval(Iterator it, Date start, Date end) getSnapshotForInterval() argument 332 LongStatistic(Long value, Date start, Date end) LongStatistic() argument 374 getSnapshotForInterval(Iterator it, Date start, Date end) getSnapshotForInterval() argument 419 UnsignedInt64Statistic(UnsignedInt64 value, Date start, Date end) UnsignedInt64Statistic() argument 461 getSnapshotForInterval(Iterator it, Date start, Date end) getSnapshotForInterval() argument [all...] |
/titanic_51/usr/src/cmd/checkeq/ |
H A D | checkeq.c | 53 int start, line, eq, ndel, totdel; in check() local 56 start = eq = line = ndel = totdel = 0; in check() 83 start = 0; in check() 111 if (start == 0) in check() 112 start = line; in check() 116 line-start+1, delim, delim, start, line); in check() 117 start = line; in check() 120 if (start > 0) { in check() 123 line-start in check() [all...] |
/titanic_51/usr/src/contrib/ast/src/lib/libcmd/ |
H A D | revlib.c | 33 * copy the lines starting at offset <start> from in <in> to <out> 36 int rev_line(Sfio_t *in, Sfio_t *out, off_t start) in rev_line() argument 47 if(start>0 && sfmove(in, (Sfio_t*)0, start, -1) != start) in rev_line() 52 start=0; in rev_line() 54 if((offset = sfseek(in,(off_t)0,SEEK_END)) <= start) in rev_line() 60 if(offset < start) in rev_line() 62 n -= (start-offset); in rev_line() 63 offset = start; in rev_line() [all...] |
/titanic_51/usr/src/lib/libcmd/common/ |
H A D | revlib.c | 36 int rev_line(Sfio_t *in, Sfio_t *out, off_t start) in rev_line() argument 47 if(start>0 && sfmove(in, (Sfio_t*)0, start, -1) != start) in rev_line() 52 start=0; in rev_line() 54 if((offset = sfseek(in,(off_t)0,SEEK_END)) <= start) in rev_line() 60 if(offset < start) in rev_line() 62 n -= (start-offset); in rev_line() 63 offset = start; in rev_line() 101 if(offset <= start) in rev_line() 107 sfseek(in, start, SEEK_SET); in rev_line()
|
/titanic_51/usr/src/uts/common/fs/zfs/ |
H A D | space_reftree.c | 105 space_reftree_add_seg(avl_tree_t *t, uint64_t start, uint64_t end, in space_reftree_add_seg() argument 108 space_reftree_add_node(t, start, refcnt); in space_reftree_add_seg() 133 uint64_t start = -1ULL; in space_reftree_generate_map() local 144 if (start == -1ULL) { in space_reftree_generate_map() 145 start = sr->sr_offset; in space_reftree_generate_map() 148 if (start != -1ULL) { in space_reftree_generate_map() 150 ASSERT(start <= end); in space_reftree_generate_map() 151 if (end > start) in space_reftree_generate_map() 152 range_tree_add(rt, start, end - start); in space_reftree_generate_map() [all...] |
H A D | range_tree.c | 163 range_tree_add(void *arg, uint64_t start, uint64_t size) in range_tree_add() argument 168 uint64_t end = start + size; in range_tree_add() 174 rsearch.rs_start = start; in range_tree_add() 178 if (rs != NULL && rs->rs_start <= start && rs->rs_end >= end) { in range_tree_add() 181 (longlong_t)start, (longlong_t)size); in range_tree_add() 191 merge_before = (rs_before != NULL && rs_before->rs_end == start); in range_tree_add() 221 rs_after->rs_start = start; in range_tree_add() 225 rs->rs_start = start; in range_tree_add() 238 range_tree_remove(void *arg, uint64_t start, uint64_t size) in range_tree_remove() argument 243 uint64_t end = start in range_tree_remove() 304 range_tree_find_impl(range_tree_t * rt,uint64_t start,uint64_t size) range_tree_find_impl() argument 319 range_tree_find(range_tree_t * rt,uint64_t start,uint64_t size) range_tree_find() argument 340 range_tree_contains(range_tree_t * rt,uint64_t start,uint64_t size) range_tree_contains() argument 350 range_tree_clear(range_tree_t * rt,uint64_t start,uint64_t size) range_tree_clear() argument [all...] |
/titanic_51/usr/src/lib/libxcurses/src/libc/xcurses/ |
H A D | ptrmove.c | 47 * Move range start..finish inclusive before the given location. 54 __m_ptr_move(array, length, start, finish, to) in __m_ptr_move() argument 56 unsigned length, start, finish, to; 61 array, length, start, finish, to 64 if (finish < start || length <= finish) 67 if (to < start) { 68 reverse(array, to, start-1); 69 reverse(array, start, finish); 72 reverse(array, start, finish); 74 reverse(array, start, t [all...] |
/titanic_51/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/ |
H A D | ldap_service_stash.c | 52 char line[RECORDLEN]="0", *start=NULL, *file=NULL; local 100 for (start = line; isspace(*start); ++start); 103 if (*start == '!' || *start == '#') 121 start = strchr(line, '\n'); 122 if (start) 123 *start = '\0'; 125 start [all...] |
/titanic_51/usr/src/uts/sun4/os/ |
H A D | memnode.c | 68 mem_node_add_slice(pfn_t start, pfn_t end) in mem_node_add_slice() argument 75 * We need to round down to get the real start of in mem_node_add_slice() 79 start &= ~(btop(mem_node_physalign) - 1); in mem_node_add_slice() 83 mnode = PFN_2_MEM_NODE(start); in mem_node_add_slice() 90 if (start < mem_node_config[mnode].physbase) in mem_node_add_slice() 91 mem_node_config[mnode].physbase = start; in mem_node_add_slice() 95 mem_node_config[mnode].physbase = start; in mem_node_add_slice() 118 mem_node_del_slice(pfn_t start, pfn_t end) in mem_node_del_slice() argument 125 start &= ~(btop(mem_node_physalign) - 1); in mem_node_del_slice() 128 mnode = PFN_2_MEM_NODE(start); in mem_node_del_slice() 169 mem_node_add_range(pfn_t start,pfn_t end) mem_node_add_range() argument 178 mem_node_del_range(pfn_t start,pfn_t end) mem_node_del_range() argument [all...] |
/titanic_51/usr/src/uts/common/gssapi/mechs/krb5/mech/ |
H A D | util_ordering.c | 51 int start; member 59 * - the queue is a circular queue. The first element (q->elem[q->start]) 135 /* common case: at end, after == q->start+q->length-1 */ in queue_insert() 139 for (i=q->start+q->length-1; i>after; i--) in queue_insert() 151 q->start++; in queue_insert() 152 if (q->start == QSIZE(q)) in queue_insert() 153 q->start = 0; in queue_insert() 172 q->start = 0; in g_order_init() 175 q->elem[q->start] = ((gssint_uint64)0 - 1) & q->mask; in g_order_init() 206 expected = (QELEM(q,q->start in g_order_check() [all...] |
/titanic_51/usr/src/common/zfs/ |
H A D | zfs_namecheck.c | 98 * Permissions set name must start with the letter '@' followed by the 138 const char *start, *end; in entity_namecheck() local 164 start = path; in entity_namecheck() 168 end = start; in entity_namecheck() 181 for (const char *loc = start; loc != end; loc++) { in entity_namecheck() 204 if (start == end) { in entity_namecheck() 225 start = end + 1; in entity_namecheck() 256 const char *start, *end; in mountpoint_namecheck() local 273 start = &path[1]; in mountpoint_namecheck() 275 end = start; in mountpoint_namecheck() [all...] |
/titanic_51/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | ptrmove.c | 50 * Move range start..finish inclusive before the given location. 58 unsigned int start, unsigned int finish, unsigned int to) in __m_ptr_move() argument 60 if (finish < start || length <= finish) in __m_ptr_move() 63 if (to < start) { in __m_ptr_move() 64 reverse(array, to, start-1); in __m_ptr_move() 65 reverse(array, start, finish); in __m_ptr_move() 68 reverse(array, start, finish); in __m_ptr_move() 70 reverse(array, start, to-1); in __m_ptr_move()
|
/titanic_51/usr/src/cmd/ypcmd/revnetgroup/ |
H A D | util.c | 44 register char *start; local 47 start = line; 50 if (fgets(start, maxlen, fp) == NULL) { 53 for (p = start; *p; p++) { 55 if (p > start && *(p-1) == '\\') { 56 start = p - 1; 72 if (p > start)
|
/titanic_51/usr/src/grub/grub-0.97/stage2/ |
H A D | smp-imps.c | 288 get_checksum (unsigned start, int length) in get_checksum() argument 294 sum += *((unsigned char *) (start++)); in get_checksum() 428 imps_read_config_table (unsigned start, int count) in imps_read_config_table() argument 432 switch (*((unsigned char *) start)) in imps_read_config_table() 435 add_processor ((imps_processor *) start); in imps_read_config_table() 436 start += 12; /* 20 total */ in imps_read_config_table() 439 add_bus ((imps_bus *) start); in imps_read_config_table() 442 add_ioapic ((imps_ioapic *) start); in imps_read_config_table() 446 add_io_interrupt ((imps_interrupt *) start); in imps_read_config_table() 451 add_local_interupt ((imps_interrupt *) start); in imps_read_config_table() 647 imps_scan(unsigned start,unsigned length) imps_scan() argument [all...] |
/titanic_51/usr/src/common/mdesc/ |
H A D | mdesc_walkdag.c | 71 mde_cookie_t start; in md_walk_dag() local 92 * if we want to start at the top, start at index 0 in md_walk_dag() 94 start = startnode; in md_walk_dag() 95 if (start == MDE_INVAL_ELEM_COOKIE) { in md_walk_dag() 96 start = 0; in md_walk_dag() 100 * Scan from the start point until the first node. in md_walk_dag() 102 while (start < mdp->element_count && in md_walk_dag() 103 MDE_TAG(&mdp->mdep[start]) == MDET_NULL) { in md_walk_dag() 104 start in md_walk_dag() [all...] |