/titanic_50/usr/src/lib/libcurses/screen/ |
H A D | derwin.c | 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->_attrs; in derwin() 88 o_y = orig->_y; in derwin() [all …]
|
/titanic_50/usr/src/ucblib/libcurses/ |
H A D | newwin.c | 95 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 D | mvwin.c | 33 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 D | id_subwins.c | 32 _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_50/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_receive/ |
H A D | zfs_receive_012_pos.ksh | 56 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 D | zfs_receive_011_pos.ksh | 55 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_50/usr/src/lib/libnisdb/ |
H A D | db_scheme.cc | 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, "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 D | db_index.cc | 401 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_50/usr/src/uts/sparc/os/ |
H A D | cpr_sparc.c | 257 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_50/usr/src/cmd/sgs/liblddbg/common/ |
H A D | libs.c | 109 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 D | unused.c | 90 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_50/usr/src/cmd/sendmail/db/log/ |
H A D | log_archive.c | 380 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_50/usr/src/lib/libnsl/ipsec/ |
H A D | algs.c | 667 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_50/usr/src/ucbcmd/vipw/ |
H A D | vipw.c | 226 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_50/usr/src/lib/libshare/common/ |
H A D | parser.c | 45 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_50/usr/src/lib/libmtmalloc/common/ |
H A D | mtmalloc.c | 511 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_50/usr/src/cmd/dlutil/ |
H A D | dlled.c | 75 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_50/usr/src/lib/libsqlite/src/ |
H A D | btree_rb.c | 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() 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_50/usr/src/cmd/dtrace/test/tst/common/pid/ |
H A D | tst.utf8probefunc.ksh | 37 if ! gcc -m32 -S -o foo.orig.s foo.c ; then 45 cat foo.orig.s | sed 's/foo/foø/g' > foo.s
|
/titanic_50/usr/src/uts/common/fs/sockfs/ |
H A D | sockcommon_subr.c | 2200 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->so_error == 0); in so_integrity_check() [all …]
|
/titanic_50/usr/src/uts/sun4/io/ |
H A D | trapstat.c | 1247 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_50/usr/src/tools/stabs/ |
H A D | main.c | 191 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_50/usr/src/cmd/rpcgen/ |
H A D | rpc_util.c | 129 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_50/usr/src/uts/intel/io/pci/ |
H A D | pci_resource.c | 147 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_50/usr/src/cmd/sgs/rtld/common/ |
H A D | paths.c | 343 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()
|