Home
last modified time | relevance | path

Searched refs:orig (Results 1 – 25 of 100) sorted by relevance

1234

/titanic_51/usr/src/lib/libcurses/screen/
H A Dderwin.c50 * orig: the original window
57 derwin(WINDOW *orig, int num_lines, int nc, int by, int bx) in derwin() argument
67 if (by < 0 || (by + num_lines) > orig->_maxy || bx < 0 || in derwin()
68 (bx + nc) > orig->_maxx) in derwin()
71 nc = orig->_maxx - bx; in derwin()
73 num_lines = orig->_maxy - by; in derwin()
76 if ((win = _makenew(num_lines, nc, by + orig->_begy, in derwin()
77 bx + orig->_begx)) == NULL) in derwin()
85 win->_bkgd = orig->_bkgd; in derwin()
86 win->_attrs = orig in derwin()
[all...]
/titanic_51/usr/src/ucblib/libcurses/
H A Dnewwin.c95 subwin(WINDOW *orig, int num_lines, int num_cols, int begy, int begx) in subwin() argument
109 fprintf(outf, "SUBWIN(%0.2o, %d, %d, %d, %d)\n", orig, nl, nc, by, bx); in subwin()
111 if (by < orig->_begy || bx < orig->_begx || in subwin()
112 by + nl > orig->_maxy + orig->_begy || in subwin()
113 bx + nc > orig->_maxx + orig->_begx) in subwin()
116 nl = orig->_maxy + orig in subwin()
133 _set_subwin_(WINDOW * orig,WINDOW * win) _set_subwin_() argument
[all...]
H A Dmvwin.c33 WINDOW *orig; in mvwin() local
40 orig = win->_orig; in mvwin()
41 if (orig == NULL) { in mvwin()
42 orig = win; in mvwin()
48 } while (win != orig); in mvwin()
50 if (by < orig->_begy || win->_maxy + dy > orig->_maxy) in mvwin()
52 if (bx < orig->_begx || win->_maxx + dx > orig->_maxx) in mvwin()
57 _set_subwin_(orig, wi in mvwin()
[all...]
H A Did_subwins.c32 _id_subwins(WINDOW *orig) in _id_subwins() argument
38 realy = orig->_begy + orig->_cury; in _id_subwins()
39 for (win = orig->_nextp; win != orig; win = win->_nextp) { in _id_subwins()
47 oy = orig->_cury; in _id_subwins()
49 win->_y[y] = &orig->_y[oy][win->_ch_off]; in _id_subwins()
/titanic_51/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_receive/
H A Dzfs_receive_012_pos.ksh56 orig=$TESTPOOL/$TESTFS1
60 log_must $ZFS create $orig
61 origdir=$(get_prop mountpoint $orig)
64 log_must $ZFS set refquota=50M $orig
67 log_must $ZFS snapshot $orig@1
70 log_must eval "$ZFS send -R $orig@1 > $streamfile"
77 log_must $ZFS snapshot $orig@2
80 log_must eval "$ZFS send -I 1 -R $orig@2 > $streamfile"
H A Dzfs_receive_011_pos.ksh55 orig=$TESTPOOL/$TESTFS1
58 log_must $ZFS create $orig
59 origdir=$(get_prop mountpoint $orig)
67 log_must $ZFS snapshot $orig@1
74 log_must $ZFS set refquota=8M $orig
77 log_must $ZFS snapshot $orig@2
80 log_must eval "$ZFS send -R $orig@2 > $streamfile"
/titanic_51/usr/src/lib/libnisdb/
H A Ddb_scheme.cc38 * Constructor: create new scheme by making copy of 'orig'.
41 db_scheme::db_scheme(db_scheme* orig) in db_scheme() argument
47 if (orig == NULL) { in db_scheme()
52 READLOCKV(orig, "r orig db_scheme::db_scheme"); in db_scheme()
54 numkeys = this->keys.keys_len = orig->keys.keys_len; in db_scheme()
56 db_key_desc * srccols = orig->keys.keys_val; in db_scheme()
60 READUNLOCKV(orig, "ru orig db_scheme::db_scheme"); in db_scheme()
69 READUNLOCKV(orig, "r in db_scheme()
[all...]
H A Ddb_index.cc401 db_index::move_xdr_db_index(db_index *orig) in move_xdr_db_index() argument
403 table_size = orig->table_size; in move_xdr_db_index()
404 orig->table_size = 0; in move_xdr_db_index()
405 count = orig->count; in move_xdr_db_index()
406 orig->count = 0; in move_xdr_db_index()
407 case_insens = orig->case_insens; in move_xdr_db_index()
408 tab = orig->tab; in move_xdr_db_index()
409 orig->tab = NULL; in move_xdr_db_index()
/titanic_51/usr/src/uts/sparc/os/
H A Dcpr_sparc.c257 cprop_t *orig, *new, *tail; in cpr_default_setup() local
281 for (orig = orig_def_info.props, tail = orig + CPR_MAXPROP; in cpr_default_setup()
282 orig < tail; orig++, new++) { in cpr_default_setup()
283 len = prom_getproplen(node, orig->name); in cpr_default_setup()
284 if (len < 0 || len >= (int)sizeof (orig->value)) { in cpr_default_setup()
289 bzero(orig->value, sizeof (orig->value)); in cpr_default_setup()
290 if (prom_getprop(node, orig in cpr_default_setup()
[all...]
/titanic_51/usr/src/cmd/sgs/liblddbg/common/
H A Dlibs.c109 Dbg_libs_path(Lm_list *lml, const char *path, uint_t orig, const char *obj) in Dbg_libs_path() argument
119 search = orig & in Dbg_libs_path()
124 if (orig & LA_SER_CONFIG) in Dbg_libs_path()
135 if (orig & LA_SER_CONFIG) in Dbg_libs_path()
142 if (orig & LA_SER_CONFIG) in Dbg_libs_path()
188 Dbg_libs_ylu(Lm_list *lml, const char *path, const char *orig, int index) in Dbg_libs_ylu() argument
193 dbg_print(lml, MSG_INTL(MSG_LIB_YPATH), path, orig, in Dbg_libs_ylu()
H A Dunused.c90 Dbg_unused_path(Lm_list *lml, const char *path, uint_t orig, uint_t dup, in Dbg_unused_path() argument
100 if (orig & LA_SER_LIBPATH) { in Dbg_unused_path()
101 if (orig & LA_SER_CONFIG) { in Dbg_unused_path()
112 } else if (orig & LA_SER_RUNPATH) { in Dbg_unused_path()
/titanic_51/usr/src/cmd/sendmail/db/log/
H A Dlog_archive.c380 char **array, **arrayp, **orig, *strp; local
383 for (len = 0, orig = *listp; *orig != NULL; ++orig)
384 len += sizeof(char *) + strlen(*orig) + 1;
391 strp = (char *)(array + (orig - *listp) + 1);
394 for (orig = *listp, arrayp = array; *orig != NULL; ++orig, ++arrayp) {
395 len = strlen(*orig);
[all...]
/titanic_51/usr/src/lib/libnsl/ipsec/
H A Dalgs.c667 duplicate_intarr(int *orig) in duplicate_intarr() argument
670 int *iwalker = orig; in duplicate_intarr()
672 if (orig == NULL) in duplicate_intarr()
682 (void) memcpy(iwalker, orig, allocsize); in duplicate_intarr()
691 duplicate_strarr(char **orig) in duplicate_strarr() argument
697 if (orig == NULL) in duplicate_strarr()
701 for (swalker = orig; *swalker != NULL; swalker++) in duplicate_strarr()
705 newbie = calloc(swalker - orig + 1, sizeof (char *)); in duplicate_strarr()
709 for (i = 0; orig[i] != NULL; i++) { in duplicate_strarr()
710 newbie[i] = strdup(orig[ in duplicate_strarr()
725 _duplicate_alg(struct ipsecalgent * orig) _duplicate_alg() argument
[all...]
/titanic_51/usr/src/ucbcmd/vipw/
H A Dvipw.c226 editfile(char *editor, char *temp, char *orig, time_t *mtime) in editfile() argument
230 return (sanity_check(temp, mtime, orig)); in editfile()
259 sanity_check(char *temp, time_t *mtime, char *orig) in sanity_check() argument
267 if (!strcmp(orig, shadow)) in sanity_check()
274 temp, orig); in sanity_check()
280 temp, orig); in sanity_check()
287 temp, orig); in sanity_check()
388 temp, orig); in sanity_check()
/titanic_51/usr/src/lib/libshare/common/
H A Dparser.c45 static char *orig = NULL; in _sa_get_token() local
52 if (string != orig || string == NULL) { in _sa_get_token()
53 orig = string; in _sa_get_token()
/titanic_51/usr/src/lib/libmtmalloc/common/
H A Dmtmalloc.c511 oversize_t *orig, *tail; in memalign() local
517 orig = (oversize_t *)((uintptr_t)alloc_buf - in memalign()
519 frag_size = orig->size - data_size - in memalign()
521 orig->size = data_size; in memalign()
530 oversize_t *orig, *tail, *big; in memalign() local
599 orig = (oversize_t *)((uintptr_t)alloc_buf - in memalign()
602 OVSZ_HEADER_SIZE, (orig->size - shift)); in memalign()
606 orig->size = shift - OVSZ_HEADER_SIZE; in memalign()
609 free_oversize(orig); in memalign()
617 orig in memalign()
[all...]
/titanic_51/usr/src/cmd/dlutil/
H A Ddlled.c75 dlled_parse_mode(const char *orig) in dlled_parse_mode() argument
81 mode = strdup(orig); in dlled_parse_mode()
110 "specified\n", orig); in dlled_parse_mode()
122 mac_led_mode_t orig = mode; in dlled_mode2str() local
137 (void) snprintf(buf, len, "unknown mode: 0x%x\n", orig); in dlled_mode2str()
/titanic_51/usr/src/lib/libsqlite/src/
H A Dbtree_rb.c260 * A string-manipulation helper function for check_redblack_tree(). If (orig ==
261 * NULL) a copy of val is returned. If (orig != NULL) then a copy of the *
262 * concatenation of orig and val is returned. The original orig is deleted
265 static char *append_val(char * orig, char const * val){ in append_val() argument
267 if( !orig ){ in append_val()
271 sqliteSetString(&z, orig, val, (char*)0); in append_val()
272 sqliteFree( orig ); in append_val()
278 * Append a string representation of the entire node to orig and return it.
282 static char *append_node(char * orig, BtRbNod argument
[all...]
/titanic_51/usr/src/cmd/dtrace/test/tst/common/pid/
H A Dtst.utf8probefunc.ksh37 if ! gcc -m32 -S -o foo.orig.s foo.c ; then
45 cat foo.orig.s | sed 's/foo/foø/g' > foo.s
/titanic_51/usr/src/uts/common/fs/sockfs/
H A Dsockcommon_subr.c2200 so_integrity_check(struct sonode *cur, struct sonode *orig) in so_integrity_check() argument
2202 VERIFY(cur->so_vnode == orig->so_vnode); in so_integrity_check()
2203 VERIFY(cur->so_ops == orig->so_ops); in so_integrity_check()
2212 VERIFY((cur->so_state & (orig->so_state & CHECK_STATE)) == in so_integrity_check()
2213 (orig->so_state & CHECK_STATE)); in so_integrity_check()
2214 VERIFY(cur->so_mode == orig->so_mode); in so_integrity_check()
2215 VERIFY(cur->so_flag == orig->so_flag); in so_integrity_check()
2216 VERIFY(cur->so_count == orig->so_count); in so_integrity_check()
2218 VERIFY(cur->so_sockparams == orig->so_sockparams); in so_integrity_check()
2220 VERIFY(cur->so_error != 0 || orig in so_integrity_check()
[all...]
/titanic_51/usr/src/uts/sun4/io/
H A Dtrapstat.c1247 uintptr_t orig, va; in trapstat_tlbent() local
1400 orig = KERNELBASE + entoffs; in trapstat_tlbent()
1447 ent[TSTAT_TLBENT_BA] |= DISP22(va + baoffs, orig); in trapstat_tlbent()
1449 ent[TSTAT_TLBENT_ADDRHI] |= HI22(orig); in trapstat_tlbent()
1450 ent[TSTAT_TLBENT_ADDRLO] |= LO10(orig); in trapstat_tlbent()
1499 uintptr_t orig, va, en_baoffs, dis_baoffs; in trapstat_make_traptab() local
1533 orig = KERNELBASE; in trapstat_make_traptab()
1544 ent[TSTAT_ENABLED_BA] |= DISP22(va + en_baoffs, orig); in trapstat_make_traptab()
1547 ent[TSTAT_DISABLED_BA] |= DISP22(va + dis_baoffs, orig); in trapstat_make_traptab()
1551 orig in trapstat_make_traptab()
1579 uintptr_t orig, va, en_baoffs; trapstat_make_traptab() local
[all...]
/titanic_51/usr/src/tools/stabs/
H A Dmain.c191 char *new, *orig, c; in namex() local
201 orig = --cp; in namex()
206 len = cp - orig; in namex()
208 while (orig < cp - 1) in namex()
209 *new++ = *orig++; in namex()
/titanic_51/usr/src/cmd/rpcgen/
H A Drpc_util.c129 fixit(char *type, char *orig) in fixit() argument
135 return (orig); in fixit()
143 return (fixit(def->def.ty.old_type, orig)); in fixit()
145 return (orig); in fixit()
/titanic_51/usr/src/uts/intel/io/pci/
H A Dpci_resource.c147 struct memlist *prev, *orig, *new; in acpi_trim_bus_ranges() local
149 if ((orig = acpi_bus_res[bus]) == NULL) in acpi_trim_bus_ranges()
157 new->ml_address = orig->ml_address; in acpi_trim_bus_ranges()
158 new->ml_size = orig->ml_size; in acpi_trim_bus_ranges()
159 new->ml_prev = orig; in acpi_trim_bus_ranges()
/titanic_51/usr/src/cmd/sgs/rtld/common/
H A Dpaths.c343 expand(char **name, size_t *len, char **list, uint_t orig, uint_t omit, in expand() argument
368 (orig & LA_SER_MASK) && (*optr == '/') && in expand()
1030 uint_t orig, uint_t omit) in expand_paths() argument
1059 if (!(orig & (LA_SER_LIBPATH | LA_SER_RUNPATH))) in expand_paths()
1089 if ((_tkns = expand(&str, &len, &elist, orig, omit, in expand_paths()
1100 (is_path_secure(str, clmp, orig, tkns) == 0)) in expand_paths()
1111 if (orig & PD_FLG_UNIQUE) { in expand_paths()
1139 pdp->pd_flags = (orig & LA_SER_MASK) | (tkns & PD_MSK_INHERIT); in expand_paths()

1234