Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(75)

Side by Side Diff: third_party/sqlite/sqlite-src-3070603/src/sqliteInt.h

Issue 826543003: [sql] Import reference version of SQLite 3.7.6.3. (Closed) Base URL: http://chromium.googlesource.com/chromium/src.git@master
Patch Set: gitignore forgot some files for me. Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 ** 2001 September 15 2 ** 2001 September 15
3 ** 3 **
4 ** The author disclaims copyright to this source code. In place of 4 ** The author disclaims copyright to this source code. In place of
5 ** a legal notice, here is a blessing: 5 ** a legal notice, here is a blessing:
6 ** 6 **
7 ** May you do good and not evil. 7 ** May you do good and not evil.
8 ** May you find forgiveness for yourself and forgive others. 8 ** May you find forgiveness for yourself and forgive others.
9 ** May you share freely, never taking more than you give. 9 ** May you share freely, never taking more than you give.
10 ** 10 **
(...skipping 2504 matching lines...) Expand 10 before | Expand all | Expand 10 after
2515 /* 2515 /*
2516 ** The ctype.h header is needed for non-ASCII systems. It is also 2516 ** The ctype.h header is needed for non-ASCII systems. It is also
2517 ** needed by FTS3 when FTS3 is included in the amalgamation. 2517 ** needed by FTS3 when FTS3 is included in the amalgamation.
2518 */ 2518 */
2519 #if !defined(SQLITE_ASCII) || \ 2519 #if !defined(SQLITE_ASCII) || \
2520 (defined(SQLITE_ENABLE_FTS3) && defined(SQLITE_AMALGAMATION)) 2520 (defined(SQLITE_ENABLE_FTS3) && defined(SQLITE_AMALGAMATION))
2521 # include <ctype.h> 2521 # include <ctype.h>
2522 #endif 2522 #endif
2523 2523
2524 /* 2524 /*
2525 ** The CoreServices.h and CoreFoundation.h headers are needed for excluding a
2526 ** -journal file from Time Machine backups when its associated database has
2527 ** previously been excluded by the client code.
2528 */
2529 #if defined(__APPLE__)
2530 #include <CoreServices/CoreServices.h>
2531 #include <CoreFoundation/CoreFoundation.h>
2532 #endif
2533
2534 /*
2535 ** The following macros mimic the standard library functions toupper(), 2525 ** The following macros mimic the standard library functions toupper(),
2536 ** isspace(), isalnum(), isdigit() and isxdigit(), respectively. The 2526 ** isspace(), isalnum(), isdigit() and isxdigit(), respectively. The
2537 ** sqlite versions only work for ASCII characters, regardless of locale. 2527 ** sqlite versions only work for ASCII characters, regardless of locale.
2538 */ 2528 */
2539 #ifdef SQLITE_ASCII 2529 #ifdef SQLITE_ASCII
2540 # define sqlite3Toupper(x) ((x)&~(sqlite3CtypeMap[(unsigned char)(x)]&0x20)) 2530 # define sqlite3Toupper(x) ((x)&~(sqlite3CtypeMap[(unsigned char)(x)]&0x20))
2541 # define sqlite3Isspace(x) (sqlite3CtypeMap[(unsigned char)(x)]&0x01) 2531 # define sqlite3Isspace(x) (sqlite3CtypeMap[(unsigned char)(x)]&0x01)
2542 # define sqlite3Isalnum(x) (sqlite3CtypeMap[(unsigned char)(x)]&0x06) 2532 # define sqlite3Isalnum(x) (sqlite3CtypeMap[(unsigned char)(x)]&0x06)
2543 # define sqlite3Isalpha(x) (sqlite3CtypeMap[(unsigned char)(x)]&0x02) 2533 # define sqlite3Isalpha(x) (sqlite3CtypeMap[(unsigned char)(x)]&0x02)
2544 # define sqlite3Isdigit(x) (sqlite3CtypeMap[(unsigned char)(x)]&0x04) 2534 # define sqlite3Isdigit(x) (sqlite3CtypeMap[(unsigned char)(x)]&0x04)
(...skipping 682 matching lines...) Expand 10 before | Expand all | Expand 10 after
3227 # define sqlite3MemdebugHasType(X,Y) 1 3217 # define sqlite3MemdebugHasType(X,Y) 1
3228 # define sqlite3MemdebugNoType(X,Y) 1 3218 # define sqlite3MemdebugNoType(X,Y) 1
3229 #endif 3219 #endif
3230 #define MEMTYPE_HEAP 0x01 /* General heap allocations */ 3220 #define MEMTYPE_HEAP 0x01 /* General heap allocations */
3231 #define MEMTYPE_LOOKASIDE 0x02 /* Might have been lookaside memory */ 3221 #define MEMTYPE_LOOKASIDE 0x02 /* Might have been lookaside memory */
3232 #define MEMTYPE_SCRATCH 0x04 /* Scratch allocations */ 3222 #define MEMTYPE_SCRATCH 0x04 /* Scratch allocations */
3233 #define MEMTYPE_PCACHE 0x08 /* Page cache allocations */ 3223 #define MEMTYPE_PCACHE 0x08 /* Page cache allocations */
3234 #define MEMTYPE_DB 0x10 /* Uses sqlite3DbMalloc, not sqlite_malloc */ 3224 #define MEMTYPE_DB 0x10 /* Uses sqlite3DbMalloc, not sqlite_malloc */
3235 3225
3236 #endif /* _SQLITEINT_H_ */ 3226 #endif /* _SQLITEINT_H_ */
OLDNEW
« no previous file with comments | « third_party/sqlite/sqlite-src-3070603/src/sqlite3ext.h ('k') | third_party/sqlite/sqlite-src-3070603/src/sqliteLimit.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698