Lines Matching refs:dimension
2054 static int* get_position_12(int dimension, const char* str) in get_position_12() argument
2059 pos = safe_emalloc(sizeof(int), dimension, 0); in get_position_12()
2060 memset(pos,0,sizeof(int)*dimension); in get_position_12()
2097 static void get_position_ex(int dimension, const char* str, int** pos) in get_position_ex() argument
2101 memset(*pos,0,sizeof(int)*dimension); in get_position_ex()
2102 while (*str != ']' && *str != '\0' && i < dimension) { in get_position_ex()
2112 static int* get_position(int dimension, const char* str) in get_position() argument
2116 pos = safe_emalloc(sizeof(int), dimension, 0); in get_position()
2117 get_position_ex(dimension, str, &pos); in get_position()
2125 int dimension , in add_xml_array_elements() argument
2141 if (dimension == 1) { 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()
2162 if (dimension == 1) { 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()
2186 if (dimension == 1) { 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()
2224 int dimension = 1; in to_xml_array() local
2327 dimension = calc_dimension(end); in to_xml_array()
2336 dims = safe_emalloc(sizeof(int), dimension, 0); in to_xml_array()
2339 for (i = 1; i < dimension; i++) { in to_xml_array()
2355 for (i=1; i<dimension; i++) { in to_xml_array()
2378 dimension = calc_dimension_12(ext->val); in to_xml_array()
2379 dims = get_position_12(dimension, ext->val); in to_xml_array()
2383 for (i=1; i<dimension; i++) { in to_xml_array()
2398 dimension = calc_dimension_12(ext->val); in to_xml_array()
2399 dims = get_position_12(dimension, ext->val); in to_xml_array()
2403 for (i=1; i<dimension; i++) { in to_xml_array()
2431 dims = safe_emalloc(sizeof(int), dimension, 0); in to_xml_array()
2437 dims = safe_emalloc(sizeof(int), dimension, 0); in to_xml_array()
2468 …m, element_type, enc, enc?encode_add_ns(xmlParam,enc->details.ns):NULL, dimension, dims, data, sty… in to_xml_array()
2488 int dimension = 1; in to_zval_array() local
2511 dimension = calc_dimension(end+1); in to_zval_array()
2512 dims = get_position(dimension, end+1); in to_zval_array()
2536 dimension = calc_dimension_12((char*)attr->children->content); in to_zval_array()
2537 dims = get_position_12(dimension, (char*)attr->children->content); in to_zval_array()
2546 dimension = calc_dimension_12((char*)attr->children->content); in to_zval_array()
2547 dims = get_position_12(dimension, (char*)attr->children->content); in to_zval_array()
2585 dimension = calc_dimension_12(ext->val); in to_zval_array()
2586 dims = get_position_12(dimension, ext->val); in to_zval_array()
2598 dimension = calc_dimension_12(ext->val); in to_zval_array()
2599 dims = get_position_12(dimension, ext->val); in to_zval_array()
2615 dimension = 1; in to_zval_array()
2619 pos = safe_emalloc(sizeof(int), dimension, 0); in to_zval_array()
2620 memset(pos,0,sizeof(int)*dimension); in to_zval_array()
2629 get_position_ex(dimension, tmp, &pos); in to_zval_array()
2647 get_position_ex(dimension, tmp, &pos); in to_zval_array()
2653 while (i < dimension-1) { in to_zval_array()
2667 i = dimension; in to_zval_array()