Home
last modified time | relevance | path

Searched refs:oldp (Results 1 – 22 of 22) sorted by relevance

/illumos-gate/usr/src/contrib/ast/src/lib/libast/astsa/
H A Dstrmatch.c181 char* oldp; in onematch() local
190 oldp = p; in onematch()
212 if (pc == '*' || pc == '?' || pc == '+' && oldp == r) in onematch()
224 p = oldp; in onematch()
241 if (onematch(mp, sc, s, p, e, oldp, flags)) in onematch()
243 if (p == oldp && n < MAXGROUP) in onematch()
265 oldp = p; in onematch()
284 mp->next_p = oldp; in onematch()
305 p = oldp; in onematch()
331 mp->next_p = oldp; in onematch()
[all …]
/illumos-gate/usr/src/cmd/lp/cmd/lpadmin/
H A Dchkopts.c69 PRINTER *oldp = 0; variable
436 if (!T && oldp) in chkopts()
437 T = oldp->printer_types; in chkopts()
519 || !I && oldp && BADILIST(oldp->input_types) in chkopts()
855 (S && !M? S : (oldp? oldp->char_sets : (char **)0))
934 oldp = printer_pointer;
935 else if (!(oldp = getprinter(p)) && errno != ENOENT) {
940 if (oldp) {
957 if (!s && oldp->remote && *(oldp->remote))
958 s = strdup(oldp->remote);
[all …]
H A Ddo_printer.c87 if (!oldp) in do_printer()
110 if (!oldp) in do_printer()
133 if (!oldp) in do_printer()
199 printalert(stdout, &(oldp->fault_alert), 1); in do_printer()
324 if (oldp) { in configure_printer()
326 prbufp = oldp; in configure_printer()
375 } else if (oldp->remote) { in configure_printer()
H A Ddo_mount.c170 oldp
171 && searchlist(pwheel, oldp->char_sets)
H A Dlpadmin.h98 extern PRINTER *oldp;
/illumos-gate/usr/src/cmd/zdump/
H A Dzdump.c473 delta(newp, oldp) in delta() argument
475 struct tm *oldp;
480 if (newp->tm_year < oldp->tm_year)
481 return (-delta(oldp, newp));
483 for (tmy = oldp->tm_year; tmy < newp->tm_year; ++tmy)
485 result += newp->tm_yday - oldp->tm_yday;
487 result += newp->tm_hour - oldp->tm_hour;
489 result += newp->tm_min - oldp->tm_min;
491 result += newp->tm_sec - oldp->tm_sec;
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/krb5/krb/
H A Dunparse.c51 void *oldp, in krb5int_realloc() argument
58 bcopy(oldp, newp, old_size < new_size ? old_size : new_size); in krb5int_realloc()
59 FREE(oldp, old_size); in krb5int_realloc()
63 return (realloc(oldp, new_size)); in krb5int_realloc()
/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Dcache.c74 static int match_disk(disk_t *oldp, disk_t *newp);
755 match_disk(disk_t *oldp, disk_t *newp) in match_disk() argument
757 if (oldp->devid != NULL) { in match_disk()
759 devid_compare(oldp->devid, newp->devid) == 0) { in match_disk()
767 if (match_aliases(oldp, newp)) { in match_disk()
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dhsearch.c248 NODE *p, *oldp; in hdestroy() local
253 oldp = p; in hdestroy()
259 free(oldp); in hdestroy()
/illumos-gate/usr/src/cmd/listen/
H A Dlisten.c1633 struct callsave *p, *oldp; in pitchcall() local
1641 oldp = (struct callsave *) NULL; in pitchcall()
1644 if (oldp == (struct callsave *) NULL) { in pitchcall()
1651 oldp->c_np = p->c_np; in pitchcall()
1652 pending->cl_tail = oldp; in pitchcall()
1655 oldp->c_np = p->c_np; in pitchcall()
1662 oldp = p; in pitchcall()
/illumos-gate/usr/src/uts/i86pc/io/apix/
H A Dapix_utils.c648 apix_dup_vectors(apix_vector_t *oldp, apix_vector_t *newp, int count) in apix_dup_vectors() argument
652 processorid_t oldcpu = oldp->v_cpuid, newcpu = newp->v_cpuid; in apix_dup_vectors()
653 uchar_t oldvec = oldp->v_vector, newvec = newp->v_vector; in apix_dup_vectors()
656 ASSERT(oldp->v_type != APIX_TYPE_IPI); in apix_dup_vectors()
1466 apix_vector_t *newp, *oldp; in apix_rebind() local
1539 oldp = xv_vector(oldcpu, oldvec + i); in apix_rebind()
1543 APIX_SET_REBIND_INFO(oldp, newp); in apix_rebind()
1551 (void) apix_obsolete_vector(oldp); in apix_rebind()
/illumos-gate/usr/src/uts/common/os/
H A Drctl.c864 rctl_val_list_dup(rctl_val_t *rval, rctl_alloc_gp_t *ragp, struct proc *oldp, in rctl_val_list_dup() argument
875 if (oldp == NULL || in rctl_val_list_dup()
877 rval->rcv_action_recipient == oldp) { in rctl_val_list_dup()
1138 rctl_dup(rctl_t *rctl, rctl_alloc_gp_t *ragp, struct proc *oldp, in rctl_dup() argument
1148 dup->rc_values = rctl_val_list_dup(rctl->rc_values, ragp, oldp, newp); in rctl_dup()
1270 rctl_set_dup(rctl_set_t *set, struct proc *oldp, struct proc *newp, in rctl_set_dup() argument
1298 d = rctl_dup(r, ragp, oldp, newp); in rctl_set_dup()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/edit/
H A Dhistory.c465 off_t oldp,newp; in hist_trim() local
523 oldp = newp; in hist_trim()
525 if(newp <=oldp) in hist_trim()
H A Demacs.c1558 register int oldp = ep->cursor - ep->screen; in setcursor() local
1559 newp = ed_setcursor(ep->ed, ep->screen, oldp, newp, 0); in setcursor()
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dheaders.c2093 auto char *oldp; local
2097 sizeof(pvpbuf), &oldp, ExtTokenTab, false);
2098 p = oldp;
2114 p = oldp;
/illumos-gate/usr/src/cmd/pg/
H A Dpg.c877 char *oldp = cmdbuf; in ttyin() local
881 oldp = p; in ttyin()
895 sptr = oldp; in ttyin()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dinit.c935 register char *lastp, *oldp=str, *newp=strchr(oldp,':'); in vpath_set() local
943 mount((mode?newp:""),oldp,FS3D_VIEW,0); in vpath_set()
945 oldp = newp; in vpath_set()
/illumos-gate/usr/src/uts/common/io/ib/clients/rds/
H A Drdsib_ep.c1209 rds_session_t *newp, *oldp; in rds_session_create() local
1288 oldp = rds_session_lkup(statep, remip, 0); in rds_session_create()
1289 if (oldp != NULL) { in rds_session_create()
/illumos-gate/usr/src/cmd/zic/
H A Dzic.c370 #define ecatalloc(oldp, newp) memcheck(icatalloc((oldp), (newp))) argument
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dautod_nfs.c4171 struct nfs_args *oldp; in free_nfs_args() local
4231 oldp = argp; in free_nfs_args()
4236 free(oldp); in free_nfs_args()
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/include/
H A Dk5-int.h2781 (void *oldp,
/illumos-gate/usr/src/lib/krb5/plugins/preauth/pkinit/
H A Dpkinit_crypto_openssl.c3491 const uint8_t *p = indata, *oldp; in prepare_enc_data() local
3499 oldp = p; in prepare_enc_data()
3503 slen -= (p - oldp); in prepare_enc_data()