Lines Matching refs:stmt_
282 DCHECK(!stmt_); in prepare()
283 int rv = sqlite3_prepare_v2(db, sql, sql_len, &stmt_, NULL); in prepare()
292 DCHECK(stmt_); in step()
293 int status = sqlite3_step(stmt_); in step()
302 DCHECK(stmt_); in reset()
303 return sqlite3_reset(stmt_); in reset()
307 DCHECK(stmt_); in last_insert_rowid()
312 DCHECK(stmt_); in changes()
317 DCHECK(stmt_); in db_handle()
318 return sqlite3_db_handle(stmt_); in db_handle()
322 DCHECK(stmt_); in bind_parameter_count()
323 return sqlite3_bind_parameter_count(stmt_); in bind_parameter_count()
342 DCHECK(stmt_); in bind_blob()
343 return sqlite3_bind_blob(stmt_, index + 1, value, value_len, dtor); in bind_blob()
347 DCHECK(stmt_); in bind_double()
348 return sqlite3_bind_double(stmt_, index + 1, value); in bind_double()
352 DCHECK(stmt_); in bind_bool()
353 return sqlite3_bind_int(stmt_, index + 1, value); in bind_bool()
357 DCHECK(stmt_); in bind_int()
358 return sqlite3_bind_int(stmt_, index + 1, value); in bind_int()
362 DCHECK(stmt_); in bind_int64()
363 return sqlite3_bind_int64(stmt_, index + 1, value); in bind_int64()
367 DCHECK(stmt_); in bind_null()
368 return sqlite3_bind_null(stmt_, index + 1); in bind_null()
373 DCHECK(stmt_); in bind_text()
374 return sqlite3_bind_text(stmt_, index + 1, value, value_len, dtor); in bind_text()
379 DCHECK(stmt_); in bind_text16()
381 return sqlite3_bind_text16(stmt_, index + 1, value, value_len, dtor); in bind_text16()
385 DCHECK(stmt_); in bind_value()
386 return sqlite3_bind_value(stmt_, index + 1, value); in bind_value()
390 DCHECK(stmt_); in column_count()
391 return sqlite3_column_count(stmt_); in column_count()
395 DCHECK(stmt_); in column_type()
396 return sqlite3_column_type(stmt_, index); in column_type()
400 DCHECK(stmt_); in column_blob()
401 return sqlite3_column_blob(stmt_, index); in column_blob()
406 DCHECK(stmt_); in column_blob_as_vector()
419 DCHECK(stmt_); in column_blob_as_string()
431 DCHECK(stmt_); in column_bytes()
432 return sqlite3_column_bytes(stmt_, index); in column_bytes()
436 DCHECK(stmt_); in column_bytes16()
437 return sqlite3_column_bytes16(stmt_, index); in column_bytes16()
441 DCHECK(stmt_); in column_double()
442 return sqlite3_column_double(stmt_, index); in column_double()
446 DCHECK(stmt_); in column_bool()
447 return sqlite3_column_int(stmt_, index) ? true : false; in column_bool()
451 DCHECK(stmt_); in column_int()
452 return sqlite3_column_int(stmt_, index); in column_int()
456 DCHECK(stmt_); in column_int64()
457 return sqlite3_column_int64(stmt_, index); in column_int64()
461 DCHECK(stmt_); in column_text()
462 return reinterpret_cast<const char*>(sqlite3_column_text(stmt_, index)); in column_text()
466 DCHECK(stmt_); in column_string()
480 DCHECK(stmt_); in column_text16()
481 return static_cast<const char16*>(sqlite3_column_text16(stmt_, index)); in column_text16()
485 DCHECK(stmt_); in column_string16()
499 DCHECK(stmt_); in column_wstring()