/external/webkit/Source/WebCore/bindings/js/ |
JSArrayBufferViewHelper.h | 38 #include <runtime/JSValue.h> 43 JSC::JSValue setWebGLArrayHelper(JSC::ExecState* exec, T* impl, T* (*conversionFunc)(JSC::JSValue)) 73 JSC::JSValue v = array->get(exec, i); 145 JSC::JSValue v = srcArray->get(exec, i); 161 static JSC::JSValue toJSArrayBufferView(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, WebCoreType* object)
|
JSDOMWindowShell.h | 61 static JSC::Structure* createStructure(JSC::JSGlobalData& globalData, JSC::JSValue prototype) 75 virtual void put(JSC::ExecState*, const JSC::Identifier& propertyName, JSC::JSValue, JSC::PutPropertySlot&); 76 virtual void putWithAttributes(JSC::ExecState*, const JSC::Identifier& propertyName, JSC::JSValue, unsigned attributes); 83 virtual JSC::JSValue lookupGetter(JSC::ExecState*, const JSC::Identifier& propertyName); 84 virtual JSC::JSValue lookupSetter(JSC::ExecState*, const JSC::Identifier& propertyName); 91 JSC::JSValue toJS(JSC::ExecState*, Frame*);
|
JSDirectoryEntryCustom.cpp | 48 JSValue JSDirectoryEntry::getFile(ExecState* exec) 65 JSValue jsCreate = object->get(exec, Identifier(exec, "create")); 67 JSValue jsExclusive = object->get(exec, Identifier(exec, "exclusive")); 94 JSValue JSDirectoryEntry::getDirectory(ExecState* exec) 111 JSValue jsCreate = object->get(exec, Identifier(exec, "create")); 113 JSValue jsExclusive = object->get(exec, Identifier(exec, "exclusive"));
|
JSGeolocationCustom.cpp | 48 static PassRefPtr<PositionOptions> createPositionOptions(ExecState* exec, JSValue value) 66 JSValue enableHighAccuracyValue = object->get(exec, Identifier(exec, "enableHighAccuracy")); 75 JSValue timeoutValue = object->get(exec, Identifier(exec, "timeout")); 91 JSValue maximumAgeValue = object->get(exec, Identifier(exec, "maximumAge")); 112 JSValue JSGeolocation::getCurrentPosition(ExecState* exec) 134 JSValue JSGeolocation::watchPosition(ExecState* exec)
|
ScriptValue.cpp | 73 return JSValueIsEqual(toRef(scriptState), toRef(scriptState, jsValue()), toRef(scriptState, anotherValue.jsValue()), 0); 105 return SerializedScriptValue::create(scriptState, jsValue(), throwExceptions); 114 static PassRefPtr<InspectorValue> jsToInspectorValue(ScriptState* scriptState, JSValue value) 136 JSValue element = array->getIndex(i); 152 JSValue propertyValue = object->get(scriptState, name);
|
JSDOMWindowShell.cpp | 98 void JSDOMWindowShell::put(ExecState* exec, const Identifier& propertyName, JSValue value, PutPropertySlot& slot) 103 void JSDOMWindowShell::putWithAttributes(ExecState* exec, const Identifier& propertyName, JSValue value, unsigned attributes) 138 JSValue JSDOMWindowShell::lookupGetter(ExecState* exec, const Identifier& propertyName) 143 JSValue JSDOMWindowShell::lookupSetter(ExecState* exec, const Identifier& propertyName) 171 JSValue toJS(ExecState* exec, Frame* frame)
|
JSPluginElementFunctions.cpp | 103 JSValue runtimeObjectPropertyGetter(ExecState* exec, JSValue slotBase, const Identifier& propertyName) 141 bool runtimeObjectCustomPut(ExecState* exec, const Identifier& propertyName, JSValue value, JSHTMLElement* element, PutPropertySlot& slot) 170 JSValue result = call(exec, scriptObject, callType, callData, exec->hostThisValue(), argumentList); 171 return JSValue::encode(result);
|
/external/webkit/Source/WebCore/bridge/ |
runtime_array.cpp | 54 JSValue RuntimeArray::lengthGetter(ExecState*, JSValue slotBase, const Identifier&) 60 JSValue RuntimeArray::indexGetter(ExecState* exec, JSValue slotBase, unsigned index) 130 void RuntimeArray::put(ExecState* exec, const Identifier& propertyName, JSValue value, PutPropertySlot& slot) 147 void RuntimeArray::put(ExecState* exec, unsigned index, JSValue value)
|
/external/webkit/Source/JavaScriptCore/dfg/ |
DFGJITCompiler.cpp | 83 // This method used to fill a JSValue to a GPR when linking speculative -> non-speculative. 90 JSValue jsValue = jsNumber(valueOfInt32Constant(nodeIndex)); 91 move(MacroAssembler::ImmPtr(JSValue::encode(jsValue)), gprToRegisterID(gpr)); 93 JSValue jsValue(JSValue::EncodeAsDouble, valueOfDoubleConstant(nodeIndex)); 94 move(MacroAssembler::ImmPtr(JSValue::encode(jsValue)), gprToRegisterID(gpr)) [all...] |
/external/webkit/Source/JavaScriptCore/jit/ |
JITCall32_64.cpp | 80 store32(TrustedImm32(JSValue::CellTag), tagFor(RegisterFile::CallerFrame, regT3)); 125 Jump notJSCell = branch32(NotEqual, regT1, TrustedImm32(JSValue::CellTag)); 203 wasEval = branch32(NotEqual, regT1, TrustedImm32(JSValue::EmptyValueTag)); 212 store32(TrustedImm32(JSValue::CellTag), tagFor(RegisterFile::CallerFrame + registerOffset, callFrameRegister)); 260 wasEval = branch32(NotEqual, regT1, TrustedImm32(JSValue::EmptyValueTag)); 277 addSlowCase(branch32(NotEqual, regT1, TrustedImm32(JSValue::CellTag))); 285 store32(TrustedImm32(JSValue::Int32Tag), tagFor(registerOffset + RegisterFile::ArgumentCount)); 289 store32(TrustedImm32(JSValue::CellTag), tagFor(registerOffset + RegisterFile::ScopeChain)); 312 Jump callLinkFailNotObject = branch32(NotEqual, regT1, TrustedImm32(JSValue::CellTag)); 316 store32(TrustedImm32(JSValue::CellTag), tagFor(RegisterFile::CallerFrame + registerOffset, callFrameRegister)) [all...] |
/external/webkit/Source/JavaScriptCore/runtime/ |
JSArray.cpp | 70 // size calculation cannot overflow. (sizeof(ArrayStorage) - sizeof(JSValue)) + 71 // (vectorLength * sizeof(JSValue)) must be <= 0xFFFFFFFFU (which is maximum value of size_t). 72 #define MAX_STORAGE_VECTOR_LENGTH static_cast<unsigned>((0xFFFFFFFFU - (sizeof(ArrayStorage) - sizeof(JSValue))) / sizeof(JSValue)) 108 size_t size = (sizeof(ArrayStorage) - sizeof(JSValue)) + (vectorLength * sizeof(JSValue)); 111 ASSERT(((size - (sizeof(ArrayStorage) - sizeof(JSValue))) / sizeof(JSValue) == vectorLength) && (size >= (sizeof(ArrayStorage) - sizeof(JSValue)))); 254 JSValue value = storage->m_vector[i].get() [all...] |
Arguments.h | 95 static Structure* createStructure(JSGlobalData& globalData, JSValue prototype) 109 virtual void put(ExecState*, const Identifier& propertyName, JSValue, PutPropertySlot&); 110 virtual void put(ExecState*, unsigned propertyName, JSValue); 121 Arguments* asArguments(JSValue); 123 inline Arguments* asArguments(JSValue value) 173 extraArguments[i].set(callFrame->globalData(), this, argv[d->numParameters + i].jsValue()); 207 extraArguments[i].set(callFrame->globalData(), this, argv[i].jsValue());
|
DateConstructor.cpp | 85 JSValue primitive = args.at(0).toPrimitive(exec); 130 return JSValue::encode(constructDate(exec, asInternalFunction(exec->callee())->globalObject(), args)); 150 return JSValue::encode(jsMakeNontrivialString(exec, date, " ", time)); 161 return JSValue::encode(jsNumber(parseDate(exec, exec->argument(0).toString(exec)))); 166 return JSValue::encode(jsNumber(jsCurrentTime())); 188 return JSValue::encode(jsNaN()); 199 return JSValue::encode(jsNumber(timeClip(gregorianDateTimeToMS(exec, t, ms, true))));
|
JSString.h | 57 // likely outlive the JSValue this makes, such as the parse tree or a 264 JSString(ExecState* exec, JSValue v1, JSValue v2, JSValue v3) 350 JSValue replaceCharacter(ExecState*, UChar, const UString& replacement); 352 static Structure* createStructure(JSGlobalData& globalData, JSValue proto) { return Structure::create(globalData, proto, TypeInfo(StringType, OverridesGetOwnPropertySlot | NeedsThisConversion), AnonymousSlotCount, 0); } 383 void appendValueInConstructAndIncrementLength(ExecState* exec, unsigned& index, JSValue v) 400 virtual JSValue toPrimitive(ExecState*, PreferredPrimitiveType) const; 401 virtual bool getPrimitiveNumber(ExecState*, double& number, JSValue& value); 436 friend JSValue jsString(ExecState* exec, JSString* s1, JSString* s2) [all...] |
LiteralParser.cpp | 290 JSValue LiteralParser::parse(ParserState initialState) 294 JSValue lastValue; 310 return JSValue(); 327 return JSValue(); 345 return JSValue(); 352 return JSValue(); 362 return JSValue(); 367 return JSValue(); 381 return JSValue(); 423 return JSValue(); [all...] |
JSFunction.cpp | 107 JSValue thrower = createTypeErrorFunction(exec, message); 118 JSValue displayName = getDirect(exec->globalData(), exec->globalData().propertyNames->displayName); 160 JSValue JSFunction::argumentsGetter(ExecState* exec, JSValue slotBase, const Identifier&) 167 JSValue JSFunction::callerGetter(ExecState* exec, JSValue slotBase, const Identifier&) 174 JSValue JSFunction::lengthGetter(ExecState*, JSValue slotBase, const Identifier&) 278 void JSFunction::put(ExecState* exec, const Identifier& propertyName, JSValue value, PutPropertySlot& slot)
|
Error.cpp | 146 JSValue throwError(ExecState* exec, JSValue error) 179 return JSValue::encode(jsNull()); 191 return JSValue::encode(jsNull()); 206 JSValue createTypeErrorFunction(ExecState* exec, const UString& message)
|
ArrayConstructor.cpp | 72 return JSValue::encode(constructArrayWithSizeQuirk(exec, args)); 85 return JSValue::encode(constructArrayWithSizeQuirk(exec, args)); 98 return JSValue::encode(jsBoolean(exec->argument(0).inherits(&JSArray::s_info)));
|
JSByteArray.cpp | 53 Structure* JSByteArray::createStructure(JSGlobalData& globalData, JSValue prototype, const JSC::ClassInfo* classInfo) 89 void JSByteArray::put(ExecState* exec, const Identifier& propertyName, JSValue value, PutPropertySlot& slot) 100 void JSByteArray::put(ExecState* exec, unsigned propertyName, JSValue value)
|
JSPropertyNameIterator.cpp | 87 JSValue JSPropertyNameIterator::get(ExecState* exec, JSObject* base, size_t i) 89 JSValue identifier = m_jsStrings[i].get(); 94 return JSValue();
|
/external/webkit/Source/WebCore/bridge/jni/jsc/ |
JNIUtilityPrivate.cpp | 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); 136 JSValue item = jsArray->get(exec, i); 147 JSValue item = jsArray->get(exec, i); 158 JSValue item = jsArray->get(exec, i); 175 jvalue convertValueToJValue(ExecState* exec, RootObject* rootObject, JSValue value, JavaType javaType, const char* javaClassName [all...] |
JavaInstanceJSC.cpp | 88 JSValue JavaInstance::stringValue(ExecState* exec) const 105 JSValue JavaInstance::numberValue(ExecState*) const 111 JSValue JavaInstance::booleanValue() const 127 static Structure* createStructure(JSGlobalData& globalData, JSValue prototype) 137 JSValue JavaInstance::getMethod(ExecState* exec, const Identifier& propertyName) 143 JSValue JavaInstance::invokeMethod(ExecState* exec, RuntimeMethod* runtimeMethod) 152 JSValue resultValue; 196 JSValue exceptionDescription; 314 JSValue JavaInstance::defaultValue(ExecState* exec, PreferredPrimitiveType hint) const 330 JSValue JavaInstance::valueOf(ExecState* exec) cons [all...] |
JavaFieldJSC.cpp | 82 JSValue exceptionDescription; 95 JSValue JavaField::valueFromInstance(ExecState* exec, const Instance* i) const 99 JSValue jsresult = jsUndefined(); 167 JSValue exceptionDescription; 181 void JavaField::setValueToInstance(ExecState* exec, const Instance* i, JSValue aValue) const
|
/external/webkit/Source/JavaScriptCore/ |
jsc.cpp | 185 return JSValue::encode(jsUndefined()); 191 return JSValue::encode(jsUndefined()); 198 return JSValue::encode(jsUndefined()); 205 return JSValue::encode(jsUndefined()); 213 return JSValue::encode(throwError(exec, createError(exec, "Could not open file."))); 222 return JSValue::encode(jsNumber(stopWatch.getElapsedMS())); 230 return JSValue::encode(throwError(exec, createError(exec, "Could not open file."))); 236 return JSValue::encode(result.value()); 244 return JSValue::encode(throwError(exec, createError(exec, "Could not open file."))); 255 return JSValue::encode(jsNumber(stopWatch.getElapsedMS())) [all...] |
/external/webkit/Source/WebKit/mac/WebView/ |
WebScriptDebugDelegate.mm | 58 - (id)_convertValueToObjcValue:(JSValue)value; 116 - (id)_convertValueToObjcValue:(JSValue)value 217 JSValue exception = _private->debuggerCallFrame->exception(); 244 JSValue exception; 245 JSValue result = evaluateInGlobalCallFrame(stringToUString(script), exception, globalObject); 251 JSValue exception; 252 JSValue result = _private->debuggerCallFrame->evaluate(stringToUString(script), exception);
|