/macosx-10.10/Security-57031.1.35/Security/sec/Security/ |
H A D | SecItemInternal.h | 40 CF_RETURNS_RETAINED CFDataRef _SecItemMakePersistentRef(CFTypeRef class, sqlite_int64 rowid);
|
H A D | SecItem.c | 447 sqlite_int64 rowid; local 448 if (_SecItemParsePersistentRef(result, NULL, &rowid)) { 449 *return_result = _SecItemMakePersistentRef(kSecClassIdentity, rowid); 504 /* A persistent ref is just the class and the rowid of the record. */ 505 CF_RETURNS_RETAINED CFDataRef _SecItemMakePersistentRef(CFTypeRef class, sqlite_int64 rowid) argument 508 if (rowid < 0) 513 OSWriteBigInt64(bytes + 4, 0, rowid); 528 sqlite_int64 rowid = OSReadBigInt64(bytes + 4, 0); local 546 *return_rowid = rowid;
|
/macosx-10.10/Security-57031.1.35/Security/sec/securityd/Regressions/ |
H A D | secd-70-engine-corrupt.c | 64 ok(SecDbExec(dbconn, CFSTR("UPDATE genp SET sha1=X'0000000000000000000000000000000000000000' WHERE rowid=5;"), &error), 65 "Corrupting rowid 5 by zeroing sha1: %@", error); 97 ok(SecDbExec(dbconn, CFSTR("DELETE FROM genp WHERE rowid=5;"), &error), 98 "Corrupting rowid 5 by deleting object: %@", error); 161 ok(SecDbExec(dbconn, CFSTR("UPDATE genp SET sha1=X'0000000000000000000000000000000000000000' WHERE rowid=5;"), &error), 162 "Corrupting rowid 5 by zeroing sha1: %@", error); 204 sqlite_int64 rowid = SecDbItemGetRowId((SecDbItemRef)object, NULL); 205 CFStringRef sql = CFStringCreateWithFormat(kCFAllocatorDefault, NULL, CFSTR("UPDATE genp SET sha1=X'0000000000000000000000000000000000000000' WHERE rowid=%lld;"), rowid); 207 "Corrupting rowid [all...] |
/macosx-10.10/Security-57031.1.35/Security/sec/securityd/ |
H A D | SecItemDb.c | 279 sqlite_int64 rowid) { 294 a_result = _SecItemMakePersistentRef(q->q_class->name, rowid); 312 CFDataRef pref = _SecItemMakePersistentRef(q->q_class->name, rowid); 332 sqlite_int64 rowid = sqlite3_column_int64(stmt, 0); 339 secwarning("ignoring corrupt %@,rowid=%" PRId64 " %@", q->q_class->name, rowid, q->q_error); 352 secerror("decode %@,rowid=%" PRId64 " failed (%" PRIdOSStatus "): %@", q->q_class->name, rowid, status, q->q_error); 362 // TODO: Use col 2 for key rowid and use both rowids in persistent ref. 383 CFTypeRef a_result = handle_result(q, item, rowid); [all...] |
H A D | SecDbItem.h | 168 bool SecDbItemSetRowId(SecDbItemRef item, sqlite3_int64 rowid, CFErrorRef *error);
|
H A D | SecDbItem.c | 528 SInt64 rowid = 0; local 570 CFNumberGetValue(value, kCFNumberSInt64Type, &rowid); 616 rowid, 1055 SecDbError(SQLITE_ERROR, error, CFSTR("rowid %@ is not a 64 bit number"), number); 1061 static CFNumberRef SecDbItemCreateRowId(SecDbItemRef item, sqlite3_int64 rowid, CFErrorRef *error) { argument 1062 return CFNumberCreate(CFGetAllocator(item), kCFNumberSInt64Type, &rowid); 1065 bool SecDbItemSetRowId(SecDbItemRef item, sqlite3_int64 rowid, CFErrorRef *error) { argument 1069 CFNumberRef value = SecDbItemCreateRowId(item, rowid, error); 1090 sqlite3_int64 rowid = sqlite3_last_insert_rowid(SecDbHandle(dbconn)); local 1091 return SecDbItemSetRowId(item, rowid, erro [all...] |
H A D | SecDbKeychainItem.c | 974 sqlite3_int64 rowid; local 975 if (!_SecItemParsePersistentRef(ref, &className, &rowid)) 981 return SecDbItemSetRowId(item, rowid, error);
|
/macosx-10.10/vim-55/runtime/syntax/ |
H A D | sqlj.vim | 58 syn keyword sqljType rowid varchar varchar2 float integer
|
H A D | sqloracle.vim | 45 syn keyword sqlType mlslabel number raw rowid varchar varchar2 varray
|
H A D | sqlforms.vim | 121 syntax keyword sqlType char character date long raw mlslabel number rowid
|
H A D | progress.vim | 170 syn keyword ProgressOperator return-ins[erted] return-to-start-di[r] reverse-from right right-align[ed] right-trim round row row-ma[rkers] row-of rowid rule rule-row rule-y save-as save-file 179 syn keyword ProgressOperator title-dc[olor] title-fgc[olor] title-fo[nt] to-rowid toggle-box tool-bar top topic total trailing trunc[ate] type unbuff[ered] unique-id unload unsubscribe upper use use-dic[t-exps]
|
H A D | sqlanywhere.vim | 49 syn keyword sqlFunction rowid grouping stddev variance rank
|
/macosx-10.10/emacs-93/emacs/lisp/progmodes/ |
H A D | sql.el | 1156 "rowid" "second" "smallint" "time" "timestamp" "urowid" "varchar"
|
/macosx-10.10/Heimdal-398.1.2/lib/sqlite/ |
H A D | sqlite3.c | 2130 ** integer key called the [ROWID | "rowid"]. ^The rowid is always available 2134 ** is another alias for the rowid. 2136 ** ^This routine returns the [rowid] of the most recent 2139 ** records the last insert rowid of both ordinary tables and [virtual tables]. 2144 ** method, then this routine will return the [rowid] of the inserted 2168 ** function is running and thus changes the last insert [rowid], 2171 ** last insert [rowid]. 4983 ** ^The final callback parameter is the [rowid] of the row. 4984 ** ^In the case of an update, this is the [rowid] afte 10082 i64 rowid; /* Used by UNPACKED_PREFIX_SEARCH */ member in struct:UnpackedRecord 37154 sqlite3RowSetInsert(RowSet *p, i64 rowid) argument 61354 sqlite3VdbeIdxRowid(sqlite3 *db, BtCursor *pCur, i64 *rowid) argument 63954 i64 rowid; member in struct:vdbeExecUnion::OP_IdxRowid_stack_vars 64083 sqlite_int64 rowid; member in struct:vdbeExecUnion::OP_VUpdate_stack_vars [all...] |