Home
last modified time | relevance | path

Searched refs:jsBoolean (Results 1 – 25 of 40) sorted by relevance

12

/external/webkit/JavaScriptCore/runtime/
DBooleanPrototype.cpp43 setInternalValue(jsBoolean(false)); in BooleanPrototype()
56 if (thisValue == jsBoolean(false)) in booleanProtoFuncToString()
59 if (thisValue == jsBoolean(true)) in booleanProtoFuncToString()
65 if (asBooleanObject(thisValue)->internalValue() == jsBoolean(false)) in booleanProtoFuncToString()
68 ASSERT(asBooleanObject(thisValue)->internalValue() == jsBoolean(true)); in booleanProtoFuncToString()
DObjectPrototype.cpp71 …return jsBoolean(thisValue.toThisObject(exec)->hasOwnProperty(exec, Identifier(exec, args.at(0).to… in objectProtoFuncHasOwnProperty()
79 return jsBoolean(false); in objectProtoFuncIsPrototypeOf()
85 return jsBoolean(false); in objectProtoFuncIsPrototypeOf()
87 return jsBoolean(true); in objectProtoFuncIsPrototypeOf()
122 …return jsBoolean(thisValue.toThisObject(exec)->propertyIsEnumerable(exec, Identifier(exec, args.at… in objectProtoFuncPropertyIsEnumerable()
DRegExpObject.cpp77 return jsBoolean(asRegExpObject(slot.slotBase())->regExp()->global()); in regExpObjectGlobal()
82 return jsBoolean(asRegExpObject(slot.slotBase())->regExp()->ignoreCase()); in regExpObjectIgnoreCase()
87 return jsBoolean(asRegExpObject(slot.slotBase())->regExp()->multiline()); in regExpObjectMultiline()
112 return jsBoolean(match(exec, args)); in test()
DBooleanConstructor.cpp44 obj->setInternalValue(jsBoolean(args.at(0).toBoolean(exec))); in constructBoolean()
62 return jsBoolean(args.at(0).toBoolean(exec)); in callBooleanConstructor()
DLiteralParser.cpp401 lastValue = jsBoolean(true); in parse()
406 lastValue = jsBoolean(false); in parse()
DJSImmediate.h593 return asValue() == jsBoolean(true); in getBoolean()
633 return jsBoolean(v1 == v2); in equal()
639 return jsBoolean(v1 != v2); in notEqual()
DArrayPrototype.cpp712 JSValue result = jsBoolean(true); in arrayProtoFuncEvery()
730 return jsBoolean(false); in arrayProtoFuncEvery()
748 result = jsBoolean(false); in arrayProtoFuncEvery()
813 JSValue result = jsBoolean(false); in arrayProtoFuncSome()
831 return jsBoolean(true); in arrayProtoFuncSome()
847 result = jsBoolean(true); in arrayProtoFuncSome()
DJSGlobalObjectFunctions.cpp331 return jsBoolean(isnan(args.at(0).toNumber(exec))); in globalFuncIsNaN()
337 return jsBoolean(!isnan(n) && !isinf(n)); in globalFuncIsFinite()
/external/webkit/WebCore/bindings/js/
DJSWebSocketCustom.cpp64 JSValue ret = jsBoolean(impl()->send(msg, ec)); in send()
DScriptArray.cpp92 jsArray()->put(m_scriptState, index, jsBoolean(value)); in set()
DJSClipboardCustom.cpp108 return jsBoolean(clipboard->setData(args.at(0).toString(exec), args.at(1).toString(exec))); in setData()
DScriptFunctionCall.cpp103 m_arguments.append(jsBoolean(argument)); in appendArgument()
DJSDOMApplicationCacheCustom.cpp79 return jsBoolean(result); in hasItem()
DScriptObject.cpp113 jsObject()->put(m_scriptState, Identifier(m_scriptState, name), jsBoolean(value), slot); in set()
DJSDOMBinding.cpp383 return jsBoolean(false); in jsStringOrFalse()
404 return jsBoolean(false); in jsStringOrFalse()
DJSInspectorBackendCustom.cpp186 return jsBoolean(setting.booleanValue()); in setting()
/external/webkit/JavaScriptCore/interpreter/
DInterpreter.cpp1271 callFrame->r(dst) = jsBoolean(src1.asInt32() == src2.asInt32()); in privateExecute()
1273 JSValue result = jsBoolean(JSValue::equalSlowCase(callFrame, src1, src2)); in privateExecute()
1291 callFrame->r(dst) = jsBoolean(true); in privateExecute()
1296 …callFrame->r(dst) = jsBoolean(src.isCell() && src.asCell()->structure()->typeInfo().masqueradesAsU… in privateExecute()
1311 callFrame->r(dst) = jsBoolean(src1.asInt32() != src2.asInt32()); in privateExecute()
1313 JSValue result = jsBoolean(!JSValue::equalSlowCase(callFrame, src1, src2)); in privateExecute()
1331 callFrame->r(dst) = jsBoolean(false); in privateExecute()
1336 …callFrame->r(dst) = jsBoolean(!src.isCell() || !asCell(src)->structure()->typeInfo().masqueradesAs… in privateExecute()
1350 callFrame->r(dst) = jsBoolean(JSValue::strictEqual(src1, src2)); in privateExecute()
1365 callFrame->r(dst) = jsBoolean(!JSValue::strictEqual(src1, src2)); in privateExecute()
[all …]
/external/webkit/JavaScriptCore/jit/
DJITStubs.cpp1421 return JSValue::encode(jsBoolean(false)); in DEFINE_STUB_FUNCTION()
1429 JSValue result = jsBoolean(asObject(baseVal)->hasInstance(callFrame, value, proto)); in DEFINE_STUB_FUNCTION()
1443 JSValue result = jsBoolean(baseObj->deleteProperty(callFrame, stackFrame.args[1].identifier())); in DEFINE_STUB_FUNCTION()
2009 …JSValue result = jsBoolean(jsLessEq(callFrame, stackFrame.args[0].jsValue(), stackFrame.args[1].js… in DEFINE_STUB_FUNCTION()
2268 JSValue result = jsBoolean(!src.toBoolean(callFrame)); in DEFINE_STUB_FUNCTION()
2543 …JSValue result = jsBoolean(jsLess(callFrame, stackFrame.args[0].jsValue(), stackFrame.args[1].jsVa… in DEFINE_STUB_FUNCTION()
2716 …return JSValue::encode(jsBoolean(v.isCell() ? v.asCell()->structure()->typeInfo().masqueradesAsUnd… in DEFINE_STUB_FUNCTION()
2723 return JSValue::encode(jsBoolean(stackFrame.args[0].jsValue().isBoolean())); in DEFINE_STUB_FUNCTION()
2730 return JSValue::encode(jsBoolean(stackFrame.args[0].jsValue().isNumber())); in DEFINE_STUB_FUNCTION()
2737 …return JSValue::encode(jsBoolean(isJSString(stackFrame.globalData, stackFrame.args[0].jsValue()))); in DEFINE_STUB_FUNCTION()
[all …]
/external/webkit/WebCore/bridge/jni/
Djni_instance.cpp108 return jsBoolean(booleanValue); in booleanValue()
239 resultValue = jsBoolean(result.z); in invokeMethod()
Djni_runtime.cpp132 …jsresult = jsBoolean(dispatchValueFromInstance(exec, instance, "getBoolean", "(Ljava/lang/Object;)… in valueFromInstance()
487 return jsBoolean(aBoolean); in valueAt()
/external/webkit/JavaScriptGlue/
DUserObjectImp.cpp184 result = jsBoolean(true); in toPrimitive()
186 result = jsBoolean(false); in toPrimitive()
DJSUtils.cpp171 result = jsBoolean(CFBooleanGetValue((CFBooleanRef)cfType)); in JSObjectKJSValue()
/external/webkit/WebCore/bridge/c/
Dc_utility.cpp115 return jsBoolean(NPVARIANT_TO_BOOLEAN(*variant)); in convertNPVariantToValue()
Dc_instance.cpp245 return jsBoolean(false); in booleanValue()
/external/webkit/WebCore/bridge/objc/
Dobjc_utility.mm241 return jsBoolean(true);
243 return jsBoolean(false);

12