Home
last modified time | relevance | path

Searched refs:intptr_t (Results 1 – 25 of 156) sorted by relevance

1234567

/aosp12/system/extras/tests/pftest/
H A Dpftest.c48 intptr_t *p; in main()
53 mem = (char *) ((intptr_t) (mem + 4096) & ~0xfff); in main()
76 *(intptr_t *) (mem + 4096 * pageIdx + entryOffset) = in main()
77 (intptr_t) (mem + 4096 * nextPageIdx + nextEntryOffset); in main()
80 *(intptr_t *) (mem + 4096 * pageIdx + entryOffset) = in main()
81 (intptr_t) &mem[0]; in main()
89 p = (intptr_t *) &mem[0]; in main()
93 p = (intptr_t *) *p; in main()
99 p = (intptr_t *) *p; in main()
/aosp12/art/runtime/arch/arm/
H A Dentrypoints_init_arm.cc99 intptr_t narrow_diff = in UpdateReadBarrierEntrypoints()
100 reinterpret_cast<intptr_t>(art_quick_read_barrier_mark_introspection_narrow) - in UpdateReadBarrierEntrypoints()
101 reinterpret_cast<intptr_t>(art_quick_read_barrier_mark_introspection); in UpdateReadBarrierEntrypoints()
104 intptr_t array_diff = in UpdateReadBarrierEntrypoints()
106 reinterpret_cast<intptr_t>(art_quick_read_barrier_mark_introspection); in UpdateReadBarrierEntrypoints()
109 intptr_t gc_roots_wide_diff = in UpdateReadBarrierEntrypoints()
111 reinterpret_cast<intptr_t>(art_quick_read_barrier_mark_introspection); in UpdateReadBarrierEntrypoints()
113 intptr_t gc_roots_narrow_diff = in UpdateReadBarrierEntrypoints()
115 reinterpret_cast<intptr_t>(art_quick_read_barrier_mark_introspection); in UpdateReadBarrierEntrypoints()
117 intptr_t intrinsic_cas_diff = in UpdateReadBarrierEntrypoints()
[all …]
/aosp12/hardware/nxp/nfc/pn8x/halimpl/tml/
H A DphTmlNfc_i2c.cc60 close((intptr_t)pDevHandle); in phTmlNfc_i2c_close()
93 *pLinkHandle = (void*)((intptr_t)nHandle); in phTmlNfc_i2c_open_and_configure()
96 phTmlNfc_i2c_reset((void*)((intptr_t)nHandle), 0); in phTmlNfc_i2c_open_and_configure()
98 phTmlNfc_i2c_reset((void*)((intptr_t)nHandle), 1); in phTmlNfc_i2c_open_and_configure()
141 FD_SET((intptr_t)pDevHandle, &rfds); in phTmlNfc_i2c_read()
146 select((int)((intptr_t)pDevHandle + (int)1), &rfds, NULL, NULL, &tv); in phTmlNfc_i2c_read()
154 ret_Read = read((intptr_t)pDevHandle, pBuffer, totalBtyesToRead - numRead); in phTmlNfc_i2c_read()
173 read((intptr_t)pDevHandle, pBuffer, totalBtyesToRead - numRead); in phTmlNfc_i2c_read()
189 ret_Read = read((intptr_t)pDevHandle, (pBuffer + numRead), in phTmlNfc_i2c_read()
250 ret = write((intptr_t)pDevHandle, pBuffer + numWrote, numBytes - numWrote); in phTmlNfc_i2c_write()
[all …]
H A DphDal4Nfc_messageQueueLib.h27 intptr_t phDal4Nfc_msgget(key_t key, int msgflg);
28 void phDal4Nfc_msgrelease(intptr_t msqid);
29 int phDal4Nfc_msgctl(intptr_t msqid, int cmd, void* buf);
30 intptr_t phDal4Nfc_msgsnd(intptr_t msqid, phLibNfc_Message_t* msg, int msgflg);
31 int phDal4Nfc_msgrcv(intptr_t msqid, phLibNfc_Message_t* msg, long msgtyp,
H A DphDal4Nfc_messageQueueLib.cc54 intptr_t phDal4Nfc_msgget(key_t key, int msgflg) { in phDal4Nfc_msgget()
71 return ((intptr_t)pQueue); in phDal4Nfc_msgget()
85 void phDal4Nfc_msgrelease(intptr_t msqid) { in phDal4Nfc_msgrelease()
116 int phDal4Nfc_msgctl(intptr_t msqid, int cmd, void* buf) { in phDal4Nfc_msgctl()
161 intptr_t phDal4Nfc_msgsnd(intptr_t msqid, phLibNfc_Message_t* msg, int msgflg) { in phDal4Nfc_msgsnd()
211 int phDal4Nfc_msgrcv(intptr_t msqid, phLibNfc_Message_t* msg, long msgtyp, in phDal4Nfc_msgrcv()
H A Dspi_spm.cc54 ret = ioctl((intptr_t)pDevHandle, P61_SET_SPI_PWR, level); in phPalEse_spi_ioctl()
60 ret = ioctl((intptr_t)pDevHandle, P61_GET_PWR_STATUS, level); in phPalEse_spi_ioctl()
75 ret = ioctl((intptr_t)pDevHandle, P61_SET_SPI_PWR, 1); in phPalEse_spi_ioctl()
/aosp12/hardware/nxp/secure_element/snxxx/libese-spi/p73/pal/spi/
H A DEseSpiTransport.cpp74 close((intptr_t)pDevHandle); in Close()
238 pConfig->pDevHandle = (void*)((intptr_t)nHandle); in OpenAndConfigure()
260 ret = read((intptr_t)pDevHandle, (void*)pBuffer, (nNbBytesToRead)); in Read()
307 ret = write((intptr_t)pDevHandle, pBuffer + numWrote, in Write()
375 ret = (ESESTATUS)ioctl((intptr_t)pDevHandle, P61_SET_PWR, level); in Ioctl()
383 ret = (ESESTATUS)ioctl((intptr_t)pDevHandle, P61_SET_DBG, level); in Ioctl()
391 ret = (ESESTATUS)ioctl((intptr_t)pDevHandle, P61_SET_POLL, level); in Ioctl()
396 (ESESTATUS)ioctl((intptr_t)pDevHandle, ESE_SET_TRUSTED_ACCESS, level); in Ioctl()
406 ioctl((intptr_t)pDevHandle, ESE_PERFORM_COLD_RESET, level); in Ioctl()
422 ret = (ESESTATUS)ioctl((intptr_t)pDevHandle, P61_SET_SPM_PWR, level); in Ioctl()
[all …]
/aosp12/hardware/nxp/nfc/snxxx/halimpl/tml/transport/
H A DNfccI2cTransport.cc60 close((intptr_t)pDevHandle); in Close()
93 *pLinkHandle = (void*)((intptr_t)nHandle); in OpenAndConfigure()
177 FD_SET((intptr_t)pDevHandle, &rfds); in Read()
218 ret_Read = read((intptr_t)pDevHandle, (pBuffer + numRead), in Read()
237 ret_Read = read((intptr_t)pDevHandle, (pBuffer + numRead), in Read()
346 ret = ioctl((intptr_t)pDevHandle, PN544_SET_PWR, eType); in NfccReset()
378 ret = ioctl((intptr_t)pDevHandle, ESE_SET_PWR, eType); in EseReset()
399 return ioctl((intptr_t)pDevHandle, ESE_GET_PWR, level); in EseGetPower()
420 ret = ioctl((intptr_t)pDevHandle, P544_GET_PLATFORM_INTERFACE); in GetPlatform()
443 ret = ioctl((intptr_t)pDevHandle, P544_GET_NFC_STATE); in GetNfcState()
[all …]
/aosp12/hardware/nxp/nfc/snxxx/halimpl/tml/
H A DphDal4Nfc_messageQueueLib.h27 intptr_t phDal4Nfc_msgget(key_t key, int msgflg);
28 void phDal4Nfc_msgrelease(intptr_t msqid);
29 int phDal4Nfc_msgctl(intptr_t msqid, int cmd, void* buf);
30 intptr_t phDal4Nfc_msgsnd(intptr_t msqid, phLibNfc_Message_t* msg, int msgflg);
31 int phDal4Nfc_msgrcv(intptr_t msqid, phLibNfc_Message_t* msg, long msgtyp,
H A DphDal4Nfc_messageQueueLib.cc54 intptr_t phDal4Nfc_msgget(key_t key, int msgflg) { in phDal4Nfc_msgget()
71 return ((intptr_t)pQueue); in phDal4Nfc_msgget()
85 void phDal4Nfc_msgrelease(intptr_t msqid) { in phDal4Nfc_msgrelease()
116 int phDal4Nfc_msgctl(intptr_t msqid, int cmd, void* buf) { in phDal4Nfc_msgctl()
161 intptr_t phDal4Nfc_msgsnd(intptr_t msqid, phLibNfc_Message_t* msg, int msgflg) { in phDal4Nfc_msgsnd()
211 int phDal4Nfc_msgrcv(intptr_t msqid, phLibNfc_Message_t* msg, long msgtyp, in phDal4Nfc_msgrcv()
/aosp12/packages/services/Car/packages/ScriptExecutor/tests/unit/src/com/android/car/scriptexecutor/
H A DJniUtilsTestHelper.cpp34 LuaEngine* engine = reinterpret_cast<LuaEngine*>(static_cast<intptr_t>(luaEnginePtr)); in hasIntegerArray()
75 return static_cast<jlong>(reinterpret_cast<intptr_t>(new LuaEngine())); in Java_com_android_car_scriptexecutor_JniUtilsTest_nativeCreateLuaEngine()
80 delete reinterpret_cast<LuaEngine*>(static_cast<intptr_t>(luaEnginePtr)); in Java_com_android_car_scriptexecutor_JniUtilsTest_nativeDestroyLuaEngine()
86 LuaEngine* engine = reinterpret_cast<LuaEngine*>(static_cast<intptr_t>(luaEnginePtr)); in Java_com_android_car_scriptexecutor_JniUtilsTest_nativePushBundleToLuaTableCaller()
92 LuaEngine* engine = reinterpret_cast<LuaEngine*>(static_cast<intptr_t>(luaEnginePtr)); in Java_com_android_car_scriptexecutor_JniUtilsTest_nativeGetObjectSize()
99 LuaEngine* engine = reinterpret_cast<LuaEngine*>(static_cast<intptr_t>(luaEnginePtr)); in Java_com_android_car_scriptexecutor_JniUtilsTest_nativeHasBooleanValue()
116 LuaEngine* engine = reinterpret_cast<LuaEngine*>(static_cast<intptr_t>(luaEnginePtr)); in Java_com_android_car_scriptexecutor_JniUtilsTest_nativeHasIntValue()
134 LuaEngine* engine = reinterpret_cast<LuaEngine*>(static_cast<intptr_t>(luaEnginePtr)); in Java_com_android_car_scriptexecutor_JniUtilsTest_nativeHasDoubleValue()
152 LuaEngine* engine = reinterpret_cast<LuaEngine*>(static_cast<intptr_t>(luaEnginePtr)); in Java_com_android_car_scriptexecutor_JniUtilsTest_nativeHasStringValue()
/aosp12/packages/modules/NeuralNetworks/common/include/
H A DExecutionBurstController.h255 const std::vector<intptr_t>& keys);
269 std::pair<bool, int32_t> freeMemory(intptr_t key);
272 int32_t getSlotLocked(const hardware::hidl_memory& memory, intptr_t key);
277 std::map<intptr_t, int32_t> mMemoryIdToSlot;
325 const std::vector<intptr_t>& memoryIds);
332 void freeMemory(intptr_t key);
/aosp12/art/runtime/mirror/
H A Darray.h100 intptr_t data = reinterpret_cast<intptr_t>(this) + DataOffset(component_size).Int32Value() + in GetRawData()
106 intptr_t data = reinterpret_cast<intptr_t>(this) + DataOffset<kComponentSize>().Int32Value() + in GetRawData()
112 intptr_t data = reinterpret_cast<intptr_t>(this) + DataOffset(component_size).Int32Value() + in GetRawData()
118 intptr_t data = reinterpret_cast<intptr_t>(this) + DataOffset<kComponentSize>().Int32Value() + in GetRawData()
/aosp12/art/runtime/gc/allocator/
H A Drosalloc.cc80 << std::hex << (intptr_t)base_ << ", end=" in RosAlloc()
81 << std::hex << (intptr_t)(base_ + capacity_) in RosAlloc()
116 << reinterpret_cast<intptr_t>(free_pages) in RosAlloc()
327 << reinterpret_cast<intptr_t>(ptr); in FreePages()
395 << reinterpret_cast<intptr_t>(h) in FreePages()
427 << reinterpret_cast<intptr_t>(l) in FreePages()
781 << reinterpret_cast<intptr_t>(run); in FreeFromRun()
830 << reinterpret_cast<intptr_t>(run) in FreeFromRun()
1125 << reinterpret_cast<intptr_t>(run); in BulkFree()
1552 << reinterpret_cast<intptr_t>(run) in RevokeRun()
[all …]
/aosp12/art/test/1934-jvmti-signal-thread/
H A Dsignal_threads.cc66 return static_cast<jlong>(reinterpret_cast<intptr_t>(mon)); in Java_art_Test1934_allocNativeMonitor()
72 NativeMonitor* mon = reinterpret_cast<NativeMonitor*>(static_cast<intptr_t>(id)); in Java_art_Test1934_nativeWaitForOtherThread()
107 NativeMonitor* mon = reinterpret_cast<NativeMonitor*>(static_cast<intptr_t>(id)); in Java_art_Test1934_nativeDoInterleaved()
149 NativeMonitor* mon = reinterpret_cast<NativeMonitor*>(static_cast<intptr_t>(id)); in Java_art_Test1934_destroyNativeMonitor()
/aosp12/frameworks/native/opengl/include/EGL/
H A Deglplatform.h109 typedef intptr_t EGLNativeDisplayType;
110 typedef intptr_t EGLNativeWindowType;
111 typedef intptr_t EGLNativePixmapType;
/aosp12/art/runtime/arch/arm64/
H A Dentrypoints_init_arm64.cc120 intptr_t array_diff = in UpdateReadBarrierEntrypoints()
121 reinterpret_cast<intptr_t>(art_quick_read_barrier_mark_introspection_arrays) - in UpdateReadBarrierEntrypoints()
122 reinterpret_cast<intptr_t>(art_quick_read_barrier_mark_introspection); in UpdateReadBarrierEntrypoints()
125 intptr_t gc_roots_diff = in UpdateReadBarrierEntrypoints()
126 reinterpret_cast<intptr_t>(art_quick_read_barrier_mark_introspection_gc_roots) - in UpdateReadBarrierEntrypoints()
127 reinterpret_cast<intptr_t>(art_quick_read_barrier_mark_introspection); in UpdateReadBarrierEntrypoints()
/aosp12/art/test/1909-per-agent-tls/
H A Dagent_tls.cc35 thr, reinterpret_cast<const void*>(static_cast<intptr_t>(data)))); in Java_art_Test1909_setTLS()
47 return static_cast<jlong>(reinterpret_cast<intptr_t>(res)); in Java_art_Test1909_getTLS()
71 return static_cast<jlong>(reinterpret_cast<intptr_t>(new_env)); in Java_art_Test1909_newJvmtiEnv()
/aosp12/packages/services/Car/packages/ScriptExecutor/src/
H A DScriptExecutorJni.cpp34 return static_cast<jlong>(reinterpret_cast<intptr_t>(new LuaEngine())); in Java_com_android_car_scriptexecutor_ScriptExecutor_nativeInitLuaEngine()
39 delete reinterpret_cast<LuaEngine*>(static_cast<intptr_t>(luaEnginePtr)); in Java_com_android_car_scriptexecutor_ScriptExecutor_nativeDestroyLuaEngine()
84 LuaEngine* engine = reinterpret_cast<LuaEngine*>(static_cast<intptr_t>(luaEnginePtr)); in Java_com_android_car_scriptexecutor_ScriptExecutor_nativeInvokeScript()
/aosp12/system/libbase/include/android-base/
H A Dfunction_ref.h100 mCallable(reinterpret_cast<intptr_t>(&c)) {}
112 mCallable = reinterpret_cast<intptr_t>(&c);
123 intptr_t mCallable;
/aosp12/art/test/1900-track-alloc/
H A Dalloc.cc51 reinterpret_cast<unsigned char*>(static_cast<intptr_t>(ptr)))); in Java_art_Test1900_doDeallocate()
62 return static_cast<jlong>(reinterpret_cast<intptr_t>(res)); in Java_art_Test1900_doAllocate()
88 return static_cast<jlong>(reinterpret_cast<intptr_t>(jvmti_env)); in Java_art_Test1900_getDefaultJvmtiEnv()
112 return static_cast<jlong>(reinterpret_cast<intptr_t>(new_env)); in Java_art_Test1900_newJvmtiEnv()
/aosp12/hardware/nxp/secure_element/pn8x/libese-spi/p73/pal/spi/
H A DphNxpEsePal_spi.cpp86 close((intptr_t)pDevHandle); in phPalEse_spi_close()
183 pConfig->pDevHandle = (void*)((intptr_t)nHandle); in phPalEse_spi_open_and_configure()
206 ret = read((intptr_t)pDevHandle, (void*)pBuffer, (nNbBytesToRead)); in phPalEse_spi_read()
246 ret = write((intptr_t)pDevHandle, pBuffer + numWrote, in phPalEse_spi_write()
/aosp12/art/runtime/gc/accounting/
H A Dspace_bitmap.cc42 return (RoundUp(capacity, kBytesCoveredPerWord) / kBytesCoveredPerWord) * sizeof(intptr_t); in ComputeBitmapSize()
101 size_t new_size = OffsetToIndex(new_end - heap_begin_) * sizeof(intptr_t); in SetHeapLimit()
146 const size_t count = source_bitmap->Size() / sizeof(intptr_t); in CopyFrom()
171 size_t buffer_size = sizeof(intptr_t) * kBitsPerIntPtrT; in SweepWalk()
176 CHECK_LT(end, live_bitmap.Size() / sizeof(intptr_t)); in SweepWalk()
/aosp12/art/compiler/optimizing/
H A Dlocations.h242 static uintptr_t EncodeStackIndex(intptr_t stack_index) { in EncodeStackIndex()
248 static Location StackSlot(intptr_t stack_index) { in StackSlot()
260 static Location DoubleStackSlot(intptr_t stack_index) { in DoubleStackSlot()
272 static Location SIMDStackSlot(intptr_t stack_index) { in SIMDStackSlot()
297 intptr_t GetStackIndex() const { in GetStackIndex()
303 intptr_t GetHighStackIndex(uintptr_t word_size) const { in GetHighStackIndex()
435 static const intptr_t kStackIndexBias =
436 static_cast<intptr_t>(1) << (kBitsForPayload - 1);
/aosp12/system/bt/osi/include/
H A Dosi.h46 #define PTR_TO_INT(p) ((int)((intptr_t)(p)))
47 #define INT_TO_PTR(i) ((void*)((intptr_t)(i)))

1234567