Home
last modified time | relevance | path

Searched refs:start (Results 1 – 25 of 1198) sorted by relevance

12345678910>>...48

/onnv-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_dhcp.c267 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 …]
/onnv-gate/usr/src/lib/libparted/common/libparted/cs/
H A Dgeom.c57 PedSector start, PedSector length) in ped_geometry_init() argument
63 return ped_geometry_set (geom, start, length); in ped_geometry_init()
73 ped_geometry_new (const PedDevice* dev, PedSector start, PedSector length) in ped_geometry_new() argument
82 if (!ped_geometry_init (geom, dev, start, length)) in ped_geometry_new()
106 return ped_geometry_new (geom->dev, geom->start, geom->length); in ped_geometry_duplicate()
121 PedSector start; in ped_geometry_intersect() local
127 start = PED_MAX (a->start, b->start); in ped_geometry_intersect()
129 if (start > end) in ped_geometry_intersect()
132 return ped_geometry_new (a->dev, start, end - start + 1); in ped_geometry_intersect()
152 ped_geometry_set (PedGeometry* geom, PedSector start, PedSector length) in ped_geometry_set() argument
[all …]
H A Dconstraint.c132 ped_geometry_init (&start_range, min->dev, max->start, in ped_constraint_new_from_min_max()
133 min->start - max->start + 1); in ped_constraint_new_from_min_max()
305 constraint->end_range->start); in _constraint_get_canonical_start_range()
335 PedSector start) in _constraint_get_nearest_start_soln() argument
344 constraint->start_align, start_range, start); in _constraint_get_nearest_start_soln()
355 _constraint_get_end_range (const PedConstraint* constraint, PedSector start) in _constraint_get_end_range() argument
362 if (start + constraint->min_size - 1 > dev->length - 1) in _constraint_get_end_range()
365 first_min_max_end = start + constraint->min_size - 1; in _constraint_get_end_range()
366 last_min_max_end = start + constraint->max_size - 1; in _constraint_get_end_range()
385 PedSector start, PedSector end) in _constraint_get_nearest_end_soln() argument
[all …]
/onnv-gate/usr/src/cmd/lp/filter/postscript/postreverse/
H A Dpostreverse.c253 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 = tmp; in ParsePageList()
267 start = end = atoi(s1); in ParsePageList()
269 while (start <= end) in ParsePageList()
272 size++, start++; in ParsePageList()
275 *tmp = start++; in ParsePageList()
317 return (write(fd, h->start, h->size)); in WriteDocumentHeader()
[all …]
/onnv-gate/usr/src/uts/i86pc/os/
H A Dmemnode.c71 mem_node_add_slice(pfn_t start, pfn_t end) in mem_node_add_slice() argument
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()
121 mem_node_del_slice(pfn_t start, pfn_t end) in mem_node_del_slice() argument
128 start &= ~(btop(mem_node_physalign) - 1); in mem_node_del_slice()
131 mnode = PFN_2_MEM_NODE(start); in mem_node_del_slice()
136 delta_pgcnt = end - start; in mem_node_del_slice()
[all …]
/onnv-gate/usr/src/cmd/dtrace/test/tst/common/misc/
H A Dtst.schrock.ksh46 self->start = vtimestamp;
50 /self->start/
52 trace(vtimestamp - self->start);
56 /self->start/
58 trace(vtimestamp - self->start);
62 /self->start/
64 self->start = 0;
69 /self->start/
71 trace(vtimestamp - self->start);
75 /self->start/
[all …]
/onnv-gate/usr/src/uts/common/crypto/io/
H A Darcfour.c275 char *start, *end; in rc4_crypt_update() local
276 start = input->cd_raw.iov_base + input->cd_offset; in rc4_crypt_update()
280 if (start + input->cd_length > end) in rc4_crypt_update()
283 arcfour_crypt(key, (uchar_t *)start, (uchar_t *)start, in rc4_crypt_update()
288 uchar_t *start, *end; in rc4_crypt_update() local
294 mp1 = advance_position(mp, input->cd_offset, &start); in rc4_crypt_update()
307 if (_PTRDIFF(mp1->b_wptr, start) > left) { in rc4_crypt_update()
309 arcfour_crypt(key, start, start, len); in rc4_crypt_update()
312 len = _PTRDIFF(mp1->b_wptr, start); in rc4_crypt_update()
313 arcfour_crypt(key, start, start, len); in rc4_crypt_update()
[all …]
/onnv-gate/usr/src/cmd/smbsrv/dtrace/
H A Dcifs.d50 sdt:smbsrv::-smb_op*-start
91 sdt:smbsrv::-smb_op-SessionSetupX-start
127 sdt:smbsrv::-smb_op-LogoffX-start
136 sdt:smbsrv::-smb_op-TreeConnectX-start
158 sdt:smbsrv::-smb_op-TreeDisconnect-start
167 sdt:smbsrv::-smb_op-Open-start,
168 sdt:smbsrv::-smb_op-OpenX-start,
169 sdt:smbsrv::-smb_op-Create-start,
170 sdt:smbsrv::-smb_op-CreateNew-start,
171 sdt:smbsrv::-smb_op-CreateTemporary-start,
[all …]
/onnv-gate/usr/src/psm/promif/ieee1275/common/
H A Dprom_printf.c41 _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, *bp); in _doprint()
200 if (start == localbuf && (*bp - start > 80)) { in _doprint()
201 _pput_flush(start, *bp); in _doprint()
[all …]
/onnv-gate/usr/src/uts/common/fs/zfs/
H A Dspace_map.c56 space_map_create(space_map_t *sm, uint64_t start, uint64_t size, uint8_t shift, in space_map_create() argument
66 sm->sm_start = start; in space_map_create()
82 space_map_add(space_map_t *sm, uint64_t start, uint64_t size) in space_map_add() argument
86 uint64_t end = start + size; in space_map_add()
91 VERIFY3U(start, >=, sm->sm_start); in space_map_add()
94 VERIFY(P2PHASE(start, 1ULL << sm->sm_shift) == 0); in space_map_add()
97 ssearch.ss_start = start; in space_map_add()
101 if (ss != NULL && ss->ss_start <= start && ss->ss_end >= end) { in space_map_add()
104 (longlong_t)start, (longlong_t)size); in space_map_add()
114 merge_before = (ss_before != NULL && ss_before->ss_end == start); in space_map_add()
[all …]
/onnv-gate/usr/src/common/net/dhcp/
H A Dscan.c45 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()
64 if (++start < end) in field_scan()
[all …]
/onnv-gate/usr/src/cmd/pools/poold/com/sun/solaris/domain/pools/
H A DStatistic.java109 Date start, Date end) throws IllegalArgumentException; in getSnapshotForInterval() argument
128 private final Date start; field in AbstractStatistic
162 protected AbstractStatistic(Object value, Date start, Date end) in AbstractStatistic() argument
165 this.start = start; in AbstractStatistic()
175 return (start); in getStart()
208 if (start != null && end != null) { in toString()
210 buf.append(df.format(start)); in toString()
244 public DoubleStatistic(Double value, Date start, Date end) in DoubleStatistic() argument
246 super(value, start, end); in DoubleStatistic()
286 Date start, Date end) throws IllegalArgumentException in getSnapshotForInterval() argument
[all …]
/onnv-gate/usr/src/common/openssl/crypto/dso/
H A Ddso_win32.c309 const char *start = filename; in win32_splitter() local
334 start = filename; in win32_splitter()
335 result->node = start; in win32_splitter()
350 result->device = start; in win32_splitter()
351 result->devicelen = filename - start; in win32_splitter()
353 start = ++filename; in win32_splitter()
354 result->dir = start; in win32_splitter()
360 result->nodelen = filename - start; in win32_splitter()
362 start = ++filename; in win32_splitter()
363 result->dir = start; in win32_splitter()
[all …]
/onnv-gate/usr/src/cmd/lp/filter/postscript/dpost/
H A Dps_include.c59 typedef struct {long start, end;} Section; member
117 prolog.start = prolog.end = 0; in ps_include()
118 page.start = page.end = 0; in ps_include()
119 trailer.start = 0; in ps_include()
127 page.start = ftell(fin); in ps_include()
131 else if (foundpage && page.end <= page.start) in ps_include()
140 page.start = ftell(fin); in ps_include()
144 prolog.end = page.start = ftell(fin); in ps_include()
146 trailer.start = ftell(fin); in ps_include()
148 if (page.end <= page.start) { in ps_include()
[all …]
/onnv-gate/usr/src/cmd/checkeq/
H A Dcheckeq.c53 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+1, delim, delim, start, line); in check()
124 start = 0; in check()
/onnv-gate/usr/src/uts/intel/io/drm/
H A Di915_mem.c62 unsigned start; in mark_block() local
70 start = p->start >> shift; in mark_block()
71 end = (p->start + p->size - 1) >> shift; in mark_block()
79 for (i = start; i <= end; i++) { in mark_block()
101 static struct mem_block *split_block(struct mem_block *p, int start, int size, drm_file_t *fpriv) in split_block() argument
104 if (start > p->start) { in split_block()
109 newblock->start = start; in split_block()
110 newblock->size = p->size - (start - p->start); in split_block()
126 newblock->start = start + size; in split_block()
149 int start = (p->start + mask) & ~mask; in alloc_block() local
[all …]
H A Dradeon_mem.c51 split_block(struct mem_block *p, int start, int size, drm_file_t *filp) in split_block() argument
54 if (start > p->start) { in split_block()
59 newblock->start = start; in split_block()
60 newblock->size = p->size - (start - p->start); in split_block()
76 newblock->start = start + size; in split_block()
99 int start = (p->start + mask) & ~mask; in alloc_block() local
100 if (p->filp == 0 && start + size <= p->start + p->size) in alloc_block()
101 return (split_block(p, start, size, filp)); in alloc_block()
108 find_block(struct mem_block *heap, int start) in find_block() argument
113 if (p->start == start) in find_block()
[all …]
/onnv-gate/usr/src/lib/libcmd/common/
H A Drevlib.c36 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()
/onnv-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dptrmove.c54 __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, to-1);
/onnv-gate/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/
H A Dldap_service_stash.c52 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 = strchr(line, '#');
126 if (start == NULL) {
132 ++ start;
138 if (!strncmp(start, "{FILE}", strlen("{FILE}"))) {
[all …]
/onnv-gate/usr/src/uts/sun4/os/
H A Dmemnode.c68 mem_node_add_slice(pfn_t start, pfn_t end) in mem_node_add_slice() argument
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()
117 mem_node_del_slice(pfn_t start, pfn_t end) in mem_node_del_slice() argument
124 start &= ~(btop(mem_node_physalign) - 1); in mem_node_del_slice()
127 mnode = PFN_2_MEM_NODE(start); in mem_node_del_slice()
132 delta_pgcnt = end - start; in mem_node_del_slice()
[all …]
/onnv-gate/usr/src/lib/libparted/common/libparted/fs/hfs/
H A Djournal.c128 PedSector start, sector; in hfsj_replay_transaction() local
142 start = HFS_64_TO_CPU(jh->start, is_le) / PED_SECTOR_SIZE_DEFAULT; in hfsj_replay_transaction()
144 start = hfsj_journal_read(priv_data->plus_geom, jh, jsector, in hfsj_replay_transaction()
145 jlength, start, blhdr_nbsect, blhdr); in hfsj_replay_transaction()
146 if (!start) goto err_replay; in hfsj_replay_transaction()
175 start = hfsj_journal_read(priv_data->plus_geom, jh, in hfsj_replay_transaction()
176 jsector, jlength, start, in hfsj_replay_transaction()
179 if (!start) { in hfsj_replay_transaction()
202 + fs->geom->start in hfsj_replay_transaction()
203 - priv_data->plus_geom->start <= 2) in hfsj_replay_transaction()
[all …]
/onnv-gate/usr/src/uts/common/gssapi/mechs/krb5/mech/
H A Dutil_ordering.c51 int start; member
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+q->length-1)+1) & q->mask; in g_order_check()
208 queue_insert(q, q->start+q->length-1, seqnum); in g_order_check()
214 queue_insert(q, q->start+q->length-1, seqnum); in g_order_check()
[all …]
/onnv-gate/usr/src/uts/i86pc/dboot/
H A Ddboot_startkern.c549 exclude_from_pci(uint64_t start, uint64_t end) in exclude_from_pci() argument
559 if (start <= ml->addr && ml->addr + ml->size <= end) { in exclude_from_pci()
567 else if (ml->addr < start && end < ml->addr + ml->size) { in exclude_from_pci()
575 ml->size = start - ml->addr; in exclude_from_pci()
590 else if (ml->addr <= start && start < ml->addr + ml->size) { in exclude_from_pci()
591 ml->size = start - ml->addr; in exclude_from_pci()
617 uint64_t start; in build_pcimemlists() local
632 start = ((uint64_t)mmap->base_addr_high << 32) + in build_pcimemlists()
634 end = start + ((uint64_t)mmap->length_high << 32) + in build_pcimemlists()
639 PRIx64 "\n", mmap->type, start, end); in build_pcimemlists()
[all …]
/onnv-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dptrmove.c58 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()

12345678910>>...48