Home
last modified time | relevance | path

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

12

/arkcompiler/runtime_core/assembler/
Dassembly-type.cpp72 Type Type::FromDescriptor(std::string_view descriptor) in FromDescriptor() argument
79 while (descriptor[i] == '[') { in FromDescriptor()
84 bool is_ref_type = descriptor[i] == 'L'; in FromDescriptor()
86 descriptor.remove_suffix(1); /* Remove semicolon */ in FromDescriptor()
90 descriptor.remove_prefix(i); in FromDescriptor()
93 return Type(descriptor, rank); in FromDescriptor()
96 return Type(reverse_primitive_types[descriptor], rank); in FromDescriptor()
Dassembly-type.h164 static Type FromDescriptor(std::string_view descriptor);
/arkcompiler/ets_frontend/es2panda/test/compiler/ts/cases/conformance/decorators/
Dtest-ts-decorators-15.ts18 return function (target: any, propertyKey: string, descriptor: PropertyDescriptor) {
19 descriptor.enumerable = value("xxx");
Dtest-ts-decorators-17.ts19 return function (target: any, propertyKey: any, descriptor: PropertyDescriptor): void {
21 descriptor.value = function (...args:any):void {
Dtest-ts-decorators-17-expected.txt3 exec descriptor, args
Dtest-ts-decorators-3.ts17 function f(target, propertyKey, descriptor) {
/arkcompiler/runtime_core/libpandafile/
Dtype_helper.h30 inline bool IsArrayDescriptor(const uint8_t *descriptor) in IsArrayDescriptor() argument
32 Span<const uint8_t> sp(descriptor, 1); in IsArrayDescriptor()
/arkcompiler/runtime_core/assembler/tests/
Demitter_test.cpp75 std::string descriptor; in TEST() local
76 auto class_id = pf->GetClassId(GetTypeDescriptor("_GLOBAL", &descriptor)); in TEST()
130 std::string descriptor; in TEST() local
131 auto class_id = pf->GetClassId(GetTypeDescriptor("R", &descriptor)); in TEST()
218 std::string descriptor; in TEST() local
219 auto class_id = pf->GetClassId(GetTypeDescriptor("_GLOBAL", &descriptor)); in TEST()
307 std::string descriptor; in TEST() local
309 auto class_id = pf->GetClassId(GetTypeDescriptor("_GLOBAL", &descriptor)); in TEST()
330 …ctor<CatchInfo> catch_infos {{pf->GetClassId(GetTypeDescriptor("Exception1", &descriptor)), 4 * 9}, in TEST()
331 … {pf->GetClassId(GetTypeDescriptor("Exception2", &descriptor)), 5 * 9}, in TEST()
[all …]
Dassembler_emitter_test.cpp75 std::string descriptor; variable
77 auto class_id = pf->GetClassId(GetTypeDescriptor("R", &descriptor));
117 std::string descriptor; variable
118 auto class_id = pf->GetClassId(GetTypeDescriptor("_GLOBAL", &descriptor));
166 std::string descriptor; variable
167 auto class_id = pf->GetClassId(GetTypeDescriptor("R", &descriptor));
249 std::string descriptor; variable
250 auto class_id = pf->GetClassId(GetTypeDescriptor("_GLOBAL", &descriptor));
361 std::string descriptor; variable
363 auto class_id = pf->GetClassId(GetTypeDescriptor("_GLOBAL", &descriptor));
[all …]
/arkcompiler/ets_runtime/ecmascript/module/
Dmodule_data_extractor.cpp34 … const CString &descriptor, const CString &moduleFilename) in ParseModule() argument
36 int moduleIdx = jsPandaFile->GetModuleRecordIdx(descriptor); in ParseModule()
89 const CString &descriptor = jsPandaFile->GetJSPandaFileDesc(); in ParseCjsModule() local
93 JSHandle<EcmaString> cjsModuleFilename = factory->NewFromUtf8(descriptor); in ParseCjsModule()
Dmodule_data_extractor.h38 … const CString &descriptor, const CString &moduleFilename);
/arkcompiler/toolchain/tooling/test/
Dpt_types_test.cpp189 InternalPropertyDescriptor descriptor; in HWTEST_F_L0() local
190 RemoteObject* result = descriptor.GetValue(); in HWTEST_F_L0()
196 PrivatePropertyDescriptor descriptor; in HWTEST_F_L0() local
197 ASSERT_TRUE(descriptor.GetName() == ""); in HWTEST_F_L0()
202 panda::ecmascript::tooling::PropertyDescriptor descriptor; in HWTEST_F_L0() local
203 RemoteObject* result = descriptor.GetValue(); in HWTEST_F_L0()
205 result = descriptor.GetGet(); in HWTEST_F_L0()
207 result = descriptor.GetSet(); in HWTEST_F_L0()
209 result = descriptor.GetSymbol(); in HWTEST_F_L0()
211 bool res = descriptor.HasSymbol(); in HWTEST_F_L0()
[all …]
Dpt_returns_test.cpp136 … auto descriptor = std::vector<std::unique_ptr<panda::ecmascript::tooling::PropertyDescriptor>>(); in HWTEST_F_L0() local
140 descriptor.emplace_back(std::move(propertyDescriptor)); in HWTEST_F_L0()
157 = std::make_unique<GetPropertiesReturns>(std::move(descriptor), in HWTEST_F_L0()
Ddebugger_returns_test.cpp220 auto descriptor = std::vector<std::unique_ptr<PropertyDescriptor>>(); in HWTEST_F_L0() local
223 descriptor.emplace_back(std::move(propertyDescriptor)); in HWTEST_F_L0()
225 … <GetPropertiesReturns>(std::move(descriptor)); in HWTEST_F_L0()
/arkcompiler/runtime_core/compiler/tests/
Dpanda_runner.h129 PandaString descriptor; in GetMethod() local
135 … ->GetClass(ClassHelper::GetDescriptor(utf::CStringAsMutf8("_GLOBAL"), &descriptor)); in GetMethod()
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins.cpp403 …PropertyDescriptor descriptor(thread_, JSHandle<JSTaggedValue>::Cast(accessor), true, false, true); in SetLazyAccessor() local
404 JSObject::DefineOwnProperty(thread_, object, key, descriptor); in SetLazyAccessor()
621 …PropertyDescriptor descriptor(thread_, JSHandle<JSTaggedValue>::Cast(symbolFunction), true, false,… in InitializeSymbol() local
622 JSObject::DefineOwnProperty(thread_, symbolFuncPrototype, constructorKey, descriptor); in InitializeSymbol()
726 …PropertyDescriptor descriptor(thread_, JSHandle<JSTaggedValue>::Cast(symbolFunction), true, false,… in InitializeSymbolWithRealm() local
727 JSObject::DefineOwnProperty(thread_, symbolFuncPrototype, constructorKey, descriptor); in InitializeSymbolWithRealm()
859 PropertyDescriptor descriptor(thread_, env->GetBigIntFunction(), true, false, true); in InitializeBigIntWithRealm() local
860 JSObject::DefineOwnProperty(thread_, globalObject, nameString, descriptor); in InitializeBigIntWithRealm()
1032 PropertyDescriptor descriptor(thread_, JSHandle<JSTaggedValue>(ctor), true, false, true); in InitializeExoticConstructor() local
1033 JSObject::DefineOwnProperty(thread_, globalObject, nameString, descriptor); in InitializeExoticConstructor()
[all …]
Dbuiltins_relative_time_format.cpp56 …PropertyDescriptor descriptor(thread, JSHandle<JSTaggedValue>::Cast(relativeTimeFormat), false, fa… in RelativeTimeFormatConstructor() local
58 JSTaggedValue::DefinePropertyOrThrow(thread, thisValue, key, descriptor); in RelativeTimeFormatConstructor()
Dbuiltins_number_format.cpp72 …PropertyDescriptor descriptor(thread, JSHandle<JSTaggedValue>::Cast(numberFormat), false, false, f… in NumberFormatConstructor() local
74 JSTaggedValue::DefinePropertyOrThrow(thread, thisValue, key, descriptor); in NumberFormatConstructor()
Dbuiltins_date_time_format.cpp70 … PropertyDescriptor descriptor(thread, JSHandle<JSTaggedValue>::Cast(dtf), false, false, false); in DateTimeFormatConstructor() local
72 JSTaggedValue::DefinePropertyOrThrow(thread, thisValue, key, descriptor); in DateTimeFormatConstructor()
/arkcompiler/ets_runtime/ecmascript/containers/
Dcontainers_private.cpp198 PropertyDescriptor descriptor(thread, JSHandle<JSTaggedValue>(function), false, false, false); in SetFrozenFunction() local
199 JSObject::DefineOwnProperty(thread, obj, keyString, descriptor); in SetFrozenFunction()
208 PropertyDescriptor descriptor(thread, value, false, false, false); in SetFrozenConstructor() local
209 JSObject::DefineOwnProperty(thread, obj, key, descriptor); in SetFrozenConstructor()
259 …PropertyDescriptor descriptor(thread, JSHandle<JSTaggedValue>::Cast(function), false, false, false… in SetFunctionAtSymbol() local
260 JSObject::DefineOwnProperty(thread, obj, symbol, descriptor); in SetFunctionAtSymbol()
533 PropertyDescriptor descriptor(thread, entriesFunc, false, false, false); in InitializeTreeMap() local
534 JSObject::DefineOwnProperty(thread, mapFuncPrototype, iteratorSymbol, descriptor); in InitializeTreeMap()
606 PropertyDescriptor descriptor(thread, valuesFunc, false, false, false); in InitializeTreeSet() local
607 JSObject::DefineOwnProperty(thread, setFuncPrototype, iteratorSymbol, descriptor); in InitializeTreeSet()
[all …]
/arkcompiler/ets_runtime/ecmascript/debugger/
Ddebugger_api.cpp594 PropertyAttribute descriptor(variableValue, true, true, true); in InitializeExportVariables() local
595 moduleObj->DefineProperty(ecmaVm, variableName, descriptor); in InitializeExportVariables()
645 PropertyAttribute descriptor(variableValue, true, true, true); in GetLocalExportVariables() local
646 moduleObj->DefineProperty(ecmaVm, variableName, descriptor); in GetLocalExportVariables()
686 PropertyAttribute descriptor(value, true, true, true); in GetIndirectExportVariables() local
687 moduleObj->DefineProperty(ecmaVm, variableName, descriptor); in GetIndirectExportVariables()
727 … PropertyAttribute descriptor(static_cast<Local<JSValueRef>>(importModuleObj), true, true, true); in GetImportVariables() local
728 moduleObj->DefineProperty(ecmaVm, variableName, descriptor); in GetImportVariables()
735 PropertyAttribute descriptor(value, true, true, true); in GetImportVariables() local
736 moduleObj->DefineProperty(ecmaVm, variableName, descriptor); in GetImportVariables()
/arkcompiler/ets_runtime/ecmascript/jspandafile/
Djs_pandafile.cpp24 JSPandaFile::JSPandaFile(const panda_file::File *pf, const CString &descriptor) in JSPandaFile() argument
25 : pf_(pf), desc_(descriptor) in JSPandaFile()
/arkcompiler/toolchain/tooling/base/
Dpt_returns.h225 explicit GetPropertiesReturns(std::vector<std::unique_ptr<PropertyDescriptor>> descriptor,
229 : result_(std::move(descriptor)), in result_() argument
/arkcompiler/toolchain/tooling/agent/
Ddebugger_impl.cpp1269 PropertyAttribute descriptor(value, true, true, true); in GetLocalVariables() local
1270 localObj->DefineProperty(vm_, name, descriptor); in GetLocalVariables()
1313 PropertyAttribute descriptor(value, true, true, true); in GetClosureVariables() local
1314 localObj->DefineProperty(vm_, name, descriptor); in GetClosureVariables()
1362 PropertyAttribute descriptor(newVal, true, true, true); in UpdateScopeObject() local
1363 localObj->DefineProperty(vm_, name, descriptor); in UpdateScopeObject()
/arkcompiler/toolchain/build/third_party_gn/protobuf/
DBUILD.gn154 "$protobuf_src_root/google/protobuf/descriptor.cc",
155 "$protobuf_src_root/google/protobuf/descriptor.pb.cc",
235 "$protobuf_src_root/google/protobuf/descriptor.cc",
236 "$protobuf_src_root/google/protobuf/descriptor.pb.cc",

12