Searched refs:position (Results 1 - 8 of 8) sorted by relevance

/art/test/070-nio-buffer/src/
H A DMain.java53 shortBuf.position(0);
55 shortBuf.position(0);
67 shortBuf.position(0);
75 shortBuf.position(16);
98 int1.position (0);
102 int1.position (0);
122 directBuf.position(0);
160 directBuf.position(0);
/art/compiler/utils/
H A Dassembler.h57 // Returns the position for bound and linked labels. Cannot be used
80 void BindTo(int position) { argument
82 position_ = -position - kPointerSize;
86 void LinkTo(int position) { argument
88 position_ = position + kPointerSize;
105 virtual void Process(const MemoryRegion& region, int position) = 0;
115 int position() const { return position_; } function in class:art::AssemblerFixup
116 void set_position(int position) { position_ = position; } argument
157 template<typename T> T Load(size_t position) { argument
162 Store(size_t position, T value) argument
[all...]
H A Dassembler.cc61 fixup->Process(region, fixup->position());
/art/compiler/utils/mips/
H A Dassembler_mips.cc29 void Process(const MemoryRegion& region, int position) {
31 int32_t pointer = region.Load<int32_t>(position);
33 int32_t delta = start + position + sizeof(int32_t);
34 region.Store<int32_t>(position, pointer - delta);
164 int32_t position = label->Position(); local
165 int32_t next = buffer_.Load<int32_t>(position);
166 int32_t offset = is_jump ? bound_pc - position : bound_pc - position - 4;
168 buffer_.Store<int32_t>(position, encoded);
/art/compiler/utils/x86/
H A Dassembler_x86.cc29 void Process(const MemoryRegion& region, int position) { argument
31 int32_t pointer = region.Load<int32_t>(position);
33 int32_t delta = start + position + sizeof(int32_t);
34 region.Store<int32_t>(position, pointer - delta);
1287 // Emit nop instruction until the real position is aligned.
1298 int position = label->LinkPosition(); local
1299 int next = buffer_.Load<int32_t>(position);
1300 buffer_.Store<int32_t>(position, bound - (position + 4));
1371 int position local
[all...]
/art/tools/
H A Dcpplint.py42 # - Check for ctor initializer-list colon position and spacing
1039 """Find the position just after the matching endchar.
1043 startpos: start searching at this position.
1062 """If input points to ( or { or [, finds the position that closes it.
1070 pos: A position on the line.
3124 # Find the position to start extracting text.
3134 # Stack of closing punctuations we expect to have in text after position.
3136 position = start_position
3137 while punctuation_stack and position < len(text):
3138 if text[position]
[all...]
/art/compiler/utils/arm/
H A Dassembler_arm.cc254 int position = buffer_.Size(); local
257 label->LinkTo(position);
1086 int32_t position = label->Position(); local
1087 int32_t next = buffer_.Load<int32_t>(position);
1088 int32_t encoded = ArmAssembler::EncodeBranchOffset(bound_pc - position, next);
1089 buffer_.Store<int32_t>(position, encoded);
/art/compiler/sea_ir/ir/
H A Dsea.cc186 int position = crt_offset + 1; local
187 SignatureNode* parameter_def_node = new sea_ir::SignatureNode(register_no, position);

Completed in 133 milliseconds