Home
last modified time | relevance | path

Searched refs:IntType (Results 1 – 5 of 5) sorted by relevance

/system/security/keystore/
Dauth_token_table.cpp28 template <typename IntType, uint32_t byteOrder> struct choose_hton;
30 template <typename IntType> struct choose_hton<IntType, __ORDER_LITTLE_ENDIAN__> {
31 inline static IntType hton(const IntType& value) { in hton()
32 IntType result = 0; in hton()
35 for (int i = sizeof(IntType) - 1; i >= 0; --i) { in hton()
42 template <typename IntType> struct choose_hton<IntType, __ORDER_BIG_ENDIAN__> {
43 inline static IntType hton(const IntType& value) { return value; } in hton()
46 template <typename IntType> inline IntType hton(const IntType& value) { in hton()
47 return choose_hton<IntType, __BYTE_ORDER__>::hton(value); in hton()
50 template <typename IntType> inline IntType ntoh(const IntType& value) { in ntoh()
[all …]
Dkeymaster_enforcement.cpp438 template <typename IntType, uint32_t byteOrder> struct choose_hton;
440 template <typename IntType> struct choose_hton<IntType, __ORDER_LITTLE_ENDIAN__> {
441 inline static IntType hton(const IntType& value) { in hton()
442 IntType result = 0; in hton()
445 for (int i = sizeof(IntType) - 1; i >= 0; --i) { in hton()
452 template <typename IntType> struct choose_hton<IntType, __ORDER_BIG_ENDIAN__> {
453 inline static IntType hton(const IntType& value) { return value; } in hton()
456 template <typename IntType> inline IntType hton(const IntType& value) { in hton()
457 return choose_hton<IntType, __BYTE_ORDER__>::hton(value); in hton()
460 template <typename IntType> inline IntType ntoh(const IntType& value) { in ntoh()
[all …]
/system/tools/aidl/
Dgenerate_java_binder.cpp98 this->transact_code = new Variable(types->IntType(), "code"); in StubClass()
101 this->transact_flags = new Variable(types->IntType(), "flags"); in StubClass()
226 Variable* len = new Variable(types->IntType(), v->name + "_length"); in generate_new_array()
277 STATIC | FINAL, new Variable(types->IntType(), transactCodeName)); in generate_method()
Dtype_java.h453 const Type* IntType() const { return m_int_type; } in IntType() function
Dtype_java.cpp233 new MethodCall(parcel, "writeInt", 1, new Cast(m_types->IntType(), v))); in WriteToParcel()