Home
last modified time | relevance | path

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

123

/freebsd-14.2/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()
123 ATF_REQUIRE_EQ(50, state.to_integer(-1)); 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()
160 ATF_REQUIRE_EQ(20, state.to_integer(-2)); in ATF_TEST_CASE_BODY()
161 ATF_REQUIRE_EQ(30, state.to_integer(-1)); 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 Dstate.hpp136 long to_integer(const int);
H A Dexceptions_test.cpp64 ATF_REQUIRE_EQ(123, state.to_integer(-1)); in ATF_TEST_CASE_BODY()
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/ObjectFile/Breakpad/
H A DBreakpadRecords.cpp238 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()
385 if (!to_integer(Str, Address, 16)) in parse()
390 if (!to_integer(Str, Size, 16)) in parse()
395 if (!to_integer(Str, LineNum)) in parse()
400 if (!to_integer(Str, FileNum)) in parse()
457 if (!to_integer(Str, Address, 16)) in parse()
464 if (!to_integer(Str, *Size, 16)) in parse()
506 if (!to_integer(Str, RVA, 16)) in parse()
[all …]
/freebsd-14.2/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 DOptionValueUInt64.cpp49 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()
/freebsd-14.2/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-14.2/contrib/llvm-project/lldb/source/Plugins/ABI/AArch64/
H A DABIAArch64.cpp132 llvm::to_integer(reg_name, reg_num, 10) && reg_num < 32) || in AugmentRegisterInfo()
134 llvm::to_integer(alt_name, reg_num, 10) && reg_num < 32); in AugmentRegisterInfo()
/freebsd-14.2/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-14.2/contrib/lutok/examples/
H A Dbindings.cpp83 const int i = state.to_integer(-1); in lua_factorial()
/freebsd-14.2/contrib/llvm-project/lldb/source/Commands/
H A DCommandObjectThreadUtil.cpp71 if (!llvm::to_integer(command.GetArgumentAtIndex(i), thread_idx)) { in DoExecute()
190 if (!llvm::to_integer(command.GetArgumentAtIndex(i), thread_idx)) { in DoExecute()
/freebsd-14.2/contrib/llvm-project/libcxx/modules/std/
H A Dcstddef.inc30 using std::to_integer;
/freebsd-14.2/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-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineCheckDebugify.cpp84 (void)to_integer(LocalVar->getName(), Var, 10); in runOnModule()
/freebsd-14.2/contrib/kyua/utils/config/
H A Dparser.cpp111 const int syntax_version = state.to_integer(-1); in lua_syntax()
/freebsd-14.2/contrib/llvm-project/lldb/source/Host/common/
H A DSocket.cpp198 if (to_integer(matches[2], ret.port, 10)) in DecodeHostAndPort()
203 if (to_integer(host_and_port, ret.port, 10)) in DecodeHostAndPort()

123