traits 45 axscript/ActiveScriptError.cpp Traits *tse = core->toplevel->getBuiltinClass(abcclass_SyntaxError)->traits()->itraits; traits 83 axscript/COMErrorClass.cpp AvmAssert(core()->istype(ret, traits()->itraits)); traits 93 axscript/COMErrorClass.cpp AvmAssert(traits()->sizeofInstance == sizeof(COMErrorObject)); traits 118 axscript/COMErrorClass.cpp AvmAssert(traits()->sizeofInstance == sizeof(COMConsumerErrorClass)); traits 140 axscript/COMErrorClass.cpp AvmAssert(traits()->sizeofInstance == sizeof(COMProviderErrorClass)); traits 98 axscript/DomainClass.cpp Traits *scriptTraits = core->traits.object_itraits; traits 99 axscript/DomainClass.cpp ScopeChain* emptyScope = ScopeChain::create(core->GetGC(), core->traits.object_itraits->scope, NULL, core->newNamespace(core->kEmptyString)); traits 241 axscript/DomainClass.cpp if (!core->istype(atom, core->traits.class_itraits)) { traits 47 axscript/IDispatchConsumer.cpp AvmAssert(traits()->sizeofInstance == sizeof(IDispatchConsumer)); traits 191 axscript/IDispatchConsumer.cpp AvmAssert(traits()->sizeofInstance == sizeof(IDispatchConsumerClass)); traits 431 axscript/axtam.cpp istype(exc->atom, comProviderErrorClass->traits()->itraits); traits 435 axscript/axtam.cpp istype(exc->atom, comConsumerErrorClass->traits()->itraits); traits 755 axscript/axtam.cpp if (istype(val, dispatchClass->traits()->itraits)) { traits 759 axscript/axtam.cpp if (istype(val, unknownClass->traits()->itraits)) { traits 814 axscript/axtam.cpp if (!istype(val, unknownClass->traits()->itraits)) { traits 373 core/AbcParser.cpp core->traits.initInstanceTypes(pool); traits 384 core/AbcParser.cpp core->traits.initClassTypes(pool); traits 425 core/AbcParser.cpp Traits* traits = Traits::newTraits(pool, base, sizeofInstance,offsetofSlots , traitsPos, posType); traits 426 core/AbcParser.cpp traits->set_names(ns, name); traits 427 core/AbcParser.cpp traits->protectedNamespace = protectedNamespace; traits 604 core/AbcParser.cpp if (!f->makeMethodOf(traits)) traits 641 core/AbcParser.cpp return traits; traits 1656 core/AbcParser.cpp Traits* traits = parseTraits(sizeof(ScriptObject), traits 1658 core/AbcParser.cpp core->traits.object_itraits, traits 1666 core/AbcParser.cpp if( !traits ) return false; // parseTraits failed traits 1670 core/AbcParser.cpp traits->set_needsHashtable(true); traits 1671 core/AbcParser.cpp traits->final = true; traits 1673 core/AbcParser.cpp script->makeMethodOf(traits); traits 1674 core/AbcParser.cpp traits->init = script; traits 1684 core/AbcParser.cpp pool->_scripts.set(i, traits); traits 1686 core/AbcParser.cpp pool->aotInfo->scriptTraits[i] = traits; traits 1835 core/AbcParser.cpp if (!baseTraits && core->traits.object_itraits == NULL) traits 1838 core/AbcParser.cpp core->traits.object_itraits = itraits; traits 72 core/ArrayClass.cpp AvmAssert(traits()->getSizeOfInstance() == sizeof(ArrayClass)); traits 139 core/ArrayClass.cpp if (AvmCore::istype(instance, toplevel->arrayClass->ivtable()->traits)) traits 632 core/ArrayClass.cpp toplevel->throwTypeError(kCheckTypeFailedError, core->atomToErrorString(atoms->getAt(i)), core->toErrorString(core->traits.number_itraits)); traits 1063 core/ArrayClass.cpp bool has_x = (toplevel->getBinding(obj_j->vtable->traits, &mname) != BIND_NONE) || obj_j->hasStringProperty(name); traits 1064 core/ArrayClass.cpp bool has_y = (toplevel->getBinding(obj_k->vtable->traits, &mname) != BIND_NONE) || obj_k->hasStringProperty(name); traits 1150 core/ArrayClass.cpp toplevel->coerce(cmp, core->traits.function_itraits); traits 1162 core/ArrayClass.cpp toplevel->throwTypeError(kCheckTypeFailedError, core->atomToErrorString(arg1), core->toErrorString(core->traits.number_itraits)); traits 1173 core/ArrayClass.cpp toplevel->throwTypeError(kCheckTypeFailedError, core->atomToErrorString(arg0), core->toErrorString(core->traits.function_itraits)); traits 1235 core/ArrayClass.cpp else if (AvmCore::istype(namesAtom, toplevel->arrayClass->ivtable()->traits /* array itraits */)) traits 1248 core/ArrayClass.cpp if (AvmCore::istype(optionsAtom, toplevel->arrayClass->ivtable()->traits /* array itraits */)) traits 48 core/ArrayObject.cpp AvmAssert(traits()->getSizeOfInstance() >= sizeof(ArrayObject)); traits 136 core/ArrayObject.cpp if (traits()->needsHashtable()) traits 155 core/ArrayObject.cpp if (traits()->needsHashtable()) traits 210 core/ArrayObject.cpp if (traits()->needsHashtable()) traits 233 core/ArrayObject.cpp if (traits()->needsHashtable()) traits 264 core/ArrayObject.cpp if (traits()->needsHashtable()) traits 282 core/ArrayObject.cpp if (traits()->needsHashtable()) traits 310 core/ArrayObject.cpp if (traits()->needsHashtable()) traits 330 core/ArrayObject.cpp if (traits()->needsHashtable()) traits 348 core/ArrayObject.cpp if (traits()->needsHashtable()) traits 435 core/ArrayObject.cpp if (traits()->needsHashtable()) traits 280 core/AvmCore-inlines.h return istype(atom, traits.function_itraits); traits 1291 core/AvmCore.cpp if (t->base == traits.class_itraits) traits 2079 core/AvmCore.cpp if (istype(atom, handler->traits)) traits 2084 core/AvmCore.cpp console << "enter " << info << " catch " << handler->traits << '\n'; traits 2159 core/AvmCore.cpp return atomToScriptObject(atom)->traits()->subtypeof(itraits); 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 2250 core/AvmCore.cpp return isObject(atm) && atomToScriptObject(atm)->vtable->traits->isDictionary; traits 3445 core/AvmCore.cpp traits->resolveSignatures(toplevel); traits 3446 core/AvmCore.cpp const uint32_t count = traits->getTraitsBindings()->methodCount; traits 3448 core/AvmCore.cpp return new (GetGC(), extraSize) VTable(traits, base, toplevel); traits 44 core/AvmCore.h #define OBJECT_TYPE (core->traits.object_itraits) traits 45 core/AvmCore.h #define CLASS_TYPE (core->traits.class_itraits) traits 46 core/AvmCore.h #define FUNCTION_TYPE (core->traits.function_itraits) traits 47 core/AvmCore.h #define ARRAY_TYPE (core->traits.array_itraits) traits 48 core/AvmCore.h #define STRING_TYPE (core->traits.string_itraits) traits 49 core/AvmCore.h #define NUMBER_TYPE (core->traits.number_itraits) traits 50 core/AvmCore.h #define INT_TYPE (core->traits.int_itraits) traits 51 core/AvmCore.h #define UINT_TYPE (core->traits.uint_itraits) traits 52 core/AvmCore.h #define BOOLEAN_TYPE (core->traits.boolean_itraits) traits 53 core/AvmCore.h #define VOID_TYPE (core->traits.void_itraits) traits 54 core/AvmCore.h #define NULL_TYPE (core->traits.null_itraits) traits 55 core/AvmCore.h #define NAMESPACE_TYPE (core->traits.namespace_itraits) traits 56 core/AvmCore.h #define VECTORINT_TYPE (core->traits.vectorint_itraits) traits 57 core/AvmCore.h #define VECTORUINT_TYPE (core->traits.vectoruint_itraits) traits 58 core/AvmCore.h #define VECTORDOUBLE_TYPE (core->traits.vectordouble_itraits) traits 59 core/AvmCore.h #define VECTOROBJ_TYPE (core->traits.vectorobj_itraits) traits 397 core/AvmCore.h BuiltinTraits traits; traits 448 core/AvmCore.h void exportDefs(Traits* traits, ScriptEnv* scriptEnv); traits 1385 core/AvmCore.h VTable* newVTable(Traits* traits, VTable* base, Toplevel* toplevel); traits 49 core/ClassClass.cpp AvmAssert(traits()->getSizeOfInstance() == sizeof(ClassClass)); traits 46 core/ClassClosure.cpp AvmAssert(traits()->getSizeOfInstance() >= sizeof(ClassClosure)); traits 135 core/ClassClosure.cpp return toplevel->coerce(argv[1], (Traits*)ivtable()->traits); traits 150 core/ClassClosure.cpp if (traits()->name()) traits 152 core/ClassClosure.cpp return traits()->format(core); traits 163 core/ClassClosure.cpp Traits* t = this->traits()->itraits; traits 427 core/CodegenLIR.cpp switch (bt(v.traits)) { traits 441 core/CodegenLIR.cpp NanoAssert(v.traits == INT_TYPE || v.traits == UINT_TYPE || v.traits == BOOLEAN_TYPE); traits 449 core/CodegenLIR.cpp NanoAssert(v.traits == NUMBER_TYPE); traits 458 core/CodegenLIR.cpp NanoAssert(v.traits != NUMBER_TYPE && v.traits != INT_TYPE && traits 459 core/CodegenLIR.cpp v.traits != UINT_TYPE && v.traits != UINT_TYPE); traits 481 core/CodegenLIR.cpp return atomToNativeRep(state->value(i).traits, atom); traits 491 core/CodegenLIR.cpp return !state->value(i).traits->isMachineType(); traits 497 core/CodegenLIR.cpp return nativeToAtom(localCopy(i), state->value(i).traits); traits 1127 core/CodegenLIR.cpp LIns *traits; traits 1131 core/CodegenLIR.cpp : LirWriter(out), core(core), vars(NULL), traits(NULL), nvar(nvar) traits 1140 core/CodegenLIR.cpp this->traits = traits; traits 1144 core/CodegenLIR.cpp AvmAssert( (!traits && (d&7) == 0) || (traits && (d&3)==0)); traits 1145 core/CodegenLIR.cpp int i = (traits) ? d / sizeof(Traits*) : d >> 3; traits 1147 core/CodegenLIR.cpp if (traits) { traits 1218 core/CodegenLIR.cpp else if (base == traits) traits 1496 core/CodegenLIR.cpp localSet(loc, defaultVal, state->value(loc).traits); traits 1527 core/CodegenLIR.cpp localSet(0, atomToNativeRep(0, localGet(0)), state->value(0).traits); traits 1559 core/CodegenLIR.cpp if(!(state->value(i).traits == NULL)){ // expecting * traits 1629 core/CodegenLIR.cpp localSet(dest, localCopy(src), state->value(src).traits); traits 1644 core/CodegenLIR.cpp localSet(i, localCopy(j), state->value(j).traits); traits 1645 core/CodegenLIR.cpp localSet(j, t, state->value(i).traits); traits 1884 core/CodegenLIR.cpp Traits* ct = classValue.traits; 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 2159 core/CodegenLIR.cpp if ((val1.traits == STRING_TYPE && val1.notNull) || (val2.traits == STRING_TYPE && val2.notNull)) { traits 2166 core/CodegenLIR.cpp } else if (val1.traits && val2.traits && val1.traits->isNumeric() && val2.traits->isNumeric()) { traits 2286 core/CodegenLIR.cpp Traits* ctraits = state->value(ctor_index).traits; 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 2575 core/CodegenLIR.cpp Binding b = toplevel->getBinding(obj.traits, name); traits 2583 core/CodegenLIR.cpp obj.traits = type; traits 2599 core/CodegenLIR.cpp Binding b = toplevel->getBinding(obj.traits, name); traits 2606 core/CodegenLIR.cpp const TraitsBindingsp objtd = obj.traits->getTraitsBindings(); traits 2610 core/CodegenLIR.cpp if (!obj.traits->isInterface()) { traits 2633 core/CodegenLIR.cpp Binding b = toplevel->getBinding(obj.traits, name); traits 2640 core/CodegenLIR.cpp const TraitsBindingsp objtd = obj.traits->getTraitsBindings(); traits 2644 core/CodegenLIR.cpp if (!obj.traits->isInterface()) { traits 2728 core/CodegenLIR.cpp Traits* in = value.traits; traits 2859 core/CodegenLIR.cpp Traits* t = state->value(index).traits; traits 2991 core/CodegenLIR.cpp if (state->value(index+i).traits == NUMBER_TYPE) { traits 3009 core/CodegenLIR.cpp switch (bt(state->value(index).traits)) { traits 3088 core/CodegenLIR.cpp Traits *t = state->value(ptr_index).traits; traits 3125 core/CodegenLIR.cpp t = state->value(ptr_index).traits; traits 3138 core/CodegenLIR.cpp t = state->value(ptr_index).traits; traits 3331 core/CodegenLIR.cpp AvmAssert(state->value(sp).traits == INT_TYPE); traits 3449 core/CodegenLIR.cpp AvmAssert(state->value(index).traits == BOOLEAN_TYPE); traits 3465 core/CodegenLIR.cpp AvmAssert(state->value(index).traits == INT_TYPE); traits 3486 core/CodegenLIR.cpp AvmAssert(state->value(index).traits == INT_TYPE); traits 3494 core/CodegenLIR.cpp AvmAssert(state->value(index).traits == INT_TYPE); traits 3601 core/CodegenLIR.cpp AvmAssert(state->value(sp).traits == INT_TYPE); traits 3613 core/CodegenLIR.cpp AvmAssert(state->value(sp).traits == INT_TYPE); traits 3702 core/CodegenLIR.cpp Traits* baseTraits = state->value(baseDisp).traits; 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 4573 core/CodegenLIR.cpp NanoAssert(state->value(a).traits == BOOLEAN_TYPE); traits 4578 core/CodegenLIR.cpp NanoAssert(state->value(a).traits == BOOLEAN_TYPE); 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 60 core/DateObject.h AvmAssert(traits()->getSizeOfInstance() == sizeof(DateObject)); traits 71 core/DateObject.h AvmAssert(traits()->getSizeOfInstance() == sizeof(DateObject)); traits 61 core/Domain.cpp Traits *traits = NULL; traits 63 core/Domain.cpp traits = m_base->getNamedTraits(name, ns, true); traits 65 core/Domain.cpp if (!traits) { traits 66 core/Domain.cpp traits = (Traits*) m_namedTraits->get(name, ns); traits 68 core/Domain.cpp return traits; traits 73 core/Domain.cpp Traits *traits = NULL; traits 75 core/Domain.cpp traits = m_base->getNamedTraits(multiname, true); traits 77 core/Domain.cpp if (!traits) { traits 78 core/Domain.cpp traits = (Traits*) m_namedTraits->getMulti(multiname); traits 80 core/Domain.cpp return traits; traits 47 core/ErrorClass.cpp AvmAssert(traits()->getSizeOfInstance() == sizeof(ErrorClass)); traits 59 core/ErrorClass.cpp AvmAssert(traits()->getSizeOfInstance() == sizeof(ErrorObject)); traits 115 core/ErrorClass.cpp AvmAssert(traits()->getSizeOfInstance() == sizeof(ErrorClass)); traits 62 core/Exception.cpp if (AvmCore::istype(atom, core->traits.error_itraits)) traits 105 core/Exception.h Traits* traits; // The type of exceptions handled by this exception handler. traits 86 core/FrameState-inlines.h v.traits = t; traits 112 core/FrameState-inlines.h setType(verifier->stackBase+stackDepth++, _value.traits, _value.notNull); traits 115 core/FrameState-inlines.h REALLY_INLINE void FrameState::push(Traits* traits, bool notNull) traits 118 core/FrameState-inlines.h setType(verifier->stackBase+stackDepth++, traits, notNull); traits 55 core/FrameState.h Traits* traits; traits 104 core/FrameState.h void push(Traits* traits, bool notNull=false); traits 50 core/FunctionClass.cpp AvmAssert(traits()->getSizeOfInstance() == sizeof(FunctionClass)); traits 93 core/FunctionClass.cpp TraitsBindingsp t = traits()->getTraitsBindings(); traits 2432 core/Interpreter.cpp AvmAssert(u1 < vtable->traits->getTraitsBindings()->methodCount); traits 3282 core/Interpreter.cpp if (i->traits() == core->traits.qName_itraits) traits 61 core/MathClass.cpp AvmAssert(traits()->getSizeOfInstance() == sizeof(MathClass)); traits 54 core/MethodClosure.cpp AvmAssert(traits()->getSizeOfInstance() == sizeof(MethodClosure)); traits 93 core/MethodClosure.cpp AvmAssert(traits()->getSizeOfInstance() == sizeof(MethodClosureClass)); traits 112 core/MethodEnv-inlines.h return vtable()->traits->name(); traits 117 core/MethodEnv-inlines.h return vtable()->traits->ns(); traits 198 core/MethodEnv.cpp Traits* actual = AvmCore::atomToScriptObject(atom)->traits(); traits 223 core/MethodEnv.cpp Traits* actual = AvmCore::atomToScriptObject(atom)->traits(); traits 563 core/MethodEnv.cpp if (method->declaringTraits() != this->vtable()->traits) traits 566 core/MethodEnv.cpp core()->console << "ERROR " << method->getMethodName() << " " << method->declaringTraits() << " " << this->vtable()->traits << "\n"; traits 701 core/MethodEnv.cpp if (i->traits() == core()->traits.qName_itraits) traits 750 core/MethodEnv.cpp if (i->traits() == core()->traits.qName_itraits) traits 797 core/MethodEnv.cpp if (i->traits() == core()->traits.qName_itraits) traits 832 core/MethodEnv.cpp if (i->traits() == core->traits.qName_itraits) traits 868 core/MethodEnv.cpp if (i->traits() == core->traits.qName_itraits) traits 887 core/MethodEnv.cpp if (traits == core->traits.object_itraits) traits 895 core/MethodEnv.cpp VTable* vt = core->newVTable(traits, NULL, toplevel); traits 1256 core/MethodEnv.cpp Traits* baseIvtableTraits = base ? base->ivtable()->traits : 0; traits 1342 core/MethodEnv.cpp CreateClassClosureProc createClassClosure = cvtable->traits->getCreateClassClosureProc(); traits 1389 core/MethodEnv.cpp Binding b = toplevel->getBindingAndDeclarer(vtable->traits, *multiname, declarer); traits 1394 core/MethodEnv.cpp toplevel->throwReferenceError(kConstWriteError, multiname, vtable->traits); traits 1448 core/MethodEnv.cpp Binding b = toplevel->getBinding(base->traits, multiname); traits 1452 core/MethodEnv.cpp toplevel->throwReferenceError(kCallNotFoundError, multiname, base->traits); traits 1472 core/MethodEnv.cpp toplevel->throwReferenceError(kWriteOnlyError, multiname, base->traits); traits 1489 core/MethodEnv.cpp Traits* traits = toplevel->toTraits(obj); // includes null check traits 1492 core/MethodEnv.cpp Binding b = toplevel->getBinding(traits, multiname); traits 1517 core/MethodEnv.cpp toplevel->throwReferenceError(kDeleteSealedError, multiname, traits); traits 1527 core/MethodEnv.cpp Binding b = toplevel->getBinding(vtable->traits, multiname); traits 1531 core/MethodEnv.cpp toplevel->throwReferenceError(kReadSealedError, multiname, vtable->traits); traits 1547 core/MethodEnv.cpp toplevel->throwReferenceError(kWriteOnlyError, multiname, vtable->traits); traits 1565 core/MethodEnv.cpp Binding b = toplevel->getBinding(vtable->traits, multiname); traits 1569 core/MethodEnv.cpp toplevel->throwReferenceError(kWriteSealedError, multiname, vtable->traits); traits 1572 core/MethodEnv.cpp toplevel->throwReferenceError(kConstWriteError, multiname, vtable->traits); traits 1575 core/MethodEnv.cpp toplevel->throwReferenceError(kCannotAssignToMethodError, multiname, vtable->traits); traits 1578 core/MethodEnv.cpp toplevel->throwReferenceError(kConstWriteError, multiname, vtable->traits); traits 1590 core/MethodEnv.cpp AvmAssert(m < vtable->traits->getTraitsBindings()->methodCount); traits 1619 core/MethodEnv.cpp Binding b = toplevel->getBinding(o->traits(), multiname); traits 1642 core/MethodEnv.cpp Binding b = toplevel->getBinding(o->traits(), multiname); traits 1867 core/MethodEnv.cpp AvmAssert(expected != core()->traits.string_itraits); traits 1868 core/MethodEnv.cpp AvmAssert(expected != core()->traits.namespace_itraits); traits 1876 core/MethodEnv.cpp if (so->traits()->subtypeof(expected)) traits 1902 core/MethodEnv.cpp Traits* activationTraits = activationScopeTraits->traits(); traits 161 core/MethodEnv.h ScriptObject* newcatch(Traits *traits); traits 135 core/MethodInfo.cpp return ((const ScopeTypeChain*)(_declaringScopeOrTraits))->traits(); traits 148 core/MethodInfo.cpp AvmAssert(((Traits*)(_declaringScopeOrTraits & ~IS_TRAITS)) == s->traits()); traits 157 core/MethodInfo.cpp return ((const ScopeTypeChain*)(_activationScopeOrTraits))->traits(); traits 176 core/MethodInfo.cpp AvmAssert(((Traits*)(_activationScopeOrTraits & ~IS_TRAITS)) == s->traits()); traits 861 core/MethodInfo.cpp WB(pool()->core->GetGC(), this, &_declaringScopeOrTraits, uintptr_t(traits) | IS_TRAITS); traits 900 core/MethodInfo.cpp Traits* ftraits = fscope->traits(); traits 901 core/MethodInfo.cpp AvmAssert(fscope->traits() == core->traits.function_itraits); traits 950 core/MethodInfo.cpp receiverType = (_flags & NEED_CLOSURE) ? declaringTraits() : core->traits.object_itraits; traits 1037 core/MethodInfo.cpp returnType = pool->core->traits.void_itraits; traits 48 core/NamespaceClass.cpp AvmAssert(traits()->getSizeOfInstance() == sizeof(NamespaceClass)); traits 305 core/NativeFunction.h ASSERT_FUNC(cc->traits(), cc->traits()->itraits); \ traits 53 core/ObjectClass.cpp AvmAssert(traits()->getSizeOfInstance() == sizeof(ObjectClass)); traits 126 core/ObjectClass.cpp t = obj->traits(); traits 182 core/ObjectClass.cpp toplevel()->throwReferenceError(kWriteSealedError, &multiname, traits()); traits 188 core/PoolObject.cpp _namedTraits->add(name, ns, (Binding)traits); traits 633 core/PoolObject.cpp if (base == core->traits.vector_itraits) traits 639 core/PoolObject.cpp r = core->traits.vectorobj_itraits; traits 642 core/PoolObject.cpp r = core->traits.vectorint_itraits; traits 645 core/PoolObject.cpp r = core->traits.vectoruint_itraits; traits 648 core/PoolObject.cpp r = core->traits.vectordouble_itraits; traits 657 core/PoolObject.cpp r = core->traits.vectorobj_itraits->newParameterizedITraits(fullname, base->ns()); traits 150 core/PoolObject.h void addNamedTraits(Stringp name, Namespacep ns, Traits* traits); traits 329 core/PrintWriter.cpp if (t->base == m_core->traits.class_itraits) traits 49 core/RegExpClass.cpp AvmAssert(traits()->getSizeOfInstance() == sizeof(RegExpClass)); traits 69 core/RegExpClass.cpp if (AvmCore::istype(argv[1], traits()->itraits) && flagsAtom == undefinedAtom) { traits 89 core/RegExpClass.cpp if (AvmCore::istype(patternAtom, traits()->itraits)) { traits 66 core/RegExpObject.cpp AvmAssert(traits()->getSizeOfInstance() == sizeof(RegExpObject)); traits 85 core/RegExpObject.cpp AvmAssert(traits()->getSizeOfInstance() == sizeof(RegExpObject)); traits 107 core/RegExpObject.cpp AvmAssert(traits()->getSizeOfInstance() == sizeof(RegExpObject)); traits 44 core/ScopeChain-inlines.h REALLY_INLINE ScopeTypeChain::ScopeTypeChain(int32_t _size, int32_t _fullsize, Traits* traits) traits 45 core/ScopeChain-inlines.h : size(_size), fullsize(_fullsize), _traits(traits) traits 48 core/ScopeChain-inlines.h REALLY_INLINE const ScopeTypeChain* ScopeTypeChain::createEmpty(MMgc::GC* gc, Traits* traits) traits 50 core/ScopeChain-inlines.h return create(gc, traits, NULL, NULL, NULL, NULL); traits 53 core/ScopeChain-inlines.h REALLY_INLINE Traits* ScopeTypeChain::traits() const traits 51 core/ScopeChain.cpp ScopeTypeChain* nscope = new(gc, padSize) ScopeTypeChain(outerSize + capture, outerSize + capture + extraEntries, traits); traits 60 core/ScopeChain.cpp nscope->setScopeAt(j++, v.traits, v.isWith); traits 77 core/ScopeChain.cpp return ScopeTypeChain::create(gc, traits, outer, &state->scopeValue(0), state->scopeDepth, append, extra); traits 79 core/ScopeChain.cpp return ScopeTypeChain::create(gc, traits, outer, 0, 0, append, extra); traits 91 core/ScopeChain.cpp values[i].traits = stateTraits[i]; traits 94 core/ScopeChain.cpp return ScopeTypeChain::create(gc, traits, outer, values, nStateTraits, append, extra); traits 100 core/ScopeChain.cpp if (p_traits == this->traits()) traits 135 core/ScopeChain.cpp AvmAssert(vtable->traits == scopeTraits->traits()); traits 152 core/ScopeChain.cpp const ScopeTypeChain* nstc = p_scopeTraits ? p_scopeTraits : _scopeTraits->cloneWithNewTraits(gc, p_vtable->traits); traits 153 core/ScopeChain.cpp AvmAssert(nstc->traits() == p_vtable->traits); 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 54 core/ScriptObject.cpp AvmAssert(vtable->traits->isResolved()); traits 57 core/ScriptObject.cpp AvmAssert(MMgc::GC::Size(this) >= vtable->traits->getTotalSize()); traits 70 core/ScriptObject.cpp AvmAssert(vtable->traits->isResolved()); traits 73 core/ScriptObject.cpp AvmAssert(MMgc::GC::Size(this) >= vtable->traits->getTotalSize()); traits 76 core/ScriptObject.cpp if (vtable->traits->needsHashtable() && capacity) traits 85 core/ScriptObject.cpp vtable->traits->destroyInstance(this); traits 90 core/ScriptObject.cpp AvmAssert(vtable->traits->isDictionary == 0); //should not be called DictionaryObject uses HeapHashtable traits 97 core/ScriptObject.cpp p = (uint8_t*)this + vtable->traits->getHashtableOffset(); traits 104 core/ScriptObject.cpp AvmAssert(vtable->traits->getHashtableOffset() != 0); traits 110 core/ScriptObject.cpp p = (uint8_t*)this + vtable->traits->getHashtableOffset(); traits 111 core/ScriptObject.cpp if(!vtable->traits->isDictionary) traits 136 core/ScriptObject.cpp if (!traits()->needsHashtable()) traits 138 core/ScriptObject.cpp return getAtomPropertyFromProtoChain(name, delegate, traits()); traits 196 core/ScriptObject.cpp if (traits()->needsHashtable() && multiname->isValidDynamicName()) traits 209 core/ScriptObject.cpp if (traits()->needsHashtable()) traits 230 core/ScriptObject.cpp if (traits()->needsHashtable()) traits 250 core/ScriptObject.cpp toplevel()->throwReferenceError(kWriteSealedError, &multiname, traits()); traits 256 core/ScriptObject.cpp if (traits()->needsHashtable() && name->isValidDynamicName()) traits 263 core/ScriptObject.cpp toplevel()->throwReferenceError(kWriteSealedError, name, traits()); traits 269 core/ScriptObject.cpp if (traits()->needsHashtable()) traits 290 core/ScriptObject.cpp if (traits()->needsHashtable()) traits 306 core/ScriptObject.cpp toplevel()->throwReferenceError(kWriteSealedError, &multiname, traits()); traits 312 core/ScriptObject.cpp if (traits()->needsHashtable()) traits 333 core/ScriptObject.cpp if (traits()->needsHashtable() && name->isValidDynamicName()) traits 349 core/ScriptObject.cpp if (!traits()->needsHashtable()) traits 352 core/ScriptObject.cpp return getAtomPropertyFromProtoChain(name, delegate, traits()); traits 383 core/ScriptObject.cpp if (traits()->needsHashtable()) traits 395 core/ScriptObject.cpp toplevel()->throwReferenceError(kWriteSealedError, &multiname, traits()); traits 410 core/ScriptObject.cpp if (traits()->needsHashtable()) traits 432 core/ScriptObject.cpp if (traits()->needsHashtable()) traits 459 core/ScriptObject.cpp toplevel->throwReferenceError(kReadSealedErrorNs, multiname, traits()); traits 461 core/ScriptObject.cpp toplevel->throwReferenceError(kReadSealedError, multiname, traits()); traits 488 core/ScriptObject.cpp toplevel()->throwTypeError(kDescendentsError, core()->toErrorString(traits())); traits 506 core/ScriptObject.cpp if (traits()->name() != NULL) { traits 507 core/ScriptObject.cpp return core->concatStrings(traits()->format(core), traits 544 core/ScriptObject.cpp toplevel->throwTypeError(kConvertToPrimitiveError, core->toErrorString(traits())); traits 580 core/ScriptObject.cpp toplevel->throwTypeError(kConvertToPrimitiveError, core->toErrorString(traits())); traits 614 core/ScriptObject.cpp Traits* traits = this->traits(); traits 615 core/ScriptObject.cpp const TraitsBindingsp td = traits->getTraitsBindings(); traits 626 core/ScriptObject.cpp return traits->core->doubleToAtom(*((const double*)p)); traits 630 core/ScriptObject.cpp return traits->core->intToAtom(*((const int32_t*)p)); traits 634 core/ScriptObject.cpp return traits->core->uintToAtom(*((const int32_t*)p)); traits 657 core/ScriptObject.cpp Traits* traits = this->traits(); traits 658 core/ScriptObject.cpp const TraitsBindingsp td = traits->getTraitsBindings(); traits 686 core/ScriptObject.cpp Traits* traits = this->traits(); traits 687 core/ScriptObject.cpp const TraitsBindingsp td = traits->getTraitsBindings(); traits 700 core/ScriptObject.cpp WBATOM(traits->core->GetGC(), this, (Atom*)p, value); traits 727 core/ScriptObject.cpp value = (Atom)traits->core->string(value); // don't bother setting tag bits traits 738 core/ScriptObject.cpp if (atomKind(value) != kObjectType || !AvmCore::atomToScriptObject(value)->traits()->subtypeof(td->getSlotTraits(slot))) traits 741 core/ScriptObject.cpp WBRC(traits->core->GetGC(), this, p, atomPtr(value)); traits 746 core/ScriptObject.cpp toplevel()->throwTypeError(kCheckTypeFailedError, traits->core->atomToErrorString(value), traits->core->toErrorString(td->getSlotTraits(slot))); traits 752 core/ScriptObject.cpp AvmAssert(traits()->needsHashtable()); traits 767 core/ScriptObject.cpp AvmAssert(traits()->needsHashtable()); traits 784 core/ScriptObject.cpp if (!traits()->needsHashtable()) traits 823 core/ScriptObject.cpp AvmAssert(base->traits()->itraits == this->traits()->itraits->base); traits 835 core/ScriptObject.cpp uint64 size = traits()->getTotalSize(); traits 836 core/ScriptObject.cpp if(traits()->needsHashtable()) traits 850 core/ScriptObject.cpp Traits* t = this->traits(); traits 67 core/ScriptObject.h Traits* traits() const { traits 68 core/ScriptObject.h return vtable->traits; traits 72 core/ScriptObject.h return vtable->traits->core; traits 92 core/ScriptObject.h p = (uint8_t*)this + vtable->traits->getHashtableOffset(); traits 93 core/ScriptObject.h if(!vtable->traits->isDictionary) traits 170 core/StackTrace.h inline Traits** traits() const { return m_traits; } traits 167 core/StringClass.cpp if (!AvmCore::istype(regexpAtom, core->traits.regexp_itraits)) traits 186 core/StringClass.cpp if (AvmCore::istype(replacementAtom, core->traits.function_itraits)) { traits 192 core/StringClass.cpp if (AvmCore::istype(pattern, core->traits.regexp_itraits)) { traits 233 core/StringClass.cpp if (!AvmCore::istype(regexpAtom, core->traits.regexp_itraits)) { traits 260 core/StringClass.cpp if (AvmCore::istype(delimAtom, core->traits.regexp_itraits)) traits 65 core/Toplevel-inlines.h REALLY_INLINE Binding Toplevel::getBinding(Traits* traits, const Multiname* ref) const traits 67 core/Toplevel-inlines.h return avmplus::getBinding(this, traits, ref); traits 103 core/Toplevel-inlines.h REALLY_INLINE void Toplevel::throwReferenceError(int id, const Multiname& multiname, const Traits* traits) const traits 105 core/Toplevel-inlines.h throwReferenceError(id, &multiname, traits); traits 59 core/Toplevel.cpp object_ivtable = core->newVTable(core->traits.object_itraits, NULL, NULL); traits 61 core/Toplevel.cpp ScopeChain* object_iscope = ScopeChain::create(gc, object_ivtable, abcEnv, core->traits.object_istc, NULL, publicNS); traits 81 core/Toplevel.cpp class_ivtable = core->newVTable(core->traits.class_itraits, object_ivtable, this); traits 82 core/Toplevel.cpp ScopeChain* class_iscope = ScopeChain::create(gc, class_ivtable, abcEnv, core->traits.class_istc, NULL, publicNS); traits 97 core/Toplevel.cpp Traits* traits = pool->getClassTraits(class_id)->itraits; traits 98 core/Toplevel.cpp Multiname qname(traits->ns(), traits->name()); traits 159 core/Toplevel.cpp return AvmCore::atomToScriptObject(atom)->traits(); traits 161 core/Toplevel.cpp return core()->traits.namespace_itraits; traits 163 core/Toplevel.cpp return core()->traits.string_itraits; traits 165 core/Toplevel.cpp return core()->traits.boolean_itraits; traits 169 core/Toplevel.cpp return core()->traits.number_itraits; traits 451 core/Toplevel.cpp (!AvmCore::istype(ctor, core->traits.function_itraits) && traits 452 core/Toplevel.cpp !AvmCore::istype(ctor, core->traits.class_itraits))) traits 486 core/Toplevel.cpp Traits* itraits = AvmCore::atomToScriptObject(atom)->traits()->itraits; traits 534 core/Toplevel.cpp const Binding propBinding = getBinding(vtable->traits, multiname); traits 573 core/Toplevel.cpp const Binding propBinding = getBinding(vtable->traits, multiname); traits 588 core/Toplevel.cpp if (multiname->isValidDynamicName() && o->traits()->needsHashtable()) traits 622 core/Toplevel.cpp Binding b = getBinding(vtable->traits, multiname); traits 681 core/Toplevel.cpp throwReferenceError(kWriteOnlyError, multiname, vtable->traits); traits 693 core/Toplevel.cpp Binding b = getBinding(vtable->traits, multiname); traits 711 core/Toplevel.cpp throwReferenceError(kCannotAssignToMethodError, multiname, vtable->traits); traits 717 core/Toplevel.cpp throwReferenceError(kConstWriteError, multiname, vtable->traits); traits 731 core/Toplevel.cpp AvmAssert(m < vtable->traits->getTraitsBindings()->methodCount); traits 739 core/Toplevel.cpp throwReferenceError(kConstWriteError, multiname, vtable->traits); traits 755 core/Toplevel.cpp throwReferenceError(kWriteSealedError, multiname, vtable->traits); traits 783 core/Toplevel.cpp if (traits && ref.isBinding()) traits 785 core/Toplevel.cpp if (!traits->isResolved()) traits 786 core/Toplevel.cpp traits->resolveSignatures(this); traits 788 core/Toplevel.cpp b = traits->getTraitsBindings()->findBindingAndDeclarer(ref, declarer); 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 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 234 core/Traits.cpp if (!this->owner->isMachineType() && virtTraits == core->traits.object_itraits) traits 504 core/Traits.cpp Traits* traits = new (pool->core->GetGC()) Traits(pool, base, objectSize, offsetOfSlots, traitsPos, posType); traits 505 core/Traits.cpp return traits; traits 511 core/Traits.cpp Traits* traits = new (pool->core->GetGC()) Traits(pool, NULL, sizeof(ScriptObject), sizeof(ScriptObject), traitsPos, TRAITSTYPE_CATCH); traits 512 core/Traits.cpp traits->final = true; traits 513 core/Traits.cpp traits->set_names(ns, name); traits 514 core/Traits.cpp traits->resolveSignatures(toplevel); traits 515 core/Traits.cpp return traits; traits 48 core/TraitsIterator.h traits(_traits ? _traits->getTraitsBindings() : NULL), traits 55 core/TraitsIterator.h if (index == -1 || !traits) traits 59 core/TraitsIterator.h while ((index = traits->next(index)) == 0) traits 62 core/TraitsIterator.h traits = traits->base; traits 63 core/TraitsIterator.h if (!traits) traits 72 core/TraitsIterator.h key = traits->keyAt(index); traits 73 core/TraitsIterator.h ns = traits->nsAt(index); traits 74 core/TraitsIterator.h value = traits->valueAt(index); traits 81 core/TraitsIterator.h if (traits) return traits->owner; traits 87 core/TraitsIterator.h TraitsBindingsp traits; traits 54 core/TypeDescriber.cpp Stringp TypeDescriber::describeClassName(Traitsp traits) traits 56 core/TypeDescriber.cpp if (!traits) traits 59 core/TypeDescriber.cpp Stringp name = traits->formatClassName(); traits 190 core/TypeDescriber.cpp ScriptObject* TypeDescriber::describeTraits(Traitsp traits, uint32_t flags, Toplevel* toplevel) traits 197 core/TypeDescriber.cpp TraitsBindingsp tb = traits->getTraitsBindings(); traits 198 core/TypeDescriber.cpp TraitsMetadatap tm = traits->getTraitsMetadata(); traits 222 core/TypeDescriber.cpp for (Traitsp b = traits->base; b; b = b->base) traits 229 core/TypeDescriber.cpp for (InterfaceIterator iter(traits); iter.hasNext();) traits 239 core/TypeDescriber.cpp MethodInfo* initMethod = traits->init; traits 262 core/TypeDescriber.cpp for (InterfaceIterator ifc_iter(traits); ifc_iter.hasNext();) traits 536 core/TypeDescriber.cpp Traitsp traits; traits 538 core/TypeDescriber.cpp traits = m_toplevel->core()->traits.void_itraits; traits 540 core/TypeDescriber.cpp traits = m_toplevel->core()->traits.null_itraits; traits 542 core/TypeDescriber.cpp traits = m_toplevel->core()->traits.int_itraits; traits 544 core/TypeDescriber.cpp traits = m_toplevel->toTraits(value); traits 547 core/TypeDescriber.cpp traits = traits->itraits; traits 549 core/TypeDescriber.cpp return traits; traits 554 core/TypeDescriber.cpp Traitsp traits = chooseTraits(value, flags); traits 556 core/TypeDescriber.cpp if (!traits) traits 562 core/TypeDescriber.cpp { kstrid_name, strAtom(describeClassName(traits)) }, traits 563 core/TypeDescriber.cpp { kstrid_isDynamic, boolAtom(traits->needsHashtable()) }, traits 564 core/TypeDescriber.cpp { kstrid_isFinal, boolAtom(traits->final) }, traits 565 core/TypeDescriber.cpp { kstrid_isStatic, boolAtom(traits->itraits != NULL) }, traits 566 core/TypeDescriber.cpp { kstrid_traits, objAtom(describeTraits(traits, flags, m_toplevel)) }, traits 575 core/TypeDescriber.cpp Traitsp traits = chooseTraits(value, 0); traits 576 core/TypeDescriber.cpp return traits ? describeClassName(traits) : NULL; traits 583 core/TypeDescriber.cpp Traitsp traits = chooseTraits(value, 0); traits 584 core/TypeDescriber.cpp if (!traits) traits 587 core/TypeDescriber.cpp if (traits->itraits) traits 588 core/TypeDescriber.cpp traits = traits->itraits; traits 590 core/TypeDescriber.cpp return traits->base && traits->base != m_toplevel->core()->traits.class_itraits ? traits 591 core/TypeDescriber.cpp describeClassName(traits->base) : traits 116 core/TypeDescriber.h Stringp describeClassName(Traitsp traits); traits 117 core/TypeDescriber.h ScriptObject* describeTraits(Traitsp traits, uint32_t flags, Toplevel* toplevel); traits 45 core/VTable-inlines.h return traits->getExtraSize(); traits 50 core/VTable-inlines.h return traits->core->GetGC(); traits 55 core/VTable-inlines.h return traits->core; traits 66 core/VTable-inlines.h return traits->format(core); traits 117 core/VTable.cpp MMgc::GC* gc = vtable->traits->core->GetGC(); traits 118 core/VTable.cpp Traitsp traits = vtable->traits; traits 119 core/VTable.cpp AvmAssert(!traits->isInterface()); traits 120 core/VTable.cpp AvmAssert(traits->core->IsJITEnabled()); traits 125 core/VTable.cpp if (!traits->implementsNewInterfaces()) traits 128 core/VTable.cpp TraitsBindingsp tb = traits->getTraitsBindings(); traits 129 core/VTable.cpp for (InterfaceIterator ifc_iter(traits); ifc_iter.hasNext();) traits 224 core/VTable.cpp AvmCore* core = traits->core; traits 238 core/VTable.cpp TraitsBindingsp tb = base->traits->getTraitsBindings(); traits 256 core/VTable.cpp AvmAssert(!traits->isInterface()); traits 257 core/VTable.cpp AvmAssert(traits->core->IsJITEnabled()); traits 269 core/VTable.cpp AvmCore* core = traits->core; traits 302 core/VTable.cpp AvmCore* core = traits->core; traits 339 core/VTable.cpp traits(traits), traits 342 core/VTable.cpp AvmAssert(traits != NULL); traits 352 core/VTable.cpp if (!traits->isResolved()) traits 354 core/VTable.cpp traits->resolveSignatures(toplevel()); traits 355 core/VTable.cpp traits->init_declaringScopes(scope->scopeTraits()); traits 360 core/VTable.cpp Traits* traitsBase = traits->base; traits 361 core/VTable.cpp Traits* baseTraits = base ? base->traits : 0; traits 363 core/VTable.cpp AvmAssert((base == NULL && traits->base == NULL) || (base != NULL && traitsBase == baseTraits)); traits 366 core/VTable.cpp AvmCore* core = traits->core; traits 369 core/VTable.cpp if (traits->init && !this->init) traits 371 core/VTable.cpp this->init = makeMethodEnv(traits->init, scope); traits 376 core/VTable.cpp const TraitsBindingsp td = traits->getTraitsBindings(); traits 397 core/VTable.cpp if (traits->pool->isVerbose(VB_traits)) traits 400 core/VTable.cpp traits->core->console << "WARNING: empty disp_id " << i << " on " << traits << "\n"; traits 408 core/VTable.cpp traits->isDictionary = base->traits->isDictionary; traits 411 core/VTable.cpp if (traits->core->IsJITEnabled()) traits 456 core/VTable.cpp const TraitsBindingsp td = traits->getTraitsBindings(); traits 482 core/VTable.cpp Namespacep traitsNs = this->traits->ns(); traits 483 core/VTable.cpp PoolObject* traitsPool = this->traits->pool; traits 490 core/VTable.cpp ctraits = this->traits->newParameterizedCTraits(classname, traitsNs); traits 491 core/VTable.cpp itraits = traitsPool->resolveParameterizedType(toplevel, this->ivtable->traits, param_traits); traits 115 core/VTable.h VTable(Traits* traits, VTable* base, Toplevel* toplevel); traits 140 core/VTable.h Traits* const traits; traits 124 core/VectorClass.cpp toplevel()->throwReferenceError(kWriteSealedError, &mn, traits()); traits 144 core/VectorClass.cpp toplevel()->throwReferenceError(kReadSealedError, &mn, traits()); traits 147 core/VectorClass.cpp return getAtomPropertyFromProtoChain(name, getDelegate(), traits()); traits 307 core/VectorClass.cpp if( AvmCore::istype(argv[1], ivtable()->traits ) ) traits 356 core/VectorClass.cpp if( AvmCore::istype(argv[1], ivtable()->traits ) ) traits 404 core/VectorClass.cpp if( AvmCore::istype(argv[1], ivtable()->traits ) ) traits 455 core/VectorClass.cpp toplevel()->typeErrorClass()->throwError(kWrongTypeArgCountError, traits()->formatClassName(), core()->toErrorString(1), core()->toErrorString(argc)); traits 475 core/VectorClass.cpp Traits* param_traits = so->vtable->ivtable->traits; traits 501 core/VectorClass.cpp if( AvmCore::istype(argv[1], ivtable()->traits ) ) traits 585 core/VectorClass.cpp WBATOM( MMgc::GC::GetGC(m_array), m_array, m_array + index, (t ? toplevel()->coerce(value, t->traits()->itraits) : value)); traits 325 core/VectorClass.h toplevel()->throwTypeError(kCheckTypeFailedError, core()->atomToErrorString(obj), core()->toErrorString(this->traits())); traits 401 core/VectorClass.h if (AvmCore::istype(instance, vtable->traits)) traits 523 core/VectorClass.h if (instance && AvmCore::istype(instance, vtable->traits)) traits 415 core/Verifier.cpp v.traits = NULL; traits 427 core/Verifier.cpp emitCoerce(handler->traits, sp); traits 656 core/Verifier.cpp state->setType(imm30, v.traits, v.notNull); traits 671 core/Verifier.cpp state->setType(index, v.traits, v.notNull); traits 700 core/Verifier.cpp v.traits = NULL; traits 725 core/Verifier.cpp const ScopeTypeChain* fscope = ScopeTypeChain::create(core->GetGC(), core->traits.function_itraits, scope, state, NULL, NULL); traits 777 core/Verifier.cpp Traits* baseCTraits = state->scopeValue(state->scopeDepth-1).traits; traits 837 core/Verifier.cpp toplevel->getBindingAndDeclarer(obj.traits, multiname, declarer) : traits 838 core/Verifier.cpp toplevel->getBinding(obj.traits, &multiname); traits 839 core/Verifier.cpp Traits* propTraits = readBinding(obj.traits, b); traits 862 core/Verifier.cpp const TraitsBindingsp objtd = obj.traits->getTraitsBindings(); traits 873 core/Verifier.cpp if( obj.traits == VECTORINT_TYPE || obj.traits == VECTORUINT_TYPE || traits 874 core/Verifier.cpp obj.traits == VECTORDOUBLE_TYPE ) traits 877 core/Verifier.cpp Traits* indexType = state->value(state->sp()-1).traits; traits 883 core/Verifier.cpp if(obj.traits == VECTORINT_TYPE) traits 885 core/Verifier.cpp else if(obj.traits == VECTORUINT_TYPE) traits 887 core/Verifier.cpp else if(obj.traits == VECTORDOUBLE_TYPE) traits 954 core/Verifier.cpp Traits* rhs = state->value(index).traits; traits 972 core/Verifier.cpp Traits* ct = classValue.traits; traits 1146 core/Verifier.cpp Traits* ctraits = state->peek(argc+1).traits; traits 1171 core/Verifier.cpp if( !obj.traits ) traits 1174 core/Verifier.cpp verifyFailed(kIllegalEarlyBindingError, core->toErrorString(obj.traits)); traits 1215 core/Verifier.cpp Binding b = toplevel->getBinding(obj.traits, &multiname); traits 1216 core/Verifier.cpp Traits* ctraits = readBinding(obj.traits, b); traits 1377 core/Verifier.cpp Traits* scopeTraits = state->peek().traits; traits 1406 core/Verifier.cpp Traits* scopeTraits = state->peek().traits; traits 1496 core/Verifier.cpp checkEarlySlotBinding(obj.traits); 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 1523 core/Verifier.cpp checkEarlySlotBinding(obj.traits); traits 1524 core/Verifier.cpp Traits* slotTraits = checkSlot(obj.traits, imm30-1); traits 1538 core/Verifier.cpp checkEarlySlotBinding(obj.traits); 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 1771 core/Verifier.cpp if (v.traits != INT_TYPE) traits 1772 core/Verifier.cpp verifyFailed(kIllegalOperandTypeError, core->toErrorString(v.traits), core->toErrorString(INT_TYPE)); traits 1921 core/Verifier.cpp Traits* t = state->peek(n).traits; traits 1952 core/Verifier.cpp if (t == core->traits.math_ctraits) traits 1954 core/Verifier.cpp else if (t == core->traits.string_itraits) traits 2001 core/Verifier.cpp if (slotType == core->traits.int_ctraits) traits 2007 core/Verifier.cpp if (slotType == core->traits.uint_ctraits) traits 2013 core/Verifier.cpp if (slotType == core->traits.number_ctraits) traits 2019 core/Verifier.cpp if (slotType == core->traits.boolean_ctraits) traits 2025 core/Verifier.cpp if (slotType == core->traits.string_ctraits) traits 2081 core/Verifier.cpp Binding b = toplevel->getBinding(v.traits, &multiname); traits 2161 core/Verifier.cpp Binding b = toplevel->getBinding(obj.traits, &multiname); traits 2162 core/Verifier.cpp Traits* propType = readBinding(obj.traits, b); traits 2179 core/Verifier.cpp const TraitsBindingsp objtd = obj.traits->getTraitsBindings(); traits 2190 core/Verifier.cpp if( obj.traits == VECTORINT_TYPE || obj.traits == VECTORUINT_TYPE || traits 2191 core/Verifier.cpp obj.traits == VECTORDOUBLE_TYPE ) traits 2194 core/Verifier.cpp Traits* indexType = state->value(state->sp()).traits; traits 2199 core/Verifier.cpp if(obj.traits == VECTORINT_TYPE) traits 2201 core/Verifier.cpp else if(obj.traits == VECTORUINT_TYPE) traits 2203 core/Verifier.cpp else if(obj.traits == VECTORDOUBLE_TYPE) traits 2309 core/Verifier.cpp Traits* rhs = v.traits; traits 2317 core/Verifier.cpp Traits* t = state->peek(n).traits; traits 2400 core/Verifier.cpp if (traits) traits 2401 core/Verifier.cpp traits->resolveSignatures(toplevel); traits 2402 core/Verifier.cpp TraitsBindingsp td = traits ? traits->getTraitsBindings() : NULL; traits 2404 core/Verifier.cpp if (!traits || slot >= count) traits 2406 core/Verifier.cpp verifyFailed(kSlotExceedsCountError, core->toErrorString(slot+1), core->toErrorString(count), core->toErrorString(traits)); traits 2413 core/Verifier.cpp if (traits) traits 2414 core/Verifier.cpp traits->resolveSignatures(toplevel); traits 2423 core/Verifier.cpp MethodInfo *f = traits->getTraitsBindings()->getMethod(m); traits 2437 core/Verifier.cpp return traits->getTraitsBindings()->getSlotTraits(AvmCore::bindingToSlotId(b)); traits 2481 core/Verifier.cpp TraitsBindingsp td = traits->getTraitsBindings(); traits 2484 core/Verifier.cpp verifyFailed(kDispIdExceedsCountError, core->toErrorString(disp_id), core->toErrorString(td->methodCount), core->toErrorString(traits)); traits 2489 core/Verifier.cpp verifyFailed(kDispIdUndefinedError, core->toErrorString(disp_id), core->toErrorString(traits)); traits 2592 core/Verifier.cpp Traits* t1 = targetValue.traits; traits 2593 core/Verifier.cpp Traits* t2 = curValue.traits; traits 2732 core/Verifier.cpp Traits* t = state->stackValue(i).traits; traits 2758 core/Verifier.cpp Traits* t = state->stackValue(i).traits; traits 2833 core/Verifier.cpp WB(core->GetGC(), table, &handler->traits, t); traits 2874 core/Verifier.cpp v.traits = declaringScope->getScopeTraitsAt(i); traits 2917 core/Verifier.cpp Traits* t = v.traits; traits 115 core/Verifier.h MethodInfo* checkDispId(Traits* traits, uint32_t disp_id); traits 122 core/Verifier.h Traits* checkSlot(Traits* traits, int slot_id); traits 125 core/Verifier.h void checkEarlySlotBinding(Traits* traits); traits 164 core/Verifier.h Traits* readBinding(Traits* traits, Binding b); traits 226 core/WordcodeEmitter.cpp new_table->exceptions[i].traits = old_table->exceptions[i].traits; traits 415 core/WordcodeEmitter.cpp Traits* t = state->value(state->sp()).traits; traits 47 core/XMLClass.cpp AvmAssert(traits()->getSizeOfInstance() == sizeof(XMLClass)); traits 315 core/XMLClass.cpp AvmAssert(traits()->getSizeOfInstance() == sizeof(QNameClass)); traits 333 core/XMLClass.cpp if (core->isObject(argv[1]) && AvmCore::istype(argv[1], core->traits.qName_itraits)) traits 350 core/XMLClass.cpp if (core->isObject(argv[1]) && AvmCore::istype(argv[1], core->traits.qName_itraits)) traits 47 core/XMLListClass.cpp AvmAssert(traits()->getSizeOfInstance() == sizeof(XMLListClass)); traits 119 core/XMLObject.cpp AvmAssert(traits()->getSizeOfInstance() == sizeof(XMLObject)); traits 120 core/XMLObject.cpp AvmAssert(traits()->getExtraSize() == 0); traits 1551 core/XMLObject.cpp if(!(PoolObject::kbug444630 & traits()->pool->bugFlags)) traits 1764 core/XMLObject.cpp if(!(PoolObject::kbug444630 & traits()->pool->bugFlags)) traits 1824 core/XMLObject.cpp if(!(PoolObject::kbug444630 & traits()->pool->bugFlags)) traits 2129 core/XMLObject.cpp if(!(PoolObject::kbug444630 & traits()->pool->bugFlags)) traits 2236 core/XMLObject.cpp if(!(PoolObject::kbug444630 & traits()->pool->bugFlags)) traits 2551 core/XMLObject.cpp if (f && !AvmCore::istype(f->atom(), core->traits.function_itraits)) traits 79 core/avm.cpp avmplus::TraitsPosType t = so->traits()->posType(); traits 737 core/avmplusDebugger.cpp trace->info()->boxLocals(trace->framep(), 0, trace->traits(), &a, 0, 1); // pull framep[0] = [this] traits 764 core/avmplusDebugger.cpp info->boxLocals(trace->framep(), firstArgument, trace->traits(), ar, 0, count); traits 787 core/avmplusDebugger.cpp info->unboxLocals(&val, 0, trace->traits(), trace->framep(), firstArgument+which, 1); traits 812 core/avmplusDebugger.cpp info->boxLocals(trace->framep(), firstLocal, trace->traits(), ar, 0, count); traits 857 core/avmplusDebugger.cpp info->unboxLocals(&val, 0, trace->traits(), trace->framep(), firstLocal+which, 1); traits 158 core/instr-inlines.h return getBinding(env, vtable->traits, ref); traits 71 core/instr.cpp env->toplevel()->throwReferenceError(kWriteOnlyError, multiname, vtable->traits); traits 93 core/instr.cpp if (traits && ref->isBinding()) traits 95 core/instr.cpp if (!traits->isResolved()) traits 96 core/instr.cpp traits->resolveSignatures(env->toplevel()); traits 98 core/instr.cpp TraitsBindingsp tb = traits->getTraitsBindings(); traits 59 core/instr.h Binding getBinding(E env, Traits* traits, const Multiname* ref); traits 185 core/jit-calls.h tagprof("callprop_generic bind", toplevel->getBinding(vtable->traits, c.name)); traits 235 core/jit-calls.h Traits* obj_type = vtable->traits; traits 286 core/jit-calls.h tagprof("getprop_generic bind", toplevel->getBinding(vtable->traits, c.name)); traits 391 core/jit-calls.h Traits* actual_type = vtable->traits; traits 471 core/jit-calls.h tagprof("setprop_generic bind", toplevel->getBinding(vtable->traits, c.name)); traits 506 core/jit-calls.h (atomKind(val) == kObjectType && atomObj(val)->traits()->subtypeof(c.slot_type))) { traits 603 core/jit-calls.h Traits* actual_type = vtable->traits; traits 804 core/jit-calls.h if (i->traits() == core->traits.qName_itraits) traits 98 eval/eval-abc-inlines.h traits.addAtEnd(t); traits 134 eval/eval-abc-inlines.h traits = NULL; traits 357 eval/eval-abc.cpp reported_size = lenU30(traitsCount) + computeSize(traits.get()); traits 365 eval/eval-abc.cpp b = serializeSeq(b, traits.get()); traits 433 eval/eval-abc.cpp reported_size = (lenU30(init_method->index) + traits->size()); traits 441 eval/eval-abc.cpp b = traits->serialize(b); traits 465 eval/eval-abc.cpp (traits ? traits->size() : lenU30(0))); traits 480 eval/eval-abc.cpp b = (traits ? traits->serialize(b) : emitU30(b, 0)); traits 594 eval/eval-abc.cpp this.traits = []; traits 602 eval/eval-abc.cpp return traits.push(t)-1; traits 621 eval/eval-abc.cpp bs.uint30(traits.length); traits 622 eval/eval-abc.cpp for ( i=0, limit=traits.length ; i < limit ; i++ ) traits 623 eval/eval-abc.cpp traits[i].serialize(bs); traits 627 eval/eval-abc.cpp / *private* / var name, super_name, flags, protectedNS, interfaces, iinit, traits; traits 637 eval/eval-abc.cpp return traits.push(t)-1; traits 643 eval/eval-abc.cpp bs.uint30(traits.length); traits 644 eval/eval-abc.cpp for ( let i=0, limit=traits.length ; i < limit ; i++ ) traits 645 eval/eval-abc.cpp traits[i].serialize(bs); traits 649 eval/eval-abc.cpp /*private*/ var cinit, traits = []; traits 150 eval/eval-abc.h SeqBuilder<ABCTrait*> traits; traits 156 eval/eval-abc.h ABCScriptInfo(Compiler* compiler, ABCMethodInfo* init_method, ABCTraitsTable* traits); traits 163 eval/eval-abc.h ABCTraitsTable * const traits; traits 219 eval/eval-abc.h ABCMethodBodyInfo(Compiler* compiler, ABCMethodInfo* method_info, ABCTraitsTable* traits, uint32_t first_temp); traits 231 eval/eval-abc.h ABCTraitsTable * traits; traits 44 eval/eval-cogen-inlines.h inline uint32_t Cogen::emitSlotTrait(uint32_t name, uint32_t type) { return traits->addTrait(ALLOC(ABCSlotTrait, (name, type, TRAIT_Slot))); } traits 45 eval/eval-cogen-inlines.h inline uint32_t Cogen::emitConstTrait(uint32_t name, uint32_t type) { return traits->addTrait(ALLOC(ABCSlotTrait, (name, type, TRAIT_Const))); } traits 46 eval/eval-cogen-inlines.h inline uint32_t Cogen::emitMethodTrait(uint32_t name, uint32_t method) { return traits->addTrait(ALLOC(ABCMethodTrait, (name, method))); } traits 68 eval/eval-cogen-inlines.h return traits->getCount() > 0 ? MethodInfo::NEED_ACTIVATION : 0; traits 90 eval/eval-cogen.cpp , traits(traits) traits 334 eval/eval-cogen.cpp ABCTraitsTable* traits; traits 343 eval/eval-cogen.cpp traits = ALLOC(ABCTraitsTable, (compiler)); traits 344 eval/eval-cogen.cpp *body = ALLOC(ABCMethodBodyInfo, (compiler, *info, traits, 1 + numparams + (uses_arguments || (rest_param != NULL)))); traits 56 eval/eval-cogen.h Cogen(Compiler* compiler, ABCFile* abc, ABCTraitsTable* traits, ABCMethodBodyInfo* body, uint32_t first_temp=1); traits 262 eval/eval-cogen.h ABCTraitsTable * const traits; traits 56 extensions/DictionaryGlue.cpp vtable->traits->itraits->isDictionary = true; traits 61 extensions/DictionaryGlue.cpp GCAssert(ivtable->traits->isDictionary == true); traits 68 extensions/DictionaryGlue.cpp GCAssert(vtable->traits->isDictionary == true); traits 73 extensions/DictionaryGlue.cpp GCAssert(vtable->traits->isDictionary == true); traits 85 extensions/DictionaryGlue.cpp p = (uint8_t*)this + vtable->traits->getHashtableOffset(); traits 93 extensions/DictionaryGlue.cpp AvmAssert(Traits::getBuiltinType(obj->traits()) != BUILTIN_qName); traits 164 extensions/DictionaryGlue.cpp AvmAssert(key->traits() != NULL); traits 66 extensions/DictionaryGlue.h return *(HeapHashtable**)(uintptr_t(this) + vtable->traits->getHashtableOffset()); traits 105 extensions/SamplerScript.cpp else if (!AvmCore::istype(f->atom(), core->traits.function_itraits)) traits 246 extensions/SamplerScript.cpp s->sampleIteratorVTable = _newVT(self->toplevel(), self->traits()->pool, sizeof(SampleIterator)); traits 307 extensions/SamplerScript.cpp if (obj && AvmCore::istype(obj->atom(), core->traits.class_itraits)) traits 311 extensions/SamplerScript.cpp else if (obj && AvmCore::istype(obj->atom(), core->traits.function_itraits)) traits 315 extensions/SamplerScript.cpp else if (obj && obj->traits()->isActivationTraits()) traits 345 extensions/SamplerScript.cpp if(!AvmCore::istype(type->atom(), core->traits.class_itraits)) traits 353 extensions/SamplerScript.cpp AvmAssert(AvmCore::istype(type->atom(), core->traits.class_itraits)); traits 467 extensions/SamplerScript.cpp Traits *t = AvmCore::atomToScriptObject(o)->traits(); traits 471 extensions/SamplerScript.cpp s->slotIteratorVTable = _newVT(self->toplevel(), self->traits()->pool, sizeof(SlotIterator)); traits 643 extensions/SamplerScript.cpp Binding b = self->toplevel()->getBinding(v->traits, &multiname); traits 727 extensions/SamplerScript.cpp Binding b = self->toplevel()->getBinding(v->traits, &multiname); traits 154 shell/DomainClass.cpp if (!AvmCore::istype(atom, core->traits.class_itraits)) {