PostGIS  3.4.0dev-r@@SVN_REVISION@@

◆ stringbuffer_append_len()

static void stringbuffer_append_len ( stringbuffer_t s,
const char *  a,
size_t  alen 
)
inlinestatic

Append the specified string to the stringbuffer_t using known length.

Definition at line 93 of file stringbuffer.h.

94 {
95  int alen0 = alen + 1; /* Length including null terminator */
96  stringbuffer_makeroom(s, alen0);
97  memcpy(s->str_end, a, alen0);
98  s->str_end += alen;
99 }
char * s
Definition: cu_in_wkt.c:23
static void stringbuffer_makeroom(stringbuffer_t *s, size_t size_to_add)
If necessary, expand the stringbuffer_t internal buffer to accommodate the specified additional size.
Definition: stringbuffer.h:71

References s, and stringbuffer_makeroom().

Referenced by asgeojson_collection(), asgeojson_line(), asgeojson_line_coords(), asgeojson_multiline(), asgeojson_multipoint(), asgeojson_multipolygon(), asgeojson_point(), asgeojson_point_coords(), asgeojson_poly(), asgeojson_poly_coords(), asgeojson_srs(), asgeojson_triangle(), coordinate_to_wkt_sb(), dimension_qualifiers_to_wkt_sb(), empty_to_wkt_sb(), lwcircstring_to_wkt_sb(), lwcollection_to_wkt_sb(), lwcompound_to_wkt_sb(), lwcurvepoly_to_wkt_sb(), lwline_to_wkt_sb(), lwmcurve_to_wkt_sb(), lwmline_to_wkt_sb(), lwmpoint_to_wkt_sb(), lwmpoly_to_wkt_sb(), lwmsurface_to_wkt_sb(), lwpoint_to_wkt_sb(), lwpoly_to_wkt_sb(), lwpsurface_to_wkt_sb(), lwtin_to_wkt_sb(), lwtriangle_to_wkt_sb(), pointArray_to_geojson(), ptarray_to_kml2_sb(), ptarray_to_wkt_sb(), ptarray_to_x3d3_sb(), stringbuffer_append(), and stringbuffer_init_varlena().

Here is the call graph for this function:
Here is the caller graph for this function: