Home
last modified time | relevance | path

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

12

/external/avahi/avahi-ui-sharp/
DServiceDialog.cs14 … private static extern IntPtr aui_service_dialog_new (string title, IntPtr parent, IntPtr dummy); in aui_service_dialog_new()
17 …te static extern void aui_service_dialog_set_browse_service_typesv (IntPtr dialog, IntPtr[] types); in aui_service_dialog_set_browse_service_typesv()
20 private static extern IntPtr aui_service_dialog_get_browse_service_types (IntPtr dialog); in aui_service_dialog_get_browse_service_types()
23 private static extern IntPtr aui_service_dialog_get_domain (IntPtr dialog); in aui_service_dialog_get_domain()
26 private static extern void aui_service_dialog_set_domain (IntPtr dialog, IntPtr domain); in aui_service_dialog_set_domain()
29 private static extern IntPtr aui_service_dialog_get_service_type (IntPtr dialog); in aui_service_dialog_get_service_type()
32 private static extern void aui_service_dialog_set_service_type (IntPtr dialog, IntPtr type); in aui_service_dialog_set_service_type()
35 private static extern IntPtr aui_service_dialog_get_service_name (IntPtr dialog); in aui_service_dialog_get_service_name()
38 private static extern void aui_service_dialog_set_service_name (IntPtr dialog, IntPtr type); in aui_service_dialog_set_service_name()
41 private static extern IntPtr aui_service_dialog_get_address (IntPtr dialog); in aui_service_dialog_get_address()
[all …]
/external/avahi/avahi-sharp/
DClient.cs45 internal delegate int PollCallback (IntPtr ufds, uint nfds, int timeout); in PollCallback()
46 internal delegate void ClientCallback (IntPtr client, ClientState state, IntPtr userData); in ClientCallback()
121 private IntPtr handle;
124 private IntPtr spoll;
129 …private static extern IntPtr avahi_client_new (IntPtr poll, ClientFlags flags, ClientCallback hand… in avahi_client_new()
130 IntPtr userData, out int error); in avahi_client_new()
133 private static extern void avahi_client_free (IntPtr handle); in avahi_client_free()
136 private static extern IntPtr avahi_client_get_version_string (IntPtr handle); in avahi_client_get_version_string()
139 private static extern IntPtr avahi_client_get_host_name (IntPtr handle); in avahi_client_get_host_name()
142 private static extern IntPtr avahi_client_get_domain_name (IntPtr handle); in avahi_client_get_domain_name()
[all …]
DServiceResolver.cs30 internal delegate void ServiceResolverCallback (IntPtr resolver, int iface, Protocol proto, in ServiceResolverCallback()
31 ResolverEvent revent, IntPtr name, IntPtr type, in ServiceResolverCallback()
32 IntPtr domain, IntPtr host, IntPtr address, in ServiceResolverCallback()
33 … UInt16 port, IntPtr txt, LookupResultFlags flags, in ServiceResolverCallback()
34 IntPtr userdata); in ServiceResolverCallback()
38 private IntPtr handle;
54 … private static extern IntPtr avahi_service_resolver_new (IntPtr client, int iface, Protocol proto, in avahi_service_resolver_new()
58 IntPtr userdata); in avahi_service_resolver_new()
61 private static extern IntPtr avahi_string_list_get_next (IntPtr list); in avahi_string_list_get_next()
64 private static extern IntPtr avahi_string_list_get_text (IntPtr list); in avahi_string_list_get_text()
[all …]
DUtility.cs34 private static extern int strlen (IntPtr ptr); in strlen()
37 private static extern IntPtr avahi_address_snprint (IntPtr buf, int size, IntPtr address); in avahi_address_snprint()
40 private static extern IntPtr avahi_address_parse (IntPtr str, Protocol proto, IntPtr ret); in avahi_address_parse()
42 public static string PtrToString (IntPtr ptr) in PtrToString()
44 if (ptr == IntPtr.Zero) in PtrToString()
53 public static string PtrToStringFree (IntPtr ptr) in PtrToStringFree()
55 if (ptr == IntPtr.Zero) in PtrToStringFree()
71 private static IntPtr StringToPtr (string str) in StringToPtr()
74 return IntPtr.Zero; in StringToPtr()
77 IntPtr buf = Stdlib.malloc ((uint) bytes.Length + 1); in StringToPtr()
[all …]
DEntryGroup.cs66 … internal delegate void EntryGroupCallback (IntPtr group, EntryGroupState state, IntPtr userdata); in EntryGroupCallback()
72 private IntPtr handle;
76 …private static extern IntPtr avahi_entry_group_new (IntPtr client, EntryGroupCallback cb, IntPtr u… in avahi_entry_group_new()
79 private static extern int avahi_entry_group_commit (IntPtr group); in avahi_entry_group_commit()
82 private static extern int avahi_entry_group_reset (IntPtr group); in avahi_entry_group_reset()
85 private static extern EntryGroupState avahi_entry_group_get_state (IntPtr group); in avahi_entry_group_get_state()
88 private static extern bool avahi_entry_group_is_empty (IntPtr group); in avahi_entry_group_is_empty()
91 …private static extern int avahi_entry_group_add_service_strlst (IntPtr group, int iface, Protocol … in avahi_entry_group_add_service_strlst()
94 IntPtr strlst); in avahi_entry_group_add_service_strlst()
97 …private static extern int avahi_entry_group_update_service_strlst (IntPtr group, int iface, Protoc… in avahi_entry_group_update_service_strlst()
[all …]
DAddressResolver.cs29 internal delegate void AddressResolverCallback (IntPtr resolver, int iface, Protocol proto, in AddressResolverCallback()
30 ResolverEvent revent, IntPtr address, in AddressResolverCallback()
31IntPtr hostname, LookupResultFlags flags, IntPtr userdata); in AddressResolverCallback()
59 private IntPtr handle;
74 … private static extern IntPtr avahi_address_resolver_new (IntPtr client, int iface, Protocol proto, in avahi_address_resolver_new()
75 IntPtr address, LookupFlags flags, in avahi_address_resolver_new()
77 IntPtr userdata); in avahi_address_resolver_new()
80 private static extern void avahi_address_resolver_free (IntPtr handle); in avahi_address_resolver_free()
143 if (client.Handle == IntPtr.Zero || handle != IntPtr.Zero || in Start()
147 IntPtr addrPtr = Utility.AddressToPtr (address); in Start()
[all …]
DHostNameResolver.cs30 internal delegate void HostNameResolverCallback (IntPtr resolver, int iface, Protocol proto, in HostNameResolverCallback()
31 … ResolverEvent revent, IntPtr hostname, IntPtr address, in HostNameResolverCallback()
32 LookupResultFlags flags, IntPtr userdata); in HostNameResolverCallback()
36 private IntPtr handle;
52 …private static extern IntPtr avahi_host_name_resolver_new (IntPtr client, int iface, Protocol prot… in avahi_host_name_resolver_new()
54 … HostNameResolverCallback cb, IntPtr userdata); in avahi_host_name_resolver_new()
57 private static extern void avahi_host_name_resolver_free (IntPtr handle); in avahi_host_name_resolver_free()
123 if (client.Handle == IntPtr.Zero || handle != IntPtr.Zero || in Start()
130 cb, IntPtr.Zero); in Start()
132 if (handle == IntPtr.Zero) in Start()
[all …]
DServiceBrowser.cs28 …internal delegate void ServiceBrowserCallback (IntPtr browser, int iface, Protocol proto, BrowserE… in ServiceBrowserCallback()
29IntPtr name, IntPtr type, IntPtr domain, LookupResultFlags flags, in ServiceBrowserCallback()
30 IntPtr userdata); in ServiceBrowserCallback()
67 private IntPtr handle;
81 …private static extern IntPtr avahi_service_browser_new (IntPtr client, int iface, int proto, byte[… in avahi_service_browser_new()
84 IntPtr userdata); in avahi_service_browser_new()
87 private static extern void avahi_service_browser_free (IntPtr handle); in avahi_service_browser_free()
150 if (client.Handle == IntPtr.Zero || handle != IntPtr.Zero || in Start()
157 flags, cb, IntPtr.Zero); in Start()
159 if (handle == IntPtr.Zero) in Start()
[all …]
DServiceTypeBrowser.cs27 …internal delegate void ServiceTypeBrowserCallback (IntPtr browser, int iface, Protocol proto, Brow… in ServiceTypeBrowserCallback()
28IntPtr type, IntPtr domain, LookupResultFlags flags, in ServiceTypeBrowserCallback()
29 IntPtr userdata); in ServiceTypeBrowserCallback()
59 private IntPtr handle;
72 … private static extern IntPtr avahi_service_type_browser_new (IntPtr client, int iface, int proto, in avahi_service_type_browser_new()
75 IntPtr userdata); in avahi_service_type_browser_new()
78 private static extern void avahi_service_type_browser_free (IntPtr handle); in avahi_service_type_browser_free()
140 if (client.Handle == IntPtr.Zero || handle != IntPtr.Zero || in Start()
147 cb, IntPtr.Zero); in Start()
149 if (handle == IntPtr.Zero) in Start()
[all …]
DRecordBrowser.cs31 …internal delegate void RecordBrowserCallback (IntPtr browser, int iface, Protocol proto, BrowserEv… in RecordBrowserCallback()
32IntPtr name, ushort clazz, ushort type, IntPtr rdata, int size, in RecordBrowserCallback()
33 LookupResultFlags flags, IntPtr userdata); in RecordBrowserCallback()
79 private IntPtr handle;
94 … private static extern IntPtr avahi_record_browser_new (IntPtr client, int iface, Protocol proto, in avahi_record_browser_new()
97 IntPtr userdata); in avahi_record_browser_new()
101 private static extern void avahi_record_browser_free (IntPtr handle); in avahi_record_browser_free()
162 if (client.Handle == IntPtr.Zero || handle != IntPtr.Zero || in Start()
168 … (ushort) clazz, (ushort) type, flags, cb, IntPtr.Zero); in Start()
170 if (handle == IntPtr.Zero) in Start()
[all …]
DDomainBrowser.cs27 …internal delegate void DomainBrowserCallback (IntPtr browser, int iface, Protocol proto, BrowserEv… in DomainBrowserCallback()
28IntPtr domain, LookupResultFlags flags, IntPtr userdata); in DomainBrowserCallback()
65 private IntPtr handle;
79 private static extern IntPtr avahi_domain_browser_new (IntPtr client, int iface, int proto, in avahi_domain_browser_new()
82 IntPtr userdata); in avahi_domain_browser_new()
85 private static extern void avahi_domain_browser_free (IntPtr handle); in avahi_domain_browser_free()
144 if (client.Handle == IntPtr.Zero && handle != IntPtr.Zero || in Start()
151 cb, IntPtr.Zero); in Start()
153 if (handle == IntPtr.Zero) in Start()
160 if (client.Handle != IntPtr.Zero && handle != IntPtr.Zero && in Stop()
[all …]
DClientException.cs102 private static extern IntPtr avahi_strerror (ErrorCode code); in avahi_strerror()
119 IntPtr str = avahi_strerror (code); in GetErrorString()
/external/llvm/lib/Object/
DCOFFObjectFile.cpp457 uintptr_t IntPtr = 0; in getHintName() local
458 if (std::error_code EC = getRvaPtr(Rva, IntPtr)) in getHintName()
460 const uint8_t *Ptr = reinterpret_cast<const uint8_t *>(IntPtr); in getHintName()
485 uintptr_t IntPtr = 0; in initImportTablePtr() local
486 if (std::error_code EC = getRvaPtr(ImportTableRva, IntPtr)) in initImportTablePtr()
489 const import_directory_table_entry *>(IntPtr); in initImportTablePtr()
505 uintptr_t IntPtr = 0; in initDelayImportTablePtr() local
506 if (std::error_code EC = getRvaPtr(RVA, IntPtr)) in initDelayImportTablePtr()
509 const delay_import_directory_table_entry *>(IntPtr); in initDelayImportTablePtr()
526 uintptr_t IntPtr = 0; in initExportTablePtr() local
[all …]
/external/zlib/src/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;
/external/clang/test/SemaCXX/
Dwarn-cast-align.cpp20 typedef int *IntPtr; in test0() typedef
21 …c = IntPtr(P); // expected-warning {{cast from 'char *' to 'IntPtr' (aka 'int *') increases requir… in test0()
43 typedef int *IntPtr; in test1() typedef
44 c = IntPtr(P); in test1()
Dcomposite-pointer-type.cpp39 typedef int *IntPtr; in f2() typedef
40 typedef IntPtr *IntPtrPtr; in f2()
41 typedef IntPtr const *IntPtrConstPtr; in f2()
/external/llvm/lib/Transforms/Scalar/
DLoopIdiomRecognize.cpp484 Type *IntPtr, unsigned StoreSize, in getStartForNegStride() argument
486 const SCEV *Index = SE->getTruncateOrZeroExtend(BECount, IntPtr); in getStartForNegStride()
488 Index = SE->getMulExpr(Index, SE->getConstant(IntPtr, StoreSize), in getStartForNegStride()
535 Type *IntPtr = Builder.getIntPtrTy(*DL, DestAS); in processLoopStridedStore() local
540 Start = getStartForNegStride(Start, BECount, IntPtr, StoreSize, SE); in processLoopStridedStore()
561 BECount = SE->getTruncateOrZeroExtend(BECount, IntPtr); in processLoopStridedStore()
564 SE->getAddExpr(BECount, SE->getOne(IntPtr), SCEV::FlagNUW); in processLoopStridedStore()
566 NumBytesS = SE->getMulExpr(NumBytesS, SE->getConstant(IntPtr, StoreSize), in processLoopStridedStore()
571 Expander.expandCodeFor(NumBytesS, IntPtr, Preheader->getTerminator()); in processLoopStridedStore()
584 Int8PtrTy, Int8PtrTy, IntPtr, (void *)nullptr); in processLoopStridedStore()
/external/llvm/lib/Target/AArch64/
DAArch64SelectionDAGInfo.cpp35 EVT IntPtr = TLI.getPointerTy(DAG.getDataLayout()); in EmitTargetCodeForMemset() local
47 DAG.getExternalSymbol(bzeroEntry, IntPtr), std::move(Args), 0) in EmitTargetCodeForMemset()
/external/llvm/tools/llvm-objdump/
DCOFFDump.cpp246 uintptr_t IntPtr = 0; in printSEHTable() local
247 error(Obj->getVaPtr(TableVA, IntPtr)); in printSEHTable()
248 const support::ulittle32_t *P = (const support::ulittle32_t *)IntPtr; in printSEHTable()
268 uintptr_t IntPtr = 0; in printLoadConfiguration() local
271 error(Obj->getRvaPtr(DataDir->RelativeVirtualAddress, IntPtr)); in printLoadConfiguration()
273 auto *LoadConf = reinterpret_cast<const coff_load_configuration32 *>(IntPtr); in printLoadConfiguration()
/external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/
Dp7-1y.cpp21 using IntPtr = int*; typedef
44 using IntPtr = decltype(x7a); typedef
/external/llvm/lib/CodeGen/
DIntrinsicLowering.cpp474 Type *IntPtr = DL.getIntPtrType(Context); in LowerIntrinsicCall() local
475 Value *Size = Builder.CreateIntCast(CI->getArgOperand(2), IntPtr, in LowerIntrinsicCall()
485 Type *IntPtr = DL.getIntPtrType(Context); in LowerIntrinsicCall() local
486 Value *Size = Builder.CreateIntCast(CI->getArgOperand(2), IntPtr, in LowerIntrinsicCall()
497 Type *IntPtr = DL.getIntPtrType(Op0->getType()); in LowerIntrinsicCall() local
498 Value *Size = Builder.CreateIntCast(CI->getArgOperand(2), IntPtr, in LowerIntrinsicCall()
/external/llvm/lib/Target/X86/
DX86SelectionDAGInfo.cpp77 EVT IntPtr = TLI.getPointerTy(DAG.getDataLayout()); in EmitTargetCodeForMemset() local
90 DAG.getExternalSymbol(bzeroEntry, IntPtr), std::move(Args), in EmitTargetCodeForMemset()
/external/v8/src/
Dmachine-type.h76 static MachineType IntPtr() { in IntPtr() function
/external/v8/src/compiler/
Dfast-accessor-assembler.cc98 return FromRaw(assembler_->Load(MachineType::IntPtr(), FromId(value), in LoadValue()

12