/macosx-10.10.1/dyld-353.2.1/unit-tests/test-cases/dlclose-terminator-dlclose/ |
H A D | foo.c | 29 static void* handle = NULL; variable 33 handle = dlopen("libbar.dylib", RTLD_LAZY); 40 if ( handle != NULL ) 41 dlclose(handle);
|
/macosx-10.10.1/tcl-105/tcl_ext/tkimg/tkimg/base/ |
H A D | tkimgIO.c | 140 tkimg_MFile *handle /* mmdecode "file" handle */, 148 switch (handle->state) { 150 if (count > handle->length) { 151 count = handle->length; 154 memcpy(dst, handle->data, count); 155 handle->length -= count; 156 handle->data += count; 161 return Tcl_Read((Tcl_Channel) handle->data, dst, count); 172 bufEnd = Tcl_Read((Tcl_Channel)handle [all...] |
/macosx-10.10.1/IOKitUser-1050.1.21/hidsystem.subproj/ |
H A D | event_status_driver.h | 56 void NXCloseEventStatus(NXEventHandle handle); 59 extern NXEventSystemInfoType NXEventSystemInfo(NXEventHandle handle, 64 extern void NXSetKeyRepeatInterval(NXEventHandle handle, double seconds); 65 extern double NXKeyRepeatInterval(NXEventHandle handle); 66 extern void NXSetKeyRepeatThreshold(NXEventHandle handle, double threshold); 67 extern double NXKeyRepeatThreshold(NXEventHandle handle); 68 extern void NXResetKeyboard(NXEventHandle handle); 71 extern void NXSetClickTime(NXEventHandle handle, double seconds); 72 extern double NXClickTime(NXEventHandle handle); 73 extern void NXSetClickSpace(NXEventHandle handle, _NXSize [all...] |
/macosx-10.10.1/apr-32/apr/apr/include/arch/aix/ |
H A D | apr_arch_dso.h | 29 void *dlsym(void *handle, const char *symbol); 31 int dlclose(void *handle); 35 void *handle; member in struct:apr_dso_handle_t
|
/macosx-10.10.1/dyld-353.2.1/unit-tests/test-cases/cxa_finalize/ |
H A D | main.c | 33 void* handle = dlopen("libfoo.dylib", RTLD_LAZY); local 34 if ( handle == NULL ) { 39 dlclose(handle);
|
/macosx-10.10.1/Heimdal-398.1.2/lib/gssapi/krb5/ |
H A D | copy_ccache.c | 76 gsskrb5_cred handle; local 83 handle = calloc(1, sizeof(*handle)); 84 if (handle == NULL) { 89 HEIMDAL_MUTEX_init(&handle->cred_id_mutex); 91 handle->usage = 0; 96 handle->usage |= GSS_C_INITIATE; 99 &handle->principal); 101 free(handle); 110 handle [all...] |
/macosx-10.10.1/ruby-106/ruby/test/fiddle/ |
H A D | test_handle.rb | 11 handle = Fiddle::Handle.new(LIBC_SO) 12 assert_kind_of Integer, handle.to_i 44 handle = Fiddle::Handle.new(LIBC_SO) 45 handle.close 46 assert_raises(DLError) { handle.sym("calloc") } 47 assert_raises(DLError) { handle["calloc"] } 51 handle = Fiddle::Handle.new(LIBC_SO) 52 assert_raises(DLError) { handle.sym('fooo') } 53 assert_raises(DLError) { handle['fooo'] } 57 handle [all...] |
/macosx-10.10.1/Security-57031.1.35/SecurityTests/regressions/test/ |
H A D | testcssm.h | 29 extern int cssm_attach(const CSSM_GUID *guid, CSSM_HANDLE *handle); 30 extern int cssm_detach(const CSSM_GUID *guid, CSSM_HANDLE handle);
|
/macosx-10.10.1/apr-32/apr/apr/include/arch/win32/ |
H A D | apr_arch_proc_mutex.h | 24 HANDLE handle; member in struct:apr_proc_mutex_t
|
/macosx-10.10.1/dyld-353.2.1/unit-tests/test-cases/dlopen-error/ |
H A D | main.c | 35 void* handle = dlopen("libdoesnotexist.dylib", RTLD_LAZY); local 36 if ( handle != NULL ) { 46 handle = dlopen("libnoread.dylib", RTLD_LAZY); 47 if ( handle != NULL ) {
|
/macosx-10.10.1/dyld-353.2.1/unit-tests/test-cases/zero-fill-segment/ |
H A D | main.c | 32 void* handle = dlopen("foo.bundle", RTLD_LAZY); local 33 if ( handle == NULL ) { 38 void* sym = dlsym(handle, "getfoo"); 40 FAIL("zero-fill-segment: dlsym(handle, \"getfoo\") failed"); 44 dlclose(handle);
|
/macosx-10.10.1/ksh-23/ksh/src/lib/libast/misc/ |
H A D | errorf.c | 33 errorf(void* handle, void* discipline, int level, ...) argument 38 errorv((discipline && handle) ? *((char**)handle) : (char*)handle, (discipline || level < 0) ? level : (level | ERROR_LIBRARY), ap);
|
/macosx-10.10.1/apr-32/apr/apr/dso/os390/ |
H A D | dso.c | 30 (*aprdso)->handle = osdso; 38 *osdso = aprdso->handle; 47 if (dso->handle == 0) 50 rc = dllfree(dso->handle); 53 dso->handle = 0; 63 dllhandle *handle; local 68 if ((handle = dllload(path)) != NULL) { 69 (*res_handle)->handle = handle; 78 APR_DECLARE(apr_status_t) apr_dso_unload(apr_dso_handle_t *handle) 102 apr_dso_error(apr_dso_handle_t *handle, char *buffer, apr_size_t buflen) argument [all...] |
/macosx-10.10.1/ksh-23/ksh/src/lib/libast/string/ |
H A D | streval.c | 39 userconv(const char* s, char** end, void* handle) argument 41 return((*((Handle_t*)handle)->convert)(s, end)); 47 Handle_t handle; local 49 return((handle.convert = convert) ? strexpr(s, end, userconv, &handle) : strexpr(s, end, (Convert_t)0, NiL));
|
/macosx-10.10.1/libutil-38/ |
H A D | wipefs.h | 36 extern int wipefs_alloc(int fd, size_t block_size, wipefs_ctx *handle); 37 extern int wipefs_include_blocks(wipefs_ctx handle, off_t block_offset, off_t nblocks); 38 extern int wipefs_except_blocks(wipefs_ctx handle, off_t block_offset, off_t nblocks); 39 extern int wipefs_wipe(wipefs_ctx handle); 40 extern void wipefs_free(wipefs_ctx *handle);
|
/macosx-10.10.1/ruby-106/ruby/test/dl/ |
H A D | test_handle.rb | 7 handle = DL::Handle.new(LIBC_SO) 8 assert_kind_of Integer, handle.to_i 40 handle = DL::Handle.new(LIBC_SO) 41 handle.close 42 assert_raises(DL::DLError) { handle.sym("calloc") } 43 assert_raises(DL::DLError) { handle["calloc"] } 47 handle = DL::Handle.new(LIBC_SO) 48 assert_raises(DL::DLError) { handle.sym('fooo') } 49 assert_raises(DL::DLError) { handle['fooo'] } 53 handle [all...] |
/macosx-10.10.1/tcl-105/tcl_ext/tcllib/tcllib/examples/ldap/ |
H A D | ldapChangeTest | 23 proc Query {handle} { 24 set results [ldap::search $handle \ 65 set handle [ldap::connect localhost 9009] 75 ldap::bind $handle $dn $pw 83 ldap::add $handle $dn { 93 Query $handle 99 ldap::modify $handle $dn [list drink icetea uid JOLO] 102 Query $handle 108 ldap::modify $handle $dn {} {} [list drink water \ 112 Query $handle [all...] |
/macosx-10.10.1/tcl-105/tcl_ext/tkimg/tkimg/compat/ |
H A D | tclLoadWin.c | 19 HINSTANCE handle; member in struct:LibraryList 44 * Returns the handle of the newly loaded library, or NULL on 45 * failure. If path is NULL, the global library instance handle 58 void *handle; 67 handle = (void *) LoadLibrary(path); 68 if (handle != NULL) { 70 ptr->handle = (HINSTANCE) handle; 74 return handle; 100 void *handle 57 void *handle; local 138 dlsym( void *handle, const char *symbol ) argument [all...] |
/macosx-10.10.1/dyld-353.2.1/unit-tests/test-cases/dlopen-executable/ |
H A D | main.c | 34 void* handle = dlopen("./foo.exe", RTLD_LAZY); local 35 if ( handle != NULL ) { 41 handle = dlopen("./foo.pie", RTLD_LAZY); 42 if ( handle == NULL ) { 47 fooproc pfoo = (fooproc)dlsym(handle, "foo"); 49 FAIL("dlopen-executable: dlsym(handle, \"foo\") failed"); 58 int result = dlclose(handle); 60 FAIL("dlopen-executable: dlclose(handle) returned %d", result);
|
/macosx-10.10.1/dyld-353.2.1/unit-tests/test-cases/dlopen_preflight-cycle/ |
H A D | main.c | 42 void* handle = dlopen("libbar.dylib", RTLD_NOLOAD); local 43 if ( handle != NULL ) { 48 handle = dlopen("libbaz.dylib", RTLD_NOLOAD); 49 if ( handle != NULL ) { 54 handle = dlopen("libfoo.dylib", RTLD_NOLOAD); 55 if ( handle != NULL ) {
|
/macosx-10.10.1/libxml2-26/libxml2/win32/wince/ |
H A D | wincecompat.c | 22 int read(int handle, char *buffer, unsigned int len) argument 24 return(fread(&buffer[0], len, 1, (FILE *) handle)); 27 int write(int handle, const char *buffer, unsigned int len) argument 29 return(fwrite(&buffer[0], len,1,(FILE *) handle)); 43 int close(int handle) argument 45 return ( fclose((FILE *) handle) );
|
/macosx-10.10.1/pyobjc-45/2.6/pyobjc/pyobjc-core/libxml2-src/win32/wince/ |
H A D | wincecompat.c | 22 int read(int handle, char *buffer, unsigned int len) argument 24 return(fread(&buffer[0], len, 1, (FILE *) handle)); 27 int write(int handle, const char *buffer, unsigned int len) argument 29 return(fwrite(&buffer[0], len,1,(FILE *) handle)); 44 int close(int handle) argument 46 return ( fclose((FILE *) handle) );
|
/macosx-10.10.1/libpcap-48/libpcap/ |
H A D | pcap-bt-linux.c | 187 bt_activate(pcap_t* handle) argument 189 struct pcap_bt *handlep = handle->priv; 197 if (sscanf(handle->opt.source, BT_IFACE"%d", &dev_id) != 1) 199 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, 201 handle->opt.source); 206 handle->bufsize = handle->snapshot+BT_CTRL_SIZE+sizeof(pcap_bluetooth_h4_header); 207 handle->offset = BT_CTRL_SIZE; 208 handle->linktype = DLT_BLUETOOTH_HCI_H4_WITH_PHDR; 210 handle 304 bt_read_linux(pcap_t *handle, int max_packets, pcap_handler callback, u_char *user) argument 373 bt_inject_linux(pcap_t *handle, const void *buf, size_t size) argument 382 bt_stats_linux(pcap_t *handle, struct pcap_stat *stats) argument [all...] |
/macosx-10.10.1/apache-793/httpd/modules/lua/test/htdocs/ |
H A D | simple.lua | 1 function handle(r) function
|
/macosx-10.10.1/bind9-45.101/bind9/lib/dns/ |
H A D | gen-unix.h | 52 DIR *handle; member in struct:__anon6411 60 dir->handle = opendir(path); 62 if (dir->handle != NULL) 75 if (dir->handle != NULL) { 76 dirent = readdir(dir->handle); 89 if (dir->handle != NULL) 90 (void)closedir(dir->handle); 92 dir->handle = NULL;
|