Home
last modified time | relevance | path

Searched refs:propertyIndex (Results 1 - 5 of 5) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/
H A Druntime.h185 inline bool SetCachedString(JSHandle<EcmaString> str, uint32_t propertyIndex) in SetCachedString() argument
187 if (propertyIndex >= registeredStringTableSize_ || (externalRegisteredStringTable_ == nullptr)) { in SetCachedString()
191 externalRegisteredStringTable_[propertyIndex] = str.GetTaggedValue(); in SetCachedString()
195 inline JSHandle<EcmaString> GetCachedString(JSThread *thread, uint32_t propertyIndex) in GetCachedString() argument
197 if ((externalRegisteredStringTable_ == nullptr) || (propertyIndex >= registeredStringTableSize_)) { in GetCachedString()
201 return JSHandle<EcmaString>(reinterpret_cast<uintptr_t>(&externalRegisteredStringTable_[propertyIndex])); in GetCachedString()
204 inline bool HasCachedString(uint32_t propertyIndex) in HasCachedString() argument
206 if ((externalRegisteredStringTable_ == nullptr) || propertyIndex >= registeredStringTableSize_) { in HasCachedString()
211 if (externalRegisteredStringTable_[propertyIndex].GetRawData() != JSTaggedValue::NULL_POINTER) { in HasCachedString()
/arkcompiler/ets_frontend/es2panda/parser/transformer/
H A Dtransformer.h49 size_t propertyIndex; member
335 return classList_.back().propertyIndex; in GetCurrentClassInfoPropertyIndex()
340 classList_.back().propertyIndex = newIndex; in SetCurrentClassInfoPropertyIndex()
/arkcompiler/runtime_core/static_core/runtime/tooling/
H A Ddebugger.cpp668 auto propertyIndex = inst.GetId().AsIndex(); in ResolveField() local
669 auto propertyId = caller->GetClass()->ResolveFieldIndex(propertyIndex); in ResolveField()
/arkcompiler/ets_runtime/ecmascript/napi/include/
H A Djsnapi_expo.h1836 static bool SetCachedString(const EcmaVM *vm, const char *name, uint32_t propertyIndex);
1837 static bool HasCachedString(const EcmaVM *vm, uint32_t propertyIndex);
1838 static Local<StringRef> GetCachedString(const EcmaVM *vm, uint32_t propertyIndex);
/arkcompiler/ets_runtime/ecmascript/napi/
H A Djsnapi_expo.cpp6334 bool ExternalStringCache::SetCachedString(const EcmaVM *vm, const char *name, uint32_t propertyIndex) in SetCachedString() argument
6343 return instance->SetCachedString(str, propertyIndex); in SetCachedString()
6346 Local<StringRef> ExternalStringCache::GetCachedString(const EcmaVM *vm, uint32_t propertyIndex) in GetCachedString() argument
6352 JSHandle<EcmaString> str = instance->GetCachedString(vm->GetJSThread(), propertyIndex); in GetCachedString()
6356 bool ExternalStringCache::HasCachedString([[maybe_unused]] const EcmaVM *vm, uint32_t propertyIndex) in HasCachedString() argument
6361 return instance->HasCachedString(propertyIndex); in HasCachedString()

Completed in 19 milliseconds