Searched refs:limit (Results 1 - 25 of 35) sorted by relevance

12

/art/runtime/arch/arm64/
H A Dmemcmp16_arm64.S30 #define limit x2 define
51 cbz limit, .Lret0
52 lsl limit, limit, #1 /* Half-words to bytes. */
58 add limit_wd, limit, #7
71 /* Not reached the limit, must have found a diff. */
75 ands limit, limit, #7
78 lsl limit, limit, #
[all...]
H A Dfault_handler_arm64.cc129 uint8_t* limit = ptr1 - 80; // Compiler will hoist to a max of 20 instructions. local
131 while (ptr1 > limit) {
/art/runtime/arch/x86/
H A Dthread_x86.cc34 unsigned limit: 4, avl: 1, l: 1, d: 1, g: 1, base2: 8; member in struct:descriptor_table_entry_t
48 const size_t limit = kPageSize; local
62 entry.limit0 = (limit & 0x0ffff);
63 entry.limit = (limit & 0xf0000) >> 16;
101 ldt_entry.limit = limit;
H A Dfault_handler_x86.cc353 uint8_t* limit = pc - 100; // Compiler will hoist to a max of 20 instructions. local
356 while (ptr > limit) {
/art/runtime/gc/space/
H A Dspace.h269 void SetLimit(byte* limit) { argument
270 limit_ = limit;
305 byte* begin, byte* end, byte* limit) :
306 Space(name, gc_retention_policy), begin_(begin), end_(end), limit_(limit) {
353 // Size of the space without a limit on its growth. By default this is just the Capacity, but
372 MemMapSpace(const std::string& name, MemMap* mem_map, byte* begin, byte* end, byte* limit, argument
374 : ContinuousSpace(name, gc_retention_policy, begin, end, limit),
429 byte* end, byte* limit, GcRetentionPolicy gc_retention_policy)
430 : MemMapSpace(name, mem_map, begin, end, limit, gc_retention_policy) {
304 ContinuousSpace(const std::string& name, GcRetentionPolicy gc_retention_policy, byte* begin, byte* end, byte* limit) argument
428 ContinuousMemMapAllocSpace(const std::string& name, MemMap* mem_map, byte* begin, byte* end, byte* limit, GcRetentionPolicy gc_retention_policy) argument
H A Ddlmalloc_space.h106 // MoreCore. Note this is used to stop the mspace growing beyond the limit to Capacity. When
107 // allocations fail we GC before increasing the footprint limit and allowing the mspace to grow.
108 void SetFootprintLimit(size_t limit) OVERRIDE;
111 byte* begin, byte* end, byte* limit, size_t growth_limit,
132 byte* limit, size_t growth_limit, bool can_move_objects, size_t starting_size,
H A Dmalloc_space.h93 // MoreCore. Note this is used to stop the mspace growing beyond the limit to Capacity. When
94 // allocations fail we GC before increasing the footprint limit and allowing the mspace to grow.
95 virtual void SetFootprintLimit(size_t limit) = 0;
97 // Removes the fork time growth limit on capacity, allowing the application to allocate up to the
118 byte* begin, byte* end, byte* limit, size_t growth_limit,
142 byte* limit, size_t growth_limit, bool create_bitmaps, bool can_move_objects,
174 // limit is a value <= to the mem_map_ capacity used for ergonomic reasons because of the zygote.
H A Dvalgrind_malloc_space.h50 byte* begin, byte* end, byte* limit, size_t growth_limit,
H A Dlarge_object_space_test.cc71 size_t limit = !phase ? requests.size() / 2 : 0; local
72 while (requests.size() > limit) {
H A Dvalgrind_malloc_space-inl.h97 byte* end, byte* limit, size_t growth_limit,
100 S(name, mem_map, allocator, begin, end, limit, growth_limit, can_move_objects, starting_size,
95 ValgrindMallocSpace(const std::string& name, MemMap* mem_map, A allocator, byte* begin, byte* end, byte* limit, size_t growth_limit, size_t initial_size, bool can_move_objects, size_t starting_size) argument
H A Ddlmalloc_space.cc39 byte* end, byte* limit, size_t growth_limit,
42 : MallocSpace(name, mem_map, begin, end, limit, growth_limit, true, can_move_objects,
93 // size of the large allocation) will be greater than the footprint limit.
153 byte* limit, size_t growth_limit,
155 return new DlMallocSpace(name, mem_map, allocator, begin, end, limit, growth_limit,
38 DlMallocSpace(const std::string& name, MemMap* mem_map, void* mspace, byte* begin, byte* end, byte* limit, size_t growth_limit, bool can_move_objects, size_t starting_size, size_t initial_size) argument
151 CreateInstance(const std::string& name, MemMap* mem_map, void* allocator, byte* begin, byte* end, byte* limit, size_t growth_limit, bool can_move_objects) argument
H A Drosalloc_space.h91 void SetFootprintLimit(size_t limit) OVERRIDE;
96 byte* begin, byte* end, byte* limit, size_t growth_limit,
129 byte* begin, byte* end, byte* limit, size_t growth_limit, bool can_move_objects,
H A Dbump_pointer_space.cc45 BumpPointerSpace::BumpPointerSpace(const std::string& name, byte* begin, byte* limit) argument
46 : ContinuousMemMapAllocSpace(name, nullptr, begin, begin, limit,
48 growth_end_(limit),
H A Drosalloc_space.cc46 byte* limit, size_t growth_limit, bool can_move_objects,
48 : MallocSpace(name, mem_map, begin, end, limit, growth_limit, true, can_move_objects,
104 // size of the large allocation) will be greater than the footprint limit.
167 byte* begin, byte* end, byte* limit, size_t growth_limit,
170 begin, end, limit, growth_limit, can_move_objects, starting_size_,
44 RosAllocSpace(const std::string& name, MemMap* mem_map, art::gc::allocator::RosAlloc* rosalloc, byte* begin, byte* end, byte* limit, size_t growth_limit, bool can_move_objects, size_t starting_size, size_t initial_size, bool low_memory_mode) argument
166 CreateInstance(const std::string& name, MemMap* mem_map, void* allocator, byte* begin, byte* end, byte* limit, size_t growth_limit, bool can_move_objects) argument
H A Dbump_pointer_space.h77 // Removes the fork time growth limit on capacity, allowing the application to allocate up to the
129 BumpPointerSpace(const std::string& name, byte* begin, byte* limit);
H A Dmalloc_space.cc39 byte* begin, byte* end, byte* limit, size_t growth_limit,
42 : ContinuousMemMapAllocSpace(name, mem_map, begin, end, limit, kGcRetentionPolicyAlwaysCollect),
81 LOG(ERROR) << "Failed to create alloc space (" << name << ") where the growth limit capacity ("
87 // Page align growth limit and capacity which will be used to manage mmapped storage
224 << ",limit=" << reinterpret_cast<void*>(Limit())
38 MallocSpace(const std::string& name, MemMap* mem_map, byte* begin, byte* end, byte* limit, size_t growth_limit, bool create_bitmaps, bool can_move_objects, size_t starting_size, size_t initial_size) argument
/art/test/070-nio-buffer/src/
H A DMain.java161 char[] outBuf = new char[directBuf.limit() * 2];
162 for (int i = 0; i < directBuf.limit(); i++) {
/art/runtime/base/
H A Dhistogram-inl.h68 const size_t limit = frequency_.size() / 2; local
70 for (size_t i = 0; i < limit; ++i) {
74 while (frequency_.size() > limit) {
/art/runtime/arch/arm/
H A Dfault_handler_arm.cc151 uint8_t* limit = ptr1 - 40; // Compiler will hoist to a max of 20 instructions. local
153 while (ptr1 > limit) {
/art/runtime/gc/accounting/
H A Datomic_stack.h194 bool AtomicPushBackInternal(const T& value, size_t limit) ALWAYS_INLINE {
201 if (UNLIKELY(static_cast<size_t>(index) >= limit)) {
/art/runtime/
H A Dutils.h118 word limit = static_cast<word>(1) << (N - 1); local
119 return (-limit <= value) && (value < limit);
125 word limit = static_cast<word>(1) << N; local
126 return (0 <= value) && (value < limit);
321 // Returns a human-readable time string which prints every nanosecond while trying to limit the
431 // implementation-defined limit.
H A Ddex_file_verifier.h52 bool CheckIndex(uint32_t field, uint32_t limit, const char* label);
H A Dmem_map.cc205 uintptr_t limit = expected + byte_count; local
225 CheckNonOverlapping(expected, limit, &error_detail);
401 uintptr_t limit = expected + byte_count; local
402 DCHECK(ContainedWithinExistingMap(expected, limit, error_msg));
/art/compiler/utils/
H A Dassembler.h258 if (buffer->cursor() >= buffer->limit()) {
264 // limit implied by the minimum gap size.
299 if (buffer->cursor() >= buffer->limit()) buffer->ExtendCapacity();
314 // The limit is set to kMinimumGap bytes before the end of the data area.
331 byte* limit() const { return limit_; } function in class:art::AssemblerBuffer
341 // Compute the limit based on the data area and the capacity. See
/art/compiler/
H A Dcommon_compiler_test.cc255 uintptr_t limit = RoundUp(data + code_length, kPageSize); local
256 uintptr_t len = limit - base;

Completed in 266 milliseconds

12