Searched defs:out (Results 1 - 25 of 47) sorted by relevance

12

/art/tools/ahat/src/
H A DMain.java33 public static void help(PrintStream out) { argument
34 out.println("java -jar ahat.jar [OPTIONS] FILE");
35 out.println(" Launch an http server for viewing the given Android heap dump FILE.");
36 out.println("");
37 out.println("OPTIONS:");
38 out.println(" -p <port>");
39 out.println(" Serve pages on the given port. Defaults to 7100.");
40 out.println(" --proguard-map FILE");
41 out.println(" Use the proguard map FILE to deobfuscate the heap dump.");
42 out
[all...]
/art/compiler/linker/
H A Dbuffered_output_stream.cc23 BufferedOutputStream::BufferedOutputStream(std::unique_ptr<OutputStream> out) argument
24 : OutputStream(out->GetLocation()), // Before out is moved to out_.
25 out_(std::move(out)),
H A Drelative_patcher.cc60 uint32_t WriteThunks(OutputStream* out ATTRIBUTE_UNUSED, uint32_t offset) OVERRIDE {
124 bool RelativePatcher::WriteCodeAlignment(OutputStream* out, uint32_t aligned_code_delta) { argument
129 if (UNLIKELY(!out->WriteFully(kPadding, aligned_code_delta))) {
136 bool RelativePatcher::WriteThunk(OutputStream* out, const ArrayRef<const uint8_t>& thunk) { argument
137 if (UNLIKELY(!out->WriteFully(thunk.data(), thunk.size()))) {
144 bool RelativePatcher::WriteMiscThunk(OutputStream* out, const ArrayRef<const uint8_t>& thunk) { argument
145 if (UNLIKELY(!out->WriteFully(thunk.data(), thunk.size()))) {
H A Dmulti_oat_relative_patcher.h86 uint32_t WriteThunks(OutputStream* out, uint32_t offset) { argument
88 offset = relative_patcher_->WriteThunks(out, offset);
/art/compiler/optimizing/
H A Dintrinsics_utils.h66 Location out = invoke_->GetLocations()->Out(); variable
67 if (out.IsValid()) {
68 DCHECK(out.IsRegister()); // TODO: Replace this when we support output in memory.
69 DCHECK(!invoke_->GetLocations()->GetLiveRegisters()->ContainsCoreRegister(out.reg()));
70 codegen->MoveFromReturnRegister(out, invoke_->GetType());
H A Dssa_liveness_analysis.cc437 Location out = locations->Out(); local
438 if (out.IsUnallocated() && out.GetPolicy() == Location::kSameAsFirstInput) {
/art/runtime/base/
H A Dhex_dump.cc38 char out[(kBitsPerIntPtrT / 4) + /* offset */ local
51 memset(out, ' ', sizeof(out)-1);
52 out[kBitsPerIntPtrT / 4] = ':';
53 out[sizeof(out)-1] = '\0';
60 char* hex = out;
61 char* asc = out + (kBitsPerIntPtrT / 4) + /* offset */ 1 + /* colon */
101 os << prefix_ << out; local
H A Dhash_set.h636 DCHECK_LT(index, NumBuckets()); // Don't try to get a slot out of range.
657 static size_t ReadFromBytes(const uint8_t* ptr, size_t offset, Elem* out) { argument
659 DCHECK_ALIGNED(ptr + offset, sizeof(*out));
660 *out = *reinterpret_cast<const Elem*>(ptr + offset);
661 return offset + sizeof(*out);
/art/runtime/
H A Ddex_instruction_test.cc32 uint16_t arg_regs, uint16_t* out) {
42 out[0] = 0;
43 out[0] |= (num_args << 12);
44 out[0] |= 0x00FA;
46 out[1] = method_idx;
47 out[2] = arg_regs;
48 out[3] = proto_idx;
52 uint16_t arg_regs_start, uint16_t* out) {
62 out[0] = 0;
63 out[
31 Build45cc(uint8_t num_args, uint16_t method_idx, uint16_t proto_idx, uint16_t arg_regs, uint16_t* out) argument
51 Build4rcc(uint16_t num_args, uint16_t method_idx, uint16_t proto_idx, uint16_t arg_regs_start, uint16_t* out) argument
[all...]
H A Dmemory_region.cc44 uint8_t* out = ComputeInternalPointer<uint8_t>(bit_offset >> kBitsPerByteLog2); local
53 *out = (*out & ~mask) | (value << bit_remainder);
58 *out = (*out & ~(value_mask << bit_remainder)) | ((value & value_mask) << bit_remainder);
62 ++out;
H A Dindenter.h32 Indenter(std::streambuf* out, char text, size_t count) argument
33 : indent_next_(true), out_sbuf_(out),
H A Dleb128.h44 // Note: We don't check to see if cur is out of range here,
58 uint32_t* out) {
86 // Note: We don't check to see if cur is out of range here,
95 *out = static_cast<uint32_t>(result);
131 // Note: We don't check to see if cur is out of range here,
145 int32_t* out) {
181 // Note: We don't check to see if cur is out of range here,
190 *out = static_cast<uint32_t>(result);
213 uint8_t out = value & 0x7f; local
216 *dest++ = out |
56 DecodeUnsignedLeb128Checked(const uint8_t** data, const void* end, uint32_t* out) argument
143 DecodeSignedLeb128Checked(const uint8_t** data, const void* end, int32_t* out) argument
227 uint8_t out = value & 0x7f; local
252 uint8_t out = value & 0x7f; local
267 uint8_t out = value & 0x7f; local
[all...]
H A Dutf_test.cc190 std::vector<uint8_t> out = prefix_out; local
191 out.insert(out.end(), test_out.begin(), test_out.end());
192 out.insert(out.end(), suffix_out.begin(), suffix_out.end());
193 AssertConversion(in, out);
H A Dutils.h40 bool ParseUint(const char *in, T* out) { argument
49 *out = static_cast<T>(result);
54 bool ParseInt(const char* in, T* out) { argument
63 *out = static_cast<T>(result);
226 T* out,
236 *out = dchecked_integral_cast<T>(parsed_integer_value);
242 T* out,
245 ParseIntOption(option, option_name, out, usage, is_long_option);
246 if (*out < 0) {
247 usage("%s passed a negative value %d", option_name.c_str(), *out);
224 ParseIntOption(const StringPiece& option, const std::string& option_name, T* out, UsageFn usage, bool is_long_option = true) argument
240 ParseUintOption(const StringPiece& option, const std::string& option_name, T* out, UsageFn usage, bool is_long_option = true) argument
[all...]
H A Dnative_stack_dump.cc76 : in(in_fd, false), out(out_fd, false), file(file_name), child_pid(pid), odd(true) {}
83 File out; // The file descriptor that is connected to the input of addr2line. member in struct:art::Addr2linePipe
252 if (!pipe_ptr->out.WriteFully(hex_offset.data(), hex_offset.length())) {
312 // Try to run it to see whether we have it. Push an argument so that it doesn't assume a.out
373 // There's no point showing that we're reading our stack out of /proc!
/art/runtime/openjdkjvmti/
H A Dti_properties.cc148 static jvmtiError Copy(jvmtiEnv* env, const char* in, char** out) { argument
151 *out = data.release();
/art/compiler/
H A Doat_writer.cc73 ChecksumUpdatingOutputStream(OutputStream* out, OatHeader* oat_header) argument
74 : OutputStream(out->GetLocation()), out_(out), oat_header_(oat_header) { }
171 bool Write(OatWriter* oat_writer, OutputStream* out, const size_t file_offset) const;
237 bool Write(OatWriter* oat_writer, OutputStream* out) const;
238 bool WriteClassOffsets(OatWriter* oat_writer, OutputStream* out);
273 DCHECK_EQ(static_cast<off_t>(file_offset + relative_offset), out->Seek(0, kSeekCurrent)) \
277 DCHECK_EQ(static_cast<off_t>(file_offset + offset_), out->Seek(0, kSeekCurrent)) \
489 /*out*/ std::unique_ptr<MemMap>* opened_dex_files_map,
490 /*out*/ st
[all...]
/art/runtime/gc/accounting/
H A Dmod_union_table_test.cc99 explicit CollectVisitedVisitor(std::set<mirror::Object*>* out) : out_(out) {} argument
/art/test/ti-stress/
H A Dstress.cc41 std::ofstream file(fname, std::ios::binary | std::ios::out | std::ios::trunc);
46 static bool ReadIntoBuffer(const std::string& fname, /*out*/std::vector<unsigned char>* data) {
61 /*out*/std::vector<unsigned char>* dex) {
64 // Clear out file so even if something suppresses the exit value we will still detect dexter
92 /*out*/void** out_address) {
140 std::vector<unsigned char> out; local
152 } else if (DoExtractClassFromData(data, name_str, class_data_len, class_data, /*out*/ &out)) {
155 CHECK_EQ(JVMTI_ERROR_NONE, jvmti->Allocate(out.size(), &new_data));
156 memcpy(new_data, out
[all...]
/art/compiler/linker/arm/
H A Drelative_patcher_arm_base.cc164 uint32_t ArmBaseRelativePatcher::WriteThunks(OutputStream* out, uint32_t offset) { argument
184 if (aligned_code_delta != 0u && UNLIKELY(!WriteCodeAlignment(out, aligned_code_delta))) {
187 if (UNLIKELY(!WriteThunk(out, pending_thunks_.front()->GetCode()))) {
/art/runtime/mirror/
H A Dstring.cc112 uint8_t* out = string->value_compressed_; local
114 std::transform(src->value_compressed_, src->value_compressed_ + length, out, replace);
116 std::transform(src->value_, src->value_ + length, out, replace);
118 DCHECK(kUseStringCompression && AllASCII(out, length));
123 uint16_t* out = string->value_; local
125 std::transform(src->value_compressed_, src->value_compressed_ + length, out, replace);
127 std::transform(src->value_, src->value_ + length, out, replace);
129 DCHECK(!kUseStringCompression || !AllASCII(out, length));
/art/compiler/linker/arm64/
H A Drelative_patcher_arm64.cc156 uint32_t Arm64RelativePatcher::WriteThunks(OutputStream* out, uint32_t offset) { argument
170 if (aligned_code_delta != 0u && !WriteCodeAlignment(out, aligned_code_delta)) {
173 if (!WriteMiscThunk(out, ArrayRef<const uint8_t>(current_method_thunks_))) {
180 return ArmBaseRelativePatcher::WriteThunks(out, offset);
/art/patchoat/
H A Dpatchoat.cc292 bool PatchOat::WriteImage(File* out) { argument
297 img_flock.Init(out, &error_msg);
300 CHECK(out != nullptr);
302 if (out->WriteFully(reinterpret_cast<char*>(image_->Begin()), expect) &&
303 out->SetLength(expect) == 0) {
306 LOG(ERROR) << "Writing to image file " << out->GetPath() << " failed.";
726 UsageError(" --dump-timings: dump out patch timing information");
728 UsageError(" --no-dump-timings: do not dump out patch timing information");
/art/runtime/verifier/
H A Dverifier_deps.cc438 // This helps filter out destinations from compiled DEX files (see below)
597 static inline void EncodeTuple(std::vector<uint8_t>* out, const std::tuple<T1, T2>& t) { argument
598 EncodeUnsignedLeb128(out, Encode(std::get<0>(t)));
599 EncodeUnsignedLeb128(out, Encode(std::get<1>(t)));
610 static inline void EncodeTuple(std::vector<uint8_t>* out, const std::tuple<T1, T2, T3>& t) { argument
611 EncodeUnsignedLeb128(out, Encode(std::get<0>(t)));
612 EncodeUnsignedLeb128(out, Encode(std::get<1>(t)));
613 EncodeUnsignedLeb128(out, Encode(std::get<2>(t)));
625 static inline void EncodeSet(std::vector<uint8_t>* out, const std::set<T>& set) { argument
626 EncodeUnsignedLeb128(out, se
633 EncodeUint16Vector(std::vector<uint8_t>* out, const std::vector<T>& vector) argument
665 EncodeStringVector(std::vector<uint8_t>* out, const std::vector<std::string>& strings) argument
[all...]
/art/tools/jfuzz/
H A Djfuzz.cc75 JFuzz(FILE* out, argument
81 : out_(out),
174 // Emit an unary operator (same type in-out).
185 // Emit a pre/post-increment/decrement operator (same type in-out).
194 // Emit a binary operator (same type in-out).
205 // Emit an assignment operator (same type in-out).
216 // Emit a relational operator (one type in, boolean out).
225 // Emit a type conversion operator sequence (out type given, new suitable in type picked).
267 // Emit a type conversion (out type given, new suitable in type picked).
283 // Emit an unary intrinsic (out typ
[all...]

Completed in 884 milliseconds

12