Home
last modified time | relevance | path

Searched refs:out_data (Results 1 – 12 of 12) sorted by relevance

/art/libdexfile/dex/
Dcompact_offset_table.cc64 std::vector<uint8_t>* out_data) { in Build() argument
67 CompactOffsetTable::Build(offsets, out_data, &out_offsets[0], &out_offsets[1]); in Build()
69 out_data->insert(out_data->begin(), in Build()
75 std::vector<uint8_t>* out_data, in Build() argument
78 DCHECK(out_data != nullptr); in Build()
79 DCHECK(out_data->empty()); in Build()
95 offset_table.push_back(out_data->size()); in Build()
108 out_data->push_back(static_cast<uint8_t>(bit_mask >> kBitsPerByte)); in Build()
109 out_data->push_back(static_cast<uint8_t>(bit_mask)); in Build()
117 EncodeUnsignedLeb128(out_data, delta); in Build()
[all …]
Dcompact_offset_table.h55 static void Build(const std::vector<uint32_t>& offsets, std::vector<uint8_t>* out_data);
59 std::vector<uint8_t>* out_data,
/art/openjdkjvmti/
Dti_ddms.cc67 std::vector<uint8_t> out_data; in HandleChunk() local
72 /*out*/&out_data)) { in HandleChunk()
77 if (!out_data.empty()) { in HandleChunk()
78 JvmtiUniquePtr<jbyte[]> ret = AllocJvmtiUniquePtr<jbyte[]>(env, out_data.size(), &error); in HandleChunk()
82 memcpy(ret.get(), out_data.data(), out_data.size()); in HandleChunk()
84 *data_length_out = static_cast<jint>(out_data.size()); in HandleChunk()
Dti_extension.cc333 JvmtiUniquePtr<jvmtiExtensionFunctionInfo[]> out_data = in GetExtensionFunctions() local
335 if (out_data == nullptr) { in GetExtensionFunctions()
338 memcpy(out_data.get(), in GetExtensionFunctions()
341 *extensions = out_data.release(); in GetExtensionFunctions()
439 JvmtiUniquePtr<jvmtiExtensionEventInfo[]> out_data = in GetExtensionEvents() local
441 if (out_data == nullptr) { in GetExtensionEvents()
444 memcpy(out_data.get(), in GetExtensionEvents()
447 *extensions = out_data.release(); in GetExtensionEvents()
Dti_class.cc892 char** out_data = nullptr; in CopyClassDescriptors() local
895 reinterpret_cast<unsigned char**>(&out_data)); in CopyClassDescriptors()
898 env->Deallocate(reinterpret_cast<unsigned char*>(out_data)); in CopyClassDescriptors()
907 memcpy(out_data, descriptors.data(), sizeof(char*) * descriptors.size()); in CopyClassDescriptors()
909 *classes = out_data; in CopyClassDescriptors()
/art/libartbase/base/
Dhistogram-inl.h218 inline void Histogram<Value>::CreateHistogram(CumulativeData* out_data) const { in CreateHistogram() argument
220 out_data->freq_.clear(); in CreateHistogram()
221 out_data->perc_.clear(); in CreateHistogram()
223 out_data->freq_.push_back(accumulated); in CreateHistogram()
224 out_data->perc_.push_back(0.0); in CreateHistogram()
227 out_data->freq_.push_back(accumulated); in CreateHistogram()
228 out_data->perc_.push_back(static_cast<double>(accumulated) / static_cast<double>(sample_size_)); in CreateHistogram()
230 DCHECK_EQ(out_data->freq_.back(), sample_size_); in CreateHistogram()
231 DCHECK_LE(std::abs(out_data->perc_.back() - 1.0), 0.001); in CreateHistogram()
/art/runtime/
Dquicken_info.h33 Builder(std::vector<uint8_t>* out_data, size_t num_elements) : out_data_(out_data) { in Builder() argument
Ddebugger.cc4198 /*out*/std::vector<uint8_t>* out_data) { in DdmHandleChunk() argument
4258 out_data->resize(length); in DdmHandleChunk()
4262 reinterpret_cast<jbyte*>(out_data->data())); in DdmHandleChunk()
4303 std::vector<uint8_t> out_data; in DdmHandlePacket() local
4306 if (!DdmHandleChunk(env, type, data, &out_type, &out_data) || out_data.empty()) { in DdmHandlePacket()
4310 *pReplyLen = out_data.size() + kDdmHeaderSize; in DdmHandlePacket()
4311 *pReplyBuf = new uint8_t[out_data.size() + kDdmHeaderSize]; in DdmHandlePacket()
4312 memcpy((*pReplyBuf) + kDdmHeaderSize, out_data.data(), out_data.size()); in DdmHandlePacket()
4314 JDWP::Set4BE((*pReplyBuf) + 4, static_cast<uint32_t>(out_data.size())); in DdmHandlePacket()
4318 << " len= " << out_data.size(); in DdmHandlePacket()
Ddebugger.h679 /*out*/std::vector<uint8_t>* out_data);
/art/test/1940-ddms-ext/
Dddm_ext.cc83 jbyte* out_data; in Java_art_Test1940_processChunk() local
90 /*out*/&out_data))) { in Java_art_Test1940_processChunk()
94 env->SetByteArrayRegion(chunk_data.get(), 0, out_size, out_data); in Java_art_Test1940_processChunk()
95 Dealloc(out_data); in Java_art_Test1940_processChunk()
/art/runtime/hprof/
Dhprof.cc815 std::vector<uint8_t> out_data; in DumpToDdmsDirect() local
818 VectorEndianOuputput output(out_data, max_length); in DumpToDdmsDirect()
825 chunk_type, ArrayRef<const uint8_t>(out_data.data(), out_data.size())); in DumpToDdmsDirect()
/art/test/ti-stress/
Dstress.cc70 /*out*/unsigned char** out_data) { in DoExtractClassFromData() argument
113 *out_data = res; in DoExtractClassFromData()