Lines Matching refs:Handle
133 Handle<FixedArray> AddKeysFromJSArray(Handle<FixedArray> content, in AddKeysFromJSArray()
134 Handle<JSArray> array) { in AddKeysFromJSArray()
140 Handle<FixedArray> UnionOfKeys(Handle<FixedArray> first, in UnionOfKeys()
141 Handle<FixedArray> second) { in UnionOfKeys()
147 Handle<JSGlobalProxy> ReinitializeJSGlobalProxy( in ReinitializeJSGlobalProxy()
148 Handle<JSFunction> constructor, in ReinitializeJSGlobalProxy()
149 Handle<JSGlobalProxy> global) { in ReinitializeJSGlobalProxy()
157 void SetExpectedNofProperties(Handle<JSFunction> func, int nof) { in SetExpectedNofProperties()
167 Handle<Map> new_initial_map = in SetExpectedNofProperties()
169 Handle<Map>(func->initial_map())); in SetExpectedNofProperties()
176 void SetPrototypeProperty(Handle<JSFunction> func, Handle<JSObject> value) { in SetPrototypeProperty()
201 void SetExpectedNofPropertiesFromEstimate(Handle<SharedFunctionInfo> shared, in SetExpectedNofPropertiesFromEstimate()
211 void FlattenString(Handle<String> string) { in FlattenString()
216 Handle<String> FlattenGetString(Handle<String> string) { in FlattenGetString()
221 Handle<Object> SetPrototype(Handle<JSFunction> function, in SetPrototype()
222 Handle<Object> prototype) { in SetPrototype()
232 Handle<Object> SetProperty(Handle<Object> object, in SetProperty()
233 Handle<Object> key, in SetProperty()
234 Handle<Object> value, in SetProperty()
246 Handle<Object> ForceSetProperty(Handle<JSObject> object, in ForceSetProperty()
247 Handle<Object> key, in ForceSetProperty()
248 Handle<Object> value, in ForceSetProperty()
259 Handle<Object> ForceDeleteProperty(Handle<JSObject> object, in ForceDeleteProperty()
260 Handle<Object> key) { in ForceDeleteProperty()
268 Handle<Object> SetPropertyWithInterceptor(Handle<JSObject> object, in SetPropertyWithInterceptor()
269 Handle<String> key, in SetPropertyWithInterceptor()
270 Handle<Object> value, in SetPropertyWithInterceptor()
282 Handle<Object> GetProperty(Handle<JSReceiver> obj, in GetProperty()
285 Handle<String> str = isolate->factory()->LookupAsciiSymbol(name); in GetProperty()
290 Handle<Object> GetProperty(Handle<Object> obj, in GetProperty()
291 Handle<Object> key) { in GetProperty()
298 Handle<Object> GetPropertyWithInterceptor(Handle<JSObject> receiver, in GetPropertyWithInterceptor()
299 Handle<JSObject> holder, in GetPropertyWithInterceptor()
300 Handle<String> name, in GetPropertyWithInterceptor()
311 Handle<Object> SetPrototype(Handle<JSObject> obj, Handle<Object> value) { in SetPrototype()
318 Handle<Object> LookupSingleCharacterStringFromCode(uint32_t index) { in LookupSingleCharacterStringFromCode()
326 Handle<String> SubString(Handle<String> str, in SubString()
335 Handle<JSObject> Copy(Handle<JSObject> obj) { in Copy()
342 Handle<Object> SetAccessor(Handle<JSObject> obj, Handle<AccessorInfo> info) { in SetAccessor()
354 Handle<Object> cache = Utils::OpenHandle(*handle); in ClearWrapperCache()
366 Handle<JSValue> GetScriptWrapper(Handle<Script> script) { in GetScriptWrapper()
369 return Handle<JSValue>( in GetScriptWrapper()
375 Handle<JSFunction> constructor = isolate->script_function(); in GetScriptWrapper()
376 Handle<JSValue> result = in GetScriptWrapper()
377 Handle<JSValue>::cast(isolate->factory()->NewJSObject(constructor)); in GetScriptWrapper()
383 Handle<Object> handle = isolate->global_handles()->Create(*result); in GetScriptWrapper()
394 void InitScriptLineEnds(Handle<Script> script) { in InitScriptLineEnds()
401 Handle<FixedArray> empty = isolate->factory()->NewFixedArray(0); in InitScriptLineEnds()
407 Handle<String> src(String::cast(script->source()), isolate); in InitScriptLineEnds()
409 Handle<FixedArray> array = CalculateLineEnds(src, true); in InitScriptLineEnds()
444 Handle<FixedArray> CalculateLineEnds(Handle<String> src, in CalculateLineEnds()
470 Handle<FixedArray> array = isolate->factory()->NewFixedArray(line_count); in CalculateLineEnds()
479 int GetScriptLineNumber(Handle<Script> script, int code_pos) { in GetScriptLineNumber()
504 int GetScriptColumnNumber(Handle<Script> script, int code_pos) { in GetScriptColumnNumber()
517 int GetScriptLineNumberSafe(Handle<Script> script, int code_pos) { in GetScriptLineNumberSafe()
547 v8::Handle<v8::Array> GetKeysForNamedInterceptor(Handle<JSReceiver> receiver, in GetKeysForNamedInterceptor()
548 Handle<JSObject> object) { in GetKeysForNamedInterceptor()
550 Handle<InterceptorInfo> interceptor(object->GetNamedInterceptor()); in GetKeysForNamedInterceptor()
553 v8::Handle<v8::Array> result; in GetKeysForNamedInterceptor()
569 v8::Handle<v8::Array> GetKeysForIndexedInterceptor(Handle<JSReceiver> receiver, in GetKeysForIndexedInterceptor()
570 Handle<JSObject> object) { in GetKeysForIndexedInterceptor()
572 Handle<InterceptorInfo> interceptor(object->GetIndexedInterceptor()); in GetKeysForIndexedInterceptor()
575 v8::Handle<v8::Array> result; in GetKeysForIndexedInterceptor()
590 static bool ContainsOnlyValidKeys(Handle<FixedArray> array) { in ContainsOnlyValidKeys()
600 Handle<FixedArray> GetKeysInFixedArrayFor(Handle<JSReceiver> object, in GetKeysInFixedArrayFor()
605 Handle<FixedArray> content = isolate->factory()->empty_fixed_array(); in GetKeysInFixedArrayFor()
606 Handle<JSObject> arguments_boilerplate = Handle<JSObject>( in GetKeysInFixedArrayFor()
609 Handle<JSFunction> arguments_function = Handle<JSFunction>( in GetKeysInFixedArrayFor()
614 for (Handle<Object> p = object; in GetKeysInFixedArrayFor()
616 p = Handle<Object>(p->GetPrototype(), isolate)) { in GetKeysInFixedArrayFor()
618 Handle<JSProxy> proxy(JSProxy::cast(*p), isolate); in GetKeysInFixedArrayFor()
619 Handle<Object> args[] = { proxy }; in GetKeysInFixedArrayFor()
620 Handle<Object> names = Execution::Call( in GetKeysInFixedArrayFor()
623 content = AddKeysFromJSArray(content, Handle<JSArray>::cast(names)); in GetKeysInFixedArrayFor()
627 Handle<JSObject> current(JSObject::cast(*p), isolate); in GetKeysInFixedArrayFor()
639 Handle<FixedArray> element_keys = in GetKeysInFixedArrayFor()
647 v8::Handle<v8::Array> result = in GetKeysInFixedArrayFor()
677 v8::Handle<v8::Array> result = in GetKeysInFixedArrayFor()
693 Handle<JSArray> GetKeysFor(Handle<JSReceiver> object, bool* threw) { in GetKeysFor()
696 Handle<FixedArray> elements = in GetKeysFor()
702 Handle<FixedArray> GetEnumPropertyKeys(Handle<JSObject> object, in GetEnumPropertyKeys()
710 return Handle<FixedArray>(FixedArray::cast(desc->GetEnumCache()), in GetEnumPropertyKeys()
714 Handle<Map> map(object->map()); in GetEnumPropertyKeys()
717 Handle<FixedArray> storage = isolate->factory()->NewFixedArray(num_enum); in GetEnumPropertyKeys()
718 Handle<FixedArray> sort_array = isolate->factory()->NewFixedArray(num_enum); in GetEnumPropertyKeys()
720 Handle<FixedArray> indices; in GetEnumPropertyKeys()
721 Handle<FixedArray> sort_array2; in GetEnumPropertyKeys()
728 Handle<DescriptorArray> descs = in GetEnumPropertyKeys()
729 Handle<DescriptorArray>(object->map()->instance_descriptors(), isolate); in GetEnumPropertyKeys()
738 indices = Handle<FixedArray>(); in GetEnumPropertyKeys()
739 sort_array2 = Handle<FixedArray>(); in GetEnumPropertyKeys()
757 Handle<FixedArray> bridge_storage = in GetEnumPropertyKeys()
770 Handle<FixedArray> storage = isolate->factory()->NewFixedArray(num_enum); in GetEnumPropertyKeys()
771 Handle<FixedArray> sort_array = isolate->factory()->NewFixedArray(num_enum); in GetEnumPropertyKeys()
778 Handle<ObjectHashSet> ObjectHashSetAdd(Handle<ObjectHashSet> table, in ObjectHashSetAdd()
779 Handle<Object> key) { in ObjectHashSetAdd()
786 Handle<ObjectHashSet> ObjectHashSetRemove(Handle<ObjectHashSet> table, in ObjectHashSetRemove()
787 Handle<Object> key) { in ObjectHashSetRemove()
794 Handle<ObjectHashTable> PutIntoObjectHashTable(Handle<ObjectHashTable> table, in PutIntoObjectHashTable()
795 Handle<Object> key, in PutIntoObjectHashTable()
796 Handle<Object> value) { in PutIntoObjectHashTable()
947 int Utf8Length(Handle<String> str) { in Utf8Length()