/external/webkit/Source/WebCore/ForwardingHeaders/runtime/ |
JSArray.h | 3 #include <JavaScriptCore/JSArray.h>
|
/external/webkit/Source/JavaScriptCore/runtime/ |
RegExpMatchesArray.h | 23 #include "JSArray.h" 27 class RegExpMatchesArray : public JSArray { 37 return JSArray::getOwnPropertySlot(exec, propertyName, slot); 44 return JSArray::getOwnPropertySlot(exec, propertyName, slot); 51 return JSArray::getOwnPropertyDescriptor(exec, propertyName, descriptor); 58 JSArray::put(exec, propertyName, v, slot); 65 JSArray::put(exec, propertyName, v); 72 return JSArray::deleteProperty(exec, propertyName); 79 return JSArray::deleteProperty(exec, propertyName); 86 JSArray::getOwnPropertyNames(exec, arr, mode) [all...] |
JSArray.h | 32 // This struct holds the actual data values of an array. A JSArray object points to it's contained ArrayStorage 41 void* subclassData; // A JSArray subclass can use this to fill the vector lazily. 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); 140 return OBJECT_OFFSETOF(JSArray, m_vectorLength) [all...] |
ArrayPrototype.h | 24 #include "JSArray.h" 29 class ArrayPrototype : public JSArray { 44 static const unsigned AnonymousSlotCount = JSArray::AnonymousSlotCount + 1;
|
ArrayConstructor.cpp | 30 #include "JSArray.h" 62 return new (exec) JSArray(exec->globalData(), globalObject->arrayStructure(), n, CreateInitialized); 66 return new (exec) JSArray(exec->globalData(), globalObject->arrayStructure(), args); 98 return JSValue::encode(jsBoolean(exec->argument(0).inherits(&JSArray::s_info)));
|
JSArray.cpp | 24 #include "JSArray.h" 41 ASSERT_CLASS_FITS_IN_CELL(JSArray); 43 // Overview of JSArray 45 // Properties of JSArray objects may be stored in one of three locations: 95 const ClassInfo JSArray::s_info = {"Array", &JSNonFinalObject::s_info, 0, 0}; 123 inline void JSArray::checkConsistency(ConsistencyCheckType) 129 JSArray::JSArray(VPtrStealingHackType) 134 JSArray::JSArray(JSGlobalData& globalData, Structure* structure [all...] |
JSGlobalObject.h | 25 #include "JSArray.h" 408 inline JSArray* constructEmptyArray(ExecState* exec) 410 return new (exec) JSArray(exec->globalData(), exec->lexicalGlobalObject()->arrayStructure()); 413 inline JSArray* constructEmptyArray(ExecState* exec, JSGlobalObject* globalObject) 415 return new (exec) JSArray(exec->globalData(), globalObject->arrayStructure()); 418 inline JSArray* constructEmptyArray(ExecState* exec, unsigned initialLength) 420 return new (exec) JSArray(exec->globalData(), exec->lexicalGlobalObject()->arrayStructure(), initialLength, CreateInitialized); 423 inline JSArray* constructArray(ExecState* exec, JSValue singleItemValue) 427 return new (exec) JSArray(exec->globalData(), exec->lexicalGlobalObject()->arrayStructure(), values); 430 inline JSArray* constructArray(ExecState* exec, const ArgList& values [all...] |
ArrayPrototype.cpp | 88 const ClassInfo ArrayPrototype::s_info = {"Array", &JSArray::s_info, 0, ExecState::arrayTable}; 118 : JSArray(globalObject->globalData(), structure) 126 return getStaticFunctionSlot<JSArray>(exec, ExecState::arrayTable(exec), this, propertyName, slot); 131 return getStaticFunctionDescriptor<JSArray>(exec, ExecState::arrayTable(exec), this, propertyName, descriptor); 170 if (!isRealArray && !thisValue.inherits(&JSArray::s_info)) 172 JSArray* thisObj = asArray(thisValue); 233 if (!thisValue.inherits(&JSArray::s_info)) 287 JSArray* array = asArray(thisObj); 338 JSArray* arr = constructEmptyArray(exec); 344 if (curArg.inherits(&JSArray::s_info)) [all...] |
JSGlobalData.cpp | 40 #include "JSArray.h" 121 // Enough storage to fit a JSArray, JSByteArray, JSString, or JSFunction. 125 COMPILE_ASSERT(sizeof(JSArray) <= sizeof(storage), sizeof_JSArray_must_be_less_than_storage); 126 JSCell* jsArray = new (storage) JSArray(JSArray::VPtrStealingHack); 128 JSGlobalData::jsArrayVPtr = jsArray->vptr();
|
RegExpConstructor.cpp | 28 #include "JSArray.h" 112 : JSArray(exec->globalData(), exec->lexicalGlobalObject()->regExpMatchesArrayStructure(), data->lastNumSubPatterns + 1, CreateInitialized) 141 JSArray::put(exec, i, jsSubstring(exec, d->lastInput, start, d->lastOvector()[2 * i + 1] - start)); 143 JSArray::put(exec, i, jsUndefined()); 147 JSArray::put(exec, exec->propertyNames().index, jsNumber(d->lastOvector()[0]), slot); 148 JSArray::put(exec, exec->propertyNames().input, jsString(exec, d->input), slot);
|
JSONObject.cpp | 32 #include "JSArray.h" 211 if (m_replacer.asObject()->inherits(&JSArray::s_info)) { 360 if (value.isUndefined() && !holder->inherits(&JSArray::s_info)) 400 if (holder->inherits(&JSArray::s_info)) { 471 , m_isArray(object->inherits(&JSArray::s_info)) 643 LocalStack<JSArray, 16> arrayStack(m_exec->globalData()); 658 ASSERT(isJSArray(&m_exec->globalData(), asObject(inValue)) || asObject(inValue)->inherits(&JSArray::s_info)); 662 JSArray* array = asArray(inValue); 675 JSArray* array = arrayStack.peek(); 701 JSArray* array = arrayStack.peek() [all...] |
/external/v8/src/ |
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 [all...] |
messages.h | 48 v8::internal::Handle<v8::internal::JSArray> args, 52 v8::internal::Handle<v8::internal::JSArray> args() const { return args_; } 56 v8::internal::Handle<v8::internal::JSArray> const args_; 98 Handle<JSArray> stack_frames);
|
liveedit.cc | 289 // A helper class that writes chunk numbers into JSArray. 296 Handle<JSArray> GetResult() { 314 Handle<JSArray> array_; 349 // Stores compare result in JSArray. Converts substring positions 447 // Stores compare result in JSArray. For each chunk tries to conduct 478 Handle<JSArray> GetResult() { 493 Handle<JSArray> LiveEdit::CompareStrings(Handle<String> s1, 547 // JSArray object. This is an adhoc method of passing structures from C++ 553 Handle<JSArray> array = FACTORY->NewJSArray(S::kSize_); 557 JSArray* array = JSArray::cast(object) [all...] |
builtins.cc | 190 JSArray* array; 192 array = JSArray::cast(*args.receiver()); 201 array = JSArray::cast(obj); 204 // 'array' now contains the JSArray we should initialize. 231 return array->Initialize(JSArray::kPreallocatedArrayElements); 274 JSArray* result_array = JSArray::cast(result); 389 JSArray* array = JSArray::cast(receiver); 400 JSArray* receiver) [all...] |
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,
|
/external/webkit/Source/WebCore/bridge/jni/jsc/ |
JNIUtilityPrivate.cpp | 39 #include <runtime/JSArray.h> 46 static jobject convertArrayInstanceToJavaArray(ExecState* exec, JSArray* jsArray, const char* javaClassName) 52 unsigned length = jsArray->length(); 65 JSValue item = jsArray->get(exec, i); 78 JSValue item = jsArray->get(exec, i); 89 JSValue item = jsArray->get(exec, i); 100 JSValue item = jsArray->get(exec, i); 114 JSValue item = jsArray->get(exec, i); 125 JSValue item = jsArray->get(exec, i) [all...] |
/external/webkit/Source/JavaScriptCore/dfg/ |
DFGOperations.cpp | 124 JSArray* jsArray = asArray(baseValue); 125 if (jsArray->canSetIndex(i)) { 126 jsArray->setIndex(*globalData, i, value); 130 jsArray->JSArray::put(exec, i, value);
|
/external/webkit/Source/WebCore/bridge/ |
runtime_array.h | 34 class RuntimeArray : public JSArray { 67 static const unsigned StructureFlags = OverridesGetOwnPropertySlot | OverridesGetPropertyNames | JSArray::StructureFlags;
|
/external/webkit/Source/WebCore/bindings/js/ |
JSInspectorFrontendHostCustom.cpp | 44 #include <runtime/JSArray.h> 90 JSArray* array = asArray(exec->argument(1));
|
JSScriptProfileNodeCustom.cpp | 35 #include <runtime/JSArray.h>
|
/external/v8/test/mjsunit/regress/ |
regress-900.js | 28 // Check that we allow accessors on JSArray elements.
|
/external/v8/src/arm/ |
builtins-arm.cc | 89 // This constant has the same value as JSArray::kPreallocatedArrayElements and 90 // if JSArray::kPreallocatedArrayElements is changed handling of loop unfolding 95 // Allocate an empty JSArray. The allocated array is put into the result 111 // Allocate the JSArray object together with space for a fixed array with the 113 int size = JSArray::kSize + FixedArray::SizeFor(initial_capacity); 121 // Allocated the JSArray. Now initialize the fields except for the elements 128 __ str(scratch1, FieldMemOperand(result, JSArray::kPropertiesOffset)); 129 // Field JSArray::kElementsOffset is initialized later. 131 __ str(scratch3, FieldMemOperand(result, JSArray::kLengthOffset)); 134 // of the JSArray [all...] |
/external/v8/src/x64/ |
builtins-x64.cc | 902 // Allocate an empty JSArray. The allocated array is put into the result 920 // Allocate the JSArray object together with space for a fixed array with the 922 int size = JSArray::kSize; 933 // Allocated the JSArray. Now initialize the fields except for the elements [all...] |
/external/v8/src/ia32/ |
builtins-ia32.cc | 838 // Allocate an empty JSArray. The allocated array is put into the result 856 // Allocate the JSArray object together with space for a fixed array with the 858 int size = JSArray::kSize; 869 // Allocated the JSArray. Now initialize the fields except for the elements 876 __ mov(FieldOperand(result, JSArray::kPropertiesOffset), 878 // Field JSArray::kElementsOffset is initialized later. 879 __ mov(FieldOperand(result, JSArray::kLengthOffset), Immediate(0)); 884 __ mov(FieldOperand(result, JSArray::kElementsOffset), 890 // of the JSArray. 893 __ lea(scratch1, Operand(result, JSArray::kSize)) [all...] |