Home
last modified time | relevance | path

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

1234567

/openbsd/src/gnu/llvm/llvm/include/llvm/ADT/
DPointerIntPair.h49 intptr_t Value = 0;
69 Value = Info::updateInt(Value, static_cast<intptr_t>(IntVal)); in setInt()
78 static_cast<intptr_t>(IntVal)); in setPointerAndInt()
86 assert(Value == reinterpret_cast<intptr_t>(getPointer()) && in getAddrOfPointer()
95 Value = reinterpret_cast<intptr_t>(Val); in setFromOpaqueValue()
141 ~(uintptr_t)(((intptr_t)1 << PtrTraits::NumLowBitsAvailable) - 1),
148 IntMask = (uintptr_t)(((intptr_t)1 << IntBits) - 1),
154 static PointerT getPointer(intptr_t Value) { in getPointer()
159 static intptr_t getInt(intptr_t Value) { in getInt()
163 static intptr_t updatePointer(intptr_t OrigValue, PointerT Ptr) { in updatePointer()
[all …]
DSTLFunctionalExtras.h40 Ret (*callback)(intptr_t callable, Params ...params) = nullptr;
41 intptr_t callable;
44 static Ret callback_fn(intptr_t callable, Params ...params) { in callback_fn()
65 callable(reinterpret_cast<intptr_t>(&callable)) {} in callback()
DEquivalenceClasses.h80 : Leader(this), Next((ECValue*)(intptr_t)1), Data(Elt) {} in ECValue()
96 Next = (const ECValue*)((intptr_t)NewNext | (intptr_t)isLeader()); in setNext()
100 ECValue(const ECValue &RHS) : Leader(this), Next((ECValue*)(intptr_t)1), in ECValue()
106 bool isLeader() const { return (intptr_t)Next & 1; } in isLeader()
110 return (ECValue*)((intptr_t)Next & ~(intptr_t)1); in getNext()
/openbsd/src/gnu/llvm/compiler-rt/lib/xray/
Dxray_powerpc64.cpp33 const intptr_t Mask = ~(LineSize - 1); in clearCache()
34 const intptr_t StartLine = ((intptr_t)Addr) & Mask; in clearCache()
35 const intptr_t EndLine = ((intptr_t)Addr + Len + LineSize - 1) & Mask; in clearCache()
37 for (intptr_t Line = StartLine; Line < EndLine; Line += LineSize) in clearCache()
41 for (intptr_t Line = StartLine; Line < EndLine; Line += LineSize) in clearCache()
/openbsd/src/gnu/llvm/llvm/lib/ExecutionEngine/OProfileJIT/
DOProfileWrapper.cpp79 OpenAgentFunc = (op_open_agent_ptr_t)(intptr_t) in initialize()
81 CloseAgentFunc = (op_close_agent_ptr_t)(intptr_t) in initialize()
83 WriteNativeCodeFunc = (op_write_native_code_ptr_t)(intptr_t) in initialize()
85 WriteDebugLineInfoFunc = (op_write_debug_line_info_ptr_t)(intptr_t) in initialize()
87 UnloadNativeCodeFunc = (op_unload_native_code_ptr_t)(intptr_t) in initialize()
89 MajorVersionFunc = (op_major_version_ptr_t)(intptr_t) in initialize()
91 MinorVersionFunc = (op_major_version_ptr_t)(intptr_t) in initialize()
/openbsd/src/gnu/llvm/compiler-rt/lib/profile/
DInstrProfilingBuffer.c56 intptr_t BeginI = (intptr_t)Begin, EndI = (intptr_t)End; in __llvm_profile_get_num_data()
75 intptr_t BeginI = (intptr_t)Begin, EndI = (intptr_t)End; in __llvm_profile_get_num_counters()
/openbsd/src/gnu/usr.sbin/mkhybrid/src/
Dmatch.c111 intptr_t i_ishidden() in i_ishidden()
113 return((intptr_t)i_mat[0]); in i_ishidden()
157 intptr_t j_ishidden() in j_ishidden()
159 return((intptr_t)j_mat[0]); in j_ishidden()
227 intptr_t hfs_ishidden() in hfs_ishidden()
229 return((intptr_t)hfs_mat[0]); in hfs_ishidden()
Dmatch.h16 intptr_t i_ishidden __PR((void));
19 intptr_t j_ishidden __PR((void));
29 intptr_t hfs_ishidden __PR((void));
/openbsd/src/gnu/llvm/clang/lib/Basic/
DStack.cpp54 intptr_t StackDiff = (intptr_t)getStackPointer() - (intptr_t)BottomOfStack; in isStackNearlyExhausted()
/openbsd/src/gnu/llvm/libunwind/src/
DUnwindLevel1-gcc-ext.c44 (void *)exception_object, (intptr_t)exception_object->PRIVATE_1); in _Unwind_Resume_or_Rethrow()
122 __unw_set_reg(&cursor, UNW_REG_IP, (unw_word_t)(intptr_t)pc); in _Unwind_FindEnclosingFunction()
124 return (void *)(intptr_t) info.start_ip; in _Unwind_FindEnclosingFunction()
221 __unw_set_reg(&cursor, UNW_REG_IP, (unw_word_t)(intptr_t)pc); in _Unwind_Find_FDE()
227 (void *)(intptr_t) info.unwind_info); in _Unwind_Find_FDE()
228 return (void *)(intptr_t) info.unwind_info; in _Unwind_Find_FDE()
/openbsd/src/gnu/llvm/llvm/lib/ExecutionEngine/MCJIT/
DMCJIT.cpp537 (int(*)(int, char **, const char **))(intptr_t)FPtr; in runFunction()
550 int (*PF)(int, char **) = (int(*)(int, char **))(intptr_t)FPtr; in runFunction()
563 int (*PF)(int) = (int(*)(int))(intptr_t)FPtr; in runFunction()
579 rv.IntVal = APInt(BitWidth, ((bool(*)())(intptr_t)FPtr)()); in runFunction()
581 rv.IntVal = APInt(BitWidth, ((char(*)())(intptr_t)FPtr)()); in runFunction()
583 rv.IntVal = APInt(BitWidth, ((short(*)())(intptr_t)FPtr)()); in runFunction()
585 rv.IntVal = APInt(BitWidth, ((int(*)())(intptr_t)FPtr)()); in runFunction()
587 rv.IntVal = APInt(BitWidth, ((int64_t(*)())(intptr_t)FPtr)()); in runFunction()
593 rv.IntVal = APInt(32, ((int(*)())(intptr_t)FPtr)()); in runFunction()
596 rv.FloatVal = ((float(*)())(intptr_t)FPtr)(); in runFunction()
[all …]
/openbsd/src/gnu/llvm/lldb/source/Host/windows/
DPipeWindows.cpp48 m_read_fd = _open_osfhandle((intptr_t)read, _O_RDONLY); in PipeWindows()
55 m_write_fd = _open_osfhandle((intptr_t)write, _O_WRONLY); in PipeWindows()
74 m_read_fd = _open_osfhandle((intptr_t)m_read, _O_RDONLY); in CreateNew()
78 m_write_fd = _open_osfhandle((intptr_t)m_write, _O_WRONLY); in CreateNew()
116 m_read_fd = _open_osfhandle((intptr_t)m_read, _O_RDONLY); in CreateNew()
192 m_read_fd = _open_osfhandle((intptr_t)m_read, _O_RDONLY); in OpenNamedPipe()
202 m_write_fd = _open_osfhandle((intptr_t)m_write, _O_WRONLY); in OpenNamedPipe()
/openbsd/src/gnu/llvm/llvm/lib/Support/
DFoldingSet.cpp59 if (!((intptr_t)Base & 3)) { in AddString()
149 if (reinterpret_cast<intptr_t>(NextInBucketPtr) & 1) in GetNextPtr()
158 intptr_t Ptr = reinterpret_cast<intptr_t>(NextInBucketPtr); in GetBucketPtr()
160 return reinterpret_cast<void**>(Ptr & ~intptr_t(1)); in GetBucketPtr()
325 Next = reinterpret_cast<void*>(reinterpret_cast<intptr_t>(Bucket)|1); in InsertNode()
/openbsd/src/gnu/llvm/clang/include/clang/AST/
DASTDiagnostic.h28 intptr_t Val,
34 ArrayRef<intptr_t> QualTypeVals);
/openbsd/src/gnu/llvm/llvm/include/llvm/Transforms/Scalar/
DSROA.h61 explicit operator intptr_t() const { return static_cast<intptr_t>(Storage); } in intptr_t() function
62 explicit SelectHandSpeculativity(intptr_t Storage_) : Storage(Storage_) {} in SelectHandSpeculativity()
/openbsd/src/gnu/gcc/gcc/config/i386/
Dnetware-crt0.c33 = (void(*)(void))(intptr_t)-1;
37 = (void(*)(void))(intptr_t)-1;
/openbsd/src/gnu/llvm/llvm/lib/Passes/
DPassPlugin.cpp29 intptr_t getDetailsFn = in Load()
30 (intptr_t)Library.getAddressOfSymbol("llvmGetPassPluginInfo"); in Load()
/openbsd/src/gnu/llvm/llvm/lib/Support/Unix/
DMemory.inc229 const intptr_t Mask = ~(LineSize - 1);
230 const intptr_t StartLine = ((intptr_t)Addr) & Mask;
231 const intptr_t EndLine = ((intptr_t)Addr + Len + LineSize - 1) & Mask;
233 for (intptr_t Line = StartLine; Line < EndLine; Line += LineSize)
237 for (intptr_t Line = StartLine; Line < EndLine; Line += LineSize)
/openbsd/src/gnu/llvm/lldb/include/lldb/Target/
DStatistics.h101 intptr_t identifier;
111 std::vector<intptr_t> symfile_modules;
154 std::vector<intptr_t> m_module_identifiers;
/openbsd/src/gnu/llvm/llvm/examples/ParallelJIT/
DParallelJIT.cpp255 return (void*)(intptr_t)gv.IntVal.getZExtValue(); in callFunc()
310 std::cout << "Add1 returned " << intptr_t(returnValue) << std::endl; in main()
317 std::cout << "Fib1 returned " << intptr_t(returnValue) << std::endl; in main()
324 std::cout << "Fib2 returned " << intptr_t(returnValue) << std::endl; in main()
/openbsd/src/usr.sbin/npppd/pppoe/
Dpppoed.c155 if (slist_add(&_this->session_free_list, (void *)(intptr_t)id) in pppoed_init()
440 (void *)(intptr_t)session->session_id); in pppoed_pppoe_session_close_notify()
444 (void *)(intptr_t)session->acookie, 0); in pppoed_pppoe_session_close_notify()
447 (void *)(intptr_t)session->session_id, 0); in pppoed_pppoe_session_close_notify()
673 (void *)(intptr_t)session_id); in pppoed_input()
819 session_id = (intptr_t)slist_remove_first( in pppoed_recv_PADR()
841 hash_insert(_pppoed->session_hash, (void *)(intptr_t)session_id, in pppoed_recv_PADR()
971 (void *)(intptr_t)_this->self->acookie_next) != NULL); in pppoed_recv_PADI()
1102 ia = (intptr_t)a; in session_id_cmp()
1103 ib = (intptr_t)b; in session_id_cmp()
[all …]
/openbsd/src/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/execute/
Dpr15296.c6 typedef int __attribute__ ((mode (__pointer__))) intptr_t; typedef
7 typedef intptr_t W;
/openbsd/src/usr.sbin/npppd/l2tp/
Dl2tp_subr.h86 return ((intptr_t)m - (intptr_t)n); in short_cmp()
/openbsd/src/usr.bin/less/
Dsearch.c496 create_hilites(linepos, (intptr_t)sp - (intptr_t)line, in hilite_line()
497 (intptr_t)ep - (intptr_t)line, chpos); in hilite_line()
510 searchp, (intptr_t)line_end - (intptr_t)searchp, &sp, &ep, 1, in hilite_line()
/openbsd/src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/
DChrootChecker.cpp32 bool isRootChanged(intptr_t k) { return k == ROOT_CHANGED; } in isRootChanged()
125 if (isRootChanged((intptr_t) *k)) in checkPreCall()

1234567