Home | History | Annotate | Download | only in builtins

Lines Matching refs:receiver

116   void StringIndexOf(Node* receiver, Node* instance_type, Node* search_string,
469 Node* receiver = Parameter(0);
472 // Load the character code at the {position} from the {receiver}.
473 Node* code = StringCharCodeAt(receiver, position, INTPTR_PARAMETERS);
481 Node* receiver = Parameter(0);
484 // Load the character code at the {position} from the {receiver}.
485 Node* code = StringCharCodeAt(receiver, position, INTPTR_PARAMETERS);
505 // Check if we have exactly one argument (plus the implicit receiver), i.e.
700 Node* receiver = Parameter(0);
704 // Check that {receiver} is coercible to Object and convert it to a String.
705 receiver = ToThisString(context, receiver, "String.prototype.charAt");
708 // {receiver}.
715 // Determine the actual length of the {receiver} String.
716 Node* receiver_length = LoadObjectField(receiver, String::kLengthOffset);
718 // Return "" if the Smi {position} is outside the bounds of the {receiver}.
729 // Load the character code at the {position} from the {receiver}.
730 Node* code = StringCharCodeAt(receiver, position);
739 Node* receiver = Parameter(0);
743 // Check that {receiver} is coercible to Object and convert it to a String.
744 receiver = ToThisString(context, receiver, "String.prototype.charCodeAt");
747 // {receiver}.
754 // Determine the actual length of the {receiver} String.
755 Node* receiver_length = LoadObjectField(receiver, String::kLengthOffset);
757 // Return NaN if the Smi {position} is outside the bounds of the {receiver}.
768 // Load the character at the {position} from the {receiver}.
769 Node* value = StringCharCodeAt(receiver, position);
871 Node* receiver, Node* instance_type, Node* search_string,
874 CSA_ASSERT(this, IsString(receiver));
892 Node* string_length = SmiUntag(LoadStringLength(receiver));
913 OneByteCharAddress(BitcastTaggedToWord(receiver), start_position));
919 Node* const unpacked = TryDerefExternalString(receiver, instance_type,
987 receiver, search_string, position);
996 Node* receiver = Parameter(0);
1000 Node* instance_type = LoadInstanceType(receiver);
1003 StringIndexOf(receiver, instance_type, search_string,
1021 Node* receiver = arguments.GetReceiver();
1055 GotoIf(TaggedIsSmi(receiver), &call_runtime);
1059 Node* instance_type = LoadInstanceType(receiver);
1066 receiver, instance_type, needle, needle_instance_type, position.value(),
1073 Node* result = CallRuntime(Runtime::kStringIndexOf, context, receiver,
1083 return String::LastIndexOf(isolate, args.receiver(),
1258 Node* const receiver = Parameter(0);
1265 RequireObjectCoercible(context, receiver, "String.prototype.replace");
1274 CallStub(tostring_callable, context, receiver);
1282 return CallJS(call_callable, context, fn, search, receiver, replace);
1285 // Convert {receiver} and {search} to strings.
1290 Node* const subject_string = CallStub(tostring_callable, context, receiver);
1296 // Fast-path single-char {search}, long {receiver}, and simple string
1426 Node* const receiver = Parameter(0);
1433 RequireObjectCoercible(context, receiver, "String.prototype.split");
1442 CallStub(tostring_callable, context, receiver);
1450 return CallJS(call_callable, context, fn, separator, receiver, limit);
1459 Node* const subject_string = CallStub(tostring_callable, context, receiver);
1532 Node* const receiver = Parameter(0);
1539 // Check that {receiver} is coercible to Object and convert it to a String.
1541 ToThisString(context, receiver, "String.prototype.substr");
1701 Node* const receiver = Parameter(0);
1706 // Check that {receiver} is coercible to Object and convert it to a String.
1708 ToThisString(context, receiver, "String.prototype.substring");
1792 Node* receiver = Parameter(0);
1795 Node* result = ToThisValue(context, receiver, PrimitiveType::kString,
1823 Node* receiver = Parameter(0);
1826 Node* result = ToThisValue(context, receiver, PrimitiveType::kString,
1832 Node* receiver = Parameter(0);
1836 ToThisString(context, receiver
1977 // The {receiver} is not a valid JSGeneratorObject.