Lines Matching refs:dims

2126                                    int* dims,  in add_xml_array_elements()  argument
2137 if (j >= dims[0]) { in add_xml_array_elements()
2157 add_xml_array_elements(xmlParam, type, enc, ns, dimension-1, dims+1, zdata, style); in add_xml_array_elements()
2163 while (j < dims[0]) { in add_xml_array_elements()
2179 while (j < dims[0]) { in add_xml_array_elements()
2180 add_xml_array_elements(xmlParam, type, enc, ns, dimension-1, dims+1, NULL, style); in add_xml_array_elements()
2185 for (j=0; j<dims[0]; j++) { in add_xml_array_elements()
2200 add_xml_array_elements(xmlParam, type, enc, ns, dimension-1, dims+1, NULL, style); in add_xml_array_elements()
2225 int* dims; in to_xml_array() local
2336 dims = safe_emalloc(sizeof(int), dimension, 0); in to_xml_array()
2337 dims[0] = i; in to_xml_array()
2347 dims[i] = zend_hash_num_elements(Z_ARRVAL_P(el)); in to_xml_array()
2349 dims[i] = 0; in to_xml_array()
2354 smart_str_append_long(&array_size, dims[0]); in to_xml_array()
2357 smart_str_append_long(&array_size, dims[i]); in to_xml_array()
2379 dims = get_position_12(dimension, ext->val); in to_xml_array()
2380 if (dims[0] == 0) {dims[0] = i;} in to_xml_array()
2382 smart_str_append_long(&array_size, dims[0]); in to_xml_array()
2385 smart_str_append_long(&array_size, dims[i]); in to_xml_array()
2388 dims = emalloc(sizeof(int)); in to_xml_array()
2389 *dims = 0; in to_xml_array()
2399 dims = get_position_12(dimension, ext->val); in to_xml_array()
2400 if (dims[0] == 0) {dims[0] = i;} in to_xml_array()
2402 smart_str_append_long(&array_size, dims[0]); in to_xml_array()
2405 smart_str_append_long(&array_size, dims[i]); in to_xml_array()
2431 dims = safe_emalloc(sizeof(int), dimension, 0); in to_xml_array()
2432 dims[0] = i; in to_xml_array()
2437 dims = safe_emalloc(sizeof(int), dimension, 0); in to_xml_array()
2438 dims[0] = i; in to_xml_array()
2468 …element_type, enc, enc?encode_add_ns(xmlParam,enc->details.ns):NULL, dimension, dims, data, style); in to_xml_array()
2469 efree(dims); in to_xml_array()
2489 int* dims = NULL; in to_zval_array() local
2512 dims = get_position(dimension, end+1); in to_zval_array()
2537 dims = get_position_12(dimension, (char*)attr->children->content); in to_zval_array()
2539 dims = emalloc(sizeof(int)); in to_zval_array()
2540 *dims = 0; in to_zval_array()
2547 dims = get_position_12(dimension, (char*)attr->children->content); in to_zval_array()
2567 dims = emalloc(sizeof(int)); in to_zval_array()
2568 *dims = 0; in to_zval_array()
2586 dims = get_position_12(dimension, ext->val); in to_zval_array()
2588 dims = emalloc(sizeof(int)); in to_zval_array()
2589 *dims = 0; in to_zval_array()
2599 dims = get_position_12(dimension, ext->val); in to_zval_array()
2614 if (dims == NULL) { in to_zval_array()
2616 dims = emalloc(sizeof(int)); in to_zval_array()
2617 *dims = 0; in to_zval_array()
2671 if (pos[i] >= dims[i]) { in to_zval_array()
2684 efree(dims); in to_zval_array()