Home
last modified time | relevance | path

Searched refs:IntPtr (Results 1 – 24 of 24) sorted by relevance

/third_party/libsnd/examples/
Dgenerate.cs151 …public static extern IntPtr sf_open ([MarshalAs(UnmanagedType.LPStr)] string path, int mode, ref S… in sf_open()
154 static extern int sf_error (IntPtr sndfile); in sf_error()
157 static extern IntPtr sf_strerror (IntPtr sndfile); in sf_strerror()
163 static extern sf_count_t sf_read_float (IntPtr sndfile, float[] ptr, sf_count_t items); in sf_read_float()
166 static extern sf_count_t sf_write_float (IntPtr sndfile, float[] ptr, sf_count_t items); in sf_write_float()
169 static extern int sf_close (IntPtr sndfile); in sf_close()
192 IntPtr infile = sf_open (sfn, (int)lsndf_tf.SFM_READ, ref sfinfo); in Main()
224 IntPtr outfile = sf_open (ofn, (int)lsndf_tf.SFM_WRITE, ref sfinfo); in Main()
/third_party/zlib/contrib/dotzlib/DotZLib/
DGZipStream.cs21 private static extern IntPtr gzopen(string name, string mode); in gzopen()
24 private static extern int gzclose(IntPtr gzFile); in gzclose()
27 private static extern int gzwrite(IntPtr gzFile, int data, int length); in gzwrite()
30 private static extern int gzread(IntPtr gzFile, int data, int length); in gzread()
33 private static extern int gzgetc(IntPtr gzFile); in gzgetc()
36 private static extern int gzputc(IntPtr gzFile, int c); in gzputc()
41 private IntPtr _gzFile;
57 if (_gzFile == IntPtr.Zero) in GZipStream()
70 if (_gzFile == IntPtr.Zero) in GZipStream()
DDotZLib.cs32 public IntPtr next_in;
36 public IntPtr next_out;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
DCOFFObjectFile.cpp496 uintptr_t IntPtr = 0; in getHintName() local
497 if (std::error_code EC = getRvaPtr(Rva, IntPtr)) in getHintName()
499 const uint8_t *Ptr = reinterpret_cast<const uint8_t *>(IntPtr); in getHintName()
552 uintptr_t IntPtr = 0; in initImportTablePtr() local
553 if (std::error_code EC = getRvaPtr(ImportTableRva, IntPtr)) in initImportTablePtr()
555 if (std::error_code EC = checkOffset(Data, IntPtr, DataEntry->Size)) in initImportTablePtr()
558 const coff_import_directory_table_entry *>(IntPtr); in initImportTablePtr()
574 uintptr_t IntPtr = 0; in initDelayImportTablePtr() local
575 if (std::error_code EC = getRvaPtr(RVA, IntPtr)) in initDelayImportTablePtr()
578 const delay_import_directory_table_entry *>(IntPtr); in initDelayImportTablePtr()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DIntrinsicLowering.cpp339 Type *IntPtr = DL.getIntPtrType(Context); in LowerIntrinsicCall() local
340 Value *Size = Builder.CreateIntCast(CI->getArgOperand(2), IntPtr, in LowerIntrinsicCall()
350 Type *IntPtr = DL.getIntPtrType(Context); in LowerIntrinsicCall() local
351 Value *Size = Builder.CreateIntCast(CI->getArgOperand(2), IntPtr, in LowerIntrinsicCall()
362 Type *IntPtr = DL.getIntPtrType(Op0->getType()); in LowerIntrinsicCall() local
363 Value *Size = Builder.CreateIntCast(CI->getArgOperand(2), IntPtr, in LowerIntrinsicCall()
/third_party/node/deps/v8/src/codegen/
Dinterface-descriptors.h696 MachineType::IntPtr()) // kRequestedSize
1238 MachineType::IntPtr(),
1239 MachineType::IntPtr()) // kExcludedPropertyCount
1276 MachineType::IntPtr()) // kArgumentsCount
1563 MachineType::IntPtr()) // kPosition
1572 MachineType::IntPtr(), // kFrom
1573 MachineType::IntPtr()) // kTo
1615 MachineType::IntPtr(), // kActualArgumentsCount
1697 MachineType::IntPtr(), // kBytecodeOffset
1699 MachineType::IntPtr()) // kDispatchTable
[all …]
Dmachine-type.h163 constexpr static MachineType IntPtr() { in IntPtr() function
Dtnode.h81 static constexpr MachineType kMachineType = MachineType::IntPtr();
Dcode-stub-assembler.cc4783 std::make_pair(MachineType::IntPtr(), IntPtrConstant(0)), in FillFixedArrayWithSmiZero()
4805 std::make_pair(MachineType::IntPtr(), IntPtrConstant(0)), in FillFixedDoubleArrayWithZero()
4815 MachineType::IntPtr(), object_page, IntPtrConstant(Page::kFlagsOffset))); in JumpIfPointersFromHereAreInteresting()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/
DJITSymbol.h51 uintptr_t IntPtr = static_cast<uintptr_t>(Addr); in jitTargetAddressToPointer() local
52 assert(IntPtr == Addr && "JITTargetAddress value out of range for uintptr_t"); in jitTargetAddressToPointer()
53 return reinterpret_cast<T>(IntPtr); in jitTargetAddressToPointer()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64SelectionDAGInfo.cpp34 EVT IntPtr = TLI.getPointerTy(DAG.getDataLayout()); in EmitTargetCodeForMemset() local
47 DAG.getExternalSymbol(bzeroName, IntPtr), in EmitTargetCodeForMemset()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLoopIdiomRecognize.cpp835 Type *IntPtr, unsigned StoreSize, in getStartForNegStride() argument
837 const SCEV *Index = SE->getTruncateOrZeroExtend(BECount, IntPtr); in getStartForNegStride()
839 Index = SE->getMulExpr(Index, SE->getConstant(IntPtr, StoreSize), in getStartForNegStride()
848 static const SCEV *getNumBytes(const SCEV *BECount, Type *IntPtr, in getNumBytes() argument
859 DL->getTypeSizeInBits(IntPtr) && in getNumBytes()
865 IntPtr); in getNumBytes()
867 NumBytesS = SE->getAddExpr(SE->getTruncateOrZeroExtend(BECount, IntPtr), in getNumBytes()
868 SE->getOne(IntPtr), SCEV::FlagNUW); in getNumBytes()
873 NumBytesS = SE->getMulExpr(NumBytesS, SE->getConstant(IntPtr, StoreSize), in getNumBytes()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86SelectionDAGInfo.cpp77 EVT IntPtr = TLI.getPointerTy(DAG.getDataLayout()); in EmitTargetCodeForMemset() local
91 DAG.getExternalSymbol(bzeroName, IntPtr), in EmitTargetCodeForMemset()
/third_party/node/deps/v8/src/builtins/
Dbuiltins-array-gen.h41 std::make_pair(MachineType::IntPtr(), length), in CallJSArrayArrayJoinConcatToSequentialString()
Dbuiltins-internal-gen.cc450 std::make_pair(MachineType::IntPtr(), address), in GenerateTSANRelaxedStore()
451 std::make_pair(MachineType::IntPtr(), value)); in GenerateTSANRelaxedStore()
517 std::make_pair(MachineType::IntPtr(), address), in GenerateTSANSeqCstStore()
518 std::make_pair(MachineType::IntPtr(), value)); in GenerateTSANSeqCstStore()
576 std::make_pair(MachineType::IntPtr(), address)); in GenerateTSANRelaxedLoad()
Dbuiltins-typed-array-gen.cc338 std::make_pair(MachineType::IntPtr(), value), in CallCMemset()
Dbuiltins-microtask-queue-gen.cc580 std::make_pair(MachineType::IntPtr(), microtask_queue), in TF_BUILTIN()
Dbuiltins-string-gen.cc61 MachineType type_intptr = MachineType::IntPtr(); in CallSearchStringRaw()
115 std::make_pair(MachineType::IntPtr(), search_byte), in SearchOneByteInOneByteString()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DLegalizeDAG.cpp66 SDValue IntPtr; member
1471 SDValue IntPtr; in getSignAsIntValue() local
1475 IntPtr = StackPtr; in getSignAsIntValue()
1480 IntPtr = DAG.getMemBasePlusOffset(StackPtr, ByteOffset, DL); in getSignAsIntValue()
1485 State.IntPtr = IntPtr; in getSignAsIntValue()
1486 State.IntValue = DAG.getExtLoad(ISD::EXTLOAD, DL, LoadTy, State.Chain, IntPtr, in getSignAsIntValue()
1501 SDValue Chain = DAG.getTruncStore(State.Chain, DL, NewIntValue, State.IntPtr, in modifySignAsInt()
DSelectionDAGBuilder.cpp3999 EVT IntPtr = TLI.getPointerTy(DAG.getDataLayout(), DL.getAllocaAddrSpace()); in visitAlloca() local
4000 if (AllocSize.getValueType() != IntPtr) in visitAlloca()
4001 AllocSize = DAG.getZExtOrTrunc(AllocSize, dl, IntPtr); in visitAlloca()
4003 AllocSize = DAG.getNode(ISD::MUL, dl, IntPtr, in visitAlloca()
4005 DAG.getConstant(TySize, dl, IntPtr)); in visitAlloca()
4021 DAG.getConstant(StackAlign - 1, dl, IntPtr), Flags); in visitAlloca()
4026 DAG.getConstant(~(uint64_t)(StackAlign - 1), dl, IntPtr)); in visitAlloca()
4028 SDValue Ops[] = {getRoot(), AllocSize, DAG.getConstant(Align, dl, IntPtr)}; in visitAlloca()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUISelDAGToDAG.cpp317 bool SelectGlobalValueConstantOffset(SDValue Addr, SDValue& IntPtr);
2758 SDValue& IntPtr) { in SelectGlobalValueConstantOffset() argument
2760 IntPtr = CurDAG->getIntPtrConstant(Cst->getZExtValue() / 4, SDLoc(Addr), in SelectGlobalValueConstantOffset()
/third_party/node/deps/v8/src/compiler/
Daccess-builder.cc28 MaybeHandle<Map>(), Type::Any(), MachineType::IntPtr(), in ForExternalIntPtr()
Draw-machine-assembler.h588 Node* IntPtr##name(Node* a, Node* b) { \
Deffect-control-linearizer.cc2709 builder.AddReturn(MachineType::IntPtr()); in LowerCheckedTaggedToArrayIndex()