Home | History | Annotate | Download | only in src

Lines Matching defs:cast

751     *obj = T::cast(reinterpret_cast<Object*>(this));
985 // Casting: This cast is only needed to satisfy macros in objects-inl.h.
986 static Object* cast(Object* value) { return value; }
1016 static inline Smi* cast(Object* object);
1089 static inline Failure* cast(MaybeObject* object);
1212 static inline HeapObject* cast(Object* obj);
1314 static inline HeapNumber* cast(Object* obj);
1390 static inline JSReceiver* cast(Object* obj);
2014 static inline JSObject* cast(Object* obj);
2219 inline static FixedArrayBase* cast(Object* object);
2285 static inline FixedArray* cast(Object* obj);
2372 static inline FixedDoubleArray* cast(Object* obj);
2432 return Smi::cast(obj)->value();
2434 Object* index = FixedArray::cast(obj)->get(kEnumCacheBridgeEnumIndex);
2435 return Smi::cast(index)->value();
2451 FixedArray* bridge = FixedArray::cast(get(kEnumerationIndexIndex));
2558 static inline DescriptorArray* cast(Object* obj);
2646 return FixedArray::cast(get(kContentArrayIndex));
2725 return Smi::cast(get(kNumberOfElementsIndex))->value();
2730 return Smi::cast(get(kNumberOfDeletedElementsIndex))->value();
2735 return Smi::cast(get(kCapacityIndex))->value();
2776 static inline HashTable* cast(Object* obj);
2931 static inline SymbolTable* cast(Object* obj);
2971 static inline MapCache* cast(Object* obj);
2981 static inline Dictionary<Shape, Key>* cast(Object* obj) {
2999 Smi::cast(this->get(HashTable<Shape, Key>::EntryToIndex(entry) + 2)));
3037 return Smi::cast(FixedArray::get(kNextEnumerationIndexIndex))->value();
3100 static inline StringDictionary* cast(Object* obj) {
3154 static SeededNumberDictionary* cast(Object* obj) {
3202 static UnseededNumberDictionary* cast(Object* obj) {
3238 static inline ObjectHashSet* cast(Object* obj) {
3258 static inline ObjectHashTable* cast(Object* obj) {
3314 static inline JSFunctionResultCache* cast(Object* obj);
3331 static inline ScopeInfo* cast(Object* object);
3451 return Smi::cast(get(k##name))->value(); \
3536 static inline NormalizedMapCache* cast(Object* obj);
3577 static inline ByteArray* cast(Object* obj);
3617 static inline FreeSpace* cast(Object* obj);
3650 // cast, not clamping. Out-of-range indices cause exceptions to be
3661 static inline ExternalArray* cast(Object* obj);
3699 static inline ExternalPixelArray* cast(Object* obj);
3728 static inline ExternalByteArray* cast(Object* obj);
3757 static inline ExternalUnsignedByteArray* cast(Object* obj);
3786 static inline ExternalShortArray* cast(Object* obj);
3815 static inline ExternalUnsignedShortArray* cast(Object* obj);
3844 static inline ExternalIntArray* cast(Object* obj);
3873 static inline ExternalUnsignedIntArray* cast(Object* obj);
3902 static inline ExternalFloatArray* cast(Object* obj);
3931 static inline ExternalDoubleArray* cast(Object* obj);
3975 return type::cast(get(k##name##Index)); \
3992 return type::cast(get(IndexForEntry(i) + k##name##Offset)); \
4014 static inline DeoptimizationInputData* cast(Object* obj);
4039 Smi* AstId(int index) { return Smi::cast(get(index * 2)); }
4041 Smi* PcAndState(int index) { return Smi::cast(get(1 + index * 2)); }
4053 static inline DeoptimizationOutputData* cast(Object* obj);
4093 static inline TypeFeedbackCells* cast(Object* obj);
4414 static inline Code* cast(Object* obj);
4730 Smi::cast(cache->get(kProtoTransitionNumberOfEntriesOffset))->value();
4767 static inline Map* cast(Object* obj);
4976 static inline Struct* cast(Object* that);
5047 static inline Script* cast(Object* obj);
5502 static inline SharedFunctionInfo* cast(Object* obj);
5827 static inline JSFunction* cast(Object* obj);
5892 static inline JSGlobalProxy* cast(Object* obj);
5951 static inline GlobalObject* cast(Object* obj);
5968 static inline JSGlobalObject* cast(Object* obj);
6002 static inline JSBuiltinsObject* cast(Object* obj);
6045 static inline JSValue* cast(Object* obj);
6094 static inline JSDate* cast(Object* obj);
6199 static inline JSMessageObject* cast(Object* obj);
6296 static inline JSRegExp* cast(Object* obj);
6419 static inline CompilationCacheTable* cast(Object* obj);
6447 static inline CodeCache* cast(Object* obj);
6512 static inline CodeCacheHashTable* cast(Object* obj);
6538 static inline PolymorphicCodeCache* cast(Object* obj);
6567 static inline PolymorphicCodeCacheHashTable* cast(Object* obj);
6585 static inline TypeFeedbackInfo* cast(Object* obj);
6622 static inline AliasedArgumentsEntry* cast(Object* obj);
6791 return Vector<const char>::cast(buffer_);
6797 return Vector<const uc16>::cast(buffer_);
6805 : buffer_(Vector<const byte>::cast(chars)),
6808 : buffer_(Vector<const byte>::cast(chars)),
6946 static inline String* cast(Object* obj);
7150 static inline SeqString* cast(Object* obj);
7176 static inline SeqAsciiString* cast(Object* obj);
7226 static inline SeqTwoByteString* cast(Object* obj);
7284 static inline ConsString* cast(Object* obj);
7337 static inline SlicedString* cast(Object* obj);
7379 static inline ExternalString* cast(Object* obj);
7421 static inline ExternalAsciiString* cast(Object* obj);
7469 static inline ExternalTwoByteString* cast(Object* obj);
7584 static inline Oddball* cast(Object* obj);
7626 static inline JSGlobalPropertyCell* cast(Object* obj);
7661 static inline JSProxy* cast(Object* obj);
7762 static inline JSFunctionProxy* cast(Object* obj);
7800 static inline JSSet* cast(Object* obj);
7827 static inline JSMap* cast(Object* obj);
7857 static inline JSWeakMap* cast(Object* obj);
7888 static inline Foreign* cast(Object* obj);
7948 static inline JSArray* cast(Object* obj);
8030 static inline AccessorInfo* cast(Object* obj);
8071 static inline AccessorPair* cast(Object* obj);
8119 static inline AccessCheckInfo* cast(Object* obj);
8150 static inline InterceptorInfo* cast(Object* obj);
8180 static inline CallHandlerInfo* cast(Object* obj);
8243 static inline FunctionTemplateInfo* cast(Object* obj);
8292 static inline ObjectTemplateInfo* cast(Object* obj);
8316 static inline SignatureInfo* cast(Object* obj);
8341 static inline TypeSwitchInfo* cast(Object* obj);
8393 static inline DebugInfo* cast(Object* obj);
8451 static inline BreakPointInfo* cast(Object* obj);