Searched refs:handle (Results 1 - 25 of 79) sorted by relevance

1234

/PHP_TRUNK/TSRM/
H A Dreaddir.h30 HANDLE handle; /* _findfirst/_findnext handle */ member in struct:__anon3
/PHP_TRUNK/ext/soap/interop/
H A Dserver_round2_base.php104 $server->handle();
H A Dserver_round2_groupB.php57 $server->handle();
H A Dserver_round2_groupC.php42 $server->handle();
/PHP_TRUNK/ext/zip/tests/
H A Dutils.inc11 if ($handle = opendir($dir)) {
12 while (false !== ($item = readdir($handle))) {
21 closedir($handle);
/PHP_TRUNK/tests/security/
H A Dopen_basedir.inc36 $handle = opendir($directory);
39 while (FALSE !== ($item = readdir($handle))) {
53 closedir($handle);
/PHP_TRUNK/win32/
H A Dreaddir.h34 HANDLE handle; /* _findfirst/_findnext handle */ member in struct:__anon567
H A Dreaddir.c26 HANDLE handle; local
53 if ((handle = FindFirstFile(filespec, &(dp->fileinfo))) == INVALID_HANDLE_VALUE) {
64 dp->handle = handle;
76 if (FindNextFile(dp->handle, &(dp->fileinfo)) == 0) {
99 if (FindNextFile(dp->handle, &(dp->fileinfo)) == 0) {
124 handle in this case (no first file found). */
125 if (dp->handle != INVALID_HANDLE_VALUE) {
126 FindClose(dp->handle);
140 HANDLE handle; local
[all...]
/PHP_TRUNK/ext/opcache/tests/
H A Dphp_cli_server.inc18 $handle = proc_open(addslashes($cmd), $descriptorspec, $pipes, $doc_root, NULL, array("bypass_shell" => true, "suppress_errors" => true));
21 $handle = proc_open($cmd, $descriptorspec, $pipes, $doc_root);
36 function($handle) {
37 proc_terminate($handle);
39 $handle
/PHP_TRUNK/ext/curl/tests/
H A Dserver.inc25 $handle = proc_open(addslashes($cmd), $descriptorspec, $pipes, $doc_root, NULL, array("bypass_shell" => true, "suppress_errors" => true));
31 $handle = proc_open($cmd, $descriptorspec, $pipes, $doc_root);
46 function($handle) use($router) {
47 proc_terminate($handle);
49 $handle
/PHP_TRUNK/sapi/cli/tests/
H A Dphp_cli_server.inc26 $handle = proc_open(addslashes($cmd), $descriptorspec, $pipes, $doc_root, NULL, array("bypass_shell" => true, "suppress_errors" => true));
34 $handle = proc_open($cmd, $descriptorspec, $pipes, $doc_root);
49 function($handle) use($router) {
50 proc_terminate($handle);
53 $handle
/PHP_TRUNK/Zend/
H A Dzend_extensions.c30 DL_HANDLE handle; local
34 handle = DL_LOAD(path);
35 if (!handle) {
48 extension_version_info = (zend_extension_version_info *) DL_FETCH_SYMBOL(handle, "extension_version_info");
50 extension_version_info = (zend_extension_version_info *) DL_FETCH_SYMBOL(handle, "_extension_version_info");
52 new_extension = (zend_extension *) DL_FETCH_SYMBOL(handle, "zend_extension_entry");
54 new_extension = (zend_extension *) DL_FETCH_SYMBOL(handle, "_zend_extension_entry");
62 DL_UNLOAD(handle);
79 DL_UNLOAD(handle);
95 DL_UNLOAD(handle);
130 zend_register_extension(zend_extension *new_extension, DL_HANDLE handle) argument
[all...]
H A Dzend_extensions.h91 DL_HANDLE handle; member in struct:_zend_extension
121 ZEND_API int zend_register_extension(zend_extension *new_extension, DL_HANDLE handle);
H A Dzend_stream.c52 static size_t zend_stream_stdio_reader(void *handle, char *buf, size_t len) /* {{{ */ argument
54 return fread(buf, 1, len, (FILE*)handle);
57 static void zend_stream_stdio_closer(void *handle) /* {{{ */ argument
59 if (handle && (FILE*)handle != stdin) {
60 fclose((FILE*)handle);
64 static size_t zend_stream_stdio_fsizer(void *handle) /* {{{ */ argument
67 if (handle && zend_fstat(fileno((FILE*)handle), &buf) == 0) {
91 stream->handle
128 zend_stream_open(const char *filename, zend_file_handle *handle) argument
[all...]
H A Dzend_stream.h33 typedef size_t (*zend_stream_fsizer_t)(void* handle);
34 typedef size_t (*zend_stream_reader_t)(void* handle, char *buf, size_t len);
35 typedef void (*zend_stream_closer_t)(void* handle);
57 void *handle; member in struct:_zend_stream
70 } handle; member in struct:_zend_file_handle
78 ZEND_API int zend_stream_open(const char *filename, zend_file_handle *handle);
H A Dzend_objects_API.c117 int handle; local
120 handle = EG(objects_store).free_list_head;
121 EG(objects_store).free_list_head = GET_OBJ_BUCKET_NUMBER(EG(objects_store).object_buckets[handle]);
127 handle = EG(objects_store).top++;
129 object->handle = handle;
130 EG(objects_store).object_buckets[handle] = object;
133 #define ZEND_OBJECTS_STORE_ADD_TO_FREE_LIST(handle) \
134 SET_OBJ_BUCKET_NUMBER(EG(objects_store).object_buckets[handle], EG(objects_store).free_list_head); \
135 EG(objects_store).free_list_head = handle;
139 uint32_t handle = object->handle; local
174 uint32_t handle = object->handle; local
[all...]
/PHP_TRUNK/ext/dom/
H A Duserdatahandler.c39 PHP_FALIAS(handle, dom_userdatahandler_handle, NULL)
/PHP_TRUNK/main/
H A Dphp_main.h51 PHPAPI int php_stream_open_for_zend_ex(const char *filename, zend_file_handle *handle, int mode);
H A Dmain.c1311 static void php_zend_stream_closer(void *handle) /* {{{ */ argument
1313 php_stream_close((php_stream*)handle);
1317 static void php_zend_stream_mmap_closer(void *handle) /* {{{ */ argument
1319 php_stream_mmap_unmap((php_stream*)handle);
1320 php_zend_stream_closer(handle);
1324 static size_t php_zend_stream_fsizer(void *handle) /* {{{ */ argument
1327 if (php_stream_stat((php_stream*)handle, &ssb) == 0) {
1334 static int php_stream_open_for_zend(const char *filename, zend_file_handle *handle) /* {{{ */ argument
1336 return php_stream_open_for_zend_ex(filename, handle, USE_PATH|REPORT_ERRORS|STREAM_OPEN_FOR_INCLUDE);
1340 PHPAPI int php_stream_open_for_zend_ex(const char *filename, zend_file_handle *handle, in argument
[all...]
/PHP_TRUNK/ext/standard/
H A Ddl.c92 void *handle; local
132 handle = DL_LOAD(libpath);
133 if (!handle) {
151 get_module = (zend_module_entry *(*)(void)) DL_FETCH_SYMBOL(handle, "get_module");
158 get_module = (zend_module_entry *(*)(void)) DL_FETCH_SYMBOL(handle, "_get_module");
162 if (DL_FETCH_SYMBOL(handle, "zend_extension_entry") || DL_FETCH_SYMBOL(handle, "_zend_extension_entry")) {
163 DL_UNLOAD(handle);
167 DL_UNLOAD(handle);
179 DL_UNLOAD(handle);
[all...]
H A Ddns.c365 dns_handle_t handle; local
368 struct __res_state *handle = &state; local
400 handle = dns_open(NULL);
401 if (handle == NULL) {
406 if (res_ninit(handle)) {
414 i = php_dns_search(handle, hostname, C_IN, type, ans, sizeof(ans));
420 php_dns_free_handle(handle);
776 dns_handle_t handle; local
779 struct __res_state *handle = &state; local
893 handle
1010 dns_handle_t handle; local
1013 struct __res_state *handle = &state; local
[all...]
/PHP_TRUNK/ext/interbase/
H A Dibase_blobs.c226 if (isc_create_blob(IB_STATUS, &ib_link->handle, &trans->handle, &ib_blob->bl_handle, &ib_blob->bl_qd)) {
277 if (isc_open_blob(IB_STATUS, &ib_link->handle, &trans->handle, &ib_blob->bl_handle,
440 if (isc_open_blob(IB_STATUS, &ib_link->handle, &trans->handle, &ib_blob.bl_handle,
517 if (isc_open_blob(IB_STATUS, &ib_link->handle, &trans->handle, &ib_blob_id.bl_handle,
568 if (isc_create_blob(IB_STATUS, &ib_link->handle, &trans->handle,
[all...]
H A Dibase_service.c31 isc_svc_handle handle; member in struct:__anon7
43 if (isc_service_detach(IB_STATUS, &sv->handle)) {
59 so invalidate the handle on errors */
67 "interbase service manager handle", module_number);
154 svm = (ibase_service *)zend_fetch_resource_ex(res, "Interbase service manager handle",
173 if (isc_service_start(IB_STATUS, &svm->handle, NULL, spb_len, buf)) {
213 isc_svc_handle handle = NULL; local
237 if (isc_service_attach(IB_STATUS, 0, loc, &handle, (unsigned short)spb_len, buf)) {
243 svm->handle = handle;
[all...]
H A Dinterbase.c585 if (p->trans->handle != NULL) {
587 if (isc_commit_transaction(IB_STATUS, &p->trans->handle)) {
593 if (p->trans->handle != NULL) {
596 if (isc_rollback_transaction(IB_STATUS, &p->trans->handle)) {
635 if (link->handle != NULL) {
637 isc_detach_database(IB_STATUS, &link->handle);
650 if (link->handle != NULL) {
651 isc_detach_database(IB_STATUS, &link->handle);
665 if (trans->handle != NULL) {
667 if (isc_rollback_transaction(IB_STATUS, &trans->handle)) {
[all...]
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_list.c248 if (file->handle.stream.mmap.old_closer) {
250 file->handle.stream.closer = file->handle.stream.mmap.old_closer;
254 if (file->handle.stream.mmap.map) {
255 data.map = file->handle.stream.mmap.map;
260 fake.handle.stream.mmap.buf = data.buf;
261 fake.handle.stream.mmap.len = data.len;

Completed in 52 milliseconds

1234