/osnet-11/usr/src/lib/libast/common/tm/ |
H A D | tmxleap.c | 40 register Tm_leap_t* lp; local 47 for (lp = &tm_data.leap[0]; sec < (lp->time - lp->total); lp++); 48 t = tmxsns(sec + lp->total, tmxnsec(t));
|
/osnet-11/usr/src/lib/libshell/common/sh/ |
H A D | lex.c | 120 #define pushlevel(lp,c,s) ((lp->lexd.level>=lp->lexd.lex_max?stack_grow(lp):1) &&\ 121 ((lp->lexd.lex_match[lp->lexd.level++]=lp->lexd.lastc),\ 122 lp->lexd.lastc=(((s)<<CHAR_BIT)|(c)))) 123 #define oldmode(lp) (lp 143 refvar(Lex_t *lp, int type) argument 187 register Lex_t *lp = (Lex_t*)context; local 235 lexfill(Lex_t *lp) argument 267 sh_lexopen(Lex_t *lp, Shell_t *sp, int mode) argument 294 sh_lex(Lex_t *lp) argument 323 sh_lex(Lex_t* lp) argument 1523 comsub(register Lex_t *lp, int endtok) argument 1657 nested_here(register Lex_t *lp) argument 1698 sh_lexskip(Lex_t *lp,int close, register int copy, int state) argument 1752 here_copy(Lex_t *lp,register struct ionod *iop) argument 1983 fmttoken(Lex_t *lp, register int sym, char *tok) argument 2043 sh_syntax(Lex_t *lp) argument 2369 Lex_t *lp; member in struct:alias 2390 register Lex_t *lp; local 2425 setupalias(Lex_t *lp, const char *string,Namval_t *np) argument 2461 stack_grow(Lex_t *lp) argument [all...] |
/osnet-11/usr/src/lib/libuutil/common/ |
H A D | uu_list.c | 35 #define ELEM_TO_NODE(lp, e) \ 36 ((uu_list_node_impl_t *)((uintptr_t)(e) + (lp)->ul_offset)) 38 #define NODE_TO_ELEM(lp, n) \ 39 ((void *)((uintptr_t)(n) - (lp)->ul_offset)) 182 uu_list_t *lp, *next, *prev; local 198 lp = uu_zalloc(sizeof (*lp)); 199 if (lp == NULL) { 204 lp->ul_pool = pp; 205 lp 231 uu_list_destroy(uu_list_t *lp) argument 263 list_insert(uu_list_t *lp, uu_list_node_impl_t *np, uu_list_node_impl_t *prev, uu_list_node_impl_t *next) argument 292 uu_list_insert(uu_list_t *lp, void *elem, uu_list_index_t idx) argument 315 uu_list_find(uu_list_t *lp, void *elem, void *private, uu_list_index_t *out) argument 348 uu_list_nearest_next(uu_list_t *lp, uu_list_index_t idx) argument 373 uu_list_nearest_prev(uu_list_t *lp, uu_list_index_t idx) argument 397 list_walk_init(uu_list_walk_t *wp, uu_list_t *lp, uint32_t flags) argument 427 list_walk_advance(uu_list_walk_t *wp, uu_list_t *lp) argument 456 uu_list_walk_start(uu_list_t *lp, uint32_t flags) argument 478 uu_list_t *lp = wp->ulw_list; local 495 uu_list_walk(uu_list_t *lp, uu_walk_fn_t *func, void *private, uint32_t flags) argument 540 uu_list_remove(uu_list_t *lp, void *elem) argument 580 uu_list_teardown(uu_list_t *lp, void **cookie) argument 598 uu_list_insert_before(uu_list_t *lp, void *target, void *elem) argument 624 uu_list_insert_after(uu_list_t *lp, void *target, void *elem) argument 650 uu_list_numnodes(uu_list_t *lp) argument 656 uu_list_first(uu_list_t *lp) argument 665 uu_list_last(uu_list_t *lp) argument 674 uu_list_next(uu_list_t *lp, void *elem) argument 685 uu_list_prev(uu_list_t *lp, void *elem) argument [all...] |
/osnet-11/usr/src/lib/fm/libfmd_log/common/ |
H A D | fmd_log.c | 67 * sets both lp->log_errno and errno to the specified value. If the current 72 fmd_log_set_errno(fmd_log_t *lp, int err) argument 75 lp->log_errno = EFDL_EXACCT + ea_error(); 77 lp->log_errno = EFDL_BADTAG; 79 lp->log_errno = err; 81 errno = lp->log_errno; 87 fmd_log_dprintf(fmd_log_t *lp, const char *format, ...) argument 91 if (lp->log_flags & FMD_LF_DEBUG) { 105 fmd_log_load_record(fmd_log_t *lp, uint_t iflags, fmd_log_record_t *rp) argument 112 ea_clear(&lp 196 fmd_log_load_xref(fmd_log_t *lp, uint_t iflags, fmd_log_record_t *rp, ea_object_t *grp) argument 280 fmd_log_load_xrdir(fmd_log_t *lp) argument 321 fmd_log_load_xrefs(fmd_log_t *lp, uint_t iflags, fmd_log_record_t *rp) argument 366 fmd_log_open_err(fmd_log_t *lp, int *errp, int err) argument 381 fmd_log_t *lp; local 499 fmd_log_close(fmd_log_t *lp) argument 529 fmd_log_label(fmd_log_t *lp) argument 535 fmd_log_header(fmd_log_t *lp, fmd_log_header_t *hp) argument 557 fmd_log_rewind(fmd_log_t *lp) argument 582 fmd_log_xiter_filter(fmd_log_t *lp, const fmd_log_record_t *rp, uint_t fac, const fmd_log_filtvec_t *fav) argument 602 fmd_log_xiter_filtcmp(const void *lp, const void *rp) argument 609 fmd_log_filter(fmd_log_t *lp, uint_t fc, fmd_log_filter_t *fv, const fmd_log_record_t *rp) argument 632 fmd_log_xiter(fmd_log_t *lp, uint_t flag, uint_t fc, fmd_log_filter_t *fv, fmd_log_rec_f *rfunc, fmd_log_err_f *efunc, void *private, ulong_t *rcntp) argument 693 fmd_log_iter(fmd_log_t *lp, fmd_log_rec_f *rfunc, void *private) argument 699 fmd_log_seek(fmd_log_t *lp, off64_t off) argument 733 fmd_log_errmsg(fmd_log_t *lp, int err) argument 746 fmd_log_errno(fmd_log_t *lp) argument [all...] |
/osnet-11/usr/src/lib/libgen/common/ |
H A D | reg_step.c | 216 advance(char *lp, char *ep) argument 222 start = lp; 223 ret = _advance(lp, ++ep); 229 _advance(char *lp, char *ep) argument 245 if (*ep++ == *lp++) 252 if ((n = Popwchar(lp, cl)) <= 0 || c != cl) 254 lp += n; 261 if ((n = Popwchar(lp, cl)) > 0) { 262 lp += n; 265 lp 608 char *lp; local [all...] |
/osnet-11/usr/src/cmd/sendmail/db/log/ |
H A D | log_put.c | 79 LOG *lp; local 83 lp = dblp->lp; 91 lsn->file = lp->lsn.file; 92 lsn->offset = lp->lsn.offset; 97 if (lp->lsn.offset + sizeof(HDR) + dbt->size > lp->persist.lg_max) { 99 sizeof(LOGP) + dbt->size > lp->persist.lg_max) { 113 lastoff = lp->lsn.offset; 116 ++lp 208 LOG *lp; local 264 LOG *lp; local 361 LOG *lp; local 420 LOG *lp; local [all...] |
H A D | log_findckp.c | 57 __log_findckp(lp, lsnp) 58 DB_LOG *lp; 66 verbose = lp->dbenv != NULL && lp->dbenv->db_verbose != 0; 73 if (F_ISSET(lp, DB_AM_THREAD)) 76 if ((ret = log_get(lp, &last_ckp, &data, DB_CHECKPOINT)) != 0) 85 if (F_ISSET(lp, DB_AM_THREAD)) 88 if ((ret = log_get(lp, &next_lsn, &data, DB_SET)) != 0) 91 if (F_ISSET(lp, DB_AM_THREAD)) 98 __db_err(lp [all...] |
H A D | log.c | 46 LOG *lp; local 97 dblp->lp = dblp->reginfo.addr; 98 dblp->addr = (u_int8_t *)dblp->lp + sizeof(LOG); 105 lp = dblp->lp; 106 lp->persist.lg_max = dbenv == NULL ? 0 : dbenv->lg_max; 107 if (lp->persist.lg_max == 0) 108 lp->persist.lg_max = DEFAULT_MAX; 109 lp->persist.magic = DB_LOGMAGIC; 110 lp 182 LOG *lp; local 514 LOG *lp; local [all...] |
H A D | log_get.c | 97 LOG *lp; local 105 lp = dblp->lp; 111 nlsn = lp->chkpt_lsn; 160 nlsn.file = lp->lsn.file; 161 nlsn.offset = lp->lsn.offset - lp->len; 170 if (nlsn.file > lp->lsn.file || 171 (nlsn.file == lp->lsn.file && nlsn.offset >= lp [all...] |
/osnet-11/usr/src/lib/libshadowfs/common/ |
H A D | shadow_list.c | 40 shadow_list_append(shadow_list_t *lp, void *new) argument 42 shadow_list_t *p = lp->l_prev; /* p = tail list element */ 45 lp->l_prev = q; 53 assert(lp->l_next == NULL); 54 lp->l_next = q; 59 shadow_list_prepend(shadow_list_t *lp, void *new) argument 62 shadow_list_t *q = lp->l_next; /* q = head list element */ 64 lp->l_next = p; 72 assert(lp->l_prev == NULL); 73 lp 78 shadow_list_insert_before(shadow_list_t *lp, void *before_me, void *new) argument 95 shadow_list_insert_after(shadow_list_t *lp, void *after_me, void *new) argument 112 shadow_list_delete(shadow_list_t *lp, void *existing) argument [all...] |
/osnet-11/usr/src/lib/libipmi/common/ |
H A D | ipmi_list.c | 43 ipmi_list_append(ipmi_list_t *lp, void *new) argument 45 ipmi_list_t *p = lp->l_prev; /* p = tail list element */ 48 lp->l_prev = q; 56 assert(lp->l_next == NULL); 57 lp->l_next = q; 62 ipmi_list_prepend(ipmi_list_t *lp, void *new) argument 65 ipmi_list_t *q = lp->l_next; /* q = head list element */ 67 lp->l_next = p; 75 assert(lp->l_prev == NULL); 76 lp 81 ipmi_list_insert_before(ipmi_list_t *lp, void *before_me, void *new) argument 98 ipmi_list_insert_after(ipmi_list_t *lp, void *after_me, void *new) argument 115 ipmi_list_delete(ipmi_list_t *lp, void *existing) argument [all...] |
/osnet-11/usr/src/lib/libldap4/common/ |
H A D | regex.c | 300 register CHAR *lp; /* saved pointer.. */ local 318 lp = mp; 386 lp = sp; /* previous opcode */ 387 if (*lp == CLO) /* equivalence.. */ 389 switch(*lp) { 403 for (sp = mp; lp < sp; lp++) 404 store(*lp); 409 while (--mp > lp) 497 sp = lp; 660 pmatch( char *lp, CHAR *ap) argument [all...] |
/osnet-11/usr/src/cmd/sendmail/db/db/ |
H A D | db_apprec.c | 46 DB_LOG *lp; local 54 lp = dbenv->lg_info; 64 is_thread = F_ISSET(lp, DB_AM_THREAD); 65 F_CLR(lp, DB_AM_THREAD); 100 if ((ret = log_get(lp, &ckp_lsn, &data, DB_CHECKPOINT)) != 0) { 106 first: if ((ret = log_get(lp, &ckp_lsn, &data, DB_FIRST)) != 0) { 119 (ret = log_get(lp, &ckp_args->last_ckp, &data, DB_SET)) != 0) 133 ret = dbenv->tx_recover(lp, 136 ret = __db_dispatch(lp, 140 if ((ret = log_get(lp, [all...] |
/osnet-11/usr/src/lib/libeti/form/common/ |
H A D | regex.c | 152 char *lp, *ep, *curlp; local 156 lp = alp; 163 if (*ep++ == *lp++) 168 return ((intptr_t)lp); 178 return ((intptr_t)lp); 181 if (*lp++) 186 if (*lp == 0) 188 lp++; 193 return ((intptr_t)lp); 207 if (!(lp [all...] |
/osnet-11/usr/src/lib/libbsm/common/ |
H A D | adrf.c | 93 int adrf_int(adrf_t *adrf, int32_t *lp, int count); 94 int adrf_long(adrf_t *adrf, int32_t *lp, int count); 100 adrf_int32(adrf_t *adrf, int32_t *lp, int count) argument 107 for (; count--; lp++) { 108 *lp = 0; 112 *lp <<= 8; 113 *lp |= c & 0x000000ff; 121 adrf_int64(adrf_t *adrf, int64_t *lp, int count) argument 128 for (; count--; lp++) { 129 *lp 160 adrf_u_int64(adrf_t *adrf, uint64_t *lp, int count) argument [all...] |
H A D | adrm.c | 66 void adrm_int(adr_t *adr, int32_t *lp, int count); 67 void adrm_long(adr_t *adr, int32_t *lp, int count); 72 adrm_int32(adr_t *adr, int32_t *lp, int count) argument 76 for (; count-- > 0; lp++) { 77 *lp = 0; 79 *lp <<= 8; 80 *lp += ((int32_t)*adr->adr_now++) & 0x000000ff; 100 adrm_int64(adr_t *adr, int64_t *lp, int count) argument 104 for (; count-- > 0; lp++) { 105 *lp 131 adrm_u_int64(adr_t *adr, uint64_t *lp, int count) argument 148 adrm_putint32(adr_t *adr, int32_t *lp, int count) argument 163 adrm_putint64(adr_t *adr, int64_t *lp, int count) argument [all...] |
/osnet-11/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_mirror_resync.c | 156 mm_unit_list_t *lp; local 165 lp = Zalloc(sizeof (*lp)); 166 lp->namep = p->namep; 167 lp->pass = mirrorp->pass_num; 168 if ((lp->pass < 0) || (lp->pass > MD_PASS_MAX)) 169 lp->pass = MD_PASS_MAX; 172 lp->next = mirrors[lp 256 mm_unit_list_t *lp; local 442 mm_unit_list_t *lp; local 538 mm_unit_list_t *lp; local [all...] |
/osnet-11/usr/src/cmd/perl/5.8.4/utils/lib/ExtUtils/ |
H A D | MM_Solaris_ON.pm | 154 foreach my $lp (map({ /^STUBENVLDLIBS\d+$/ ? split(' ', $ENV{$_}) : () } 157 next unless ($lp =~ s!^-L(.*)$!$1!); 160 push(@lib_prefix, "-L$lp") unless ($lib_seen{$lp}++); 166 next unless ($lp =~ s!^(.*/proto/root_[^/]+)/.*$!$1!); 167 push(@protos, $lp) unless ($proto_seen{$lp}++); 169 foreach my $lp (map({ /^ENVLDLIBS\d+$/ ? split(' ', $ENV{$_}) : () } 172 next unless ($lp =~ s!^-L(.*)$!$1!); 175 push(@lib_prefix, "-L$lp") unles [all...] |
/osnet-11/usr/src/lib/libc/port/gen/ |
H A D | regexpr.c | 316 advance(const char *lp, char *ep) argument 328 if (*ep++ == *lp++) 333 if (*lp++) 338 if (*lp == '\0') 346 if (cclass(ep, *lp++, 1)) { 353 if (cclass(ep, *lp++, 0)) { 360 braslist[*ep++] = (char *)lp; 364 braelist[*ep++] = (char *)lp; 370 if (backref(i, lp)) { 371 lp 425 backref(int i, const char *lp) argument [all...] |
/osnet-11/usr/src/lib/fm/topo/libtopo/common/ |
H A D | topo_list.c | 54 topo_list_append(topo_list_t *lp, void *new) argument 56 topo_list_t *p = lp->l_prev; /* p = tail list element */ 59 lp->l_prev = q; 67 assert(lp->l_next == NULL); 68 lp->l_next = q; 73 topo_list_prepend(topo_list_t *lp, void *new) argument 76 topo_list_t *q = lp->l_next; /* q = head list element */ 78 lp->l_next = p; 86 assert(lp->l_prev == NULL); 87 lp 92 topo_list_insert_before(topo_list_t *lp, void *before_me, void *new) argument 109 topo_list_insert_after(topo_list_t *lp, void *after_me, void *new) argument 126 topo_list_delete(topo_list_t *lp, void *existing) argument [all...] |
/osnet-11/usr/src/grub/grub-0.97/netboot/ |
H A D | pcnet32.c | 278 static struct pcnet32_private *lp; variable in typeref:struct:pcnet32_private 408 lp->tx_full = 0; 409 lp->cur_rx = lp->cur_tx = 0; 425 lp->init_block.tlen_rlen = 428 lp->init_block.phys_addr[i] = nic->node_addr[i]; 429 lp->init_block.rx_ring = (u32) virt_to_le32desc(&rx_ring[0]); 430 lp->init_block.tx_ring = (u32) virt_to_le32desc(&tx_ring[0]); 444 lp->a.reset(ioaddr); 447 lp [all...] |
/osnet-11/usr/src/lib/libc/amd64/gen/ |
H A D | lock.s | 31 / _lock_try(lp) 42 / _lock_clear(lp)
|
/osnet-11/usr/src/lib/libresolv2/common/irs/ |
H A D | lcl_ng.c | 238 struct linelist *lp, *olp; local 241 lp = pvt->linehead; 242 while (lp) { 243 olp = lp; 244 lp = lp->l_next; 279 struct linelist *lp = pvt->linehead; local 284 while (lp) { 285 if (!strcmp(group, lp->l_groupname)) 287 lp 361 struct linelist *lp; local [all...] |
/osnet-11/usr/src/lib/libshell/amd64/src/cmd/ksh93/FEATURE/ |
H A D | locale | 42 static struct lconv *lp; 43 # define GETDECIMAL(x) (((lp=localeconv()) && lp->decimal_point && *lp->decimal_point) ? *lp->decimal_point : '.' )
|
/osnet-11/usr/src/lib/libshell/i386/src/cmd/ksh93/FEATURE/ |
H A D | locale | 42 static struct lconv *lp; 43 # define GETDECIMAL(x) (((lp=localeconv()) && lp->decimal_point && *lp->decimal_point) ? *lp->decimal_point : '.' )
|