Home
last modified time | relevance | path

Searched +full:non +full:- +full:static (Results 1 – 25 of 102) sorted by relevance

12345

/ark/runtime_core/runtime/include/
Dlocks.h7 * http://www.apache.org/licenses/LICENSE-2.0
48 static void Initialize();
51 …* Lock used for preventing object heap modifications (for example at GC<->JIT,ManagedCode interact…
53 static MutatorLock *mutator_lock; // NOLINT(misc-non-private-member-variables-in-classes)
57static os::memory::Mutex *custom_tls_lock; // NOLINT(misc-non-private-member-variables-in-classes)
61 * It is static for access from JVMTI interface
63 static os::memory::Mutex *user_suspension_lock;
Dthread.h7 * http://www.apache.org/licenses/LICENSE-2.0
33 #include "runtime/include/object_header-inl.h"
41 #include "runtime/mem/frame_allocator-inl.h"
123 * +--------+
125 * +--------+
127 * +---------------+
129 * +---------------+
131 * +-----------------+
133 * +-----------------+
136 …* Thread - is the most low-level entity. This class contains pointers to VM with which this threa…
[all …]
/ark/js_runtime/ecmascript/
Djs_date_time_format.h7 * http://www.apache.org/licenses/LICENSE-2.0
62 std::string property; // NOLINT(misc-non-private-member-variables-in-classes)
63 std::vector<IcuPatternEntry> pairs; // NOLINT(misc-non-private-member-variables-in-classes)
64 …ap<const std::string, const std::string> map; // NOLINT(misc-non-private-member-variables-in-class…
65 std::vector<std::string> allowedValues; // NOLINT(misc-non-private-member-variables-in-classes)
68 // NOLINT(performance-noexcept-move-constructor, hicpp-noexcept-move)
75 … IcuPatternDesc("hour", {{data1, "2-digit"}, {data2, "numeric"}}, {"2-digit", "numeric"}))) {} in Pattern()
92 static constexpr size_t LOCALE_OFFSET = JSObject::SIZE;
105 static constexpr size_t HONOR_CYCLE_BITS = 3;
106 static constexpr size_t DATE_STYLE_BITS = 3;
[all …]
Djs_api_tree_set.h7 * http://www.apache.org/licenses/LICENSE-2.0
20 #include "js_tagged_value-inl.h"
24 * Provide the object of non ECMA standard jsapi container.
29 static JSAPITreeSet *Cast(ObjectHeader *object) in Cast()
34static void Add(JSThread *thread, const JSHandle<JSAPITreeSet> &set, const JSHandle<JSTaggedValue>…
36 static void Clear(const JSThread *thread, const JSHandle<JSAPITreeSet> &set);
38static bool Delete(JSThread *thread, const JSHandle<JSAPITreeSet> &set, const JSHandle<JSTaggedVal…
40static bool Has(JSThread *thread, const JSHandle<JSAPITreeSet> &set, const JSHandle<JSTaggedValue>…
42 static JSTaggedValue PopFirst(JSThread *thread, const JSHandle<JSAPITreeSet> &set);
43 static JSTaggedValue PopLast(JSThread *thread, const JSHandle<JSAPITreeSet> &set);
[all …]
Dclass_info_extractor.cpp7 * http://www.apache.org/licenses/LICENSE-2.0
27 const GlobalEnvConstants *globalConst = thread->GlobalConstants(); in BuildClassInfoExtractorFromLiteral()
28 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in BuildClassInfoExtractorFromLiteral()
30 uint32_t literalBufferLength = literal->GetLength(); in BuildClassInfoExtractorFromLiteral()
31 // non static properties number is hidden in the last index of Literal buffer in BuildClassInfoExtractorFromLiteral()
32 uint32_t nonStaticNum = literal->Get(thread, literalBufferLength - 1).GetInt(); in BuildClassInfoExtractorFromLiteral()
35 …JSHandle<TaggedArray> nonStaticKeys = factory->NewTaggedArray(nonStaticNum + NON_STATIC_RESERVED_L… in BuildClassInfoExtractorFromLiteral()
36 …JSHandle<TaggedArray> nonStaticProperties = factory->NewTaggedArray(nonStaticNum + NON_STATIC_RESE… in BuildClassInfoExtractorFromLiteral()
38 nonStaticKeys->Set(thread, CONSTRUCTOR_INDEX, globalConst->GetConstructorString()); in BuildClassInfoExtractorFromLiteral()
40 JSHandle<TaggedArray> nonStaticElements = factory->EmptyArray(); in BuildClassInfoExtractorFromLiteral()
[all …]
Djs_api_tree_set_iterator.h7 * http://www.apache.org/licenses/LICENSE-2.0
24 * It is used to provide iterators for non ECMA standard jsapi containers.
29 static JSAPITreeSetIterator *Cast(ObjectHeader *obj) in Cast()
34static JSHandle<JSTaggedValue> CreateTreeSetIterator(JSThread *thread, const JSHandle<JSTaggedValu…
37 static JSTaggedValue Next(EcmaRuntimeCallInfo *argv);
39 static constexpr size_t ITERATED_SET_OFFSET = JSObject::SIZE;
Djs_api_tree_map_iterator.h7 * http://www.apache.org/licenses/LICENSE-2.0
24 * It is used to provide iterators for non ECMA standard jsapi containers.
29 static JSAPITreeMapIterator *Cast(ObjectHeader *obj) in Cast()
34static JSHandle<JSTaggedValue> CreateTreeMapIterator(JSThread *thread, const JSHandle<JSTaggedValu…
37 static JSTaggedValue Next(EcmaRuntimeCallInfo *argv);
39 static constexpr size_t ITERATED_MAP_OFFSET = JSObject::SIZE;
Djs_api_arraylist_iterator.h7 * http://www.apache.org/licenses/LICENSE-2.0
24 * It is used to provide iterators for non ECMA standard jsapi containers.
29 static JSAPIArrayListIterator *Cast(ObjectHeader *obj) in Cast()
34 static JSTaggedValue Next(EcmaRuntimeCallInfo *argv);
36 static constexpr size_t ITERATED_ARRAYLIST_OFFSET = JSObject::SIZE;
Djs_api_tree_map.h7 * http://www.apache.org/licenses/LICENSE-2.0
20 #include "js_tagged_value-inl.h"
24 * Provide the object of non ECMA standard jsapi container.
29 static JSAPITreeMap *Cast(ObjectHeader *object) in Cast()
34static void Set(JSThread *thread, const JSHandle<JSAPITreeMap> &map, const JSHandle<JSTaggedValue>…
37 static void Clear(const JSThread *thread, const JSHandle<JSAPITreeMap> &map);
39static JSTaggedValue Get(JSThread *thread, const JSHandle<JSAPITreeMap> &map, const JSHandle<JSTag…
41 static JSTaggedValue Delete(JSThread *thread, const JSHandle<JSAPITreeMap> &map,
44static bool HasKey(JSThread *thread, const JSHandle<JSAPITreeMap> &map, const JSHandle<JSTaggedVal…
47static bool Replace(JSThread *thread, const JSHandle<JSAPITreeMap> &map, const JSHandle<JSTaggedVa…
[all …]
Dclass_info_extractor.h7 * http://www.apache.org/licenses/LICENSE-2.0
19 #include "js_tagged_value-inl.h"
23 // non-static and static), later generate the complete hclass (both prototype and constructor) base…
25 // accessor stores the key-value pair abuttally.
28 static constexpr uint8_t NON_STATIC_RESERVED_LENGTH = 1;
29 static constexpr uint8_t STATIC_RESERVED_LENGTH = 3;
31 static constexpr uint8_t CONSTRUCTOR_INDEX = 0;
32 static constexpr uint8_t LENGTH_INDEX = 0;
33 static constexpr uint8_t NAME_INDEX = 1;
34 static constexpr uint8_t PROTOTYPE_INDEX = 2;
[all …]
Djs_api_arraylist.h7 * http://www.apache.org/licenses/LICENSE-2.0
20 #include "js_tagged_value-inl.h"
24 * Provide the object of non ECMA standard jsapi container.
29 static constexpr int DEFAULT_CAPACITY_LENGTH = 10;
30 static JSAPIArrayList *Cast(ObjectHeader *object) in Cast()
36static bool Add(JSThread *thread, const JSHandle<JSAPIArrayList> &arrayList, const JSHandle<JSTagg…
37 static void Insert(JSThread *thread, const JSHandle<JSAPIArrayList> &arrayList,
39 static void Clear(JSThread *thread, const JSHandle<JSAPIArrayList> &obj);
40 static JSHandle<JSAPIArrayList> Clone(JSThread *thread, const JSHandle<JSAPIArrayList> &obj);
41 static uint32_t GetCapacity(JSThread *thread, const JSHandle<JSAPIArrayList> &obj);
[all …]
/ark/runtime_core/libpandabase/os/
Dstacktrace.cpp7 * http://www.apache.org/licenses/LICENSE-2.0
34 // NOLINTNEXTLINE(modernize-pass-by-value)
42 uintptr_t start_addr; // NOLINT(misc-non-private-member-variables-in-classes)
43 uintptr_t end_addr; // NOLINT(misc-non-private-member-variables-in-classes)
44 uintptr_t offset; // NOLINT(misc-non-private-member-variables-in-classes)
45 std::string filename; // NOLINT(misc-non-private-member-variables-in-classes)
46 DebugInfoStatus status {NOT_READ}; // NOLINT(misc-non-private-member-variables-in-classes)
47 DebugInfo debug_info; // NOLINT(misc-non-private-member-variables-in-classes)
55 // NOLINTNEXTLINE(modernize-pass-by-value)
69 token = str_.substr(pos_, pos - pos_); in Next()
[all …]
Dthread.h7 * http://www.apache.org/licenses/LICENSE-2.0
50 // CODECHECK-NOLINTNEXTLINE(CPP_RULE_ID_NO_USE_SHAREDPTR)
55 SharedPtrToSharedPtrStruct<T> this_ptr; // NOLINT(misc-non-private-member-variables-in-classes)
56 T data; // NOLINT(misc-non-private-member-variables-in-classes)
68 struct GenArgSeq : GenArgSeq<N - 1, N - 1, Is...> {
76 static void CallFunc(Func &func, Tuple &args, Seq<I...> /* unused */)
82 static void CallFunc(Func &func, Tuple &args)
88 static void *ProxyFunc(void *args)
97 local.swap(args_ptr->this_ptr);
99 args_tuple = args_ptr->data;
[all …]
/ark/runtime_core/runtime/mem/
Dregion_allocator.h7 * http://www.apache.org/licenses/LICENSE-2.0
72 PoolManager::GetMmapMemPool()->FreePool(init_block_.GetMem(), init_block_.GetSize()); in ClearRegionsPool()
87 // NOLINTNEXTLINE(misc-non-private-member-variables-in-classes)
89 // NOLINTNEXTLINE(misc-non-private-member-variables-in-classes)
91 // NOLINTNEXTLINE(misc-non-private-member-variables-in-classes)
93 // NOLINTNEXTLINE(misc-non-private-member-variables-in-classes)
95 // NOLINTNEXTLINE(misc-non-private-member-variables-in-classes)
97 // NOLINTNEXTLINE(misc-non-private-member-variables-in-classes)
102 * \brief A region-based bump-pointer allocator.
107 static constexpr bool USE_PARTIAL_TLAB = true;
[all …]
/ark/runtime_core/cmake/
DClangTidy.cmake6 # http://www.apache.org/licenses/LICENSE-2.0
14 option(PANDA_ENABLE_CLANG_TIDY "Enable clang-tidy checks during compilation" true)
16 # There seems to be a bug in either clang-tidy or CMake:
17 # When clang/gcc is used for cross-compilation, it is ran on host and use definitions and options f…
18 # For example for arm32 cross-compilation Clang-Tidy:
19 # - don't know about -march=armv7-a
20 # - believes that size of pointer is 64 instead of 32 for aarch32
30 # Currently we fix a certain version of clang-tidy to avoid unstable linting,
32 set(panda_clang_tidy "clang-tidy-9")
34 # Require clang-tidy
[all …]
/ark/runtime_core/libpandafile/tests/
Ddebug_info_extractor_test.cpp7 * http://www.apache.org/licenses/LICENSE-2.0
18 #include "class_data_accessor-inl.h"
19 #include "code_data_accessor-inl.h"
20 #include "debug_data_accessor-inl.h"
21 #include "field_data_accessor-inl.h"
26 #include "method_data_accessor-inl.h"
28 #include "proto_data_accessor-inl.h"
39 static const char G_SOURCE_FILE[] = "asm.pa";
43 ClassItem *class_item = container->GetOrCreateClassItem("A"); in PreparePandaFile()
44 class_item->SetAccessFlags(ACC_PUBLIC); in PreparePandaFile()
[all …]
/ark/runtime_core/libpandafile/
Dfile.h7 * http://www.apache.org/licenses/LICENSE-2.0
44 static constexpr size_t MAGIC_SIZE = 8;
45 static constexpr size_t VERSION_SIZE = 4;
46 static const std::array<uint8_t, MAGIC_SIZE> MAGIC;
81 uint32_t utf16_length; // NOLINT(misc-non-private-member-variables-in-classes)
82 const uint8_t *data; // NOLINT(misc-non-private-member-variables-in-classes)
83 bool is_ascii; // NOLINT(misc-non-private-member-variables-in-classes)
86 // NOLINTNEXTLINE(cppcoreguidelines-special-member-functions, hicpp-special-member-functions)
105 static constexpr size_t GetSize() in GetSize()
149 uint32_t foreign_begin = header->foreign_off; in IsExternal()
[all …]
/ark/runtime_core/runtime/include/mem/
Dallocator.h7 * http://www.apache.org/licenses/LICENSE-2.0
26 #include "runtime/mem/bump-allocator.h"
67 static constexpr bool HAS_FREE {true}; // indicates allocator can free
128 return static_cast<T *>(this->Allocate(sizeof(T) * size, DEFAULT_ALIGNMENT, nullptr)); in AllocArray()
137 // NOLINTNEXTLINE(readability-braces-around-statements,bugprone-suspicious-semicolon) in Delete()
139 ptr->~T(); in Delete()
150static constexpr size_t SIZE_BEFORE_DATA_OFFSET = AlignUp(sizeof(size_t), DEFAULT_ALIGNMENT_IN_BYT… in DeleteArray()
151 void *p = ToVoidPtr(ToUintPtr(data) - SIZE_BEFORE_DATA_OFFSET); in DeleteArray()
153 // NOLINTNEXTLINE(readability-braces-around-statements, bugprone-suspicious-semicolon) in DeleteArray()
156 data->~T(); in DeleteArray()
[all …]
/ark/runtime_core/tests/verifier-tests/
Dbug_2086_1.pa6 # http://www.apache.org/licenses/LICENSE-2.0
16 #---
17 #- title: Get field from object
22 # - sig: ldobj.64 v:in:ref, field_id
25 # - op_v_8_id_32
27 # - field_id_non_static
29 ## runner-option: verifier-failure
30 ## runner-option: bugid: 1324, 1828
31 ## runner-option: tags: verifier
34 # Check that verifier reports an error when the field doesn't resolve to a non-static valid objec…
[all …]
Dbug_2086_2.pa6 # http://www.apache.org/licenses/LICENSE-2.0
16 #---
17 #- title: Get field from object
22 # - sig: ldobj.64 v:in:ref, field_id
25 # - op_v_8_id_32
27 # - field_id_non_static
29 ## runner-option: verifier-failure
30 ## runner-option: bugid: 1833
31 ## runner-option: tags: verifier
34 # Check that verifier reports an error when the field doesn't resolve to a non-static valid objec…
[all …]
/ark/runtime_core/tests/cts-generator/cts-template/
Dldstatic.yaml6 # http://www.apache.org/licenses/LICENSE-2.0
15 - name: pandasm_header
22 u1 fu1 <static>
23 u8 fu8 <static>
24 i8 fi8 <static>
25 u16 fu16 <static>
26 i16 fi16 <static>
27 u32 fu32 <static>
28 i32 fi32 <static>
29 u64 fu64 <static>
[all …]
/ark/runtime_core/runtime/include/coretypes/
Dstring.h7 * http://www.apache.org/licenses/LICENSE-2.0
34 static String *Cast(ObjectHeader *object) in Cast()
39static String *CreateFromMUtf8(const uint8_t *mutf8_data, size_t mutf8_length, uint32_t utf16_leng…
42static String *CreateFromMUtf8(const uint8_t *mutf8_data, uint32_t utf16_length, bool can_be_compr…
45static String *CreateFromMUtf8(const uint8_t *mutf8_data, uint32_t utf16_length, LanguageContext c…
48static String *CreateFromMUtf8(const uint8_t *mutf8_data, LanguageContext ctx, PandaVM *vm, bool m…
50static String *CreateFromUtf16(const uint16_t *utf16_data, uint32_t utf16_length, LanguageContext …
53 static String *CreateEmptyString(LanguageContext ctx, PandaVM *vm);
55 static String *CreateFromString(String *str, LanguageContext ctx, PandaVM *vm);
57 static String *Concat(String *jstring1, String *jstring2, LanguageContext ctx, PandaVM *vm);
[all …]
/ark/runtime_core/runtime/mem/gc/
Dgc.h7 * http://www.apache.org/licenses/LICENSE-2.0
80 // NOLINTNEXTLINE(cppcoreguidelines-macro-usage)
81 #define LOG_DEBUG_GC LOG(DEBUG, GC) << this->GetLogPrefix()
82 // NOLINTNEXTLINE(cppcoreguidelines-macro-usage)
83 #define LOG_INFO_GC LOG(INFO, GC) << this->GetLogPrefix()
107 if (native_gc_trigger_type_str == "no-native-gc-trigger") { in NativeGcTriggerTypeFromString()
110 if (native_gc_trigger_type_str == "simple-strategy") { in NativeGcTriggerTypeFromString()
136 uint64_t young_space_size = 0; /// size of young-space for gen-gc
149 // NOLINTNEXTLINE(readability-braces-around-statements) in MarkObjectHeader()
150 if constexpr (reversed_mark) { // NOLINT(bugprone-suspicious-semicolon) in MarkObjectHeader()
[all …]
/ark/runtime_core/libpandabase/mem/
Dcode_allocator.h7 * http://www.apache.org/licenses/LICENSE-2.0
43 * \brief Allocates \param size bytes of non-protected memory
53 static void ProtectCode(os::mem::MapRange<std::byte> mem_range);
64 static const Alignment PAGE_LOG_ALIGN;
/ark/runtime_core/runtime/
Dobject_header.cpp7 * http://www.apache.org/licenses/LICENSE-2.0
25 #include "runtime/handle_base-inl.h"
29 /* static */
33 if (!klass->IsDynamicClass()) { in CreateObject()
35 ASSERT(cls->IsInstantiable()); in CreateObject()
36 ASSERT(!cls->IsArrayClass()); in CreateObject()
37 ASSERT(!cls->IsStringClass()); in CreateObject()
41 size_t size = klass->GetObjectSize(); in CreateObject()
43 mem::HeapManager *heap_manager = Thread::GetCurrent()->GetVM()->GetHeapManager(); in CreateObject()
46 obj = heap_manager->AllocateObject(klass, size); in CreateObject()
[all …]

12345