Lines Matching refs:descitem
979 static zend_result set_proc_descriptor_from_array(zval *descitem, descriptorspec_item *descriptors, in set_proc_descriptor_from_array() argument
981 zend_string *ztype = get_string_parameter(descitem, 0, "handle qualifier"); in set_proc_descriptor_from_array()
991 zmode = get_string_parameter(descitem, 1, "mode parameter for 'pipe'"); in set_proc_descriptor_from_array()
1001 if ((zfile = get_string_parameter(descitem, 1, "file name parameter for 'file'")) == NULL) { in set_proc_descriptor_from_array()
1004 if ((zmode = get_string_parameter(descitem, 2, "mode parameter for 'file'")) == NULL) { in set_proc_descriptor_from_array()
1010 zval *ztarget = zend_hash_index_find_deref(Z_ARRVAL_P(descitem), 1); in set_proc_descriptor_from_array()
1154 zval *descitem = NULL; in PHP_FUNCTION() local
1235 ZEND_HASH_FOREACH_KEY_VAL(descriptorspec, nindex, str_index, descitem) { in PHP_FUNCTION()
1243 ZVAL_DEREF(descitem); in PHP_FUNCTION()
1244 if (Z_TYPE_P(descitem) == IS_RESOURCE) { in PHP_FUNCTION()
1245 if (set_proc_descriptor_from_resource(descitem, &descriptors[ndesc], ndesc) == FAILURE) { in PHP_FUNCTION()
1248 } else if (Z_TYPE_P(descitem) == IS_ARRAY) { in PHP_FUNCTION()
1249 if (set_proc_descriptor_from_array(descitem, descriptors, ndesc, (int)nindex, in PHP_FUNCTION()