/illumos-gate/usr/src/boot/libsa/ |
H A D | open.c | 107 struct open_file *f, *last; in o_gethandle() local 121 last = TAILQ_LAST(&files, file_list); in o_gethandle() 122 if (last != NULL) in o_gethandle() 123 f->f_id = last->f_id + 1; in o_gethandle()
|
H A D | pkgfs.c | 705 scan_tarfile(struct package *pkg, struct tarfile *last) in scan_tarfile() argument 712 cur = (last != NULL) ? last->tf_next : pkg->pkg_first; in scan_tarfile() 714 ofs = (last != NULL) ? last->tf_ofs + last->tf_size : in scan_tarfile() 725 if (last != NULL && pkg->pkg_ofs == last->tf_ofs) { in scan_tarfile() 726 if (cache_data(last) == -1) in scan_tarfile() 783 if (last != NULL) in scan_tarfile() 784 last->tf_next = cur; in scan_tarfile()
|
/illumos-gate/usr/src/lib/nsswitch/files/common/ |
H A D | getexecattr.c | 122 char *last; in _exec_files_XY_all() local 246 if ((last = strchr(instr, '#')) == NULL) in _exec_files_XY_all() 247 last = instr + linelen; in _exec_files_XY_all() 248 *last-- = '\0'; /* Nuke '\n' or #comment */ in _exec_files_XY_all() 263 while (isspace(*last)) in _exec_files_XY_all() 264 --last; in _exec_files_XY_all() 265 linelen = last - first + 1; in _exec_files_XY_all()
|
/illumos-gate/usr/src/boot/efi/libefi/ |
H A D | efipart.c | 486 pdinfo_t *parent, *pd, *last; in efipart_cdinfo_add() local 508 if (last != NULL) in efipart_cdinfo_add() 518 if (last != NULL) in efipart_cdinfo_add() 519 cd->pd_unit = last->pd_unit + 1; in efipart_cdinfo_add() 629 pdinfo_t *last; in efipart_hdinfo_add_filepath() local 632 if (last != NULL) in efipart_hdinfo_add_filepath() 633 hd->pd_unit = last->pd_unit + 1; in efipart_hdinfo_add_filepath() 674 if (last == NULL) { in efipart_hdinfo_add_filepath() 681 hd->pd_parent = last; in efipart_hdinfo_add_filepath() 690 pdinfo_t *parent, *pd, *last; in efipart_hdinfo_add() local [all …]
|
/illumos-gate/usr/src/contrib/zlib/ |
H A D | inffast.c | 54 z_const unsigned char FAR *last; /* have enough input while in < last */ in inflate_fast() local 81 last = in + (strm->avail_in - 5); in inflate_fast() 288 } while (in < last && out < end); in inflate_fast() 299 strm->avail_in = (unsigned)(in < last ? 5 + (last - in) : 5 - (in - last)); in inflate_fast()
|
H A D | inflate.c | 129 state->last = 0; in inflateResetKeep() 844 if (state->last) { in inflate() 850 state->last = BITS(1); in inflate() 1058 last = here; in inflate() 1061 (BITS(last.bits + last.op) >> last.bits)]; in inflate() 1065 DROPBITS(last.bits); in inflate() 1066 state->back += last.bits; in inflate() 1110 last = here; in inflate() 1113 (BITS(last.bits + last.op) >> last.bits)]; in inflate() 1117 DROPBITS(last.bits); in inflate() [all …]
|
/illumos-gate/usr/src/boot/efi/loader/arch/i386/ |
H A D | bootinfo.c | 93 vm_offset_t addr, last; in bi_copyenv() local 96 addr = last = start; in bi_copyenv() 115 last = ++addr; in bi_copyenv() 118 if (i386_copyin("", last++, 1) != 1) in bi_copyenv() 119 last = start; in bi_copyenv() 120 return(last); in bi_copyenv()
|
/illumos-gate/usr/src/uts/common/io/mr_sas/ |
H A D | mr_sas_list.c | 109 struct mlist_head *last = list->prev; in mlist_splice() local 115 last->next = at; in mlist_splice() 116 at->prev = last; in mlist_splice()
|
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | sort.c | 85 LDAPMessage *e, *last; in ldap_keysort_entries() local 117 last = e; in ldap_keysort_entries() 127 *ep = last; in ldap_keysort_entries() 206 LDAPMessage *e, *last; in ldap_multisort_entries() local 258 last = e; in ldap_multisort_entries() 271 *ep = last; in ldap_multisort_entries()
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/asn.1/ |
H A D | ldap_key_seq.c | 48 goto last; \ 53 goto last 126 last: in asn1_encode_key() 205 last: in asn1_encode_sequence_of_keys() 248 last: in decode_tagged_integer() 274 last: 303 last: in decode_tagged_octetstring() 379 last: in asn1_decode_key() 465 last: in asn1_decode_sequence_of_keys()
|
/illumos-gate/usr/src/lib/libldap5/sources/ldap/ber/ |
H A D | decode.c | 398 ber_first_element( BerElement *ber, ber_len_t *len, char **last ) in ber_first_element() argument 405 *last = ber->ber_ptr + *len; in ber_first_element() 407 if ( *last == ber->ber_ptr ) { in ber_first_element() 416 ber_next_element( BerElement *ber, ber_len_t *len, char *last ) in ber_next_element() argument 418 if ( ber->ber_ptr == last ) { in ber_next_element() 431 char *last, *p; in ber_scanf() local 516 for ( tag = ber_first_element( ber, &len, &last ); in ber_scanf() 519 tag = ber_next_element( ber, &len, last ) ) { in ber_scanf() 546 for ( tag = ber_first_element( ber, &len, &last ); in ber_scanf() 549 tag = ber_next_element( ber, &len, last ) ) { in ber_scanf()
|
/illumos-gate/usr/src/cmd/dtrace/test/cmd/badioctl/ |
H A D | badioctl.c | 62 hrtime_t now, last = 0, end; in badioctl() local 74 if ((now = gethrtime()) - last > NANOSEC) { in badioctl() 94 last = now; in badioctl()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/ |
H A D | chmod.c | 168 char* last; in b_chmod() local 254 mode = strperm(amode, &last, 0); in b_chmod() 255 if (*last) in b_chmod() 295 mode = strperm(amode, &last, ent->fts_statp->st_mode); in b_chmod()
|
/illumos-gate/usr/src/uts/i86pc/io/ioat/ |
H A D | ioat_rs.c | 152 uint_t last; in ioat_rs_alloc() local 175 last = rstruct->rs_last & 0x3F; in ioat_rs_alloc() 178 if ((free & ((uint64_t)1 << last)) != 0) { in ioat_rs_alloc() 183 rstruct->rs_free[array_idx] &= ~((uint64_t)1 << last); in ioat_rs_alloc()
|
/illumos-gate/usr/src/lib/nsswitch/nis/common/ |
H A D | getexecattr.c | 95 char *last = NULL; in check_match_strbuf() local 110 execp->name = _strtok_escape(strbuf, sep, &last); in check_match_strbuf() 111 execp->policy = _strtok_escape(NULL, sep, &last); in check_match_strbuf() 112 execp->type = _strtok_escape(NULL, sep, &last); in check_match_strbuf() 113 execp->res1 = _strtok_escape(NULL, sep, &last); in check_match_strbuf() 114 execp->res2 = _strtok_escape(NULL, sep, &last); in check_match_strbuf() 115 execp->id = _strtok_escape(NULL, sep, &last); in check_match_strbuf()
|
/illumos-gate/usr/src/contrib/ast/src/cmd/msgcc/ |
H A D | msgcpp.c | 109 msgppargs(char** argv, int last) in msgppargs() argument 118 if (!last) in msgppargs() 126 if (!last) in msgppargs() 134 if (!last) in msgppargs()
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/ |
H A D | arith.c | 513 char base=(shp->inarith?0:10), *last; in sh_strnum() local 521 d = strtonll(str,&last,&base,-1); in sh_strnum() 522 if(*last || errno) in sh_strnum() 532 if(!last || *last!='.' || last[1]!='.') in sh_strnum() 533 d = strval(shp,str,&last,arith,mode); in sh_strnum() 534 if(!ptr && *last && mode>0) in sh_strnum() 535 errormsg(SH_DICT,ERROR_exit(1),e_lexbadchar,*last,str); in sh_strnum() 541 *ptr = last; in sh_strnum()
|
/illumos-gate/usr/src/lib/libkmf/ber_der/common/ |
H A D | decode.c | 454 kmfber_first_element(BerElement *ber, ber_len_t *len, char **last) in kmfber_first_element() argument 461 *last = ber->ber_ptr + *len; in kmfber_first_element() 463 if (*last == ber->ber_ptr) { in kmfber_first_element() 471 kmfber_next_element(BerElement *ber, ber_len_t *len, char *last) in kmfber_next_element() argument 473 if (ber->ber_ptr == last) { in kmfber_next_element() 509 char *last, *p; in kmfber_scanf() local 599 for (tag = kmfber_first_element(ber, &len, &last); in kmfber_scanf() 603 tag = kmfber_next_element(ber, &len, last)) { in kmfber_scanf() 630 for (tag = kmfber_first_element(ber, &len, &last); in kmfber_scanf() 634 tag = kmfber_next_element(ber, &len, last)) { in kmfber_scanf()
|
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/ |
H A D | itree.h | 146 struct arrowlist *last); 147 struct bubble *itree_next_bubble(struct event *eventp, struct bubble *last); 149 struct constraintlist *last);
|
/illumos-gate/usr/src/cmd/cmd-crypto/cryptoadm/ |
H A D | adm_util.c | 42 char *first, *last; in create_mech() local 59 last = strrchr(pres->name, '\0'); in create_mech() 60 last--; in create_mech() 61 while (isspace(*last)) /* nuke trailing whitespace */ in create_mech() 62 *last-- = '\0'; in create_mech()
|
/illumos-gate/usr/src/lib/nsswitch/ldap/common/ |
H A D | getspent.c | 78 char **uid, **passwd, **last, **smin, **smax; in _nss_ldap_shadow2str() local 146 last = __ns_ldap_getAttr(result->entry, _S_LASTCHANGE); in _nss_ldap_shadow2str() 147 if (last == NULL || last[0] == NULL) in _nss_ldap_shadow2str() 150 last_str = last[0]; in _nss_ldap_shadow2str()
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | memlist_new.c | 122 struct memlist *cur, *last; in memlist_insert() local 127 last = NULL; in memlist_insert() 129 last = cur; in memlist_insert() 145 new->ml_prev = last; in memlist_insert() 146 if (last != NULL) { in memlist_insert() 147 last->ml_next = new; in memlist_insert()
|
/illumos-gate/usr/src/lib/libc/sparc/gen/ |
H A D | memcmp.S | 153 dec 4, %o3 ! avoid reading beyond the last byte 171 sub %o1, 1, %o1 ! used 3 bytes of the last word read 176 dec 4, %o3 ! avoid reading beyond the last byte 194 sub %o1, 3, %o1 ! used 1 byte of the last word read 199 dec 4, %o3 ! avoid reading beyond the last byte 216 sub %o1, 2, %o1 ! only used half of the last read word
|
/illumos-gate/usr/src/uts/common/cpr/ |
H A D | cpr_driver.c | 144 dev_info_t *dip, *next, *last = NULL; local 149 while (last != start) { 152 while (next != last) { 226 last = dip;
|
/illumos-gate/usr/src/cmd/idmap/idmap/ |
H A D | idmap.c | 190 name_mapping_t *last; member 210 int last; member 369 positions->last = 0; in init_positions() 419 positions->last++; in positions_add() 1124 out->last = name_mapping_init(); in print_mapping_init() 1126 if (out->last == NULL) in print_mapping_init() 1141 if (pnm->last->unixname != NULL) { in print_mapping_fini() 1146 if (pnm->last->unixname == NULL) in print_mapping_fini() 1158 name_mapping_fini(pnm->last); in print_mapping_fini() 1258 free(pnm->last->unixname); in print_mapping() [all …]
|