/PHP-7.0/ext/standard/ |
H A D | proc_open.c | 592 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 D | bug69442.phpt | 8 $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 D | bug60120.phpt | 23 $descriptors = array(array('pipe', 'r'), array('pipe', 'w'), array('pipe', 'w')); 28 $process = proc_open($cmd, $descriptors, $pipes, getcwd(), array(), $options);
|
H A D | php_fd_wrapper_03.phpt | 18 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 D | bug39322.phpt | 10 $descriptors = array( 17 $process = proc_open('/bin/sleep 120', $descriptors, $pipes);
|
/PHP-7.0/ext/standard/tests/streams/ |
H A D | proc_open_bug51800_right.phpt | 14 $descriptors = array( 37 $process = proc_open($cmd, $descriptors, $pipes);
|
H A D | proc_open_bug51800_right2.phpt | 14 $descriptors = array( 43 $process = proc_open($cmd, $descriptors, $pipes);
|
H A D | proc_open_bug60120.phpt | 12 $descriptors = array(array('pipe', 'r'), array('pipe', 'w'), array('pipe', 'w')); 17 $process = proc_open($cmd, $descriptors, $pipes, getcwd(), array(), $options);
|
H A D | proc_open_bug64438.phpt | 13 $descriptors = array(array('pipe', 'r'), array('pipe', 'w'), array('pipe', 'w')); 17 $process = proc_open($cmd, $descriptors, $pipes, getcwd(), array(), $options);
|
H A D | proc_open_bug51800.phpt | 30 $descriptors = array( 53 $process = proc_open($cmd, $descriptors, $pipes);
|
/PHP-7.0/ext/oci8/ |
H A D | oci8_lob.c | 95 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 D | php_oci8_int.h | 151 …HashTable *descriptors; /* descriptors hash, used to flush all the LOBs using this connectio… member
|
H A D | oci8.c | 1498 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 D | oci8_interface.c | 1146 if (connection->descriptors) { in PHP_FUNCTION() 1170 if (connection->descriptors) { in PHP_FUNCTION()
|
/PHP-7.0/ext/sockets/ |
H A D | conversions.c | 248 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 D | magic | 1808 >>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.
|