Home
last modified time | relevance | path

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

12

/external/webkit/Source/JavaScriptCore/runtime/
DBooleanPrototype.cpp43 setInternalValue(exec->globalData(), jsBoolean(false)); in BooleanPrototype()
57 if (thisValue == jsBoolean(false)) in booleanProtoFuncToString()
60 if (thisValue == jsBoolean(true)) in booleanProtoFuncToString()
66 if (asBooleanObject(thisValue)->internalValue() == jsBoolean(false)) in booleanProtoFuncToString()
69 ASSERT(asBooleanObject(thisValue)->internalValue() == jsBoolean(true)); in booleanProtoFuncToString()
DRegExpObject.cpp94 return jsBoolean(asRegExpObject(slotBase)->regExp()->global()); in regExpObjectGlobal()
99 return jsBoolean(asRegExpObject(slotBase)->regExp()->ignoreCase()); in regExpObjectIgnoreCase()
104 return jsBoolean(asRegExpObject(slotBase)->regExp()->multiline()); in regExpObjectMultiline()
129 return jsBoolean(match(exec)); in test()
DObjectPrototype.cpp92 …return JSValue::encode(jsBoolean(thisValue.toThisObject(exec)->hasOwnProperty(exec, Identifier(exe… in objectProtoFuncHasOwnProperty()
101 return JSValue::encode(jsBoolean(false)); in objectProtoFuncIsPrototypeOf()
107 return JSValue::encode(jsBoolean(false)); in objectProtoFuncIsPrototypeOf()
109 return JSValue::encode(jsBoolean(true)); in objectProtoFuncIsPrototypeOf()
149 …return JSValue::encode(jsBoolean(thisValue.toThisObject(exec)->propertyIsEnumerable(exec, Identifi… in objectProtoFuncPropertyIsEnumerable()
DBooleanConstructor.cpp44 obj->setInternalValue(exec->globalData(), jsBoolean(args.at(0).toBoolean(exec))); in constructBoolean()
63 return JSValue::encode(jsBoolean(exec->argument(0).toBoolean(exec))); in callBooleanConstructor()
DObjectConstructor.cpp154 …description->putDirect(exec->globalData(), exec->propertyNames().writable, jsBoolean(descriptor.wr… in objectConstructorGetOwnPropertyDescriptor()
160 …description->putDirect(exec->globalData(), exec->propertyNames().enumerable, jsBoolean(descriptor.… in objectConstructorGetOwnPropertyDescriptor()
161 …description->putDirect(exec->globalData(), exec->propertyNames().configurable, jsBoolean(descripto… in objectConstructorGetOwnPropertyDescriptor()
385 return JSValue::encode(jsBoolean(asObject(obj)->isSealed(exec->globalData()))); in objectConstructorIsSealed()
393 return JSValue::encode(jsBoolean(asObject(obj)->isFrozen(exec->globalData()))); in objectConstructorIsFrozen()
401 return JSValue::encode(jsBoolean(asObject(obj)->isExtensible())); in objectConstructorIsExtensible()
DJSValueInlineMethods.h437 ASSERT(asValue() == jsBoolean(true) || asValue() == jsBoolean(false)); in getBoolean()
438 return asValue() == jsBoolean(true); in getBoolean()
DArrayConstructor.cpp98 return JSValue::encode(jsBoolean(exec->argument(0).inherits(&JSArray::s_info))); in arrayConstructorIsArray()
DLiteralParser.cpp413 lastValue = jsBoolean(true); in parse()
418 lastValue = jsBoolean(false); in parse()
DArrayPrototype.cpp785 JSValue result = jsBoolean(true); in arrayProtoFuncEvery()
802 return JSValue::encode(jsBoolean(false)); in arrayProtoFuncEvery()
820 result = jsBoolean(false); in arrayProtoFuncEvery()
893 JSValue result = jsBoolean(false); in arrayProtoFuncSome()
910 return JSValue::encode(jsBoolean(true)); in arrayProtoFuncSome()
928 result = jsBoolean(true); in arrayProtoFuncSome()
DJSGlobalObjectFunctions.cpp490 return JSValue::encode(jsBoolean(isnan(exec->argument(0).toNumber(exec)))); in globalFuncIsNaN()
496 return JSValue::encode(jsBoolean(!isnan(n) && !isinf(n))); in globalFuncIsFinite()
/external/webkit/Source/WebCore/bindings/js/
DJSCustomApplicationInstalledCallback.cpp50 args.append(jsBoolean(isInstalled)); in handleEvent()
DJSDOMApplicationCacheCustom.cpp57 return jsBoolean(result); in hasItem()
DJSDOMBinding.cpp215 return jsBoolean(false); in jsStringOrFalse()
241 return jsBoolean(false); in jsStringOrFalse()
DScriptFunctionCall.cpp114 m_arguments.append(jsBoolean(argument)); in appendArgument()
/external/webkit/Source/WebCore/bridge/jni/jsc/
DJavaInstanceJSC.cpp114 return jsBoolean(booleanValue); in booleanValue()
250 resultValue = jsBoolean(result.z); in invokeMethod()
DJavaArrayJSC.cpp176 return jsBoolean(aBoolean); in valueAt()
DJavaFieldJSC.cpp120 …jsresult = jsBoolean(dispatchValueFromInstance(exec, instance, "getBoolean", "(Ljava/lang/Object;)… in valueFromInstance()
/external/webkit/Source/JavaScriptCore/interpreter/
DInterpreter.cpp1574 callFrame->uncheckedR(dst) = jsBoolean(src1.asInt32() == src2.asInt32()); in privateExecute()
1576 JSValue result = jsBoolean(JSValue::equalSlowCase(callFrame, src1, src2)); in privateExecute()
1594 callFrame->uncheckedR(dst) = jsBoolean(true); in privateExecute()
1599 …callFrame->uncheckedR(dst) = jsBoolean(src.isCell() && src.asCell()->structure()->typeInfo().masqu… in privateExecute()
1614 callFrame->uncheckedR(dst) = jsBoolean(src1.asInt32() != src2.asInt32()); in privateExecute()
1616 JSValue result = jsBoolean(!JSValue::equalSlowCase(callFrame, src1, src2)); in privateExecute()
1634 callFrame->uncheckedR(dst) = jsBoolean(false); in privateExecute()
1639 …callFrame->uncheckedR(dst) = jsBoolean(!src.isCell() || !src.asCell()->structure()->typeInfo().mas… in privateExecute()
1655 callFrame->uncheckedR(dst) = jsBoolean(result); in privateExecute()
1672 callFrame->uncheckedR(dst) = jsBoolean(result); in privateExecute()
[all …]
/external/webkit/Source/JavaScriptGlue/
DUserObjectImp.cpp179 result = jsBoolean(true); in toPrimitive()
181 result = jsBoolean(false); in toPrimitive()
/external/webkit/Source/WebCore/bridge/c/
Dc_utility.cpp121 return jsBoolean(NPVARIANT_TO_BOOLEAN(*variant)); in convertNPVariantToValue()
Dc_instance.cpp284 return jsBoolean(false); in booleanValue()
/external/webkit/Source/JavaScriptCore/jit/
DJITStubs.cpp1869 return JSValue::encode(jsBoolean(false)); in DEFINE_STUB_FUNCTION()
1877 JSValue result = jsBoolean(asObject(baseVal)->hasInstance(callFrame, value, proto)); in DEFINE_STUB_FUNCTION()
1892 JSValue result = jsBoolean(couldDelete); in DEFINE_STUB_FUNCTION()
2559 …JSValue result = jsBoolean(jsLessEq(callFrame, stackFrame.args[0].jsValue(), stackFrame.args[1].js… in DEFINE_STUB_FUNCTION()
2833 JSValue result = jsBoolean(!src.toBoolean(callFrame)); in DEFINE_STUB_FUNCTION()
3113 …JSValue result = jsBoolean(jsLess(callFrame, stackFrame.args[0].jsValue(), stackFrame.args[1].jsVa… in DEFINE_STUB_FUNCTION()
3278 …return JSValue::encode(jsBoolean(v.isCell() ? v.asCell()->structure()->typeInfo().masqueradesAsUnd… in DEFINE_STUB_FUNCTION()
3285 return JSValue::encode(jsBoolean(stackFrame.args[0].jsValue().isBoolean())); in DEFINE_STUB_FUNCTION()
3292 return JSValue::encode(jsBoolean(stackFrame.args[0].jsValue().isNumber())); in DEFINE_STUB_FUNCTION()
3299 …return JSValue::encode(jsBoolean(isJSString(stackFrame.globalData, stackFrame.args[0].jsValue()))); in DEFINE_STUB_FUNCTION()
[all …]
DJITOpcodes.cpp414 move(TrustedImmPtr(JSValue::encode(jsBoolean(true))), regT0); in emit_op_instanceof()
425 move(TrustedImmPtr(JSValue::encode(jsBoolean(false))), regT0); in emit_op_instanceof()
717 addJump(branchPtr(Equal, regT0, TrustedImmPtr(JSValue::encode(jsBoolean(false)))), target); in emit_op_jfalse()
718 addSlowCase(branchPtr(NotEqual, regT0, TrustedImmPtr(JSValue::encode(jsBoolean(true))))); in emit_op_jfalse()
837 addJump(branchPtr(Equal, regT0, TrustedImmPtr(JSValue::encode(jsBoolean(true)))), target); in emit_op_jtrue()
838 addSlowCase(branchPtr(NotEqual, regT0, TrustedImmPtr(JSValue::encode(jsBoolean(false))))); in emit_op_jtrue()
/external/webkit/Source/WebKit2/WebProcess/Plugins/Netscape/
DNPRuntimeObjectMap.cpp124 return jsBoolean(variant.value.boolValue); in convertNPVariantToJSValue()
/external/webkit/Source/WebCore/bridge/objc/
Dobjc_utility.mm241 return jsBoolean(true);
243 return jsBoolean(false);

12