Home
last modified time | relevance | path

Searched refs:int64_t (Results 1 – 25 of 210) sorted by relevance

123456789

/art/test/642-fp-callees/
Dfp_callees.cc47 CHECK_EQ(bit_cast<int64_t>(a), bit_cast<int64_t>(temp)); in Java_Main_holdFpTemporaries()
49 CHECK_EQ(bit_cast<int64_t>(b), bit_cast<int64_t>(temp)); in Java_Main_holdFpTemporaries()
51 CHECK_EQ(bit_cast<int64_t>(c), bit_cast<int64_t>(temp)); in Java_Main_holdFpTemporaries()
53 CHECK_EQ(bit_cast<int64_t>(d), bit_cast<int64_t>(temp)); in Java_Main_holdFpTemporaries()
55 CHECK_EQ(bit_cast<int64_t>(e), bit_cast<int64_t>(temp)); in Java_Main_holdFpTemporaries()
57 CHECK_EQ(bit_cast<int64_t>(f), bit_cast<int64_t>(temp)); in Java_Main_holdFpTemporaries()
59 CHECK_EQ(bit_cast<int64_t>(g), bit_cast<int64_t>(temp)); in Java_Main_holdFpTemporaries()
61 CHECK_EQ(bit_cast<int64_t>(h), bit_cast<int64_t>(temp)); in Java_Main_holdFpTemporaries()
63 CHECK_EQ(bit_cast<int64_t>(i), bit_cast<int64_t>(temp)); in Java_Main_holdFpTemporaries()
65 CHECK_EQ(bit_cast<int64_t>(j), bit_cast<int64_t>(temp)); in Java_Main_holdFpTemporaries()
[all …]
/art/runtime/interpreter/
Dsafe_math_test.cc30 EXPECT_EQ(SafeAdd(std::numeric_limits<int64_t>::max(), 1), in TEST()
31 std::numeric_limits<int64_t>::min()); in TEST()
36 EXPECT_EQ(SafeAdd(std::numeric_limits<int64_t>::max() - 1, 1), in TEST()
37 std::numeric_limits<int64_t>::max()); in TEST()
41 EXPECT_EQ(SafeAdd(std::numeric_limits<int64_t>::min() + 1, -1), in TEST()
42 std::numeric_limits<int64_t>::min()); in TEST()
45 EXPECT_EQ(SafeAdd(int64_t(-1), -1), -2); in TEST()
48 EXPECT_EQ(SafeAdd(int64_t(1), 1), 2); in TEST()
51 EXPECT_EQ(SafeAdd(int64_t(-1), 1), 0); in TEST()
54 EXPECT_EQ(SafeAdd(int64_t(1), -1), 0); in TEST()
[all …]
/art/libartbase/base/
Dbit_utils_test.cc177 static constexpr int64_t kInt32MinMinus1 =
178 static_cast<int64_t>(std::numeric_limits<int32_t>::min()) - 1;
179 static constexpr int64_t kInt32MaxPlus1 =
180 static_cast<int64_t>(std::numeric_limits<int32_t>::max()) + 1;
181 static constexpr int64_t kUint32MaxPlus1 =
182 static_cast<int64_t>(std::numeric_limits<uint32_t>::max()) + 1;
200 EXPECT_FALSE(IsInt<int64_t>(1, -2)); in TEST()
201 EXPECT_TRUE(IsInt<int64_t>(1, -1)); in TEST()
202 EXPECT_TRUE(IsInt<int64_t>(1, 0)); in TEST()
203 EXPECT_FALSE(IsInt<int64_t>(1, 1)); in TEST()
[all …]
Dtime_utils.h103 static constexpr time_t SaturatedTimeT(int64_t secs) { in SaturatedTimeT()
104 if (sizeof(time_t) < sizeof(int64_t)) { in SaturatedTimeT()
106 static_cast<int64_t>(std::numeric_limits<time_t>::max()))); in SaturatedTimeT()
124 void InitTimeSpec(bool absolute, int clock, int64_t ms, int32_t ns, timespec* ts);
/art/runtime/base/
Dquasi_atomic.h60 static int64_t Read64(volatile const int64_t* addr) { in Read64()
62 int64_t value; in Read64()
96 static void Write64(volatile int64_t* addr, int64_t value) { in Write64()
110 int64_t prev; in Write64()
142 static bool Cas64(int64_t old_value, int64_t new_value, volatile int64_t* addr) { in Cas64()
164 static Mutex* GetSwapMutex(const volatile int64_t* addr);
165 static int64_t SwapMutexRead64(volatile const int64_t* addr);
166 static void SwapMutexWrite64(volatile int64_t* addr, int64_t val);
167 static bool SwapMutexCas64(int64_t old_value, int64_t new_value, volatile int64_t* addr);
Dquasi_atomic.cc27 Mutex* QuasiAtomic::GetSwapMutex(const volatile int64_t* addr) { in GetSwapMutex()
47 int64_t QuasiAtomic::SwapMutexRead64(volatile const int64_t* addr) { in SwapMutexRead64()
52 void QuasiAtomic::SwapMutexWrite64(volatile int64_t* addr, int64_t value) { in SwapMutexWrite64()
58 bool QuasiAtomic::SwapMutexCas64(int64_t old_value, int64_t new_value, volatile int64_t* addr) { in SwapMutexCas64()
/art/tools/dexanalyze/
Ddexanalyze_strings.h56 int64_t wide_string_bytes_ = 0u;
57 int64_t ascii_string_bytes_ = 0u;
58 int64_t string_data_bytes_ = 0u;
59 int64_t total_unique_string_data_bytes_ = 0u;
60 int64_t total_shared_prefix_bytes_ = 0u;
61 int64_t total_prefix_savings_ = 0u;
62 int64_t total_prefix_dict_ = 0u;
63 int64_t total_prefix_table_ = 0u;
64 int64_t total_prefix_index_cost_ = 0u;
65 int64_t total_num_prefixes_ = 0u;
[all …]
Ddexanalyze_experiments.h72 int64_t total_bytes_ = 0u;
73 int64_t total_entropy_ = 0u;
74 int64_t total_opcode_bytes_ = 0u;
75 int64_t total_opcode_entropy_ = 0u;
76 int64_t total_non_header_bytes_ = 0u;
77 int64_t total_unique_non_header_bytes_ = 0u;
79 int64_t total_end_seq_bytes_ = 0u;
80 int64_t total_advance_pc_bytes_ = 0u;
81 int64_t total_advance_line_bytes_ = 0u;
82 int64_t total_start_local_bytes_ = 0u;
[all …]
/art/libartbase/base/unix_file/
Drandom_access_file.h45 virtual int64_t Read(char* buf, int64_t byte_count, int64_t offset) const = 0;
51 virtual int SetLength(int64_t new_length) = 0;
54 virtual int64_t GetLength() const = 0;
60 virtual int64_t Write(const char* buf, int64_t byte_count, int64_t offset) = 0;
Dfd_file.h71 int64_t Read(char* buf, int64_t byte_count, int64_t offset) const override WARN_UNUSED;
72 int SetLength(int64_t new_length) override WARN_UNUSED;
73 int64_t GetLength() const override;
74 int64_t Write(const char* buf, int64_t byte_count, int64_t offset) override WARN_UNUSED;
124 bool Copy(FdFile* input_file, int64_t offset, int64_t size);
/art/runtime/entrypoints/quick/
Dquick_default_externs.h51 extern "C" int art_quick_set64_instance(uint32_t, void*, int64_t);
52 extern "C" int art_quick_set64_static(uint32_t, int64_t);
65 extern "C" int64_t art_quick_get64_instance(uint32_t, void*);
66 extern "C" int64_t art_quick_get64_static(uint32_t);
87 extern "C" int64_t art_quick_d2l(double);
88 extern "C" int64_t art_quick_f2l(float);
89 extern "C" float art_quick_l2f(int64_t);
90 extern "C" int64_t art_quick_ldiv(int64_t, int64_t);
91 extern "C" int64_t art_quick_lmod(int64_t, int64_t);
92 extern "C" int64_t art_quick_lmul(int64_t, int64_t);
[all …]
Dquick_math_entrypoints.cc72 extern "C" int64_t artLmul(int64_t a, int64_t b) { in artLmul()
76 extern "C" int64_t artLdiv(int64_t a, int64_t b) { in artLdiv()
80 extern "C" int64_t artLmod(int64_t a, int64_t b) { in artLmod()
Dquick_entrypoints_list.h54 V(Set64Instance, int, uint32_t, void*, int64_t) \
55 V(Set64Static, int, uint32_t, int64_t) \
68 V(Get64Instance, int64_t, uint32_t, void*) \
69 V(Get64Static, int64_t, uint32_t) \
109 V(L2d, double, int64_t) \
111 V(L2f, float, int64_t) \
115 V(D2l, int64_t, double) \
116 V(F2l, int64_t, float) \
117 V(Ldiv, int64_t, int64_t, int64_t) \
118 V(Lmod, int64_t, int64_t, int64_t) \
[all …]
/art/runtime/entrypoints/
Dmath_entrypoints.cc23 extern "C" double art_l2d(int64_t l) { in art_l2d()
27 extern "C" float art_l2f(int64_t l) { in art_l2f()
35 extern "C" int64_t art_d2l(double d) { in art_d2l()
36 return art_float_to_integral<int64_t, double>(d); in art_d2l()
39 extern "C" int64_t art_f2l(float f) { in art_f2l()
40 return art_float_to_integral<int64_t, float>(f); in art_f2l()
Dmath_entrypoints.h22 extern "C" double art_l2d(int64_t l);
23 extern "C" float art_l2f(int64_t l);
24 extern "C" int64_t art_d2l(double d);
26 extern "C" int64_t art_f2l(float f);
Dmath_entrypoints_test.cc28 EXPECT_EQ(std::numeric_limits<int64_t>::max(), art_d2l(1.85e19)); in TEST_F()
29 EXPECT_EQ(std::numeric_limits<int64_t>::min(), art_d2l(-1.85e19)); in TEST_F()
40 EXPECT_EQ(std::numeric_limits<int64_t>::max(), art_f2l(1.85e19)); in TEST_F()
41 EXPECT_EQ(std::numeric_limits<int64_t>::min(), art_f2l(-1.85e19)); in TEST_F()
/art/compiler/optimizing/
Dload_store_analysis.cc32 static bool CanIntegerRangesOverlap(int64_t l1, int64_t h1, int64_t l2, int64_t h2) { in CanIntegerRangesOverlap()
54 int64_t l1 = idx1->IsAdd() in CanBinaryOpAndIndexAlias()
57 int64_t l2 = 0; in CanBinaryOpAndIndexAlias()
58 int64_t h1 = l1 + (vector_length1 - 1); in CanBinaryOpAndIndexAlias()
59 int64_t h2 = l2 + (vector_length2 - 1); in CanBinaryOpAndIndexAlias()
82 int64_t l1 = idx1->IsAdd() in CanBinaryOpsAlias()
85 int64_t l2 = idx2->IsAdd() in CanBinaryOpsAlias()
88 int64_t h1 = l1 + (vector_length1 - 1); in CanBinaryOpsAlias()
89 int64_t h2 = l2 + (vector_length2 - 1); in CanBinaryOpsAlias()
150 int64_t l1 = idx1->AsIntConstant()->GetValue(); in CanArrayElementsAlias()
[all …]
Dloop_analysis.h35 static constexpr int64_t kUnknownTripCount = -1;
48 int64_t GetTripCount() const { return trip_count_; } in GetTripCount()
74 int64_t trip_count_;
105 int64_t trip_count);
108 static int64_t GetLoopTripCount(HLoopInformation* loop_info,
179 [[maybe_unused]] int64_t trip_count, in GetSIMDUnrollingFactor()
Dinduction_var_range.cc25 static bool CanLongValueFitIntoInt(int64_t c) { in CanLongValueFitIntoInt()
31 return CanLongValueFitIntoInt(static_cast<int64_t>(c1) + static_cast<int64_t>(c2)); in IsSafeAdd()
36 return CanLongValueFitIntoInt(static_cast<int64_t>(c1) - static_cast<int64_t>(c2)); in IsSafeSub()
41 return CanLongValueFitIntoInt(static_cast<int64_t>(c1) * static_cast<int64_t>(c2)); in IsSafeMul()
46 return c2 != 0 && CanLongValueFitIntoInt(static_cast<int64_t>(c1) / static_cast<int64_t>(c2)); in IsSafeDiv()
50 static int64_t SafeMul(int64_t a, int64_t b, /*out*/ bool* overflow) { in SafeMul()
51 if (a > 0 && b > 0 && a > (std::numeric_limits<int64_t>::max() / b)) { in SafeMul()
58 static int64_t IntPow(int64_t b, int64_t e, /*out*/ bool* overflow) { in IntPow()
61 int64_t pow = 1; in IntPow()
104 int64_t value; in SimplifyMax()
[all …]
/art/runtime/
Djvalue.h40 j = ((static_cast<int64_t>(new_b) << 56) >> 56); // Sign-extend to 64 bits. in PACKED()
45 j = static_cast<int64_t>(new_c); // Zero-extend to 64 bits. in PACKED()
56 j = ((static_cast<int64_t>(new_i) << 32) >> 32); // Sign-extend to 64 bits. in PACKED()
59 int64_t GetJ() const { return j; } in PACKED()
60 void SetJ(int64_t new_j) { j = new_j; } in PACKED()
70 j = ((static_cast<int64_t>(new_s) << 48) >> 48); // Sign-extend to 64 bits. in PACKED()
75 j = static_cast<int64_t>(new_z); // Zero-extend to 64 bits. in PACKED()
86 int64_t j; in PACKED()
Dexec_utils.h35 int64_t wall_time_ms = 0;
38 int64_t cpu_time_ms = 0;
116 virtual std::optional<int64_t> GetUptimeMs(std::string* error_msg) const;
118 virtual int64_t GetTicksPerSec() const;
/art/odrefresh/
Dodr_compilation_log.h34 int64_t apex_version;
35 int64_t last_update_millis;
76 void Log(int64_t apex_version,
77 int64_t last_update_millis,
81 void Log(int64_t apex_version,
82 int64_t last_update_millis,
Dodr_metrics.h99 int64_t GetArtApexVersion() const { return art_apex_version_; } in GetArtApexVersion()
102 void SetArtApexVersion(int64_t version) { art_apex_version_ = version; } in SetArtApexVersion()
105 int64_t GetArtApexLastUpdateMillis() const { return art_apex_last_update_millis_; } in GetArtApexLastUpdateMillis()
108 void SetArtApexLastUpdateMillis(int64_t last_update_millis) { in SetArtApexLastUpdateMillis()
129 int64_t compilation_time,
156 int64_t art_apex_version_ = 0;
157 int64_t art_apex_last_update_millis_ = 0;
/art/libartbase/base/metrics/
Dmetrics_test.h44 [[maybe_unused]] int64_t low_value_, in ReportHistogram()
45 [[maybe_unused]] int64_t high_value, in ReportHistogram()
65 template <DatumId histogram_type, size_t num_buckets, int64_t low_value, int64_t high_value>
72 void ReportHistogram(DatumId, int64_t, int64_t, const std::vector<uint32_t>& buckets) override { in GetBuckets()
/art/runtime/mirror/
Demulated_stack_frame.cc101 ALWAYS_INLINE void SetLong(const int64_t value) REQUIRES_SHARED(Locks::mutator_lock_) { in SetLong()
105 memcpy(array + stack_frame_idx_, &value, sizeof(int64_t)); in SetLong()
124 ALWAYS_INLINE int64_t GetLong() REQUIRES_SHARED(Locks::mutator_lock_) { in GetLong()
128 int64_t val = 0; in GetLong()
130 memcpy(&val, array + stack_frame_idx_, sizeof(int64_t)); in GetLong()
224 int64_t primitive = 0; in GetReturnValue()
225 memcpy(&primitive, array + length - sizeof(int64_t), sizeof(int64_t)); in GetReturnValue()
248 const int64_t primitive = value.GetJ(); in SetReturnValue()
249 memcpy(array + length - sizeof(int64_t), &primitive, sizeof(int64_t)); in SetReturnValue()

123456789