Home
last modified time | relevance | path

Searched full:storage (Results 1 – 25 of 159) sorted by relevance

1234567

/arkcompiler/runtime_core/static_core/runtime/
Dclass_helper.cpp27 const uint8_t *ClassHelper::GetDescriptor(const uint8_t *name, PandaString *storage) in GetDescriptor() argument
29 return GetArrayDescriptor(name, 0, storage); in GetDescriptor()
33 …t *ClassHelper::GetArrayDescriptor(const uint8_t *componentName, size_t rank, PandaString *storage) in GetArrayDescriptor() argument
35 storage->clear(); in GetArrayDescriptor()
36 storage->append(rank, '['); in GetArrayDescriptor()
37 storage->push_back('L'); in GetArrayDescriptor()
38 storage->append(utf::Mutf8AsCString(componentName)); in GetArrayDescriptor()
39 storage->push_back(';'); in GetArrayDescriptor()
40 std::replace(storage->begin(), storage->end(), '.', '/'); in GetArrayDescriptor()
41 return utf::CStringAsMutf8(storage->c_str()); in GetArrayDescriptor()
[all …]
Dhandle_storage.h35 // storage is the storage structure of the object pointer
Dglobal_handle_storage.h29 // storage is the storage structure of the object pointer
/arkcompiler/runtime_core/static_core/runtime/tests/
Dstring_table_test.cpp176 auto storage = thread_->GetVM()->GetGlobalObjectStorage(); in SweepObjectInTable() local
179 auto ref1 = storage->Add(s1, Reference::ObjectType::GLOBAL); in SweepObjectInTable()
181 auto ref2 = storage->Add(s2, Reference::ObjectType::GLOBAL); in SweepObjectInTable()
183 auto ref3 = storage->Add(s3, Reference::ObjectType::GLOBAL); in SweepObjectInTable()
186 …table->GetOrInternString(reinterpret_cast<coretypes::String *>(storage->Get(ref1)), pandaClassCont… in SweepObjectInTable()
187 …table->GetOrInternString(reinterpret_cast<coretypes::String *>(storage->Get(ref2)), pandaClassCont… in SweepObjectInTable()
188 …table->GetOrInternString(reinterpret_cast<coretypes::String *>(storage->Get(ref3)), pandaClassCont… in SweepObjectInTable()
190 storage->Remove(ref2); in SweepObjectInTable()
196 storage->Remove(ref1); in SweepObjectInTable()
197 storage->Remove(ref3); in SweepObjectInTable()
[all …]
/arkcompiler/runtime_core/static_core/dprof/converter/
Dmain.cpp18 #include "dprof/storage.h"
44 std::cerr << "Option \"storage-dir\" is not set" << std::endl; in Parse()
79 auto storage = AppDataStorage::Create(options.GetStorageDir()); in Main() local
80 if (!storage) { in Main()
81 LOG(FATAL, DPROF) << "Cannot init storage"; in Main()
92storage->ForEachApps([&fm](std::unique_ptr<AppData> &&appData) -> bool { return fm.ProcessingFeatu… in Main()
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/interop_js/
Djs_refconvert_function.cpp58 ets_proxy::SharedReferenceStorage *storage = ctx->GetSharedRefStorage(); in WrapImpl() local
59 if (LIKELY(storage->HasReference(obj))) { in WrapImpl()
60 ets_proxy::SharedReference *sharedRef = storage->GetReference(obj); in WrapImpl()
65 ets_proxy::SharedReference *payloadSharedRef = storage->GetNextAlloc(); in WrapImpl()
69 ets_proxy::SharedReference *sharedRef = storage->CreateETSObjectRef(ctx, obj, jsFn); in WrapImpl()
Djs_convert.h346 ets_proxy::SharedReferenceStorage *storage = ctx->GetSharedRefStorage(); in JSCONVERT_WRAP() local
354 if (interopObj != nullptr && storage->HasReference(interopObj)) { in JSCONVERT_WRAP()
355 return storage->GetReference(interopObj)->GetJsObject(env); in JSCONVERT_WRAP()
389 [[maybe_unused]] auto *sharedRef = storage->CreateETSObjectRef(ctx, ref, jsPromise); in JSCONVERT_WRAP()
402 ets_proxy::SharedReferenceStorage *storage = ctx->GetSharedRefStorage(); in JSCONVERT_UNWRAP() local
403 ets_proxy::SharedReference *sharedRef = storage->GetReference(env, jsVal); in JSCONVERT_UNWRAP()
416 storage->CreateJSObjectRef(ctx, href.GetPtr(), jsVal); in JSCONVERT_UNWRAP()
/arkcompiler/runtime_core/static_core/dprof/daemon/
Dmain.cpp19 #include "dprof/storage.h"
116 void Start(AppDataStorage *storage) in Start() argument
119 thread_ = std::thread([this](AppDataStorage *strg) { DoRun(strg); }, storage); in Start()
130 void DoRun(AppDataStorage *storage) in DoRun() argument
153 storage->SaveAppData(*appData); in DoRun()
180 std::cerr << "Option \"storage-dir\" is not set" << std::endl; in Parse()
240 auto storage = AppDataStorage::Create(options.GetStorageDir(), true); in Main() local
241 if (!storage) { in Main()
242 LOG(FATAL, DPROF) << "Cannot init storage"; in Main()
254 worker.Start(storage.get()); in Main()
Doptions.yaml29 - name: storage-dir
/arkcompiler/runtime_core/static_core/runtime/mem/refstorage/
Dglobal_object_storage.h40 …* Storage for objects which need to handle by GC. GC will handle moving these objects and will not…
42 * References will be removed automatically after Remove method or after storage's destructor.
53 /// Add object to the storage and return associated pointer with this object
93 …/// Remove object from storage by given reference. Reference should be returned on Add method befo…
96 /// Get all objects from storage. Used by debugging.
101 /// Update pointers to moved Objects in global storage.
150 * doesn't stores inside storage explicity.
152 …* 2) When index if free - storage[index] stores next free index (shifted by 1) with lowest bit equ…
160 … | storage[index] | xxx | 0 |
163 … | storage[index] | xxx | 1 |
[all …]
Dreference_storage.h36 /// Storage stores all References for proper interaction with GC.
89 /// Get all objects in global & local storage. Use for debugging only
94 /// Update pointers to moved Objects in local storage
133 // NOTE(alovkov): remove it when storage will be working over mmap
Dreference_storage.cpp83 // global-storage should accept ref with type in IsValidRef()
190 // only weakly reachable objects can be null in storage in GetObject()
209 …* classes are not movable objects, so they can be read from storage in native code, but general ob… in GetObject()
235 LOG(ERROR, GC) << "Free size of local reference storage is less than capacity: " << capacity in PushLocalFrame()
371 LOG(ERROR, GC) << "--- local reference storage dump ---"; in DumpLocalRef()
372 LOG(ERROR, GC) << "Local reference storage addr: " << &localStorage_; in DumpLocalRef()
387 LOG(ERROR, GC) << "Storage dumped maximum number of references"; in DumpLocalRef()
/arkcompiler/runtime_core/static_core/runtime/include/
Dclass_helper.h43 PANDA_PUBLIC_API static const uint8_t *GetDescriptor(const uint8_t *name, PandaString *storage);
45 static const uint8_t *GetTypeDescriptor(const PandaString &name, PandaString *storage);
47 …const uint8_t *GetArrayDescriptor(const uint8_t *componentName, size_t rank, PandaString *storage);
55 static const uint8_t *GetPrimitiveDescriptor(panda_file::Type type, PandaString *storage);
57 …nst uint8_t *GetPrimitiveArrayDescriptor(panda_file::Type type, size_t rank, PandaString *storage);
/arkcompiler/runtime_core/static_core/docs/bc_verification/
Dtypes_n_values.md6 like storage size, bit width, etc.
7 2. Storage types
8 3. Physycal (concrete) types. They are parameterized types by abstract and storage types.
109 ## Storage types
/arkcompiler/runtime_core/docs/bc_verification/
Dtypes_n_values.md6 like storage size, bit width, etc.
7 2. Storage types
8 3. Physycal (concrete) types. They are parameterized types by abstract and storage types.
109 ## Storage types
/arkcompiler/runtime_core/static_core/runtime/mem/
Dinternal_allocator.h43 GLOBAL, // The allocation will be in global storage
44 LOCAL // The allocation will be in thread-local storage
127 …aram allocator - a pointer to the allocator which will be used for local allocator instance storage
134 …* @param allocator - a pointer to the allocator which was used for local allocator instance storage
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/spec/16.Support_for_GUI_Programming/annotations/
Dannotation_@LocalStorageLink.sts26 let storage = new LocalStorage({"PropA": 48});
28 @Entry(storage)
/arkcompiler/runtime_core/docs/
Dir_format.md260 …fore storing users in sequence container has one big drawback - frequent storage reallocation, tha…
268 There are two types of def-use storage: in memory right before instruction class and in separate me…
269 - First case is used in instructions with fixed number of inputs. Storage is allocated right before…
270storage is allocated separately from instruction object, both storage and instruction are coupled …
275 - flag that shows whether storage is dynamic
282storage have been chosen because it avoids usage of virtual methods and dynamic containers for all…
/arkcompiler/ets_frontend/test/scripts/auto_xts_test/
Dreadme.md21 - Because the burning tool does not use the relative path as the the storage path of images, the sc…
22 as the storage path to make it run stably.
/arkcompiler/runtime_core/static_core/docs/
Dir_format.md269 …fore storing users in sequence container has one big drawback - frequent storage reallocation, tha…
277 There are two types of def-use storage: in memory right before instruction class and in separate me…
278 - First case is used in instructions with fixed number of inputs. Storage is allocated right before…
279storage is allocated separately from instruction object, both storage and instruction are coupled …
284 - flag that shows whether storage is dynamic
291storage have been chosen because it avoids usage of virtual methods and dynamic containers for all…
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/types/
Dets_promise.cpp99 auto *storage = coro->GetPandaVM()->GetGlobalObjectStorage(); in PromotePromiseRef() local
100 auto *globalPromiseRef = storage->Add(this, mem::Reference::ObjectType::GLOBAL); in PromotePromiseRef()
102 storage->Remove(promiseRef); in PromotePromiseRef()
/arkcompiler/ets_runtime/ecmascript/module/tests/
Decma_module_test.cpp489 …CString newBaseFileName = "/data/storage/el1/bundle/com.bundleName.test/moduleName/moduleName/ets/… in HWTEST_F_L0()
653 EXPECT_EQ(outFileName, "/data/storage/el1/bundle/moduleName/ets/modules.abc"); in HWTEST_F_L0()
657 CString outRes = "/data/storage/el1/bundle/moduleName1/ets/modules.abc"; in HWTEST_F_L0()
665 …CString outRes1 = "/data/storage/el1/bundle/com.bundleName.test1/moduleName1/moduleName1/ets/modul… in HWTEST_F_L0()
672 inputFileName = "/data/storage/el1/bundle/entry/ets/mainAbility.abc"; in HWTEST_F_L0()
673 CString outRes2 = "/data/storage/el1/bundle/entry/ets/modules.abc"; in HWTEST_F_L0()
681 inputFileName = "/data/storage/el1/bundle/moduleName/ets/mainAbility.abc"; in HWTEST_F_L0()
685 EXPECT_EQ(outFileName, "/data/storage/el1/bundle/moduleName/ets/modules.abc"); in HWTEST_F_L0()
862 CString res1 = "/data/storage/el1/bundle/entry/ets/modules.abc"; in HWTEST_F_L0()
872 CString res3 = "/data/storage/el1/bundle/entry1/ets/modules.abc"; in HWTEST_F_L0()
[all …]
/arkcompiler/ets_frontend/test/scripts/utils/
Dreadme.md15 * The storage path for the SDK needs to be strictly filled in according to the structure of the SDK…
/arkcompiler/ets_runtime/ecmascript/module/
Dmodule_path_helper.h30 * baseFileName = 'data/storage/el1/bundle/moduleName/ets/modules.abc';
32 * baseFileName = 'data/storage/el1/bundle/bundleName/moduleName/moduleName/ets/modules.abc';
88 static constexpr char BUNDLE_INSTALL_PATH[] = "/data/storage/el1/bundle/";
92 static constexpr char BUNDLE_SUB_INSTALL_PATH[] = "/data/storage/el1/";
211 * Before: /data/storage/el1/bundle/moduleName/ets/modules.abc
328 * After: data/storage/el1/bundle/moduleName/ets/modules.abc
/arkcompiler/runtime_core/static_core/dprof/libstorage/
DCMakeLists.txt20 panda_add_library(dprofstorage STATIC dprof/storage.cpp)

1234567