| /arkcompiler/runtime_core/runtime/ |
| D | class_helper.cpp | 27 const uint8_t *ClassHelper::GetDescriptor(const uint8_t *name, PandaString *storage) in GetDescriptor() argument 29 return GetArrayDescriptor(name, 0, storage); in GetDescriptor() 33 … *ClassHelper::GetArrayDescriptor(const uint8_t *component_name, 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(component_name)); 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 …]
|
| D | handle_storage.h | 35 // storage is the storage structure of the object pointer
|
| D | global_handle_storage.h | 29 // storage is the storage structure of the object pointer
|
| /arkcompiler/runtime_core/verification/util/ |
| D | obj_pool.h | 73 return pool->Storage[idx]; 77 return pool->Storage[idx]; 112 pool->Cleaner(pool->Storage[idx]); in Erase() 157 idx = Storage.size(); in New() 158 Storage.emplace_back(); in New() 161 Initializer(Storage[idx], idx); in New() 172 return Storage.size(); in Count() 192 while (idx < Storage.size() && Accessors[idx] == nullptr) { in AllObjects() 195 if (idx >= Storage.size()) { in AllObjects() 206 size_t idx2 = Storage.size() - 1; in ShrinkToFit() [all …]
|
| /arkcompiler/runtime_core/dprof/converter/ |
| D | main.cpp | 18 #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() 92 …storage->ForEachApps([&fm](std::unique_ptr<AppData> &&appData) -> bool { return fm.ProcessingFeatu… in Main()
|
| D | options.yaml | 29 - name: storage-dir
|
| /arkcompiler/runtime_core/runtime/mem/refstorage/ |
| D | global_object_storage.h | 39 …* Storage for objects which need to handle by GC. GC will handle moving these objects and will not… 41 * References will be removed automatically after Remove method or after storage's destructor. 55 * Add object to the storage and return associated pointer with this object 65 …* Remove object from storage by given reference. Reference should be returned on Add method before. 70 * Get all objects from storage. Used by debugging. 77 * Update pointers to moved Objects in global storage. 123 doesn't stores inside storage explicity. 125 …2) When index if free - storage[index] stores next free index (shifted by 1) with lowest bit equal… 132 … | storage[index] | xxx | 0 | 135 … | storage[index] | xxx | 1 | [all …]
|
| D | reference_storage.h | 37 * Storage stores all References for proper interaction with GC. 92 * Get all objects in global & local storage. Use for debugging only 99 * Update pointers to moved Objects in local storage 143 // TODO(alovkov): remove it when storage will be working over mmap
|
| D | reference_storage.cpp | 82 // global-storage should accept ref with type in IsValidRef() 189 // only weakly reachable objects can be null in storage in GetObject() 208 …* classes are not movable objects, so they can be read from storage in native code, but general ob… in GetObject() 234 LOG(ERROR, GC) << "Free size of local reference storage is less than capacity: " << capacity in PushLocalFrame() 367 LOG(ERROR, GC) << "--- local reference storage dump ---"; in DumpLocalRef() 368 LOG(ERROR, GC) << "Local reference storage addr: " << &local_storage_; in DumpLocalRef() 383 LOG(ERROR, GC) << "Storage dumped maximum number of references"; in DumpLocalRef()
|
| /arkcompiler/runtime_core/plugins/ecmascript/tests/assembler/ |
| D | emitter_test_ecmascript.cpp | 43 static const uint8_t *GetTypeDescriptor(const std::string &name, std::string *storage) in GetTypeDescriptor() argument 45 *storage = "L" + name + ";"; in GetTypeDescriptor() 46 std::replace(storage->begin(), storage->end(), '.', '/'); in GetTypeDescriptor() 47 return utf::CStringAsMutf8(storage->c_str()); in GetTypeDescriptor()
|
| /arkcompiler/runtime_core/dprof/daemon/ |
| D | main.cpp | 19 #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() 241 auto storage = AppDataStorage::Create(options.GetStorageDir(), true); in Main() local 242 if (!storage) { in Main() 243 LOG(FATAL, DPROF) << "Cannot init storage"; in Main() 255 worker.Start(storage.get()); in Main()
|
| D | options.yaml | 29 - name: storage-dir
|
| /arkcompiler/runtime_core/runtime/include/ |
| D | class_helper.h | 43 static const uint8_t *GetDescriptor(const uint8_t *name, PandaString *storage); 45 static const uint8_t *GetTypeDescriptor(const PandaString &name, PandaString *storage); 47 …onst uint8_t *GetArrayDescriptor(const uint8_t *component_name, 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/verification/cache/ |
| D | file_entity_cache.h | 67 const auto it = storage.find(GetKey<Entity>(pf, id)); in GetCached() 68 if (it != storage.cend()) { in GetCached() 77 storage.insert_or_assign(GetKey<Entity>(pf, id), &entity); in AddToCache() 81 PandaUnorderedMap<Key, void *> storage;
|
| /arkcompiler/runtime_core/runtime/tests/ |
| D | string_table_base_test.h | 168 auto storage = thread_->GetVM()->GetGlobalObjectStorage(); in SweepObjectInTable() local 171 auto ref1 = storage->Add(s1, Reference::ObjectType::GLOBAL); in SweepObjectInTable() 173 auto ref2 = storage->Add(s2, Reference::ObjectType::GLOBAL); in SweepObjectInTable() 175 auto ref3 = storage->Add(s3, Reference::ObjectType::GLOBAL); in SweepObjectInTable() 178 …table->GetOrInternString(reinterpret_cast<coretypes::String *>(storage->Get(ref1)), panda_class_co… in SweepObjectInTable() 179 …table->GetOrInternString(reinterpret_cast<coretypes::String *>(storage->Get(ref2)), panda_class_co… in SweepObjectInTable() 180 …table->GetOrInternString(reinterpret_cast<coretypes::String *>(storage->Get(ref3)), panda_class_co… in SweepObjectInTable() 182 storage->Remove(ref2); in SweepObjectInTable()
|
| /arkcompiler/runtime_core/docs/bc_verification/ |
| D | types_n_values.md | 6 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/runtime/mem/ |
| D | internal_allocator.h | 43 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/docs/ |
| D | ir_format.md | 267 …fore storing users in sequence container has one big drawback - frequent storage reallocation, tha… 275 There are two types of def-use storage: in memory right before instruction class and in separate me… 276 - First case is used in instructions with fixed number of inputs. Storage is allocated right before… 277 …storage is allocated separately from instruction object, both storage and instruction are coupled … 282 - flag that shows whether storage is dynamic 289 …storage have been chosen because it avoids usage of virtual methods and dynamic containers for all…
|
| /arkcompiler/runtime_core/runtime/tooling/inspector/tests/ |
| D | inspector_test_base.cpp | 87 PandaString storage; in LoadSourceFile() local 88 auto descriptor = ClassHelper::GetDescriptor(utf::CStringAsMutf8("_GLOBAL"), &storage); in LoadSourceFile()
|
| /arkcompiler/ets_runtime/ecmascript/ |
| D | ecma_global_storage.h | 533 …inline uintptr_t NewGlobalHandleImplement(NodeList<S> **storage, NodeList<S> **freeList, JSTaggedT… in NewGlobalHandleImplement() argument 538 if (!(*storage)->IsFull()) { in NewGlobalHandleImplement() 540 S *node = (*storage)->NewNode(thread_, value); in NewGlobalHandleImplement() 560 block->LinkTo(*storage); in NewGlobalHandleImplement() 561 *storage = block; in NewGlobalHandleImplement() 564 S *node = (*storage)->NewNode(thread_, value); in NewGlobalHandleImplement()
|
| /arkcompiler/runtime_core/dprof/libstorage/ |
| D | CMakeLists.txt | 20 add_library(dprofstorage STATIC dprof/storage.cpp)
|
| /arkcompiler/ets_runtime/ecmascript/module/tests/ |
| D | ecma_module_test.cpp | 308 …CString newBaseFileName = "/data/storage/el1/bundle/com.bundleName.test/moduleName/moduleName/ets/… in HWTEST_F_L0() 467 CString outRes = "/data/storage/el1/bundle/moduleName1/ets/modules.abc"; in HWTEST_F_L0() 475 …CString outRes1 = "/data/storage/el1/bundle/com.bundleName.test1/moduleName1/moduleName1/ets/modul… in HWTEST_F_L0() 482 inputFileName = "/data/storage/el1/bundle/entry/ets/mainAbility.abc"; in HWTEST_F_L0() 483 CString outRes2 = "/data/storage/el1/bundle/entry/ets/modules.abc"; in HWTEST_F_L0() 491 inputFileName = "/data/storage/el1/bundle/moduleName/ets/mainAbility.abc"; in HWTEST_F_L0()
|
| /arkcompiler/runtime_core/compiler/tests/ |
| D | unit_test.cpp | 113 PandaString storage; in BuildGraph() local 117 … klass = extension->GetClass(ClassHelper::GetDescriptor(utf::CStringAsMutf8("_GLOBAL"), &storage)); in BuildGraph()
|
| /arkcompiler/runtime_core/libpandabase/utils/ |
| D | aligned_storage.h | 24 * Aligned storage with aligned elements.
|
| /arkcompiler/runtime_core/libpandabase/tests/genmc/ |
| D | mutex_test_genmc.cpp | 22 // Copy of mutex storage, after complete implementation should totally replace mutex::current_tid
|