Home
last modified time | relevance | path

Searched refs:to_integer (Results 1 – 25 of 73) sorted by relevance

123

/freebsd/contrib/lutok/
H A Doperations_test.cpp55 state.push_integer(state.to_integer(-1) + state.to_integer(-2)); in hook_add()
72 state.push_integer(state.to_integer(-1) * state.to_integer(-2)); in hook_multiply()
103 ATF_REQUIRE_EQ(30, state.to_integer(-1)); in ATF_TEST_CASE_BODY()
119 ATF_REQUIRE_EQ(30, state.to_integer(-1)); in ATF_TEST_CASE_BODY()
121 ATF_REQUIRE_EQ(200, state.to_integer(-1)); in ATF_TEST_CASE_BODY()
123 ATF_REQUIRE_EQ(50, state.to_integer(-1)); in ATF_TEST_CASE_BODY()
142 ATF_REQUIRE_EQ(456, state.to_integer(-3)); in ATF_TEST_CASE_BODY()
143 ATF_REQUIRE_EQ(6, state.to_integer(-2)); in ATF_TEST_CASE_BODY()
144 ATF_REQUIRE_EQ(10, state.to_integer(-1)); in ATF_TEST_CASE_BODY()
159 ATF_REQUIRE_EQ(10, state.to_integer(-3)); in ATF_TEST_CASE_BODY()
[all …]
H A Dstack_cleaner_test.cpp69 ATF_REQUIRE_EQ(10, state.to_integer(-1)); in ATF_TEST_CASE_BODY()
74 ATF_REQUIRE_EQ(20, state.to_integer(-1)); in ATF_TEST_CASE_BODY()
75 ATF_REQUIRE_EQ(10, state.to_integer(-2)); in ATF_TEST_CASE_BODY()
78 ATF_REQUIRE_EQ(10, state.to_integer(-1)); in ATF_TEST_CASE_BODY()
97 ATF_REQUIRE_EQ(30, state.to_integer(-1)); in ATF_TEST_CASE_BODY()
H A Dtest_utils.hpp127 if (!_state.is_number(-1) || _state.to_integer(-1) != 987654321) in ~stack_balance_checker()
H A Dstate_test.cpp156 const int dividend = state.to_integer(-2); in cxx_divide()
157 const int divisor = state.to_integer(-1); in cxx_divide()
181 const int length = state.to_integer(-1); in raise_long_error()
1039 ATF_TEST_CASE_WITHOUT_HEAD(to_integer);
1040 ATF_TEST_CASE_BODY(to_integer) in ATF_TEST_CASE_BODY() argument
1045 ATF_REQUIRE_EQ(12, state.to_integer(-2)); in ATF_TEST_CASE_BODY()
1160 ATF_ADD_TEST_CASE(tcs, to_integer); in ATF_INIT_TEST_CASES()
H A Dexceptions_test.cpp64 ATF_REQUIRE_EQ(123, state.to_integer(-1)); in ATF_TEST_CASE_BODY()
H A Dstate.hpp136 long to_integer(const int);
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/Breakpad/
H A DBreakpadRecords.cpp121 bool success = to_integer(age_str, age, 16); in parseModuleId()
238 if (!to_integer(Str, Number)) in parseNumberName()
287 if (!to_integer(Str, Address, 16)) in parsePublicOrFunc()
292 if (!to_integer(Str, *Size, 16)) in parsePublicOrFunc()
297 if (!to_integer(Str, ParamSize, 16)) in parsePublicOrFunc()
344 if (!(to_integer(Tokens[0], InlineNestLevel) && in parse()
345 to_integer(Tokens[1], CallSiteLineNum) && in parse()
346 to_integer(Tokens[2], CallSiteFileNum) && in parse()
347 to_integer(Tokens[3], OriginNum))) in parse()
354 if (!to_integer(Token in parse()
[all...]
/freebsd/contrib/llvm-project/lldb/source/Interpreter/
H A DOptionValueFileColonLine.cpp92 !llvm::to_integer(middle_piece, m_line_number)) { in SetValueFromString()
97 if (!llvm::to_integer(last_piece, m_line_number)) { in SetValueFromString()
106 if (!llvm::to_integer(last_piece, m_column_number)) { in SetValueFromString()
H A DOptionValueFileSpecList.cpp61 if (!llvm::to_integer(args.GetArgumentAtIndex(0), idx) || idx > count) { in SetValueFromString()
104 if (!llvm::to_integer(args.GetArgumentAtIndex(0), idx) || idx > count) { in SetValueFromString()
130 if (!llvm::to_integer(args.GetArgumentAtIndex(i), idx)) in SetValueFromString()
H A DOptionValuePathMappings.cpp60 if (!llvm::to_integer(args.GetArgumentAtIndex(0), idx) || idx > count) { in SetValueFromString()
133 if (!llvm::to_integer(args.GetArgumentAtIndex(0), idx) || idx > count) { in SetValueFromString()
171 if (!llvm::to_integer(args.GetArgumentAtIndex(i), idx) || idx < 0 || in SetValueFromString()
H A DOptionValueArray.cpp177 if (!llvm::to_integer(args.GetArgumentAtIndex(0), idx) || idx > count) { in SetArgs()
215 if (!llvm::to_integer(args.GetArgumentAtIndex(i), idx) || idx >= size) { in SetArgs()
257 if (!llvm::to_integer(args.GetArgumentAtIndex(0), idx) || idx > count) { in SetArgs()
H A DOptionValueSInt64.cpp45 if (llvm::to_integer(value_trimmed, value)) { in SetValueFromString()
H A DProperty.cpp187 llvm::to_integer(definition.default_cstr_value, value); in Property()
196 llvm::to_integer(definition.default_cstr_value, value); in Property()
H A DOptionValueUInt64.cpp49 if (llvm::to_integer(value_trimmed, value)) { in SetValueFromString()
/freebsd/contrib/llvm-project/lld/Common/
H A DArgs.cpp36 if (to_integer(s, v, base)) in getInteger()
67 if (!to_integer(kv.second, defaultValue)) in getZOptionValue()
H A DStrings.cpp56 if (!to_integer(b, h, 16)) { in parseHex()
/freebsd/bin/expr/
H A Dexpr.y71 int to_integer(struct val *);
156 to_integer(struct val *vp) in to_integer() function
179 if (!to_integer(vp)) in assert_to_integer()
262 return (*vp->u.s == 0 || (to_integer(vp) && vp->u.i == 0)); in is_zero_or_null()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ABI/AArch64/
H A DABIAArch64.cpp157 llvm::to_integer(reg_name, reg_num, 10) && reg_num < 32) || in AugmentRegisterInfo()
159 llvm::to_integer(alt_name, reg_num, 10) && reg_num < 32); in AugmentRegisterInfo()
/freebsd/contrib/llvm-project/lldb/source/Commands/
H A DCommandObjectThreadUtil.cpp69 if (!llvm::to_integer(command.GetArgumentAtIndex(i), thread_idx)) { in DoExecute()
188 if (!llvm::to_integer(command.GetArgumentAtIndex(i), thread_idx)) { in DoExecute()
/freebsd/contrib/lutok/examples/
H A Dbindings.cpp83 const int i = state.to_integer(-1); in lua_factorial()
/freebsd/contrib/llvm-project/libcxx/modules/std/
H A Dcstddef.inc30 using std::to_integer;
H A Dcstddef.cppm
/freebsd/contrib/llvm-project/lldb/tools/lldb-server/
H A Dlldb-platform.cpp181 if (!llvm::to_integer(optarg, port_offset)) { in main_platform()
199 if (!llvm::to_integer(optarg, portnum)) { in main_platform()
/freebsd/contrib/kyua/utils/config/
H A Dparser.cpp111 const int syntax_version = state.to_integer(-1); in lua_syntax()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineCheckDebugify.cpp85 (void)to_integer(LocalVar->getName(), Var, 10); in runOnModule()

123