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

1234

/PHP_TRUNK/TSRM/
H A Dreaddir.h30 HANDLE handle; /* _findfirst/_findnext handle */ member in struct:__anon3
/PHP_TRUNK/ext/phar/tests/zip/files/
H A Dzipmaker.php.inc28 * @param string|resource file contents or open file handle
/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
54 if ((handle = FindFirstFile(filespec, &(dp->fileinfo))) == INVALID_HANDLE_VALUE) {
65 dp->handle = handle;
77 if (FindNextFile(dp->handle, &(dp->fileinfo)) == 0) {
100 if (FindNextFile(dp->handle, &(dp->fileinfo)) == 0) {
125 handle in this case (no first file found). */
126 if (dp->handle != INVALID_HANDLE_VALUE) {
127 FindClose(dp->handle);
141 HANDLE handle; local
[all...]
/PHP_TRUNK/sapi/cli/tests/
H A Dphp_cli_server.inc27 $handle = proc_open(addslashes($cmd), $descriptorspec, $pipes, $doc_root, NULL, array("bypass_shell" => true, "suppress_errors" => true));
35 $handle = proc_open($cmd, $descriptorspec, $pipes, $doc_root);
50 function($handle) use($router) {
51 proc_terminate($handle);
54 $handle
/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/Zend/
H A Dzend_stream.c52 static size_t zend_stream_stdio_reader(void *handle, char *buf, size_t len TSRMLS_DC) /* {{{ */ argument
54 return fread(buf, 1, len, (FILE*)handle);
57 static void zend_stream_stdio_closer(void *handle TSRMLS_DC) /* {{{ */
59 if (handle && (FILE*)handle != stdin) {
60 fclose((FILE*)handle);
64 static size_t zend_stream_stdio_fsizer(void *handle TSRMLS_DC) /* {{{ */
67 if (handle && zend_fstat(fileno((FILE*)handle), &buf) == 0) {
91 stream->handle
[all...]
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);
[all...]
H A Dzend_stream.h33 typedef size_t (*zend_stream_fsizer_t)(void* handle TSRMLS_DC);
34 typedef size_t (*zend_stream_reader_t)(void* handle, char *buf, size_t len TSRMLS_DC);
35 typedef void (*zend_stream_closer_t)(void* handle TSRMLS_DC);
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 TSRMLS_DC);
H A Dzend_objects_API.c115 int handle; local
118 handle = EG(objects_store).free_list_head;
119 EG(objects_store).free_list_head = GET_OBJ_BUCKET_NUMBER(EG(objects_store).object_buckets[handle]);
125 handle = EG(objects_store).top++;
127 object->handle = handle;
128 EG(objects_store).object_buckets[handle] = object;
131 #define ZEND_OBJECTS_STORE_ADD_TO_FREE_LIST(handle) \
132 SET_OBJ_BUCKET_NUMBER(EG(objects_store).object_buckets[handle], EG(objects_store).free_list_head); \
133 EG(objects_store).free_list_head = handle;
137 uint32_t handle = object->handle; local
172 uint32_t handle = object->handle; local
[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 TSRMLS_DC);
/PHP_TRUNK/ext/dom/
H A Duserdatahandler.c39 PHP_FALIAS(handle, dom_userdatahandler_handle, NULL)
/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,
441 if (isc_open_blob(IB_STATUS, &ib_link->handle, &trans->handle, &ib_blob.bl_handle,
518 if (isc_open_blob(IB_STATUS, &ib_link->handle, &trans->handle, &ib_blob_id.bl_handle,
569 if (isc_create_blob(IB_STATUS, &ib_link->handle, &trans->handle,
[all...]
H A Dibase_events.c48 if (event->link->handle != NULL &&
49 isc_cancel_events(IB_STATUS, &event->link->handle, &event->event_id)) {
117 isc_wait_for_event(dummy_result, &ib_link->handle, *l, *event_buf, *result_buf);
170 if (isc_wait_for_event(IB_STATUS, &ib_link->handle, buffer_size, event_buffer, result_buffer)) {
246 if (isc_que_events(IB_STATUS, &event->link->handle, &event->event_id, buffer_size,
348 if (isc_que_events(IB_STATUS, &ib_link->handle, &event->event_id, buffer_size,
H A Dibase_service.c31 isc_svc_handle handle; member in struct:__anon90
43 if (isc_service_detach(IB_STATUS, &sv->handle)) {
59 so invalidate the handle on errors */
67 "interbase service manager handle", module_number);
154 ZEND_FETCH_RESOURCE(svm, ibase_service *, res, -1, "Interbase service manager handle",
174 if (isc_service_start(IB_STATUS, &svm->handle, NULL, spb_len, buf)) {
214 isc_svc_handle handle = NULL; local
238 if (isc_service_attach(IB_STATUS, 0, loc, &handle, (unsigned short)spb_len, buf)) {
244 svm->handle = handle;
[all...]
H A Dinterbase.c589 if (p->trans->handle != NULL) {
591 if (isc_commit_transaction(IB_STATUS, &p->trans->handle)) {
597 if (p->trans->handle != NULL) {
600 if (isc_rollback_transaction(IB_STATUS, &p->trans->handle)) {
639 if (link->handle != NULL) {
641 isc_detach_database(IB_STATUS, &link->handle);
654 if (link->handle != NULL) {
655 isc_detach_database(IB_STATUS, &link->handle);
669 if (trans->handle != NULL) {
671 if (isc_rollback_transaction(IB_STATUS, &trans->handle)) {
[all...]
/PHP_TRUNK/ext/standard/
H A Ddl.c104 void *handle; local
144 handle = DL_LOAD(libpath);
145 if (!handle) {
163 get_module = (zend_module_entry *(*)(void)) DL_FETCH_SYMBOL(handle, "get_module");
170 get_module = (zend_module_entry *(*)(void)) DL_FETCH_SYMBOL(handle, "_get_module");
174 if (DL_FETCH_SYMBOL(handle, "zend_extension_entry") || DL_FETCH_SYMBOL(handle, "_zend_extension_entry")) {
175 DL_UNLOAD(handle);
179 DL_UNLOAD(handle);
199 void *handle; member in struct:pre_4_1_0_module_entry
[all...]
H A Ddns.c353 dns_handle_t handle; local
356 struct __res_state *handle = &state; local
388 handle = dns_open(NULL);
389 if (handle == NULL) {
394 if (res_ninit(handle)) {
402 i = php_dns_search(handle, hostname, C_IN, type, ans, sizeof(ans));
408 php_dns_free_handle(handle);
763 dns_handle_t handle; local
766 struct __res_state *handle = &state; local
880 handle
980 dns_handle_t handle; local
983 struct __res_state *handle = &state; local
[all...]
/PHP_TRUNK/sapi/apache/
H A Dsapi_apache.c36 /* sending a file handle to another dll is not working
48 file_handle.handle.fd = 0;

Completed in 36 milliseconds

1234