/macosx-10.9.5/CPANInternal-140/SQL-Abstract/t/ |
H A D | 00new.t | 15 # stmt => 'SELECT * FROM test WHERE ( a = ? OR b = ? )' 22 stmt => 'SELECT * FROM test WHERE ( a = ? AND b = ? )' 27 stmt => 'SELECT * FROM test WHERE ( a = ? AND b = ? )' 32 stmt => 'SELECT * FROM test WHERE ( a = ? AND b = ? )' 37 stmt => 'SELECT * FROM test WHERE ( a = ? AND b = ? )' 43 # stmt => 'SELECT * FROM test WHERE ( a = ? OR b = ? )' 45 stmt => 'SELECT * FROM test WHERE ( a = ? AND b = ? )' 50 stmt => 'SELECT * FROM test WHERE ( a LIKE ? AND b LIKE ? )' 56 # stmt => 'SELECT * FROM test WHERE ( a LIKE ? OR b LIKE ? )' 58 stmt [all...] |
H A D | 02where.t | 25 stmt => " WHERE ( requestor = ? AND status != ? AND ( ( worker = ? ) OR" 35 stmt => " WHERE ( status = ? OR user = ? )", 45 stmt => " WHERE ( status = ? AND user = ? ) ORDER BY ticket", 55 stmt => " WHERE ( status != ? AND user = ? ) ORDER BY ticket", 65 stmt => " WHERE ( reportid IN ( ?, ?, ? ) AND status = ? )", 75 stmt => " WHERE ( reportid NOT IN ( ?, ?, ? ) AND status = ? )", 88 stmt => "WHERE ( ( completion_date BETWEEN ? AND ? ) AND status = ? ) ORDER BY ticket, requestor", 104 stmt => " WHERE ( ( status IN ( ?, ? ) AND user = ? ) OR ( status = ? AND user = ? ) )", 114 stmt => " WHERE ( ( ( priority > ? ) OR ( priority < ? ) ) AND requestor is not null ) ORDER BY priority", 122 stmt [all...] |
H A D | 05in_between.t | 15 stmt => 'WHERE (x BETWEEN ? AND ?)', 21 stmt => 'WHERE (x BETWEEN 1 AND ?)', 27 stmt => 'WHERE (x BETWEEN ? AND 2)', 33 stmt => 'WHERE (x BETWEEN current_date - 1 AND current_date - 0)', 39 stmt => 'WHERE (x BETWEEN current_date - ? AND current_date - ?)', 45 stmt => 'WHERE (x BETWEEN ? AND ?)', 51 stmt => "WHERE (x BETWEEN 'something' AND ?)", 57 stmt => "WHERE (x BETWEEN ? AND 'something')", 63 stmt => "WHERE (x BETWEEN 'this' AND 'that')", 77 stmt [all...] |
H A D | 01generate.t | 18 stmt => 'SELECT * FROM test', 26 stmt => 'SELECT one, two, three FROM test', 34 stmt => 'SELECT * FROM test WHERE ( a = ? ) ORDER BY boom, bada, bing', 42 stmt => 'SELECT * FROM test WHERE ( ( a = ? ) OR ( b = ? ) )', 50 stmt => 'SELECT * FROM test ORDER BY id', 58 stmt => 'SELECT * FROM test WHERE ( a = ? ) ORDER BY id', 66 stmt => 'SELECT * FROM test WHERE ( ( ( a = ? ) OR ( a = ? ) ) )', 74 stmt => 'SELECT * FROM test1, test2 WHERE ( test1.a IN ( ?, ? ) )', 82 stmt => 'SELECT * FROM test WHERE ( a BETWEEN ? AND ? )', 90 stmt [all...] |
H A D | 07subqueries.t | 24 stmt => " WHERE ( bar IN (SELECT c1 FROM t1 WHERE c2 < ? AND c3 LIKE ?) AND foo = ? )", 38 stmt => " WHERE ( bar > ALL (SELECT c1 FROM t1 WHERE (( c2 < ? AND c3 LIKE ? )) ) AND foo = ? )", 51 stmt => " WHERE ( EXISTS (SELECT * FROM t1 WHERE ( c1 = ? AND c2 > t0.c0 )) AND foo = ? )", 61 stmt => " WHERE ( MATCH (col1, col2) AGAINST (?) )", 76 stmt => " WHERE ( NOT ( ( ( ( age < ? ) OR ( age > ? ) ) ) ) AND lname LIKE ? )", 89 stmt => " WHERE ( bar IN (SELECT c1 FROM t1 WHERE c2 < ? AND c3 LIKE ?) AND foo = ? )", 98 my($stmt, @bind) = $sql->where($_->{where}, $_->{order}); 99 is_same_sql_bind($stmt, \@bind, $_->{stmt}, $_->{bind});
|
H A D | 04modifiers.t | 28 and => { stmt => 'WHERE a = ? AND b = ?', bind => [qw/1 2/] }, 29 or => { stmt => 'WHERE a = ? OR b = ?', bind => [qw/1 2/] }, 30 or_and => { stmt => 'WHERE ( foo = ? OR bar = ? ) AND baz = ? ', bind => [qw/1 2 3/] }, 31 or_or => { stmt => 'WHERE foo = ? OR bar = ? OR baz = ?', bind => [qw/1 2 3/] }, 32 and_or => { stmt => 'WHERE ( foo = ? AND bar = ? ) OR baz = ?', bind => [qw/1 2 3/] }, 138 stmt => 'WHERE x = ? AND x = ? AND x = ?', 144 stmt => 'WHERE x != ? AND x != ? AND x != ?', 150 stmt => 'WHERE x != ? AND x != ? AND x != ?', 159 stmt => 'WHERE x LIKE ? AND ( x != ? OR x >= ? )', 168 stmt [all...] |
/macosx-10.9.5/CPANInternal-140/SQL-Abstract-Limit/t/ |
H A D | 03.subclass.t | 16 my ( $sql, $stmt );
18 lives_ok { $sql = MyLimit->new; $stmt = $sql->select( 'table',
26 like( $stmt, qr(^yah$), 'custom LIMIT' );
28 $stmt = $sql->select( 'table',
33 like( $stmt, qr(^\QSELECT col1, col2 FROM table WHERE ( this = ? )\E$), 'SQL::Abstract - no limit' );
|
H A D | 01.sql.t | 24 my($stmt, @bind) = $sql->select($table, \@fields, \%where, \@order, $limit, $offset);
56 my ( $stmt, @bind );
59 lives_ok { ( $stmt, @bind ) = $sql_ab->select( $table, $fields, $where, $order, $limit, $offset) } 'select LimitOffset';
62 $stmt, \@bind,
68 lives_ok { ( $stmt, @bind ) = $sql_ab->select( $table, $fields, $where, $order, $limit, $offset, 'LimitXY' ) } 'select LimitXY';
70 $stmt, \@bind,
76 lives_ok { ( $stmt, @bind ) = $sql_ab->select( $table, $fields, $where, $order, $limit, $offset, 'RowsTo' ) } 'select RowsTo';
78 $stmt, \@bind,
85 lives_ok { ( $stmt, @bind ) = $sql_ab->select( $table, $fields, $where, $order, $limit, $offset, 'Top' ) } 'select Top';
88 $stmt, \ [all...] |
H A D | 04.args.t | 17 my $stmt = $sql->select("MY_TABLE", "*", undef, ["id"], undef, undef); 21 like( $stmt, qr~\Q$expect\E~, 'no-LIMIT with ORDER BY' ); 30 like( $stmt2, qr~\Q$expect\E~, 'SQL::Abstract base stmt' ); 37 my $stmt = $sql->where( { fee => 'fi' }, ["id"] ); 39 like( $stmt, qr/ORDER BY id/, 'got an order_by clause' ); 41 #warn $stmt;
|
/macosx-10.9.5/CPANInternal-140/SQL-Abstract-Limit-0.141/t/ |
H A D | 03.subclass.t | 16 my ( $sql, $stmt );
18 lives_ok { $sql = MyLimit->new; $stmt = $sql->select( 'table',
26 like( $stmt, qr(^yah$), 'custom LIMIT' );
28 $stmt = $sql->select( 'table',
33 like( $stmt, qr(^\QSELECT col1, col2 FROM table WHERE ( this = ? )\E$), 'SQL::Abstract - no limit' );
|
H A D | 01.sql.t | 24 my($stmt, @bind) = $sql->select($table, \@fields, \%where, \@order, $limit, $offset);
56 my ( $stmt, @bind );
59 lives_ok { ( $stmt, @bind ) = $sql_ab->select( $table, $fields, $where, $order, $limit, $offset) } 'select LimitOffset';
62 $stmt, \@bind,
68 lives_ok { ( $stmt, @bind ) = $sql_ab->select( $table, $fields, $where, $order, $limit, $offset, 'LimitXY' ) } 'select LimitXY';
70 $stmt, \@bind,
76 lives_ok { ( $stmt, @bind ) = $sql_ab->select( $table, $fields, $where, $order, $limit, $offset, 'RowsTo' ) } 'select RowsTo';
78 $stmt, \@bind,
85 lives_ok { ( $stmt, @bind ) = $sql_ab->select( $table, $fields, $where, $order, $limit, $offset, 'Top' ) } 'select Top';
88 $stmt, \ [all...] |
H A D | 04.args.t | 17 my $stmt = $sql->select("MY_TABLE", "*", undef, ["id"], undef, undef); 21 like( $stmt, qr~\Q$expect\E~, 'no-LIMIT with ORDER BY' ); 30 like( $stmt2, qr~\Q$expect\E~, 'SQL::Abstract base stmt' ); 37 my $stmt = $sql->where( { fee => 'fi' }, ["id"] ); 39 like( $stmt, qr/ORDER BY id/, 'got an order_by clause' ); 41 #warn $stmt;
|
/macosx-10.9.5/vim-53/runtime/tools/ |
H A D | pltags.pl | 51 my $stmt = ""; # Current Perl statement 94 my ($stmt) = @_; # Statement 97 if ($stmt =~ /^package\s+([\w:]+)/) 114 my ($stmt) = @_; # Statement 117 if ($stmt =~ /^sub\s+([\w:]+)/) 134 my ($stmt) = @_; 137 $stmt =~ s/^(my|our|local)\s+//; 140 $stmt =~ s/\s*=.*//; 143 @vars = ($stmt =~ /[\$\@\%]([\w:]+)\b/g); 204 ($stmt [all...] |
/macosx-10.9.5/iodbc-42.5/iodbc/iodbc/ |
H A D | odbc3.c | 808 STMT (stmt, statementHandle); 809 CONN (pdbc, stmt->hdbc); 822 if (IS_VALID_HDESC (stmt->desc[IMP_PARAM_DESC])) 823 *((SQLHANDLE *) ValuePtr) = (SQLHANDLE *) stmt->desc[IMP_PARAM_DESC]; 824 else if (IS_VALID_HDESC (stmt->imp_desc[IMP_PARAM_DESC])) 825 *((SQLHANDLE *) ValuePtr) = (SQLHANDLE *) stmt->imp_desc[IMP_PARAM_DESC]; 828 PUSHSQLERR (stmt->herr, en_IM001); 840 if (IS_VALID_HDESC (stmt->desc[APP_PARAM_DESC])) 841 *((SQLHANDLE *) ValuePtr) = (SQLHANDLE *) stmt->desc[APP_PARAM_DESC]; 842 else if (IS_VALID_HDESC (stmt [all...] |
/macosx-10.9.5/Security-55471.14.18/utilities/src/ |
H A D | SecDb.h | 47 bool SecDbErrorWithStmt(int sql_code, sqlite3_stmt *stmt, CFErrorRef *error, CFStringRef format, ...); 74 bool SecDbPrepare(SecDbConnectionRef dbconn, CFStringRef sql, CFErrorRef *error, void(^exec)(sqlite3_stmt *stmt)); 76 bool SecDbStep(SecDbConnectionRef dbconn, sqlite3_stmt *stmt, CFErrorRef *error, void (^row)(bool *stop)); 91 bool SecDbBindNull(sqlite3_stmt *stmt, int param, CFErrorRef *error); 93 bool SecDbBindBlob(sqlite3_stmt *stmt, int param, const void *zData, size_t n, void(*xDel)(void*), CFErrorRef *error); 94 bool SecDbBindText(sqlite3_stmt *stmt, int param, const char *zData, size_t n, void(*xDel)(void*), CFErrorRef *error); 95 bool SecDbBindDouble(sqlite3_stmt *stmt, int param, double value, CFErrorRef *error); 96 bool SecDbBindInt(sqlite3_stmt *stmt, int param, int value, CFErrorRef *error); 97 bool SecDbBindInt64(sqlite3_stmt *stmt, int param, sqlite3_int64 value, CFErrorRef *error); 98 bool SecDbBindObject(sqlite3_stmt *stmt, in [all...] |
H A D | SecDb.c | 35 sqlite3_stmt *stmt; member in struct:__OpaqueSecDbStatement 99 bool SecDbErrorWithStmt(int sql_code, sqlite3_stmt *stmt, CFErrorRef *error, CFStringRef format, ...) { argument 107 sqlite3 *db = sqlite3_db_handle(stmt); 108 const char *sql = sqlite3_sql(stmt); 194 SecDbPrepare(dbconn, CFSTR("PRAGMA integrity_check"), &error, ^(sqlite3_stmt *stmt) { 195 SecDbStep(dbconn, stmt, &error, ^(bool *stop) { 196 const char * result = (const char*)sqlite3_column_text(stmt, 0); 319 static bool SecDbWaitForUnlockNotify(SecDbConnectionRef dbconn, sqlite3_stmt *stmt, CFErrorRef *error) { argument 330 : (stmt 331 ? SecDbErrorWithStmt(rc, stmt, erro 369 SecDbWaitIfNeeded(SecDbConnectionRef dbconn, int s3e, sqlite3_stmt *stmt, CFStringRef desc, struct timespec *sleeptime, CFErrorRef *error) argument 415 _SecDbStep(SecDbConnectionRef dbconn, sqlite3_stmt *stmt, CFErrorRef *error) argument 438 sqlite3_stmt *stmt = SecDbCopyStmt(dbconn, sql, &tail, error); local 522 SecDbStep(SecDbConnectionRef dbconn, sqlite3_stmt *stmt, CFErrorRef *error, void (^row)(bool *stop)) argument 925 SecDbBindBlob(sqlite3_stmt *stmt, int param, const void *zData, size_t n, void(*xDel)(void*), CFErrorRef *error) argument 936 SecDbBindText(sqlite3_stmt *stmt, int param, const char *zData, size_t n, void(*xDel)(void*), CFErrorRef *error) argument 947 SecDbBindDouble(sqlite3_stmt *stmt, int param, double value, CFErrorRef *error) argument 954 SecDbBindInt(sqlite3_stmt *stmt, int param, int value, CFErrorRef *error) argument 961 SecDbBindInt64(sqlite3_stmt *stmt, int param, sqlite3_int64 value, CFErrorRef *error) argument 972 SecDbBindObject(sqlite3_stmt *stmt, int param, CFTypeRef value, CFErrorRef *error) argument 1040 SecDbReset(sqlite3_stmt *stmt, CFErrorRef *error) argument 1044 SecDbClearBindings(sqlite3_stmt *stmt, CFErrorRef *error) argument 1048 SecDbFinalize(sqlite3_stmt *stmt, CFErrorRef *error) argument 1061 sqlite3_stmt *stmt = NULL; local 1071 __block sqlite3_stmt *stmt = NULL; local 1087 sqlite3_stmt *stmt = SecDbCopyStatementWithTailRange(dbconn, sql, &sqlTail, error); local 1107 SecDbReleaseCachedStmt(SecDbConnectionRef dbconn, CFStringRef sql, sqlite3_stmt *stmt, CFErrorRef *error) argument 1114 SecDbPrepare(SecDbConnectionRef dbconn, CFStringRef sql, CFErrorRef *error, void(^exec)(sqlite3_stmt *stmt)) argument 1116 sqlite3_stmt *stmt = SecDbCopyStmt(dbconn, sql, NULL, error); local 1124 SecDbWithSQL(SecDbConnectionRef dbconn, CFStringRef sql, CFErrorRef *error, bool(^perform)(sqlite3_stmt *stmt)) argument 1130 sqlite3_stmt *stmt = SecDbCopyStmt(dbconn, sql, &tail, error); local 1155 SecDbForEach(sqlite3_stmt *stmt, CFErrorRef *error, bool(^row)(int row_index)) argument 1182 SecDbForEach(sqlite3_stmt *stmt, CFErrorRef *error, bool(^row)(int row_index)) argument [all...] |
/macosx-10.9.5/Security-55471.14.18/utilities/utilities/ |
H A D | SecDb.h | 47 bool SecDbErrorWithStmt(int sql_code, sqlite3_stmt *stmt, CFErrorRef *error, CFStringRef format, ...); 74 bool SecDbPrepare(SecDbConnectionRef dbconn, CFStringRef sql, CFErrorRef *error, void(^exec)(sqlite3_stmt *stmt)); 76 bool SecDbStep(SecDbConnectionRef dbconn, sqlite3_stmt *stmt, CFErrorRef *error, void (^row)(bool *stop)); 91 bool SecDbBindNull(sqlite3_stmt *stmt, int param, CFErrorRef *error); 93 bool SecDbBindBlob(sqlite3_stmt *stmt, int param, const void *zData, size_t n, void(*xDel)(void*), CFErrorRef *error); 94 bool SecDbBindText(sqlite3_stmt *stmt, int param, const char *zData, size_t n, void(*xDel)(void*), CFErrorRef *error); 95 bool SecDbBindDouble(sqlite3_stmt *stmt, int param, double value, CFErrorRef *error); 96 bool SecDbBindInt(sqlite3_stmt *stmt, int param, int value, CFErrorRef *error); 97 bool SecDbBindInt64(sqlite3_stmt *stmt, int param, sqlite3_int64 value, CFErrorRef *error); 98 bool SecDbBindObject(sqlite3_stmt *stmt, in [all...] |
H A D | SecDb.c | 35 sqlite3_stmt *stmt; member in struct:__OpaqueSecDbStatement 99 bool SecDbErrorWithStmt(int sql_code, sqlite3_stmt *stmt, CFErrorRef *error, CFStringRef format, ...) { argument 107 sqlite3 *db = sqlite3_db_handle(stmt); 108 const char *sql = sqlite3_sql(stmt); 194 SecDbPrepare(dbconn, CFSTR("PRAGMA integrity_check"), &error, ^(sqlite3_stmt *stmt) { 195 SecDbStep(dbconn, stmt, &error, ^(bool *stop) { 196 const char * result = (const char*)sqlite3_column_text(stmt, 0); 319 static bool SecDbWaitForUnlockNotify(SecDbConnectionRef dbconn, sqlite3_stmt *stmt, CFErrorRef *error) { argument 330 : (stmt 331 ? SecDbErrorWithStmt(rc, stmt, erro 369 SecDbWaitIfNeeded(SecDbConnectionRef dbconn, int s3e, sqlite3_stmt *stmt, CFStringRef desc, struct timespec *sleeptime, CFErrorRef *error) argument 415 _SecDbStep(SecDbConnectionRef dbconn, sqlite3_stmt *stmt, CFErrorRef *error) argument 438 sqlite3_stmt *stmt = SecDbCopyStmt(dbconn, sql, &tail, error); local 522 SecDbStep(SecDbConnectionRef dbconn, sqlite3_stmt *stmt, CFErrorRef *error, void (^row)(bool *stop)) argument 925 SecDbBindBlob(sqlite3_stmt *stmt, int param, const void *zData, size_t n, void(*xDel)(void*), CFErrorRef *error) argument 936 SecDbBindText(sqlite3_stmt *stmt, int param, const char *zData, size_t n, void(*xDel)(void*), CFErrorRef *error) argument 947 SecDbBindDouble(sqlite3_stmt *stmt, int param, double value, CFErrorRef *error) argument 954 SecDbBindInt(sqlite3_stmt *stmt, int param, int value, CFErrorRef *error) argument 961 SecDbBindInt64(sqlite3_stmt *stmt, int param, sqlite3_int64 value, CFErrorRef *error) argument 972 SecDbBindObject(sqlite3_stmt *stmt, int param, CFTypeRef value, CFErrorRef *error) argument 1040 SecDbReset(sqlite3_stmt *stmt, CFErrorRef *error) argument 1044 SecDbClearBindings(sqlite3_stmt *stmt, CFErrorRef *error) argument 1048 SecDbFinalize(sqlite3_stmt *stmt, CFErrorRef *error) argument 1061 sqlite3_stmt *stmt = NULL; local 1071 __block sqlite3_stmt *stmt = NULL; local 1087 sqlite3_stmt *stmt = SecDbCopyStatementWithTailRange(dbconn, sql, &sqlTail, error); local 1107 SecDbReleaseCachedStmt(SecDbConnectionRef dbconn, CFStringRef sql, sqlite3_stmt *stmt, CFErrorRef *error) argument 1114 SecDbPrepare(SecDbConnectionRef dbconn, CFStringRef sql, CFErrorRef *error, void(^exec)(sqlite3_stmt *stmt)) argument 1116 sqlite3_stmt *stmt = SecDbCopyStmt(dbconn, sql, NULL, error); local 1124 SecDbWithSQL(SecDbConnectionRef dbconn, CFStringRef sql, CFErrorRef *error, bool(^perform)(sqlite3_stmt *stmt)) argument 1130 sqlite3_stmt *stmt = SecDbCopyStmt(dbconn, sql, &tail, error); local 1155 SecDbForEach(sqlite3_stmt *stmt, CFErrorRef *error, bool(^row)(int row_index)) argument 1182 SecDbForEach(sqlite3_stmt *stmt, CFErrorRef *error, bool(^row)(int row_index)) argument [all...] |
/macosx-10.9.5/apache-786.1/httpd/srclib/apr-util/dbd/ |
H A D | apr_dbd_sqlite3.c | 66 sqlite3_stmt *stmt; member in struct:apr_dbd_results_t 75 sqlite3_stmt *stmt; member in struct:apr_dbd_prepared_t 87 sqlite3_stmt *stmt, int seek) 97 column_count = sqlite3_column_count(stmt); 101 (*results)->stmt = stmt; 109 ret = sqlite3_step(stmt); 132 apr_pstrdup(pool, sqlite3_column_name(stmt, i)); 135 column->size = sqlite3_column_bytes(stmt, i); 136 column->type = sqlite3_column_type(stmt, 84 dbd_sqlite3_select_internal(apr_pool_t *pool, apr_dbd_t *sql, apr_dbd_results_t **results, sqlite3_stmt *stmt, int seek) argument 182 sqlite3_stmt *stmt = NULL; local 338 dbd_sqlite3_query_internal(apr_dbd_t *sql, sqlite3_stmt *stmt, int *nrows) argument 363 sqlite3_stmt *stmt = NULL; local 416 sqlite3_stmt *stmt; local 448 sqlite3_stmt *stmt = statement->stmt; local 484 sqlite3_stmt *stmt = statement->stmt; local 534 sqlite3_stmt *stmt = statement->stmt; local 584 sqlite3_stmt *stmt = statement->stmt; local 664 sqlite3_stmt *stmt = statement->stmt; local 715 sqlite3_stmt *stmt = statement->stmt; local [all...] |
H A D | apr_dbd_oracle.c | 172 OCIStmt *stmt; member in struct:apr_dbd_prepared_t 711 sql->status = OCIStmtFetch2(res->statement->stmt, res->handle->err, 1, 715 sql->status = OCIStmtFetch2(res->statement->stmt, res->handle->err, 1, 773 OCIStmt *stmt = ((apr_dbd_prepared_t*)statement)->stmt; local 782 if (OCIStmtRelease(stmt, err, NULL, 0, OCI_DEFAULT) != OCI_SUCCESS) { 789 if (OCIHandleFree(stmt, OCI_HTYPE_STMT) != OCI_SUCCESS) { 837 sql->status = OCIAttrGet(statement->stmt, OCI_HTYPE_STMT, 861 apr_dbd_prepared_t *stmt ; local 866 stmt 921 OCIStmt *stmt = statement->stmt; local 993 outputParams(apr_dbd_t *sql, apr_dbd_prepared_t *stmt) argument 1310 OCIStmt *stmt = statement->stmt; local [all...] |
/macosx-10.9.5/apr-30/apr-util/apr-util/dbd/ |
H A D | apr_dbd_sqlite3.c | 66 sqlite3_stmt *stmt; member in struct:apr_dbd_results_t 75 sqlite3_stmt *stmt; member in struct:apr_dbd_prepared_t 87 sqlite3_stmt *stmt, int seek) 97 column_count = sqlite3_column_count(stmt); 101 (*results)->stmt = stmt; 109 ret = sqlite3_step(stmt); 133 apr_pstrdup(pool, sqlite3_column_name(stmt, i)); 136 column->size = sqlite3_column_bytes(stmt, i); 137 column->type = sqlite3_column_type(stmt, 84 dbd_sqlite3_select_internal(apr_pool_t *pool, apr_dbd_t *sql, apr_dbd_results_t **results, sqlite3_stmt *stmt, int seek) argument 184 sqlite3_stmt *stmt = NULL; local 340 dbd_sqlite3_query_internal(apr_dbd_t *sql, sqlite3_stmt *stmt, int *nrows) argument 365 sqlite3_stmt *stmt = NULL; local 418 sqlite3_stmt *stmt; local 450 sqlite3_stmt *stmt = statement->stmt; local 486 sqlite3_stmt *stmt = statement->stmt; local 536 sqlite3_stmt *stmt = statement->stmt; local 586 sqlite3_stmt *stmt = statement->stmt; local 666 sqlite3_stmt *stmt = statement->stmt; local 717 sqlite3_stmt *stmt = statement->stmt; local [all...] |
H A D | apr_dbd_oracle.c | 172 OCIStmt *stmt; member in struct:apr_dbd_prepared_t 711 sql->status = OCIStmtFetch2(res->statement->stmt, res->handle->err, 1, 715 sql->status = OCIStmtFetch2(res->statement->stmt, res->handle->err, 1, 773 OCIStmt *stmt = ((apr_dbd_prepared_t*)statement)->stmt; local 782 if (OCIStmtRelease(stmt, err, NULL, 0, OCI_DEFAULT) != OCI_SUCCESS) { 789 if (OCIHandleFree(stmt, OCI_HTYPE_STMT) != OCI_SUCCESS) { 837 sql->status = OCIAttrGet(statement->stmt, OCI_HTYPE_STMT, 861 apr_dbd_prepared_t *stmt ; local 866 stmt 921 OCIStmt *stmt = statement->stmt; local 993 outputParams(apr_dbd_t *sql, apr_dbd_prepared_t *stmt) argument 1310 OCIStmt *stmt = statement->stmt; local [all...] |
/macosx-10.9.5/Security-55471.14.18/authd/ |
H A D | rule.c | 322 ^(sqlite3_stmt *stmt) { 323 sqlite3_bind_text(stmt, 1, rule_get_name(rule), -1, NULL); 420 _sql_bind(rule_t rule, sqlite3_stmt * stmt) argument 424 require(stmt != NULL, err); 427 rc = sqlite3_bind_text(stmt, column++, rule_get_name(rule), -1, NULL); 429 rc = sqlite3_bind_int(stmt, column++, rule_get_type(rule)); 431 rc = sqlite3_bind_int(stmt, column++, rule_get_class(rule)); 436 rc = sqlite3_bind_text(stmt, column++, rule_get_group(rule), -1, NULL); 438 rc = sqlite3_bind_null(stmt, column++); // kofn 440 rc = sqlite3_bind_int64(stmt, colum [all...] |
H A D | authdb.c | 312 //static int32_t _wait_for_unlock_notify(authdb_connection_t dbconn, sqlite3_stmt * stmt) 324 // } else if (stmt){ 325 // sqlite3_reset(stmt); 338 static void _checkResult(authdb_connection_t dbconn, int32_t rc, const char * fn_name, sqlite3_stmt * stmt) argument 346 if (stmt) { 347 LOGV("authdb: %s %s for %s", fn_name, sqlite3_errmsg(dbconn->handle), sqlite3_sql(stmt)); 469 sqlite3_stmt *stmt = NULL; local 472 rc = sqlite3_prepare_v2(dbconn->handle, "PRAGMA integrity_check;", -1, &stmt, NULL); 478 rc = sqlite3_step(stmt); 484 const char * result = (const char*)sqlite3_column_text(stmt, 538 sqlite3_stmt * stmt = NULL; local 553 _parseItemsAtIndex(sqlite3_stmt * stmt, int32_t col, auth_items_t items, const char * key) argument 579 _bindItemsAtIndex(sqlite3_stmt * stmt, int col, auth_items_t items, const char * key) argument 625 sqlite3_stmt * stmt = NULL; local 668 sqlite3_stmt * stmt = NULL; local 757 sqlite3_stmt * stmt = NULL; local [all...] |
/macosx-10.9.5/Security-55471.14.18/utilities/Regressions/ |
H A D | su-40-secdb.c | 107 ok(SecDbPrepare(dbconn, sql, &error, ^void (sqlite3_stmt *stmt) { 108 ok_status(sqlite3_bind_text(stmt, 1, "key1", 4, NULL), "bind_text[1]"); 109 ok_status(sqlite3_bind_blob(stmt, 2, "value1", 6, NULL), "bind_blob[2]"); 110 ok(SecDbStep(dbconn, stmt, &error, NULL), "SecDbStep: %@", error); 116 ok(SecDbPrepare(dbconn, sql, &error, ^void (sqlite3_stmt *stmt) { 117 ok(SecDbStep(dbconn, stmt, &error, ^(bool *stop) { 118 const unsigned char *key = sqlite3_column_text(stmt, 1); 134 ok(SecDbPrepare(dbconn, sql, &error, ^void (sqlite3_stmt *stmt) { 135 ok(SecDbStep(dbconn, stmt, &error, ^(bool *stop) { 136 const unsigned char *key = sqlite3_column_text(stmt, [all...] |