Lines Matching refs:dims
2083 int* dims, in add_xml_array_elements() argument
2094 if (j >= dims[0]) { in add_xml_array_elements()
2114 add_xml_array_elements(xmlParam, type, enc, ns, dimension-1, dims+1, zdata, style); in add_xml_array_elements()
2120 while (j < dims[0]) { in add_xml_array_elements()
2136 while (j < dims[0]) { in add_xml_array_elements()
2137 add_xml_array_elements(xmlParam, type, enc, ns, dimension-1, dims+1, NULL, style); in add_xml_array_elements()
2142 for (j=0; j<dims[0]; j++) { in add_xml_array_elements()
2157 add_xml_array_elements(xmlParam, type, enc, ns, dimension-1, dims+1, NULL, style); in add_xml_array_elements()
2172 int* dims; in to_xml_array() local
2283 dims = safe_emalloc(sizeof(int), dimension, 0); in to_xml_array()
2284 dims[0] = i; in to_xml_array()
2294 dims[i] = zend_hash_num_elements(Z_ARRVAL_P(el)); in to_xml_array()
2296 dims[i] = 0; in to_xml_array()
2301 smart_str_append_long(&array_size, dims[0]); in to_xml_array()
2304 smart_str_append_long(&array_size, dims[i]); in to_xml_array()
2326 dims = get_position_12(dimension, ext->val); in to_xml_array()
2327 if (dims[0] == 0) {dims[0] = i;} in to_xml_array()
2329 smart_str_append_long(&array_size, dims[0]); in to_xml_array()
2332 smart_str_append_long(&array_size, dims[i]); in to_xml_array()
2335 dims = emalloc(sizeof(int)); in to_xml_array()
2336 *dims = 0; in to_xml_array()
2346 dims = get_position_12(dimension, ext->val); in to_xml_array()
2347 if (dims[0] == 0) {dims[0] = i;} in to_xml_array()
2349 smart_str_append_long(&array_size, dims[0]); in to_xml_array()
2352 smart_str_append_long(&array_size, dims[i]); in to_xml_array()
2378 dims = safe_emalloc(sizeof(int), dimension, 0); in to_xml_array()
2379 dims[0] = i; in to_xml_array()
2384 dims = safe_emalloc(sizeof(int), dimension, 0); in to_xml_array()
2385 dims[0] = i; in to_xml_array()
2415 …element_type, enc, enc?encode_add_ns(xmlParam,enc->details.ns):NULL, dimension, dims, data, style); in to_xml_array()
2416 efree(dims); in to_xml_array()
2436 int* dims = NULL; in to_zval_array() local
2459 dims = get_position(dimension, end+1); in to_zval_array()
2484 dims = get_position_12(dimension, (char*)attr->children->content); in to_zval_array()
2486 dims = emalloc(sizeof(int)); in to_zval_array()
2487 *dims = 0; in to_zval_array()
2494 dims = get_position_12(dimension, (char*)attr->children->content); in to_zval_array()
2514 dims = emalloc(sizeof(int)); in to_zval_array()
2515 *dims = 0; in to_zval_array()
2533 dims = get_position_12(dimension, ext->val); in to_zval_array()
2535 dims = emalloc(sizeof(int)); in to_zval_array()
2536 *dims = 0; in to_zval_array()
2546 dims = get_position_12(dimension, ext->val); in to_zval_array()
2561 if (dims == NULL) { in to_zval_array()
2563 dims = emalloc(sizeof(int)); in to_zval_array()
2564 *dims = 0; in to_zval_array()
2618 if (pos[i] >= dims[i]) { in to_zval_array()
2631 efree(dims); in to_zval_array()