Home
last modified time | relevance | path

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

12

/external/webkit/JavaScriptCore/runtime/
DBooleanPrototype.cpp42 setInternalValue(jsBoolean(false)); in BooleanPrototype()
55 if (thisValue == jsBoolean(false)) in booleanProtoFuncToString()
58 if (thisValue == jsBoolean(true)) in booleanProtoFuncToString()
64 if (asBooleanObject(thisValue)->internalValue() == jsBoolean(false)) in booleanProtoFuncToString()
67 ASSERT(asBooleanObject(thisValue)->internalValue() == jsBoolean(true)); in booleanProtoFuncToString()
DObjectPrototype.cpp70 …return jsBoolean(thisValue.toThisObject(exec)->hasOwnProperty(exec, Identifier(exec, args.at(exec,… in objectProtoFuncHasOwnProperty()
78 return jsBoolean(false); in objectProtoFuncIsPrototypeOf()
84 return jsBoolean(false); in objectProtoFuncIsPrototypeOf()
86 return jsBoolean(true); in objectProtoFuncIsPrototypeOf()
121 …return jsBoolean(thisValue.toThisObject(exec)->propertyIsEnumerable(exec, Identifier(exec, args.at… in objectProtoFuncPropertyIsEnumerable()
DRegExpObject.cpp76 return jsBoolean(asRegExpObject(slot.slotBase())->regExp()->global()); in regExpObjectGlobal()
81 return jsBoolean(asRegExpObject(slot.slotBase())->regExp()->ignoreCase()); in regExpObjectIgnoreCase()
86 return jsBoolean(asRegExpObject(slot.slotBase())->regExp()->multiline()); in regExpObjectMultiline()
111 return jsBoolean(match(exec, args)); in test()
DBooleanConstructor.cpp44 obj->setInternalValue(jsBoolean(args.at(exec, 0).toBoolean(exec))); in constructBoolean()
62 return jsBoolean(args.at(exec, 0).toBoolean(exec)); in callBooleanConstructor()
DJSImmediate.cpp92 if (jsBoolean(false) == v) in toString()
94 if (jsBoolean(true) == v) in toString()
DJSImmediate.h47 JSValuePtr jsBoolean(bool b);
165 friend JSValuePtr jsBoolean(bool b);
590 inline JSValuePtr jsBoolean(bool b) in jsBoolean() function
643 return asValue() == jsBoolean(true); in getBoolean()
749 return jsBoolean(v1 == v2); in equal()
755 return jsBoolean(v1 != v2); in notEqual()
DJSGlobalObjectFunctions.cpp322 return jsBoolean(isnan(args.at(exec, 0).toNumber(exec))); in globalFuncIsNaN()
328 return jsBoolean(!isnan(n) && !isinf(n)); in globalFuncIsFinite()
DArrayPrototype.cpp654 JSValuePtr result = jsBoolean(true); in arrayProtoFuncEvery()
672 result = jsBoolean(false); in arrayProtoFuncEvery()
720 JSValuePtr result = jsBoolean(false); in arrayProtoFuncSome()
736 result = jsBoolean(true); in arrayProtoFuncSome()
DRegExpConstructor.cpp281 return jsBoolean(asRegExpConstructor(slot.slotBase())->multiline()); in regExpConstructorMultiline()
/external/webkit/JavaScriptCore/interpreter/
DInterpreter.cpp1539 JSValuePtr result = jsBoolean(JSValuePtr::equalSlowCase(callFrame, src1, src2)); in privateExecute()
1557 callFrame[dst] = jsBoolean(true); in privateExecute()
1562 …callFrame[dst] = jsBoolean(src.isCell() && src.asCell()->structure()->typeInfo().masqueradesAsUnde… in privateExecute()
1579 JSValuePtr result = jsBoolean(!JSValuePtr::equalSlowCase(callFrame, src1, src2)); in privateExecute()
1597 callFrame[dst] = jsBoolean(false); in privateExecute()
1602 …callFrame[dst] = jsBoolean(!src.isCell() || !asCell(src)->structure()->typeInfo().masqueradesAsUnd… in privateExecute()
1616 callFrame[dst] = jsBoolean(JSValuePtr::strictEqual(src1, src2)); in privateExecute()
1631 callFrame[dst] = jsBoolean(!JSValuePtr::strictEqual(src1, src2)); in privateExecute()
1646 JSValuePtr result = jsBoolean(jsLess(callFrame, src1, src2)); in privateExecute()
1663 JSValuePtr result = jsBoolean(jsLessEq(callFrame, src1, src2)); in privateExecute()
[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/bindings/js/
DJSClipboardCustom.cpp108 …return jsBoolean(clipboard->setData(args.at(exec, 0).toString(exec), args.at(exec, 1).toString(exe… in setData()
DJSDOMApplicationCacheCustom.cpp96 return jsBoolean(result); in hasItem()
DJSDOMBinding.cpp367 return jsBoolean(false); in jsStringOrFalse()
388 return jsBoolean(false); in jsStringOrFalse()
/external/webkit/WebCore/bridge/c/
Dc_utility.cpp115 return jsBoolean(NPVARIANT_TO_BOOLEAN(*variant)); in convertNPVariantToValue()
Dc_instance.cpp242 return jsBoolean(false); in booleanValue()
/external/webkit/JavaScriptCore/jit/
DJIT.cpp254 move(ImmPtr(JSValuePtr::encode(jsBoolean(!negated))), X86::eax); in compileOpStrictEq()
274 move(ImmPtr(JSValuePtr::encode(jsBoolean(negated))), X86::eax); in compileOpStrictEq()
458 move(ImmPtr(JSValuePtr::encode(jsBoolean(true))), X86::eax); in privateCompileMainPass()
470 move(ImmPtr(JSValuePtr::encode(jsBoolean(false))), X86::eax); in privateCompileMainPass()
675 addJump(jePtr(X86::eax, ImmPtr(JSValuePtr::encode(jsBoolean(true)))), target + 2); in privateCompileMainPass()
676 addSlowCase(jnePtr(X86::eax, ImmPtr(JSValuePtr::encode(jsBoolean(false))))); in privateCompileMainPass()
774 addJump(jePtr(X86::eax, ImmPtr(JSValuePtr::encode(jsBoolean(false)))), target + 2); in privateCompileMainPass()
775 addSlowCase(jnePtr(X86::eax, ImmPtr(JSValuePtr::encode(jsBoolean(true))))); in privateCompileMainPass()
900 addJump(jePtr(X86::eax, ImmPtr(JSValuePtr::encode(jsBoolean(true)))), target + 2); in privateCompileMainPass()
901 addSlowCase(jnePtr(X86::eax, ImmPtr(JSValuePtr::encode(jsBoolean(false))))); in privateCompileMainPass()
/external/webkit/WebCore/bridge/objc/
Dobjc_utility.mm241 return jsBoolean(true);
243 return jsBoolean(false);
Dobjc_instance.mm383 return jsBoolean(false);
/external/webkit/JavaScriptCore/API/
DJSValueRef.cpp170 return toRef(jsBoolean(value)); in JSValueMakeBoolean()
/external/webkit/WebCore/bridge/qt/
Dqt_instance.cpp303 return jsBoolean(true); in booleanValue()
/external/webkit/JavaScriptCore/bytecompiler/
DBytecodeGenerator.cpp873 return emitLoad(dst, jsBoolean(b)); in emitLoad()
908 instructions().append(addUnexpectedConstant(jsBoolean(b))); in emitUnexpectedLoad()

12