Searched defs:uint32_t (Results 1 - 4 of 4) sorted by relevance

/system/extras/ext4_utils/
H A Dsha1.h17 typedef unsigned int uint32_t; typedef
31 uint32_t state[5];
32 uint32_t count[2];
37 void SHA1Transform(uint32_t[5], const u_char[64]);
/system/core/include/backtrace/
H A DBacktrace.h34 typedef uint32_t word_t;
37 enum BacktraceUnwindError : uint32_t { enum
/system/core/libpixelflinger/codeflinger/
H A DCodeCache.cpp106 mBase = (uint32_t*)mspace_malloc(getMspace(), size);
136 uint32_t* Assembly::base() const
143 mBase = (uint32_t*)mspace_realloc(getMspace(), mBase, newSize);
86 LOG_ALWAYS_FATAL_IF(fd < 0, � �, strerror(errno)); gExecutableStore = mmap(NULL, kMaxCodeCacheCapacity, PROT_READ | PROT_WRITE | PROT_EXEC, MAP_PRIVATE, fd, 0); LOG_ALWAYS_FATAL_IF(gExecutableStore == MAP_FAILED, � �, strerror(errno)); close(fd); gMspace = create_mspace_with_base(gExecutableStore, kMaxCodeCacheCapacity, false); mspace_set_footprint_limit(gMspace, kMaxCodeCacheCapacity); } return gMspace; } Assembly::Assembly(size_t size) : mCount(1), mSize(0) { mBase = (uint32_t*)mspace_malloc(getMspace(), size); LOG_ALWAYS_FATAL_IF(mBase == NULL, � �, size, kMaxCodeCacheCapacity); mSize = size; } Assembly::~Assembly() { mspace_free(getMspace(), mBase); } void Assembly::incStrong(const void*) const { android_atomic_inc(&mCount); } void Assembly::decStrong(const void*) const { if (android_atomic_dec(&mCount) == 1) { delete this; } } ssize_t Assembly::size() const { if (!mBase) return NO_MEMORY; return mSize; } uint32_t* Assembly::base() const { return mBase; } ssize_t Assembly::resize(size_t newSize) { mBase = (uint32_t*)mspace_realloc(getMspace(), mBase, newSize); LOG_ALWAYS_FATAL_IF(mBase == NULL, � �, newSize, kMaxCodeCacheCapacity); mSize = newSize; return size(); } CodeCache::CodeCache(size_t size) : mCacheSize(size), mCacheInUse(0) { pthread_mutex_init(&mLock, 0); } CodeCache::~CodeCache() { pthread_mutex_destroy(&mLock); } sp<Assembly> CodeCache::lookup(const AssemblyKeyBase& keyBase) const { pthread_mutex_lock(&mLock); sp<Assembly> r; ssize_t index = mCacheData.indexOfKey(key_t(keyBase)); if (index >= 0) argument
/system/keymaster/
H A Docb.c82 typedef unsigned __int32 uint32_t; typedef
115 uint32_t u32[2];
138 return tz_table[((uint32_t)((x & -x) * 0x077CB531u)) >> 27];
371 uint32_t rd_key[60];
386 typedef struct { uint32_t rd_key[OCB_KEY_LEN + 28]; } AES_KEY;
628 uint32_t ad_blocks_processed;
629 uint32_t blocks_processed;
753 uint32_t u32[4];
771 tmp.u32[1] = ((uint32_t*)nonce)[0];
772 tmp.u32[2] = ((uint32_t*)nonc
[all...]

Completed in 185 milliseconds