Home
last modified time | relevance | path

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

/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.cc537 const TypeList* params = GetProtoParameters(*proto_id); in PrettyMethod() local
538 if (params != nullptr) { in PrettyMethod()
540 for (uint32_t i = 0u, size = params->Size(); i != size; ++i) { in PrettyMethod()
543 AppendPrettyDescriptor(StringByTypeIdx(params->GetTypeItem(i).type_idx_), &result); in PrettyMethod()
/art/openjdkjvmti/
Dti_extension.cc83 const std::vector<CParamInfo>& params, in GetExtensionFunctions()
104 func_info.param_count = params.size(); in GetExtensionFunctions()
105 if (!params.empty()) { in GetExtensionFunctions()
107 AllocJvmtiUniquePtr<jvmtiParamInfo[]>(env, params.size(), &error); in GetExtensionFunctions()
111 func_info.params = params_ptr.get(); in GetExtensionFunctions()
115 func_info.params[i] = params[i].ToParamInfo(env, &char_buffers, &error); in GetExtensionFunctions()
121 func_info.params = nullptr; in GetExtensionFunctions()
370 const std::vector<CParamInfo>& params) { in GetExtensionEvents() argument
391 event_info.param_count = params.size(); in GetExtensionEvents()
392 if (!params.empty()) { in GetExtensionEvents()
[all …]
/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/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/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/test/1940-ddms-ext/
Dddm_ext.cc108 static void DeallocParams(jvmtiParamInfo* params, jint n_params) { in DeallocParams() argument
110 Dealloc(params[i].name); in DeallocParams()
162 DeallocParams(cur_info->params, cur_info->param_count); in Java_art_Test1940_initializeTest()
163 Dealloc(cur_info->id, cur_info->short_description, cur_info->params, cur_info->errors); in Java_art_Test1940_initializeTest()
189 DeallocParams(cur_info->params, cur_info->param_count); in Java_art_Test1940_initializeTest()
190 Dealloc(cur_info->id, cur_info->short_description, cur_info->params); in Java_art_Test1940_initializeTest()
/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/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
Dbytecodes.txt994 … v5, v6, v7, v8, v9, v10, v11, v12, v13}, Lcom/google/android/test/Test;.params:(BCSIJFDLjava/lang…
1184 name : 'params'
1192 00127c: |[00127c] com.google.android.test.Test.params:(BCSIJ…
/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>'
/art/test/476-checker-ctor-fence-redun-elim/src/
DMain.java721 private static <T> T exerciseNewInstance(Class<T> klass, int params) throws Exception { in exerciseNewInstance() argument
722 return klass.cast(klass.getDeclaredConstructor(int.class).newInstance(params)); in exerciseNewInstance()
/art/test/046-reflect/src/
DMain.java35 Class<?>[] params, exceptions; in printMethodInfo() local
41 params = meth.getParameterTypes(); in printMethodInfo()
42 for (i = 0; i < params.length; i++) in printMethodInfo()
43 System.out.println(" Arg " + i + ": " + params[i].getName()); in printMethodInfo()
/art/runtime/
Dart_method.cc521 bool ArtMethod::EqualParameters(Handle<mirror::ObjectArray<mirror::Class>> params) { in EqualParameters() argument
527 auto param_len = params != nullptr ? params->GetLength() : 0u; in EqualParameters()
539 if (type != params->GetWithoutChecks(i)) { in EqualParameters()
Dreflection.cc371 const dex::TypeList* params = m->GetParameterTypeList(); in CheckMethodArguments() local
372 if (params == nullptr) { in CheckMethodArguments()
376 uint32_t num_params = params->Size(); in CheckMethodArguments()
384 dex::TypeIndex type_idx = params->GetTypeItem(i).type_idx_; in CheckMethodArguments()
Dart_method.h637 bool EqualParameters(Handle<mirror::ObjectArray<mirror::Class>> params)
/art/runtime/interpreter/
Dinterpreter_common.cc1640 const dex::TypeList* params = method->GetParameterTypeList(); in DoCallCommon() local
1666 const dex::TypeIndex type_idx = params->GetTypeItem(shorty_pos).type_idx_; in DoCallCommon()
/art/openjdkjvmti/include/
Djvmti.h640 jvmtiParamInfo* params; member
649 jvmtiParamInfo* params; member