Home
last modified time | relevance | path

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

123

/freebsd-14-stable/contrib/lutok/
HDoperations_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 …]
HDstack_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()
HDtest_utils.hpp127 if (!_state.is_number(-1) || _state.to_integer(-1) != 987654321) in ~stack_balance_checker()
HDstate_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()
HDstate.hpp136 long to_integer(const int);
HDexceptions_test.cpp64 ATF_REQUIRE_EQ(123, state.to_integer(-1)); in ATF_TEST_CASE_BODY()
/freebsd-14-stable/contrib/llvm-project/lldb/source/Plugins/ObjectFile/Breakpad/
HDBreakpadRecords.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(Tokens[i], Address, 16)) in parse()
[all …]
/freebsd-14-stable/contrib/llvm-project/lldb/source/Interpreter/
HDOptionValueFileColonLine.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()
HDOptionValueFileSpecList.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()
HDOptionValuePathMappings.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()
HDOptionValueArray.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()
HDOptionValueSInt64.cpp45 if (llvm::to_integer(value_trimmed, value)) { in SetValueFromString()
HDProperty.cpp187 llvm::to_integer(definition.default_cstr_value, value); in Property()
196 llvm::to_integer(definition.default_cstr_value, value); in Property()
HDOptionValueUInt64.cpp49 if (llvm::to_integer(value_trimmed, value)) { in SetValueFromString()
/freebsd-14-stable/contrib/llvm-project/lld/Common/
HDArgs.cpp36 if (to_integer(s, v, base)) in getInteger()
67 if (!to_integer(kv.second, defaultValue)) in getZOptionValue()
HDStrings.cpp56 if (!to_integer(b, h, 16)) { in parseHex()
/freebsd-14-stable/contrib/llvm-project/lldb/source/Plugins/ABI/AArch64/
HDABIAArch64.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-14-stable/contrib/llvm-project/lldb/source/Commands/
HDCommandObjectThreadUtil.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-14-stable/contrib/lutok/examples/
HDbindings.cpp83 const int i = state.to_integer(-1); in lua_factorial()
/freebsd-14-stable/contrib/llvm-project/libcxx/modules/std/
HDcstddef.inc30 using std::to_integer;
/freebsd-14-stable/contrib/llvm-project/lldb/tools/lldb-server/
HDlldb-platform.cpp181 if (!llvm::to_integer(optarg, port_offset)) { in main_platform()
199 if (!llvm::to_integer(optarg, portnum)) { in main_platform()
/freebsd-14-stable/contrib/kyua/utils/config/
HDparser.cpp111 const int syntax_version = state.to_integer(-1); in lua_syntax()
/freebsd-14-stable/contrib/llvm-project/llvm/lib/CodeGen/
HDMachineCheckDebugify.cpp85 (void)to_integer(LocalVar->getName(), Var, 10); in runOnModule()
/freebsd-14-stable/contrib/llvm-project/lldb/source/Host/common/
HDSocket.cpp197 if (to_integer(matches[2], ret.port, 10)) in DecodeHostAndPort()
202 if (to_integer(host_and_port, ret.port, 10)) in DecodeHostAndPort()
/freebsd-14-stable/contrib/llvm-project/llvm/lib/ObjectYAML/
HDCodeViewYAMLTypes.cpp167 if (!to_integer(A[0], G.Data1, 16) || !to_integer(A[1], G.Data2, 16) || in input()
168 !to_integer(A[2], G.Data3, 16) || !to_integer(A[3], D41, 16) || in input()
169 !to_integer(A[4], D42, 16)) in input()

123