/freebsd/contrib/lutok/ |
H A D | operations_test.cpp | 55 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 D | stack_cleaner_test.cpp | 69 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 D | test_utils.hpp | 127 if (!_state.is_number(-1) || _state.to_integer(-1) != 987654321) in ~stack_balance_checker()
|
H A D | state_test.cpp | 156 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 D | exceptions_test.cpp | 64 ATF_REQUIRE_EQ(123, state.to_integer(-1)); in ATF_TEST_CASE_BODY()
|
H A D | state.hpp | 136 long to_integer(const int);
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/Breakpad/ |
H A D | BreakpadRecords.cpp | 121 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 D | OptionValueFileColonLine.cpp | 92 !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 D | OptionValueFileSpecList.cpp | 61 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 D | OptionValuePathMappings.cpp | 60 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 D | OptionValueArray.cpp | 177 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 D | OptionValueSInt64.cpp | 45 if (llvm::to_integer(value_trimmed, value)) { in SetValueFromString()
|
H A D | Property.cpp | 187 llvm::to_integer(definition.default_cstr_value, value); in Property() 196 llvm::to_integer(definition.default_cstr_value, value); in Property()
|
H A D | OptionValueUInt64.cpp | 49 if (llvm::to_integer(value_trimmed, value)) { in SetValueFromString()
|
/freebsd/contrib/llvm-project/lld/Common/ |
H A D | Args.cpp | 36 if (to_integer(s, v, base)) in getInteger() 67 if (!to_integer(kv.second, defaultValue)) in getZOptionValue()
|
H A D | Strings.cpp | 56 if (!to_integer(b, h, 16)) { in parseHex()
|
/freebsd/bin/expr/ |
H A D | expr.y | 71 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 D | ABIAArch64.cpp | 157 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 D | CommandObjectThreadUtil.cpp | 69 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 D | bindings.cpp | 83 const int i = state.to_integer(-1); in lua_factorial()
|
/freebsd/contrib/llvm-project/libcxx/modules/std/ |
H A D | cstddef.inc | 30 using std::to_integer;
|
H A D | cstddef.cppm |
|
/freebsd/contrib/llvm-project/lldb/tools/lldb-server/ |
H A D | lldb-platform.cpp | 181 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 D | parser.cpp | 111 const int syntax_version = state.to_integer(-1); in lua_syntax()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | MachineCheckDebugify.cpp | 85 (void)to_integer(LocalVar->getName(), Var, 10); in runOnModule()
|