Searched defs:old (Results 76 - 100 of 100) sorted by relevance

1234

/osnet-11/usr/src/lib/libshell/common/edit/
H A Dedit.c1196 int ed_setcursor(register Edit_t *ep,genchar *physical,register int old,register int new,int first) argument
1203 delta = new - old;
1213 ep->e_curpos = ed_curpos(ep, physical, old,0,ep->e_curpos);
1214 if(clear && old>=ep->e_peol && (clear=ep->e_winsz-ep->e_curpos.col)>0)
1220 newpos = ed_curpos(ep, physical, new,old,ep->e_curpos);
1263 old = new - delta;
1273 if(!ep->e_crlf || bs || (2*delta <= ((old-first)+(newpos.line?0:ep->e_plen))) )
1287 old = first;
1292 ed_putchar(ep,physical[old++]);
/osnet-11/usr/src/lib/libshell/common/sh/
H A Dio.c2511 int sh_dup(register int old) argument
2514 register int fd = dup(old);
2516 VALIDATE_FD(shp, old);
2520 if(shp->fdstatus[old] == IOCLOSE)
2521 shp->fdstatus[old] = 0;
2522 shp->fdstatus[fd] = (shp->fdstatus[old]&~IOCLEX);
2524 (*fdnotify)(old,fd);
2626 Notify_f old; local
2627 old = fdnotify;
2629 return(old);
[all...]
H A Dname.c1569 Sfdouble_t ld, old=0; local
1584 old = *(up->ldp);
1585 *(up->ldp) = old?ld+old:ld;
2592 void sh_optclear(Shell_t *shp, void *old) argument
2606 shp->optlist = old;
3354 Shscope_t *old = (Shscope_t*)shp->st.self; local
3360 return(old);
3413 * These following are for binary compatibility with the old hash library
/osnet-11/usr/src/lib/liblldp/common/
H A Dliblldp_tlv.c59 lldp_nexttlv(uint8_t *pdu, int pdulen, lldp_tlv_t *old, lldp_tlv_t *new) argument
61 uint8_t *cur = old->lt_value;
65 if (cur + old->lt_len + 2 > end)
67 cur += old->lt_len;
/osnet-11/usr/src/lib/libmtmalloc/common/
H A Dmtmalloc.c405 oversize_t *old; local
407 old = (oversize_t *)(mem - OVSZ_SIZE);
408 (void) memcpy(new, data_ptr, MIN(bytes, old->size - shift));
/osnet-11/usr/src/lib/libnisdb/
H A Ddb_dictionary.cc428 if (oldtab != NULL) { // must transfer contents of old to new
432 delete oldtab; // delete old hashtable
929 * and InUseDictionary pointers as well. Also, delete the old dictionary
1352 /* try to close old log file */
2334 db_table_desc *old = search_dictionary(deferred.dictionary, table); local
2337 if (old == NULL) {
2343 * Remove old incarnation from deferred dictionary. We already hold
2344 * a pointer ('old') to it, so don't delete.
2355 if (old->database != 0)
2356 old
2405 db_table_desc *old = search_dictionary(deferred.dictionary, table); local
[all...]
/osnet-11/usr/src/lib/libdtrace/common/
H A Ddt_parser.c4275 dt_probe_t *old, dt_probe_t *new)
4278 old->pr_xargc, old->pr_xargs, new->pr_xargc, new->pr_xargs);
4280 if (old->pr_nargs != old->pr_xargs && new->pr_nargs != new->pr_xargs) {
4282 old->pr_nargc, old->pr_nargs, new->pr_nargc, new->pr_nargs);
4285 if (old->pr_nargs == old->pr_xargs && new->pr_nargs != new->pr_xargs) {
4293 old
4274 dt_node_provider_cmp(dt_provider_t *pvp, dt_node_t *pnp, dt_probe_t *old, dt_probe_t *new) argument
[all...]
/osnet-11/usr/src/lib/fm/libasr/common/
H A Dasr.c593 nvlist_t *old = asr_nvl_alloc(); local
595 if (old == NULL ||
596 asr_scf_load(config, old) != 0 ||
597 asr_scf_set_props(config, "reg", cfg, old) != 0)
599 if (old != NULL)
600 nvlist_free(old);
/osnet-11/usr/src/lib/libadr/common/
H A Dadr.c962 adr_data_t *old = data->d_data.array[index]; local
963 if (old != NULL)
964 adr_data_free(old);
1146 adr_data_t *old = data->d_data.array[index]; local
1148 if (old != NULL)
1149 adr_data_free(old);
1187 adr_data_t *old = dst->d_data.array[i]; local
1191 src->d_data.array[i] = old;
1193 adr_data_free(src); /* Frees old values for us */
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/
H A Dpp_ctl.c59 /* XXXX Should store the old value to allow for tie/overload - and
162 REGEXP *old = PM_GETRE(pm); local
163 if(old != rx) {
164 if(old)
165 ReREFCNT_dec(old);
255 if (old != rx)
3455 /* in case LEAVE wipes old return values */
3541 /* in case LEAVE wipes old return values */
H A Dregexec.c824 /* XXXX This is a remnant of the old implementation. It
3613 char *old = locinput; local
3646 count = locinput - old;
3652 * utf8_distance(old, locinput) */
3663 * utf8_distance(old, locinput) */
3678 /* PL_reginput == old now */
3679 if (locinput != old) {
3689 old = locinput;
H A Dperlio.c286 int imode, int perm, PerlIO *old, int narg, SV **args)
301 else if (old) {
302 return PerlIO_reopen(name, mode, old);
1872 PerlIO *old, int narg, SV **args)
1877 old, narg, args);
2028 Off_t old = PerlIO_tell(f); local
2031 PerlIOSelf(f, PerlIOBuf)->posn = old;
285 PerlIO_openn(pTHX_ const char *layers, const char *mode, int fd, int imode, int perm, PerlIO *old, int narg, SV **args) argument
1870 PerlIORaw_open(pTHX_ PerlIO_funcs *self, PerlIO_list_t *layers, IV n, const char *mode, int fd, int imode, int perm, PerlIO *old, int narg, SV **args) argument
H A Dregcomp.c895 /* Switch to OR mode: cache the old value of
1113 /* Switch to OR mode: cache the old value of
1271 I32 old = 0; local
1280 old = b - data->last_start_min;
1287 I32 old = b - data->last_start_min;
1291 old = utf8_hop((U8*)s, old) - (U8*)s;
1293 l -= old;
1295 last_str = newSVpvn(s + old, l);
5105 SAVEPPTR(PL_reg_oldsaved); /* old save
[all...]
H A Dsv.c1268 SV, then copies across as much information as possible from the old body.
7045 Perl_newSVsv(pTHX_ register SV *old) argument
7049 if (!old)
7051 if (SvTYPE(old) == SVTYPEMASK) {
7057 if (SvTEMP(old)) {
7058 SvTEMP_off(old);
7059 sv_setsv(sv,old);
7060 SvTEMP_on(old);
7063 sv_setsv(sv,old);
9320 During the course of a cloning, a hash table is used to map old addresse
[all...]
/osnet-11/usr/src/lib/libc/port/threads/
H A Dsynch.c192 * but for the sake of old broken applications that
297 * Return the old value of the lock word.
302 uint32_t old; local
306 old = *lockword;
307 new = old & ~LOCKMASK;
308 } while (atomic_cas_32(lockword, old, new) != old);
310 return (old);
320 uint64_t old; local
324 old
356 uint64_t old; local
374 uint32_t old; local
394 uint32_t old; local
[all...]
/osnet-11/usr/src/lib/libzfs/common/
H A Dlibzfs_diff.c588 /* some very old pools won't have shares object */
1191 print_rename(FILE *fp, zdiff_info_t *di, char *dsmnt, const char *old, argument
1204 print_fields(fp, di, dsmnt, isb, old, new, obj, delta);
1206 print_cmn(fp, dsmnt, old);
H A Dlibzfs_pool.c1865 * If it ends in "/old", check the second-to-last
1868 if (tmp != str && strcmp(tmp, "/old") == 0) {
1925 * "s[01]/1" or "s[01]/old". The "s[01]" part is hidden
1963 * strings identical except trailing "s[01]/old"
1965 if ((strcmp(&val[vlen - 6], "s0/old") == 0 ||
1966 strcmp(&val[vlen - 6], "s1/old") == 0) &&
1967 strcmp(&srchval[slen - 4], "/old") == 0 &&
2618 * If 'replacing' is specified, the new disk will replace the old one.
3357 * devid, but the path will still refer to the old location. To catch this, we
3460 * the "s[01]" off, or if it ends with "s[01]/old",
3464 int old = 0; local
[all...]
/osnet-11/usr/src/lib/libumem/common/
H A Dumem.c648 verify_and_copy_pattern(uint64_t old, uint64_t new, void *buf_arg, size_t size) argument
654 if (*buf != old) {
655 copy_pattern(old, buf_arg,
/osnet-11/usr/src/lib/libsldap/common/
H A Dns_reads.c1073 char *old, *new; local
1074 old = ap[j]->attrvalue[k];
1075 new = _cvtDN(service, old, B_FALSE);
1076 if (new != old) {
1077 free(old);
3429 /* Try old "cn uid" server side sort */
/osnet-11/usr/src/cmd/sendmail/src/
H A Dmap.c1809 datum old; local
1811 old.dptr = ndbm_map_lookup(map, key.dptr,
1813 if (old.dptr != NULL && *(char *) old.dptr != '\0')
1815 old.dsize = strlen(old.dptr);
1816 if (data.dsize + old.dsize + 2 > bufsiz)
1820 bufsiz = data.dsize + old.dsize + 2;
1824 data.dptr, ",", old.dptr);
1825 data.dsize = data.dsize + old
2525 DBT old; local
[all...]
/osnet-11/usr/src/lib/libc/port/gen/
H A Dlocaltime.c550 unreg_zone(state_t *old) argument
555 hashid = get_hashid(old->zonename);
557 if (cur == old)
566 prv->next = old->next;
568 tzcache[hashid] = old->next;
2577 * If compat_flag is set, support old 1-based day of year values.
2764 * old timezone name, because ltzset_u() can release _time_lock
2792 * references. Even though TZ was changed, references to the old tzname
2799 * from old tzname[] addr may end up with accessing a stale data(freed area).
/osnet-11/usr/src/lib/libsqlite/tool/
H A Dlemon.c1059 /* The configuration "old" is no longer used */
1060 PRIVATE void deleteconfig(old)
1061 struct config *old;
1063 old->next = freelist;
1064 freelist = old;
1201 struct config *old; local
1202 old = current;
1205 return old;
1211 struct config *old; local
1212 old
[all...]
/osnet-11/usr/src/lib/libzonestat/common/
H A Dlibzonestat.c155 zs_zone_add_usage(struct zs_zone *old, struct zs_zone *new, zs_compute_t func) argument
160 bytes = new->zsz_tot_bytes - old->zsz_tot_bytes;
161 pbytes = new->zsz_tot_pbytes - old->zsz_tot_pbytes;
167 ZS_MAXOF(old->zsz_cpu_cap, new->zsz_cpu_cap);
168 ZS_MAXOF(old->zsz_cpu_shares, new->zsz_cpu_shares);
169 ZS_MAXOF(old->zsz_ram_cap, new->zsz_ram_cap);
170 ZS_MAXOF(old->zsz_locked_cap, new->zsz_locked_cap);
171 ZS_MAXOF(old->zsz_vm_cap, new->zsz_vm_cap);
172 ZS_MAXOF(old->zsz_processes_cap, new->zsz_processes_cap);
173 ZS_MAXOF(old
382 zs_pset_zone_add_usage(struct zs_pset_zone *old, struct zs_pset_zone *new, zs_compute_t func) argument
560 zs_pset_add_usage(struct zs_pset *old, struct zs_pset *new, zs_compute_t func) argument
[all...]
/osnet-11/usr/src/lib/libscf/common/
H A Dlowlevel.c4644 scf_transaction_entry_t *old; local
4677 old = uu_list_find(tran->tran_props, &prop, NULL, &idx);
4678 if (old != NULL) {
/osnet-11/usr/src/lib/libzonecfg/common/
H A Dlibzonecfg.c1240 * Changing the zone name requires us to track both the old and new
1353 * Record the old admins from the old zonename
1458 * loop if we're in an old BE where the default template brand is
1715 * Move the new document over top of the old.
2244 zone_fsopt_t *last, *old, *new; local
2247 for (old = last; old != NULL; old = old
4412 struct zone_rctlvaltab *last, *old, *new; local
9431 zone_storage_t *new, *old, *last; local
9451 zone_storage_t *new, *old, *last; local
[all...]

Completed in 195 milliseconds

1234