Lines Matching refs:dims

2129                                    int* dims,  in add_xml_array_elements()  argument
2147 if (j >= dims[0]) { in add_xml_array_elements()
2167 add_xml_array_elements(xmlParam, type, enc, ns, dimension-1, dims+1, zdata, style); in add_xml_array_elements()
2173 while (j < dims[0]) { in add_xml_array_elements()
2189 while (j < dims[0]) { in add_xml_array_elements()
2190 add_xml_array_elements(xmlParam, type, enc, ns, dimension-1, dims+1, NULL, style); in add_xml_array_elements()
2197 for (j=0; j<dims[0]; j++) { in add_xml_array_elements()
2212 add_xml_array_elements(xmlParam, type, enc, ns, dimension-1, dims+1, NULL, style); in add_xml_array_elements()
2227 int* dims; in to_xml_array() local
2339 dims = safe_emalloc(sizeof(int), dimension, 0); in to_xml_array()
2340 dims[0] = i; in to_xml_array()
2350 dims[i] = zend_hash_num_elements(Z_ARRVAL_P(el)); in to_xml_array()
2352 dims[i] = 0; in to_xml_array()
2357 smart_str_append_long(&array_size, dims[0]); in to_xml_array()
2360 smart_str_append_long(&array_size, dims[i]); in to_xml_array()
2382 dims = get_position_12(dimension, ext->val); in to_xml_array()
2383 if (dims[0] == 0) {dims[0] = i;} in to_xml_array()
2385 smart_str_append_long(&array_size, dims[0]); in to_xml_array()
2388 smart_str_append_long(&array_size, dims[i]); in to_xml_array()
2391 dims = emalloc(sizeof(int)); in to_xml_array()
2392 *dims = 0; in to_xml_array()
2402 dims = get_position_12(dimension, ext->val); in to_xml_array()
2403 if (dims[0] == 0) {dims[0] = i;} in to_xml_array()
2405 smart_str_append_long(&array_size, dims[0]); in to_xml_array()
2408 smart_str_append_long(&array_size, dims[i]); in to_xml_array()
2434 dims = safe_emalloc(sizeof(int), dimension, 0); in to_xml_array()
2435 dims[0] = i; in to_xml_array()
2440 dims = safe_emalloc(sizeof(int), dimension, 0); in to_xml_array()
2441 dims[0] = i; in to_xml_array()
2478 …element_type, enc, enc?encode_add_ns(xmlParam,enc->details.ns):NULL, dimension, dims, data, style); in to_xml_array()
2479 efree(dims); in to_xml_array()
2499 int* dims = NULL; in to_zval_array() local
2522 dims = get_position(dimension, end+1); in to_zval_array()
2547 dims = get_position_12(dimension, (char*)attr->children->content); in to_zval_array()
2549 dims = emalloc(sizeof(int)); in to_zval_array()
2550 *dims = 0; in to_zval_array()
2557 dims = get_position_12(dimension, (char*)attr->children->content); in to_zval_array()
2577 dims = emalloc(sizeof(int)); in to_zval_array()
2578 *dims = 0; in to_zval_array()
2596 dims = get_position_12(dimension, ext->val); in to_zval_array()
2598 dims = emalloc(sizeof(int)); in to_zval_array()
2599 *dims = 0; in to_zval_array()
2609 dims = get_position_12(dimension, ext->val); in to_zval_array()
2624 if (dims == NULL) { in to_zval_array()
2626 dims = emalloc(sizeof(int)); in to_zval_array()
2627 *dims = 0; in to_zval_array()
2681 if (pos[i] >= dims[i]) { in to_zval_array()
2694 efree(dims); in to_zval_array()