| /dragonfly/contrib/nvi2/common/ |
| HD | screen.c | 34 screen_init(GS *gp, SCR *orig, SCR **spp) in screen_init() argument 40 CALLOC_RET(orig, sp, 1, sizeof(SCR)); in screen_init() 60 if (orig == NULL) { in screen_init() 64 if (orig->alt_name != NULL && in screen_init() 65 (sp->alt_name = strdup(orig->alt_name)) == NULL) in screen_init() 69 if (F_ISSET(orig, SC_AT_SET)) { in screen_init() 71 sp->at_lbuf = orig->at_lbuf; in screen_init() 75 sp->searchdir = orig->searchdir == NOTSET ? NOTSET : FORWARD; in screen_init() 76 if (orig->re != NULL && (sp->re = in screen_init() 77 v_wstrdup(sp, orig->re, orig->re_len)) == NULL) in screen_init() [all …]
|
| /dragonfly/usr.bin/seq/ |
| HD | seq.c | 271 unescape(char *orig) in unescape() argument 273 char c, *cp, *new = orig; in unescape() 276 for (cp = orig; (*orig = *cp) != '\0'; cp++, orig++) { in unescape() 282 *orig = '\a'; in unescape() 285 *orig = '\b'; in unescape() 288 *orig = '\e'; in unescape() 291 *orig = '\f'; in unescape() 294 *orig = '\n'; in unescape() 297 *orig = '\r'; in unescape() 300 *orig = '\t'; in unescape() [all …]
|
| /dragonfly/contrib/binutils-2.34/binutils/ |
| HD | stabs.c | 239 const char *orig; in parse_number() local 244 orig = *pp; in parse_number() 245 if (orig >= p_end) in parse_number() 249 if (*orig == 0) in parse_number() 259 if (*orig == '-') in parse_number() 276 p = orig; in parse_number() 344 warn_stab (orig, _("numeric overflow")); in parse_number() 1173 const char *orig; in parse_stab_type() local 1183 orig = *pp; in parse_stab_type() 1184 if (orig >= p_end) in parse_stab_type() [all …]
|
| /dragonfly/contrib/binutils-2.27/binutils/ |
| HD | stabs.c | 228 const char *orig; in parse_number() local 233 orig = *pp; in parse_number() 242 if (*orig == '-') in parse_number() 259 p = orig; in parse_number() 327 warn_stab (orig, _("numeric overflow")); in parse_number() 1143 const char *orig; in parse_stab_type() local 1153 orig = *pp; in parse_stab_type() 1215 bad_stab (orig); in parse_stab_type() 1267 warn_stab (orig, _("unrecognized cross reference type")); in parse_stab_type() 1277 bad_stab (orig); in parse_stab_type() [all …]
|
| /dragonfly/sbin/newbtconf/ |
| HD | newbtconf.sh | 82 orig=etc.current 85 orig=$2 88 if [ -z "`expr $orig : 'etc.\(.*\)'`" ] ; then 89 orig=etc.$orig 92 if [ ! -d /etc/$orig ] ; then 93 echo "Original directory /etc/$orig does not exist." 97 cd /etc/$orig
|
| /dragonfly/contrib/gcc-8.0/gcc/ |
| HD | rtl.c | 256 shared_const_p (const_rtx orig) in shared_const_p() argument 258 gcc_assert (GET_CODE (orig) == CONST); in shared_const_p() 263 return (GET_CODE (XEXP (orig, 0)) == PLUS in shared_const_p() 264 && GET_CODE (XEXP (XEXP (orig, 0), 0)) == SYMBOL_REF in shared_const_p() 265 && poly_int_rtx_p (XEXP (XEXP (orig, 0), 1), &offset)); in shared_const_p() 274 copy_rtx (rtx orig) in copy_rtx() argument 281 code = GET_CODE (orig); in copy_rtx() 297 return orig; in copy_rtx() 302 if (REG_P (XEXP (orig, 0)) && REGNO (XEXP (orig, 0)) < FIRST_PSEUDO_REGISTER in copy_rtx() 303 && ORIGINAL_REGNO (XEXP (orig, 0)) == REGNO (XEXP (orig, 0))) in copy_rtx() [all …]
|
| HD | cselib.c | 1532 cselib_expand_value_rtx (rtx orig, bitmap regs_active, int max_depth) in cselib_expand_value_rtx() argument 1541 return cselib_expand_value_rtx_1 (orig, &evd, max_depth); in cselib_expand_value_rtx() 1551 cselib_expand_value_rtx_cb (rtx orig, bitmap regs_active, int max_depth, in cselib_expand_value_rtx_cb() argument 1561 return cselib_expand_value_rtx_1 (orig, &evd, max_depth); in cselib_expand_value_rtx_cb() 1569 cselib_dummy_expand_value_rtx_cb (rtx orig, bitmap regs_active, int max_depth, in cselib_dummy_expand_value_rtx_cb() argument 1579 return cselib_expand_value_rtx_1 (orig, &evd, max_depth) != NULL; in cselib_dummy_expand_value_rtx_cb() 1586 cselib_expand_value_rtx_1 (rtx orig, struct expand_value_data *evd, in cselib_expand_value_rtx_1() argument 1595 code = GET_CODE (orig); in cselib_expand_value_rtx_1() 1607 struct elt_list *l = REG_VALUES (REGNO (orig)); in cselib_expand_value_rtx_1() 1612 if (GET_MODE (l->elt->val_rtx) == GET_MODE (orig)) in cselib_expand_value_rtx_1() [all …]
|
| HD | vec-perm-indices.c | 86 vec_perm_indices::new_expanded_vector (const vec_perm_indices &orig, in new_expanded_vector() argument 89 m_ninputs = orig.m_ninputs; in new_expanded_vector() 90 m_nelts_per_input = orig.m_nelts_per_input * factor; in new_expanded_vector() 91 m_encoding.new_vector (orig.m_encoding.full_nelts () * factor, in new_expanded_vector() 92 orig.m_encoding.npatterns () * factor, in new_expanded_vector() 93 orig.m_encoding.nelts_per_pattern ()); in new_expanded_vector() 94 unsigned int encoded_nelts = orig.m_encoding.encoded_nelts (); in new_expanded_vector() 97 element_type base = orig.m_encoding[i] * factor; in new_expanded_vector()
|
| /dragonfly/contrib/lvm2/dist/libdm/ |
| HD | libdm-file.c | 25 char *orig, *s; in _create_dir_recursive() local 30 orig = s = dm_strdup(dir); in _create_dir_recursive() 33 if (*orig) { in _create_dir_recursive() 34 rc = mkdir(orig, 0777); in _create_dir_recursive() 37 log_sys_error("mkdir", orig); in _create_dir_recursive() 48 log_sys_error("mkdir", orig); in _create_dir_recursive() 54 dm_free(orig); in _create_dir_recursive()
|
| /dragonfly/contrib/gcc-4.7/gcc/ |
| HD | rtl.c | 219 shared_const_p (const_rtx orig) in shared_const_p() argument 221 gcc_assert (GET_CODE (orig) == CONST); in shared_const_p() 225 return (GET_CODE (XEXP (orig, 0)) == PLUS in shared_const_p() 226 && GET_CODE (XEXP (XEXP (orig, 0), 0)) == SYMBOL_REF in shared_const_p() 227 && CONST_INT_P(XEXP (XEXP (orig, 0), 1))); in shared_const_p() 236 copy_rtx (rtx orig) in copy_rtx() argument 243 code = GET_CODE (orig); in copy_rtx() 262 return orig; in copy_rtx() 264 if (REG_P (XEXP (orig, 0)) && REGNO (XEXP (orig, 0)) < FIRST_PSEUDO_REGISTER) in copy_rtx() 265 return orig; in copy_rtx() [all …]
|
| HD | cselib.c | 1482 cselib_expand_value_rtx (rtx orig, bitmap regs_active, int max_depth) in cselib_expand_value_rtx() argument 1491 return cselib_expand_value_rtx_1 (orig, &evd, max_depth); in cselib_expand_value_rtx() 1501 cselib_expand_value_rtx_cb (rtx orig, bitmap regs_active, int max_depth, in cselib_expand_value_rtx_cb() argument 1511 return cselib_expand_value_rtx_1 (orig, &evd, max_depth); in cselib_expand_value_rtx_cb() 1519 cselib_dummy_expand_value_rtx_cb (rtx orig, bitmap regs_active, int max_depth, in cselib_dummy_expand_value_rtx_cb() argument 1529 return cselib_expand_value_rtx_1 (orig, &evd, max_depth) != NULL; in cselib_dummy_expand_value_rtx_cb() 1536 cselib_expand_value_rtx_1 (rtx orig, struct expand_value_data *evd, in cselib_expand_value_rtx_1() argument 1545 code = GET_CODE (orig); in cselib_expand_value_rtx_1() 1557 struct elt_list *l = REG_VALUES (REGNO (orig)); in cselib_expand_value_rtx_1() 1562 if (GET_MODE (l->elt->val_rtx) == GET_MODE (orig)) in cselib_expand_value_rtx_1() [all …]
|
| HD | tree-ssa-copy.c | 60 may_propagate_copy (tree dest, tree orig) in may_propagate_copy() argument 63 tree type_o = TREE_TYPE (orig); in may_propagate_copy() 66 if (TREE_CODE (orig) == SSA_NAME in may_propagate_copy() 67 && SSA_NAME_OCCURS_IN_ABNORMAL_PHI (orig)) in may_propagate_copy() 84 gcc_assert (TREE_CODE (orig) == SSA_NAME && !is_gimple_reg (orig)); in may_propagate_copy() 99 may_propagate_copy_into_stmt (gimple dest, tree orig) in may_propagate_copy_into_stmt() argument 110 return may_propagate_copy (gimple_assign_rhs1 (dest), orig); in may_propagate_copy_into_stmt() 112 return may_propagate_copy (gimple_switch_index (dest), orig); in may_propagate_copy_into_stmt() 119 if (TREE_CODE (orig) == SSA_NAME in may_propagate_copy_into_stmt() 120 && SSA_NAME_OCCURS_IN_ABNORMAL_PHI (orig)) in may_propagate_copy_into_stmt() [all …]
|
| /dragonfly/contrib/ncurses/ncurses/base/ |
| HD | lib_newwin.c | 195 derwin(WINDOW *orig, int num_lines, int num_columns, int begy, int begx) in derwin() argument 201 SCREEN *sp = _nc_screen_of(orig); in derwin() 204 T((T_CALLED("derwin(%p,%d,%d,%d,%d)"), (void *) orig, num_lines, num_columns, in derwin() 210 if (begy < 0 || begx < 0 || orig == 0 || num_lines < 0 || num_columns < 0) in derwin() 212 if (begy + num_lines > orig->_maxy + 1 in derwin() 213 || begx + num_columns > orig->_maxx + 1) in derwin() 217 num_lines = orig->_maxy + 1 - begy; in derwin() 220 num_columns = orig->_maxx + 1 - begx; in derwin() 222 if (orig->_flags & _ISPAD) in derwin() 226 orig->_begy + begy, in derwin() [all …]
|
| /dragonfly/games/monop/ |
| HD | misc.c | 123 MON *orig; /* remember starting monop ptr */ in set_ownlist() local 171 orig = op->sqr->desc->mon_desc; in set_ownlist() 174 while (op && op->sqr->desc->mon_desc == orig) { in set_ownlist() 190 if (orig == NULL) { in set_ownlist() 192 "orig = %p\n", orig); in set_ownlist() 216 printf("orig->num_in = %d\n", orig->num_in); in set_ownlist() 218 if (num == orig->num_in) in set_ownlist() 219 is_monop(orig, pl); in set_ownlist() 221 is_not_monop(orig); in set_ownlist()
|
| /dragonfly/sys/dev/drm/amd/amdgpu/ |
| HD | cik.c | 1540 u32 data, orig; in cik_program_aspm() local 1554 orig = data = RREG32_PCIE(ixPCIE_LC_N_FTS_CNTL); in cik_program_aspm() 1558 if (orig != data) in cik_program_aspm() 1561 orig = data = RREG32_PCIE(ixPCIE_LC_CNTL3); in cik_program_aspm() 1563 if (orig != data) in cik_program_aspm() 1566 orig = data = RREG32_PCIE(ixPCIE_P_CNTL); in cik_program_aspm() 1568 if (orig != data) in cik_program_aspm() 1571 orig = data = RREG32_PCIE(ixPCIE_LC_CNTL); in cik_program_aspm() 1581 if (orig != data) in cik_program_aspm() 1587 orig = data = RREG32_PCIE(ixPB0_PIF_PWRDOWN_0); in cik_program_aspm() [all …]
|
| /dragonfly/usr.bin/find/ |
| HD | misc.c | 53 brace_subst(char *orig, char **store, char *path, int len) in brace_subst() argument 59 for (p = *store; (ch = *orig) != '\0'; ++orig) in brace_subst() 60 if (ch == '{' && orig[1] == '}') { in brace_subst() 66 ++orig; in brace_subst()
|
| /dragonfly/sys/dev/virtual/hyperv/vmbus/ |
| HD | vmbus.c | 804 uint64_t val, orig; in vmbus_synic_setup() local 826 orig = rdmsr(MSR_HV_SIMP); in vmbus_synic_setup() 827 val = MSR_HV_SIMP_ENABLE | (orig & MSR_HV_SIMP_RSVD_MASK) | in vmbus_synic_setup() 834 orig = rdmsr(MSR_HV_SIEFP); in vmbus_synic_setup() 835 val = MSR_HV_SIEFP_ENABLE | (orig & MSR_HV_SIEFP_RSVD_MASK) | in vmbus_synic_setup() 845 orig = rdmsr(sint); in vmbus_synic_setup() 847 (orig & MSR_HV_SINT_RSVD_MASK); in vmbus_synic_setup() 854 orig = rdmsr(sint); in vmbus_synic_setup() 856 (orig & MSR_HV_SINT_RSVD_MASK); in vmbus_synic_setup() 862 orig = rdmsr(MSR_HV_SCONTROL); in vmbus_synic_setup() [all …]
|
| /dragonfly/contrib/gcc-4.7/libobjc/ |
| HD | selector.c | 51 struct objc_selector *orig, BOOL is_const); 480 struct objc_selector *orig, BOOL is_const) in __sel_register_typed_name() argument 499 if (orig) in __sel_register_typed_name() 501 orig->sel_id = (void *)i; in __sel_register_typed_name() 502 return orig; in __sel_register_typed_name() 510 if (orig) in __sel_register_typed_name() 512 orig->sel_id = (void *)i; in __sel_register_typed_name() 513 return orig; in __sel_register_typed_name() 521 if (orig) in __sel_register_typed_name() 522 j = orig; in __sel_register_typed_name() [all …]
|
| /dragonfly/contrib/nvi2/vi/ |
| HD | v_init.c | 33 v_screen_copy(SCR *orig, SCR *sp) in v_screen_copy() argument 38 CALLOC_RET(orig, nvip, 1, sizeof(VI_PRIVATE)); in v_screen_copy() 44 if (orig == NULL) { in v_screen_copy() 47 ovip = VIP(orig); in v_screen_copy() 51 MALLOC_RET(orig, nvip->rep, ovip->rep_len); in v_screen_copy()
|
| /dragonfly/usr.bin/patch/ |
| HD | util.c | 96 backup_file(const char *orig) in backup_file() argument 103 if (backup_type == none || stat(orig, &filestat) != 0) in backup_file() 111 unlink(orig); in backup_file() 119 strlcat(bakname, orig, sizeof(bakname)) >= sizeof(bakname)) in backup_file() 122 if ((s = find_backup_file_name(orig)) == NULL) in backup_file() 152 say("Moving %s to %s.\n", orig, bakname); in backup_file() 154 if (rename(orig, bakname) < 0) { in backup_file() 155 if (errno != EXDEV || copy_file(orig, bakname) < 0) in backup_file()
|
| /dragonfly/sys/dev/drm/radeon/ |
| HD | si.c | 5193 u32 data, orig; in si_halt_rlc() local 5195 orig = data = RREG32(RLC_CNTL); in si_halt_rlc() 5204 return orig; in si_halt_rlc() 5218 u32 data, orig; in si_enable_dma_pg() local 5220 orig = data = RREG32(DMA_PG); in si_enable_dma_pg() 5225 if (orig != data) in si_enable_dma_pg() 5344 u32 data, orig, tmp; in si_enable_cgcg() local 5346 orig = data = RREG32(RLC_CGCG_CGLS_CTRL); in si_enable_cgcg() 5377 if (orig != data) in si_enable_cgcg() 5384 u32 data, orig, tmp = 0; in si_enable_mgcg() local [all …]
|
| HD | vce_v2_0.c | 75 u32 orig, tmp; in vce_v2_0_set_dyn_cg() local 87 orig = tmp = RREG32(VCE_UENC_CLOCK_GATING); in vce_v2_0_set_dyn_cg() 90 if (tmp != orig) in vce_v2_0_set_dyn_cg() 93 orig = tmp = RREG32(VCE_UENC_REG_CLOCK_GATING); in vce_v2_0_set_dyn_cg() 95 if (tmp != orig) in vce_v2_0_set_dyn_cg()
|
| HD | cik.c | 5855 u32 data, orig; in cik_halt_rlc() local 5857 orig = data = RREG32(RLC_CNTL); in cik_halt_rlc() 5874 return orig; in cik_halt_rlc() 6032 u32 data, orig, tmp, tmp2; in cik_enable_cgcg() local 6034 orig = data = RREG32(RLC_CGCG_CGLS_CTRL); in cik_enable_cgcg() 6063 if (orig != data) in cik_enable_cgcg() 6070 u32 data, orig, tmp = 0; in cik_enable_mgcg() local 6075 orig = data = RREG32(CP_MEM_SLP_CNTL); in cik_enable_mgcg() 6077 if (orig != data) in cik_enable_mgcg() 6082 orig = data = RREG32(RLC_CGTT_MGCG_OVERRIDE); in cik_enable_mgcg() [all …]
|
| /dragonfly/contrib/gcc-8.0/gcc/cp/ |
| HD | constraint.cc | 2775 diagnose_predicate_constraint (location_t loc, tree orig, tree cur, tree args) in diagnose_predicate_constraint() argument 2778 diagnose_trait_expression (loc, orig, cur, args); in diagnose_predicate_constraint() 2780 diagnose_other_expression (loc, orig, cur, args); in diagnose_predicate_constraint() 2828 diagnose_check_constraint (location_t loc, tree orig, tree cur, tree args) in diagnose_check_constraint() argument 2862 orig = get_concept_definition (CHECK_CONSTR_CONCEPT (orig)); in diagnose_check_constraint() 2863 orig = normalize_expression (orig); in diagnose_check_constraint() 2867 diagnose_constraint (dloc, orig, cur, targs); in diagnose_check_constraint() 2874 diagnose_logical_constraint (location_t loc, tree orig, tree cur, tree args) in diagnose_logical_constraint() argument 2879 diagnose_constraint (loc, TREE_OPERAND (orig, 0), t0, args); in diagnose_logical_constraint() 2880 else if (TREE_CODE (orig) == TRUTH_ORIF_EXPR) in diagnose_logical_constraint() [all …]
|
| /dragonfly/contrib/lvm2/dist/test/ |
| HD | t-unknown-segment.sh | 20 sed -e 's,striped,unstriped,;s,mirror,unmirror,' -i.orig bak0 28 sed -e 's,unstriped,striped,;s,unmirror,mirror,' -i.orig bak1 32 egrep -v 'description|seqno|creation_time|Generated' < bak0.orig > a
|