Home
last modified time | relevance | path

Searched full:storage (Results 1 – 25 of 158) 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()
/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/jsvm/src/inspector/
Dinspector_utils.h168 void AllocateSufficientStorage(size_t storage);
223 explicit MaybeStackBuffer(size_t storage) : MaybeStackBuffer() in MaybeStackBuffer() argument
225 AllocateSufficientStorage(storage); in MaybeStackBuffer()
280 void MaybeStackBuffer<T, kStackStorageSize>::AllocateSufficientStorage(size_t storage) in AllocateSufficientStorage() argument
283 if (storage > GetCapacity()) { in AllocateSufficientStorage()
286 buf = Realloc(allocatedPtr, storage, length); in AllocateSufficientStorage()
287 capacity = storage; in AllocateSufficientStorage()
294 length = storage; in AllocateSufficientStorage()
/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/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/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/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/include/
Dopcodes.def17 // storage access opcodes
28 // storage access opcodes
34 // storage access opcodes
53 // storage access opcodes
/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/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/runtime_core/static_core/dprof/libstorage/
DCMakeLists.txt20 panda_add_library(dprofstorage STATIC dprof/storage.cpp)
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/spec/16.Support_for_GUI_Programming/struct-type/anno/
Dtest-struct-field-local-storage-link.sts25 @LocalStorageLink("storage-link") value: number;
Dtest-struct-field-local-storage-prop.sts25 @LocalStorageProp("storage-prop") value: number;

1234567