Home
last modified time | relevance | path

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

12

/netbsd/external/bsd/lutok/dist/
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()); in ATF_TEST_CASE_BODY()
119 ATF_REQUIRE_EQ(30, state.to_integer()); in ATF_TEST_CASE_BODY()
121 ATF_REQUIRE_EQ(200, state.to_integer()); in ATF_TEST_CASE_BODY()
123 ATF_REQUIRE_EQ(50, state.to_integer()); in ATF_TEST_CASE_BODY()
138 ATF_REQUIRE_EQ(10, state.to_integer(-3)); in ATF_TEST_CASE_BODY()
139 ATF_REQUIRE_EQ(20, state.to_integer(-2)); in ATF_TEST_CASE_BODY()
140 ATF_REQUIRE_EQ(30, state.to_integer(-1)); in ATF_TEST_CASE_BODY()
248 ATF_REQUIRE_EQ(13, state.to_integer()); in ATF_TEST_CASE_BODY()
[all …]
H A Dstack_cleaner_test.cpp69 ATF_REQUIRE_EQ(10, state.to_integer()); 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()); in ATF_TEST_CASE_BODY()
97 ATF_REQUIRE_EQ(30, state.to_integer()); in ATF_TEST_CASE_BODY()
H A Dtest_utils.hpp127 if (!_state.is_number() || _state.to_integer() != 987654321) in ~stack_balance_checker()
H A Dexceptions_test.cpp64 ATF_REQUIRE_EQ(123, state.to_integer()); in ATF_TEST_CASE_BODY()
H A Dstate.hpp135 long to_integer(const int = -1);
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(); in raise_long_error()
1225 ATF_REQUIRE_EQ(34, state.to_integer()); in ATF_TEST_CASE_BODY()
1227 ATF_REQUIRE_EQ(12, state.to_integer()); in ATF_TEST_CASE_BODY()
1238 ATF_REQUIRE_EQ(12, state.to_integer(-2)); in ATF_TEST_CASE_BODY()
H A Dstate.cpp826 lutok::state::to_integer(const int index) in to_integer() function in lutok::state
/netbsd/external/bsd/lutok/dist/examples/
H A Dbindings.cpp83 const int i = state.to_integer(); in lua_factorial()
/netbsd/external/gpl3/gcc/dist/libgcc/config/avr/libf7/
H A Dlibf7-common.mk22 F7_ASM_PARTS += to_integer to_unsigned clz normalize_with_carry normalize
95 F7F_asm += to_integer to_unsigned clr_mant_lsbs
H A DChangeLog11 * libf7-asm.sx (to_integer, to_unsigned): Don't round 16-bit
/netbsd/external/gpl3/gcc.old/dist/libgcc/config/avr/libf7/
H A Dlibf7-common.mk22 F7_ASM_PARTS += to_integer to_unsigned clz normalize_with_carry normalize
95 F7F_asm += to_integer to_unsigned clr_mant_lsbs
/netbsd/external/bsd/kyua-cli/dist/utils/config/
H A Dparser.cpp123 const int syntax_version = state.to_integer(-1); in lua_syntax()
H A Dtree_test.cpp102 int_wrapper new_value(state.to_integer(value_index)); in set_lua()
393 ATF_REQUIRE_EQ(5, state.to_integer(-3)); in ATF_TEST_CASE_BODY()
395 ATF_REQUIRE_EQ(10, state.to_integer(-2)); in ATF_TEST_CASE_BODY()
H A Dnodes.cpp373 set(state.to_integer(value_index)); in set_lua()
H A Dlua_module_test.cpp92 set(custom_type(state.to_integer(value_index) * 2)); in set_lua()
/netbsd/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DMachineCheckDebugify.cpp82 (void)to_integer(LocalVar->getName(), Var, 10); in runOnModule()
/netbsd/external/apache2/llvm/dist/llvm/lib/ObjectYAML/
H A DCodeViewYAMLTypes.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()
/netbsd/external/bsd/kyua-cli/dist/engine/
H A Dconfig.cpp156 passwd::find_user_by_uid(state.to_integer(-1))); in set_lua()
H A Dkyuafile.cpp514 const int syntax_version = state.to_integer(-1); in lua_syntax()
/netbsd/external/gpl3/gcc.old/dist/libstdc++-v3/src/c++11/
H A Dcodecvt.cc35 to_integer(codecvt_mode m) in to_integer() function
39 { return m = codecvt_mode(to_integer(m) & to_integer(n)); } in operator &=()
42 { return m = codecvt_mode(to_integer(m) | to_integer(n)); } in operator |=()
45 { return codecvt_mode(~to_integer(m)); } in operator ~()
/netbsd/external/gpl3/gcc/dist/libstdc++-v3/src/c++11/
H A Dcodecvt.cc35 to_integer(codecvt_mode m) in to_integer() function
39 { return m = codecvt_mode(to_integer(m) & to_integer(n)); } in operator &=()
42 { return m = codecvt_mode(to_integer(m) | to_integer(n)); } in operator |=()
45 { return codecvt_mode(~to_integer(m)); } in operator ~()
/netbsd/external/apache2/llvm/dist/llvm/tools/llvm-exegesis/lib/
H A DSchedClassResolution.cpp249 if (to_integer(NameOrId, ProcResIdx, 10)) in findProcResIdx()
/netbsd/external/apache2/llvm/dist/libcxx/include/
H A Dcstddef156 to_integer(byte __b) noexcept { return static_cast<_Integer>(__b); }
/netbsd/external/gpl3/gcc.old/dist/libstdc++-v3/include/c_global/
H A Dcstddef173 to_integer(__byte_op_t<_IntegerType> __b) noexcept
/netbsd/external/apache2/llvm/dist/llvm/tools/llvm-symbolizer/
H A Dllvm-symbolizer.cpp239 if (!llvm::to_integer(V, Value, 0)) { in parseIntArg()

12