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

/PHP_TRUNK/ext/json/
H A DJSON_parser.c633 zval *arr; local
636 arr = z;
638 ALLOC_INIT_ZVAL(arr);
641 array_init(arr);
642 jp->the_zstack[jp->top] = 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 && zend_hash_get_current_data_ex(Z_ARRVAL_P(arr), (void **)&elem, &pos) == SUCCESS;
230 zend_hash_move_forward_ex(Z_ARRVAL_P(arr), &pos), i++) {
847 static void from_zval_write_control(const zval *arr, argument
875 from_zval_write_aggregation(arr, (char *)&level, descriptor_level, ctx);
879 from_zval_write_aggregation(arr, (char *)&type, descriptor_type, ctx);
893 /* arr must be an array at this point */
894 if (zend_hash_find(Z_ARRVAL_P(arr), "data", sizeof("data"),
923 from_zval_write_aggregation(arr, (cha
927 from_zval_write_control_array(const zval *arr, char *msghdr_c, ser_context *ctx) argument
1113 from_zval_write_iov_array(const zval *arr, char *msghdr_c, ser_context *ctx) argument
1360 calculate_scm_rights_space(const zval *arr, ser_context *ctx) argument
1409 from_zval_write_fd_array(const zval *arr, char *int_arr, ser_context *ctx) argument
[all...]
/PHP_TRUNK/ext/soap/
H A Dphp_packet_soap.c351 zval **arr; local
355 if (zend_hash_find(Z_ARRVAL_P(return_value), (char*)val->name, strlen((char*)val->name)+1, (void**)&arr) == SUCCESS) {
356 add_next_index_zval(*arr, tmp);
358 zval *arr; local
360 MAKE_STD_ZVAL(arr);
361 array_init(arr);
362 add_next_index_zval(arr, tmp);
363 add_assoc_zval(return_value, (char*)val->name, arr); local
H A Dphp_encoding.c1297 zval *arr; local
1299 MAKE_STD_ZVAL(arr);
1300 array_init(arr);
1302 add_assoc_zval(arr, name, any);
1304 add_next_index_zval(arr, any);
1306 any = arr;
1327 zval *arr; local
1329 MAKE_STD_ZVAL(arr);
1330 array_init(arr);
1331 add_assoc_zval(arr, nam
1344 zval *arr; local
1653 zval *arr; local
1664 zval *arr; local
[all...]
/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/sapi/apache2filter/
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)
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)
/PHP_TRUNK/sapi/apache2handler/
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...]
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)
/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/ext/wddx/
H A Dwddx.c553 static void php_wddx_serialize_array(wddx_packet *packet, zval *arr) argument
566 target_hash = HASH_OF(arr);
597 if (*ent == arr) {
/PHP_TRUNK/ext/pdo/
H A Dpdo_stmt.c1072 zval *arr; local
1085 MAKE_STD_ZVAL(arr);
1086 array_init(arr);
1089 *curr_val = arr;
1091 add_next_index_zval(arr, cur);
1093 arr = *curr_val;
1095 add_next_index_zval(arr, val);
/PHP_TRUNK/main/
H A Dphp_variables.c242 static zend_bool add_post_var(zval *arr, post_var_data_t *var, zend_bool eof TSRMLS_DC) argument
282 php_register_variable_safe(var->ptr, ksep, new_vlen, arr TSRMLS_CC);
289 static inline int add_post_vars(zval *arr, post_var_data_t *vars, zend_bool eof TSRMLS_DC) argument
295 while (add_post_var(arr, vars, eof TSRMLS_CC)) {
313 zval *arr = (zval *) arg; local
327 if (SUCCESS != add_post_vars(arr, &post_data, 0 TSRMLS_CC)) {
340 add_post_vars(arr, &post_data, 1 TSRMLS_CC);
529 zval *arr, *argc, *tmp; local
537 ALLOC_INIT_ZVAL(arr);
538 array_init(arr);
[all...]
/PHP_TRUNK/ext/curl/
H A Dinterface.c2887 zval *zid, *arr, **entry; local
2894 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "za", &zid, &arr) == FAILURE) {
2900 zend_hash_internal_pointer_reset_ex(Z_ARRVAL_P(arr), &pos);
2901 while (zend_hash_get_current_data_ex(Z_ARRVAL_P(arr), (void **)&entry, &pos) == SUCCESS) {
2902 if (zend_hash_get_current_key_ex(Z_ARRVAL_P(arr), &string_key, &str_key_len, &option, 0, &pos) != HASH_KEY_IS_LONG) {
2909 zend_hash_move_forward_ex(Z_ARRVAL_P(arr), &pos);
/PHP_TRUNK/ext/standard/
H A Dhtml.c1560 zval *arr)
1572 add_assoc_stringl_ex(arr, key, written_k1 + 1, entity, l + 2, 1);
1582 add_assoc_stringl_ex(arr, key, written_k1 + 1, entity, l + 2, 1);
1605 add_assoc_stringl_ex(arr, key, written_k1 + written_k2 + 1, entity, l + 1, 1);
1556 write_s3row_data( const entity_stage3_row *r, unsigned orig_cp, enum entity_charset charset, zval *arr) argument
H A Dstring.c1125 PHPAPI void php_implode(zval *delim, zval *arr, zval *return_value TSRMLS_DC) argument
1134 numelems = zend_hash_num_elements(Z_ARRVAL_P(arr));
1140 zend_hash_internal_pointer_reset_ex(Z_ARRVAL_P(arr), &pos);
1142 while (zend_hash_get_current_data_ex(Z_ARRVAL_P(arr), (void **) &tmp, &pos) == SUCCESS) {
1196 zend_hash_move_forward_ex(Z_ARRVAL_P(arr), &pos);
1213 zval **arg1 = NULL, **arg2 = NULL, *delim, *arr; local
1230 arr = *arg1;
1233 arr = *arg1;
1237 arr = *arg2;
1246 php_implode(delim, arr, return_valu
[all...]
/PHP_TRUNK/ext/intl/locale/
H A Dlocale_methods.c819 HashTable *arr = HASH_OF(*ele_value); local
822 zend_hash_internal_pointer_reset_ex(arr, &pos);
823 while(zend_hash_get_current_data_ex(arr, (void **)&data, &pos) != FAILURE) {
832 zend_hash_move_forward_ex(arr, &pos);
903 zval* arr = NULL; local
910 &arr) == FAILURE)
917 hash_arr = HASH_OF( arr );
1395 static void array_cleanup( char* arr[] , int arr_size)
1399 if( arr[i*2] ){
1400 efree( arr[
1536 zval* arr = NULL; local
[all...]
/PHP_TRUNK/ext/openssl/
H A Dxp_ssl.c1535 zval *arr; local
1538 MAKE_STD_ZVAL(arr);
1543 array_init(arr);
1549 add_next_index_zval(arr, zcert);
1553 ZVAL_NULL(arr);
1556 php_stream_context_set_option(stream->context, "ssl", "peer_certificate_chain", arr);
1557 zval_dtor(arr);
1558 efree(arr);

Completed in 53 milliseconds