Lines Matching refs:thisStr

289     JSHandle<EcmaString> thisStr = factory->NewFromASCII("a");
295 auto result = StringAlgorithm(thread, thisStr.GetTaggedValue(), args, 10, AlgorithmType::CONCAT);
307 JSHandle<EcmaString> thisStr = factory->NewFromASCII("abcabcabc");
311 auto result = StringAlgorithm(thread, thisStr.GetTaggedValue(), args, 6, AlgorithmType::INDEX_OF);
320 JSHandle<EcmaString> thisStr = factory->NewFromASCII("abcabcabc");
324 auto result = StringAlgorithm(thread, thisStr.GetTaggedValue(), args, 8, AlgorithmType::INDEX_OF);
333 JSHandle<EcmaString> thisStr = factory->NewFromASCII("abcabcabc");
337 auto result = StringAlgorithm(thread, thisStr.GetTaggedValue(), args, 6, AlgorithmType::INDEX_OF);
346 JSHandle<EcmaString> thisStr = factory->NewFromASCII("abcabcabc");
350 auto result = StringAlgorithm(thread, thisStr.GetTaggedValue(), args, 6, AlgorithmType::LAST_INDEX_OF);
358 JSHandle<EcmaString> thisStr = factory->NewFromASCII("abcabcabc");
362 auto result = StringAlgorithm(thread, thisStr.GetTaggedValue(), args, 8, AlgorithmType::LAST_INDEX_OF);
371 JSHandle<EcmaString> thisStr = factory->NewFromASCII("abcabcabc");
375 auto result = StringAlgorithm(thread, thisStr.GetTaggedValue(), args, 6, AlgorithmType::LAST_INDEX_OF);
384 JSHandle<EcmaString> thisStr = factory->NewFromASCII("abcabcabc");
388 auto result = StringAlgorithm(thread, thisStr.GetTaggedValue(), args, 6, AlgorithmType::INCLUDES);
397 JSHandle<EcmaString> thisStr = factory->NewFromASCII("abccccccc");
401 auto result = StringAlgorithm(thread, thisStr.GetTaggedValue(), args, 8, AlgorithmType::INCLUDES);
410 JSHandle<EcmaString> thisStr = factory->NewFromUtf8("一二三四");
414 auto result = StringAlgorithm(thread, thisStr.GetTaggedValue(), args, 6, AlgorithmType::INCLUDES);
423 JSHandle<EcmaString> thisStr = factory->NewFromASCII("To be, or not to be, that is the question.");
427 auto result = StringAlgorithm(thread, thisStr.GetTaggedValue(), args, 6, AlgorithmType::START_WITH);
436 JSHandle<EcmaString> thisStr = factory->NewFromASCII("To be, or not to be, that is the question.");
440 auto result = StringAlgorithm(thread, thisStr.GetTaggedValue(), args, 6, AlgorithmType::START_WITH);
449 JSHandle<EcmaString> thisStr = factory->NewFromASCII("To be, or not to be, that is the question.");
453 auto result = StringAlgorithm(thread, thisStr.GetTaggedValue(), args, 8, AlgorithmType::START_WITH);
462 JSHandle<EcmaString> thisStr = factory->NewFromASCII("To be, or not to be, that is the question.");
466 auto result = StringAlgorithm(thread, thisStr.GetTaggedValue(), args, 6, AlgorithmType::ENDS_WITH);
475 JSHandle<EcmaString> thisStr = factory->NewFromASCII("To be, or not to be, that is the question.");
479 auto result = StringAlgorithm(thread, thisStr.GetTaggedValue(), args, 6, AlgorithmType::ENDS_WITH);
488 JSHandle<EcmaString> thisStr = factory->NewFromASCII("To be, or not to be, that is the question.");
492 auto result = StringAlgorithm(thread, thisStr.GetTaggedValue(), args, 8, AlgorithmType::ENDS_WITH);
502 JSHandle<EcmaString> thisStr = factory->NewFromUtf8("有ABC");
506 ecmaRuntimeCallInfo->SetThis(thisStr.GetTaggedValue());
520 JSHandle<EcmaString> thisStr = factory->NewFromASCII("ABC");
524 ecmaRuntimeCallInfo->SetThis(thisStr.GetTaggedValue());
538 JSHandle<EcmaString> thisStr = factory->NewFromASCII("abc");
542 ecmaRuntimeCallInfo->SetThis(thisStr.GetTaggedValue());
556 JSHandle<EcmaString> thisStr = factory->NewFromASCII("abc");
561 ecmaRuntimeCallInfo->SetThis(thisStr.GetTaggedValue());
574 JSHandle<EcmaString> thisStr = factory->NewFromASCII("abc");
579 ecmaRuntimeCallInfo->SetThis(thisStr.GetTaggedValue());
592 JSHandle<EcmaString> thisStr = factory->NewFromASCII("abc");
597 ecmaRuntimeCallInfo->SetThis(thisStr.GetTaggedValue());
612 JSHandle<EcmaString> thisStr = factory->NewFromStdString(referenceStr);
618 ecmaRuntimeCallInfo->SetThis(thisStr.GetTaggedValue());
635 JSHandle<EcmaString> thisStr = factory->NewFromStdString(referenceStr);
641 ecmaRuntimeCallInfo->SetThis(thisStr.GetTaggedValue());
652 ecmaRuntimeCallInfo1->SetThis(thisStr.GetTaggedValue());
667 JSHandle<EcmaString> thisStr = factory->NewFromASCII("abc");
672 ecmaRuntimeCallInfo->SetThis(thisStr.GetTaggedValue());
687 JSHandle<EcmaString> thisStr = factory->NewFromASCII("abc");
691 ecmaRuntimeCallInfo->SetThis(thisStr.GetTaggedValue());
706 JSHandle<EcmaString> thisStr = factory->NewFromASCII("The morning is upon us.");
710 ecmaRuntimeCallInfo->SetThis(thisStr.GetTaggedValue());
726 JSHandle<EcmaString> thisStr = factory->NewFromASCII("The morning is upon us.");
730 ecmaRuntimeCallInfo->SetThis(thisStr.GetTaggedValue());
745 JSHandle<EcmaString> thisStr = factory->NewFromASCII("Mozilla");
749 ecmaRuntimeCallInfo->SetThis(thisStr.GetTaggedValue());
765 JSHandle<EcmaString> thisStr = factory->NewFromASCII("Mozilla");
769 ecmaRuntimeCallInfo->SetThis(thisStr.GetTaggedValue());
785 JSHandle<EcmaString> thisStr = factory->NewFromASCII(" Hello world! ");
789 ecmaRuntimeCallInfo->SetThis(thisStr.GetTaggedValue());
805 JSHandle<EcmaString> thisStr = factory->NewFromASCII(" Hello world! ");
807 JSHandle<JSTaggedValue> value(thread, JSTaggedValue(thisStr.GetTaggedValue().GetTaggedObject()));
828 JSHandle<EcmaString> thisStr = factory->NewFromASCII(" ");
830 JSHandle<JSTaggedValue> value(thread, JSTaggedValue(thisStr.GetTaggedValue().GetTaggedObject()));
851 JSHandle<EcmaString> thisStr = factory->NewFromASCII("abcabcabc");
853 JSHandle<JSTaggedValue> value(thread, JSTaggedValue(thisStr.GetTaggedValue().GetTaggedObject()));
861 JSTaggedValue test = JSTaggedValue(*thisStr);
871 JSHandle<EcmaString> thisStr = factory->NewFromASCII("abcabcabc");
873 JSHandle<JSTaggedValue> value(thread, JSTaggedValue(thisStr.GetTaggedValue().GetTaggedObject()));
881 JSTaggedValue test = JSTaggedValue(*thisStr);
935 JSHandle<EcmaString> thisStr = factory->NewFromASCII("Twas the night before Xmas...");
941 auto result = StringAlgorithm(thread, thisStr.GetTaggedValue(), args, 8, AlgorithmType::REPLACE);
950 auto result1 = StringAlgorithm(thread, thisStr.GetTaggedValue(), args, 8, AlgorithmType::REPLACE);
960 auto result2 = StringAlgorithm(thread, thisStr.GetTaggedValue(), args, 8, AlgorithmType::REPLACE);
970 auto result3 = StringAlgorithm(thread, thisStr.GetTaggedValue(), args, 8, AlgorithmType::REPLACE);
981 auto result4 = StringAlgorithm(thread, thisStr.GetTaggedValue(), args, 8, AlgorithmType::REPLACE);
991 JSHandle<EcmaString> thisStr = factory->NewFromASCII("Twas the night before Xmas...");
997 auto result = StringAlgorithm(thread, thisStr.GetTaggedValue(), args, 8, AlgorithmType::REPLACE);
1007 auto result2 = StringAlgorithm(thread, thisStr.GetTaggedValue(), args, 8, AlgorithmType::REPLACE);
1019 auto result3 = StringAlgorithm(thread, thisStr.GetTaggedValue(), args, 8, AlgorithmType::REPLACE);
1030 auto result4 = StringAlgorithm(thread, thisStr.GetTaggedValue(), args, 8, AlgorithmType::REPLACE);
1040 JSHandle<EcmaString> thisStr = factory->NewFromASCII("Twas the night before Xmas...");
1047 auto result = StringAlgorithm(thread, thisStr.GetTaggedValue(), args, 8, AlgorithmType::REPLACE);
1065 JSHandle<EcmaString> thisStr =
1071 auto result = StringAlgorithm(thread, thisStr.GetTaggedValue(), args, 8, AlgorithmType::REPLACE);
1093 JSHandle<EcmaString> thisStr = factory->NewFromASCII("Hello World. How are you doing?");
1101 auto result = StringAlgorithm(thread, thisStr.GetTaggedValue(), args, 8, AlgorithmType::SPLIT);
1114 JSHandle<EcmaString> thisStr = factory->NewFromASCII("a-b-c");
1126 auto result = StringAlgorithm(thread, thisStr.GetTaggedValue(), args, 8, AlgorithmType::SPLIT);