Home
last modified time | relevance | path

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

1234

/titanic_44/usr/src/lib/libcurses/screen/
H A Dderwin.c57 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->_attrs; in derwin()
88 o_y = orig->_y; in derwin()
[all …]
/titanic_44/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->_begy - by; in subwin()
118 nc = orig->_maxx + orig->_begx - bx; in subwin()
121 win->_nextp = orig->_nextp; in subwin()
122 orig->_nextp = win; in subwin()
123 win->_orig = orig; in subwin()
[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, win); in mvwin()
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_44/usr/src/lib/libnisdb/
H A Ddb_scheme.cc41 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, "ru orig db_scheme::db_scheme"); in db_scheme()
75 READUNLOCKV(orig, "ru orig db_scheme::db_scheme"); in db_scheme()
85 this->max_columns = orig->max_columns; in db_scheme()
86 this->data = orig->data; 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_44/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->name, orig->value) < 0) { in cpr_default_setup()
296 new->mod = orig->mod = PROP_NOMOD; in cpr_default_setup()
297 (void) strcpy(new->name, orig->name); in cpr_default_setup()
303 cpr_err(CE_WARN, fmt, orig->name); in cpr_default_setup()
/titanic_44/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_44/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);
396 memcpy(strp, *orig, len + 1);
400 __os_freestr(*orig);
/titanic_44/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[i]); in duplicate_strarr()
[all …]
/titanic_44/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_44/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_44/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 = (oversize_t *)((uintptr_t)alloc_buf - in memalign()
[all …]
/titanic_44/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_44/usr/src/lib/libsqlite/src/
H A Dbtree_rb.c265 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()
282 static char *append_node(char * orig, BtRbNode *pNode, int indent) in append_node() argument
288 orig = append_val(orig, " "); in append_node()
292 orig = append_val(orig, buf); in append_node()
297 orig = append_val(orig, " B \n"); in append_node()
299 orig = append_val(orig, " R \n"); in append_node()
301 orig = append_node( orig, pNode->pLeft, indent ); in append_node()
[all …]
/titanic_44/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_44/usr/src/uts/common/fs/sockfs/
H A Dsockcommon_subr.c2199 so_integrity_check(struct sonode *cur, struct sonode *orig) in so_integrity_check() argument
2201 VERIFY(cur->so_vnode == orig->so_vnode); in so_integrity_check()
2202 VERIFY(cur->so_ops == orig->so_ops); in so_integrity_check()
2211 VERIFY((cur->so_state & (orig->so_state & CHECK_STATE)) == in so_integrity_check()
2212 (orig->so_state & CHECK_STATE)); in so_integrity_check()
2213 VERIFY(cur->so_mode == orig->so_mode); in so_integrity_check()
2214 VERIFY(cur->so_flag == orig->so_flag); in so_integrity_check()
2215 VERIFY(cur->so_count == orig->so_count); in so_integrity_check()
2217 VERIFY(cur->so_sockparams == orig->so_sockparams); in so_integrity_check()
2219 VERIFY(cur->so_error != 0 || orig->so_error == 0); in so_integrity_check()
[all …]
/titanic_44/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 += sizeof (enabled); in trapstat_make_traptab()
[all …]
/titanic_44/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()
H A Dstabs.c267 char *orig, c; in whitesp() local
269 orig = cp; in whitesp()
279 char *new, *orig, c; in name() local
282 orig = cp; in name()
291 len = cp - orig; in name()
293 while (orig < cp - 1) in name()
294 *new++ = *orig++; in name()
/titanic_44/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_44/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_44/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()
/titanic_44/usr/src/cmd/sendmail/db/btree/
H A Dbtree_auto.c1226 fileid, pgno, lsn, indx, isdeleted, orig, in __bam_repl_log() argument
1237 const DBT *orig;
1262 + sizeof(u_int32_t) + (orig == NULL ? 0 : orig->size)
1289 if (orig == NULL) {
1294 memcpy(bp, &orig->size, sizeof(orig->size));
1295 bp += sizeof(orig->size);
1296 memcpy(bp, orig->data, orig->size);
1297 bp += orig->size;
1363 for (i = 0; i < argp->orig.size; i++) {
1364 ch = ((u_int8_t *)argp->orig.data)[i];
[all …]

1234