Traits 45 axscript/ActiveScriptError.cpp Traits *tse = core->toplevel->getBuiltinClass(abcclass_SyntaxError)->traits()->itraits; Traits 98 axscript/DomainClass.cpp Traits *scriptTraits = core->traits.object_itraits; Traits 404 core/AbcParser.cpp Traits* AbcParser::parseTraits(uint16_t sizeofInstance, Traits 425 core/AbcParser.cpp Traits* traits = Traits::newTraits(pool, base, sizeofInstance,offsetofSlots , traitsPos, posType); Traits 524 core/AbcParser.cpp Traits* ctraits = pool->getClassTraits(class_index); Traits 1031 core/AbcParser.cpp Traits* declaringTraits = info->declaringTraits(); Traits 1074 core/AbcParser.cpp Traits* act = parseTraits(sizeof(ScriptObject), Traits 1108 core/AbcParser.cpp Traits* act = parseTraits(sizeof(ScriptObject), Traits 1647 core/AbcParser.cpp Traits* declaringTraits = script->declaringTraits(); Traits 1656 core/AbcParser.cpp Traits* traits = parseTraits(sizeof(ScriptObject), Traits 1743 core/AbcParser.cpp Traits* baseTraits = pool->resolveTypeName(pos, toplevel); Traits 1789 core/AbcParser.cpp Traits *t = pool->resolveTypeName(pos, toplevel); Traits 1825 core/AbcParser.cpp Traits* itraits = parseTraits(sizeofInstance, Traits 1858 core/AbcParser.cpp Traits* declaringTraits = iinit->declaringTraits(); Traits 1874 core/AbcParser.cpp Traits *interfaceTraits = pool->resolveTypeName(interfacePos, toplevel); Traits 1913 core/AbcParser.cpp Traits* itraits = instances[i]; Traits 1936 core/AbcParser.cpp Traits* ctraits = parseTraits(haveClassNativeInfo ? nativeEntry->sizeofClass : sizeof(ClassClosure), Traits 1948 core/AbcParser.cpp Traits* declaringTraits = cinit->declaringTraits(); Traits 91 core/AbcParser.h void computeInstanceSizeAndSlotsOffset(int class_id, Traits* base, uint16_t& sizeofInstance, uint16_t& offsetofSlots) const; Traits 99 core/AbcParser.h Traits* parseTraits(uint16_t sizeofInstance, Traits 101 core/AbcParser.h Traits* base, Traits 121 core/AbcParser.h void addNamedTraits(Namespacep ns, Stringp name, Traits* itraits); Traits 122 core/AbcParser.h void addNamedTraits(NamespaceSetp nss, Stringp name, Traits* itraits); Traits 152 core/AbcParser.h List<Traits*> instances; Traits 487 core/AvmCore-inlines.h REALLY_INLINE /*static*/ Atom AvmCore::istypeAtom(Atom atom, Traits* itraits) Traits 492 core/AvmCore-inlines.h REALLY_INLINE /*static*/ Atom AvmCore::astype(Atom atom, Traits* expected) Traits 324 core/AvmCore.cpp _emptySupertypeList = Traits::allocSupertypeList(gc, 0); Traits 492 core/AvmCore.cpp Traits* activationTraits = method->activationTraits(); Traits 1693 core/AvmCore.cpp Traits* c = pool->getClassTraits(id); Traits 1888 core/AvmCore.cpp Traits* c = pool->getClassTraits(id); Traits 2240 core/AvmCore.cpp return isObject(atm) && Traits::getBuiltinType(atomToScriptObject(atm)->traits()) == bt; Traits 2245 core/AvmCore.cpp return isObject(atm) && ((1<<Traits::getBuiltinType(atomToScriptObject(atm)->traits())) & btmask) != 0; Traits 220 core/AvmCore.h void enqTraits(Traits* t); Traits 448 core/AvmCore.h void exportDefs(Traits* traits, ScriptEnv* scriptEnv); Traits 984 core/AvmCore.h static bool istype(Atom atom, Traits* itraits); Traits 991 core/AvmCore.h static Atom istypeAtom(Atom atom, Traits* itraits); Traits 996 core/AvmCore.h static Atom astype(Atom atom, Traits* expected); Traits 1096 core/AvmCore.h String* toErrorString(const Traits* t); Traits 1385 core/AvmCore.h VTable* newVTable(Traits* traits, VTable* base, Toplevel* toplevel); Traits 1461 core/AvmCore.h friend class Traits; Traits 1462 core/AvmCore.h Traits** _emptySupertypeList; // empty supertype list shared by many Traits Traits 1545 core/AvmCore.h friend class Traits; Traits 56 core/BuiltinTraits.cpp null_itraits = Traits::newTraits(pool, NULL, 0, 0, 0, TRAITSTYPE_NVA); Traits 62 core/BuiltinTraits.cpp void_itraits = Traits::newTraits(pool, NULL, 0, 0, 0, TRAITSTYPE_NVA); Traits 156 core/BuiltinTraits.cpp Traits* BuiltinTraits::findCTraits(const char* cname, PoolObject* pool) Traits 161 core/BuiltinTraits.cpp Traits* ctraits = pool->getClassTraits(i); Traits 102 core/BuiltinTraits.h Traits *array_itraits; Traits 103 core/BuiltinTraits.h Traits *boolean_itraits; Traits 104 core/BuiltinTraits.h Traits *class_itraits; Traits 105 core/BuiltinTraits.h Traits *date_itraits; Traits 106 core/BuiltinTraits.h Traits *error_itraits; Traits 107 core/BuiltinTraits.h Traits *function_itraits; Traits 108 core/BuiltinTraits.h Traits *int_itraits; Traits 109 core/BuiltinTraits.h Traits *math_itraits; Traits 110 core/BuiltinTraits.h Traits *methodClosure_itraits; Traits 111 core/BuiltinTraits.h Traits *namespace_itraits; Traits 112 core/BuiltinTraits.h Traits *null_itraits; Traits 113 core/BuiltinTraits.h Traits *number_itraits; Traits 114 core/BuiltinTraits.h Traits *object_itraits; Traits 115 core/BuiltinTraits.h Traits *qName_itraits; Traits 116 core/BuiltinTraits.h Traits *regexp_itraits; Traits 117 core/BuiltinTraits.h Traits *string_itraits; Traits 118 core/BuiltinTraits.h Traits *uint_itraits; Traits 119 core/BuiltinTraits.h Traits *vector_itraits; Traits 120 core/BuiltinTraits.h Traits *vectordouble_itraits; Traits 121 core/BuiltinTraits.h Traits *vectorint_itraits; Traits 122 core/BuiltinTraits.h Traits *vectorobj_itraits; Traits 123 core/BuiltinTraits.h Traits *vectoruint_itraits; Traits 124 core/BuiltinTraits.h Traits *void_itraits; Traits 125 core/BuiltinTraits.h Traits *xmlList_itraits; Traits 126 core/BuiltinTraits.h Traits *xml_itraits; Traits 128 core/BuiltinTraits.h Traits* math_ctraits; Traits 129 core/BuiltinTraits.h Traits* int_ctraits; Traits 130 core/BuiltinTraits.h Traits* uint_ctraits; Traits 131 core/BuiltinTraits.h Traits* number_ctraits; Traits 132 core/BuiltinTraits.h Traits* string_ctraits; Traits 133 core/BuiltinTraits.h Traits* boolean_ctraits; Traits 134 core/BuiltinTraits.h Traits* vector_ctraits; Traits 141 core/BuiltinTraits.h Traits* findCTraits(const char* name, PoolObject* pool); Traits 82 core/CdeclThunk.cpp BuiltinType bt = Traits::getBuiltinType(t); Traits 124 core/CdeclThunk.cpp switch(Traits::getBuiltinType(t)) Traits 148 core/CdeclThunk.cpp AvmAssert(Traits::getBuiltinType(t) != BUILTIN_number); Traits 206 core/CdeclThunk.cpp switch(Traits::getBuiltinType(t)) Traits 227 core/CdeclThunk.cpp static Traits* argTraitsFromType(const AvmCore* core, int32_t n) Traits 265 core/CdeclThunk.cpp Traits* nextType() Traits 315 core/CdeclThunk.cpp Traits* nextType() Traits 364 core/CdeclThunk.cpp Traits* nextType() Traits 415 core/CdeclThunk.cpp Traits* nextType() Traits 468 core/CdeclThunk.cpp Traits* nextType() Traits 578 core/CdeclThunk.cpp Traits* t = calleeTypeIter.nextType(); Traits 580 core/CdeclThunk.cpp BuiltinType bt = Traits::getBuiltinType(t); Traits 584 core/CdeclThunk.cpp switch(Traits::getBuiltinType(t)) Traits 610 core/CdeclThunk.cpp Traits* t = calleeTypeIter.nextType(); Traits 612 core/CdeclThunk.cpp BuiltinType bt = Traits::getBuiltinType(t); Traits 621 core/CdeclThunk.cpp switch(Traits::getBuiltinType(t)) Traits 705 core/CdeclThunk.cpp (void* callee, unsigned calleeArgDescBufSize, ArgCoercer argCoercer, MethodEnv* env, Traits* retTraits, uintptr_t callerArgDesc, void* callerAp)) Traits 795 core/CdeclThunk.cpp unsigned calleeArgDescBufSize, ArgCoercer argCoercer, MethodEnv* env, Traits* retTraits, uintptr_t callerArgDesc, void* callerAp)) Traits 809 core/CdeclThunk.cpp Atom returnCoercerNImpl(double n, Traits* retTraits, MethodEnv* env) Traits 818 core/CdeclThunk.cpp ASM_FUNC_BEGIN(Atom, returnCoercerN, (Traits* retTraits, MethodEnv* env)) Traits 837 core/CdeclThunk.cpp ASM_FUNC_BEGIN(Atom, returnCoercerNPop, (Traits* retTraits, MethodEnv* env)) Traits 847 core/CdeclThunk.cpp double returnCoercerN32Impl(Atom a, Traits* retTraits, MethodEnv* env) Traits 849 core/CdeclThunk.cpp Traits* calleeRT = env->method->getMethodSignature()->returnTraits(); Traits 858 core/CdeclThunk.cpp ASM_FUNC_BEGIN(double, returnCoercerN32, (Traits* retTraits, MethodEnv* env)) Traits 877 core/CdeclThunk.cpp Atom returnCoercer32Impl(Atom a, Traits* retTraits, MethodEnv* env) Traits 879 core/CdeclThunk.cpp Traits* calleeRT = env->method->getMethodSignature()->returnTraits(); Traits 887 core/CdeclThunk.cpp ASM_FUNC_BEGIN(Atom, returnCoercer32, (Traits* retTraits, MethodEnv* env)) Traits 1091 core/CdeclThunk.cpp Traits* callerT = callerTypeIterTemp.nextType(); Traits 1100 core/CdeclThunk.cpp Traits* callerT = callerTypeIter.nextType(); Traits 1112 core/CdeclThunk.cpp Traits* calleeT = calleeTypeIter.nextType(); Traits 1201 core/CdeclThunk.cpp Traits* calleeT = calleeTypeIter.nextType(); Traits 1243 core/CdeclThunk.cpp Traits* calleeRT = info->getMethodSignature()->returnTraits(); Traits 1467 core/CdeclThunk.cpp Traits* rt = env->method->getMethodSignature()->returnTraits(); Traits 46 core/CdeclThunk.h Atom coerce32CdeclArgDescEnter(Traits* retTraits, uintptr_t argDesc, MethodEnv* env, va_list ap); Traits 47 core/CdeclThunk.h Atom coerce32CdeclArgDescEnter(Traits* retTraits, char* argDesc, MethodEnv* env, va_list ap); Traits 48 core/CdeclThunk.h Atom coerce32CdeclArgDescEnter(Traits* retTraits, MethodEnv* env, int argc, Atom* argv); Traits 49 core/CdeclThunk.h Atom coerce32CdeclArgDescEnter(Traits* retTraits, MethodEnv* env, int argc, uint32_t* ap); Traits 135 core/ClassClosure.cpp return toplevel->coerce(argv[1], (Traits*)ivtable()->traits); Traits 163 core/ClassClosure.cpp Traits* t = this->traits()->itraits; Traits 63 core/CodegenLIR-inlines.h REALLY_INLINE BuiltinType LirHelper::bt(Traits *t) Traits 65 core/CodegenLIR-inlines.h return Traits::getBuiltinType(t); Traits 474 core/CodegenLIR.cpp lirout->insStorei(InsConstPtr(type), varTraits, i*sizeof(Traits*)); Traits 1145 core/CodegenLIR.cpp int i = (traits) ? d / sizeof(Traits*) : d >> 3; Traits 1168 core/CodegenLIR.cpp Traits *t = (Traits*) tra->constvalp(); Traits 1424 core/CodegenLIR.cpp varTraits = InsAlloc((state->verifier->local_count + state->verifier->max_scope) * sizeof(Traits*)); Traits 1607 core/CodegenLIR.cpp Traits* type = ms->paramTraits(i); Traits 1635 core/CodegenLIR.cpp Traits* t = info->declaringScope()->getScopeTraitsAt(scope_index); Traits 1877 core/CodegenLIR.cpp Traits *t = pool->getTraits(*name, state->verifier->getToplevel(this)); Traits 1884 core/CodegenLIR.cpp Traits* ct = classValue.traits; Traits 1885 core/CodegenLIR.cpp Traits* t = NULL; Traits 1943 core/CodegenLIR.cpp Traits* itraits = pool->getTraits(*name, state->verifier->getToplevel(this)); Traits 1958 core/CodegenLIR.cpp Traits* class_type = state->value(sp).traits; Traits 2010 core/CodegenLIR.cpp Traits* slotTraits = obj.traits ? obj.traits->getTraitsBindings()->getSlotTraits(index) : NULL; Traits 2134 core/CodegenLIR.cpp Traits* result = (opcode == OP_lf32 || opcode == OP_lf64) ? NUMBER_TYPE : INT_TYPE; Traits 2286 core/CodegenLIR.cpp Traits* ctraits = state->value(ctor_index).traits; Traits 2328 core/CodegenLIR.cpp Traits* ctraits = pool->getClassTraits(opd1); Traits 2361 core/CodegenLIR.cpp Traits* in = value.traits; Traits 2394 core/CodegenLIR.cpp Traits* in = value.traits; Traits 2408 core/CodegenLIR.cpp Traits* in = value.traits; Traits 2409 core/CodegenLIR.cpp Traits* stringType = STRING_TYPE; Traits 2460 core/CodegenLIR.cpp Traits* base = type; Traits 2467 core/CodegenLIR.cpp Traits* propType = state->verifier->readBinding(base, b); Traits 2504 core/CodegenLIR.cpp Traits* base = type; Traits 2510 core/CodegenLIR.cpp Traits* propType = state->verifier->readBinding(base, b); Traits 2527 core/CodegenLIR.cpp Traits* resultType = fms->returnTraits(); Traits 2540 core/CodegenLIR.cpp Traits* base = type; Traits 2555 core/CodegenLIR.cpp Traits* resultType = mms->returnTraits(); Traits 2728 core/CodegenLIR.cpp Traits* in = value.traits; Traits 2859 core/CodegenLIR.cpp Traits* t = state->value(index).traits; Traits 3088 core/CodegenLIR.cpp Traits *t = state->value(ptr_index).traits; Traits 3120 core/CodegenLIR.cpp Traits* t; Traits 3164 core/CodegenLIR.cpp Traits* slotType = tb->getSlotTraits(slot); Traits 3200 core/CodegenLIR.cpp Traits* itraits = NULL; Traits 3396 core/CodegenLIR.cpp Traits* t = ms->returnTraits(); Traits 3702 core/CodegenLIR.cpp Traits* baseTraits = state->value(baseDisp).traits; Traits 3708 core/CodegenLIR.cpp Traits* slotType = state->verifier->readBinding(baseTraits, b); Traits 3866 core/CodegenLIR.cpp Traits* ctraits = (Traits*) op1; Traits 3961 core/CodegenLIR.cpp Traits* indexType = state->value(sp).traits; Traits 3976 core/CodegenLIR.cpp Traits* objType = state->value(objDisp).traits; Traits 4038 core/CodegenLIR.cpp Traits* objType = state->value(objDisp).traits; Traits 4133 core/CodegenLIR.cpp Traits* indexType = state->value(sp-1).traits; Traits 4134 core/CodegenLIR.cpp Traits* valueType = state->value(sp).traits; Traits 4149 core/CodegenLIR.cpp Traits* objType = state->value(objDisp).traits; Traits 4221 core/CodegenLIR.cpp Traits* objType = state->value(objDisp).traits; Traits 4401 core/CodegenLIR.cpp Traits *type = (Traits*) op1; Traits 4653 core/CodegenLIR.cpp Traits* lht = state->value(lhsi).traits; Traits 4654 core/CodegenLIR.cpp Traits* rht = state->value(rhsi).traits; Traits 4769 core/CodegenLIR.cpp Traits* lht = state->value(lhsi).traits; Traits 4770 core/CodegenLIR.cpp Traits* rht = state->value(rhsi).traits; Traits 5101 core/CodegenLIR.cpp Traits* t = state->value(i).traits; Traits 280 core/CodegenLIR.h Traits* slot_type; // slot or setter type, for implicit coercion Traits 313 core/CodegenLIR.h static BuiltinType bt(Traits *t); Traits 314 core/CodegenLIR.h LIns* nativeToAtom(LIns* value, Traits* valType); Traits 416 core/CodegenLIR.h LIns *atomToNativeRep(Traits *, LIns *i); Traits 417 core/CodegenLIR.h LIns *ptrToNativeRep(Traits*, LIns*); Traits 436 core/CodegenLIR.h LIns *promoteNumberIns(Traits *t, int i); Traits 467 core/CodegenLIR.h void emitConstruct(FrameState*, int argc, int ctor_index, Traits* ctraits); Traits 471 core/CodegenLIR.h void emitCall(FrameState* state, AbcOpcode opcode, intptr_t method_id, int argc, Traits* result); Traits 472 core/CodegenLIR.h void emit(FrameState* state, AbcOpcode opcode, uintptr op1=0, uintptr op2=0, Traits* result=NULL); Traits 480 core/CodegenLIR.h void emitPtrConst(FrameState* state, int index, void* c, Traits* type); Traits 482 core/CodegenLIR.h void emitGetslot(FrameState*, int slot, int ptr_index, Traits *slotType); Traits 485 core/CodegenLIR.h void localSet(int i, LIns* o, Traits* type); Traits 489 core/CodegenLIR.h LIns* loadFromSlot(int ptr_index, int slot, Traits* slotType); Traits 497 core/CodegenLIR.h void write(FrameState* state, const byte* pc, AbcOpcode opcode, Traits *type = NULL); Traits 498 core/CodegenLIR.h void writeOp1(FrameState* state, const byte *pc, AbcOpcode opcode, uint32_t opd1, Traits* type = NULL); Traits 499 core/CodegenLIR.h void writeOp2(FrameState* state, const byte *pc, AbcOpcode opcode, uint32_t opd1, uint32_t opd2, Traits* type = NULL); Traits 500 core/CodegenLIR.h void writeInterfaceCall(FrameState* state, const byte *pc, AbcOpcode opcode, uintptr opd1, uint32_t opd2, Traits* type = NULL); Traits 503 core/CodegenLIR.h void writeCoerce(FrameState* state, uint32_t index, Traits *type); Traits 51 core/Coder.h virtual void write(FrameState* state, const byte *pc, AbcOpcode opcode, Traits *type); Traits 52 core/Coder.h virtual void writeOp1(FrameState* state, const byte *pc, AbcOpcode opcode, uint32_t opd1, Traits *type); Traits 53 core/Coder.h virtual void writeOp2(FrameState* state, const byte *pc, AbcOpcode opcode, uint32_t opd1, uint32_t opd2, Traits* type); Traits 54 core/Coder.h virtual void writeInterfaceCall(FrameState* state, const byte *pc, AbcOpcode opcode, uintptr_t opd1, uint32_t opd2, Traits* type); Traits 57 core/Coder.h virtual void writeCoerce(FrameState* state, uint32_t index, Traits* type); Traits 80 core/Coder.h void write(FrameState* state, const byte* pc, AbcOpcode opcode, Traits *type); Traits 81 core/Coder.h void writeOp1(FrameState* state, const byte *pc, AbcOpcode opcode, uint32_t opd1, Traits* type); Traits 82 core/Coder.h void writeOp2(FrameState* state, const byte *pc, AbcOpcode opcode, uint32_t opd1, uint32_t opd2, Traits* type); Traits 83 core/Coder.h void writeInterfaceCall(FrameState* state, const byte *pc, AbcOpcode opcode, uintptr_t opd1, uint32_t opd2, Traits* type); Traits 86 core/Coder.h void writeCoerce(FrameState* state, uint32_t index, Traits *type); Traits 103 core/Coder.h void write(FrameState* state, const byte* pc, AbcOpcode opcode, Traits *type); Traits 104 core/Coder.h void writeOp1(FrameState* state, const byte *pc, AbcOpcode opcode, uint32_t opd1, Traits *type); Traits 105 core/Coder.h void writeOp2(FrameState* state, const byte *pc, AbcOpcode opcode, uint32_t opd1, uint32_t opd2, Traits* type); Traits 106 core/Coder.h void writeInterfaceCall(FrameState* state, const byte *pc, AbcOpcode opcode, uintptr_t opd1, uint32_t opd2, Traits* type); Traits 109 core/Coder.h void writeCoerce(FrameState* state, uint32_t index, Traits *type); Traits 59 core/Domain.cpp Traits* Domain::getNamedTraits(Stringp name, Namespacep ns, bool recursive/*=true*/) Traits 61 core/Domain.cpp Traits *traits = NULL; Traits 66 core/Domain.cpp traits = (Traits*) m_namedTraits->get(name, ns); Traits 71 core/Domain.cpp Traits* Domain::getNamedTraits(const Multiname *multiname, bool recursive/*=true*/) Traits 73 core/Domain.cpp Traits *traits = NULL; Traits 78 core/Domain.cpp traits = (Traits*) m_namedTraits->getMulti(multiname); Traits 66 core/Domain.h Traits* getNamedTraits(Stringp name, Namespacep ns, bool recursive/*=true*/); Traits 67 core/Domain.h Traits* getNamedTraits(const Multiname* multiname, bool recursive/*=true*/); Traits 71 core/Domain.h Traits* getNamedTrait(Stringp name, Namespace* ns) { return (Traits*)m_namedTraits->get(name, ns); } Traits 72 core/Domain.h void addNamedTrait(Stringp name, Namespace* ns, Traits* v) { m_namedTraits->add(name, ns, (Binding)v); } Traits 105 core/Exception.h Traits* traits; // The type of exceptions handled by this exception handler. Traits 106 core/Exception.h Traits* scopeTraits; // The exception scope traits. Traits 83 core/FrameState-inlines.h REALLY_INLINE void FrameState::setType(int32_t i, Traits* t, bool notNull, bool isWith) Traits 102 core/FrameState-inlines.h REALLY_INLINE void FrameState::pop_push(int32_t n, Traits* type, bool notNull) Traits 115 core/FrameState-inlines.h REALLY_INLINE void FrameState::push(Traits* traits, bool notNull) Traits 55 core/FrameState.h Traits* traits; Traits 99 core/FrameState.h void setType(int32_t i, Traits* t, bool notNull=false, bool isWith=false); Traits 102 core/FrameState.h void pop_push(int32_t n, Traits* type, bool notNull=false); Traits 104 core/FrameState.h void push(Traits* traits, bool notNull=false); Traits 203 core/Interpreter.cpp static Traits* getTraits(const Multiname* name, PoolObject* pool, Toplevel* toplevel, AvmCore* core); Traits 952 core/Interpreter.cpp register Traits* t1; Traits 2401 core/Interpreter.cpp Traits* ctraits = pool->getClassTraits((uint32_t)u1); Traits 3316 core/Interpreter.cpp Traits* getTraits(const Multiname* name, PoolObject* pool, Toplevel* toplevel, AvmCore* core) Traits 3320 core/Interpreter.cpp Traits* t = pool->getTraits(*name, toplevel); Traits 3325 core/Interpreter.cpp Traits* param_traits = name->getTypeParameter() ? getTraits(param_name, pool, toplevel, core) : NULL; Traits 50 core/MethodEnv.cpp switch (Traits::getBuiltinType(t)) Traits 110 core/MethodEnv.cpp switch (Traits::getBuiltinType(t)) Traits 198 core/MethodEnv.cpp Traits* actual = AvmCore::atomToScriptObject(atom)->traits(); Traits 223 core/MethodEnv.cpp Traits* actual = AvmCore::atomToScriptObject(atom)->traits(); Traits 249 core/MethodEnv.cpp switch (Traits::getBuiltinType(t)) Traits 1241 core/MethodEnv.cpp Traits* itraits = ctraits->itraits; Traits 1242 core/MethodEnv.cpp const BuiltinType bt = Traits::getBuiltinType(itraits); Traits 1256 core/MethodEnv.cpp Traits* baseIvtableTraits = base ? base->ivtable()->traits : 0; Traits 1257 core/MethodEnv.cpp Traits* itraitsBase = itraits->base; Traits 1489 core/MethodEnv.cpp Traits* traits = toplevel->toTraits(obj); // includes null check Traits 1689 core/MethodEnv.cpp Traits* t = toplevel->toTraits(a); Traits 1702 core/MethodEnv.cpp Traits *t; Traits 1733 core/MethodEnv.cpp Traits* t = outerTraits->getScopeTraitsAt(i); Traits 1902 core/MethodEnv.cpp Traits* activationTraits = activationScopeTraits->traits(); Traits 134 core/MethodEnv.h Atom* FASTCALL coerceUnbox1(Atom atom, Traits* t, Atom* args); Traits 135 core/MethodEnv.h Atom* FASTCALL unbox1(Atom atom, Traits* t, Atom* args); Traits 161 core/MethodEnv.h ScriptObject* newcatch(Traits *traits); Traits 196 core/MethodEnv.h ClassClosure* newclass(Traits* ctraits, Traits 259 core/MethodEnv.h ScriptObject* coerceAtom2SO(Atom atom, Traits *expected) const; Traits 262 core/MethodEnv.h void debugEnter(Traits** frameTraits, Traits 354 core/MethodInfo-inlines.h REALLY_INLINE Traits* MethodSignature::returnTraits() const Traits 361 core/MethodInfo-inlines.h return Traits::getBuiltinType(_returnTraits); Traits 416 core/MethodInfo-inlines.h REALLY_INLINE Traits* MethodSignature::paramTraits(int32_t i) const Traits 425 core/MethodInfo-inlines.h return Traits::getBuiltinType(_args[i].paramType); Traits 130 core/MethodInfo.cpp Traits* MethodInfo::declaringTraits() const Traits 133 core/MethodInfo.cpp return (Traits*)(_declaringScopeOrTraits & ~IS_TRAITS); Traits 148 core/MethodInfo.cpp AvmAssert(((Traits*)(_declaringScopeOrTraits & ~IS_TRAITS)) == s->traits()); Traits 152 core/MethodInfo.cpp Traits* MethodInfo::activationTraits() const Traits 155 core/MethodInfo.cpp return (Traits*)(_activationScopeOrTraits & ~IS_TRAITS); Traits 176 core/MethodInfo.cpp AvmAssert(((Traits*)(_activationScopeOrTraits & ~IS_TRAITS)) == s->traits()); Traits 737 core/MethodInfo.cpp return nativeLocalToAtom(this->pool()->core, src, Traits::getBuiltinType(traitArr[srcPos])); Traits 775 core/MethodInfo.cpp switch (Traits::getBuiltinType(traitArr[dstPos])) Traits 876 core/MethodInfo.cpp Traits* MethodInfo::makeIntoPrototypeFunction(const Toplevel* toplevel, const ScopeTypeChain* fscope) Traits 900 core/MethodInfo.cpp Traits* ftraits = fscope->traits(); Traits 926 core/MethodInfo.cpp static uint32_t argSize(Traits* t) { return Traits::getBuiltinType(t) == BUILTIN_number ? sizeof(double) : sizeof(Atom); } Traits 938 core/MethodInfo.cpp Traits* returnType; Traits 939 core/MethodInfo.cpp Traits* receiverType; Traits 957 core/MethodInfo.cpp Traits* argType = pool->resolveTypeName(pos, toplevel); Traits 1009 core/MethodInfo.cpp Traits* argType = ms->_args[param].paramType; Traits 1116 core/MethodInfo.cpp Traits* MethodInfo::resolveActivation(const Toplevel* toplevel) Traits 1118 core/MethodInfo.cpp Traits* atraits = this->activationTraits(); Traits 221 core/MethodInfo.h MethodInfo(InitMethodStub, Traits* declTraits); Traits 224 core/MethodInfo.h MethodInfo(InitMethodStub, Traits* declTraits, const NativeMethodInfo* native_info); Traits 241 core/MethodInfo.h Traits* resolveActivation(const Toplevel* toplevel); Traits 248 core/MethodInfo.h Atom boxOneLocal(FramePtr src, int32_t srcPos, Traits** traitArr); Traits 249 core/MethodInfo.h void unboxOneLocal(Atom src, FramePtr dst, int32_t dstPos, Traits** traitArr); Traits 251 core/MethodInfo.h void boxLocals(FramePtr src, int32_t srcPos, Traits** traitArr, Atom* dest, int32_t destPos, int32_t length); Traits 252 core/MethodInfo.h void unboxLocals(const Atom* src, int32_t srcPos, Traits** traitArr, FramePtr dest, int32_t destPos, int32_t length); Traits 283 core/MethodInfo.h Traits* makeIntoPrototypeFunction(const Toplevel* toplevel, const ScopeTypeChain* fscope); Traits 284 core/MethodInfo.h bool makeMethodOf(Traits* type); Traits 327 core/MethodInfo.h Stringp FASTCALL getMethodNameWithTraits(Traits* declaringTraits, bool includeAllNamespaces = false) const; Traits 368 core/MethodInfo.h Traits* declaringTraits() const; Traits 370 core/MethodInfo.h Traits* activationTraits() const; Traits 377 core/MethodInfo.h void init_activationTraits(Traits* t); Traits 443 core/MethodInfo.h Traits* paramType; Traits 448 core/MethodInfo.h Traits* returnTraits() const; Traits 467 core/MethodInfo.h Traits* paramTraits(int32_t i) const; Traits 476 core/MethodInfo.h Traits* _returnTraits; // written with explicit WB Traits 224 core/ObjectClass.cpp Traits* t = toplevel()->toTraits(thisAtom); Traits 66 core/PoolObject-inlines.h REALLY_INLINE Traits* PoolObject::resolveTypeName(const byte*& pc, const Toplevel* toplevel, bool allowVoid) const Traits 102 core/PoolObject-inlines.h REALLY_INLINE Traits* PoolObject::getClassTraits(uint32_t i) const Traits 112 core/PoolObject-inlines.h REALLY_INLINE Traits* PoolObject::getScriptTraits(uint32_t i) const Traits 134 core/PoolObject.cpp Traits* PoolObject::getBuiltinTraits(Stringp name) const Traits 137 core/PoolObject.cpp return (Traits*) _namedTraits->getName(name); Traits 140 core/PoolObject.cpp Traits* PoolObject::getTraits(Stringp name, Namespace* ns, bool recursive/*=true*/) const Traits 143 core/PoolObject.cpp Traits* t = domain->getNamedTraits(name, ns, recursive); Traits 147 core/PoolObject.cpp t = (Traits*) _namedTraits->get(name, ns); Traits 151 core/PoolObject.cpp Traits* PoolObject::getTraits(Stringp name, bool recursive/*=true*/) const Traits 156 core/PoolObject.cpp Traits* PoolObject::getTraits(const Multiname& mname, const Toplevel* toplevel, bool recursive/*=true*/) const Traits 160 core/PoolObject.cpp Traits* match = NULL; Traits 166 core/PoolObject.cpp Traits* t = getTraits(mname.getName(), mname.getNamespace(i), recursive); Traits 279 core/PoolObject.cpp const BuiltinType bt = Traits::getBuiltinType(t); Traits 585 core/PoolObject.cpp Traits* PoolObject::resolveTypeName(uint32_t index, const Toplevel* toplevel, bool allowVoid/*=false*/) const Traits 604 core/PoolObject.cpp Traits* t = getTraits(m, toplevel); Traits 607 core/PoolObject.cpp Traits* param_traits = resolveTypeName(m.getTypeParameter(), toplevel); Traits 630 core/PoolObject.cpp Traits* PoolObject::resolveParameterizedType(const Toplevel* toplevel, Traits* base, Traits* param_traits) const Traits 632 core/PoolObject.cpp Traits* r = NULL; Traits 636 core/PoolObject.cpp switch (Traits::getBuiltinType(param_traits)) Traits 143 core/PoolObject.h Traits* getTraits(Stringp name, Namespacep ns, bool recursive=true) const; Traits 144 core/PoolObject.h Traits* getTraits(const Multiname& n, const Toplevel* toplevel, bool recursive=true) const; Traits 145 core/PoolObject.h Traits* getTraits(Stringp name, bool recursive=true) const; Traits 147 core/PoolObject.h Traits* getBuiltinTraits(Stringp name) const; Traits 150 core/PoolObject.h void addNamedTraits(Stringp name, Namespacep ns, Traits* traits); Traits 155 core/PoolObject.h Traits* resolveTypeName(uint32_t index, const Toplevel* toplevel, bool allowVoid=false) const; Traits 156 core/PoolObject.h Traits* resolveTypeName(const byte*& pc, const Toplevel* toplevel, bool allowVoid=false) const; Traits 161 core/PoolObject.h Traits* resolveParameterizedType(const Toplevel* toplevel, Traits* base, Traits* type_param) const; Traits 170 core/PoolObject.h Atom getLegalDefaultValue(const Toplevel* toplevel, uint32_t index, CPoolKind kind, Traits* t); Traits 180 core/PoolObject.h Traits* getClassTraits(uint32_t i) const; Traits 183 core/PoolObject.h Traits* getScriptTraits(uint32_t i) const; Traits 219 core/PoolObject.h List<Traits*, LIST_GCObjects> _classes; Traits 220 core/PoolObject.h List<Traits*, LIST_GCObjects> _scripts; Traits 409 core/PrintWriter.cpp formatTypeName(va_arg(ap, Traits*)); Traits 141 core/PrintWriter.h void formatTypeName(Traits* t); Traits 163 core/PrintWriter.h PrintWriter& operator<< (const Traits* obj); Traits 44 core/ScopeChain-inlines.h REALLY_INLINE ScopeTypeChain::ScopeTypeChain(int32_t _size, int32_t _fullsize, Traits* traits) Traits 48 core/ScopeChain-inlines.h REALLY_INLINE const ScopeTypeChain* ScopeTypeChain::createEmpty(MMgc::GC* gc, Traits* traits) Traits 53 core/ScopeChain-inlines.h REALLY_INLINE Traits* ScopeTypeChain::traits() const Traits 58 core/ScopeChain-inlines.h REALLY_INLINE Traits* ScopeTypeChain::getScopeTraitsAt(uint32_t i) const Traits 60 core/ScopeChain-inlines.h return (Traits*)(_scopes[i] & ~ISWITH); Traits 68 core/ScopeChain-inlines.h REALLY_INLINE void ScopeTypeChain::setScopeAt(uint32_t i, Traits* t, bool w) Traits 123 core/ScopeChain.cpp Traits* t = getScopeTraitsAt(i); Traits 50 core/ScopeChain.h ScopeTypeChain(int32_t _size, int32_t _fullsize, Traits* traits); Traits 51 core/ScopeChain.h static const ScopeTypeChain* create(MMgc::GC* gc, Traits* traits, const ScopeTypeChain* outer, const Value* values, int32_t nValues, Traits* append, Traits* extra); Traits 55 core/ScopeChain.h static const ScopeTypeChain* create(MMgc::GC* gc, Traits* traits, const ScopeTypeChain* outer, const FrameState* state, Traits* append, Traits* extra); Traits 57 core/ScopeChain.h static const ScopeTypeChain* create(MMgc::GC* gc, Traits* traits, const ScopeTypeChain* outer, Traits* const* stateTraits, uint32_t nStateTraits, uint32_t nStateWithTraits, Traits* append, Traits* extra); Traits 59 core/ScopeChain.h static const ScopeTypeChain* createEmpty(MMgc::GC* gc, Traits* traits); Traits 61 core/ScopeChain.h const ScopeTypeChain* cloneWithNewTraits(MMgc::GC* gc, Traits* traits) const; Traits 62 core/ScopeChain.h Traits* traits() const; Traits 63 core/ScopeChain.h Traits* getScopeTraitsAt(uint32_t i) const; Traits 71 core/ScopeChain.h void setScopeAt(uint32_t i, Traits* t, bool w); Traits 81 core/ScopeChain.h Traits* const _traits; Traits 614 core/ScriptObject.cpp Traits* traits = this->traits(); Traits 657 core/ScriptObject.cpp Traits* traits = this->traits(); Traits 686 core/ScriptObject.cpp Traits* traits = this->traits(); Traits 850 core/ScriptObject.cpp Traits* t = this->traits(); Traits 67 core/ScriptObject.h Traits* traits() const { Traits 127 core/ScriptObject.h virtual Atom getAtomPropertyFromProtoChain(Atom name, ScriptObject* protochain, Traits *origObjTraits) const; Traits 151 core/ScriptObject.h inline Atom getStringPropertyFromProtoChain(Stringp name, ScriptObject* protochain, Traits *origObjTraits) const Traits 95 core/StackTrace.h , Traits** frameTraits Traits 111 core/StackTrace.h , Traits** frameTraits Traits 170 core/StackTrace.h inline Traits** traits() const { return m_traits; } Traits 208 core/StackTrace.h private: Traits** m_traits; // array of traits for AS registers and scopechain Traits 65 core/Toplevel-inlines.h REALLY_INLINE Binding Toplevel::getBinding(Traits* traits, const Multiname* ref) const Traits 85 core/Toplevel-inlines.h REALLY_INLINE Atom Toplevel::coerce(Atom atom, Traits* expected) const Traits 103 core/Toplevel-inlines.h REALLY_INLINE void Toplevel::throwReferenceError(int id, const Multiname& multiname, const Traits* traits) const Traits 54 core/Toplevel.cpp Traits* mainTraits = pool->getScriptTraits(pool->scriptCount()-1); Traits 97 core/Toplevel.cpp Traits* traits = pool->getClassTraits(class_id)->itraits; Traits 152 core/Toplevel.cpp Traits* Toplevel::toTraits(Atom atom) Traits 475 core/Toplevel.cpp Traits* Toplevel::toClassITraits(Atom atom) Traits 486 core/Toplevel.cpp Traits* itraits = AvmCore::atomToScriptObject(atom)->traits()->itraits; Traits 495 core/Toplevel.cpp Traits* t = this->toTraits(obj); // includes null check Traits 1316 core/Toplevel.cpp referenceErrorClass()->throwError(id, core()->toErrorString(multiname), core()->toErrorString((Traits*)traits)); Traits 112 core/Toplevel.h void throwReferenceError(int id, const Multiname* multiname, const Traits* traits) const; Traits 115 core/Toplevel.h void throwReferenceError(int id, const Multiname& multiname, const Traits* traits) const; Traits 128 core/Toplevel.h Traits* toTraits(Atom atom); Traits 191 core/Toplevel.h Traits* toClassITraits(Atom atom); Traits 200 core/Toplevel.h Atom coerce(Atom atom, Traits* expected) const; Traits 257 core/Toplevel.h Binding getBinding(Traits* traits, const Multiname* multiname) const; Traits 260 core/Toplevel.h Binding getBindingAndDeclarer(Traits* traits, const Multiname& multiname, Traitsp& declarer) const; Traits 58 core/Traits-inlines.h REALLY_INLINE TraitsBindings::TraitsBindings(Traits* _owner, Traits 137 core/Traits-inlines.h REALLY_INLINE void TraitsBindings::setSlotInfo(uint32_t i, Traits* t, SlotStorageType sst, uint32_t offset) Traits 175 core/Traits-inlines.h REALLY_INLINE uint16_t Traits::getSizeOfInstance() const Traits 180 core/Traits-inlines.h REALLY_INLINE uint32_t Traits::getHashtableOffset() const Traits 186 core/Traits-inlines.h REALLY_INLINE uint32_t Traits::getTotalSize() const Traits 192 core/Traits-inlines.h REALLY_INLINE uint32_t Traits::getSlotAreaSize() const Traits 199 core/Traits-inlines.h REALLY_INLINE uint32_t Traits::getExtraSize() const Traits 208 core/Traits-inlines.h REALLY_INLINE void Traits::setMetadataPos(const byte* pos) Traits 214 core/Traits-inlines.h REALLY_INLINE Traits* Traits::newParameterizedITraits(Stringp name, Namespacep ns) Traits 219 core/Traits-inlines.h REALLY_INLINE Traits* Traits::newParameterizedCTraits(Stringp name, Namespacep ns) Traits 224 core/Traits-inlines.h REALLY_INLINE TraitsBindingsp Traits::getTraitsBindings() Traits 234 core/Traits-inlines.h REALLY_INLINE TraitsMetadatap Traits::getTraitsMetadata() Traits 244 core/Traits-inlines.h REALLY_INLINE bool Traits::containsInterface(Traitsp t) Traits 249 core/Traits-inlines.h REALLY_INLINE bool Traits::subtypeof(Traitsp t) Traits 253 core/Traits-inlines.h if (t == *((Traits**)(uintptr_t(this)+off))) Traits 257 core/Traits-inlines.h if (off != offsetof(Traits, m_supertype_cache) || t == m_supertype_neg_cache) Traits 267 core/Traits-inlines.h REALLY_INLINE bool Traits::isPrimary() const Traits 269 core/Traits-inlines.h return m_supertype_offset != offsetof(Traits, m_supertype_cache); Traits 272 core/Traits-inlines.h REALLY_INLINE BuiltinType Traits::getBuiltinType(const Traitsp t) Traits 277 core/Traits-inlines.h REALLY_INLINE bool Traits::notDerivedObjectOrXML() const Traits 282 core/Traits-inlines.h REALLY_INLINE bool Traits::isMachineType() const Traits 287 core/Traits-inlines.h REALLY_INLINE bool Traits::isNumeric() const Traits 292 core/Traits-inlines.h REALLY_INLINE bool Traits::isXMLType() const Traits 297 core/Traits-inlines.h REALLY_INLINE bool Traits::isInstanceType() const Traits 302 core/Traits-inlines.h REALLY_INLINE bool Traits::isInterface() const Traits 307 core/Traits-inlines.h REALLY_INLINE TraitsPosType Traits::posType() const Traits 312 core/Traits-inlines.h REALLY_INLINE bool Traits::isResolved() const Traits 317 core/Traits-inlines.h REALLY_INLINE bool Traits::isActivationTraits() const Traits 322 core/Traits-inlines.h REALLY_INLINE bool Traits::needsHashtable() const Traits 328 core/Traits-inlines.h REALLY_INLINE void Traits::set_needsHashtable(bool v) Traits 334 core/Traits-inlines.h REALLY_INLINE void Traits::setCreateClassClosureProc(CreateClassClosureProc p) Traits 339 core/Traits-inlines.h REALLY_INLINE CreateClassClosureProc Traits::getCreateClassClosureProc() const Traits 344 core/Traits-inlines.h REALLY_INLINE Namespacep Traits::ns() const Traits 349 core/Traits-inlines.h REALLY_INLINE Stringp Traits::name() const Traits 354 core/Traits-inlines.h REALLY_INLINE void Traits::set_names(Namespacep p_ns, Stringp p_name) Traits 362 core/Traits-inlines.h REALLY_INLINE bool Traits::implementsNewInterfaces() const Traits 368 core/Traits-inlines.h REALLY_INLINE InterfaceIterator::InterfaceIterator(Traits* t) Traits 385 core/Traits-inlines.h REALLY_INLINE Traits* InterfaceIterator::next() Traits 204 core/Traits.cpp Traits* overTraits = overms->returnTraits(); Traits 205 core/Traits.cpp Traits* virtTraits = virtms->returnTraits(); Traits 232 core/Traits.cpp if (!owner->subtypeof(virtTraits) || !Traits::isMachineCompatible(this->owner, virtTraits)) Traits 296 core/Traits.cpp Traits* ifc = ifc_iter.next(); Traits 403 core/Traits.cpp void Traits::addVersionedBindings(MultinameHashtable* bindings, Traits 456 core/Traits.cpp Traits::Traits(PoolObject* _pool, Traits 495 core/Traits.cpp /*static*/ Traits* Traits::newTraits(PoolObject* pool, Traits 504 core/Traits.cpp Traits* traits = new (pool->core->GetGC()) Traits(pool, base, objectSize, offsetOfSlots, traitsPos, posType); Traits 508 core/Traits.cpp /*static*/ Traits* Traits::newCatchTraits(const Toplevel* toplevel, PoolObject* pool, TraitsPosPtr traitsPos, Stringp name, Namespacep ns) Traits 511 core/Traits.cpp Traits* traits = new (pool->core->GetGC()) Traits(pool, NULL, sizeof(ScriptObject), sizeof(ScriptObject), traitsPos, TRAITSTYPE_CATCH); Traits 518 core/Traits.cpp Traits* Traits::_newParameterizedTraits(Stringp name, Namespacep ns, Traits* _base) Traits 520 core/Traits.cpp Traits* newtraits = Traits::newTraits(this->pool, _base, this->getSizeOfInstance(), this->m_offsetofSlots, NULL, TRAITSTYPE_RT); Traits 526 core/Traits.cpp TraitsPosPtr Traits::traitsPosStart() const Traits 554 core/Traits.cpp TraitsPosPtr Traits::skipToInstanceInitPos(TraitsPosPtr pos) const Traits 577 core/Traits.cpp return ((1 << Traits::getBuiltinType(slotTE)) & BIG_TYPE_MASK) != 0; Traits 614 core/Traits.cpp BuiltinType bt = Traits::getBuiltinType(slotTE); Traits 705 core/Traits.cpp bool Traits::allowEarlyBinding() const Traits 723 core/Traits.cpp void Traits::buildBindings(TraitsBindingsp basetb, Traits 925 core/Traits.cpp void Traits::computeSlotAreaCountAndSize(TraitsBindings* tb, uint32_t& slotCount, uint32_t& size) const Traits 967 core/Traits.cpp inline uint32_t Traits::computeSlotAreaStart(uint32_t nPointerSlots, uint32_t n32BitNonPointerSlots, uint32_t n64BitNonPointerSlots) const Traits 1013 core/Traits.cpp uint32_t Traits::finishSlotsAndMethods(TraitsBindingsp basetb, Traits 1130 core/Traits.cpp uint32_t Traits::countNewInterfaces(List<Traitsp, LIST_GCObjects>& seen) Traits 1134 core/Traits.cpp Stack<Traits*> pending; Traits 1137 core/Traits.cpp Traits* t = pending.pop(); Traits 1166 core/Traits.cpp TraitsBindings* Traits::_buildTraitsBindings(const Toplevel* toplevel, AbcGen* abcGen) Traits 1191 core/Traits.cpp Traits* t = this->pool->resolveTypeName(pos, toplevel); Traits 1236 core/Traits.cpp Traits* t = it.next(); Traits 1275 core/Traits.cpp TraitsMetadata* Traits::_buildTraitsMetadata() Traits 1348 core/Traits.cpp void Traits::init_declaringScopes(const ScopeTypeChain* stc) Traits 1397 core/Traits.cpp void Traits::resolveSignatures(const Toplevel* toplevel) Traits 1404 core/Traits.cpp List<Traits*> pending(core->gc); Traits 1408 core/Traits.cpp Traits* t = m_primary_supertypes[i]; Traits 1418 core/Traits.cpp for (Traits** st = m_secondary_supertypes; *st != NULL; st++) { Traits 1419 core/Traits.cpp Traits* t = *st; Traits 1440 core/Traits.cpp void Traits::resolveSignaturesSelf(const Toplevel* toplevel) Traits 1445 core/Traits.cpp for (Traits* t = this->base; t != NULL; t = t->base) Traits 1447 core/Traits.cpp for (Traits** st = this->m_secondary_supertypes; *st != NULL; st++) Traits 1555 core/Traits.cpp Traits* activationTraits = m->activationTraits(); Traits 1575 core/Traits.cpp void Traits::initActivationTraits(Toplevel *toplevel) Traits 1618 core/Traits.cpp bool Traits::isMachineCompatible(const Traits* a, const Traits* b) Traits 1629 core/Traits.cpp Stringp Traits::format(AvmCore* core, bool includeAllNamespaces) const Traits 1639 core/Traits.cpp void Traits::genDefaultValue(uint32_t value_index, uint32_t slot_id, const Toplevel* toplevel, Traitsp slotType, CPoolKind kind, AbcGen& gen) const Traits 1646 core/Traits.cpp switch (Traits::getBuiltinType(slotType)) Traits 1704 core/Traits.cpp void Traits::genInitBody(const Toplevel* toplevel, AbcGen& gen) Traits 1772 core/Traits.cpp void Traits::destroyInstance(ScriptObject* obj) const Traits 1849 core/Traits.cpp Stringp Traits::formatClassName() Traits 1873 core/Traits.cpp Binding Traits::getOverride(TraitsBindingsp basetb, Namespacep ns, Stringp name, int tag, const Toplevel* toplevel) const Traits 1950 core/Traits.cpp TraitsBindings* FASTCALL Traits::_getTraitsBindings() Traits 1961 core/Traits.cpp TraitsMetadata* FASTCALL Traits::_getTraitsMetadata() Traits 1972 core/Traits.cpp for (Traits** t = list; *t != NULL; t++) Traits 1979 core/Traits.cpp void Traits::build_primary_supertypes() Traits 1981 core/Traits.cpp MMGC_STATIC_ASSERT(offsetof(Traits, m_primary_supertypes) + sizeof(m_primary_supertypes) < 256); Traits 1982 core/Traits.cpp MMGC_STATIC_ASSERT(offsetof(Traits, m_supertype_cache) < 256); Traits 1987 core/Traits.cpp m_supertype_offset = isInterface() ? offsetof(Traits, m_supertype_cache) : offsetof(Traits, m_primary_supertypes); Traits 1995 core/Traits.cpp if (off != offsetof(Traits, m_supertype_cache) && Traits 1996 core/Traits.cpp (off += sizeof(Traits*)) - offsetof(Traits, m_primary_supertypes) < sizeof(m_primary_supertypes)) { Traits 1999 core/Traits.cpp WB(core->gc, this, (Traits*)(uintptr_t(this)+off), this); Traits 2003 core/Traits.cpp m_supertype_offset = offsetof(Traits, m_supertype_cache); Traits 2019 core/Traits.cpp void Traits::build_secondary_supertypes() Traits 2029 core/Traits.cpp Traits** base_list = base->m_secondary_supertypes; Traits 2039 core/Traits.cpp Traits** list = allocSupertypeList(gc, count + 1); Traits 2054 core/Traits.cpp Traits** list; Traits 2059 core/Traits.cpp for (Traits **d = list, **s = base->m_secondary_supertypes; *s != NULL; s++, d++) Traits 2074 core/Traits.cpp Traits* t = m_primary_supertypes[i]; Traits 2083 core/Traits.cpp for (Traits** st = m_secondary_supertypes; *st != NULL; st++) { Traits 2084 core/Traits.cpp Traits* t = *st; Traits 2096 core/Traits.cpp bool Traits::secondary_subtypeof(Traits* t) Traits 2098 core/Traits.cpp for (Traits** s = m_secondary_supertypes; *s != NULL; s++) { Traits 2109 core/Traits.cpp Traits** Traits::allocSupertypeList(GC* gc, uint32_t size) Traits 2111 core/Traits.cpp return (Traits**) gc->Alloc((size+1) * sizeof(Traits*), MMgc::GC::kZero); Traits 107 core/Traits.h friend class Traits; Traits 128 core/Traits.h TraitsBindings(Traits* _owner, Traits 139 core/Traits.h static TraitsBindings* alloc(MMgc::GC* gc, Traits* _owner, TraitsBindingsp _base, MultinameHashtable* _bindings, uint32_t slotCount, uint32_t methodCount); Traits 167 core/Traits.h void setSlotInfo(uint32_t i, Traits* t, SlotStorageType sst, uint32_t offset); Traits 179 core/Traits.h private: Traits** m_interfaces; Traits 206 core/Traits.h friend class Traits; Traits 244 core/Traits.h class Traits : public MMgc::GCObject Traits 305 core/Traits.h Traits(PoolObject* pool, Traits 306 core/Traits.h Traits* base, Traits 312 core/Traits.h Traits* _newParameterizedTraits(Stringp name, Namespacep ns, Traits* _base); Traits 318 core/Traits.h static Traits* newTraits(PoolObject* pool, Traits 319 core/Traits.h Traits *base, Traits 325 core/Traits.h static Traits* newCatchTraits(const Toplevel* toplevel, PoolObject* pool, TraitsPosPtr traitsPos, Stringp name, Namespacep ns); Traits 326 core/Traits.h Traits* newParameterizedITraits(Stringp name, Namespacep ns); Traits 327 core/Traits.h Traits* newParameterizedCTraits(Stringp name, Namespacep ns); Traits 341 core/Traits.h static Traits** allocSupertypeList(MMgc:: GC*, uint32_t size); Traits 352 core/Traits.h void genDefaultValue(uint32_t value_index, uint32_t slot_id, const Toplevel* toplevel, Traits* slotType, CPoolKind kind, AbcGen& gen) const; Traits 373 core/Traits.h inline static bool isSSTAtom(Traits* t) { return ((1<<getBuiltinType(t)) & SSTATOM_TYPE_MASK) != 0; } Traits 383 core/Traits.h static bool isMachineCompatible(const Traits* a, const Traits* b); Traits 503 core/Traits.h public: Traits* const base; // Pointer to the base traits; that is, the traits of the base class Traits 504 core/Traits.h private: DWB(Traits*) m_supertype_cache; // 1-entry cache for subtypeof=true Traits 505 core/Traits.h private: MMgc::GCHiddenPointer<Traits*> Traits 507 core/Traits.h private: Traits* m_primary_supertypes[MAX_PRIMARY_SUPERTYPE]; // contains the first several base classes, written with explicit WB's Traits 508 core/Traits.h private: DWB(Traits**) m_secondary_supertypes; Traits 510 core/Traits.h public: Traits* itraits; // if this type is a factory, itraits is non-null and points to the type created by this factory. Traits 548 core/Traits.h Traits** st; Traits 550 core/Traits.h InterfaceIterator(Traits*); Traits 553 core/Traits.h Traits* next(); // get the next one (moves iterator forward) Traits 47 core/TraitsIterator.h TraitsIterator(Traits * _traits) : Traits 78 core/TraitsIterator.h Traits* currentTraits() Traits 231 core/TypeDescriber.cpp Traits* ti = iter.next(); Traits 534 core/TypeDescriber.cpp Traits* TypeDescriber::chooseTraits(Atom value, uint32_t flags) Traits 112 core/TypeDescriber.h Traits* chooseTraits(Atom value, uint32_t flags); Traits 131 core/VTable.cpp Traits* ifc = ifc_iter.next(); Traits 360 core/VTable.cpp Traits* traitsBase = traits->base; Traits 361 core/VTable.cpp Traits* baseTraits = base ? base->traits : 0; Traits 486 core/VTable.cpp Traits* ctraits = traitsPool->getTraits(Multiname(traitsNs, classname), toplevel); Traits 487 core/VTable.cpp Traits* itraits; Traits 115 core/VTable.h VTable(Traits* traits, VTable* base, Toplevel* toplevel); Traits 118 core/VTable.h VTable* newParameterizedVTable(Traits* param_traits, Stringp fullname); Traits 140 core/VTable.h Traits* const traits; Traits 440 core/VectorClass.cpp /*static*/ Stringp VectorClass::makeVectorClassName(AvmCore* core, Traits* t) Traits 475 core/VectorClass.cpp Traits* param_traits = so->vtable->ivtable->traits; Traits 610 core/VectorClass.h static Stringp makeVectorClassName(AvmCore* core, Traits* t); Traits 726 core/Verifier.cpp Traits* ftraits = f->makeIntoPrototypeFunction(toplevel, fscope); Traits 762 core/Verifier.cpp Traits* ctraits = checkClassInfo(imm30); Traits 767 core/Verifier.cpp Traits *itraits = ctraits->itraits; Traits 777 core/Verifier.cpp Traits* baseCTraits = state->scopeValue(state->scopeDepth-1).traits; Traits 809 core/Verifier.cpp Traits* resultType; Traits 839 core/Verifier.cpp Traits* propTraits = readBinding(obj.traits, b); Traits 867 core/Verifier.cpp Traits* propType = fms->returnTraits(); Traits 877 core/Verifier.cpp Traits* indexType = state->value(state->sp()-1).traits; Traits 952 core/Verifier.cpp Traits *t = checkTypeName(imm30); // CONSTANT_Multiname Traits 954 core/Verifier.cpp Traits* rhs = state->value(index).traits; Traits 955 core/Verifier.cpp if (!canAssign(t, rhs) || !Traits::isMachineCompatible(t, rhs)) Traits 957 core/Verifier.cpp Traits* resultType = t; Traits 972 core/Verifier.cpp Traits* ct = classValue.traits; Traits 973 core/Verifier.cpp Traits* t = NULL; Traits 986 core/Verifier.cpp Traits *type = checkTypeName(imm30); Traits 996 core/Verifier.cpp Traits *type = BOOLEAN_TYPE; Traits 1005 core/Verifier.cpp Traits *type = OBJECT_TYPE; Traits 1014 core/Verifier.cpp Traits *type = NULL; Traits 1024 core/Verifier.cpp Traits *type = INT_TYPE; Traits 1034 core/Verifier.cpp Traits *type = UINT_TYPE; Traits 1044 core/Verifier.cpp Traits *type = NUMBER_TYPE; Traits 1053 core/Verifier.cpp Traits *type = STRING_TYPE; Traits 1115 core/Verifier.cpp Traits *resultType = mms->returnTraits(); Traits 1146 core/Verifier.cpp Traits* ctraits = state->peek(argc+1).traits; Traits 1147 core/Verifier.cpp Traits* itraits = ctraits ? ctraits->itraits : NULL; Traits 1216 core/Verifier.cpp Traits* ctraits = readBinding(obj.traits, b); Traits 1220 core/Verifier.cpp Traits* itraits = ctraits ? ctraits->itraits : NULL; Traits 1251 core/Verifier.cpp Traits* base = emitCoerceSuper(sp-(n-1)); Traits 1256 core/Verifier.cpp Traits *resultType = NULL; Traits 1289 core/Verifier.cpp Traits* base = emitCoerceSuper(sp-(n-1)); Traits 1291 core/Verifier.cpp Traits* propType = readBinding(base, b); Traits 1302 core/Verifier.cpp Traits* resultType = fms->returnTraits(); Traits 1324 core/Verifier.cpp Traits* base = emitCoerceSuper(sp-(n-1)); Traits 1338 core/Verifier.cpp Traits* baseTraits = emitCoerceSuper(ptrIndex); // check receiver Traits 1377 core/Verifier.cpp Traits* scopeTraits = state->peek().traits; Traits 1381 core/Verifier.cpp Traits* requiredType = scope->getScopeTraitsAt(scope->size+state->scopeDepth); Traits 1406 core/Verifier.cpp Traits* scopeTraits = state->peek().traits; Traits 1422 core/Verifier.cpp Traits* atraits = info->resolveActivation(toplevel); Traits 1497 core/Verifier.cpp Traits* slotTraits = checkSlot(obj.traits, index); Traits 1509 core/Verifier.cpp Traits *globalTraits = scope->size > 0 ? scope->getScopeTraitsAt(0) : state->scopeValue(0).traits; Traits 1512 core/Verifier.cpp Traits* slotTraits = checkSlot(globalTraits, imm30-1); Traits 1524 core/Verifier.cpp Traits* slotTraits = checkSlot(obj.traits, imm30-1); Traits 1539 core/Verifier.cpp Traits* slotTraits = checkSlot(obj.traits, imm30-1); Traits 1583 core/Verifier.cpp Traits *lhst = lhs.traits; Traits 1584 core/Verifier.cpp Traits *rhst = rhs.traits; Traits 1622 core/Verifier.cpp Traits* lhst = lhs.traits; Traits 1623 core/Verifier.cpp Traits* rhst = rhs.traits; Traits 1810 core/Verifier.cpp Traits* result = (opcode == OP_lf32 || opcode == OP_lf64) ? NUMBER_TYPE : INT_TYPE; Traits 1921 core/Verifier.cpp Traits* t = state->peek(n).traits; Traits 1964 core/Verifier.cpp Traits* resultType = mms->returnTraits(); Traits 1999 core/Verifier.cpp Traits* slotType = tb->getSlotTraits(slot_id); Traits 2096 core/Verifier.cpp Traits* t = scope->getScopeTraitsAt(index); Traits 2162 core/Verifier.cpp Traits* propType = readBinding(obj.traits, b); Traits 2194 core/Verifier.cpp Traits* indexType = state->value(state->sp()).traits; Traits 2292 core/Verifier.cpp Traits* Verifier::emitCoerceSuper(int index) Traits 2294 core/Verifier.cpp Traits* base = info->declaringTraits()->base; Traits 2309 core/Verifier.cpp Traits* rhs = v.traits; Traits 2310 core/Verifier.cpp if ((!canAssign(target, rhs) || !Traits::isMachineCompatible(target, rhs))) Traits 2315 core/Verifier.cpp Traits* Verifier::peekType(Traits* requiredType, int n) Traits 2317 core/Verifier.cpp Traits* t = state->peek(n).traits; Traits 2346 core/Verifier.cpp Traits* target = (argc <= mms->param_count()) ? mms->paramTraits(argc) : NULL; Traits 2359 core/Verifier.cpp if (!Traits::isMachineCompatible(lhs,rhs)) Traits 2369 core/Verifier.cpp Traits* t = rhs; Traits 2397 core/Verifier.cpp Traits* Verifier::checkSlot(Traits *traits, int imm30) Traits 2411 core/Verifier.cpp Traits* Verifier::readBinding(Traits* traits, Binding b) Traits 2452 core/Verifier.cpp Traits* Verifier::checkClassInfo(uint32_t id) Traits 2463 core/Verifier.cpp Traits* Verifier::checkTypeName(uint32_t index) Traits 2467 core/Verifier.cpp Traits *t = pool->getTraits(name, toplevel); Traits 2473 core/Verifier.cpp Traits* param_traits = name.getTypeParameter() ? checkTypeName(name.getTypeParameter()) : NULL ; Traits 2592 core/Verifier.cpp Traits* t1 = targetValue.traits; Traits 2593 core/Verifier.cpp Traits* t2 = curValue.traits; Traits 2602 core/Verifier.cpp Traits* t3 = (t1 == t2) ? t1 : findCommonBase(t1, t2); Traits 2631 core/Verifier.cpp Traits* Verifier::findCommonBase(Traits* t1, Traits* t2) Traits 2637 core/Verifier.cpp Traits *temp = t1; Traits 2642 core/Verifier.cpp if (!Traits::isMachineCompatible(t1,t2)) Traits 2662 core/Verifier.cpp Traits* t = t1; Traits 2671 core/Verifier.cpp Traits* common = t; Traits 2679 core/Verifier.cpp if (!Traits::isMachineCompatible(t1,common) || !Traits::isMachineCompatible(t2,common)) Traits 2732 core/Verifier.cpp Traits* t = state->stackValue(i).traits; Traits 2758 core/Verifier.cpp Traits* t = state->stackValue(i).traits; Traits 2798 core/Verifier.cpp Traits* t = type_index ? checkTypeName(type_index) : NULL; Traits 2835 core/Verifier.cpp Traits* scopeTraits = name_index == 0 ? OBJECT_TYPE : Traits 2836 core/Verifier.cpp Traits::newCatchTraits(toplevel, pool, scopePosInPool, qn.getName(), qn.getNamespace()); Traits 2917 core/Verifier.cpp Traits* t = v.traits; Traits 115 core/Verifier.h MethodInfo* checkDispId(Traits* traits, uint32_t disp_id); Traits 117 core/Verifier.h Traits* checkClassInfo(uint32_t class_id); Traits 121 core/Verifier.h bool canAssign(Traits* lhs, Traits* rhs) const; Traits 122 core/Verifier.h Traits* checkSlot(Traits* traits, int slot_id); Traits 123 core/Verifier.h Traits* findCommonBase(Traits* t1, Traits* t2); Traits 125 core/Verifier.h void checkEarlySlotBinding(Traits* traits); Traits 126 core/Verifier.h Traits* peekType(Traits* requiredType, int n=1); Traits 127 core/Verifier.h Traits* emitCoerceSuper(int index); Traits 139 core/Verifier.h bool emitCallpropertyMethod(AbcOpcode opcode, Traits* t, Binding b, Multiname& multiname, uint32_t multiname_index, uint32_t argc, const byte* pc); Traits 140 core/Verifier.h bool emitCallpropertySlot(AbcOpcode opcode, int& sp, Traits* t, Binding b, uint32_t argc, const byte *pc); Traits 164 core/Verifier.h Traits* readBinding(Traits* traits, Binding b); Traits 165 core/Verifier.h void emitCoerce(Traits* target, int i); Traits 167 core/Verifier.h Traits* checkTypeName(uint32_t name_index); Traits 203 core/Verifier.h void write(FrameState* state, const byte* pc, AbcOpcode opcode, Traits*); Traits 204 core/Verifier.h void writeOp1(FrameState* state, const byte *pc, AbcOpcode opcode, uint32_t opd1, Traits *type); Traits 205 core/Verifier.h void writeOp2(FrameState* state, const byte *pc, AbcOpcode opcode, uint32_t opd1, uint32_t opd2, Traits* type); Traits 415 core/WordcodeEmitter.cpp Traits* t = state->value(state->sp()).traits; Traits 92 core/WordcodeEmitter.h void write(FrameState* state, const byte *pc, AbcOpcode opcode, Traits *type = NULL); Traits 93 core/WordcodeEmitter.h void writeOp1 (FrameState* state, const byte *pc, AbcOpcode opcode, uint32_t opd1, Traits *type = NULL); Traits 94 core/WordcodeEmitter.h void writeOp2 (FrameState* state, const byte *pc, AbcOpcode opcode, uint32_t opd1, uint32_t opd2, Traits* type = NULL); Traits 95 core/WordcodeEmitter.h void writeInterfaceCall(FrameState* state, const byte *pc, AbcOpcode opcode, uintptr opd1, uint32_t opd2, Traits* type = NULL); Traits 98 core/WordcodeEmitter.h void writeCoerce(FrameState* state, uint32_t index, Traits *type); Traits 186 core/avmplus.h class Traits; Traits 210 core/avmplus.h typedef Traits* Traitsp; Traits 176 core/instr-inlines.h Atom coerce(E env, Atom atom, Traits* expected) Traits 165 core/instr.cpp Traits* itraits = caller_env->toplevel()->toClassITraits(type); Traits 59 core/instr.h Binding getBinding(E env, Traits* traits, const Multiname* ref); Traits 173 core/instr.h Atom coerceImpl(const Toplevel*, Atom atom, Traits* expected); Traits 175 core/instr.h Atom coerce(E env, Atom atom, Traits* expected); Traits 182 core/instr.h void coerceobj(E env, ScriptObject* obj, Traits*); Traits 235 core/jit-calls.h Traits* obj_type = vtable->traits; Traits 391 core/jit-calls.h Traits* actual_type = vtable->traits; Traits 603 core/jit-calls.h Traits* actual_type = vtable->traits; Traits 714 core/jit-calls.h Traits* t = env->toplevel()->toClassITraits(type); Traits 93 extensions/DictionaryGlue.cpp AvmAssert(Traits::getBuiltinType(obj->traits()) != BUILTIN_qName); Traits 232 extensions/SamplerScript.cpp Traits* t = Traits::newTraits(pool, NULL, sz, 0, 0, TRAITSTYPE_RT); Traits 467 extensions/SamplerScript.cpp Traits *t = AvmCore::atomToScriptObject(o)->traits(); Traits 66 utils/abcasm/src/abcasm/MethodBodyInfo.java Traits traits = new Traits(); Traits 46 utils/abcasm/src/abcasm/ScriptInfo.java Traits traits = new Traits();