Home
last modified time | relevance | path

Searched refs:IsHole (Results 1 – 25 of 52) sorted by relevance

123

/ark/js_runtime/ecmascript/
Dtagged_tree.cpp87 if (!leftOfRight.IsHole()) { in LeftRotate()
96 if (!left.IsHole() && left.GetInt() == index) { // change to isleft in LeftRotate()
114 if (!rightOfLeft.IsHole()) { in RightRotate()
123 if (!right.IsHole() && right.GetInt() == index) { // change to isright in RightRotate()
158 if (!left.IsHole()) { in AdjustTaggedTree()
164 if (!right.IsHole()) { in AdjustTaggedTree()
196 if (!tree->GetLeftChild(entry).IsHole() && !tree->GetRightChild(entry).IsHole()) { in Remove()
202 int child = left.IsHole() ? (right.IsHole() ? -1 : right.GetInt()) : left.GetInt(); in Remove()
315 while (!parentKey->IsHole()) { in FindEntry()
322 if (child.IsHole()) break; in FindEntry()
[all …]
Dtagged_tree-inl.h215 return child.IsHole() ? -1 : child.GetInt(); in GetLeftChildIndex()
226 return child.IsHole() ? -1: child.GetInt(); in GetRightChildIndex()
241 while (!child.IsHole()) { in GetMinimum()
252 while (!child.IsHole()) { in GetMaximum()
263 return child.IsHole() ? false : (child.GetInt() == entry); in IsLeft()
270 return child.IsHole() ? false : (child.GetInt() == entry); in IsRight()
276 return entry != GetRootEntries() && !GetKey(entry).IsHole(); in IsVaildIndex()
283 return child.IsHole() ? -1 : child.GetInt(); in GetLeftBrother()
290 return child.IsHole() ? -1 : child.GetInt(); in GetRightBrother()
372 if (fn.IsHole()) { in EntryCompare()
[all …]
Djs_set_iterator.cpp56 if (!set->GetKey(index).IsHole()) { in Next()
86 if (set->GetNextTable().IsHole()) { in Update()
91 while (!nextTable.IsHole()) { in Update()
Djs_map_iterator.cpp57 if (!key.IsHole()) { in Next()
92 if (map->GetNextTable().IsHole()) { in Update()
97 while (!nextTable.IsHole()) { in Update()
Dtagged_dictionary.cpp49 if (!key.IsUndefined() && !key.IsHole()) { in GetAllKeys()
141 if (key.IsHole() || key.IsUndefined()) { in IsMatch()
165 if (!key.IsUndefined() && !key.IsHole()) { in GetAllKeys()
189 if (!key.IsUndefined() && !key.IsHole()) { in GetAllEnumKeys()
Dglobal_dictionary-inl.h107 if (!key.IsUndefined() && !key.IsHole()) { in GetAllKeys()
161 ASSERT(!box->GetValue().IsHole()); in InvalidatePropertyBox()
175 ASSERT_PRINT(!box->GetValue().IsHole(), "value must not be hole"); in InvalidateAndReplaceEntry()
Dinternal_call_params.cpp47 SetFixedBuffer(index, value.IsHole() ? JSTaggedValue::Undefined() : value); in MakeArgListWithHole()
55 SetVariableBuffer(index, value.IsHole() ? JSTaggedValue::Undefined() : value); in MakeArgListWithHole()
Djs_api_tree_map.cpp50 return key.IsHole() ? JSTaggedValue::Undefined() : key; in GetKey()
57 return value.IsHole() ? JSTaggedValue::Undefined() : value; in GetValue()
Djs_stable_array.cpp130 element = element.IsHole() ? JSTaggedValue::Undefined() : element; in Splice()
147 element = element.IsHole() ? JSTaggedValue::Undefined() : element; in Splice()
175 if (kValue.IsHole()) { in Shift()
230 if (!element.IsUndefinedOrNull() && !element.IsHole()) { in Join()
Dlinked_hash_table-inl.h106 if (GetKey(currentEntry).IsHole()) { in GetDeletedElementsAt()
191 for (JSTaggedValue entry = GetElement(BucketToIndex(bucket)); !entry.IsHole(); in FindElement()
194 if (element.IsHole()) { in FindElement()
Dsymbol_table-inl.h39 if (name.IsHole() || name.IsUndefined()) { in IsMatch()
Djs_object.cpp158 if (value.IsHole()) { in ElementsToDictionary()
351 if (!elements->Get(i).IsHole()) { in GetAllElementKeys()
368 if (!elements->Get(i).IsHole()) { in GetALLElementKeysIntoVector()
402 if (!arr->Get(i).IsHole()) { in GetEnumElementKeys()
452 if (!elements->Get(i).IsHole()) { in GetNumberOfElements()
467 …ASSERT_PRINT(!(obj->IsUndefined() || obj->IsNull() || obj->IsHole()), "Obj is not a valid object"); in SetProperty()
488 …ASSERT_PRINT(!(obj->IsUndefined() || obj->IsNull() || obj->IsHole()), "Obj is not a valid object"); in SetProperty()
499 …ASSERT_PRINT(!(obj->IsUndefined() || obj->IsNull() || obj->IsHole()), "Obj is not a valid object"); in SetProperty()
665 …ASSERT_PRINT(!(obj->IsUndefined() || obj->IsNull() || obj->IsHole()), "Obj is not a valid object"); in GetProperty()
685 …ASSERT_PRINT(!(obj->IsUndefined() || obj->IsNull() || obj->IsHole()), "Obj is not a valid object"); in GetProperty()
[all …]
Dtagged_array-inl.h108 if (val.IsHole()) { in AppendSkipHole()
116 if (val.IsHole()) { in AppendSkipHole()
Djs_for_in_iterator.cpp74 if (!elements->Get(i).IsHole()) { in FastGetAllEnumKeys()
85 if (!key.IsUndefined() && !key.IsHole()) { in FastGetAllEnumKeys()
107 if (!key.IsUndefined() && !key.IsHole()) { in FastGetAllEnumKeys()
/ark/js_runtime/ecmascript/base/
Darray_helper.cpp57 if (valueX->IsHole()) { in SortCompare()
58 if (valueY->IsHole()) { in SortCompare()
63 if (valueY->IsHole()) { in SortCompare()
/ark/js_runtime/ecmascript/ic/
Dproperty_box.cpp22 ASSERT_PRINT(!GetValue().IsHole(), "value must not be hole"); in Clear()
Dproperty_box.h38 return GetValue().IsHole(); in IsInvalid()
Dic_runtime_stub-inl.h45 if (!result.IsHole()) { in LoadGlobalICByName()
60 if (!result.IsHole()) { in StoreGlobalICByName()
93 if (!cachedHandler.IsHole()) { in TryLoadICByName()
120 if (!cachedHandler.IsHole()) { in TryLoadICByValue()
148 if (!cachedHandler.IsHole()) { in TryStoreICByValue()
176 if (!cachedHandler.IsHole()) { in TryStoreICByName()
Dprofile_type_info.cpp25 ASSERT(!profileData.IsHole()); in AddElementHandler()
49 ASSERT(!profileData.IsHole()); in AddHandlerWithoutKey()
99 ASSERT(!profileData.IsHole()); in AddHandlerWithKey()
244 if (profileData.IsHole()) { in GetICState()
/ark/js_runtime/ecmascript/interpreter/
Dfast_runtime_stub-inl.h340 if (!value.IsHole()) { in GetPropertyByIndex()
556 if (!elements->Get(index).IsHole()) { in SetPropertyByIndex()
666 if (!result.IsHole()) { in FastSetPropertyByIndex()
678 if (!result.IsHole()) { in FastSetPropertyByValue()
705 if (result.IsHole()) { in FastGetPropertyByName()
725 if (result.IsHole()) { in FastGetPropertyByValue()
746 if (result.IsHole() && !UseHole) { in FastGetPropertyByIndex()
786 if (!val.IsHole()) { in GetElement()
803 if (!val.IsHole()) { in GetElementWithArray()
827 if (!val.IsHole()) { in SetElement()
[all …]
Dinterpreter_assembly.cpp1289 if (!value.IsHole()) { in HandleMul2DynPrefV8()
1311 if (!res.IsHole()) { in HandleDiv2DynPrefV8()
1333 if (!res.IsHole()) { in HandleMod2DynPrefV8()
1355 if (!res.IsHole()) { in HandleEqDynPrefV8()
1379 if (!res.IsHole()) { in HandleNotEqDynPrefV8()
2133 if (res.IsHole()) { in HandleNewLexEnvDynPrefImm16()
2288 if (!hole.IsHole()) { in HandleThrowUndefinedIfHolePrefV8V8()
2313 if (!res.IsHole()) { in HandleStOwnByNamePrefId32V8()
2548 if (!res.IsHole()) { in HandleStOwnByIndexPrefV8Imm32()
2585 if (!res.IsHole()) { in HandleStOwnByValuePrefV8V8()
[all …]
Dinterpreter-inl.h1489 if (!value.IsHole()) { in RunInternal()
1508 if (!res.IsHole()) { in RunInternal()
1534 if (!res.IsHole()) { in RunInternal()
1560 if (!res.IsHole()) { in RunInternal()
1581 if (!res.IsHole()) { in RunInternal()
2332 if (res.IsHole()) { in RunInternal()
2460 if (!hole.IsHole()) { in RunInternal()
2490 if (!res.IsHole()) { in RunInternal()
2671 if (!res.IsHole()) { in RunInternal()
2705 if (!res.IsHole()) { in RunInternal()
[all …]
/ark/runtime_core/runtime/include/coretypes/
Dtagged_value.h169 …eturn ((value_ & (~TAG_SPECIAL_MASK)) == 0U) && (((value_ & TAG_SPECIAL_VALUE) != 0U) || IsHole()); in IsSpecial()
260 inline bool IsHole() const in IsHole() function
/ark/js_runtime/ecmascript/tooling/backend/
Ddebugger_api.cpp229 if (lexicalEnv->GetScopeInfo().IsHole()) { in GetLevelSlot()
258 if (!globalVar.IsHole()) { in GetGlobalValue()
283 if (!globalVar.IsHole()) { in SetGlobalValue()
/ark/js_runtime/ecmascript/tooling/test/utils/
Dtest_hooks.h68 if (!exception->IsHole()) { in Exception()

123