/external/v8/src/ |
D | liveedit.h | 86 static JSArray* GatherCompileInfo(Handle<Script> script, 89 static void WrapSharedFunctionInfos(Handle<JSArray> array); 92 Handle<JSArray> new_compile_info_array, 93 Handle<JSArray> shared_info_array); 95 static MaybeObject* FunctionSourceUpdated(Handle<JSArray> shared_info_array); 102 Handle<JSArray> shared_info_array, Handle<JSArray> position_change_array); 122 static Handle<JSArray> CheckAndDropActivations( 123 Handle<JSArray> shared_info_array, bool do_drop); 137 static Handle<JSArray> CompareStrings(Handle<String> s1,
|
D | liveedit.cc | 296 Handle<JSArray> GetResult() { in GetResult() 314 Handle<JSArray> array_; 478 Handle<JSArray> GetResult() { in GetResult() 493 Handle<JSArray> LiveEdit::CompareStrings(Handle<String> s1, in CompareStrings() 553 Handle<JSArray> array = FACTORY->NewJSArray(S::kSize_); in Create() 557 JSArray* array = JSArray::cast(object); in cast() 558 Handle<JSArray> array_handle(array); in cast() 561 explicit JSArrayBasedStruct(Handle<JSArray> array) : array_(array) { in JSArrayBasedStruct() 563 Handle<JSArray> GetJSArray() { in GetJSArray() 585 Handle<JSArray> array_; [all …]
|
D | messages.h | 48 v8::internal::Handle<v8::internal::JSArray> args, in V8Message() 52 v8::internal::Handle<v8::internal::JSArray> args() const { return args_; } in args() 56 v8::internal::Handle<v8::internal::JSArray> const args_; 98 Handle<JSArray> stack_frames);
|
D | builtins.cc | 190 JSArray* array; in BUILTIN() 192 array = JSArray::cast(*args.receiver()); in BUILTIN() 201 array = JSArray::cast(obj); in BUILTIN() 231 return array->Initialize(JSArray::kPreallocatedArrayElements); in BUILTIN() 274 JSArray* result_array = JSArray::cast(result); in AllocateEmptyJSArray() 389 JSArray* array = JSArray::cast(receiver); in EnsureJSArrayWithWritableFastElements() 400 JSArray* receiver) { in IsJSArrayFastElementMovingAllowed() 449 JSArray* array = JSArray::cast(receiver); in BUILTIN() 504 JSArray* array = JSArray::cast(receiver); in BUILTIN() 537 if (!IsJSArrayFastElementMovingAllowed(heap, JSArray::cast(receiver))) { in BUILTIN() [all …]
|
D | api.h | 183 v8::internal::Handle<v8::internal::JSArray> obj); 189 v8::internal::Handle<v8::internal::JSArray> obj); 219 static inline v8::internal::Handle<v8::internal::JSArray> 229 static inline v8::internal::Handle<v8::internal::JSArray> 275 MAKE_TO_LOCAL(ToLocal, JSArray, Array) in MAKE_TO_LOCAL() 282 MAKE_TO_LOCAL(StackTraceToLocal, JSArray, StackTrace) in MAKE_TO_LOCAL() 308 MAKE_OPEN_HANDLE(Array, JSArray) 315 MAKE_OPEN_HANDLE(StackTrace, JSArray)
|
D | factory.h | 227 Handle<JSArray> NewJSArray(int capacity, 230 Handle<JSArray> NewJSArrayWithElements( 269 Handle<JSArray> args); 286 Handle<Object> NewSyntaxError(const char* type, Handle<JSArray> args); 373 Handle<JSArray> arguments,
|
D | factory.cc | 513 Handle<Object> Factory::NewSyntaxError(const char* type, Handle<JSArray> args) { in NewSyntaxError() 541 Handle<JSArray> object = NewJSArrayWithElements(array); in NewError() 561 Handle<JSArray> args) { in NewError() 816 Handle<JSArray> Factory::NewJSArray(int capacity, in NewJSArray() 820 Handle<JSArray>::cast(obj)->Initialize(capacity), in NewJSArray() 821 JSArray); in NewJSArray() 825 Handle<JSArray> Factory::NewJSArrayWithElements(Handle<FixedArray> elements, in NewJSArrayWithElements() 827 Handle<JSArray> result = in NewJSArrayWithElements() 828 Handle<JSArray>::cast(NewJSObject(isolate()->array_function(), in NewJSArrayWithElements() 857 Handle<JSArray> arguments, in NewJSMessageObject()
|
D | messages.cc | 64 Handle<JSArray> stack_frames) { in MakeMessageObject() 71 Handle<JSArray> arguments_handle = in MakeMessageObject()
|
/external/webkit/Source/JavaScriptCore/runtime/ |
D | RegExpMatchesArray.h | 27 class RegExpMatchesArray : public JSArray { 37 return JSArray::getOwnPropertySlot(exec, propertyName, slot); in getOwnPropertySlot() 44 return JSArray::getOwnPropertySlot(exec, propertyName, slot); in getOwnPropertySlot() 51 return JSArray::getOwnPropertyDescriptor(exec, propertyName, descriptor); in getOwnPropertyDescriptor() 58 JSArray::put(exec, propertyName, v, slot); in put() 65 JSArray::put(exec, propertyName, v); in put() 72 return JSArray::deleteProperty(exec, propertyName); in deleteProperty() 79 return JSArray::deleteProperty(exec, propertyName); in deleteProperty() 86 JSArray::getOwnPropertyNames(exec, arr, mode);
|
D | JSArray.h | 60 class JSArray : public JSNonFinalObject { 64 JSArray(VPtrStealingHackType); 66 explicit JSArray(JSGlobalData&, Structure*); 67 JSArray(JSGlobalData&, Structure*, unsigned initialLength, ArrayCreationMode); 68 JSArray(JSGlobalData&, Structure*, const ArgList& initialValues); 69 virtual ~JSArray(); 135 return OBJECT_OFFSETOF(JSArray, m_storage); in storageOffset() 140 return OBJECT_OFFSETOF(JSArray, m_vectorLength); in vectorLengthOffset() 172 JSArray* asArray(JSValue); 174 inline JSArray* asArray(JSCell* cell) in asArray() [all …]
|
D | JSArray.cpp | 41 ASSERT_CLASS_FITS_IN_CELL(JSArray); 95 const ClassInfo JSArray::s_info = {"Array", &JSNonFinalObject::s_info, 0, 0}; 123 inline void JSArray::checkConsistency(ConsistencyCheckType) in checkConsistency() 129 JSArray::JSArray(VPtrStealingHackType) in JSArray() function in JSC::JSArray 134 JSArray::JSArray(JSGlobalData& globalData, Structure* structure) in JSArray() function in JSC::JSArray 151 JSArray::JSArray(JSGlobalData& globalData, Structure* structure, unsigned initialLength, ArrayCreat… in JSArray() function in JSC::JSArray 193 JSArray::JSArray(JSGlobalData& globalData, Structure* structure, const ArgList& list) in JSArray() function in JSC::JSArray 234 JSArray::~JSArray() in ~JSArray() 243 bool JSArray::getOwnPropertySlot(ExecState* exec, unsigned i, PropertySlot& slot) in getOwnPropertySlot() 272 bool JSArray::getOwnPropertySlot(ExecState* exec, const Identifier& propertyName, PropertySlot& slo… in getOwnPropertySlot() [all …]
|
D | ArrayPrototype.cpp | 88 const ClassInfo ArrayPrototype::s_info = {"Array", &JSArray::s_info, 0, ExecState::arrayTable}; 118 : JSArray(globalObject->globalData(), structure) in ArrayPrototype() 126 …return getStaticFunctionSlot<JSArray>(exec, ExecState::arrayTable(exec), this, propertyName, slot); in getOwnPropertySlot() 131 …return getStaticFunctionDescriptor<JSArray>(exec, ExecState::arrayTable(exec), this, propertyName,… in getOwnPropertyDescriptor() 170 if (!isRealArray && !thisValue.inherits(&JSArray::s_info)) in arrayProtoFuncToString() 172 JSArray* thisObj = asArray(thisValue); in arrayProtoFuncToString() 233 if (!thisValue.inherits(&JSArray::s_info)) in arrayProtoFuncToLocaleString() 287 JSArray* array = asArray(thisObj); in arrayProtoFuncJoin() 338 JSArray* arr = constructEmptyArray(exec); in arrayProtoFuncConcat() 344 if (curArg.inherits(&JSArray::s_info)) { in arrayProtoFuncConcat() [all …]
|
D | JSGlobalObject.h | 408 inline JSArray* constructEmptyArray(ExecState* exec) in constructEmptyArray() 410 … return new (exec) JSArray(exec->globalData(), exec->lexicalGlobalObject()->arrayStructure()); in constructEmptyArray() 413 inline JSArray* constructEmptyArray(ExecState* exec, JSGlobalObject* globalObject) in constructEmptyArray() 415 return new (exec) JSArray(exec->globalData(), globalObject->arrayStructure()); in constructEmptyArray() 418 inline JSArray* constructEmptyArray(ExecState* exec, unsigned initialLength) in constructEmptyArray() 420 …return new (exec) JSArray(exec->globalData(), exec->lexicalGlobalObject()->arrayStructure(), initi… in constructEmptyArray() 423 inline JSArray* constructArray(ExecState* exec, JSValue singleItemValue) in constructArray() 427 …return new (exec) JSArray(exec->globalData(), exec->lexicalGlobalObject()->arrayStructure(), value… in constructArray() 430 inline JSArray* constructArray(ExecState* exec, const ArgList& values) in constructArray() 432 …return new (exec) JSArray(exec->globalData(), exec->lexicalGlobalObject()->arrayStructure(), value… in constructArray()
|
D | ArrayConstructor.cpp | 62 …return new (exec) JSArray(exec->globalData(), globalObject->arrayStructure(), n, CreateInitialized… in constructArrayWithSizeQuirk() 66 return new (exec) JSArray(exec->globalData(), globalObject->arrayStructure(), args); in constructArrayWithSizeQuirk() 98 return JSValue::encode(jsBoolean(exec->argument(0).inherits(&JSArray::s_info))); in arrayConstructorIsArray()
|
D | ArrayPrototype.h | 29 class ArrayPrototype : public JSArray { 44 static const unsigned AnonymousSlotCount = JSArray::AnonymousSlotCount + 1;
|
D | JSONObject.cpp | 211 if (m_replacer.asObject()->inherits(&JSArray::s_info)) { in Stringifier() 360 if (value.isUndefined() && !holder->inherits(&JSArray::s_info)) in appendStringifiedValue() 400 if (holder->inherits(&JSArray::s_info)) { in appendStringifiedValue() 471 , m_isArray(object->inherits(&JSArray::s_info)) in Holder() 643 LocalStack<JSArray, 16> arrayStack(m_exec->globalData()); in walk() 658 …SArray(&m_exec->globalData(), asObject(inValue)) || asObject(inValue)->inherits(&JSArray::s_info)); in walk() 662 JSArray* array = asArray(inValue); in walk() 675 JSArray* array = arrayStack.peek(); in walk() 701 JSArray* array = arrayStack.peek(); in walk() 719 …Array(&m_exec->globalData(), asObject(inValue)) && !asObject(inValue)->inherits(&JSArray::s_info)); in walk() [all …]
|
D | RegExpConstructor.cpp | 112 …: JSArray(exec->globalData(), exec->lexicalGlobalObject()->regExpMatchesArrayStructure(), data->la… in RegExpMatchesArray() 141 …JSArray::put(exec, i, jsSubstring(exec, d->lastInput, start, d->lastOvector()[2 * i + 1] - start)); in fillArrayInstance() 143 JSArray::put(exec, i, jsUndefined()); in fillArrayInstance() 147 JSArray::put(exec, exec->propertyNames().index, jsNumber(d->lastOvector()[0]), slot); in fillArrayInstance() 148 JSArray::put(exec, exec->propertyNames().input, jsString(exec, d->input), slot); in fillArrayInstance()
|
D | JSGlobalData.cpp | 125 COMPILE_ASSERT(sizeof(JSArray) <= sizeof(storage), sizeof_JSArray_must_be_less_than_storage); in storeVPtrs() 126 JSCell* jsArray = new (storage) JSArray(JSArray::VPtrStealingHack); in storeVPtrs()
|
/external/webkit/Source/WebCore/bridge/ |
D | runtime_array.h | 34 class RuntimeArray : public JSArray { 67 …StructureFlags = OverridesGetOwnPropertySlot | OverridesGetPropertyNames | JSArray::StructureFlags;
|
D | runtime_array.cpp | 38 const ClassInfo RuntimeArray::s_info = { "RuntimeArray", &JSArray::s_info, 0, 0 }; 43 : JSArray(exec->globalData(), deprecatedGetDOMStructure<RuntimeArray>(exec)) in RuntimeArray()
|
/external/webkit/Source/WebCore/bindings/js/ |
D | SerializedScriptValue.cpp | 287 return isJSArray(&m_exec->globalData(), object) || object->inherits(&JSArray::s_info); in isArray() 315 bool startArray(JSArray* array) in startArray() 331 JSValue getSparseIndex(JSArray* array, unsigned propertyName, bool& hasIndex) in getSparseIndex() 335 if (array->JSArray::getOwnPropertySlot(m_exec, propertyName, slot)) { in getSparseIndex() 617 Vector<JSArray*, 16> inputArrayStack; in serialize() 630 JSArray* inArray = asArray(inValue); in serialize() 647 JSArray* array = inputArrayStack.last(); in serialize() 1028 void putProperty(JSArray* array, unsigned index, JSValue value) in putProperty() 1199 Vector<JSArray*, 16> outputArrayStack; in deserialize() 1214 JSArray* outArray = constructEmptyArray(m_exec, m_globalObject); in deserialize() [all …]
|
/external/v8/src/x64/ |
D | builtins-x64.cc | 922 int size = JSArray::kSize; in AllocateEmptyJSArray() 939 __ Move(FieldOperand(result, JSArray::kPropertiesOffset), in AllocateEmptyJSArray() 942 __ Move(FieldOperand(result, JSArray::kLengthOffset), Smi::FromInt(0)); in AllocateEmptyJSArray() 947 __ Move(FieldOperand(result, JSArray::kElementsOffset), in AllocateEmptyJSArray() 956 __ lea(scratch1, Operand(result, JSArray::kSize)); in AllocateEmptyJSArray() 957 __ movq(FieldOperand(result, JSArray::kElementsOffset), scratch1); in AllocateEmptyJSArray() 1026 int size = JSArray::kSize + FixedArray::SizeFor(kPreallocatedArrayElements); in AllocateJSArray() 1040 __ AllocateInNewSpace(JSArray::kSize + FixedArray::kHeaderSize, in AllocateJSArray() 1058 __ movq(FieldOperand(result, JSArray::kPropertiesOffset), elements_array); in AllocateJSArray() 1060 __ movq(FieldOperand(result, JSArray::kLengthOffset), array_size); in AllocateJSArray() [all …]
|
/external/v8/src/arm/ |
D | builtins-arm.cc | 113 int size = JSArray::kSize + FixedArray::SizeFor(initial_capacity); in AllocateEmptyJSArray() 128 __ str(scratch1, FieldMemOperand(result, JSArray::kPropertiesOffset)); in AllocateEmptyJSArray() 131 __ str(scratch3, FieldMemOperand(result, JSArray::kLengthOffset)); in AllocateEmptyJSArray() 137 __ add(scratch1, result, Operand(JSArray::kSize)); in AllocateEmptyJSArray() 138 __ str(scratch1, FieldMemOperand(result, JSArray::kElementsOffset)); in AllocateEmptyJSArray() 197 int size = JSArray::kSize + in AllocateJSArray() 198 FixedArray::SizeFor(JSArray::kPreallocatedArrayElements); in AllocateJSArray() 212 Operand((JSArray::kSize + FixedArray::kHeaderSize) / kPointerSize)); in AllocateJSArray() 233 FieldMemOperand(result, JSArray::kPropertiesOffset)); in AllocateJSArray() 235 __ str(array_size, FieldMemOperand(result, JSArray::kLengthOffset)); in AllocateJSArray() [all …]
|
/external/webkit/Source/JavaScriptCore/ |
D | ChangeLog-2011-02-16 | 88 * runtime/JSArray.cpp: 89 (JSC::JSArray::JSArray): 90 * runtime/JSArray.h: 1782 * runtime/JSArray.h: 1980 * runtime/JSArray.cpp: 1981 (JSC::JSArray::getOwnPropertySlot): 2232 * runtime/JSArray.cpp: 2233 (JSC::JSArray::JSArray): 2234 (JSC::JSArray::getOwnPropertySlot): 2235 (JSC::JSArray::getOwnPropertyDescriptor): [all …]
|
/external/v8/src/ia32/ |
D | builtins-ia32.cc | 858 int size = JSArray::kSize; in AllocateEmptyJSArray() 876 __ mov(FieldOperand(result, JSArray::kPropertiesOffset), in AllocateEmptyJSArray() 879 __ mov(FieldOperand(result, JSArray::kLengthOffset), Immediate(0)); in AllocateEmptyJSArray() 884 __ mov(FieldOperand(result, JSArray::kElementsOffset), in AllocateEmptyJSArray() 893 __ lea(scratch1, Operand(result, JSArray::kSize)); in AllocateEmptyJSArray() 894 __ mov(FieldOperand(result, JSArray::kElementsOffset), scratch1); in AllocateEmptyJSArray() 962 __ AllocateInNewSpace(JSArray::kSize + FixedArray::kHeaderSize, in AllocateJSArray() 980 __ mov(FieldOperand(result, JSArray::kPropertiesOffset), elements_array); in AllocateJSArray() 982 __ mov(FieldOperand(result, JSArray::kLengthOffset), array_size); in AllocateJSArray() 989 __ lea(elements_array, Operand(result, JSArray::kSize)); in AllocateJSArray() [all …]
|