Lines Matching refs:elem
110 int *elem; in param_get_bool() local
111 if ((elem = zend_hash_str_find_ptr(ctx, key, strlen(key))) != NULL) { in param_get_bool()
112 return *elem; in param_get_bool()
217 void (*func)(zval *elem, unsigned i, void **args, ser_context *ctx), in from_array_iterate() argument
222 zval *elem; in from_array_iterate() local
228 ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(arr), elem) { in from_array_iterate()
234 func(elem, i, args, ctx); in from_array_iterate()
253 zval *elem; in from_zval_write_aggregation() local
260 if ((elem = zend_hash_str_find(Z_ARRVAL_P(container), in from_zval_write_aggregation()
270 descr->from_zval(elem, ((char*)structure) + descr->field_offset, ctx); in from_zval_write_aggregation()
712 zval *elem; in from_zval_write_sockaddr_aux() local
725 if ((elem = zend_hash_str_find(Z_ARRVAL_P(container), "family", sizeof("family") - 1)) != NULL in from_zval_write_sockaddr_aux()
726 && Z_TYPE_P(elem) != IS_NULL) { in from_zval_write_sockaddr_aux()
730 from_zval_write_int(elem, (char*)&family, ctx); in from_zval_write_sockaddr_aux()
931 zval *elem; in from_zval_write_control_array() local
956 ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(arr), elem) { in from_zval_write_control_array()
966 from_zval_write_control(elem, &control_buf, alloc, &control_len, &cur_offset, ctx); in from_zval_write_control_array()
1031 zval *elem, tmp; in to_zval_read_control_array() local
1034 elem = zend_hash_next_index_insert(Z_ARRVAL_P(zv), &tmp); in to_zval_read_control_array()
1041 to_zval_read_control((const char *)cmsg, elem, ctx); in to_zval_read_control_array()
1068 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
1073 lval = from_zval_integer_common(elem, ctx); in from_zval_write_msghdr_buffer_size()
1089 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
1094 str = zval_get_tmp_string(elem, &tmp_str); in from_zval_write_iov_array_aux()
1122 static void from_zval_write_controllen(const zval *elem, char *msghdr_c, ser_context *ctx) in from_zval_write_controllen() argument
1130 from_zval_write_uint32(elem, (char*)&len, ctx); in from_zval_write_controllen()
1219 zval elem; in to_zval_read_iov() local
1226 ZVAL_NEW_STR(&elem, buf); in to_zval_read_iov()
1227 add_next_index_zval(zv, &elem); in to_zval_read_iov()
1377 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
1381 if (Z_TYPE_P(elem) == IS_OBJECT && Z_OBJCE_P(elem) == socket_ce) { in from_zval_write_fd_array_aux()
1382 php_socket *sock = Z_SOCKET_P(elem); in from_zval_write_fd_array_aux()
1392 if (Z_TYPE_P(elem) == IS_RESOURCE) { in from_zval_write_fd_array_aux()
1395 …stream = (php_stream *)zend_fetch_resource2_ex(elem, NULL, php_file_le_stream(), php_file_le_pstre… in from_zval_write_fd_array_aux()
1444 zval elem; in to_zval_read_fd_array() local
1457 object_init_ex(&elem, socket_ce); in to_zval_read_fd_array()
1458 php_socket *sock = Z_SOCKET_P(&elem); in to_zval_read_fd_array()
1463 php_stream_to_zval(stream, &elem); in to_zval_read_fd_array()
1466 add_next_index_zval(zv, &elem); in to_zval_read_fd_array()