Lines Matching refs:arr

208 static unsigned from_array_iterate(const zval *arr,  in from_array_iterate()  argument
220 ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(arr), elem) { in from_array_iterate()
839 static void from_zval_write_control(const zval *arr, in from_zval_write_control() argument
867 from_zval_write_aggregation(arr, (char *)&level, descriptor_level, ctx); in from_zval_write_control()
871 from_zval_write_aggregation(arr, (char *)&type, descriptor_type, ctx); in from_zval_write_control()
886 if ((data_elem = zend_hash_str_find(Z_ARRVAL_P(arr), "data", sizeof("data") - 1)) == NULL) { in from_zval_write_control()
914 from_zval_write_aggregation(arr, (char*)CMSG_DATA(cmsghdr), descriptor_data, ctx); in from_zval_write_control()
918 static void from_zval_write_control_array(const zval *arr, char *msghdr_c, ser_context *ctx) in from_zval_write_control_array() argument
931 if (Z_TYPE_P(arr) != IS_ARRAY) { in from_zval_write_control_array()
936 num_elems = zend_hash_num_elements(Z_ARRVAL_P(arr)); in from_zval_write_control_array()
947 ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(arr), elem) { in from_zval_write_control_array()
1093 static void from_zval_write_iov_array(const zval *arr, char *msghdr_c, ser_context *ctx) in from_zval_write_iov_array() argument
1098 if (Z_TYPE_P(arr) != IS_ARRAY) { in from_zval_write_iov_array()
1103 num_elem = zend_hash_num_elements(Z_ARRVAL_P(arr)); in from_zval_write_iov_array()
1111 from_array_iterate(arr, from_zval_write_iov_array_aux, (void**)&msg, ctx); in from_zval_write_iov_array()
1351 size_t calculate_scm_rights_space(const zval *arr, ser_context *ctx) in calculate_scm_rights_space() argument
1355 if (Z_TYPE_P(arr) != IS_ARRAY) { in calculate_scm_rights_space()
1360 num_elems = zend_hash_num_elements(Z_ARRVAL_P(arr)); in calculate_scm_rights_space()
1366 return zend_hash_num_elements(Z_ARRVAL_P(arr)) * sizeof(int); in calculate_scm_rights_space()
1400 void from_zval_write_fd_array(const zval *arr, char *int_arr, ser_context *ctx) in from_zval_write_fd_array() argument
1402 if (Z_TYPE_P(arr) != IS_ARRAY) { in from_zval_write_fd_array()
1407 from_array_iterate(arr, &from_zval_write_fd_array_aux, (void**)&int_arr, ctx); in from_zval_write_fd_array()