1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/persistentdata/persistentstorage/sqlite3api/SQLite/opcodes.h Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,177 @@
1.4 +/* Automatically generated. Do not edit */
1.5 +/* See the mkopcodeh.awk script for details */
1.6 +#define OP_VNext 1
1.7 +#define OP_Affinity 2
1.8 +#define OP_Column 3
1.9 +#define OP_SetCookie 4
1.10 +#define OP_Real 125 /* same as TK_FLOAT */
1.11 +#define OP_Sequence 5
1.12 +#define OP_MoveGt 6
1.13 +#define OP_Ge 72 /* same as TK_GE */
1.14 +#define OP_RowKey 7
1.15 +#define OP_SCopy 8
1.16 +#define OP_Eq 68 /* same as TK_EQ */
1.17 +#define OP_OpenWrite 9
1.18 +#define OP_NotNull 66 /* same as TK_NOTNULL */
1.19 +#define OP_If 10
1.20 +#define OP_ToInt 141 /* same as TK_TO_INT */
1.21 +#define OP_String8 88 /* same as TK_STRING */
1.22 +#define OP_VRowid 11
1.23 +#define OP_CollSeq 12
1.24 +#define OP_OpenRead 13
1.25 +#define OP_Expire 14
1.26 +#define OP_AutoCommit 15
1.27 +#define OP_Gt 69 /* same as TK_GT */
1.28 +#define OP_Pagecount 17
1.29 +#define OP_IntegrityCk 18
1.30 +#define OP_Sort 19
1.31 +#define OP_Copy 20
1.32 +#define OP_Trace 21
1.33 +#define OP_Function 22
1.34 +#define OP_IfNeg 23
1.35 +#define OP_And 61 /* same as TK_AND */
1.36 +#define OP_Subtract 79 /* same as TK_MINUS */
1.37 +#define OP_Noop 24
1.38 +#define OP_Return 25
1.39 +#define OP_Remainder 82 /* same as TK_REM */
1.40 +#define OP_NewRowid 26
1.41 +#define OP_Multiply 80 /* same as TK_STAR */
1.42 +#define OP_Variable 27
1.43 +#define OP_String 28
1.44 +#define OP_RealAffinity 29
1.45 +#define OP_VRename 30
1.46 +#define OP_ParseSchema 31
1.47 +#define OP_VOpen 32
1.48 +#define OP_Close 33
1.49 +#define OP_CreateIndex 34
1.50 +#define OP_IsUnique 35
1.51 +#define OP_NotFound 36
1.52 +#define OP_Int64 37
1.53 +#define OP_MustBeInt 38
1.54 +#define OP_Halt 39
1.55 +#define OP_Rowid 40
1.56 +#define OP_IdxLT 41
1.57 +#define OP_AddImm 42
1.58 +#define OP_Statement 43
1.59 +#define OP_RowData 44
1.60 +#define OP_MemMax 45
1.61 +#define OP_Or 60 /* same as TK_OR */
1.62 +#define OP_NotExists 46
1.63 +#define OP_Gosub 47
1.64 +#define OP_Divide 81 /* same as TK_SLASH */
1.65 +#define OP_Integer 48
1.66 +#define OP_ToNumeric 140 /* same as TK_TO_NUMERIC*/
1.67 +#define OP_Prev 49
1.68 +#define OP_Concat 83 /* same as TK_CONCAT */
1.69 +#define OP_BitAnd 74 /* same as TK_BITAND */
1.70 +#define OP_VColumn 50
1.71 +#define OP_CreateTable 51
1.72 +#define OP_Last 52
1.73 +#define OP_IsNull 65 /* same as TK_ISNULL */
1.74 +#define OP_IncrVacuum 53
1.75 +#define OP_IdxRowid 54
1.76 +#define OP_ShiftRight 77 /* same as TK_RSHIFT */
1.77 +#define OP_ResetCount 55
1.78 +#define OP_FifoWrite 56
1.79 +#define OP_ContextPush 57
1.80 +#define OP_Yield 58
1.81 +#define OP_DropTrigger 59
1.82 +#define OP_DropIndex 62
1.83 +#define OP_IdxGE 63
1.84 +#define OP_IdxDelete 64
1.85 +#define OP_Vacuum 73
1.86 +#define OP_MoveLe 84
1.87 +#define OP_IfNot 85
1.88 +#define OP_DropTable 86
1.89 +#define OP_MakeRecord 89
1.90 +#define OP_ToBlob 139 /* same as TK_TO_BLOB */
1.91 +#define OP_ResultRow 90
1.92 +#define OP_Delete 91
1.93 +#define OP_AggFinal 92
1.94 +#define OP_Compare 93
1.95 +#define OP_ShiftLeft 76 /* same as TK_LSHIFT */
1.96 +#define OP_Goto 94
1.97 +#define OP_TableLock 95
1.98 +#define OP_FifoRead 96
1.99 +#define OP_Clear 97
1.100 +#define OP_MoveLt 98
1.101 +#define OP_Le 70 /* same as TK_LE */
1.102 +#define OP_VerifyCookie 99
1.103 +#define OP_AggStep 100
1.104 +#define OP_ToText 138 /* same as TK_TO_TEXT */
1.105 +#define OP_Not 16 /* same as TK_NOT */
1.106 +#define OP_ToReal 142 /* same as TK_TO_REAL */
1.107 +#define OP_SetNumColumns 101
1.108 +#define OP_Transaction 102
1.109 +#define OP_VFilter 103
1.110 +#define OP_Ne 67 /* same as TK_NE */
1.111 +#define OP_VDestroy 104
1.112 +#define OP_ContextPop 105
1.113 +#define OP_BitOr 75 /* same as TK_BITOR */
1.114 +#define OP_Next 106
1.115 +#define OP_IdxInsert 107
1.116 +#define OP_Lt 71 /* same as TK_LT */
1.117 +#define OP_Insert 108
1.118 +#define OP_Destroy 109
1.119 +#define OP_ReadCookie 110
1.120 +#define OP_ForceInt 111
1.121 +#define OP_LoadAnalysis 112
1.122 +#define OP_Explain 113
1.123 +#define OP_OpenPseudo 114
1.124 +#define OP_OpenEphemeral 115
1.125 +#define OP_Null 116
1.126 +#define OP_Move 117
1.127 +#define OP_Blob 118
1.128 +#define OP_Add 78 /* same as TK_PLUS */
1.129 +#define OP_Rewind 119
1.130 +#define OP_MoveGe 120
1.131 +#define OP_VBegin 121
1.132 +#define OP_VUpdate 122
1.133 +#define OP_IfZero 123
1.134 +#define OP_BitNot 87 /* same as TK_BITNOT */
1.135 +#define OP_VCreate 124
1.136 +#define OP_Found 126
1.137 +#define OP_IfPos 127
1.138 +#define OP_NullRow 128
1.139 +#define OP_Jump 129
1.140 +#define OP_Permutation 130
1.141 +
1.142 +/* The following opcode values are never used */
1.143 +#define OP_NotUsed_131 131
1.144 +#define OP_NotUsed_132 132
1.145 +#define OP_NotUsed_133 133
1.146 +#define OP_NotUsed_134 134
1.147 +#define OP_NotUsed_135 135
1.148 +#define OP_NotUsed_136 136
1.149 +#define OP_NotUsed_137 137
1.150 +
1.151 +
1.152 +/* Properties such as "out2" or "jump" that are specified in
1.153 +** comments following the "case" for each opcode in the vdbe.c
1.154 +** are encoded into bitvectors as follows:
1.155 +*/
1.156 +#define OPFLG_JUMP 0x0001 /* jump: P2 holds jmp target */
1.157 +#define OPFLG_OUT2_PRERELEASE 0x0002 /* out2-prerelease: */
1.158 +#define OPFLG_IN1 0x0004 /* in1: P1 is an input */
1.159 +#define OPFLG_IN2 0x0008 /* in2: P2 is an input */
1.160 +#define OPFLG_IN3 0x0010 /* in3: P3 is an input */
1.161 +#define OPFLG_OUT3 0x0020 /* out3: P3 is an output */
1.162 +#define OPFLG_INITIALIZER {\
1.163 +/* 0 */ 0x00, 0x01, 0x00, 0x00, 0x10, 0x02, 0x11, 0x00,\
1.164 +/* 8 */ 0x00, 0x00, 0x05, 0x02, 0x00, 0x00, 0x00, 0x00,\
1.165 +/* 16 */ 0x04, 0x02, 0x00, 0x01, 0x00, 0x00, 0x00, 0x05,\
1.166 +/* 24 */ 0x00, 0x04, 0x02, 0x02, 0x02, 0x04, 0x00, 0x00,\
1.167 +/* 32 */ 0x00, 0x00, 0x02, 0x11, 0x11, 0x02, 0x05, 0x00,\
1.168 +/* 40 */ 0x02, 0x11, 0x04, 0x00, 0x00, 0x0c, 0x11, 0x01,\
1.169 +/* 48 */ 0x02, 0x01, 0x00, 0x02, 0x01, 0x01, 0x02, 0x00,\
1.170 +/* 56 */ 0x04, 0x00, 0x00, 0x00, 0x2c, 0x2c, 0x00, 0x11,\
1.171 +/* 64 */ 0x00, 0x05, 0x05, 0x15, 0x15, 0x15, 0x15, 0x15,\
1.172 +/* 72 */ 0x15, 0x00, 0x2c, 0x2c, 0x2c, 0x2c, 0x2c, 0x2c,\
1.173 +/* 80 */ 0x2c, 0x2c, 0x2c, 0x2c, 0x11, 0x05, 0x00, 0x04,\
1.174 +/* 88 */ 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00,\
1.175 +/* 96 */ 0x01, 0x00, 0x11, 0x00, 0x00, 0x00, 0x00, 0x01,\
1.176 +/* 104 */ 0x00, 0x00, 0x01, 0x08, 0x00, 0x02, 0x02, 0x05,\
1.177 +/* 112 */ 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x02, 0x01,\
1.178 +/* 120 */ 0x11, 0x00, 0x00, 0x05, 0x00, 0x02, 0x11, 0x05,\
1.179 +/* 128 */ 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\
1.180 +/* 136 */ 0x00, 0x00, 0x04, 0x04, 0x04, 0x04, 0x04,}