Lines Matching refs:Handle

20   MUST_USE_RESULT MaybeHandle<Object> Stringify(Handle<Object> object);
24 Handle<String> object));
64 Handle<Object> object,
65 Handle<Object> key);
67 Result SerializeGeneric(Handle<Object> object,
68 Handle<Object> key,
73 INLINE(static Handle<String> StringifyString_(Isolate* isolate,
75 Handle<String> result));
78 INLINE(Result SerializeObject(Handle<Object> obj)) { in INLINE()
85 Handle<Object> object, in INLINE()
89 Handle<Object>(Smi::FromInt(i), isolate)); in INLINE()
95 INLINE(Result SerializeProperty(Handle<Object> object, in INLINE()
97 Handle<String> deferred_key)) { in INLINE()
103 Result Serialize_(Handle<Object> object, bool comma, Handle<Object> key);
105 void SerializeDeferredKey(bool deferred_comma, Handle<Object> deferred_key) { in SerializeDeferredKey()
107 SerializeString(Handle<String>::cast(deferred_key)); in SerializeDeferredKey()
114 INLINE(Result SerializeHeapNumber(Handle<HeapNumber> object)) { in INLINE()
118 Result SerializeJSValue(Handle<JSValue> object);
120 INLINE(Result SerializeJSArray(Handle<JSArray> object));
121 INLINE(Result SerializeJSObject(Handle<JSObject> object));
123 Result SerializeJSArraySlow(Handle<JSArray> object, uint32_t length);
125 void SerializeString(Handle<String> object);
133 INLINE(void SerializeString_(Handle<String> string));
139 INLINE(static Vector<const Char> GetCharVector(Handle<String> string));
141 Result StackPush(Handle<Object> object);
144 INLINE(Handle<String> accumulator()) { in INLINE()
145 return Handle<String>(String::cast(accumulator_store_->value()), isolate_); in INLINE()
148 INLINE(void set_accumulator(Handle<String> string)) { in INLINE()
156 Handle<JSValue> accumulator_store_;
157 Handle<String> current_part_;
158 Handle<String> tojson_string_;
159 Handle<JSArray> stack_;
245 accumulator_store_ = Handle<JSValue>::cast( in BasicJsonStringifier()
254 MaybeHandle<Object> BasicJsonStringifier::Stringify(Handle<Object> object) { in Stringify()
271 Isolate* isolate, Handle<String> object) { in StringifyString()
285 Handle<String> result = isolate->factory()->NewRawOneByteString( in StringifyString()
293 Handle<String> result = isolate->factory()->NewRawTwoByteString( in StringifyString()
305 Handle<String> BasicJsonStringifier::StringifyString_(Isolate* isolate, in StringifyString_()
307 Handle<String> result) { in StringifyString_()
316 return SeqString::Truncate(Handle<SeqString>::cast(result), final_size); in StringifyString_()
340 Handle<Object> object, Handle<Object> key) { in ApplyToJsonFunction()
343 Handle<Object> fun; in ApplyToJsonFunction()
349 Handle<Object> argv[] = { key }; in ApplyToJsonFunction()
360 Handle<Object> object) { in StackPush()
374 Handle<Object> error; in StackPush()
397 Handle<Object> object, bool comma, Handle<Object> key) { in Serialize_()
414 return SerializeHeapNumber(Handle<HeapNumber>::cast(object)); in Serialize_()
435 return SerializeJSArray(Handle<JSArray>::cast(object)); in Serialize_()
438 return SerializeJSValue(Handle<JSValue>::cast(object)); in Serialize_()
444 SerializeString(Handle<String>::cast(object)); in Serialize_()
450 return SerializeJSObject(Handle<JSObject>::cast(object)); in Serialize_()
459 Handle<Object> object, in SerializeGeneric()
460 Handle<Object> key, in SerializeGeneric()
463 Handle<JSObject> builtins(isolate_->native_context()->builtins(), isolate_); in SerializeGeneric()
464 Handle<JSFunction> builtin = Handle<JSFunction>::cast(Object::GetProperty( in SerializeGeneric()
467 Handle<Object> argv[] = { key, object }; in SerializeGeneric()
468 Handle<Object> result; in SerializeGeneric()
479 Handle<String> result_string = Handle<String>::cast(result); in SerializeGeneric()
486 Handle<String> cons; in SerializeGeneric()
497 Handle<JSValue> object) { in SerializeJSValue()
500 Handle<Object> value; in SerializeJSValue()
503 SerializeString(Handle<String>::cast(value)); in SerializeJSValue()
505 Handle<Object> value; in SerializeJSValue()
509 SerializeHeapNumber(Handle<HeapNumber>::cast(value)); in SerializeJSValue()
544 Handle<JSArray> object) { in SerializeJSArray()
553 Handle<FixedArray> elements( in SerializeJSArray()
564 Handle<FixedDoubleArray> elements( in SerializeJSArray()
573 Handle<FixedArray> elements( in SerializeJSArray()
579 Handle<Object>(elements->get(i), isolate_), in SerializeJSArray()
607 Handle<JSArray> object, uint32_t length) { in SerializeJSArraySlow()
610 Handle<Object> element; in SerializeJSArraySlow()
632 Handle<JSObject> object) { in SerializeJSObject()
645 Handle<Map> map(object->map()); in SerializeJSObject()
647 Handle<Name> name(map->instance_descriptors()->GetKey(i), isolate_); in SerializeJSObject()
650 Handle<String> key = Handle<String>::cast(name); in SerializeJSObject()
653 Handle<Object> property; in SerializeJSObject()
655 property = Handle<Object>(object->RawFastPropertyAt( in SerializeJSObject()
668 Handle<FixedArray> contents; in SerializeJSObject()
676 Handle<String> key_handle; in SerializeJSObject()
679 key_handle = Handle<String>(String::cast(key), isolate_); in SerializeJSObject()
683 key_handle = factory_->NumberToString(Handle<Object>(key, isolate_)); in SerializeJSObject()
694 Handle<Object> property; in SerializeJSObject()
712 current_part_ = SeqString::Truncate(Handle<SeqString>::cast(current_part_), in ShrinkCurrentPart()
783 void BasicJsonStringifier::SerializeString_(Handle<String> string) { in SerializeString_()
844 Handle<String> string) { in GetCharVector()
852 Vector<const uc16> BasicJsonStringifier::GetCharVector(Handle<String> string) { in GetCharVector()
859 void BasicJsonStringifier::SerializeString(Handle<String> object) { in SerializeString()