Lines Matching defs:bq_buf
133 char *bq_buf;
2078 if (q == NULL || q->bq_buf == NULL)
2086 ret = sqlite_exec(be->be_db, q->bq_buf, cb, data, &errmsg);
2358 if (q == NULL || q->bq_buf == NULL)
2363 ret = sqlite_exec(be->be_db, q->bq_buf, cb, data, &errmsg);
2849 q->bq_buf = calloc(1, q->bq_size);
2850 if (q->bq_buf == NULL) {
2870 while (q->bq_buf != NULL) {
2871 old_len = strlen(q->bq_buf);
2873 count = strlcat(q->bq_buf, value, size);
2878 q->bq_buf[old_len] = 0;
2882 alloc = realloc(q->bq_buf, size);
2884 free(q->bq_buf);
2885 q->bq_buf = NULL;
2889 q->bq_buf = alloc;
2900 if (q == NULL || q->bq_buf == NULL)
2908 free(q->bq_buf);
2909 q->bq_buf = NULL;
2922 if (q->bq_buf != NULL) {
2923 free(q->bq_buf);