Searched refs:IntPtr (Results 1 - 21 of 21) sorted by relevance

/external/chromium_org/tools/stats_viewer/
H A Dwin32.cs26 public static readonly IntPtr INVALID_HANDLE_VALUE = new IntPtr(-1);
30 public static extern IntPtr CreateFile (
32 IntPtr lpSecurityAttributes, int dwCreationDisposition,
33 int dwFlagsAndAttributes, IntPtr hTemplateFile);
36 public static extern IntPtr MapViewOfFile (
37 IntPtr hFileMappingObject, int dwDesiredAccess, int dwFileOffsetHigh,
41 public static extern IntPtr OpenFileMapping (
45 public static extern bool UnmapViewOfFile (IntPtr lpBaseAddress);
48 public static extern bool CloseHandle(IntPtr handl
[all...]
H A Dstats_table.cs230 if (map_handle_ == IntPtr.Zero)
236 if (memory_ == IntPtr.Zero) {
260 Marshal.WriteInt32((IntPtr) offset, 0);
280 int pid = Marshal.ReadInt32((IntPtr)pid_offset);
283 rv += Marshal.ReadInt32((IntPtr)data_offset);
305 private IntPtr memory_;
306 private IntPtr map_handle_;
435 string name = Marshal.PtrToStringUni((IntPtr)offset);
529 string thread_name = Marshal.PtrToStringUni((IntPtr)offset);
533 int pid = Marshal.ReadInt32((IntPtr)pidOffse
[all...]
/external/chromium_org/tools/win/ChromeDebug/LowLevel/
H A DNativeMethods.cs17 public static extern bool ReadProcessMemory(IntPtr hProcess,
18 IntPtr lpBaseAddress,
19 IntPtr lpBuffer,
25 IntPtr hProcess,
32 public static extern IntPtr CommandLineToArgvW(
37 public static extern IntPtr LocalFree(IntPtr hMem);
40 public static extern IntPtr OpenProcess(
48 IntPtr hProcess,
54 public static extern bool CloseHandle(IntPtr hObjec
[all...]
H A DTypes.cs130 // In general, for all structures below which contains a pointer (represented here by IntPtr),
148 private IntPtr buffer;
152 public IntPtr Buffer { get { return buffer; } }
173 private IntPtr ldr;
175 private IntPtr processParameters;
180 public IntPtr Ldr { get { return ldr; } }
181 public IntPtr ProcessParameters { get { return processParameters; } }
190 private IntPtr pebBaseAddress;
194 public IntPtr PebBaseAddress { get { return pebBaseAddress; } }
203 hIcon = IntPtr
[all...]
/external/chromium_org/tools/win/ChromeDebug/ChromeDebug/
H A DUtility.cs22 IntPtr ptrToSplitArgs;
28 if (ptrToSplitArgs == IntPtr.Zero)
39 Marshal.ReadIntPtr(ptrToSplitArgs, i * IntPtr.Size));
49 public static T ReadUnmanagedStructFromProcess<T>(IntPtr processHandle,
50 IntPtr addressInProcess) {
53 IntPtr buffer = Marshal.AllocHGlobal(bytesToRead);
62 public static string ReadStringUniFromProcess(IntPtr processHandle,
63 IntPtr addressInProcess,
66 IntPtr outBuffer = Marshal.AllocHGlobal(NumChars * 2);
H A DProcessDetail.cs30 this.processHandle = IntPtr.Zero;
221 IntPtr.Zero,
224 IntPtr.Zero)) {
245 if (processHandle == IntPtr.Zero) {
248 if (processHandle == IntPtr.Zero) {
258 private IntPtr processHandle;
281 if (processHandle != IntPtr.Zero)
283 processHandle = IntPtr.Zero;
H A DChromeDebugPackage.cs86 IntPtr parentHwnd = IntPtr.Zero;
/external/clang/test/SemaCXX/
H A Dwarn-cast-align.cpp20 typedef int *IntPtr; typedef
21 c = IntPtr(P); // expected-warning {{cast from 'char *' to 'IntPtr' (aka 'int *') increases required alignment from 1 to 4}}
43 typedef int *IntPtr; typedef
44 c = IntPtr(P);
H A Dcomposite-pointer-type.cpp39 typedef int *IntPtr; typedef
40 typedef IntPtr *IntPtrPtr;
41 typedef IntPtr const *IntPtrConstPtr;
/external/zlib/src/contrib/dotzlib/DotZLib/
H A DGZipStream.cs21 private static extern IntPtr gzopen(string name, string mode);
24 private static extern int gzclose(IntPtr gzFile);
27 private static extern int gzwrite(IntPtr gzFile, int data, int length);
30 private static extern int gzread(IntPtr gzFile, int data, int length);
33 private static extern int gzgetc(IntPtr gzFile);
36 private static extern int gzputc(IntPtr gzFile, int c);
41 private IntPtr _gzFile;
57 if (_gzFile == IntPtr.Zero)
70 if (_gzFile == IntPtr.Zero)
H A DDotZLib.cs32 public IntPtr next_in;
36 public IntPtr next_out;
/external/llvm/lib/Target/AArch64/
H A DAArch64SelectionDAGInfo.cpp42 EVT IntPtr = TLI.getPointerTy(); local
54 DAG.getExternalSymbol(bzeroEntry, IntPtr), std::move(Args), 0)
/external/llvm/lib/Object/
H A DCOFFObjectFile.cpp458 uintptr_t IntPtr = 0; local
459 if (std::error_code EC = getRvaPtr(Rva, IntPtr))
461 const uint8_t *Ptr = reinterpret_cast<const uint8_t *>(IntPtr);
485 uintptr_t IntPtr = 0; local
486 if (std::error_code EC = getRvaPtr(ImportTableRva, IntPtr))
489 const import_directory_table_entry *>(IntPtr);
506 uintptr_t IntPtr = 0; local
507 if (std::error_code EC = getRvaPtr(ExportTableRva, IntPtr))
510 reinterpret_cast<const export_directory_table_entry *>(IntPtr);
1023 uintptr_t IntPtr local
1033 uintptr_t IntPtr = 0; local
1053 uintptr_t IntPtr = 0; local
1076 uintptr_t IntPtr = 0; local
1090 uintptr_t IntPtr = 0; local
[all...]
/external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/
H A Dp7-1y.cpp18 using IntPtr = int*;
41 using IntPtr = decltype(x7a);
/external/llvm/tools/llvm-objdump/
H A DCOFFDump.cpp245 uintptr_t IntPtr = 0; local
246 if (error(Obj->getVaPtr(TableVA, IntPtr)))
248 const support::ulittle32_t *P = (const support::ulittle32_t *)IntPtr;
273 uintptr_t IntPtr = 0;
276 if (error(Obj->getRvaPtr(DataDir->RelativeVirtualAddress, IntPtr)))
279 auto *LoadConf = reinterpret_cast<const coff_load_configuration32 *>(IntPtr);
/external/llvm/lib/CodeGen/
H A DIntrinsicLowering.cpp466 Type *IntPtr = DL.getIntPtrType(Context); local
467 Value *Size = Builder.CreateIntCast(CI->getArgOperand(2), IntPtr,
477 Type *IntPtr = DL.getIntPtrType(Context); local
478 Value *Size = Builder.CreateIntCast(CI->getArgOperand(2), IntPtr,
489 Type *IntPtr = DL.getIntPtrType(Op0->getType()); local
490 Value *Size = Builder.CreateIntCast(CI->getArgOperand(2), IntPtr,
/external/llvm/lib/Target/X86/
H A DX86SelectionDAGInfo.cpp56 EVT IntPtr = DAG.getTargetLoweringInfo().getPointerTy(); local
69 DAG.getExternalSymbol(bzeroEntry, IntPtr), std::move(Args),
/external/llvm/lib/Transforms/Scalar/
H A DLoopIdiomRecognize.cpp1008 Type *IntPtr = Builder.getIntPtrTy(DL, DestAS); local
1009 BECount = SE->getTruncateOrZeroExtend(BECount, IntPtr);
1011 const SCEV *NumBytesS = SE->getAddExpr(BECount, SE->getConstant(IntPtr, 1),
1014 NumBytesS = SE->getMulExpr(NumBytesS, SE->getConstant(IntPtr, StoreSize),
1019 Expander.expandCodeFor(NumBytesS, IntPtr, Preheader->getTerminator());
1036 IntPtr,
/external/llvm/lib/Target/R600/
H A DAMDGPUISelDAGToDAG.cpp82 bool SelectGlobalValueConstantOffset(SDValue Addr, SDValue& IntPtr);
592 SDValue& IntPtr) {
594 IntPtr = CurDAG->getIntPtrConstant(Cst->getZExtValue() / 4, true);
591 SelectGlobalValueConstantOffset(SDValue Addr, SDValue& IntPtr) argument
/external/chromium_org/v8/src/compiler/
H A Draw-machine-assembler.h298 Node* IntPtr##name(Node* a, Node* b) { \
/external/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp3422 EVT IntPtr = TLI->getPointerTy();
3423 if (AllocSize.getValueType() != IntPtr)
3424 AllocSize = DAG.getZExtOrTrunc(AllocSize, getCurSDLoc(), IntPtr);
3426 AllocSize = DAG.getNode(ISD::MUL, getCurSDLoc(), IntPtr,
3428 DAG.getConstant(TySize, IntPtr));

Completed in 455 milliseconds