| /freebsd-13.1/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() 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 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-13.1/contrib/llvm-project/lldb/source/Plugins/ObjectFile/Breakpad/ |
| H A D | BreakpadRecords.cpp | 227 if (!to_integer(Str, Number)) in parse() 260 if (!to_integer(Str, Address, 16)) in parsePublicOrFunc() 265 if (!to_integer(Str, *Size, 16)) in parsePublicOrFunc() 306 if (!to_integer(Str, Address, 16)) in parse() 311 if (!to_integer(Str, Size, 16)) in parse() 316 if (!to_integer(Str, LineNum)) in parse() 321 if (!to_integer(Str, FileNum)) in parse() 378 if (!to_integer(Str, Address, 16)) in parse() 385 if (!to_integer(Str, *Size, 16)) in parse() 427 if (!to_integer(Str, RVA, 16)) in parse() [all …]
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Interpreter/ |
| H A D | OptionValueFileColonLine.cpp | 93 !llvm::to_integer(middle_piece, m_line_number)) { in SetValueFromString() 98 if (!llvm::to_integer(last_piece, m_line_number)) { in SetValueFromString() 107 if (!llvm::to_integer(last_piece, m_column_number)) { in SetValueFromString()
|
| /freebsd-13.1/contrib/llvm-project/lld/Common/ |
| H A D | Args.cpp | 39 if (to_integer(s, v, base)) in getInteger() 70 if (!to_integer(kv.second, result)) in getZOptionValue()
|
| H A D | Strings.cpp | 68 if (!to_integer(b, h, 16)) { in parseHex()
|
| /freebsd-13.1/bin/expr/ |
| H A D | expr.y | 73 int to_integer(struct val *); 158 to_integer(struct val *vp) in to_integer() function 181 if (!to_integer(vp)) in assert_to_integer() 264 return (*vp->u.s == 0 || (to_integer(vp) && vp->u.i == 0)); in is_zero_or_null()
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Commands/ |
| H A D | CommandObjectThreadUtil.cpp | 58 if (!llvm::to_integer(command.GetArgumentAtIndex(i), thread_idx)) { in DoExecute() 178 if (!llvm::to_integer(command.GetArgumentAtIndex(i), thread_idx)) { in DoExecute()
|
| H A D | CommandObjectThread.cpp | 394 if (!llvm::to_integer(thread_idx_cstr, step_thread_idx)) { in DoExecute() 908 if (!llvm::to_integer(command.GetArgumentAtIndex(i), line_number)) { in DoExecute() 1133 if (!llvm::to_integer(command.GetArgumentAtIndex(0), index_id)) { in DoExecute() 1815 if (!llvm::to_integer(args.GetArgumentAtIndex(0), thread_plan_idx)) { in DoExecute() 1887 if (!llvm::to_integer(args.GetArgumentAtIndex(i), tid)) { in DoExecute()
|
| /freebsd-13.1/contrib/lutok/examples/ |
| H A D | bindings.cpp | 83 const int i = state.to_integer(-1); in lua_factorial()
|
| /freebsd-13.1/contrib/llvm-project/lldb/tools/lldb-server/ |
| H A D | lldb-platform.cpp | 205 if (!llvm::to_integer(optarg, port_offset)) { in main_platform() 223 if (!llvm::to_integer(optarg, portnum)) { in main_platform()
|
| H A D | lldb-gdbserver.cpp | 455 if (!llvm::to_integer(Args.getLastArgValue(OPT_pipe), Arg)) { in main_gdbserver() 462 if (!llvm::to_integer(Args.getLastArgValue(OPT_fd), connection_fd)) { in main_gdbserver()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | MachineCheckDebugify.cpp | 82 (void)to_integer(LocalVar->getName(), Var, 10); in runOnModule()
|
| /freebsd-13.1/contrib/kyua/utils/config/ |
| H A D | parser.cpp | 111 const int syntax_version = state.to_integer(-1); in lua_syntax()
|
| H A D | nodes_test.cpp | 234 ATF_REQUIRE_EQ(754, state.to_integer(-1)); in ATF_TEST_CASE_BODY() 345 ATF_REQUIRE_EQ(754, state.to_integer(-1)); in ATF_TEST_CASE_BODY()
|
| /freebsd-13.1/contrib/kyua/engine/ |
| H A D | config.cpp | 161 passwd::find_user_by_uid(state.to_integer(-1))); in set_lua()
|
| H A D | kyuafile.cpp | 484 value = F("%s") % state.to_integer(-1); in lua_generic_test_program() 563 const int syntax_version = state.to_integer(-1); in lua_syntax()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/ObjectYAML/ |
| H A D | CodeViewYAMLTypes.cpp | 167 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()
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-strings/ |
| H A D | llvm-strings.cpp | 85 if (!llvm::to_integer(V, Value, 0) || Value <= 0) in parseIntArg()
|
| /freebsd-13.1/contrib/llvm-project/lld/ELF/ |
| H A D | ScriptParser.cpp | 1135 if (!to_integer(tok.substr(2), val, 16)) in parseInt() 1140 if (!to_integer(tok.drop_back(), val, 16)) in parseInt() 1147 if (!to_integer(tok.drop_back(), val, 10)) in parseInt() 1152 if (!to_integer(tok.drop_back(), val, 10)) in parseInt() 1156 if (!to_integer(tok, val, 10)) in parseInt()
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Symbol/ |
| H A D | PostfixExpression.cpp | 72 if (to_integer(token, value, 10)) { in ParseOneExpression()
|