Searched refs:JSArray (Results 1 - 25 of 55) sorted by relevance

123

/macosx-10.9.5/WebCore-7537.78.1/ForwardingHeaders/runtime/
H A DJSArray.h3 #include <JavaScriptCore/JSArray.h>
/macosx-10.9.5/JavaScriptCore-7537.78.1/bytecode/
H A DArrayAllocationProfile.h30 #include "JSArray.h"
49 JSArray* updateLastAllocation(JSArray* lastArray)
64 static JSArray* updateLastAllocationFor(ArrayAllocationProfile* profile, JSArray* lastArray)
74 JSArray* m_lastArray;
/macosx-10.9.5/JavaScriptCore-7537.78.1/runtime/
H A DJSArray.h30 class JSArray;
33 class JSArray : public JSNonFinalObject { class in namespace:JSC
42 explicit JSArray(VM& vm, Structure* structure, Butterfly* butterfly) function in class:JSC::JSArray
48 static JSArray* create(VM&, Structure*, unsigned initialLength = 0);
54 static JSArray* tryCreateUninitialized(VM&, Structure*, unsigned initialLength);
201 inline JSArray* JSArray::create(VM& vm, Structure* structure, unsigned initialLength)
223 JSArray* array = new (NotNull, allocateCell<JSArray>(vm.heap)) JSArray(v
[all...]
H A DArrayPrototype.h24 #include "JSArray.h"
29 class ArrayPrototype : public JSArray {
34 typedef JSArray Base;
H A DRegExpMatchesArray.h23 #include "JSArray.h"
29 class RegExpMatchesArray : public JSArray {
36 typedef JSArray Base;
74 return JSArray::getOwnPropertySlot(thisObject, exec, propertyName, slot);
84 return JSArray::getOwnPropertySlotByIndex(thisObject, exec, propertyName, slot);
91 return JSArray::getOwnPropertyDescriptor(thisObject, exec, propertyName, descriptor);
98 JSArray::put(thisObject, exec, propertyName, v, slot);
105 JSArray::putByIndex(thisObject, exec, propertyName, v, shouldThrow);
112 return JSArray::deleteProperty(thisObject, exec, propertyName);
119 return JSArray
[all...]
H A DRegExpMatchesArray.cpp34 const ClassInfo RegExpMatchesArray::s_info = {"Array", &JSArray::s_info, 0, 0, CREATE_METHOD_TABLE(RegExpMatchesArray)};
37 : JSArray(vm, globalObject->regExpMatchesArrayStructure(), butterfly)
96 JSArray::put(this, exec, exec->propertyNames().index, jsNumber(m_result.start), slot);
97 JSArray::put(this, exec, exec->propertyNames().input, m_input.get(), slot);
H A DJSArray.cpp24 #include "JSArray.h"
47 ASSERT_HAS_TRIVIAL_DESTRUCTOR(JSArray);
49 const ClassInfo JSArray::s_info = {"Array", &JSNonFinalObject::s_info, 0, 0, CREATE_METHOD_TABLE(JSArray)};
64 void JSArray::setLengthWritable(ExecState* exec, bool writable)
78 bool JSArray::defineOwnProperty(JSObject* object, ExecState* exec, PropertyName propertyName, PropertyDescriptor& descriptor, bool throwException)
80 JSArray* array = jsCast<JSArray*>(object);
179 bool JSArray::getOwnPropertySlot(JSCell* cell, ExecState* exec, PropertyName propertyName, PropertySlot& slot)
181 JSArray* thisObjec
[all...]
H A DArrayPrototype.cpp90 const ClassInfo ArrayPrototype::s_info = {"Array", &JSArray::s_info, 0, ExecState::arrayPrototypeTable, CREATE_METHOD_TABLE(ArrayPrototype)};
127 : JSArray(globalObject->vm(), structure, 0)
141 return getStaticFunctionSlot<JSArray>(exec, ExecState::arrayPrototypeTable(exec), jsCast<ArrayPrototype*>(cell), propertyName, slot);
146 return getStaticFunctionDescriptor<JSArray>(exec, ExecState::arrayPrototypeTable(exec), jsCast<ArrayPrototype*>(object), propertyName, descriptor);
195 template<JSArray::ShiftCountMode shiftCountMode>
205 JSArray* array = asArray(thisObj);
233 template<JSArray::ShiftCountMode shiftCountMode>
249 JSArray* array = asArray(thisObj);
297 JSArray* thisObj = asArray(thisValue);
334 if (!thisValue.inherits(&JSArray
[all...]
H A DArrayConstructor.h30 class JSArray;
H A DJSONObject.cpp32 #include "JSArray.h"
217 if (m_replacer.asObject()->inherits(&JSArray::s_info)) {
361 if (value.isUndefined() && !holder->inherits(&JSArray::s_info))
404 if (holder->inherits(&JSArray::s_info)) {
464 , m_isArray(object->inherits(&JSArray::s_info))
639 LocalStack<JSArray, 16> arrayStack(m_exec->vm());
651 ASSERT(isJSArray(asObject(inValue)) || asObject(inValue)->inherits(&JSArray::s_info));
655 JSArray* array = asArray(inValue);
662 JSArray* array = arrayStack.peek();
688 JSArray* arra
[all...]
H A DJSGlobalObject.h26 #include "JSArray.h"
485 inline JSArray* constructEmptyArray(ExecState* exec, ArrayAllocationProfile* profile, JSGlobalObject* globalObject, unsigned initialLength = 0)
487 return ArrayAllocationProfile::updateLastAllocationFor(profile, JSArray::create(exec->vm(), initialLength >= MIN_SPARSE_ARRAY_INDEX ? globalObject->arrayStructureForIndexingTypeDuringAllocation(ArrayWithArrayStorage) : globalObject->arrayStructureForProfileDuringAllocation(profile), initialLength));
490 inline JSArray* constructEmptyArray(ExecState* exec, ArrayAllocationProfile* profile, unsigned initialLength = 0)
495 inline JSArray* constructArray(ExecState* exec, ArrayAllocationProfile* profile, JSGlobalObject* globalObject, const ArgList& values)
500 inline JSArray* constructArray(ExecState* exec, ArrayAllocationProfile* profile, const ArgList& values)
505 inline JSArray* constructArray(ExecState* exec, ArrayAllocationProfile* profile, JSGlobalObject* globalObject, const JSValue* values, unsigned length)
510 inline JSArray* constructArray(ExecState* exec, ArrayAllocationProfile* profile, const JSValue* values, unsigned length)
/macosx-10.9.5/JavaScriptCore-7537.78.1/profiler/
H A DProfilerOSRExitSite.cpp39 JSArray* result = constructEmptyArray(exec, 0);
H A DProfilerBytecodeSequence.cpp78 JSArray* header = constructEmptyArray(exec, 0);
83 JSArray* sequence = constructEmptyArray(exec, 0);
H A DProfilerCompilation.cpp100 JSArray* profiledBytecodes = constructEmptyArray(exec, 0);
105 JSArray* descriptions = constructEmptyArray(exec, 0);
110 JSArray* counters = constructEmptyArray(exec, 0);
120 JSArray* exitSites = constructEmptyArray(exec, 0);
125 JSArray* exits = constructEmptyArray(exec, 0);
H A DProfilerDatabase.cpp98 JSArray* bytecodes = constructEmptyArray(exec, 0);
103 JSArray* compilations = constructEmptyArray(exec, 0);
H A DProfilerOriginStack.cpp102 JSArray* result = constructEmptyArray(exec, 0);
/macosx-10.9.5/WebCore-7537.78.1/bindings/js/
H A DJSMicroDataItemValueCustom.cpp37 #include <runtime/JSArray.h>
H A DArrayValue.cpp30 #include <runtime/JSArray.h>
65 JSArray* array = asArray(m_value);
H A DJSDOMStringListCustom.cpp34 JSArray* array = asArray(value);
H A DJSInspectorFrontendHostCustom.cpp44 #include <runtime/JSArray.h>
89 static void populateContextMenuItems(ExecState* exec, JSArray* array, ContextMenu& menu)
108 } else if (typeString == "subMenu" && subItems.inherits(&JSArray::s_info)) {
110 JSArray* subItemsArray = asArray(subItems);
137 JSArray* array = asArray(exec->argument(1));
H A DJSBlobCustom.cpp44 #include <runtime/JSArray.h>
113 JSArray* array = asArray(firstArg);
H A DJSInjectedScriptHostCustom.cpp67 #include <runtime/JSArray.h>
137 if (value.inherits(&JSArray::s_info))
202 static JSArray* getJSListenerFunctions(ExecState* exec, Document* document, const EventListenerInfo& listenerInfo)
204 JSArray* result = constructEmptyArray(exec, 0);
246 JSArray* listeners = getJSListenerFunctions(exec, document, listenersArray[i]);
H A DIDBBindingUtilities.cpp88 JSArray* outArray = constructEmptyArray(exec, 0, globalObject, size);
113 static PassRefPtr<IDBKey> createIDBKeyFromValue(ExecState* exec, JSValue value, Vector<JSArray*>& stack)
123 if (isJSArray(object) || object->inherits(&JSArray::s_info)) {
124 JSArray* array = asArray(object);
152 Vector<JSArray*> stack;
/macosx-10.9.5/WebCore-7537.78.1/bridge/
H A Druntime_array.h35 class RuntimeArray : public JSArray {
37 typedef JSArray Base;
84 static const unsigned StructureFlags = OverridesGetOwnPropertySlot | InterceptsGetOwnPropertySlotByIndexEvenWhenLengthIsNotZero | OverridesGetPropertyNames | JSArray::StructureFlags;
/macosx-10.9.5/JavaScriptCore-7537.78.1/dfg/
H A DDFGOperations.h54 A: JSArray*
62 typedef EncodedJSValue DFG_OPERATION (*J_DFGOperation_EA)(ExecState*, JSArray*);
63 typedef EncodedJSValue DFG_OPERATION (*J_DFGOperation_EAZ)(ExecState*, JSArray*, int32_t);
68 typedef EncodedJSValue DFG_OPERATION (*J_DFGOperation_EDA)(ExecState*, double, JSArray*);
74 typedef EncodedJSValue DFG_OPERATION (*J_DFGOperation_EJA)(ExecState*, EncodedJSValue, JSArray*);
140 EncodedJSValue DFG_OPERATION operationGetByValArrayInt(ExecState*, JSArray*, int32_t) WTF_INTERNAL;
166 EncodedJSValue DFG_OPERATION operationArrayPush(ExecState*, EncodedJSValue encodedValue, JSArray*) WTF_INTERNAL;
167 EncodedJSValue DFG_OPERATION operationArrayPushDouble(ExecState*, double value, JSArray*) WTF_INTERNAL;
168 EncodedJSValue DFG_OPERATION operationArrayPop(ExecState*, JSArray*) WTF_INTERNAL;
169 EncodedJSValue DFG_OPERATION operationArrayPopAndRecoverLength(ExecState*, JSArray*) WTF_INTERNA
[all...]

Completed in 200 milliseconds

123