Lines Matching defs:self
137 Thread* self = Thread::Current();
138 self->ThrowNewExceptionF("Ljava/lang/StringIndexOutOfBoundsException;",
156 inline String* String::Alloc(Thread* self, int32_t utf16_length, gc::AllocatorType allocator_type,
178 self->ThrowOutOfMemoryError(StringPrintf("%s of length %d would overflow",
186 heap->AllocObjectWithAllocator<kIsInstrumented, true>(self, string_class, alloc_size,
191 inline String* String::AllocFromByteArray(Thread* self, int32_t byte_length,
195 String* string = Alloc<kIsInstrumented>(self, byte_length, allocator_type, visitor);
200 inline String* String::AllocFromCharArray(Thread* self, int32_t count,
206 String* new_string = Alloc<kIsInstrumented>(self, count, allocator_type, visitor);
211 inline String* String::AllocFromString(Thread* self, int32_t string_length, Handle<String> string,
214 String* new_string = Alloc<kIsInstrumented>(self, string_length, allocator_type, visitor);