Searched defs:start (Results 1 - 25 of 33) sorted by relevance

12

/art/compiler/
H A Dvector_output_stream.h36 const uint8_t* start = reinterpret_cast<const uint8_t*>(buffer); local
37 vector_.insert(vector_.end(), &start[0], &start[byte_count]);
/art/runtime/gc/allocator/
H A Ddlmalloc.cc53 extern "C" void DlmallocMadviseCallback(void* start, void* end, size_t used_bytes, void* arg) { argument
59 start = reinterpret_cast<void*>(art::RoundUp(reinterpret_cast<uintptr_t>(start), art::kPageSize));
61 if (end > start) {
62 size_t length = reinterpret_cast<uint8_t*>(end) - reinterpret_cast<uint8_t*>(start);
63 int rc = madvise(start, length, MADV_DONTNEED);
/art/runtime/native/
H A Djava_lang_String.cc35 static jint String_fastIndexOf(JNIEnv* env, jobject java_this, jint ch, jint start) { argument
41 return s->FastIndexOf(ch, start);
/art/test/028-array-write/src/
H A DMain.java27 static public void report(long start, long end) { argument
32 System.out.println("Finished in " + ((end - start) / 1000000.0)
42 long start, end;
47 start = System.nanoTime();
52 report(start, end);
56 long start, end;
63 start = System.nanoTime();
70 report(start, end);
/art/runtime/gc/accounting/
H A Dspace_bitmap_test.cc78 // This handles all the cases, having runs which start and end on the same word, and different
81 mirror::Object* start = local
86 BitmapVerify(space_bitmap.get(), start, end);
H A Dcard_table-inl.h55 // Handle any unaligned cards at the start.
58 uintptr_t start = reinterpret_cast<uintptr_t>(AddrFromCard(card_cur)); local
59 bitmap->VisitMarkedRange(start, start + kCardSize, visitor);
80 uintptr_t start = reinterpret_cast<uintptr_t>(AddrFromCard(reinterpret_cast<byte*>(word_cur))); local
88 bitmap->VisitMarkedRange(start, start + kCardSize, visitor);
92 start += kCardSize;
101 uintptr_t start = reinterpret_cast<uintptr_t>(AddrFromCard(card_cur)); local
102 bitmap->VisitMarkedRange(start, star
[all...]
H A Dcard_table.h73 void VisitClear(const void* start, const void* end, const Visitor& visitor) { argument
74 byte* card_start = CardFromAddr(start);
H A Dmod_union_table.cc205 uintptr_t start = reinterpret_cast<uintptr_t>(card_table->AddrFromCard(card)); local
206 uintptr_t end = start + CardTable::kCardSize;
207 auto* space = heap->FindContinuousSpaceFromObject(reinterpret_cast<Object*>(start), false);
210 live_bitmap->VisitMarkedRange(start, end, visitor);
219 uintptr_t start = reinterpret_cast<uintptr_t>(card_table->AddrFromCard(card_addr)); local
220 uintptr_t end = start + CardTable::kCardSize;
221 os << reinterpret_cast<void*>(start) << "-" << reinterpret_cast<void*>(end) << ",";
226 uintptr_t start = reinterpret_cast<uintptr_t>(card_table->AddrFromCard(card_addr)); local
227 uintptr_t end = start + CardTable::kCardSize;
228 os << reinterpret_cast<void*>(start) << "
246 uintptr_t start = reinterpret_cast<uintptr_t>(card_table->AddrFromCard(card)); local
296 auto start = reinterpret_cast<uintptr_t>(card_table->AddrFromCard(card_addr)); local
313 auto start = reinterpret_cast<uintptr_t>(card_table->AddrFromCard(card_addr)); local
[all...]
H A Dspace_bitmap.cc148 size_t start = OffsetToIndex(sweep_begin - live_bitmap.heap_begin_); local
153 for (size_t i = start; i <= end; i++) {
/art/runtime/
H A Dmem_map.h44 // "start" offset is absolute, not relative.
47 static MemMap* MapFile(size_t byte_count, int prot, int flags, int fd, off_t start) { argument
48 return MapFileAtAddress(NULL, byte_count, prot, flags, fd, start, false);
52 // "start" offset is absolute, not relative. This version allows
57 byte* addr, size_t byte_count, int prot, int flags, int fd, off_t start, bool reuse);
H A Dmemory_region.h44 byte* start() const { return reinterpret_cast<byte*>(pointer_); } function in class:art::MemoryRegion
45 byte* end() const { return start() + size_; }
65 pointer_ = reinterpret_cast<void*>(from.start() + offset);
79 return reinterpret_cast<T*>(start() + offset);
H A Dmem_map.cc38 static_cast<uint32_t>(m->start),
55 CHECK(!(base >= m->start && base < m->end) // start of new within old
56 && !(limit > m->start && limit < m->end) // end of new within old
57 && !(base <= m->start && limit > m->end)) // start/end of new includes all of old
60 static_cast<uint32_t>(m->start), static_cast<uint32_t>(m->end), m->name)
106 int prot, int flags, int fd, off_t start, bool reuse) {
113 int page_offset = start % kPageSize;
114 off_t page_aligned_offset = start
105 MapFileAtAddress(byte* addr, size_t byte_count, int prot, int flags, int fd, off_t start, bool reuse) argument
[all...]
H A Dthread_list.cc38 // Detach the current thread if necessary. If we failed to start, there might not be any threads.
192 uint64_t start = NanoTime(); local
200 if (NsToMs(end - start) > threshold) {
445 // No more threads can be born after we start to shutdown.
H A Ddex_file.cc642 uint32_t start = ti->start_addr_; local
643 uint32_t end = start + ti->insn_count_;
645 if (address < start) {
797 // and we don't want to mess with the existing start address.
1053 uint32_t start = tries->start_addr_; local
1054 if (address >= start) {
1055 uint32_t end = start + tries->insn_count_;
H A Ddex_file_verifier.cc108 bool DexFileVerifier::CheckPointerRange(const void* start, const void* end, const char* label) const { argument
109 uint32_t range_start = reinterpret_cast<uint32_t>(start);
122 bool DexFileVerifier::CheckListSize(const void* start, uint32_t count, argument
124 const byte* list_start = reinterpret_cast<const byte*>(start);
391 LOG(ERROR) << StringPrintf("Non-zero padding %x before section start at %x", *ptr_, offset);
728 LOG(ERROR) << StringPrintf("Illegal start byte %x in string data", byte);
1245 LOG(ERROR) << StringPrintf("Header at %x, not at start of file", section_offset);
H A Dtrace.cc55 // u8 start date/time in usec
62 // u4 time delta since start, in usec
67 // u4 time delta since start, in usec
72 // u4 time delta since start, in usec
73 // u4 wall time since start, in usec (when clock == "dual" only)
198 uint64_t start = self->GetCpuMicroTime(); local
211 uint64_t elapsed_us = self->GetCpuMicroTime() - start;
H A Dcheck_jni.cc860 * Bit pattern 10xx or 1111, which are illegal start bytes.
864 *errorKind = "start";
918 /* this gets tucked in at the start of the buffer; struct size must be even */
1629 static void Get##_jname##ArrayRegion(JNIEnv* env, _ctype##Array array, jsize start, jsize len, _ctype* buf) { \
1630 CHECK_JNI_ENTRY(kFlag_Default, "EaIIp", env, array, start, len, buf); \
1631 baseEnv(env)->Get##_jname##ArrayRegion(env, array, start, len, buf); \
1636 static void Set##_jname##ArrayRegion(JNIEnv* env, _ctype##Array array, jsize start, jsize len, const _ctype* buf) { \
1637 CHECK_JNI_ENTRY(kFlag_Default, "EaIIp", env, array, start, len, buf); \
1638 baseEnv(env)->Set##_jname##ArrayRegion(env, array, start, len, buf); \
1689 static void GetStringRegion(JNIEnv* env, jstring str, jsize start, jsiz argument
1695 GetStringUTFRegion(JNIEnv* env, jstring str, jsize start, jsize len, char* buf) argument
[all...]
/art/test/003-omnibus-opcodes/src/
H A DIntMath.java279 static void divLiteralTestBody(int start, int count) { argument
286 normal = (start+i) / j;
287 special = (start+i) / 3;
290 normal = (start+i) / j;
291 special = (start+i) / 4;
294 normal = (start+i) / j;
295 special = (start+i) / 5;
298 normal = (start+i) / j;
299 special = (start+i) / 6;
302 normal = (start
[all...]
/art/compiler/dex/quick/arm/
H A Dcall_arm.cc69 int start = (InPosition(loc.s_reg_low) + 1) * sizeof(uint32_t); local
71 LoadWordDisp(rARM_SP, start, loc.low_reg);
74 LoadWordDisp(rARM_SP, start + sizeof(uint32_t), loc.high_reg);
/art/runtime/gc/space/
H A Ddlmalloc_space.cc466 void DlMallocSpace::Walk(void(*callback)(void *start, void *end, size_t num_bytes, void* callback_arg), argument
/art/test/023-many-interfaces/src/
H A DManyInterfaces.java173 private static void report(String label, long start, long end, int iter, argument
176 System.out.println(label + ": " + (end - start) / 1000 + "us"
177 + " (" + (end - start) / (iter*rept) + "ns per call)");
194 long start, end;
205 start = System.nanoTime();
208 report("testIface001", start, end, iter, rept);
210 start = System.nanoTime();
213 report("testIface049", start, end, iter, rept);
215 start = System.nanoTime();
218 report("testIface099", start, en
[all...]
/art/runtime/jdwp/
H A Djdwp_event.cc42 post anything but VM start/death, but if a JDWP request causes a class
90 We need to change to VMWAIT state at the *start* of posting an event,
353 * a string that may start or end with '*' (e.g. "*.Foo" or "java.*").
459 /* start after the existing entries */
811 bool JdwpState::PostThreadChange(ObjectId threadId, bool start) { argument
833 if (start) {
/art/compiler/dex/quick/
H A Dralloc_util.cc506 void Mir2Lir::NullifyRange(LIR *start, LIR *finish, int s_reg1, int s_reg2) { argument
507 if (start && finish) {
510 for (p = start; ; p = p->next) {
520 * on entry start points to the LIR prior to the beginning of the
523 void Mir2Lir::MarkDef(RegLocation rl, LIR *start, LIR *finish) { argument
525 DCHECK(start && start->next);
528 p->def_start = start->next;
534 * on entry start points to the LIR prior to the beginning of the
537 void Mir2Lir::MarkDefWide(RegLocation rl, LIR *start, LI argument
[all...]
/art/compiler/dex/quick/mips/
H A Dmips_lir.h67 * +========================+ {Note: start of callee's frame}
403 kFmtBitBlt, /* Bit string using end/start */
415 int start; // start for kFmtBitBlt, 4-bit slice end for FP regs. member in struct:art::MipsEncodingMap::__anon6
/art/compiler/utils/x86/
H A Dassembler_x86.cc32 int32_t start = reinterpret_cast<int32_t>(region.start()); local
33 int32_t delta = start + position + sizeof(int32_t);

Completed in 9487 milliseconds

12