Home
last modified time | relevance | path

Searched refs:last (Results 26 – 50 of 836) sorted by relevance

12345678910>>...34

/illumos-gate/usr/src/lib/libpkg/common/
H A Dcanonize.c40 char *pt, *last; in canonize() local
49 last = pt; in canonize()
52 last += 2; in canonize()
53 if (*last) in canonize()
54 last++; in canonize()
55 } while (isdotdot(last)); in canonize()
65 (void) strcpy(pt, last); in canonize()
/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Deptstat.c71 struct pinfo *pinfo, *last, *me, *myparent; in eptstat() local
76 me = myparent = last = (struct pinfo *)0; in eptstat()
87 myparent = last; in eptstat()
91 last = pinfo; in eptstat()
105 if (me == last) in eptstat()
106 last = myparent; in eptstat()
141 if (last) in eptstat()
142 last->next = me; /* add to end */ in eptstat()
/illumos-gate/usr/src/lib/libinstzones/common/
H A Dzones_paths.c95 char *last; in z_path_canonize() local
104 last = pt; in z_path_canonize()
107 last += 2; in z_path_canonize()
108 if (*last) { in z_path_canonize()
109 last++; in z_path_canonize()
111 } while (isdotdot(last)); in z_path_canonize()
123 (void) strcpy(pt, last); in z_path_canonize()
/illumos-gate/usr/src/cmd/sh/
H A Dservice.c327 last = at; in trim()
331 *last++ = c; in trim()
338 last += len; in trim()
349 *last++ = c; in trim()
354 last += len; in trim()
360 *last = 0; in trim()
377 last = at;
381 *last++ = c;
400 *last++ = c;
408 *last++ = c;
[all …]
/illumos-gate/usr/src/tools/smatch/src/
H A Dstorage.c133 struct storage_hash *entry, *last; in vrfy_storage() local
136 last = NULL; in vrfy_storage()
138 if (last) { in vrfy_storage()
143 if (last->bb == entry->bb in vrfy_storage()
150 last->bb, in vrfy_storage()
152 show_pseudo(last->pseudo), in vrfy_storage()
156 last = entry; in vrfy_storage()
274 struct storage *last; in combine_phi_storage() local
278 last = NULL; in combine_phi_storage()
285 if (last && storage != last) in combine_phi_storage()
[all …]
/illumos-gate/usr/src/uts/common/io/aggr/
H A Daggr_recv.c86 mblk_t *cmp, *last, *head; in aggr_recv_path_cb() local
91 last = NULL; in aggr_recv_path_cb()
104 last->b_next = NULL; in aggr_recv_path_cb()
115 last = NULL; in aggr_recv_path_cb()
130 ASSERT(last == NULL); in aggr_recv_path_cb()
137 ASSERT(last != NULL); in aggr_recv_path_cb()
139 last->b_next = NULL; in aggr_recv_path_cb()
151 last = NULL; in aggr_recv_path_cb()
154 last = cmp; in aggr_recv_path_cb()
/illumos-gate/usr/src/cmd/krb5/krb5kdc/
H A Dreplay.c74 register krb5_kdc_replay_ent *eptr, *last, *hold; in kdc_check_lookaside() local
87 for (last = &root_ptr, eptr = root_ptr.next; in kdc_check_lookaside()
107 last->next = eptr->next; in kdc_check_lookaside()
108 eptr = last; in kdc_check_lookaside()
112 last = eptr; in kdc_check_lookaside()
163 register krb5_kdc_replay_ent *eptr, *last, *hold; in kdc_free_lookaside() local
165 for (last = &root_ptr, eptr = root_ptr.next; in kdc_free_lookaside()
170 last->next = eptr->next; in kdc_free_lookaside()
171 eptr = last; in kdc_free_lookaside()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/string/
H A Dstrelapsed.c47 const char* last; in strelapsed() local
53 if (!*(last = s)) in strelapsed()
60 last = s + 1; in strelapsed()
74 last = s; in strelapsed()
77 if (s == last + 1) in strelapsed()
141 last = s - 1; in strelapsed()
152 *e = (char*)last; in strelapsed()
/illumos-gate/usr/src/lib/libtecla/common/
H A Dkeytab.c78 int nc, int *first, int *last);
357 if(last < kt->nkey) { in _kt_set_keyfn()
358 memmove(kt->table + last + 1, kt->table + last, in _kt_set_keyfn()
364 sym = kt->table + last; in _kt_set_keyfn()
427 *first = *last = mid; in _kt_locate_keybinding()
437 *last = bot; in _kt_locate_keybinding()
442 if(*last < kt->nkey && kt->table[*last].nc > nc && in _kt_locate_keybinding()
444 *first = *last; in _kt_locate_keybinding()
445 while(*last+1 < kt->nkey && kt->table[*last+1].nc > nc && in _kt_locate_keybinding()
447 (*last)++; in _kt_locate_keybinding()
[all …]
/illumos-gate/usr/src/uts/common/io/1394/adapters/
H A Dhci1394_tlabel.c126 uint8_t last; in hci1394_tlabel_alloc() local
154 last = tlabel_handle->tb_last[node_number]; in hci1394_tlabel_alloc()
183 if ((free & ((uint64_t)1 << last)) != 0) { in hci1394_tlabel_alloc()
185 tlabel_info->tbi_tlabel = last; in hci1394_tlabel_alloc()
188 free = free & ~((uint64_t)1 << last); in hci1394_tlabel_alloc()
195 (last)++; in hci1394_tlabel_alloc()
196 if (last >= TLABEL_RANGE) { in hci1394_tlabel_alloc()
197 last = 0; in hci1394_tlabel_alloc()
216 (last)++; in hci1394_tlabel_alloc()
217 if (last >= TLABEL_RANGE) { in hci1394_tlabel_alloc()
[all …]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dchk_trans.c145 if (last->length + buf->length > bufsiz) { in maybe_join()
150 memcpy (buf->data, last->data, last->length); in maybe_join()
151 buf->length += last->length; in maybe_join()
156 if (last->length+buf->length > bufsiz) { in maybe_join()
160 memcpy (buf->data + buf->length, last->data, last->length); in maybe_join()
161 buf->length += last->length; in maybe_join()
176 char buf[MAXLEN], last[MAXLEN]; in foreach_realm() local
195 last_component.data = last; in foreach_realm()
238 memcpy (last, buf, sizeof (buf)); in foreach_realm()
248 last[crealm->length] = '\0'; in foreach_realm()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/hash/
H A Dhashlook.c77 last = &tab->root->last; in hashlook()
80 last->table = tab; in hashlook()
87 last->name = name; in hashlook()
134 tab = last->table; in hashlook()
135 name = last->name; in hashlook()
136 n = i = last->hash; in hashlook()
245 last->bucket = b; in hashlook()
246 i = last->hash; in hashlook()
281 b = last->bucket; in hashlook()
353 last->bucket = b; in hashlook()
[all …]
/illumos-gate/usr/src/lib/cfgadm_plugins/sbd/common/
H A Dap_seq.c61 for (check = 0, c = first; c <= last; c++) in ap_suspend_check()
91 ap_seq_get(apd_t *a, int cmd, int *first, int *last) in ap_seq_get() argument
205 *last = l; in ap_seq_get()
208 rs, os, cmd, (void *)first, (void *)last, f, l); in ap_seq_get()
218 ap_seq_exec(apd_t *a, int cmd, int first, int last) in ap_seq_exec() argument
245 rc = ap_platopts_check(a, first, last); in ap_seq_exec()
251 for (c = first; c <= last; c++) { in ap_seq_exec()
274 first + 1, last, &suspend); in ap_seq_exec()
415 int first, last; in ap_cmd_seq() local
418 switch (ap_seq_get(a, cmd, &first, &last)) { in ap_cmd_seq()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/misc/
H A Dsetenviron.c48 static char** last; /* last free slot (0) */ in setenviron() local
76 if (!p || (last - p + 1) < n) in setenviron()
89 last = p + n - 1; in setenviron()
107 else if (next == last) in setenviron()
109 n = last - v + INCREMENT + 1; in setenviron()
112 last = p + n - 1; in setenviron()
113 next = last - INCREMENT; in setenviron()
/illumos-gate/usr/src/cmd/nscd/
H A Dnscd_biggest.c49 int size, guess, base, last; in insertn() local
60 last = size; in insertn()
61 while (last >= base) { in insertn()
62 guess = (last+base)/2; in insertn()
66 last = guess - 1; in insertn()
70 guess = last; in insertn()
/illumos-gate/usr/src/cmd/sendmail/db/os/
H A Dos_rpath.c35 const char *s, *last; local
37 last = NULL;
41 last = s;
45 last = s;
46 return ((char *)last);
/illumos-gate/usr/src/uts/common/krtld/
H A Dkobj_lm.c70 struct modctl_list *last; in kobj_lm_append() local
72 for (last = *lpp; last->modl_next != NULL; in kobj_lm_append()
73 last = last->modl_next) in kobj_lm_append()
76 last->modl_next = lp; in kobj_lm_append()
/illumos-gate/usr/src/contrib/zlib/
H A Dinfback.c271 state->last = 0; in inflateBack()
285 if (state->last) { in inflateBack()
291 state->last = BITS(1); in inflateBack()
490 last = here; in inflateBack()
492 here = state->lencode[last.val + in inflateBack()
493 (BITS(last.bits + last.op) >> last.bits)]; in inflateBack()
497 DROPBITS(last.bits); in inflateBack()
544 last = here; in inflateBack()
546 here = state->distcode[last.val + in inflateBack()
547 (BITS(last.bits + last.op) >> last.bits)]; in inflateBack()
[all …]
/illumos-gate/usr/src/cmd/sendmail/db/log/
H A Dlog_archive.c190 int array_size, last, n, nxt, ret; local
261 for (last = nxt = 0; nxt < n;) {
267 if (last != nxt) {
268 array[last] = array[nxt];
285 __os_freestr(array[last]);
286 array[last] = NULL;
291 __os_freestr(array[last]);
292 array[last] = NULL;
304 array[last] = real_name;
305 ++last;
[all …]
/illumos-gate/usr/src/lib/libnsl/nss/
H A Dgetauthattr.c64 char *last = NULL; in str2authattr() local
85 auth->name = _strtok_escape(buffer, sep, &last); in str2authattr()
86 auth->res1 = _strtok_escape(NULL, sep, &last); in str2authattr()
87 auth->res2 = _strtok_escape(NULL, sep, &last); in str2authattr()
88 auth->short_desc = _strtok_escape(NULL, sep, &last); in str2authattr()
89 auth->long_desc = _strtok_escape(NULL, sep, &last); in str2authattr()
90 auth->attr = _strtok_escape(NULL, sep, &last); in str2authattr()
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/
H A Dcat.c135 int last; in vcat() local
145 last = -1; in vcat()
171 if (last > 0) in vcat()
174 last = -1; in vcat()
273 c = last; in vcat()
278 last = -1; in vcat()
284 last = -1; in vcat()
290 last = *end; in vcat()
356 last = -1; in vcat()
363 last = -1; in vcat()
[all …]
/illumos-gate/usr/src/common/util/
H A Dbsearch.c50 char *last; /* Last element in table */ in bsearch() local
57 last = base + width * (nel - 1); in bsearch()
59 while (last >= base) { in bsearch()
61 char *p = base + width * ((last - base)/two_width); in bsearch()
67 last = p - width; in bsearch()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/vmalloc/
H A Dvmprofile.c84 reg Pfobj_t *pf, *last; local
105 for(last = NIL(Pfobj_t*), pf = Pftable[n]; pf; last = pf, pf = pf->next)
135 last = NIL(Pfobj_t*);
142 if(last)
144 last->next = pfvm;
197 { if(last)
202 else last = pf;
384 { last = pf;
389 if(last)
390 last->next = next;
[all …]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/profile/
H A Dprof_tree.c134 last = 0; in profile_verify_node()
136 if (p->prev != last) in profile_verify_node()
138 if (last && (last->next != p)) in profile_verify_node()
170 for (p=section->first_child, last = 0; p; last = p, p = p->next) { in profile_add_node()
182 new->prev = last; in profile_add_node()
186 if (last) in profile_add_node()
187 last->next = new; in profile_add_node()
689 for (p=node->parent->first_child, last = 0; p; last = p, p = p->next) { in profile_rename_node()
713 if (last) in profile_rename_node()
714 last->next = node; in profile_rename_node()
[all …]
/illumos-gate/usr/src/common/unicode/
H A Du8_textprep.c1407 size_t last; in collect_a_seq() local
1492 last = 1; in collect_a_seq()
1497 last = 0; in collect_a_seq()
1507 last++; in collect_a_seq()
1609 last++; in collect_a_seq()
1622 k = last; in collect_a_seq()
1635 last++; in collect_a_seq()
1636 if (last >= in collect_a_seq()
1638 last = k; in collect_a_seq()
1654 last++; in collect_a_seq()
[all …]

12345678910>>...34