Searched defs:arr (Results 1 - 25 of 26) sorted by relevance

12

/PHP_TRUNK/sapi/apache_hooks/
H A Dmod_php5.c387 array_header *arr = table_elts(((request_rec *) SG(server_context))->subprocess_env); local
388 table_entry *elts = (table_entry *) arr->elts;
392 for (i = 0; i < arr->nelts; i++) {
H A Dphp_apache.c1653 array_header *arr; local
1658 arr = table_elts(r->subprocess_env);
1659 elts = (table_entry *)arr->elts;
1664 for (i=0; i < arr->nelts; i++) {
/PHP_TRUNK/sapi/apache2filter/
H A Dsapi_apache2.c231 const apr_array_header_t *arr = apr_table_elts(ctx->r->subprocess_env); local
235 APR_ARRAY_FOREACH_OPEN(arr, key, val)
H A Dphp_functions.c156 const apr_array_header_t *arr; local
162 arr = apr_table_elts(ctx->f->r->headers_in);
164 APR_ARRAY_FOREACH_OPEN(arr, key, val)
176 const apr_array_header_t *arr; local
182 arr = apr_table_elts(ctx->f->r->headers_out);
184 APR_ARRAY_FOREACH_OPEN(arr, key, val)
/PHP_TRUNK/Zend/
H A Dzend_gc.c797 zend_array *arr = (zend_array*)p; local
799 GC_TYPE(arr) = IS_NULL;
800 zend_hash_destroy(&arr->ht);
H A Dzend_types.h108 zend_array *arr; member in union:_zend_value
417 #define Z_ARR(zval) (zval).value.arr
H A Dzend_variables.c41 zend_array *arr = (zend_array*)p; local
44 if (arr != &EG(symbol_table)) {
46 GC_TYPE(arr) = IS_NULL;
47 GC_REMOVE_FROM_BUFFER(arr);
48 zend_hash_destroy(&arr->ht);
49 efree_size(arr, sizeof(zend_array));
101 zend_array *arr = (zend_array*)p; local
104 if (arr != &EG(symbol_table)) {
106 GC_TYPE(arr) = IS_NULL;
107 GC_REMOVE_FROM_BUFFER(arr);
[all...]
H A Dzend_operators.c673 zval arr; local
674 ZVAL_NEW_ARR(&arr);
675 zend_array_dup(Z_ARRVAL(arr), obj_ht);
677 ZVAL_COPY_VALUE(op, &arr);
714 zend_array *arr = Z_ARR_P(op); local
718 if (--GC_REFCOUNT(arr) == 0) {
719 efree_size(arr, sizeof(zend_array));
/PHP_TRUNK/sapi/apache/
H A Dmod_php5.c257 array_header *arr = table_elts(((request_rec *) SG(server_context))->subprocess_env); local
258 table_entry *elts = (table_entry *) arr->elts;
263 for (i = 0; i < arr->nelts; i++) {
H A Dphp_apache.c244 array_header *arr; local
249 arr = table_elts(r->subprocess_env);
250 elts = (table_entry *)arr->elts;
255 for (i=0; i < arr->nelts; i++) {
/PHP_TRUNK/ext/soap/
H A Dphp_packet_soap.c348 zval *arr; local
352 if ((arr = zend_hash_str_find(Z_ARRVAL_P(return_value), (char*)val->name, strlen((char*)val->name))) != NULL) {
353 add_next_index_zval(arr, &tmp);
355 zval arr; local
357 array_init(&arr);
358 add_next_index_zval(&arr, &tmp);
359 add_assoc_zval(return_value, (char*)val->name, &arr); local
H A Dphp_encoding.c1245 zval rv, arr, val; local
1257 array_init(&arr);
1259 add_assoc_zval(&arr, name, any);
1261 add_next_index_zval(&arr, any);
1263 any = &arr;
1287 array_init(&arr);
1288 add_assoc_zval(&arr, name, &val);
1289 any = &arr;
1301 array_init(&arr);
1302 add_next_index_zval(&arr, e
1426 zval *redo_any = NULL, rv, arr; local
1597 zval arr; local
[all...]
/PHP_TRUNK/main/
H A Dphp_variables.c244 static zend_bool add_post_var(zval *arr, post_var_data_t *var, zend_bool eof TSRMLS_DC) argument
284 php_register_variable_safe(var->ptr, ksep, new_vlen, arr TSRMLS_CC);
291 static inline int add_post_vars(zval *arr, post_var_data_t *vars, zend_bool eof TSRMLS_DC) argument
297 while (add_post_var(arr, vars, eof TSRMLS_CC)) {
315 zval *arr = (zval *) arg; local
329 if (SUCCESS != add_post_vars(arr, &post_data, 0 TSRMLS_CC)) {
341 add_post_vars(arr, &post_data, 1 TSRMLS_CC);
522 zval arr, argc, tmp; local
530 array_init(&arr);
537 if (zend_hash_next_index_insert(Z_ARRVAL(arr),
[all...]
H A Doutput.c1185 zval arr, *array = (zval *) z; local
1187 add_next_index_zval(array, php_output_handler_status(handler, &arr));
/PHP_TRUNK/sapi/apache2handler/
H A Dsapi_apache2.c271 const apr_array_header_t *arr = apr_table_elts(ctx->r->subprocess_env); local
275 APR_ARRAY_FOREACH_OPEN(arr, key, val)
H A Dphp_functions.c176 const apr_array_header_t *arr; local
186 arr = apr_table_elts(ctx->r->headers_in);
188 APR_ARRAY_FOREACH_OPEN(arr, key, val)
200 const apr_array_header_t *arr; local
210 arr = apr_table_elts(ctx->r->headers_out);
212 APR_ARRAY_FOREACH_OPEN(arr, key, val)
437 const apr_array_header_t *arr = apr_table_elts(((php_struct *) SG(server_context))->r->subprocess_env); local
443 APR_ARRAY_FOREACH_OPEN(arr, key, val)
457 arr = apr_table_elts(((php_struct *) SG(server_context))->r->headers_in);
458 APR_ARRAY_FOREACH_OPEN(arr, ke
[all...]
/PHP_TRUNK/ext/pdo/
H A Dpdo_stmt.c1061 zval arr; local
1074 array_init(&arr);
1077 ZVAL_COPY_VALUE(curr_val, &arr);
1079 add_next_index_zval(&arr, &cur);
1081 ZVAL_COPY_VALUE(&arr, curr_val);
1083 add_next_index_zval(&arr, &val);
/PHP_TRUNK/ext/standard/
H A Darray.c607 zend_refcounted *arr; local
626 arr = Z_COUNTED_P(array);
633 if (--GC_REFCOUNT(arr) <= 0) {
634 _zval_dtor_func(arr ZEND_FILE_LINE_CC);
652 zend_refcounted *arr; local
671 arr = Z_COUNTED_P(array);
678 if (--GC_REFCOUNT(arr) <= 0) {
679 _zval_dtor_func(arr ZEND_FILE_LINE_CC);
740 zend_refcounted *arr; local
759 arr
[all...]
H A Dhtml.c1573 zval *arr)
1585 add_assoc_stringl_ex(arr, key, written_k1, entity, l + 2);
1595 add_assoc_stringl_ex(arr, key, written_k1, entity, l + 2);
1618 add_assoc_stringl_ex(arr, key, written_k1 + written_k2, entity, l + 1);
1569 write_s3row_data( const entity_stage3_row *r, unsigned orig_cp, enum entity_charset charset, zval *arr) argument
/PHP_TRUNK/ext/json/
H A DJSON_parser.c634 zval *arr = &jp->the_zstack[jp->top]; local
636 array_init(arr);
639 ZVAL_COPY_VALUE(z, arr);
/PHP_TRUNK/ext/sockets/
H A Dconversions.c215 static unsigned from_array_iterate(const zval *arr, argument
227 for (zend_hash_internal_pointer_reset_ex(Z_ARRVAL_P(arr), &pos), i = 1;
229 && (elem = zend_hash_get_current_data_ex(Z_ARRVAL_P(arr), &pos)) != NULL;
230 zend_hash_move_forward_ex(Z_ARRVAL_P(arr), &pos), i++) {
846 static void from_zval_write_control(const zval *arr, argument
874 from_zval_write_aggregation(arr, (char *)&level, descriptor_level, ctx);
878 from_zval_write_aggregation(arr, (char *)&type, descriptor_type, ctx);
892 /* arr must be an array at this point */
893 if ((data_elem = zend_hash_str_find(Z_ARRVAL_P(arr), "data", sizeof("data") - 1)) == NULL) {
921 from_zval_write_aggregation(arr, (cha
925 from_zval_write_control_array(const zval *arr, char *msghdr_c, ser_context *ctx) argument
1111 from_zval_write_iov_array(const zval *arr, char *msghdr_c, ser_context *ctx) argument
1357 calculate_scm_rights_space(const zval *arr, ser_context *ctx) argument
1406 from_zval_write_fd_array(const zval *arr, char *int_arr, ser_context *ctx) argument
[all...]
/PHP_TRUNK/ext/curl/
H A Dinterface.c2773 zval *zid, *arr, *entry; local
2778 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "za", &zid, &arr) == FAILURE) {
2784 ZEND_HASH_FOREACH_KEY_VAL(Z_ARRVAL_P(arr), option, string_key, entry) {
/PHP_TRUNK/ext/intl/locale/
H A Dlocale_methods.c828 HashTable *arr = HASH_OF(ele_value); local
831 ZEND_HASH_FOREACH_VAL(arr, data) {
910 zval* arr = NULL; local
917 &arr) == FAILURE)
924 hash_arr = HASH_OF( arr );
1402 static void array_cleanup( char* arr[] , int arr_size)
1406 if( arr[i*2] ){
1407 efree( arr[i*2]);
1410 efree(arr);
1536 zval* arr local
[all...]
/PHP_TRUNK/ext/wddx/
H A Dwddx.c530 static void php_wddx_serialize_array(wddx_packet *packet, zval *arr) argument
541 target_hash = HASH_OF(arr);
563 if (ent == arr) {
/PHP_TRUNK/ext/openssl/
H A Dxp_ssl.c1569 zval arr; local
1576 array_init(&arr);
1581 add_next_index_zval(&arr, &zcert);
1585 ZVAL_NULL(&arr);
1588 php_stream_context_set_option(PHP_STREAM_CONTEXT(stream), "ssl", "peer_certificate_chain", &arr); local
1589 zval_dtor(&arr);

Completed in 64 milliseconds

12