Home
last modified time | relevance | path

Searched refs:IsString (Results 1 – 25 of 125) sorted by relevance

12345

/arkcompiler/ets_runtime/ecmascript/
Djs_primitive_ref.h59 bool IsString() const in IsString() function
61 return GetValue().IsString(); in IsString()
71 ASSERT(IsString()); in GetStringLength()
Dlayout_info.cpp69 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()
Djs_tagged_value-inl.h77 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 …]
Djs_typed_array.cpp49 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()
Dglobal_dictionary-inl.h35 if (key.IsString()) { in Hash()
140 if (key.IsString() && (filter & NATIVE_KEY_SKIP_STRINGS)) { in GetAllKeysByFilter()
169 if (key.IsString()) { in GetEnumAllKeys()
Djs_tagged_value.cpp137 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 …]
Dtagged_dictionary.cpp30 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()
Djs_primitive_ref.cpp29 ASSERT(value->IsString()); in StringCreate()
Dmessage_string.h56 V(IsString) \
/arkcompiler/ets_runtime/ecmascript/base/tests/
Djson_stringifier_test.cpp114 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()
Dbuiltins_base_test.cpp129 EXPECT_TRUE(resultStr1.IsString()); in HWTEST_F_L0()
135 EXPECT_TRUE(resultStr2.IsString()); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/builtins/tests/
Dbuiltins_locale_test.cpp165 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 …]
Dbuiltins_string_test.cpp133 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 …]
Dbuiltins_plural_rules_test.cpp131 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()
Dbuiltins_global_test.cpp77 EXPECT_TRUE(result.IsString()); in HWTEST_F_L0()
92 EXPECT_TRUE(result.IsString()); in HWTEST_F_L0()
Dbuiltins_errors_test.cpp215 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 …]
Dbuiltins_json_test.cpp291 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()
Dbuiltins_symbol_test.cpp82 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/
Dic_compare_op.cpp86 } 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/
Dglue_regs_test.cpp78 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/
Dsnapshot_env.cpp36 if (objectValue.IsHeapObject() && !objectValue.IsString()) { in InitGlobalConst()
80 if (fieldValue.IsHeapObject() && !fieldValue.IsWeak() && !fieldValue.IsString() in HandleObjectField()
/arkcompiler/ets_runtime/ecmascript/base/
Djson_stringifier.cpp191 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/
Djs_module_source_text.cpp257 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/
Dscope_info_extractor.cpp52 ASSERT(val.IsString()); in GenerateScopeInfo()
/arkcompiler/ets_runtime/ecmascript/interpreter/
Dfast_runtime_stub-inl.h137 if (left.IsString() && right.IsString()) { in FastStrictEqual()
241 if (obj.IsString()) { in FastTypeOf()

12345