Home
last modified time | relevance | path

Searched refs:asCell (Results 1 – 25 of 47) sorted by relevance

12

/external/webkit/Source/JavaScriptCore/runtime/
DJSCell.h190 return isCell() && asCell()->isString(); in isString()
195 return isCell() && asCell()->isGetterSetter(); in isGetterSetter()
200 return isCell() && asCell()->isObject(); in isObject()
205 return isCell() && asCell()->getString(exec, s); in getString()
210 return isCell() ? asCell()->getString(exec) : UString(); in getString()
220 return isCell() ? asCell()->getObject() : 0; in getObject()
225 CallType result = value.isCell() ? value.asCell()->getCallData(callData) : CallTypeNone; in getCallData()
232 …ConstructType result = value.isCell() ? value.asCell()->getConstructData(constructData) : Construc… in getConstructData()
254 return isCell() ? asCell()->toPrimitive(exec, preferredType) : asValue(); in toPrimitive()
270 return asCell()->getPrimitiveNumber(exec, number, value); in getPrimitiveNumber()
[all …]
DProtect.h55 gcProtect(value.asCell()); in gcProtect()
61 gcUnprotect(value.asCell()); in gcUnprotect()
DGetterSetter.h66 ASSERT(value.asCell()->isGetterSetter()); in asGetterSetter()
67 return static_cast<GetterSetter*>(value.asCell()); in asGetterSetter()
DJSObject.h45 if (value.isCell() && (value.asCell()->vptr() == globalData.jsFunctionVPtr)) in getJSFunction()
46 return value.asCell(); in getJSFunction()
402 return asObject(value.asCell()); in asObject()
478 return isCell() && asCell()->inherits(classInfo); in inherits()
762 JSCell* cell = asCell(); in get()
787 JSCell* cell = const_cast<JSCell*>(asCell()); in get()
794 cell = prototype.asCell(); in get()
804 asCell()->put(exec, propertyName, value, slot); in put()
810 …if (!asObject(asCell())->putDirect(exec->globalData(), propertyName, value, slot) && slot.isStrict… in putDirect()
820 asCell()->put(exec, propertyName, value); in put()
[all …]
DOperations.h263 return v2.asCell()->structure()->typeInfo().masqueradesAsUndefined(); in equalSlowCaseInline()
269 return v1.asCell()->structure()->typeInfo().masqueradesAsUndefined(); in equalSlowCaseInline()
317 if (v1.asCell()->isString() && v2.asCell()->isString()) in strictEqualSlowCaseInline()
414 JSCell* cell = base.asCell(); in normalizePrototypeChain()
426 cell = v.asCell(); in normalizePrototypeChain()
451 base = v.asCell(); in normalizePrototypeChain()
DJSByteArray.h114 return static_cast<JSByteArray*>(value.asCell()); in asByteArray()
117 …inline bool isJSByteArray(JSGlobalData* globalData, JSValue v) { return v.isCell() && v.asCell()->… in isJSByteArray()
DLookup.cpp74 …ASSERT(thisObj->getAnonymousValue(0).isCell() && asObject(thisObj->getAnonymousValue(0).asCell())-… in setUpStaticFunctionSlot()
80 JSGlobalObject* globalObject = asGlobalObject(thisObj->getAnonymousValue(0).asCell()); in setUpStaticFunctionSlot()
DJSString.h386 ASSERT(v.asCell()->isString()); in appendValueInConstructAndIncrementLength()
387 JSString* s = static_cast<JSString*>(v.asCell()); in appendValueInConstructAndIncrementLength()
459 ASSERT(value.asCell()->isString()); in asString()
460 return static_cast<JSString*>(value.asCell()); in asString()
604 …inline bool isJSString(JSGlobalData* globalData, JSValue v) { return v.isCell() && v.asCell()->vpt… in isJSString()
611 return static_cast<JSString*>(asCell())->value(exec); in toString()
625 return asCell()->toString(exec); in toString()
644 return asCell()->toPrimitive(exec, NoPreference).toString(exec); in toPrimitiveString()
DJSValue.cpp122 snprintf(description, size, "Cell: %p", asCell()); in description()
194 return asObject(asObject(asCell())->getAnonymousValue(0))->isGlobalObject(); in isValidCallee()
DJSObjectWithGlobalObject.h44 return asGlobalObject((getAnonymousValue(GlobalObjectSlot).asCell())); in globalObject()
DJSArray.h182 return asArray(value.asCell()); in asArray()
186 …ay(JSGlobalData* globalData, JSValue v) { return v.isCell() && isJSArray(globalData, v.asCell()); } in isJSArray()
DJSPropertyNameIterator.h103 return static_cast<JSPropertyNameIterator*>(jsValue().asCell()); in propertyNameIterator()
DOperations.cpp88 JSType type = v.asCell()->structure()->typeInfo().type(); in jsIsObjectType()
DStructureTransitionTable.h143 return reinterpret_cast<Structure*>(slot->asCell()); in singleTransition()
/external/webkit/Source/JavaScriptCore/heap/
DHandleHeap.cpp77 JSCell* cell = node->slot()->asCell(); in markWeakHandles()
99 JSCell* cell = node->slot()->asCell(); in finalizeWeakHandles()
145 if (value.isObject() && asObject(value.asCell())->isGlobalObject()) in protectedGlobalObjectCount()
161 JSCell* cell = value.asCell(); in isValidWeakNode()
DHeap.cpp140 m_protectedValues.add(k.asCell()); in protect()
151 return m_protectedValues.remove(k.asCell()); in unprotect()
368 typeCounter(value.asCell()); in protectedObjectTypeCounts()
DMarkStack.cpp105 if (!value || !value.isCell() || Heap::testAndSetMarked(cell = value.asCell())) { in drain()
/external/webkit/Source/WebCore/bindings/js/
DJSNamedNodeMapCustom.cpp44 JSNamedNodeMap* jsNamedNodeMap = static_cast<JSNamedNodeMap*>(handle.get().asCell()); in isReachableFromOpaqueRoots()
55 JSNamedNodeMap* jsNamedNodeMap = static_cast<JSNamedNodeMap*>(handle.get().asCell()); in finalize()
DJSNodeListCustom.cpp46 JSNodeList* jsNodeList = static_cast<JSNodeList*>(handle.get().asCell()); in isReachableFromOpaqueRoots()
56 JSNodeList* jsNodeList = static_cast<JSNodeList*>(handle.get().asCell()); in finalize()
DDOMWrapperWorld.cpp34 JSDOMWrapper* wrapper = static_cast<JSDOMWrapper*>(handle.get().asCell()); in finalize()
DJSNodeCustom.cpp177 JSNode* jsNode = static_cast<JSNode*>(handle.get().asCell()); in isReachableFromOpaqueRoots()
184 JSNode* jsNode = static_cast<JSNode*>(handle.get().asCell()); in finalize()
/external/webkit/Source/JavaScriptCore/API/
DAPICast.h114 return reinterpret_cast<JSValueRef>(JSC::jsAPIValueWrapper(exec, v).asCell()); in toRef()
115 return reinterpret_cast<JSValueRef>(v.asCell()); in toRef()
/external/webkit/Source/JavaScriptCore/interpreter/
DRegisterFile.cpp61 conservativeRoots.add(v.asCell()); in gatherConservativeRoots()
DInterpreter.cpp1214 JSCell* baseCell = baseValue.asCell(); in tryCachePutByID()
1303 Structure* structure = baseValue.asCell()->structure(); in tryCacheGetByID()
1599 …callFrame->uncheckedR(dst) = jsBoolean(src.isCell() && src.asCell()->structure()->typeInfo().masqu… in privateExecute()
1639 …callFrame->uncheckedR(dst) = jsBoolean(!src.isCell() || !src.asCell()->structure()->typeInfo().mas… in privateExecute()
2173 …callFrame->uncheckedR(dst) = jsBoolean(v.isCell() ? v.asCell()->structure()->typeInfo().masquerade… in privateExecute()
2518 JSCell* baseCell = baseValue.asCell(); in privateExecute()
2549 JSCell* baseCell = baseValue.asCell(); in privateExecute()
2588 JSCell* baseCell = baseValue.asCell(); in privateExecute()
2599 … if (GetterSetter* getterSetter = asGetterSetter(protoObject->getDirectOffset(offset).asCell())) { in privateExecute()
2633 JSCell* baseCell = baseValue.asCell(); in privateExecute()
[all …]
/external/webkit/Source/JavaScriptCore/jit/
DJITStubs.cpp819 JSCell* baseCell = baseValue.asCell(); in tryCachePutByID()
887 JSCell* baseCell = baseValue.asCell(); in tryCacheGetByID()
1298 ASSERT(v1.asCell()->structure()->typeInfo().needsThisConversion()); in DEFINE_STUB_FUNCTION()
1546 && !(structure = baseValue.asCell()->structure())->isUncacheableDictionary() in DEFINE_STUB_FUNCTION()
1620 && !baseValue.asCell()->structure()->isUncacheableDictionary() in DEFINE_STUB_FUNCTION()
1641 …ata, codeBlock, stubInfo, polymorphicStructureList, listIndex, baseValue.asCell()->structure(), id… in DEFINE_STUB_FUNCTION()
1725 …if (!baseValue.isCell() || !slot.isCacheable() || baseValue.asCell()->structure()->isDictionary())… in DEFINE_STUB_FUNCTION()
1730 Structure* structure = baseValue.asCell()->structure(); in DEFINE_STUB_FUNCTION()
1741 else if (slot.slotBase() == baseValue.asCell()->structure()->prototypeForLookup(callFrame)) { in DEFINE_STUB_FUNCTION()
1742 ASSERT(!baseValue.asCell()->structure()->isDictionary()); in DEFINE_STUB_FUNCTION()
[all …]

12