Lines Matching defs:string
538 if (String::cast(*lit)->length() == 0) {
1072 // Convert the entry to a string or null if it isn't a property
2604 // prototype is the un-modified String prototype. If not result is false.
2850 // 0 (literal string): The type of logging (corresponds to the flags).
2852 // 1 (string): Format string. Access the string at argument index 2
2854 // 2 (array): Arguments to the format string.
3161 // the empty string.
3412 __ test(FieldOperand(eax, String::kHashFieldOffset),
3413 Immediate(String::kContainsCachedArrayIndexMask));
3430 __ mov(eax, FieldOperand(eax, String::kHashFieldOffset));
3456 Register string = esi;
3477 // If the array has length zero, return the empty string.
3500 // Live loop registers: index, array_length, string,
3507 __ mov(string, FieldOperand(elements,
3511 __ JumpIfSmi(string, &bailout);
3512 __ mov(scratch, FieldOperand(string, HeapObject::kMapOffset));
3519 FieldOperand(string, SeqAsciiString::kLengthOffset));
3525 // If array_length is 1, return elements[0], a string.
3539 // string_length: Sum of string lengths, as a smi.
3542 // Check that the separator is a flat ASCII string.
3543 __ mov(string, separator_operand);
3544 __ JumpIfSmi(string, &bailout);
3545 __ mov(scratch, FieldOperand(string, HeapObject::kMapOffset));
3567 index, string, &bailout);
3572 __ mov(string, separator_operand);
3573 __ cmp(FieldOperand(string, SeqAsciiString::kLengthOffset),
3584 // Each iteration of the loop concatenates one string to the result.
3590 // Get string = array[index].
3591 __ mov(string, FieldOperand(elements, index,
3595 FieldOperand(string, String::kLengthOffset));
3597 __ lea(string,
3598 FieldOperand(string, SeqAsciiString::kHeaderSize));
3599 __ CopyBytes(string, result_pos, string_length, scratch);
3611 __ mov_b(scratch, FieldOperand(string, SeqAsciiString::kHeaderSize));
3620 // Each iteration of the loop concatenates one string to the result.
3631 // Get string = array[index].
3632 __ mov(string, FieldOperand(elements, index,
3636 FieldOperand(string, String::kLengthOffset));
3638 __ lea(string,
3639 FieldOperand(string, SeqAsciiString::kHeaderSize));
3640 __ CopyBytes(string, result_pos, string_length, scratch);
3657 // Each iteration of the loop concatenates one string to the result.
3663 __ mov(string, separator_operand);
3665 FieldOperand(string, String::kLengthOffset));
3667 __ lea(string,
3668 FieldOperand(string, SeqAsciiString::kHeaderSize));
3669 __ CopyBytes(string, result_pos, string_length, scratch);
3672 // Get string = array[index].
3673 __ mov(string, FieldOperand(elements, index,
3677 FieldOperand(string, String::kLengthOffset));
3679 __ lea(string,
3680 FieldOperand(string, SeqAsciiString::kHeaderSize));
3681 __ CopyBytes(string, result_pos, string_length, scratch);
3702 Handle<String> name = expr->name();
4114 Handle<String> check) {