Home
last modified time | relevance | path

Searched refs:uintptr_t (Results 1 – 25 of 53) sorted by relevance

123

/device/google/contexthub/firmware/os/core/
DosApi.c36 static void osExpApiEvtqSubscribe(uintptr_t *retValP, va_list args) in osExpApiEvtqSubscribe()
44 static void osExpApiEvtqUnsubscribe(uintptr_t *retValP, va_list args) in osExpApiEvtqUnsubscribe()
52 static void osExpApiEvtqEnqueue(uintptr_t *retValP, va_list args) in osExpApiEvtqEnqueue()
61 static void osExpApiEvtqEnqueuePrivate(uintptr_t *retValP, va_list args) in osExpApiEvtqEnqueuePrivate()
71 static void osExpApiEvtqRetainEvt(uintptr_t *retValP, va_list args) in osExpApiEvtqRetainEvt()
78 static void osExpApiEvtqFreeRetained(uintptr_t *retValP, va_list args) in osExpApiEvtqFreeRetained()
87 static void osExpApiLogLogv(uintptr_t *retValP, va_list args) in osExpApiLogLogv()
92 va_copy(innerArgs, INTEGER_TO_VA_LIST(va_arg(args, uintptr_t))); in osExpApiLogLogv()
97 static void osExpApiSensorSignal(uintptr_t *retValP, va_list args) in osExpApiSensorSignal()
106 *retValP = (uintptr_t)sensorSignalInternalEvt(handle, intEvtNum, value1, value2); in osExpApiSensorSignal()
[all …]
Dnanohub_chre.c62 static void osChreApiGetAppId(uintptr_t *retValP, va_list args) in osChreApiGetAppId()
69 static void osChreApiGetInstanceId(uintptr_t *retValP, va_list args) in osChreApiGetInstanceId()
74 static void osChreApiLogLogv(uintptr_t *retValP, va_list args) in osChreApiLogLogv()
81 uintptr_t inner = va_arg(args, uintptr_t); in osChreApiLogLogv()
88 static void osChreApiLogLogvOld(uintptr_t *retValP, va_list args) in osChreApiLogLogvOld()
95 uintptr_t inner = va_arg(args, uintptr_t); in osChreApiLogLogvOld()
102 static void osChreApiGetTime(uintptr_t *retValP, va_list args) in osChreApiGetTime()
109 static void osChreApiGetHostTimeOffset(uintptr_t *retValP, va_list args) in osChreApiGetHostTimeOffset()
123 static void osChreApiTimerSet(uintptr_t *retValP, va_list args) in osChreApiTimerSet()
134 static void osChreApiTimerCancel(uintptr_t *retValP, va_list args) in osChreApiTimerCancel()
[all …]
Dseos.c79 if (atomicCmpXchgPtr((uintptr_t*)&mCurrentTask, (uintptr_t)old, (uintptr_t)task)) { in osSetCurrentTask()
351 …nvoke(task->app, &task->platInfo, (void (*)(uintptr_t,uintptr_t))freeCallback, (uintptr_t)message,… in osTaskInvokeMessageFreeCallback()
359 (void (*)(uintptr_t,uintptr_t))freeCallback, in osTaskInvokeEventFreeCallback()
360 (uintptr_t)event, (uintptr_t)data); in osTaskInvokeEventFreeCallback()
756 … task->app->hdr.appId, (uintptr_t) task->app, (uintptr_t) task->platInfo.data, task->tid); in osStartApp()
/device/generic/goldfish-opengl/android-emu/android/base/
DPool.cpp70 uintptr_t start;
71 uintptr_t end;
118 uintptr_t start = (uintptr_t)data; in getInterval()
119 uintptr_t end = (uintptr_t)(data + sizeBytes); in getInterval()
127 data + (uintptr_t)chunkSize * in getPtr()
128 (uintptr_t)element; in getPtr()
135 uintptr_t ptrVal = (uintptr_t)ptr; in getElement()
136 ptrVal -= (uintptr_t)data; in getElement()
336 uintptr_t ptrVal = (uintptr_t)ptr; in free()
344 uintptr_t start = info.interval.start; in free()
[all …]
DAndroidSubAllocator.cpp38 startAddr((uintptr_t)buffer), in Impl()
117 (uint64_t)(uintptr_t)postLoadBuffer; in postLoad()
122 uint64_t addr = (uintptr_t)ptr; in rangeCheck()
137 uint64_t addr = (uintptr_t)checkedPtr; in getOffset()
178 return (void*)(uintptr_t)(startAddr + offset); in alloc()
/device/google/contexthub/firmware/lib/libc/
Dbcopy.c87 t = (uintptr_t)src; /* only need low bits */ in memcpy()
88 if ((t | (uintptr_t)dst) & wmask) { in memcpy()
93 if ((t ^ (uintptr_t)dst) & wmask || length < wsize) in memcpy()
115 t = (uintptr_t)src; in memcpy()
116 if ((t | (uintptr_t)dst) & wmask) { in memcpy()
117 if ((t ^ (uintptr_t)dst) & wmask || length <= wsize) in memcpy()
Daeabi.cpp130 uintptr_t addr = reinterpret_cast<uintptr_t>(user_array); in __aeabi_vec_ctor_nocookie_nodtor()
161 uintptr_t src_addr = reinterpret_cast<uintptr_t>(user_array_src); in __aeabi_vec_cctor_nocookie_nodtor()
162 uintptr_t dest_addr = reinterpret_cast<uintptr_t>(user_array_dest); in __aeabi_vec_cctor_nocookie_nodtor()
212 uintptr_t addr = reinterpret_cast<uintptr_t>(user_array); in __aeabi_vec_dtor()
/device/google/contexthub/firmware/os/platform/stm32/inc/plat/
DtaggedPtr.h26 typedef uintptr_t TaggedPtr;
33 static inline uintptr_t taggedPtrToUint(TaggedPtr tPtr) in taggedPtrToUint()
50 return (uintptr_t)ptr; in taggedPtrMakeFromPtr()
53 static inline TaggedPtr taggedPtrMakeFromUint(uintptr_t ptr) in taggedPtrMakeFromUint()
/device/google/contexthub/firmware/os/cpu/cortexm4/
DappSupport.c161 …if (!handleRelocs(relocsStart, relocsEnd, (uintptr_t)APP_FLASH_RELOC_BASE(app), (uintptr_t)mem, (v… in cpuAppLoad()
176 static uintptr_t __attribute__((naked)) callWithR9(const void *base, uint32_t offset, void *data, u… in callWithR9()
211 …nst void*)APP_FLASH_RELOC_BASE(app), app->vec.handle, platInfo->data, evtType, (uintptr_t)evtData); in cpuAppHandle()
217 void (*method)(uintptr_t, uintptr_t),uintptr_t arg1, uintptr_t arg2) in cpuAppInvoke() argument
Dcpu.c239 static void __attribute__((used)) syscallHandler(uintptr_t *excRegs) in syscallHandler()
246 uintptr_t *fastParams = excRegs + 1; in syscallHandler()
269 static void __attribute__((used)) logHardFault(uintptr_t *excRegs, uintptr_t* otherRegs, bool tinyS… in logHardFault()
/device/google/contexthub/firmware/os/inc/
Dcpu.h45 void (*method)(uintptr_t, uintptr_t), uintptr_t arg1, uintptr_t arg2);
Dutil.h67 #define VA_LIST_TO_INTEGER(__vl) ((uintptr_t)(&__vl))
70 #define VA_LIST_TO_INTEGER(__vl) (*(uintptr_t*)(&__vl))
71 #define INTEGER_TO_VA_LIST(__ptr) ({uintptr_t tmp = __ptr; (*(va_list*)(&tmp)); })
Dsyscall_defs.h23 static inline uintptr_t syscallDoGeneric(uint32_t syscallNo, ...) in syscallDoGeneric()
25 uintptr_t ret; in syscallDoGeneric()
/device/google/contexthub/firmware/os/cpu/cortexm4/inc/cpu/
Datomic.h20 static inline bool atomicCmpXchgPtr(volatile uintptr_t *word, uintptr_t prevVal, uintptr_t newVal) { in atomicCmpXchgPtr()
/device/generic/goldfish-opengl/system/OpenglSystemCommon/
DThreadInfo.cpp74 (EGLThreadInfo *)(((uintptr_t *)__get_tls())[TLS_SLOT_OPENGL]); in getEGLThreadInfo()
77 ((uintptr_t *)__get_tls())[TLS_SLOT_OPENGL] = (uintptr_t)tInfo; in getEGLThreadInfo()
/device/generic/goldfish-opengl/system/vulkan_enc/
DVulkanHandleMapping.cpp24 for (size_t i = 0; i < count; ++i) { handle_u64s[i] = (uint64_t)(uintptr_t)handles[i]; } \
27 for (size_t i = 0; i < count; ++i) { handles[i] = (type)(uintptr_t)handle_u64s[i]; } \
DVkEncoder.cpp211 uint64_t cgen_var_0 = (uint64_t)(uintptr_t)local_pAllocator; in vkCreateInstance()
228 uint64_t cgen_var_2 = (uint64_t)(uintptr_t)local_pAllocator; in vkCreateInstance()
288 uint64_t cgen_var_6 = (uint64_t)(uintptr_t)local_pAllocator; in vkDestroyInstance()
304 uint64_t cgen_var_8 = (uint64_t)(uintptr_t)local_pAllocator; in vkDestroyInstance()
340 uint64_t cgen_var_10 = (uint64_t)(uintptr_t)pPhysicalDeviceCount; in vkEnumeratePhysicalDevices()
347 uint64_t cgen_var_11 = (uint64_t)(uintptr_t)pPhysicalDevices; in vkEnumeratePhysicalDevices()
369 uint64_t cgen_var_14 = (uint64_t)(uintptr_t)pPhysicalDeviceCount; in vkEnumeratePhysicalDevices()
377 uint64_t cgen_var_15 = (uint64_t)(uintptr_t)pPhysicalDevices; in vkEnumeratePhysicalDevices()
393 check_pPhysicalDeviceCount = (uint32_t*)(uintptr_t)stream->getBe64(); in vkEnumeratePhysicalDevices()
405 check_pPhysicalDevices = (VkPhysicalDevice*)(uintptr_t)stream->getBe64(); in vkEnumeratePhysicalDevices()
[all …]
/device/generic/opengl-transport/host/libs/virglrenderer/
DProtocolUtils.h68 return (T*)(uintptr_t)(*(const S*)ptr);
116 if (((uintptr_t)input & (Align - 1U)) == 0) {
154 if (((uintptr_t)ptr & (Align - 1U)) == 0) {
DGralloc1.cpp60 uint32_t resource_id = (uint32_t) reinterpret_cast<uintptr_t>(buffer); in gralloc1_lock()
94 uint32_t resource_id = (uint32_t) reinterpret_cast<uintptr_t>(buffer); in gralloc1_unlock()
/device/linaro/hikey/gralloc960/
Dframebuffer_device.cpp153 uintptr_t fb_offset = 0; in fb_post()
154 uintptr_t buffer_offset = 0; in fb_post()
159 …memcpy((void *)((uintptr_t)fb_vaddr + fb_offset), (void *)((uintptr_t)buffer_vaddr + buffer_offset… in fb_post()
485 uintptr_t framebufferVaddr = (uintptr_t)m->framebuffer->base; in fb_alloc_framebuffer_locked()
502 producer_usage, dup(m->framebuffer->fd), (framebufferVaddr - (uintptr_t)m->framebuffer->base)); in fb_alloc_framebuffer_locked()
/device/amlogic/yukawa/hal/gralloc/
Dframebuffer_device.cpp153 uintptr_t fb_offset = 0; in fb_post()
154 uintptr_t buffer_offset = 0; in fb_post()
159 …memcpy((void *)((uintptr_t)fb_vaddr + fb_offset), (void *)((uintptr_t)buffer_vaddr + buffer_offset… in fb_post()
485 uintptr_t framebufferVaddr = (uintptr_t)m->framebuffer->base; in fb_alloc_framebuffer_locked()
502 producer_usage, dup(m->framebuffer->fd), (framebufferVaddr - (uintptr_t)m->framebuffer->base)); in fb_alloc_framebuffer_locked()
/device/google/cuttlefish/guest/hals/gralloc/legacy/
Dregion_registry.cpp198 uintptr_t base = uintptr_t(mappedAddress); in reference_region()
199 uintptr_t addr = base + hnd->total_size - PAGE_SIZE; in reference_region()
/device/generic/goldfish-opengl/shared/gralloc_cb/include/
Dgralloc_cb_bp.h68 return reinterpret_cast<void*>(static_cast<uintptr_t>(addr)); in getBufferPtr()
72 const uint64_t addr = static_cast<uint64_t>(reinterpret_cast<uintptr_t>(ptr)); in setBufferPtr()
/device/generic/goldfish-opengl/fuchsia/include/hardware/
Dhwvulkan.h19 uintptr_t magic;
/device/generic/opengl-transport/host/libs/virglrenderer/include/nativebase/
Dnativebase.h56 uintptr_t layerCount;

123