Lines Matching defs:string
517 if (String::cast(*lit)->length() == 0) {
1175 // Convert the entry to a string or null if it isn't a property
2957 // Look for valueOf string in the descriptor array, and indicate false if
2979 // internalized string "valueOf" the result is false.
2999 // prototype is the un-modified String prototype. If not result is false.
3266 // 0 (literal string): The type of logging (corresponds to the flags).
3268 // 1 (string): Format string. Access the string at argument index 2
3270 // 2 (array): Arguments to the format string.
3381 Register string = rax;
3387 VisitForAccumulatorValue(args->at(0)); // string
3401 __ EmitSeqStringSetCharCheck(string, index, value, one_byte_seq_type);
3404 __ movb(FieldOperand(string, index, times_1, SeqOneByteString::kHeaderSize),
3406 context()->Plug(string);
3414 Register string = rax;
3420 VisitForAccumulatorValue(args->at(0)); // string
3434 __ EmitSeqStringSetCharCheck(string, index, value, two_byte_seq_type);
3437 __ movw(FieldOperand(string, index, times_2, SeqTwoByteString::kHeaderSize),
3591 // the empty string.
3820 __ testl(FieldOperand(rax, String::kHashFieldOffset),
3821 Immediate(String::kContainsCachedArrayIndexMask));
3837 __ movl(rax, FieldOperand(rax, String::kHashFieldOffset));
3838 ASSERT(String::kHashShift >= kSmiTagSize);
3863 Register string = rsi;
3887 // If the array has length zero, return the empty string.
3911 // Live loop registers: index(int32), array_length(int32), string(String*),
3918 __ movq(string, FieldOperand(elements,
3922 __ JumpIfSmi(string, &bailout);
3923 __ movq(scratch, FieldOperand(string, HeapObject::kMapOffset));
3930 FieldOperand(string, SeqOneByteString::kLengthOffset));
3937 // string_length: Sum of string lengths.
3942 // If array_length is 1, return elements[0], a string.
3955 // string_length: Sum of string lengths.
3959 // Check that the separator is a sequential ASCII string.
3960 __ movq(string, separator_operand);
3961 __ JumpIfSmi(string, &bailout);
3962 __ movq(scratch, FieldOperand(string, HeapObject::kMapOffset));
3970 // string_length: Sum of string lengths.
3973 // string: Separator string.
3977 FieldOperand(string, SeqOneByteString::kLengthOffset));
3985 // string_length: Total length of result string.
3988 index, string, &bailout);
3992 __ movq(string, separator_operand);
3993 __ SmiCompare(FieldOperand(string, SeqOneByteString::kLengthOffset),
4005 // Each iteration of the loop concatenates one string to the result.
4012 // Get string = array[index].
4013 __ movq(string, FieldOperand(elements, index,
4017 FieldOperand(string, String::kLengthOffset));
4018 __ lea(string,
4019 FieldOperand(string, SeqOneByteString::kHeaderSize));
4020 __ CopyBytes(result_pos, string, string_length);
4036 // Register "string" holds the separator.
4037 __ movzxbl(scratch, FieldOperand(string, SeqOneByteString::kHeaderSize));
4044 // Each iteration of the loop concatenates one string to the result.
4056 // Get string = array[index].
4057 __ movq(string, FieldOperand(elements, index,
4061 FieldOperand(string, String::kLengthOffset));
4062 __ lea(string,
4063 FieldOperand(string, SeqOneByteString::kHeaderSize));
4064 __ CopyBytes(result_pos, string, string_length);
4082 // Replace separator string with pointer to its first character, and
4084 __ movq(string, separator_operand);
4086 FieldOperand(string, String::kLengthOffset));
4087 __ lea(string,
4088 FieldOperand(string, SeqOneByteString::kHeaderSize));
4089 __ movq(separator_operand, string);
4096 // Each iteration of the loop concatenates one string to the result.
4104 __ movq(string, separator_operand);
4106 __ CopyBytes(result_pos, string, string_length, 2);
4109 // Get string = array[index].
4110 __ movq(string, Operand(elements, index, times_pointer_size, 0));
4112 FieldOperand(string, String::kLengthOffset));
4113 __ lea(string,
4114 FieldOperand(string, SeqOneByteString::kHeaderSize));
4115 __ CopyBytes(result_pos, string, string_length);
4131 Handle<String> name = expr->name();
4516 Handle<String> check) {