/arkcompiler/ets_runtime/ecmascript/ |
D | js_primitive_ref.h | 59 bool IsString() const in IsString() function 61 return GetValue().IsString(); in IsString() 71 ASSERT(IsString()); in GetStringLength()
|
D | layout_info.cpp | 69 if (key.IsString()) { in GetAllKeys() 99 if (key.IsString() && !(filter & NATIVE_KEY_SKIP_STRINGS)) { in GetAllKeysByFilter() 135 if (key.IsString() || key.IsSymbol()) { in GetAllKeys() 155 if (key.IsString() && GetAttr(i).IsEnumerable()) { in GetAllEnumKeys() 180 if (key.IsString()) { in DumpFieldIndexForProfile()
|
D | js_tagged_value-inl.h | 77 if (IsString()) { in ToBoolean() 110 if (tagged->IsString()) { in ToNumber() 151 if (primValue->IsString()) { in ToBigInt() 336 if (x.IsString() && y.IsString()) { in SameValue() 363 if (x.IsString() && y.IsString()) { in SameValueZero() 430 if (x.IsString() && y.IsString()) { in StrictEqual() 459 inline bool JSTaggedValue::IsString() const in IsString() function 461 return IsHeapObject() && GetTaggedObject()->GetClass()->IsString(); in IsString() 1462 } else if (key.IsString()) { in ToElementIndex() 1470 ASSERT(key.IsString()); in StringToElementIndex() [all …]
|
D | js_typed_array.cpp | 49 if (key->IsString() || key->IsNumber()) { in GetOwnProperty() 89 if (key->IsString() || key->IsNumber()) { in HasProperty() 143 if (key->IsString() || key->IsNumber()) { in DefineOwnProperty() 211 if ((key->IsString() || key->IsNumber()) && JSTaggedValue::SameValue(typedarray, receiver)) { in GetProperty() 237 if ((key->IsString() || key->IsNumber()) && JSTaggedValue::SameValue(typedarray, receiver)) { in SetProperty() 264 if (key->IsString() || key->IsNumber()) { in DeleteProperty() 309 if (JSTaggedValue(key).IsString()) { in OwnPropertyKeys() 608 if (tagged.IsString()) { in NonEcmaObjectToNumber()
|
D | global_dictionary-inl.h | 35 if (key.IsString()) { in Hash() 140 if (key.IsString() && (filter & NATIVE_KEY_SKIP_STRINGS)) { in GetAllKeysByFilter() 169 if (key.IsString()) { in GetEnumAllKeys()
|
D | js_tagged_value.cpp | 137 if (y->IsString()) { in Equal() 158 if (x->IsString()) { in Equal() 159 if (y->IsString()) { in Equal() 197 if (y->IsBigInt() || y->IsString()) { in Equal() 212 if (y->IsString()) { in Equal() 284 if (primX->IsString() && primY->IsString()) { in Compare() 300 } else if (primY->IsString()) { in Compare() 337 if (x.IsString() && y.IsString()) { in IsSameTypeOrHClass() 414 if (tagged->IsString()) { in ToString() 465 if (tagged->IsString()) { in CanonicalNumericIndexString() [all …]
|
D | tagged_dictionary.cpp | 30 if (jsKey.IsString()) { in Hash() 52 if (!other.IsString()) { in IsMatch() 98 if (key.IsString() && (filter & NATIVE_KEY_SKIP_STRINGS)) { in GetAllKeysByFilter() 122 if (key.IsString()) { in GetAllEnumKeys()
|
D | js_primitive_ref.cpp | 29 ASSERT(value->IsString()); in StringCreate()
|
D | message_string.h | 56 V(IsString) \
|
/arkcompiler/ets_runtime/ecmascript/base/tests/ |
D | json_stringifier_test.cpp | 114 EXPECT_TRUE(resultString1->IsString()); in HWTEST_F_L0() 120 EXPECT_TRUE(resultString2->IsString()); in HWTEST_F_L0() 143 EXPECT_TRUE(resultString->IsString()); in HWTEST_F_L0() 171 EXPECT_TRUE(resultString->IsString()); in HWTEST_F_L0() 211 EXPECT_TRUE(resultString->IsString()); in HWTEST_F_L0() 234 EXPECT_TRUE(resultString->IsString()); in HWTEST_F_L0() 276 EXPECT_TRUE(resultString->IsString()); in HWTEST_F_L0() 315 EXPECT_TRUE(resultString->IsString()); in HWTEST_F_L0() 344 EXPECT_TRUE(resultString->IsString()); in HWTEST_F_L0()
|
D | builtins_base_test.cpp | 129 EXPECT_TRUE(resultStr1.IsString()); in HWTEST_F_L0() 135 EXPECT_TRUE(resultStr2.IsString()); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/builtins/tests/ |
D | builtins_locale_test.cpp | 165 EXPECT_TRUE(result.IsString()); in HWTEST_F_L0() 184 EXPECT_TRUE(result.IsString()); in HWTEST_F_L0() 201 EXPECT_TRUE(result.IsString()); in HWTEST_F_L0() 218 EXPECT_TRUE(result.IsString()); in HWTEST_F_L0() 235 EXPECT_TRUE(result.IsString()); in HWTEST_F_L0() 252 EXPECT_TRUE(result.IsString()); in HWTEST_F_L0() 284 EXPECT_TRUE(result.IsString()); in HWTEST_F_L0() 301 EXPECT_TRUE(result.IsString()); in HWTEST_F_L0() 318 EXPECT_TRUE(result.IsString()); in HWTEST_F_L0() 335 EXPECT_TRUE(result.IsString()); in HWTEST_F_L0() [all …]
|
D | builtins_string_test.cpp | 133 ASSERT_TRUE(result.IsString()); in HWTEST_F_L0() 157 ASSERT_TRUE(result.IsString()); in HWTEST_F_L0() 176 ASSERT_TRUE(result.IsString()); in HWTEST_F_L0() 195 ASSERT_TRUE(result.IsString()); in HWTEST_F_L0() 214 ASSERT_TRUE(result.IsString()); in HWTEST_F_L0() 290 ASSERT_TRUE(result.IsString()); in HWTEST_F_L0() 583 ASSERT_TRUE(result.IsString()); in HWTEST_F_L0() 601 ASSERT_TRUE(result.IsString()); in HWTEST_F_L0() 619 ASSERT_TRUE(result.IsString()); in HWTEST_F_L0() 750 ASSERT_TRUE(result.IsString()); in HWTEST_F_L0() [all …]
|
D | builtins_plural_rules_test.cpp | 131 EXPECT_TRUE(result.IsString()); in HWTEST_F_L0() 155 EXPECT_TRUE(result.IsString()); in HWTEST_F_L0() 179 EXPECT_TRUE(result.IsString()); in HWTEST_F_L0() 203 EXPECT_TRUE(result.IsString()); in HWTEST_F_L0() 227 EXPECT_TRUE(result.IsString()); in HWTEST_F_L0() 251 EXPECT_TRUE(result.IsString()); in HWTEST_F_L0() 275 EXPECT_TRUE(result.IsString()); in HWTEST_F_L0()
|
D | builtins_global_test.cpp | 77 EXPECT_TRUE(result.IsString()); in HWTEST_F_L0() 92 EXPECT_TRUE(result.IsString()); in HWTEST_F_L0()
|
D | builtins_errors_test.cpp | 215 EXPECT_TRUE(result.IsString()); in HWTEST_F_L0() 245 EXPECT_TRUE(result.IsString()); in HWTEST_F_L0() 339 EXPECT_TRUE(result.IsString()); in HWTEST_F_L0() 370 EXPECT_TRUE(result.IsString()); in HWTEST_F_L0() 463 EXPECT_TRUE(result.IsString()); in HWTEST_F_L0() 491 EXPECT_TRUE(result.IsString()); in HWTEST_F_L0() 584 EXPECT_TRUE(result.IsString()); in HWTEST_F_L0() 612 EXPECT_TRUE(result.IsString()); in HWTEST_F_L0() 705 EXPECT_TRUE(result.IsString()); in HWTEST_F_L0() 735 EXPECT_TRUE(result.IsString()); in HWTEST_F_L0() [all …]
|
D | builtins_json_test.cpp | 291 ASSERT_TRUE(result.IsString()); in HWTEST_F_L0() 311 ASSERT_TRUE(result.IsString()); in HWTEST_F_L0() 333 ASSERT_TRUE(result.IsString()); in HWTEST_F_L0() 362 ASSERT_TRUE(result.IsString()); in HWTEST_F_L0() 375 ASSERT_TRUE(result.IsString()); in HWTEST_F_L0() 415 ASSERT_TRUE(result.IsString()); in HWTEST_F_L0() 446 ASSERT_TRUE(result.IsString()); in HWTEST_F_L0() 551 ASSERT_TRUE(result.IsString()); in HWTEST_F_L0()
|
D | builtins_symbol_test.cpp | 82 ASSERT_TRUE(result.IsString()); in HWTEST_F_L0() 128 ASSERT_TRUE(result.IsString()); in HWTEST_F_L0() 294 ASSERT_TRUE(otherResult.IsString()); in HWTEST_F_L0() 393 ASSERT_TRUE(result.IsString()); in HWTEST_F_L0() 409 ASSERT_TRUE(result.IsString()); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/ic/ |
D | ic_compare_op.cpp | 86 } else if (rightPrimitive->IsString()) { in EqualWithIC() 132 } else if (rightPrimitive->IsString()) { in EqualWithIC() 159 } else if (leftPrimitive->IsString()) { in EqualWithIC() 176 } else if (rightPrimitive->IsString()) { in EqualWithIC() 262 } else if (rightPrimitive->IsString()) { in Compare() 312 } else if (rightPrimitive->IsString()) { in Compare() 361 } else if (rightPrimitive->IsString()) { in Compare() 384 } else if (leftPrimitive->IsString()) { in Compare() 401 } else if (leftPrimitive->IsString()) { in Compare() 418 } else if (leftPrimitive->IsString()) { in Compare()
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
D | glue_regs_test.cpp | 78 EXPECT_TRUE(globalConst->GetEmptyString().IsString()); in HWTEST_F_L0() 79 EXPECT_TRUE(globalConst->GetHandledEmptyString()->IsString()); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/snapshot/mem/ |
D | snapshot_env.cpp | 36 if (objectValue.IsHeapObject() && !objectValue.IsString()) { in InitGlobalConst() 80 if (fieldValue.IsHeapObject() && !fieldValue.IsWeak() && !fieldValue.IsString() in HandleObjectField()
|
/arkcompiler/ets_runtime/ecmascript/base/ |
D | json_stringifier.cpp | 191 if (prop.IsNumber() || prop.IsString()) { in Stringify() 196 if (primitive.IsNumber() || primitive.IsString()) { in Stringify() 215 } else if (primitive.IsString()) { in Stringify() 226 } else if (gap->IsString()) { in Stringify() 430 if (key->IsString()) { in SerializeObjectKey() 655 if (primitive.IsString()) { in SerializePrimitiveRef() 738 if (!key.IsString()) { in SerializeKeys() 771 if (key.IsString() && layoutInfo->GetAttr(i).IsEnumerable()) { in SerializeKeys() 799 if (!key.IsString()) { in SerializeKeys() 826 if (!key.IsString()) { in SerializeKeys() [all …]
|
/arkcompiler/ets_runtime/ecmascript/module/ |
D | js_module_source_text.cpp | 257 if (result->IsString() || result->IsException()) { in ResolveExport() 430 if (resolution->IsNull() || resolution->IsString()) { in InitializeEnvironment() 544 ASSERT(moduleRecordName.IsString()); in InnerModuleInstantiation() 649 ASSERT(moduleRecordName.IsString()); in ModuleDeclarationEnvironmentSetup() 672 if (resolution->IsNull() || resolution->IsString()) { in ModuleDeclarationEnvironmentSetup() 734 ASSERT(moduleRecordName.IsString()); in ModuleDeclarationArrayEnvironmentSetup() 751 if (resolution->IsNull() || resolution->IsString()) { in ModuleDeclarationArrayEnvironmentSetup() 949 ASSERT(moduleRecordName.IsString()); in InnerModuleEvaluation() 1037 ASSERT(moduleRecordName.IsString()); in ModuleEvaluation() 1068 ASSERT(moduleFileName.IsString()); in ModuleExecution() [all …]
|
/arkcompiler/ets_runtime/ecmascript/jspandafile/ |
D | scope_info_extractor.cpp | 52 ASSERT(val.IsString()); in GenerateScopeInfo()
|
/arkcompiler/ets_runtime/ecmascript/interpreter/ |
D | fast_runtime_stub-inl.h | 137 if (left.IsString() && right.IsString()) { in FastStrictEqual() 241 if (obj.IsString()) { in FastTypeOf()
|