Home
last modified time | relevance | path

Searched refs:params (Results 1 – 25 of 33) sorted by relevance

12

/art/libdexfile/dex/
Dsignature.cc35 const TypeList* params = dex_file_->GetProtoParameters(*proto_id_); in ToString() local
37 if (params == nullptr) { in ToString()
41 for (uint32_t i = 0; i < params->Size(); ++i) { in ToString()
42 result += dex_file_->StringByTypeIdx(params->GetTypeItem(i).type_idx_); in ToString()
51 const TypeList* params = dex_file_->GetProtoParameters(*proto_id_); in GetNumberOfParameters() local
52 return (params != nullptr) ? params->Size() : 0; in GetNumberOfParameters()
69 const TypeList* params = dex_file_->GetProtoParameters(*proto_id_); in operator ==() local
70 if (params != nullptr) { in operator ==()
71 for (uint32_t i = 0; i < params->Size(); ++i) { in operator ==()
72 std::string_view param(dex_file_->StringByTypeIdx(params->GetTypeItem(i).type_idx_)); in operator ==()
Dsignature-inl.h60 const dex::TypeList* params = dex_file_->GetProtoParameters(*proto_id_); variable
63 DCHECK(params != nullptr);
65 uint32_t params_size = params->Size();
68 const dex::TypeId& param_id = dex_file_->GetTypeId(params->GetTypeItem(i).type_idx_);
Ddex_file.cc538 const TypeList* params = GetProtoParameters(*proto_id); in PrettyMethod() local
539 if (params != nullptr) { in PrettyMethod()
541 for (uint32_t i = 0u, size = params->Size(); i != size; ++i) { in PrettyMethod()
544 AppendPrettyDescriptor(StringByTypeIdx(params->GetTypeItem(i).type_idx_), &result); in PrettyMethod()
/art/test/1964-add-to-dex-classloader-file/
Dadd_to_loader.cc41 static void DeallocParams(jvmtiParamInfo* params, jint n_params) { in DeallocParams() argument
43 Dealloc(params[i].name); in DeallocParams()
62 DeallocParams(cur_info->params, cur_info->param_count); in GetAddFunction()
63 Dealloc(cur_info->id, cur_info->short_description, cur_info->params, cur_info->errors); in GetAddFunction()
/art/test/1963-add-to-dex-classloader-in-memory/
Dadd_to_loader.cc42 static void DeallocParams(jvmtiParamInfo* params, jint n_params) { in DeallocParams() argument
44 Dealloc(params[i].name); in DeallocParams()
63 DeallocParams(cur_info->params, cur_info->param_count); in GetAddFunction()
64 Dealloc(cur_info->id, cur_info->short_description, cur_info->params, cur_info->errors); in GetAddFunction()
/art/tools/jvmti-agents/list-extensions/
Dlist-extensions.cc39 void DeallocParams(jvmtiEnv* env, jvmtiParamInfo* params, jint n_params) { in DeallocParams() argument
41 Dealloc(env, params[i].name); in DeallocParams()
111 const jvmtiParamInfo& param = info.params[j]; in SetupJvmtiEnv()
121 DeallocParams(env, info.params, info.param_count); in SetupJvmtiEnv()
122 Dealloc(env, info.short_description, info.id, info.errors, info.params); in SetupJvmtiEnv()
138 const jvmtiParamInfo& param = info.params[j]; in SetupJvmtiEnv()
141 DeallocParams(env, info.params, info.param_count); in SetupJvmtiEnv()
142 Dealloc(env, info.short_description, info.id, info.params); in SetupJvmtiEnv()
/art/openjdkjvmti/
Dti_extension.cc88 const std::vector<CParamInfo>& params, in GetExtensionFunctions()
109 func_info.param_count = params.size(); in GetExtensionFunctions()
110 if (!params.empty()) { in GetExtensionFunctions()
112 AllocJvmtiUniquePtr<jvmtiParamInfo[]>(env, params.size(), &error); in GetExtensionFunctions()
116 func_info.params = params_ptr.get(); in GetExtensionFunctions()
120 func_info.params[i] = params[i].ToParamInfo(env, &char_buffers, &error); in GetExtensionFunctions()
126 func_info.params = nullptr; in GetExtensionFunctions()
553 const std::vector<CParamInfo>& params) { in GetExtensionEvents() argument
574 event_info.param_count = params.size(); in GetExtensionEvents()
575 if (!params.empty()) { in GetExtensionEvents()
[all …]
/art/test/1951-monitor-enter-no-suspend/
Draw_monitor.cc41 static void DeallocParams(jvmtiParamInfo* params, jint n_params) { in DeallocParams() argument
43 Dealloc(params[i].name); in DeallocParams()
61 DeallocParams(cur_info->params, cur_info->param_count); in GetNoSuspendFunction()
62 Dealloc(cur_info->id, cur_info->short_description, cur_info->params, cur_info->errors); in GetNoSuspendFunction()
/art/test/1957-error-ext/
Dlasterror.cc54 static void DeallocParams(jvmtiParamInfo* params, jint n_params) { in DeallocParams() argument
56 Dealloc(params[i].name); in DeallocParams()
73 DeallocParams(cur_info->params, cur_info->param_count); in FindExtensionMethod()
74 Dealloc(cur_info->id, cur_info->short_description, cur_info->params, cur_info->errors); in FindExtensionMethod()
/art/test/1980-obsolete-object-cleared/src/
DMain.java179 final Object[][] params = new Object[types.length][]; in CollectParameterValues() local
182 params[i] = in CollectParameterValues()
187 params[i] = new Object[] {Boolean.TRUE, Boolean.FALSE}; in CollectParameterValues()
189 params[i] = new Object[] {"NOT_USED_STRING", "foo", "SECRET_ARRAY"}; in CollectParameterValues()
191 params[i] = new Object[] {null, "foo", "NOT_USED_STRING", Transform.class}; in CollectParameterValues()
193 params[i] = new Object[] {new Object[0], new Class[0], null}; in CollectParameterValues()
200 for (int i = params.length - 1; i >= 0; i--) { in CollectParameterValues()
201 iter = new ComboIter(Arrays.asList(params[i]), iter); in CollectParameterValues()
207 public String toString() { return deepPrint(params); } in CollectParameterValues()
/art/test/1980-obsolete-object-cleared/
Dexpected.txt20 Calling public java.lang.Class java.lang.Class.asSubclass(java.lang.Class) with params: [[null, cla…
27 Calling public java.lang.Object java.lang.Class.cast(java.lang.Object) with params: [[null, foo, NO…
32 Calling public boolean java.lang.Class.desiredAssertionStatus() with params: []
34 Calling public int java.lang.Class.getAccessFlags() with params: []
36 …nnotation.Annotation java.lang.Class.getAnnotation(java.lang.Class) with params: [[null, class jav…
43 Calling public java.lang.annotation.Annotation[] java.lang.Class.getAnnotations() with params: []
45 ….Annotation[] java.lang.Class.getAnnotationsByType(java.lang.Class) with params: [[null, class jav…
52 Calling public java.lang.String java.lang.Class.getCanonicalName() with params: []
54 Calling public java.lang.ClassLoader java.lang.Class.getClassLoader() with params: []
56 Calling public java.lang.Class[] java.lang.Class.getClasses() with params: []
[all …]
/art/test/913-heaps/
Dheaps.cc890 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(extensions[i].params[j].name)); in FreeExtensionFunctionInfo()
892 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(extensions[i].params)); in FreeExtensionFunctionInfo()
913 CHECK_EQ(strcmp("tag", extensions[i].params[0].name), 0); in Java_art_Test913_checkForExtensionApis()
914 CHECK_EQ(extensions[i].params[0].base_type, JVMTI_TYPE_JLONG); in Java_art_Test913_checkForExtensionApis()
915 CHECK_EQ(extensions[i].params[0].kind, JVMTI_KIND_IN); in Java_art_Test913_checkForExtensionApis()
917 CHECK_EQ(strcmp("heap_id", extensions[i].params[1].name), 0); in Java_art_Test913_checkForExtensionApis()
918 CHECK_EQ(extensions[i].params[1].base_type, JVMTI_TYPE_JINT); in Java_art_Test913_checkForExtensionApis()
919 CHECK_EQ(extensions[i].params[1].kind, JVMTI_KIND_OUT); in Java_art_Test913_checkForExtensionApis()
920 CHECK_EQ(extensions[i].params[1].null_ok, false); in Java_art_Test913_checkForExtensionApis()
935 CHECK_EQ(strcmp("heap_id", extensions[i].params[0].name), 0); in Java_art_Test913_checkForExtensionApis()
[all …]
/art/tools/jvmti-agents/dump-jvmti-state/
Ddump-jvmti.cc38 static void DeallocParams(jvmtiEnv* env, jvmtiParamInfo* params, jint n_params) { in DeallocParams() argument
40 Dealloc(env, params[i].name); in DeallocParams()
73 DeallocParams(env, cur_info->params, cur_info->param_count); in SetupJvmtiEnv()
74 Dealloc(env, cur_info->id, cur_info->short_description, cur_info->params, cur_info->errors); in SetupJvmtiEnv()
/art/tools/jvmti-agents/enable-vlog/
Denablevlog.cc53 void DeallocParams(jvmtiEnv* env, jvmtiParamInfo* params, jint n_params) { in DeallocParams() argument
55 Dealloc(env, params[i].name); in DeallocParams()
72 DeallocParams(jvmti, info.params, info.param_count); in GetExtensionFunction()
73 Dealloc(jvmti, info.short_description, info.errors, info.id, info.params); in GetExtensionFunction()
/art/test/ti-agent/
Djvmti_helper.cc235 void DeallocParams(jvmtiEnv* env, jvmtiParamInfo* params, jint n_params) { in DeallocParams() argument
237 Dealloc(env, params[i].name); in DeallocParams()
253 DeallocParams(jvmti, info.params, info.param_count); in GetExtensionEventId()
254 Dealloc(jvmti, info.short_description, info.id, info.params); in GetExtensionEventId()
273 DeallocParams(jvmti, info.params, info.param_count); in GetExtensionFunctionVoid()
274 Dealloc(jvmti, info.short_description, info.errors, info.id, info.params); in GetExtensionFunctionVoid()
/art/test/1946-list-descriptors/
Ddescriptors.cc90 static void DeallocParams(jvmtiParamInfo* params, jint n_params) { in DeallocParams() argument
92 Dealloc(params[i].name); in DeallocParams()
125 DeallocParams(cur_info->params, cur_info->param_count); in Java_art_Test1946_initializeTest()
126 Dealloc(cur_info->id, cur_info->short_description, cur_info->params, cur_info->errors); in Java_art_Test1946_initializeTest()
/art/tools/ahat/src/main/com/android/ahat/
DQuery.java93 Map<String, String> params = new TreeMap<String, String>(mParams); in with() local
94 params.put(name, value); in with()
96 for (Map.Entry<String, String> entry : params.entrySet()) { in with()
/art/test/1900-track-alloc/
Dalloc.cc81 static void DeallocParams(jvmtiParamInfo* params, jint n_params) { in DeallocParams() argument
83 Dealloc(params[i].name); in DeallocParams()
144 DeallocParams(cur_info->params, cur_info->param_count); in Java_art_Test1900_initializeTest()
145 Dealloc(cur_info->id, cur_info->short_description, cur_info->params, cur_info->errors); in Java_art_Test1900_initializeTest()
/art/test/1940-ddms-ext/
Dddm_ext.cc117 static void DeallocParams(jvmtiParamInfo* params, jint n_params) { in DeallocParams() argument
119 Dealloc(params[i].name); in DeallocParams()
201 DeallocParams(cur_info->params, cur_info->param_count); in Java_art_Test1940_initializeTest()
202 Dealloc(cur_info->id, cur_info->short_description, cur_info->params, cur_info->errors); in Java_art_Test1940_initializeTest()
228 DeallocParams(cur_info->params, cur_info->param_count); in Java_art_Test1940_initializeTest()
229 Dealloc(cur_info->id, cur_info->short_description, cur_info->params); in Java_art_Test1940_initializeTest()
/art/test/1974-resize-array/
Dresize_array.cc52 static void DeallocParams(jvmtiParamInfo* params, jint n_params) { in DeallocParams() argument
54 Dealloc(params[i].name); in DeallocParams()
73 DeallocParams(cur_info->params, cur_info->param_count); in FindExtensionEvent()
74 Dealloc(cur_info->id, cur_info->short_description, cur_info->params); in FindExtensionEvent()
99 DeallocParams(cur_info->params, cur_info->param_count); in FindExtensionMethod()
100 Dealloc(cur_info->id, cur_info->short_description, cur_info->params, cur_info->errors); in FindExtensionMethod()
/art/runtime/native/
Djava_lang_reflect_Executable.cc346 const dex::TypeList* params = method->GetParameterTypeList(); in Executable_getParameterTypesInternal() local
347 if (params == nullptr) { in Executable_getParameterTypesInternal()
351 const uint32_t num_params = params->Size(); in Executable_getParameterTypesInternal()
364 const dex::TypeIndex type_idx = params->GetTypeItem(i).type_idx_; in Executable_getParameterTypesInternal()
381 const dex::TypeList* params = method->GetParameterTypeList(); in Executable_getParameterCountInternal() local
382 return (params == nullptr) ? 0 : params->Size(); in Executable_getParameterCountInternal()
/art/runtime/gc/space/
Dmemory_tool_malloc_space.h56 MemoryToolMallocSpace(MemMap&& mem_map, size_t initial_size, Params... params);
Dmemory_tool_malloc_space-inl.h276 MemMap&& mem_map, size_t initial_size, Params... params) in MemoryToolMallocSpace()
277 : S(std::move(mem_map), initial_size, params...) { in MemoryToolMallocSpace()
/art/test/dexdump/
Dbytecodes.lst14 0x0000128c 636 com.google.android.test.Test params (BCSIJFDLjava/lang/Object;[I)J Test.java 232
/art/test/046-reflect/
Dexpected.txt120 generic method fancyMethod params='[1] java.util.ArrayList<java.lang.String>' ret='java.util.Map<ja…
121 generic ctor Main params='[1] java.util.ArrayList<java.lang.Integer>'

12