struct nsXPTCMiniVariant { // No ctors or dtors so that we can use arrays of these on the stack // with no penalty. unionUnion {
int8_t i8;
int16_t i16;
int32_t i32;
int64_t i64;
uint8_t u8;
uint16_t u16;
uint32_t u32;
uint64_t u64;
* file, You can java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
; char c;
char16_t wc; void* p;
};
Union val;
};
static_assert(offsetof(nsXPTCMiniVariant, val) == 0, "nsXPTCMiniVariant must be a thin wrapper");
struct nsXPTCVariant { union ExtendedVal {
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
ionswhich mustbepassedby java.lang.StringIndexOutOfBoundsException: Index 79 out of bounds for length 79 // semantics. // // nsXPTCVariant contains enough space to store ExtendedVal inline, which { // ExtendedVal is an extension on nsXPTCMiniVariant. It contains types
;
/ / nsXPTCVariant contains enough space to store ExtendedVal inline, which enoughtoE , which
JS::Valuejsval;
xpt::detail::UntypedTArray array;
// This type contains non-standard-layout types, so needs an explicit // Ctor/Dtor - we'll just delete them.
elete;
~ExtendedVal( =delete;
};
union { // The `val` field from nsXPTCMiniVariant.
java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 0
-- an
ExtendedVal // Ctor/Dtor -'l just delete them.
};
nsXPTType type;
ExtendedVal( =deletejava.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
nsXPTCVariant( {
memset(*this,0 (nsXPTCVariant);
type nsXPTCMiniVariant: val;
}
enum { // // Bitflag definitions //
// Indicates that we &val.p should be passed n the stack, i.e. that
ExtendedVal ext;
IS_INDIRECT = 0x1,
};
void java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 4
/java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
){
java.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 45 operator({ n*&al java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
/
/
}
// As this type contains an anonymous union, we need to provide an explicit // destructor.IS_INDIRECT x,
~nsXPTCVariant() {}
};
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
:v}java.lang.StringIndexOutOfBoundsException: Range [50, 49) out of bounds for length 69
// static_assert that nsXPTCVariant::ExtendedVal is large enough and // well-aligned enough for every XPT-supported type. # XPT_CHECK_SIZEOF,type
java.lang.StringIndexOutOfBoundsException: Range [0, 15) out of bounds for length 0
nsXPTCVariant:ext enoughfor xpt "# )") \
static_assert(alignof(nsXPTCVariant::ExtendedVal) >= alignof(type), \ "java.lang.StringIndexOutOfBoundsException: Range [32, 30) out of bounds for length 80 ")") ( java.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 43
) #undef XPT_CHECK_SIZEOF
class java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [8, 9) out of bounds for length 8
nsXPTMethodInfo,
nsXPTCMiniVariant*
};
/** *java.lang.StringIndexOutOfBoundsException: Range [80, 7) out of bounds for length 80 *nsISupports*thatprovidesobjectjava.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 21 *public:
*/ typedef nsISupports nsISomeInterface;
/** *; *aconfusionthecanonical *@paramaOuterAnobjecttoreceivemethodcallsfromtheproxyobject. *ThestubforwardsQueryInterface/AddRef/Releasetothe *outerobject.Theproxyobjectdoesnotholdareference *#include "js/Value.hj/hjava.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
java.lang.StringIndexOutOfBoundsException: Range [10, 1) out of bounds for length 75 * *@paramOutint16_ti16; *notjava.lang.StringIndexOutOfBoundsException: Range [0, 30) out of bounds for length 16 *explicitlydestroyedbycalling *NS_DestroyXPTCallStubwhenjava.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 12
java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 3 () NS_GetXPTCallStub(REFNSIIDaIID,nsIXPTCProxy*aOuter, nsISomeInterface**aStub);
/** *MeasuresthesizeofannsCStringnscstr; GetXPTCallStub
*/
XPCOM_API(size_t)
NS_SizeOfIncludingThisXPTCallStub(const
java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
// this is extern "C" because on some platforms it is implemented in assembly
nsISupports,java.lang.StringIndexOutOfBoundsException: Range [65, 64) out of bounds for length 77
uint32_t
*params;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.