Lines Matching refs:sqlite3_str
8130 ** An instance of the sqlite3_str object contains a dynamically-sized
8133 ** The lifecycle of an sqlite3_str object is as follows:
8135 ** <li> ^The sqlite3_str object is created using [sqlite3_str_new()].
8136 ** <li> ^Text is appended to the sqlite3_str object using various
8138 ** <li> ^The sqlite3_str object is destroyed and the string it created
8142 typedef struct sqlite3_str sqlite3_str; typedef
8146 ** CONSTRUCTOR: sqlite3_str
8149 ** a new [sqlite3_str] object. To avoid memory leaks, the object returned by
8154 ** valid [sqlite3_str] object, though in the event of an out-of-memory
8160 ** returned by [sqlite3_str_new(D)] as the sqlite3_str parameter
8161 ** to any of the other [sqlite3_str] methods.
8165 ** length of the string contained in the [sqlite3_str] object will be
8169 sqlite3_str *sqlite3_str_new(sqlite3*);
8173 ** DESTRUCTOR: sqlite3_str
8175 ** ^The [sqlite3_str_finish(X)] interface destroys the sqlite3_str object X
8182 ** string in [sqlite3_str] object X is zero bytes long.
8184 char *sqlite3_str_finish(sqlite3_str*);
8188 ** METHOD: sqlite3_str
8190 ** These interfaces add content to an sqlite3_str object previously obtained
8196 ** [sqlite3_str] object X.
8199 ** onto the end of the [sqlite3_str] object X. N must be non-negative.
8205 ** zero-terminated string S onto the end of [sqlite3_str] object X.
8208 ** single-byte character C onto the end of [sqlite3_str] object X.
8212 ** inside [sqlite3_str] object X back to zero bytes in length.
8215 ** is recorded in the [sqlite3_str] object and can be recovered by a
8218 void sqlite3_str_appendf(sqlite3_str*, const char *zFormat, ...);
8219 void sqlite3_str_vappendf(sqlite3_str*, const char *zFormat, va_list);
8220 void sqlite3_str_append(sqlite3_str*, const char *zIn, int N);
8221 void sqlite3_str_appendall(sqlite3_str*, const char *zIn);
8222 void sqlite3_str_appendchar(sqlite3_str*, int N, char C);
8223 void sqlite3_str_reset(sqlite3_str*);
8227 ** METHOD: sqlite3_str
8229 ** These interfaces return the current status of an [sqlite3_str] object.
8232 ** in sqlite3_str X, then the [sqlite3_str_errcode(X)] method will return
8239 ** of the dynamic string under construction in [sqlite3_str] object X.
8245 ** returned by [sqlite3_str_value(X)] is managed by the sqlite3_str object X
8247 ** [sqlite3_str] object. Applications must not used the pointer returned
8252 ** write any byte after any subsequent sqlite3_str method call.
8254 int sqlite3_str_errcode(sqlite3_str*);
8255 int sqlite3_str_length(sqlite3_str*);
8256 char *sqlite3_str_value(sqlite3_str*);