Lines Matching refs:elem
109 int *elem; in param_get_bool() local
110 if ((elem = zend_hash_str_find_ptr(ctx, key, strlen(key))) != NULL) { in param_get_bool()
111 return *elem; in param_get_bool()
216 void (*func)(zval *elem, unsigned i, void **args, ser_context *ctx), in from_array_iterate() argument
221 zval *elem; in from_array_iterate() local
227 ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(arr), elem) { in from_array_iterate()
233 func(elem, i, args, ctx); in from_array_iterate()
252 zval *elem; in from_zval_write_aggregation() local
259 if ((elem = zend_hash_str_find(Z_ARRVAL_P(container), in from_zval_write_aggregation()
269 descr->from_zval(elem, ((char*)structure) + descr->field_offset, ctx); in from_zval_write_aggregation()
701 zval *elem; in from_zval_write_sockaddr_aux() local
711 if ((elem = zend_hash_str_find(Z_ARRVAL_P(container), "family", sizeof("family") - 1)) != NULL in from_zval_write_sockaddr_aux()
712 && Z_TYPE_P(elem) != IS_NULL) { in from_zval_write_sockaddr_aux()
715 from_zval_write_int(elem, (char*)&family, ctx); in from_zval_write_sockaddr_aux()
912 zval *elem; in from_zval_write_control_array() local
937 ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(arr), elem) { in from_zval_write_control_array()
947 from_zval_write_control(elem, &control_buf, alloc, &control_len, &cur_offset, ctx); in from_zval_write_control_array()
1019 zval *elem, tmp; in to_zval_read_control_array() local
1022 elem = zend_hash_next_index_insert(Z_ARRVAL_P(zv), &tmp); in to_zval_read_control_array()
1029 to_zval_read_control((const char *)cmsg, elem, ctx); in to_zval_read_control_array()
1056 static void from_zval_write_msghdr_buffer_size(const zval *elem, char *msghdr_c, ser_context *ctx) in from_zval_write_msghdr_buffer_size() argument
1061 lval = from_zval_integer_common(elem, ctx); in from_zval_write_msghdr_buffer_size()
1077 static void from_zval_write_iov_array_aux(zval *elem, unsigned i, void **args, ser_context *ctx) in from_zval_write_iov_array_aux() argument
1082 str = zval_get_tmp_string(elem, &tmp_str); in from_zval_write_iov_array_aux()
1110 static void from_zval_write_controllen(const zval *elem, char *msghdr_c, ser_context *ctx) in from_zval_write_controllen() argument
1118 from_zval_write_uint32(elem, (char*)&len, ctx); in from_zval_write_controllen()
1204 zval elem; in to_zval_read_iov() local
1211 ZVAL_NEW_STR(&elem, buf); in to_zval_read_iov()
1212 add_next_index_zval(zv, &elem); in to_zval_read_iov()
1345 static void from_zval_write_fd_array_aux(zval *elem, unsigned i, void **args, ser_context *ctx) in from_zval_write_fd_array_aux() argument
1349 if (Z_TYPE_P(elem) == IS_RESOURCE) { in from_zval_write_fd_array_aux()
1353 sock = (php_socket *)zend_fetch_resource_ex(elem, NULL, php_sockets_le_socket()); in from_zval_write_fd_array_aux()
1359 …stream = (php_stream *)zend_fetch_resource2_ex(elem, NULL, php_file_le_stream(), php_file_le_pstre… in from_zval_write_fd_array_aux()
1409 zval elem; in to_zval_read_fd_array() local
1423 ZVAL_RES(&elem, zend_register_resource(sock, php_sockets_le_socket())); in to_zval_read_fd_array()
1426 php_stream_to_zval(stream, &elem); in to_zval_read_fd_array()
1429 add_next_index_zval(zv, &elem); in to_zval_read_fd_array()