Home
last modified time | relevance | path

Searched refs:descriptors (Results 1 – 16 of 16) sorted by relevance

/PHP-7.0/ext/standard/
H A Dproc_open.c592 descriptors[ndesc].parentend = dup_handle(descriptors[ndesc].parentend, FALSE, TRUE); in PHP_FUNCTION()
699 switch(descriptors[i].index) { in PHP_FUNCTION()
744 if (descriptors[i].parentend) { in PHP_FUNCTION()
793 close(descriptors[i].childend); in PHP_FUNCTION()
794 if (descriptors[i].parentend) in PHP_FUNCTION()
838 if (dup2(descriptors[i].childend, descriptors[i].index) < 0) in PHP_FUNCTION()
840 if (descriptors[i].childend != descriptors[i].index) in PHP_FUNCTION()
860 close(descriptors[i].childend); in PHP_FUNCTION()
861 if (descriptors[i].parentend) in PHP_FUNCTION()
957 efree(descriptors); in PHP_FUNCTION()
[all …]
/PHP-7.0/ext/standard/tests/file/
H A Dbug69442.phpt8 $descriptors = array(array("pty"), array("pty"), array("pty"), array("pipe", "w"));
10 $process = proc_open('echo "foo";', $descriptors, $pipes);
26 $descriptors = array(array("pty"), array("pty"), array("pty"), array("pipe", "w"));
29 $process = proc_open($cmd, $descriptors, $pipes);
H A Dbug60120.phpt23 $descriptors = array(array('pipe', 'r'), array('pipe', 'w'), array('pipe', 'w'));
28 $process = proc_open($cmd, $descriptors, $pipes, getcwd(), array(), $options);
H A Dphp_fd_wrapper_03.phpt18 Warning: fopen(php://fd/-2): failed to open stream: The file descriptors must be non-negative numbe…
/PHP-7.0/ext/standard/tests/general_functions/
H A Dbug39322.phpt10 $descriptors = array(
17 $process = proc_open('/bin/sleep 120', $descriptors, $pipes);
/PHP-7.0/ext/standard/tests/streams/
H A Dproc_open_bug51800_right.phpt14 $descriptors = array(
37 $process = proc_open($cmd, $descriptors, $pipes);
H A Dproc_open_bug51800_right2.phpt14 $descriptors = array(
43 $process = proc_open($cmd, $descriptors, $pipes);
H A Dproc_open_bug60120.phpt12 $descriptors = array(array('pipe', 'r'), array('pipe', 'w'), array('pipe', 'w'));
17 $process = proc_open($cmd, $descriptors, $pipes, getcwd(), array(), $options);
H A Dproc_open_bug64438.phpt13 $descriptors = array(array('pipe', 'r'), array('pipe', 'w'), array('pipe', 'w'));
17 $process = proc_open($cmd, $descriptors, $pipes, getcwd(), array(), $options);
H A Dproc_open_bug51800.phpt30 $descriptors = array(
53 $process = proc_open($cmd, $descriptors, $pipes);
/PHP-7.0/ext/oci8/
H A Doci8_lob.c95 if (!connection->descriptors) { in php_oci_lob_create()
96 ALLOC_HASHTABLE(connection->descriptors); in php_oci_lob_create()
97 zend_hash_init(connection->descriptors, 0, NULL, php_oci_descriptor_flush_hash_dtor, 0); in php_oci_lob_create()
108 zend_hash_index_update_ptr(connection->descriptors, descriptor->index, descriptor); in php_oci_lob_create()
664 if (descriptor->connection->descriptors) { in php_oci_lob_free()
665 if (zend_hash_num_elements(descriptor->connection->descriptors) == 0) { in php_oci_lob_free()
669 zend_hash_index_del(descriptor->connection->descriptors, descriptor->index); in php_oci_lob_free()
H A Dphp_oci8_int.h151 …HashTable *descriptors; /* descriptors hash, used to flush all the LOBs using this connectio… member
H A Doci8.c1498 zend_hash_destroy(connection->descriptors); in php_oci_connection_descriptors_free()
1499 efree(connection->descriptors); in php_oci_connection_descriptors_free()
1500 connection->descriptors = NULL; in php_oci_connection_descriptors_free()
2292 if (connection->descriptors) { in php_oci_connection_release()
H A Doci8_interface.c1146 if (connection->descriptors) { in PHP_FUNCTION()
1170 if (connection->descriptors) { in PHP_FUNCTION()
/PHP-7.0/ext/sockets/
H A Dconversions.c248 const field_descriptor *descriptors, in from_zval_write_aggregation() argument
258 for (descr = descriptors; descr->name != NULL && !ctx->err.has_error; descr++) { in from_zval_write_aggregation()
280 const field_descriptor *descriptors, in to_zval_read_aggregation() argument
987 static const field_descriptor descriptors[] = { in to_zval_read_control() local
995 to_zval_read_aggregation(cmsghdr_c, zv, descriptors, ctx); in to_zval_read_control()
1130 static const field_descriptor descriptors[] = { in from_zval_write_msghdr_send() local
1137 from_zval_write_aggregation(container, msghdr_c, descriptors, ctx); in from_zval_write_msghdr_send()
1155 static const field_descriptor descriptors[] = { in from_zval_write_msghdr_recv() local
1170 from_zval_write_aggregation(container, msghdr_c, descriptors, ctx); in from_zval_write_msghdr_recv()
1220 static const field_descriptor descriptors[] = { in to_zval_read_msghdr() local
[all …]
/PHP-7.0/ext/fileinfo/tests/
H A Dmagic1808 >>20 beshort x \b, descriptors %d
1810 # We could glean this from the partition descriptors, but they are empty!?!?
12120 # Flash descriptors for Intel SPI flash roms.

Completed in 133 milliseconds