Searched defs:rowid (Results 1 - 19 of 19) sorted by relevance

/external/wpa_supplicant_8/hs20/server/www/
H A Dcert-enroll.php17 $row = $db->query("SELECT rowid,* FROM sessions WHERE id='$id'")->fetch();
23 $rowid = $row['rowid']; variable
28 if (!$db->exec("UPDATE sessions SET user='$user', type='cert' WHERE rowid=$rowid")) {
H A Dadd-free.php17 $row = $db->query("SELECT rowid,* FROM sessions WHERE id='$id'")->fetch();
23 $rowid = $row['rowid']; variable
39 if (!$db->exec("UPDATE sessions SET user='$user', password='$pw', realm='$realm', machine_managed='1' WHERE rowid=$rowid")) {
H A Dadd-mo.php28 $row = $db->query("SELECT rowid,* FROM sessions WHERE id='$id'")->fetch();
43 $rowid = $row['rowid']; variable
45 if (!$db->exec("UPDATE sessions SET user='$user', password='$pw', realm='$realm', type='password' WHERE rowid=$rowid")) {
H A Dest.php11 unset($rowid);
40 $sql = "SELECT rowid,password,operation FROM sessions " .
52 $rowid = $row['rowid']; variable
180 if (!$db->exec("UPDATE sessions SET user='$user', cert='$fingerprint', cert_pem='$cert' WHERE rowid=$rowid")) {
/external/chromium_org/third_party/sqlite/src/src/
H A Drowset.c17 ** can be intermixed with tests to see if a given rowid has been
167 void sqlite3RowSetInsert(RowSet *p, i64 rowid){ argument
184 pEntry->v = rowid;
188 if( p->isSorted && rowid<=pLast->v ){
H A Dtest_schema.c64 int rowid; member in struct:schema_cursor
150 ** Retrieve the current rowid.
154 *pRowid = pCur->rowid;
233 pCur->rowid++;
251 pCur->rowid = 0;
H A Dvdbe.c3269 i64 iKey; /* The rowid we are to seek to */
3414 ** P1 is an open table cursor and P2 is a rowid integer. Arrange
3415 ** for P1 to move so that it points to the rowid given by P2.
3533 ** The value of N can be inferred from the cursor. N includes the rowid
3534 ** value appended to the end of the index record. This rowid value may
3541 ** where the first (N-1) fields match but the rowid value at the end
3543 ** to instruction P2. Otherwise, the rowid of the conflicting index
3598 ** to P2. Otherwise, copy the rowid of the conflicting record to
3601 if( (r.flags & UNPACKED_PREFIX_SEARCH) || r.rowid==R ){
3604 pIn3->u.i = r.rowid;
4397 i64 rowid; local
5772 sqlite_int64 rowid; local
[all...]
H A Dvdbeaux.c2903 ** an index key, and thus ends with a rowid value. The last byte
2904 ** of the header will therefore be the serial type of the rowid:
2906 ** The serial type of the final rowid will always be a single byte.
2908 ** to ignore the rowid at the end of key1.
2969 ** rowid field were equal, then clear the PREFIX_SEARCH flag and set
2970 ** pPKey2->rowid to the value of the rowid field in (pKey1, nKey1).
2977 pPKey2->rowid = mem1.u.i;
3013 ** Read the rowid (the last field in the record) and store it in *rowid
3019 sqlite3VdbeIdxRowid(sqlite3 *db, BtCursor *pCur, i64 *rowid) argument
[all...]
H A Dtclsqlite.c657 sqlite_int64 rowid
671 Tcl_ListObjAppendElement(0, pCmd, Tcl_NewWideIntObj(rowid));
2387 Tcl_WideInt rowid; local
2392 rowid = sqlite3_last_insert_rowid(pDb->db);
2394 Tcl_SetWideIntObj(pResult, rowid);
H A DsqliteInt.h777 ** The sqlite.lastRowid records the last insert rowid generated by an
1252 ** be set. An INTEGER PRIMARY KEY is used as the rowid for each row of
1253 ** the table. If a table has no INTEGER PRIMARY KEY, then a random rowid
1430 i64 rowid; /* Used by UNPACKED_PREFIX_SEARCH */ member in struct:UnpackedRecord
1439 #define UNPACKED_IGNORE_ROWID 0x0004 /* Ignore trailing rowid on key1 */
1667 ynVar iColumn; /* TK_COLUMN: column index. -1 for rowid.
2077 #define SRT_Table 8 /* Store result as data with an automatic rowid */
2107 int regCtr; /* Memory register holding the rowid counter */
2210 int regRowid; /* Register holding rowid of CREATE TABLE entry */
/external/chromium_org/third_party/sqlite/src/tool/
H A Dshowwal.c209 i64 rowid; local
227 i = decodeVarint(a, &rowid);
230 sprintf(&zDesc[nDesc], "rowid: %lld ", rowid);
H A Dshowdb.c296 i64 rowid; local
318 i = decodeVarint(a, &rowid);
321 sprintf(&zDesc[nDesc], "r: %lld ", rowid);
382 printf(" key: lx=left-child n=payload-size r=rowid\n");
/external/chromium_org/chrome/browser/extensions/activity_log/
H A Dcounting_policy.cc115 " activitylog_compressed.rowid AS activity_id\n"
259 // 2a. If found, increment the count using update_str and the rowid found in
263 "SELECT rowid FROM " + std::string(kTableName) +
270 " WHERE rowid = ?";
378 int64 rowid = locate_statement.ColumnInt64(0); local
383 update_statement.BindInt64(2, rowid);
542 base::StringPrintf("DELETE FROM %s WHERE rowid = ?", kTableName);
/external/chromium_org/third_party/sqlite/src/ext/fts1/
H A Dfulltext.c548 /* CONTENT_INSERT */ "insert into %_content (rowid, content) values (?, ?)",
549 /* CONTENT_SELECT */ "select content from %_content where rowid = ?",
550 /* CONTENT_DELETE */ "delete from %_content where rowid = ?",
553 "select rowid, doclist from %_term where term = ? and first = ?",
558 /* TERM_UPDATE */ "update %_term set doclist = ? where rowid = ?",
559 /* TERM_DELETE */ "delete from %_term where rowid = ?",
663 /* insert into %_content (rowid, content) values ([rowid], [zContent]) */
664 static int content_insert(fulltext_vtab *v, sqlite3_value *rowid, argument
670 rc = sqlite3_bind_value(s, 1, rowid);
719 term_select(fulltext_vtab *v, const char *zTerm, int nTerm, sqlite_int64 iFirst, sqlite_int64 *rowid, DocList *out) argument
802 term_update(fulltext_vtab *v, sqlite_int64 rowid, DocList *doclist) argument
818 term_delete(fulltext_vtab *v, sqlite_int64 rowid) argument
[all...]
H A Dfts1.c10 /* The flaw is that fts1 uses the content table's unaliased rowid as
11 ** the unique docid. fts1 embeds the rowid in the index it builds,
12 ** and expects the rowid to not change. The SQLite VACUUM operation
1023 QUERY_ROWID, /* lookup by rowid */
1063 /* CONTENT_SELECT */ "select * from %_content where rowid = ?",
1065 /* CONTENT_DELETE */ "delete from %_content where rowid = ?",
1068 "select rowid, doclist from %_term where term = ? and segment = ?",
1072 "insert into %_term (rowid, term, segment, doclist) values (?, ?, ?, ?)",
1073 /* TERM_UPDATE */ "update %_term set doclist = ? where rowid = ?",
1074 /* TERM_DELETE */ "delete from %_term where rowid
1245 content_insert(fulltext_vtab *v, sqlite3_value *rowid, sqlite3_value **pValues) argument
1353 term_select(fulltext_vtab *v, const char *pTerm, int nTerm, int iSegment, sqlite_int64 *rowid, DocList *out) argument
1475 term_update(fulltext_vtab *v, sqlite_int64 rowid, DocList *doclist) argument
1490 term_delete(fulltext_vtab *v, sqlite_int64 rowid) argument
3171 sqlite_int64 rowid = sqlite3_value_int64(ppArg[0]); local
[all...]
/external/chromium_org/third_party/sqlite/src/ext/fts2/
H A Dfts2.c10 /* The flaw is that fts2 uses the content table's unaliased rowid as
11 ** the unique docid. fts2 embeds the rowid in the index it builds,
12 ** and expects the rowid to not change. The SQLite VACUUM operation
1943 QUERY_ROWID, /* lookup by rowid */
1979 /* CONTENT_SELECT */ "select * from %_content where rowid = ?",
1981 /* CONTENT_DELETE */ "delete from %_content where rowid = ?",
1982 /* CONTENT_EXISTS */ "select rowid from %_content limit 1",
1985 /* BLOCK_SELECT */ "select block from %_segments where rowid = ?",
1986 /* BLOCK_DELETE */ "delete from %_segments where rowid between ? and ?",
2040 "select block from %_segments where rowid betwee
2185 content_insert(fulltext_vtab *v, sqlite3_value *rowid, sqlite3_value **pValues) argument
6284 sqlite_int64 rowid = sqlite3_value_int64(ppArg[0]); local
[all...]
/external/chromium_org/third_party/sqlite/amalgamation/
H A Dsqlite3.c2070 ** integer key called the [ROWID | "rowid"]. ^The rowid is always available
2074 ** is another alias for the rowid.
2076 ** ^This routine returns the [rowid] of the most recent
2081 ** ^(If an [INSERT] occurs within a trigger, then the [rowid] of the inserted
2104 ** function is running and thus changes the last insert [rowid],
2107 ** last insert [rowid].
4789 ** ^The final callback parameter is the [rowid] of the row.
4790 ** ^In the case of an update, this is the [rowid] after the update takes place.
4969 ** ^If the specified column is "rowid", "oi
9775 i64 rowid; /* Used by UNPACKED_PREFIX_SEARCH */ member in struct:UnpackedRecord
36052 sqlite3RowSetInsert(RowSet *p, i64 rowid) argument
60144 sqlite3VdbeIdxRowid(sqlite3 *db, BtCursor *pCur, i64 *rowid) argument
62745 i64 rowid; member in struct:vdbeExecUnion::OP_IdxRowid_stack_vars
62874 sqlite_int64 rowid; member in struct:vdbeExecUnion::OP_VUpdate_stack_vars
[all...]
/external/sqlite/dist/orig/
H A Dsqlite3.c1943 ** integer key called the [ROWID | "rowid"]. ^The rowid is always available
1947 ** is another alias for the rowid.
1949 ** ^The sqlite3_last_insert_rowid(D) interface returns the [rowid] of the
1950 ** most recent successful [INSERT] into a rowid table or [virtual table]
1953 ** ^If no successful [INSERT]s into rowid tables
1958 ** method, then this routine will return the [rowid] of the inserted
1982 ** function is running and thus changes the last insert [rowid],
1985 ** last insert [rowid].
5026 ** a rowid tabl
39799 sqlite3RowSetInsert(RowSet *p, i64 rowid) argument
66042 sqlite3VdbeIdxRowid(sqlite3 *db, BtCursor *pCur, i64 *rowid) argument
72800 i64 rowid; local
74283 sqlite_int64 rowid; local
[all...]
/external/sqlite/dist/
H A Dsqlite3.c1943 ** integer key called the [ROWID | "rowid"]. ^The rowid is always available
1947 ** is another alias for the rowid.
1949 ** ^The sqlite3_last_insert_rowid(D) interface returns the [rowid] of the
1950 ** most recent successful [INSERT] into a rowid table or [virtual table]
1953 ** ^If no successful [INSERT]s into rowid tables
1958 ** method, then this routine will return the [rowid] of the inserted
1982 ** function is running and thus changes the last insert [rowid],
1985 ** last insert [rowid].
5026 ** a rowid tabl
39819 sqlite3RowSetInsert(RowSet *p, i64 rowid) argument
66062 sqlite3VdbeIdxRowid(sqlite3 *db, BtCursor *pCur, i64 *rowid) argument
72820 i64 rowid; local
74303 sqlite_int64 rowid; local
[all...]

Completed in 1463 milliseconds