Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Macros | |
#define | isvalidchar(x) (isalnum(x) || (x) == ':' || (x) == '$' || (x) == '.' || (x) == '_' || (x) == '?' || (x) == '\\' || (x) == ' ' || (x) == '[' || (x) == ']' || (x) == '}' || (x) == '{' || ((x) >= '0' && (x) <= '9')) |
#define | stringValueAppend(x) |
#define isvalidchar | ( | x | ) | (isalnum(x) || (x) == ':' || (x) == '$' || (x) == '.' || (x) == '_' || (x) == '?' || (x) == '\\' || (x) == ' ' || (x) == '[' || (x) == ']' || (x) == '}' || (x) == '{' || ((x) >= '0' && (x) <= '9')) |
Definition at line 300 of file calc.c.
References c, rz_num_calc_t::calc_buf, rz_num_calc_t::calc_i, and rz_num_calc_t::oc.
Referenced by cin_get_num(), and get_token().
|
static |
Definition at line 318 of file calc.c.
References c, cin_get(), cin_putback(), d, i, IS_DIGIT, isalnum, n, Nset(), Nsetf(), num, rz_num_get(), RZ_NUMCALC_STRSZ, and cmd_descs_generate::str.
Referenced by get_token().
Definition at line 284 of file calc.c.
References c, and rz_num_calc_t::oc.
Referenced by cin_get_num(), and get_token().
Definition at line 161 of file calc.c.
References rz_num_calc_t::calc_err, rz_num_calc_t::errors, and s.
Referenced by get_token(), and prim().
|
static |
Definition at line 167 of file calc.c.
References rz_num_calc_t::curr_tok, Nadd(), Nand(), Ngt(), Nlt(), Norr(), Nrol(), Nror(), Nshl(), Nshr(), Nsub(), num, Nxor(), RNCAND, RNCGT, RNCLT, RNCMINUS, RNCORR, RNCPLUS, RNCROL, RNCROR, RNCSHL, RNCSHR, RNCXOR, and term().
Referenced by esil_cost(), ExprMatch(), exprmatch(), exprmatchreg(), indx(), match(), prim(), rz_analysis_cc_set(), rz_analysis_esil_trace_op(), rz_analysis_noreturn_drop(), rz_bp_item_set_expr(), rz_core_analysis_esil_step_over_untilexpr(), rz_core_visual_esil(), rz_debug_esil_watch(), rz_num_calc(), sdb_foreach_match(), and sdbkv_match().
|
static |
Definition at line 347 of file calc.c.
References c, cin_get(), cin_get_num(), cin_putback(), rz_num_calc_t::curr_tok, error(), i, isspace, isvalidchar, num, rz_num_calc_t::number_value, RNCDEC, RNCEND, RNCEXP, RNCGT, RNCINC, RNCLT, RNCMUL, RNCNAME, RNCNEG, RNCNUMBER, RNCROL, RNCROR, RNCSHL, RNCSHR, RZ_NUMCALC_STRSZ, and stringValueAppend.
Referenced by prim(), and rz_num_calc().
Definition at line 475 of file calc.c.
References rz_num_calc_t::calc_buf, rz_num_calc_t::calc_err, rz_num_calc_t::calc_i, rz_num_calc_t::calc_len, NULL, and s.
Referenced by rz_num_calc().
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
static |
Definition at line 216 of file calc.c.
References rz_num_calc_t::curr_tok, error(), expr(), get_token(), Naddi(), Nneg(), Norr(), Nset(), Nsub(), Nsubi(), num, rz_num_calc_t::number_value, RNCAND, RNCASSIGN, RNCDEC, RNCDIV, RNCEND, RNCEXP, RNCGT, RNCINC, RNCLEFTP, RNCLT, RNCMINUS, RNCMOD, RNCMUL, RNCNAME, RNCNEG, RNCNUMBER, RNCORR, RNCPLUS, RNCPRINT, RNCRIGHTP, RNCROL, RNCROR, RNCSHL, RNCSHR, RNCXOR, rz_num_get(), rz_str_trim(), rz_num_calc_t::string_value, and v.
Referenced by term().
Definition at line 482 of file calc.c.
References rz_num_calc_t::calc_buf, rz_num_calc_t::calc_err, rz_num_calc_t::calc_i, rz_num_calc_t::calc_len, rz_num_calc_t::curr_tok, RzNumCalcValue::d, err, rz_num_calc_t::errors, expr(), get_token(), load_token(), n, RzNumCalcValue::n, NULL, num, rz_num_calc_t::number_value, rz_num_calc_t::oc, RNCPRINT, cmd_descs_generate::str, and rz_num_calc_t::under_calc.
Referenced by rz_num_math().