Searched refs:handle (Results 176 - 200 of 1717) sorted by relevance

1234567891011>>

/macosx-10.9.5/WebCore-7537.78.1/platform/graphics/win/
H A DRefCountedGDIHandle.h33 static PassRefPtr<RefCountedGDIHandle> create(T handle) argument
35 return adoptRef(new RefCountedGDIHandle<T>(handle));
49 T handle() const function in class:WebCore::RefCountedGDIHandle
60 RefCountedGDIHandle(T handle) argument
61 : m_handle(handle)
/macosx-10.9.5/WebKit2-7537.78.2/Platform/unix/
H A DSharedMemoryUnix.cpp70 bool SharedMemory::Handle::decode(CoreIPC::ArgumentDecoder& decoder, Handle& handle) argument
72 ASSERT_ARG(handle, !handle.m_size);
73 ASSERT_ARG(handle, handle.isNull());
79 handle.adoptFromAttachment(attachment.releaseFileDescriptor(), attachment.size());
154 PassRefPtr<SharedMemory> SharedMemory::create(const Handle& handle, Protection protection) argument
156 ASSERT(!handle.isNull());
158 void* data = mmap(0, handle.m_size, accessModeMMap(protection), MAP_SHARED, handle
189 createHandle(Handle& handle, Protection protection) argument
[all...]
/macosx-10.9.5/libpcap-42/libpcap/
H A Dpcap-usb-linux.c205 int usb_mmap(pcap_t* handle) argument
207 int len = ioctl(handle->fd, MON_IOCQ_RING_SIZE);
211 handle->md.mmapbuflen = len;
212 handle->md.mmapbuf = mmap(0, handle->md.mmapbuflen, PROT_READ,
213 MAP_SHARED, handle->fd, 0);
214 return handle->md.mmapbuf != MAP_FAILED;
300 usb_activate(pcap_t* handle) argument
305 handle->bufsize = handle
423 usb_read_linux(pcap_t *handle, int max_packets, pcap_handler callback, u_char *user) argument
620 usb_inject_linux(pcap_t *handle, const void *buf, size_t size) argument
628 usb_stats_linux(pcap_t *handle, struct pcap_stat *stats) argument
711 usb_stats_linux_bin(pcap_t *handle, struct pcap_stat *stats) argument
734 usb_read_linux_bin(pcap_t *handle, int max_packets, pcap_handler callback, u_char *user) argument
792 usb_read_linux_mmap(pcap_t *handle, int max_packets, pcap_handler callback, u_char *user) argument
875 usb_cleanup_linux_mmap(pcap_t* handle) argument
[all...]
/macosx-10.9.5/tcl-102/tcl_ext/thread/thread/generic/
H A DpsGdbm.c83 * Opaque handle of the opened dbm storage.
123 ps_gdbm_close(handle)
124 ClientData handle;
126 gdbm_close((GDBM_FILE)handle);
149 ps_gdbm_get(handle, key, dataptrptr, lenptr)
150 ClientData handle;
155 GDBM_FILE dbf = (GDBM_FILE)handle;
190 ps_gdbm_first(handle, keyptrptr, dataptrptr, lenptr)
191 ClientData handle;
196 GDBM_FILE dbf = (GDBM_FILE)handle;
[all...]
/macosx-10.9.5/libxml2-26/libxml2/
H A Dxmlmodule.c24 void *handle; member in struct:_xmlModule
28 static int xmlModulePlatformClose(void *handle);
29 static int xmlModulePlatformSymbol(void *handle, const char *name, void **result);
70 * Returns a handle for the module or NULL in case of error
85 module->handle = xmlModulePlatformOpen(name);
87 if (module->handle == NULL) {
125 rc = xmlModulePlatformSymbol(module->handle, name, symbol);
141 * @module: the module handle
161 rc = xmlModulePlatformClose(module->handle);
177 * @module: the module handle
231 xmlModulePlatformClose(void *handle) argument
243 xmlModulePlatformSymbol(void *handle, const char *name, void **symbol) argument
275 xmlModulePlatformClose(void *handle) argument
287 xmlModulePlatformSymbol(void *handle, const char *name, void **symbol) argument
320 xmlModulePlatformClose(void *handle) argument
335 xmlModulePlatformSymbol(void *handle, const char *name, void **symbol) argument
373 xmlModulePlatformClose(void *handle) argument
392 xmlModulePlatformSymbol(void *handle, const char *name, void **symbol) argument
417 void *handle; local
435 xmlModulePlatformClose(void *handle) argument
447 xmlModulePlatformSymbol(void *handle, const char *name, void **symbol) argument
[all...]
/macosx-10.9.5/apache-786.1/httpd/srclib/apr/dso/unix/
H A Ddso.c46 (*aprdso)->handle = osdso;
54 *osdso = aprdso->handle;
62 if (dso->handle == NULL)
66 shl_unload((shl_t)dso->handle);
68 if (dso->handle != DYLD_LIBRARY_HANDLE) {
69 NSUnLinkModule(dso->handle, FALSE);
72 if (dlclose(dso->handle) != 0)
75 dso->handle = NULL;
158 (*res_handle)->handle = (void*)os_handle;
167 APR_DECLARE(apr_status_t) apr_dso_unload(apr_dso_handle_t *handle)
[all...]
/macosx-10.9.5/apr-30/apr/apr/dso/unix/
H A Ddso.c46 (*aprdso)->handle = osdso;
54 *osdso = aprdso->handle;
62 if (dso->handle == NULL)
66 shl_unload((shl_t)dso->handle);
68 if (dso->handle != DYLD_LIBRARY_HANDLE) {
69 NSUnLinkModule(dso->handle, FALSE);
72 if (dlclose(dso->handle) != 0)
75 dso->handle = NULL;
158 (*res_handle)->handle = (void*)os_handle;
167 APR_DECLARE(apr_status_t) apr_dso_unload(apr_dso_handle_t *handle)
[all...]
/macosx-10.9.5/pyobjc-42/pyobjc/pyobjc-core/libxml2-src/
H A Dxmlmodule.c24 void *handle; member in struct:_xmlModule
28 static int xmlModulePlatformClose(void *handle);
29 static int xmlModulePlatformSymbol(void *handle, const char *name, void **result);
66 * Returns a handle for the module or NULL in case of error
81 module->handle = xmlModulePlatformOpen(name);
83 if (module->handle == NULL) {
117 rc = xmlModulePlatformSymbol(module->handle, name, symbol);
133 * @module: the module handle
153 rc = xmlModulePlatformClose(module->handle);
169 * @module: the module handle
223 xmlModulePlatformClose(void *handle) argument
235 xmlModulePlatformSymbol(void *handle, const char *name, void **symbol) argument
267 xmlModulePlatformClose(void *handle) argument
279 xmlModulePlatformSymbol(void *handle, const char *name, void **symbol) argument
312 xmlModulePlatformClose(void *handle) argument
327 xmlModulePlatformSymbol(void *handle, const char *name, void **symbol) argument
358 xmlModulePlatformClose(void *handle) argument
377 xmlModulePlatformSymbol(void *handle, const char *name, void **symbol) argument
402 void *handle; local
420 xmlModulePlatformClose(void *handle) argument
432 xmlModulePlatformSymbol(void *handle, const char *name, void **symbol) argument
[all...]
/macosx-10.9.5/tcl-102/tcl_ext/tkimg/tkimg/ico/
H A Dico.c119 static Boln readUByte (tkimg_MFile *handle, UByte *b) argument
122 if (1 != tkimg_Read(handle, buf, 1)) {
133 static Boln readUShort (tkimg_MFile *handle, UShort *s) argument
138 if (2 != tkimg_Read(handle, buf, 2)) {
151 static Boln readUInt (tkimg_MFile *handle, UInt *i) argument
156 if (4 != tkimg_Read(handle, buf, 4)) {
169 static Boln writeUByte (tkimg_MFile *handle, UByte b) argument
173 if (1 != tkimg_Write(handle, (const char *)buf, 1)) {
182 static Boln writeUShort (tkimg_MFile *handle, UShort s) argument
187 if (2 != tkimg_Write(handle, bu
196 writeUInt(tkimg_MFile *handle, UInt i) argument
234 readIcoHeader(tkimg_MFile *handle, ICOHEADER *th) argument
292 writeIcoHeader(tkimg_MFile *handle, ICOHEADER *th) argument
324 readInfoHeader(tkimg_MFile *handle, INFOHEADER *ih) argument
356 writeInfoHeader(tkimg_MFile *handle, INFOHEADER *ih) argument
388 readColorMap(tkimg_MFile *handle, int mapSize, ICOCOLOR *colorMap) argument
405 writeColorMap(tkimg_MFile *handle, int mapSize, ICOCOLOR *colorMap) argument
506 tkimg_MFile handle; local
521 tkimg_MFile handle; local
565 tkimg_MFile handle; local
585 tkimg_MFile handle; local
864 tkimg_MFile handle; local
887 tkimg_MFile handle; local
[all...]
/macosx-10.9.5/files-638.1.4/private/etc/
H A Dupdate-services.pl31 my $handle = new IO::File;
32 open($handle, $file) or die "$file: $!";
33 while (<$handle>) {
56 close($handle);
135 my $handle = new IO::File;
136 open($handle, $ARGV[0]) or die "$ARGV[0]: $!";
137 my $line = <$handle>;
157 $line = <$handle>;
180 $line = <$handle>;
186 $line = <$handle>;
[all...]
/macosx-10.9.5/emacs-92/emacs/lisp/gnus/
H A Dmm-view.el87 (defun mm-inline-image-emacs (handle)
90 (put-image (mm-get-image handle) b)
92 (mm-handle-set-undisplayer
93 handle
100 (defun mm-inline-image-xemacs (handle)
103 (let ((annot (make-annotation (mm-get-image handle) nil 'text))
105 (mm-handle-set-undisplayer
106 handle
130 (defun mm-inline-text-html-render-with-w3 (handle)
132 (let ((text (mm-get-part handle))
[all...]
H A Dmm-decode.el63 (defmacro mm-handle-buffer (handle)
64 `(nth 0 ,handle))
65 (defmacro mm-handle-type (handle)
66 `(nth 1 ,handle))
67 (defsubst mm-handle-media-type (handle)
68 (if (stringp (car handle))
69 (car handle)
[all...]
/macosx-10.9.5/tcl-102/tcl_ext/tkimg/tkimg/bmp/
H A Dbmp.c40 static int CommonMatch(tkimg_MFile *handle, int *widthPtr,
44 static int CommonRead(Tcl_Interp *interp, tkimg_MFile *handle,
48 static int CommonWrite(Tcl_Interp *interp, tkimg_MFile *handle,
51 static void putint(tkimg_MFile *handle, int i);
66 tkimg_MFile handle; local
68 handle.data = (char *) chan;
69 handle.state = IMG_CHAN;
71 return CommonMatch(&handle, widthPtr, heightPtr,
83 tkimg_MFile handle; local
85 if (!tkimg_ReadInit(data, 'B', &handle)) {
104 tkimg_MFile handle; local
124 tkimg_MFile handle; local
139 tkimg_MFile handle; local
162 tkimg_MFile handle; local
[all...]
/macosx-10.9.5/apache-786.1/httpd/srclib/apr-util/include/private/
H A Dapr_dbd_internal.h52 /** native_handle: return the native database handle of the underlying db
54 * @param handle - apr_dbd handle
55 * @return - native handle
57 void *(*native_handle)(apr_dbd_t *handle);
67 * @return database handle, or NULL on error.
75 * @param handle - the connection to check
78 apr_status_t (*check_conn)(apr_pool_t *pool, apr_dbd_t *handle);
82 * @param handle - the connection to release
85 apr_status_t (*close)(apr_dbd_t *handle);
[all...]
/macosx-10.9.5/apr-30/apr-util/apr-util/include/private/
H A Dapr_dbd_internal.h52 /** native_handle: return the native database handle of the underlying db
54 * @param handle - apr_dbd handle
55 * @return - native handle
57 void *(*native_handle)(apr_dbd_t *handle);
67 * @return database handle, or NULL on error.
75 * @param handle - the connection to check
78 apr_status_t (*check_conn)(apr_pool_t *pool, apr_dbd_t *handle);
82 * @param handle - the connection to release
85 apr_status_t (*close)(apr_dbd_t *handle);
[all...]
/macosx-10.9.5/dyld-239.4/unit-tests/test-cases/dlopen-NULL-RTLD_FIRST/
H A Dmain.c32 /// any dlsym() looks against that handle should only look in
40 void* handle; member in struct:info
48 result.handle = dlopen(path, options);
49 if ( result.handle == NULL ) {
53 //fprintf(stderr, "dlopen(%s, 0x%0X) => %p\n", path, options, result.handle);
59 void* sym = dlsym(hp.handle, symbol);
61 FAIL("dlsym-NULL-RTLD_FIRST: dlsym(handle-%s, \"%s\") should have failed", hp.path, symbol);
68 void* sym = dlsym(hp.handle, symbol);
70 FAIL("dlsym-NULL-RTLD_FIRST: dlsym(handle-%s, \"%s\") failed", hp.path, symbol);
88 result = dlclose(mainFirst.handle);
[all...]
/macosx-10.9.5/libutil-34/
H A Dwipefs.cpp131 wipefs_alloc(int fd, size_t block_size, wipefs_ctx *handle) argument
140 *handle = NULL;
173 *handle = new __wipefs_ctx;
174 if (*handle == NULL) {
179 (*handle)->fd = fd;
180 extMan = &(*handle)->extMan;
201 wipefs_free(handle);
207 wipefs_include_blocks(wipefs_ctx handle, off_t block_offset, off_t nblocks) argument
211 handle->extMan.AddBlockRangeExtent(block_offset, nblocks);
223 wipefs_except_blocks(wipefs_ctx handle, off_ argument
239 wipefs_wipe(wipefs_ctx handle) argument
309 wipefs_free(wipefs_ctx *handle) argument
[all...]
/macosx-10.9.5/WebCore-7537.78.1/platform/network/soup/
H A DResourceHandleSoup.cpp163 virtual void didFail(ResourceHandle* handle, const ResourceError& error) argument
166 didFinishLoading(handle, 0);
171 // We do not handle authentication for synchronous XMLHttpRequests.
334 ResourceHandle* handle = static_cast<ResourceHandle*>(data); local
335 if (!handle || handle->cancelledOrClientless())
338 ResourceHandleInternal* d = handle->getInternal();
364 static void applyAuthenticationToRequest(ResourceHandle* handle, ResourceRequest& request, bool redirect) argument
367 ResourceHandleInternal* d = handle->getInternal();
369 if (handle
404 ResourceHandle* handle = static_cast<ResourceHandle*>(data); local
416 shouldRedirect(ResourceHandle* handle) argument
455 doRedirect(ResourceHandle* handle) argument
518 RefPtr<ResourceHandle> handle = static_cast<ResourceHandle*>(data); local
546 RefPtr<ResourceHandle> handle = static_cast<ResourceHandle*>(data); local
560 cleanupSoupRequestOperation(ResourceHandle* handle, bool isDestroying) argument
590 handleUnignoredTLSErrors(ResourceHandle* handle) argument
613 RefPtr<ResourceHandle> handle = static_cast<ResourceHandle*>(data); local
656 RefPtr<ResourceHandle> handle = static_cast<ResourceHandle*>(data); local
837 RefPtr<ResourceHandle> handle = static_cast<ResourceHandle*>(data); local
850 RefPtr<ResourceHandle> handle = static_cast<ResourceHandle*>(g_object_get_data(G_OBJECT(soupMessage), "handle")); local
872 ResourceHandle* handle = static_cast<ResourceHandle*>(data); local
937 createSoupMessageForHandleAndRequest(ResourceHandle* handle, const ResourceRequest& request) argument
951 g_object_set_data(G_OBJECT(soupMessage), "handle", handle); local
995 createSoupRequestAndMessageForHandle(ResourceHandle* handle, const ResourceRequest& request, bool isHTTPFamilyRequest) argument
1240 waitingToSendRequest(ResourceHandle* handle) argument
1289 RefPtr<ResourceHandle> handle = create(context, request, &syncLoader, false /*defersLoading*/, false /*shouldContentSniff*/); local
1302 RefPtr<ResourceHandle> handle = static_cast<ResourceHandle*>(data); local
1358 RefPtr<ResourceHandle> handle = static_cast<ResourceHandle*>(data); local
1367 RefPtr<ResourceHandle> handle = static_cast<ResourceHandle*>(g_object_get_data(G_OBJECT(soupMessage), "handle")); local
[all...]
/macosx-10.9.5/Security-55471.14.18/libsecurity_apple_cspdl/lib/
H A DCSPDLPlugin.cpp45 CSPDLPlugin::makeSession(CSSM_MODULE_HANDLE handle, argument
55 return new SSCSPSession(handle,
65 return new SSDLSession(handle,
/macosx-10.9.5/WebKit2-7537.78.2/Shared/
H A DShareableBitmap.cpp49 bool ShareableBitmap::Handle::decode(CoreIPC::ArgumentDecoder& decoder, Handle& handle) argument
51 if (!decoder.decode(handle.m_handle))
53 if (!decoder.decode(handle.m_size))
55 if (!decoder.decode(handle.m_flags))
92 PassRefPtr<ShareableBitmap> ShareableBitmap::create(const Handle& handle, SharedMemory::Protection protection) argument
95 RefPtr<SharedMemory> sharedMemory = SharedMemory::create(handle.m_handle, protection);
99 return create(handle.m_size, handle.m_flags, sharedMemory.release());
102 bool ShareableBitmap::createHandle(Handle& handle, SharedMemory::Protection protection) argument
106 if (!m_sharedMemory->createHandle(handle
[all...]
H A DShareableResource.cpp47 bool ShareableResource::Handle::decode(CoreIPC::ArgumentDecoder& decoder, Handle& handle) argument
49 if (!decoder.decode(handle.m_handle))
51 if (!decoder.decode(handle.m_offset))
53 if (!decoder.decode(handle.m_size))
85 LOG_ERROR("Failed to recreate ShareableResource from handle.");
100 PassRefPtr<ShareableResource> ShareableResource::create(const Handle& handle) argument
102 RefPtr<SharedMemory> sharedMemory = SharedMemory::create(handle.m_handle, SharedMemory::ReadOnly);
106 return create(sharedMemory.release(), handle.m_offset, handle.m_size);
124 bool ShareableResource::createHandle(Handle& handle) argument
[all...]
/macosx-10.9.5/apache-786.1/httpd/srclib/apr-util/test/
H A Ddbd.c34 static int create_table(apr_pool_t* pool, apr_dbd_t* handle, argument
43 rv = apr_dbd_query(driver, handle, &nrows, statement);
46 static int drop_table(apr_pool_t* pool, apr_dbd_t* handle, argument
52 rv = apr_dbd_query(driver, handle, &nrows, statement);
55 static int insert_rows(apr_pool_t* pool, apr_dbd_t* handle, argument
69 rv = apr_dbd_query(driver, handle, &nrows, statement);
82 rv = apr_dbd_query(driver, handle, &nrows, statement);
93 static int invalid_op(apr_pool_t* pool, apr_dbd_t* handle, argument
99 rv = apr_dbd_query(driver, handle, &nrows, statement);
101 printf("'%s'\n", apr_dbd_error(driver, handle, r
107 select_sequential(apr_pool_t* pool, apr_dbd_t* handle, const apr_dbd_driver_t* driver) argument
139 select_random(apr_pool_t* pool, apr_dbd_t* handle, const apr_dbd_driver_t* driver) argument
195 test_transactions(apr_pool_t* pool, apr_dbd_t* handle, const apr_dbd_driver_t* driver) argument
268 test_pselect(apr_pool_t* pool, apr_dbd_t* handle, const apr_dbd_driver_t* driver) argument
312 test_pquery(apr_pool_t* pool, apr_dbd_t* handle, const apr_dbd_driver_t* driver) argument
[all...]
/macosx-10.9.5/apr-30/apr-util/apr-util/test/
H A Ddbd.c34 static int create_table(apr_pool_t* pool, apr_dbd_t* handle, argument
43 rv = apr_dbd_query(driver, handle, &nrows, statement);
46 static int drop_table(apr_pool_t* pool, apr_dbd_t* handle, argument
52 rv = apr_dbd_query(driver, handle, &nrows, statement);
55 static int insert_rows(apr_pool_t* pool, apr_dbd_t* handle, argument
69 rv = apr_dbd_query(driver, handle, &nrows, statement);
82 rv = apr_dbd_query(driver, handle, &nrows, statement);
93 static int invalid_op(apr_pool_t* pool, apr_dbd_t* handle, argument
99 rv = apr_dbd_query(driver, handle, &nrows, statement);
101 printf("'%s'\n", apr_dbd_error(driver, handle, r
107 select_sequential(apr_pool_t* pool, apr_dbd_t* handle, const apr_dbd_driver_t* driver) argument
139 select_random(apr_pool_t* pool, apr_dbd_t* handle, const apr_dbd_driver_t* driver) argument
195 test_transactions(apr_pool_t* pool, apr_dbd_t* handle, const apr_dbd_driver_t* driver) argument
268 test_pselect(apr_pool_t* pool, apr_dbd_t* handle, const apr_dbd_driver_t* driver) argument
312 test_pquery(apr_pool_t* pool, apr_dbd_t* handle, const apr_dbd_driver_t* driver) argument
[all...]
/macosx-10.9.5/dcerpc-58/dcerpc/ncklib/
H A Dsec_id.c118 pickle_handle_t handle; local
120 RPC_MEM_ALLOC(handle, pickle_handle_t,
121 sizeof(*handle), RPC_C_MEM_UTIL, RPC_C_MEM_WAITOK);
122 handle->idl_h = NULL;
124 return handle;
134 pickle_handle_t handle = *p; local
137 if (handle->idl_h != NULL) {
138 idl_es_handle_free(&handle->idl_h, &st);
140 RPC_MEM_FREE(handle, RPC_C_MEM_UTIL);
210 PUBLIC void sec_id_pac_pickle(pickle_handle_t handle, argument
[all...]
/macosx-10.9.5/dyld-239.4/unit-tests/test-cases/dlopen-DYLD_LIBRARY_PATH/
H A Dmain.c37 void* handle = dlopen(argv[1], RTLD_LAZY); local
38 if ( handle == NULL ) {
43 fooproc sym = (fooproc)dlsym(handle, "foo");
45 FAIL("dlsym(handle, \"foo\") failed");

Completed in 517 milliseconds

1234567891011>>