A 341 ext/gd/libgd/gdkanji.c #define ustrcpy(A,B) (strcpy((char*)(A),(const char*)(B))) A 203 ext/hash/hash_gost.c A(u, l, r); \ A 126 ext/mbstring/libmbfl/filters/mbfilter_uuencode.c int A, B, C, D = UUDEC(c); A 127 ext/mbstring/libmbfl/filters/mbfilter_uuencode.c A = (filter->cache >> 16) & 0xff; A 132 ext/mbstring/libmbfl/filters/mbfilter_uuencode.c CK((*filter->output_function)( (A << 2) | (B >> 4), filter->data)); A 465 ext/pdo_sqlite/sqlite/src/btree.c #define getVarint32(A,B) ((*B=*(A))<=0x7f?1:sqlite3GetVarint32(A,B)) A 218 ext/pdo_sqlite/sqlite/src/date.c int Y, M, D, A, B, X1, X2; A 234 ext/pdo_sqlite/sqlite/src/date.c A = Y/100; A 235 ext/pdo_sqlite/sqlite/src/date.c B = 2 - A + (A/4); A 335 ext/pdo_sqlite/sqlite/src/date.c int Z, A, B, C, D, E, X1; A 343 ext/pdo_sqlite/sqlite/src/date.c A = (Z - 1867216.25)/36524.25; A 344 ext/pdo_sqlite/sqlite/src/date.c A = Z + 1 + A - (A/4); A 345 ext/pdo_sqlite/sqlite/src/date.c B = A + 1524; A 44 ext/pdo_sqlite/sqlite/src/os_common.h #define OSTRACE4(X,Y,Z,A) if( sqlite3_os_trace ) sqlite3DebugPrintf(X,Y,Z,A) A 45 ext/pdo_sqlite/sqlite/src/os_common.h #define OSTRACE5(X,Y,Z,A,B) if( sqlite3_os_trace ) sqlite3DebugPrintf(X,Y,Z,A,B) A 47 ext/pdo_sqlite/sqlite/src/os_common.h if(sqlite3_os_trace) sqlite3DebugPrintf(X,Y,Z,A,B,C) A 49 ext/pdo_sqlite/sqlite/src/os_common.h if(sqlite3_os_trace) sqlite3DebugPrintf(X,Y,Z,A,B,C,D) A 113 ext/pdo_sqlite/sqlite/src/os_unix.c if(sqlite3CrashTestEnable){ return X(A,B,C); } A 93 ext/pdo_sqlite/sqlite/src/pager.h #define sqlite3PagerGet(A,B,C) sqlite3PagerAcquire(A,B,C,0) A 117 ext/pdo_sqlite/sqlite/src/parse.y transtype(A) ::= . {A = TK_DEFERRED;} A 118 ext/pdo_sqlite/sqlite/src/parse.y transtype(A) ::= DEFERRED(X). {A = @X;} A 119 ext/pdo_sqlite/sqlite/src/parse.y transtype(A) ::= IMMEDIATE(X). {A = @X;} A 120 ext/pdo_sqlite/sqlite/src/parse.y transtype(A) ::= EXCLUSIVE(X). {A = @X;} A 132 ext/pdo_sqlite/sqlite/src/parse.y ifnotexists(A) ::= . {A = 0;} A 133 ext/pdo_sqlite/sqlite/src/parse.y ifnotexists(A) ::= IF NOT EXISTS. {A = 1;} A 136 ext/pdo_sqlite/sqlite/src/parse.y temp(A) ::= TEMP. {A = 1;} A 138 ext/pdo_sqlite/sqlite/src/parse.y temp(A) ::= . {A = 0;} A 154 ext/pdo_sqlite/sqlite/src/parse.y column(A) ::= columnid(X) type carglist. { A 155 ext/pdo_sqlite/sqlite/src/parse.y A.z = X.z; A 156 ext/pdo_sqlite/sqlite/src/parse.y A.n = (pParse->sLastToken.z-X.z) + pParse->sLastToken.n; A 158 ext/pdo_sqlite/sqlite/src/parse.y columnid(A) ::= nm(X). { A 160 ext/pdo_sqlite/sqlite/src/parse.y A = X; A 168 ext/pdo_sqlite/sqlite/src/parse.y id(A) ::= ID(X). {A = X;} A 214 ext/pdo_sqlite/sqlite/src/parse.y ids(A) ::= ID|STRING(X). {A = X;} A 219 ext/pdo_sqlite/sqlite/src/parse.y nm(A) ::= ID(X). {A = X;} A 220 ext/pdo_sqlite/sqlite/src/parse.y nm(A) ::= STRING(X). {A = X;} A 221 ext/pdo_sqlite/sqlite/src/parse.y nm(A) ::= JOIN_KW(X). {A = X;} A 230 ext/pdo_sqlite/sqlite/src/parse.y typetoken(A) ::= typename(X). {A = X;} A 231 ext/pdo_sqlite/sqlite/src/parse.y typetoken(A) ::= typename(X) LP signed RP(Y). { A 232 ext/pdo_sqlite/sqlite/src/parse.y A.z = X.z; A 233 ext/pdo_sqlite/sqlite/src/parse.y A.n = &Y.z[Y.n] - X.z; A 235 ext/pdo_sqlite/sqlite/src/parse.y typetoken(A) ::= typename(X) LP signed COMMA signed RP(Y). { A 236 ext/pdo_sqlite/sqlite/src/parse.y A.z = X.z; A 237 ext/pdo_sqlite/sqlite/src/parse.y A.n = &Y.z[Y.n] - X.z; A 240 ext/pdo_sqlite/sqlite/src/parse.y typename(A) ::= ids(X). {A = X;} A 241 ext/pdo_sqlite/sqlite/src/parse.y typename(A) ::= typename(X) ids(Y). {A.z=X.z; A.n=Y.n+(Y.z-X.z);} A 289 ext/pdo_sqlite/sqlite/src/parse.y refargs(A) ::= . { A = OE_Restrict * 0x010101; } A 290 ext/pdo_sqlite/sqlite/src/parse.y refargs(A) ::= refargs(X) refarg(Y). { A = (X & Y.mask) | Y.value; } A 292 ext/pdo_sqlite/sqlite/src/parse.y refarg(A) ::= MATCH nm. { A.value = 0; A.mask = 0x000000; } A 293 ext/pdo_sqlite/sqlite/src/parse.y refarg(A) ::= ON DELETE refact(X). { A.value = X; A.mask = 0x0000ff; } A 294 ext/pdo_sqlite/sqlite/src/parse.y refarg(A) ::= ON UPDATE refact(X). { A.value = X<<8; A.mask = 0x00ff00; } A 295 ext/pdo_sqlite/sqlite/src/parse.y refarg(A) ::= ON INSERT refact(X). { A.value = X<<16; A.mask = 0xff0000; } A 297 ext/pdo_sqlite/sqlite/src/parse.y refact(A) ::= SET NULL. { A = OE_SetNull; } A 298 ext/pdo_sqlite/sqlite/src/parse.y refact(A) ::= SET DEFAULT. { A = OE_SetDflt; } A 299 ext/pdo_sqlite/sqlite/src/parse.y refact(A) ::= CASCADE. { A = OE_Cascade; } A 300 ext/pdo_sqlite/sqlite/src/parse.y refact(A) ::= RESTRICT. { A = OE_Restrict; } A 302 ext/pdo_sqlite/sqlite/src/parse.y defer_subclause(A) ::= NOT DEFERRABLE init_deferred_pred_opt(X). {A = X;} A 303 ext/pdo_sqlite/sqlite/src/parse.y defer_subclause(A) ::= DEFERRABLE init_deferred_pred_opt(X). {A = X;} A 305 ext/pdo_sqlite/sqlite/src/parse.y init_deferred_pred_opt(A) ::= . {A = 0;} A 306 ext/pdo_sqlite/sqlite/src/parse.y init_deferred_pred_opt(A) ::= INITIALLY DEFERRED. {A = 1;} A 307 ext/pdo_sqlite/sqlite/src/parse.y init_deferred_pred_opt(A) ::= INITIALLY IMMEDIATE. {A = 0;} A 312 ext/pdo_sqlite/sqlite/src/parse.y conslist_opt(A) ::= . {A.n = 0; A.z = 0;} A 313 ext/pdo_sqlite/sqlite/src/parse.y conslist_opt(A) ::= COMMA(X) conslist. {A = X;} A 329 ext/pdo_sqlite/sqlite/src/parse.y defer_subclause_opt(A) ::= . {A = 0;} A 330 ext/pdo_sqlite/sqlite/src/parse.y defer_subclause_opt(A) ::= defer_subclause(X). {A = X;} A 338 ext/pdo_sqlite/sqlite/src/parse.y onconf(A) ::= . {A = OE_Default;} A 339 ext/pdo_sqlite/sqlite/src/parse.y onconf(A) ::= ON CONFLICT resolvetype(X). {A = X;} A 340 ext/pdo_sqlite/sqlite/src/parse.y orconf(A) ::= . {A = OE_Default;} A 341 ext/pdo_sqlite/sqlite/src/parse.y orconf(A) ::= OR resolvetype(X). {A = X;} A 342 ext/pdo_sqlite/sqlite/src/parse.y resolvetype(A) ::= raisetype(X). {A = X;} A 343 ext/pdo_sqlite/sqlite/src/parse.y resolvetype(A) ::= IGNORE. {A = OE_Ignore;} A 344 ext/pdo_sqlite/sqlite/src/parse.y resolvetype(A) ::= REPLACE. {A = OE_Replace;} A 352 ext/pdo_sqlite/sqlite/src/parse.y ifexists(A) ::= IF EXISTS. {A = 1;} A 353 ext/pdo_sqlite/sqlite/src/parse.y ifexists(A) ::= . {A = 0;} A 378 ext/pdo_sqlite/sqlite/src/parse.y select(A) ::= oneselect(X). {A = X;} A 380 ext/pdo_sqlite/sqlite/src/parse.y select(A) ::= select(X) multiselect_op(Y) oneselect(Z). { A 385 ext/pdo_sqlite/sqlite/src/parse.y A = Z; A 388 ext/pdo_sqlite/sqlite/src/parse.y multiselect_op(A) ::= UNION(OP). {A = @OP;} A 389 ext/pdo_sqlite/sqlite/src/parse.y multiselect_op(A) ::= UNION ALL. {A = TK_ALL;} A 390 ext/pdo_sqlite/sqlite/src/parse.y multiselect_op(A) ::= EXCEPT|INTERSECT(OP). {A = @OP;} A 392 ext/pdo_sqlite/sqlite/src/parse.y oneselect(A) ::= SELECT distinct(D) selcollist(W) from(X) where_opt(Y) A 394 ext/pdo_sqlite/sqlite/src/parse.y A = sqlite3SelectNew(W,X,Y,P,Q,Z,D,L.pLimit,L.pOffset); A 401 ext/pdo_sqlite/sqlite/src/parse.y distinct(A) ::= DISTINCT. {A = 1;} A 402 ext/pdo_sqlite/sqlite/src/parse.y distinct(A) ::= ALL. {A = 0;} A 403 ext/pdo_sqlite/sqlite/src/parse.y distinct(A) ::= . {A = 0;} A 414 ext/pdo_sqlite/sqlite/src/parse.y sclp(A) ::= selcollist(X) COMMA. {A = X;} A 415 ext/pdo_sqlite/sqlite/src/parse.y sclp(A) ::= . {A = 0;} A 416 ext/pdo_sqlite/sqlite/src/parse.y selcollist(A) ::= sclp(P) expr(X) as(Y). { A 417 ext/pdo_sqlite/sqlite/src/parse.y A = sqlite3ExprListAppend(P,X,Y.n?&Y:0); A 419 ext/pdo_sqlite/sqlite/src/parse.y selcollist(A) ::= sclp(P) STAR. { A 420 ext/pdo_sqlite/sqlite/src/parse.y A = sqlite3ExprListAppend(P, sqlite3Expr(TK_ALL, 0, 0, 0), 0); A 422 ext/pdo_sqlite/sqlite/src/parse.y selcollist(A) ::= sclp(P) nm(X) DOT STAR. { A 425 ext/pdo_sqlite/sqlite/src/parse.y A = sqlite3ExprListAppend(P, sqlite3Expr(TK_DOT, pLeft, pRight, 0), 0); A 446 ext/pdo_sqlite/sqlite/src/parse.y from(A) ::= . {A = sqliteMalloc(sizeof(*A));} A 447 ext/pdo_sqlite/sqlite/src/parse.y from(A) ::= FROM seltablist(X). { A 448 ext/pdo_sqlite/sqlite/src/parse.y A = X; A 449 ext/pdo_sqlite/sqlite/src/parse.y sqlite3SrcListShiftJoinType(A); A 455 ext/pdo_sqlite/sqlite/src/parse.y stl_prefix(A) ::= seltablist(X) joinop(Y). { A 456 ext/pdo_sqlite/sqlite/src/parse.y A = X; A 457 ext/pdo_sqlite/sqlite/src/parse.y if( A && A->nSrc>0 ) A->a[A->nSrc-1].jointype = Y; A 459 ext/pdo_sqlite/sqlite/src/parse.y stl_prefix(A) ::= . {A = 0;} A 460 ext/pdo_sqlite/sqlite/src/parse.y seltablist(A) ::= stl_prefix(X) nm(Y) dbnm(D) as(Z) on_opt(N) using_opt(U). { A 461 ext/pdo_sqlite/sqlite/src/parse.y A = sqlite3SrcListAppendFromTerm(X,&Y,&D,&Z,0,N,U); A 464 ext/pdo_sqlite/sqlite/src/parse.y seltablist(A) ::= stl_prefix(X) LP seltablist_paren(S) RP A 466 ext/pdo_sqlite/sqlite/src/parse.y A = sqlite3SrcListAppendFromTerm(X,0,0,&Z,S,N,U); A 475 ext/pdo_sqlite/sqlite/src/parse.y seltablist_paren(A) ::= select(S). {A = S;} A 476 ext/pdo_sqlite/sqlite/src/parse.y seltablist_paren(A) ::= seltablist(F). { A 478 ext/pdo_sqlite/sqlite/src/parse.y A = sqlite3SelectNew(0,F,0,0,0,0,0,0,0); A 483 ext/pdo_sqlite/sqlite/src/parse.y dbnm(A) ::= . {A.z=0; A.n=0;} A 484 ext/pdo_sqlite/sqlite/src/parse.y dbnm(A) ::= DOT nm(X). {A = X;} A 488 ext/pdo_sqlite/sqlite/src/parse.y fullname(A) ::= nm(X) dbnm(Y). {A = sqlite3SrcListAppend(0,&X,&Y);} A 493 ext/pdo_sqlite/sqlite/src/parse.y joinop(X) ::= JOIN_KW(A) JOIN. { X = sqlite3JoinType(pParse,&A,0,0); } A 494 ext/pdo_sqlite/sqlite/src/parse.y joinop(X) ::= JOIN_KW(A) nm(B) JOIN. { X = sqlite3JoinType(pParse,&A,&B,0); } A 495 ext/pdo_sqlite/sqlite/src/parse.y joinop(X) ::= JOIN_KW(A) nm(B) nm(C) JOIN. A 496 ext/pdo_sqlite/sqlite/src/parse.y { X = sqlite3JoinType(pParse,&A,&B,&C); } A 516 ext/pdo_sqlite/sqlite/src/parse.y orderby_opt(A) ::= . {A = 0;} A 517 ext/pdo_sqlite/sqlite/src/parse.y orderby_opt(A) ::= ORDER BY sortlist(X). {A = X;} A 518 ext/pdo_sqlite/sqlite/src/parse.y sortlist(A) ::= sortlist(X) COMMA sortitem(Y) sortorder(Z). { A 519 ext/pdo_sqlite/sqlite/src/parse.y A = sqlite3ExprListAppend(X,Y,0); A 520 ext/pdo_sqlite/sqlite/src/parse.y if( A ) A->a[A->nExpr-1].sortOrder = Z; A 522 ext/pdo_sqlite/sqlite/src/parse.y sortlist(A) ::= sortitem(Y) sortorder(Z). { A 523 ext/pdo_sqlite/sqlite/src/parse.y A = sqlite3ExprListAppend(0,Y,0); A 524 ext/pdo_sqlite/sqlite/src/parse.y if( A && A->a ) A->a[0].sortOrder = Z; A 526 ext/pdo_sqlite/sqlite/src/parse.y sortitem(A) ::= expr(X). {A = X;} A 530 ext/pdo_sqlite/sqlite/src/parse.y sortorder(A) ::= ASC. {A = SQLITE_SO_ASC;} A 531 ext/pdo_sqlite/sqlite/src/parse.y sortorder(A) ::= DESC. {A = SQLITE_SO_DESC;} A 532 ext/pdo_sqlite/sqlite/src/parse.y sortorder(A) ::= . {A = SQLITE_SO_ASC;} A 536 ext/pdo_sqlite/sqlite/src/parse.y groupby_opt(A) ::= . {A = 0;} A 537 ext/pdo_sqlite/sqlite/src/parse.y groupby_opt(A) ::= GROUP BY exprlist(X). {A = X;} A 541 ext/pdo_sqlite/sqlite/src/parse.y having_opt(A) ::= . {A = 0;} A 542 ext/pdo_sqlite/sqlite/src/parse.y having_opt(A) ::= HAVING expr(X). {A = X;} A 557 ext/pdo_sqlite/sqlite/src/parse.y limit_opt(A) ::= . {A.pLimit = 0; A.pOffset = 0;} A 558 ext/pdo_sqlite/sqlite/src/parse.y limit_opt(A) ::= LIMIT expr(X). {A.pLimit = X; A.pOffset = 0;} A 559 ext/pdo_sqlite/sqlite/src/parse.y limit_opt(A) ::= LIMIT expr(X) OFFSET expr(Y). A 560 ext/pdo_sqlite/sqlite/src/parse.y {A.pLimit = X; A.pOffset = Y;} A 561 ext/pdo_sqlite/sqlite/src/parse.y limit_opt(A) ::= LIMIT expr(X) COMMA expr(Y). A 562 ext/pdo_sqlite/sqlite/src/parse.y {A.pOffset = X; A.pLimit = Y;} A 571 ext/pdo_sqlite/sqlite/src/parse.y where_opt(A) ::= . {A = 0;} A 572 ext/pdo_sqlite/sqlite/src/parse.y where_opt(A) ::= WHERE expr(X). {A = X;} A 582 ext/pdo_sqlite/sqlite/src/parse.y setlist(A) ::= setlist(Z) COMMA nm(X) EQ expr(Y). A 583 ext/pdo_sqlite/sqlite/src/parse.y {A = sqlite3ExprListAppend(Z,Y,&X);} A 584 ext/pdo_sqlite/sqlite/src/parse.y setlist(A) ::= nm(X) EQ expr(Y). {A = sqlite3ExprListAppend(0,Y,&X);} A 597 ext/pdo_sqlite/sqlite/src/parse.y insert_cmd(A) ::= INSERT orconf(R). {A = R;} A 598 ext/pdo_sqlite/sqlite/src/parse.y insert_cmd(A) ::= REPLACE. {A = OE_Replace;} A 604 ext/pdo_sqlite/sqlite/src/parse.y itemlist(A) ::= itemlist(X) COMMA expr(Y). {A = sqlite3ExprListAppend(X,Y,0);} A 605 ext/pdo_sqlite/sqlite/src/parse.y itemlist(A) ::= expr(X). {A = sqlite3ExprListAppend(0,X,0);} A 612 ext/pdo_sqlite/sqlite/src/parse.y inscollist_opt(A) ::= . {A = 0;} A 613 ext/pdo_sqlite/sqlite/src/parse.y inscollist_opt(A) ::= LP inscollist(X) RP. {A = X;} A 614 ext/pdo_sqlite/sqlite/src/parse.y inscollist(A) ::= inscollist(X) COMMA nm(Y). {A = sqlite3IdListAppend(X,&Y);} A 615 ext/pdo_sqlite/sqlite/src/parse.y inscollist(A) ::= nm(Y). {A = sqlite3IdListAppend(0,&Y);} A 625 ext/pdo_sqlite/sqlite/src/parse.y expr(A) ::= term(X). {A = X;} A 626 ext/pdo_sqlite/sqlite/src/parse.y expr(A) ::= LP(B) expr(X) RP(E). {A = X; sqlite3ExprSpan(A,&B,&E); } A 627 ext/pdo_sqlite/sqlite/src/parse.y term(A) ::= NULL(X). {A = sqlite3Expr(@X, 0, 0, &X);} A 628 ext/pdo_sqlite/sqlite/src/parse.y expr(A) ::= ID(X). {A = sqlite3Expr(TK_ID, 0, 0, &X);} A 629 ext/pdo_sqlite/sqlite/src/parse.y expr(A) ::= JOIN_KW(X). {A = sqlite3Expr(TK_ID, 0, 0, &X);} A 630 ext/pdo_sqlite/sqlite/src/parse.y expr(A) ::= nm(X) DOT nm(Y). { A 633 ext/pdo_sqlite/sqlite/src/parse.y A = sqlite3Expr(TK_DOT, temp1, temp2, 0); A 635 ext/pdo_sqlite/sqlite/src/parse.y expr(A) ::= nm(X) DOT nm(Y) DOT nm(Z). { A 640 ext/pdo_sqlite/sqlite/src/parse.y A = sqlite3Expr(TK_DOT, temp1, temp4, 0); A 642 ext/pdo_sqlite/sqlite/src/parse.y term(A) ::= INTEGER|FLOAT|BLOB(X). {A = sqlite3Expr(@X, 0, 0, &X);} A 643 ext/pdo_sqlite/sqlite/src/parse.y term(A) ::= STRING(X). {A = sqlite3Expr(@X, 0, 0, &X);} A 644 ext/pdo_sqlite/sqlite/src/parse.y expr(A) ::= REGISTER(X). {A = sqlite3RegisterExpr(pParse, &X);} A 645 ext/pdo_sqlite/sqlite/src/parse.y expr(A) ::= VARIABLE(X). { A 647 ext/pdo_sqlite/sqlite/src/parse.y Expr *pExpr = A = sqlite3Expr(TK_VARIABLE, 0, 0, pToken); A 650 ext/pdo_sqlite/sqlite/src/parse.y expr(A) ::= expr(E) COLLATE id(C). { A 651 ext/pdo_sqlite/sqlite/src/parse.y A = sqlite3ExprSetColl(pParse, E, &C); A 654 ext/pdo_sqlite/sqlite/src/parse.y expr(A) ::= CAST(X) LP expr(E) AS typetoken(T) RP(Y). { A 655 ext/pdo_sqlite/sqlite/src/parse.y A = sqlite3Expr(TK_CAST, E, 0, &T); A 656 ext/pdo_sqlite/sqlite/src/parse.y sqlite3ExprSpan(A,&X,&Y); A 659 ext/pdo_sqlite/sqlite/src/parse.y expr(A) ::= ID(X) LP distinct(D) exprlist(Y) RP(E). { A 660 ext/pdo_sqlite/sqlite/src/parse.y A = sqlite3ExprFunction(Y, &X); A 661 ext/pdo_sqlite/sqlite/src/parse.y sqlite3ExprSpan(A,&X,&E); A 662 ext/pdo_sqlite/sqlite/src/parse.y if( D && A ){ A 663 ext/pdo_sqlite/sqlite/src/parse.y A->flags |= EP_Distinct; A 666 ext/pdo_sqlite/sqlite/src/parse.y expr(A) ::= ID(X) LP STAR RP(E). { A 667 ext/pdo_sqlite/sqlite/src/parse.y A = sqlite3ExprFunction(0, &X); A 668 ext/pdo_sqlite/sqlite/src/parse.y sqlite3ExprSpan(A,&X,&E); A 670 ext/pdo_sqlite/sqlite/src/parse.y term(A) ::= CTIME_KW(OP). { A 673 ext/pdo_sqlite/sqlite/src/parse.y A = sqlite3ExprFunction(0,&OP); A 674 ext/pdo_sqlite/sqlite/src/parse.y if( A ){ A 675 ext/pdo_sqlite/sqlite/src/parse.y A->op = TK_CONST_FUNC; A 676 ext/pdo_sqlite/sqlite/src/parse.y A->span = OP; A 679 ext/pdo_sqlite/sqlite/src/parse.y expr(A) ::= expr(X) AND(OP) expr(Y). {A = sqlite3Expr(@OP, X, Y, 0);} A 680 ext/pdo_sqlite/sqlite/src/parse.y expr(A) ::= expr(X) OR(OP) expr(Y). {A = sqlite3Expr(@OP, X, Y, 0);} A 681 ext/pdo_sqlite/sqlite/src/parse.y expr(A) ::= expr(X) LT|GT|GE|LE(OP) expr(Y). {A = sqlite3Expr(@OP, X, Y, 0);} A 682 ext/pdo_sqlite/sqlite/src/parse.y expr(A) ::= expr(X) EQ|NE(OP) expr(Y). {A = sqlite3Expr(@OP, X, Y, 0);} A 683 ext/pdo_sqlite/sqlite/src/parse.y expr(A) ::= expr(X) BITAND|BITOR|LSHIFT|RSHIFT(OP) expr(Y). A 684 ext/pdo_sqlite/sqlite/src/parse.y {A = sqlite3Expr(@OP, X, Y, 0);} A 685 ext/pdo_sqlite/sqlite/src/parse.y expr(A) ::= expr(X) PLUS|MINUS(OP) expr(Y). {A = sqlite3Expr(@OP, X, Y, 0);} A 686 ext/pdo_sqlite/sqlite/src/parse.y expr(A) ::= expr(X) STAR|SLASH|REM(OP) expr(Y). {A = sqlite3Expr(@OP, X, Y, 0);} A 687 ext/pdo_sqlite/sqlite/src/parse.y expr(A) ::= expr(X) CONCAT(OP) expr(Y). {A = sqlite3Expr(@OP, X, Y, 0);} A 689 ext/pdo_sqlite/sqlite/src/parse.y likeop(A) ::= LIKE_KW(X). {A.eOperator = X; A.not = 0;} A 690 ext/pdo_sqlite/sqlite/src/parse.y likeop(A) ::= NOT LIKE_KW(X). {A.eOperator = X; A.not = 1;} A 691 ext/pdo_sqlite/sqlite/src/parse.y likeop(A) ::= MATCH(X). {A.eOperator = X; A.not = 0;} A 692 ext/pdo_sqlite/sqlite/src/parse.y likeop(A) ::= NOT MATCH(X). {A.eOperator = X; A.not = 1;} A 695 ext/pdo_sqlite/sqlite/src/parse.y escape(X) ::= ESCAPE expr(A). [ESCAPE] {X = A;} A 697 ext/pdo_sqlite/sqlite/src/parse.y expr(A) ::= expr(X) likeop(OP) expr(Y) escape(E). [LIKE_KW] { A 704 ext/pdo_sqlite/sqlite/src/parse.y A = sqlite3ExprFunction(pList, &OP.eOperator); A 705 ext/pdo_sqlite/sqlite/src/parse.y if( OP.not ) A = sqlite3Expr(TK_NOT, A, 0, 0); A 706 ext/pdo_sqlite/sqlite/src/parse.y sqlite3ExprSpan(A, &X->span, &Y->span); A 707 ext/pdo_sqlite/sqlite/src/parse.y if( A ) A->flags |= EP_InfixFunc; A 710 ext/pdo_sqlite/sqlite/src/parse.y expr(A) ::= expr(X) ISNULL|NOTNULL(E). { A 711 ext/pdo_sqlite/sqlite/src/parse.y A = sqlite3Expr(@E, X, 0, 0); A 712 ext/pdo_sqlite/sqlite/src/parse.y sqlite3ExprSpan(A,&X->span,&E); A 714 ext/pdo_sqlite/sqlite/src/parse.y expr(A) ::= expr(X) IS NULL(E). { A 715 ext/pdo_sqlite/sqlite/src/parse.y A = sqlite3Expr(TK_ISNULL, X, 0, 0); A 716 ext/pdo_sqlite/sqlite/src/parse.y sqlite3ExprSpan(A,&X->span,&E); A 718 ext/pdo_sqlite/sqlite/src/parse.y expr(A) ::= expr(X) NOT NULL(E). { A 719 ext/pdo_sqlite/sqlite/src/parse.y A = sqlite3Expr(TK_NOTNULL, X, 0, 0); A 720 ext/pdo_sqlite/sqlite/src/parse.y sqlite3ExprSpan(A,&X->span,&E); A 722 ext/pdo_sqlite/sqlite/src/parse.y expr(A) ::= expr(X) IS NOT NULL(E). { A 723 ext/pdo_sqlite/sqlite/src/parse.y A = sqlite3Expr(TK_NOTNULL, X, 0, 0); A 724 ext/pdo_sqlite/sqlite/src/parse.y sqlite3ExprSpan(A,&X->span,&E); A 726 ext/pdo_sqlite/sqlite/src/parse.y expr(A) ::= NOT|BITNOT(B) expr(X). { A 727 ext/pdo_sqlite/sqlite/src/parse.y A = sqlite3Expr(@B, X, 0, 0); A 728 ext/pdo_sqlite/sqlite/src/parse.y sqlite3ExprSpan(A,&B,&X->span); A 730 ext/pdo_sqlite/sqlite/src/parse.y expr(A) ::= MINUS(B) expr(X). [UMINUS] { A 731 ext/pdo_sqlite/sqlite/src/parse.y A = sqlite3Expr(TK_UMINUS, X, 0, 0); A 732 ext/pdo_sqlite/sqlite/src/parse.y sqlite3ExprSpan(A,&B,&X->span); A 734 ext/pdo_sqlite/sqlite/src/parse.y expr(A) ::= PLUS(B) expr(X). [UPLUS] { A 735 ext/pdo_sqlite/sqlite/src/parse.y A = sqlite3Expr(TK_UPLUS, X, 0, 0); A 736 ext/pdo_sqlite/sqlite/src/parse.y sqlite3ExprSpan(A,&B,&X->span); A 739 ext/pdo_sqlite/sqlite/src/parse.y between_op(A) ::= BETWEEN. {A = 0;} A 740 ext/pdo_sqlite/sqlite/src/parse.y between_op(A) ::= NOT BETWEEN. {A = 1;} A 741 ext/pdo_sqlite/sqlite/src/parse.y expr(A) ::= expr(W) between_op(N) expr(X) AND expr(Y). [BETWEEN] { A 744 ext/pdo_sqlite/sqlite/src/parse.y A = sqlite3Expr(TK_BETWEEN, W, 0, 0); A 745 ext/pdo_sqlite/sqlite/src/parse.y if( A ){ A 746 ext/pdo_sqlite/sqlite/src/parse.y A->pList = pList; A 750 ext/pdo_sqlite/sqlite/src/parse.y if( N ) A = sqlite3Expr(TK_NOT, A, 0, 0); A 751 ext/pdo_sqlite/sqlite/src/parse.y sqlite3ExprSpan(A,&W->span,&Y->span); A 755 ext/pdo_sqlite/sqlite/src/parse.y in_op(A) ::= IN. {A = 0;} A 756 ext/pdo_sqlite/sqlite/src/parse.y in_op(A) ::= NOT IN. {A = 1;} A 757 ext/pdo_sqlite/sqlite/src/parse.y expr(A) ::= expr(X) in_op(N) LP exprlist(Y) RP(E). [IN] { A 758 ext/pdo_sqlite/sqlite/src/parse.y A = sqlite3Expr(TK_IN, X, 0, 0); A 759 ext/pdo_sqlite/sqlite/src/parse.y if( A ){ A 760 ext/pdo_sqlite/sqlite/src/parse.y A->pList = Y; A 764 ext/pdo_sqlite/sqlite/src/parse.y if( N ) A = sqlite3Expr(TK_NOT, A, 0, 0); A 765 ext/pdo_sqlite/sqlite/src/parse.y sqlite3ExprSpan(A,&X->span,&E); A 767 ext/pdo_sqlite/sqlite/src/parse.y expr(A) ::= LP(B) select(X) RP(E). { A 768 ext/pdo_sqlite/sqlite/src/parse.y A = sqlite3Expr(TK_SELECT, 0, 0, 0); A 769 ext/pdo_sqlite/sqlite/src/parse.y if( A ){ A 770 ext/pdo_sqlite/sqlite/src/parse.y A->pSelect = X; A 774 ext/pdo_sqlite/sqlite/src/parse.y sqlite3ExprSpan(A,&B,&E); A 776 ext/pdo_sqlite/sqlite/src/parse.y expr(A) ::= expr(X) in_op(N) LP select(Y) RP(E). [IN] { A 777 ext/pdo_sqlite/sqlite/src/parse.y A = sqlite3Expr(TK_IN, X, 0, 0); A 778 ext/pdo_sqlite/sqlite/src/parse.y if( A ){ A 779 ext/pdo_sqlite/sqlite/src/parse.y A->pSelect = Y; A 783 ext/pdo_sqlite/sqlite/src/parse.y if( N ) A = sqlite3Expr(TK_NOT, A, 0, 0); A 784 ext/pdo_sqlite/sqlite/src/parse.y sqlite3ExprSpan(A,&X->span,&E); A 786 ext/pdo_sqlite/sqlite/src/parse.y expr(A) ::= expr(X) in_op(N) nm(Y) dbnm(Z). [IN] { A 788 ext/pdo_sqlite/sqlite/src/parse.y A = sqlite3Expr(TK_IN, X, 0, 0); A 789 ext/pdo_sqlite/sqlite/src/parse.y if( A ){ A 790 ext/pdo_sqlite/sqlite/src/parse.y A->pSelect = sqlite3SelectNew(0,pSrc,0,0,0,0,0,0,0); A 794 ext/pdo_sqlite/sqlite/src/parse.y if( N ) A = sqlite3Expr(TK_NOT, A, 0, 0); A 795 ext/pdo_sqlite/sqlite/src/parse.y sqlite3ExprSpan(A,&X->span,Z.z?&Z:&Y); A 797 ext/pdo_sqlite/sqlite/src/parse.y expr(A) ::= EXISTS(B) LP select(Y) RP(E). { A 798 ext/pdo_sqlite/sqlite/src/parse.y Expr *p = A = sqlite3Expr(TK_EXISTS, 0, 0, 0); A 809 ext/pdo_sqlite/sqlite/src/parse.y expr(A) ::= CASE(C) case_operand(X) case_exprlist(Y) case_else(Z) END(E). { A 810 ext/pdo_sqlite/sqlite/src/parse.y A = sqlite3Expr(TK_CASE, X, Z, 0); A 811 ext/pdo_sqlite/sqlite/src/parse.y if( A ){ A 812 ext/pdo_sqlite/sqlite/src/parse.y A->pList = Y; A 816 ext/pdo_sqlite/sqlite/src/parse.y sqlite3ExprSpan(A, &C, &E); A 820 ext/pdo_sqlite/sqlite/src/parse.y case_exprlist(A) ::= case_exprlist(X) WHEN expr(Y) THEN expr(Z). { A 821 ext/pdo_sqlite/sqlite/src/parse.y A = sqlite3ExprListAppend(X, Y, 0); A 822 ext/pdo_sqlite/sqlite/src/parse.y A = sqlite3ExprListAppend(A, Z, 0); A 824 ext/pdo_sqlite/sqlite/src/parse.y case_exprlist(A) ::= WHEN expr(Y) THEN expr(Z). { A 825 ext/pdo_sqlite/sqlite/src/parse.y A = sqlite3ExprListAppend(0, Y, 0); A 826 ext/pdo_sqlite/sqlite/src/parse.y A = sqlite3ExprListAppend(A, Z, 0); A 830 ext/pdo_sqlite/sqlite/src/parse.y case_else(A) ::= ELSE expr(X). {A = X;} A 831 ext/pdo_sqlite/sqlite/src/parse.y case_else(A) ::= . {A = 0;} A 834 ext/pdo_sqlite/sqlite/src/parse.y case_operand(A) ::= expr(X). {A = X;} A 835 ext/pdo_sqlite/sqlite/src/parse.y case_operand(A) ::= . {A = 0;} A 842 ext/pdo_sqlite/sqlite/src/parse.y exprlist(A) ::= exprlist(X) COMMA expritem(Y). A 843 ext/pdo_sqlite/sqlite/src/parse.y {A = sqlite3ExprListAppend(X,Y,0);} A 844 ext/pdo_sqlite/sqlite/src/parse.y exprlist(A) ::= expritem(X). {A = sqlite3ExprListAppend(0,X,0);} A 845 ext/pdo_sqlite/sqlite/src/parse.y expritem(A) ::= expr(X). {A = X;} A 846 ext/pdo_sqlite/sqlite/src/parse.y expritem(A) ::= . {A = 0;} A 857 ext/pdo_sqlite/sqlite/src/parse.y uniqueflag(A) ::= UNIQUE. {A = OE_Abort;} A 858 ext/pdo_sqlite/sqlite/src/parse.y uniqueflag(A) ::= . {A = OE_None;} A 866 ext/pdo_sqlite/sqlite/src/parse.y idxlist_opt(A) ::= . {A = 0;} A 867 ext/pdo_sqlite/sqlite/src/parse.y idxlist_opt(A) ::= LP idxlist(X) RP. {A = X;} A 868 ext/pdo_sqlite/sqlite/src/parse.y idxlist(A) ::= idxlist(X) COMMA idxitem(Y) collate(C) sortorder(Z). { A 874 ext/pdo_sqlite/sqlite/src/parse.y A = sqlite3ExprListAppend(X, p, &Y); A 875 ext/pdo_sqlite/sqlite/src/parse.y if( A ) A->a[A->nExpr-1].sortOrder = Z; A 877 ext/pdo_sqlite/sqlite/src/parse.y idxlist(A) ::= idxitem(Y) collate(C) sortorder(Z). { A 883 ext/pdo_sqlite/sqlite/src/parse.y A = sqlite3ExprListAppend(0, p, &Y); A 884 ext/pdo_sqlite/sqlite/src/parse.y if( A ) A->a[A->nExpr-1].sortOrder = Z; A 886 ext/pdo_sqlite/sqlite/src/parse.y idxitem(A) ::= nm(X). {A = X;} A 916 ext/pdo_sqlite/sqlite/src/parse.y nmnum(A) ::= plus_num(X). {A = X;} A 917 ext/pdo_sqlite/sqlite/src/parse.y nmnum(A) ::= nm(X). {A = X;} A 919 ext/pdo_sqlite/sqlite/src/parse.y plus_num(A) ::= plus_opt number(X). {A = X;} A 920 ext/pdo_sqlite/sqlite/src/parse.y minus_num(A) ::= MINUS number(X). {A = X;} A 921 ext/pdo_sqlite/sqlite/src/parse.y number(A) ::= INTEGER|FLOAT(X). {A = X;} A 929 ext/pdo_sqlite/sqlite/src/parse.y cmd ::= CREATE trigger_decl(A) BEGIN trigger_cmd_list(S) END(Z). { A 931 ext/pdo_sqlite/sqlite/src/parse.y all.z = A.z; A 932 ext/pdo_sqlite/sqlite/src/parse.y all.n = (Z.z - A.z) + Z.n; A 936 ext/pdo_sqlite/sqlite/src/parse.y trigger_decl(A) ::= temp(T) TRIGGER ifnotexists(NOERR) nm(B) dbnm(Z) A 940 ext/pdo_sqlite/sqlite/src/parse.y A = (Z.n==0?B:Z); A 944 ext/pdo_sqlite/sqlite/src/parse.y trigger_time(A) ::= BEFORE. { A = TK_BEFORE; } A 945 ext/pdo_sqlite/sqlite/src/parse.y trigger_time(A) ::= AFTER. { A = TK_AFTER; } A 946 ext/pdo_sqlite/sqlite/src/parse.y trigger_time(A) ::= INSTEAD OF. { A = TK_INSTEAD;} A 947 ext/pdo_sqlite/sqlite/src/parse.y trigger_time(A) ::= . { A = TK_BEFORE; } A 951 ext/pdo_sqlite/sqlite/src/parse.y trigger_event(A) ::= DELETE|INSERT(OP). {A.a = @OP; A.b = 0;} A 952 ext/pdo_sqlite/sqlite/src/parse.y trigger_event(A) ::= UPDATE(OP). {A.a = @OP; A.b = 0;} A 953 ext/pdo_sqlite/sqlite/src/parse.y trigger_event(A) ::= UPDATE OF inscollist(X). {A.a = TK_UPDATE; A.b = X;} A 960 ext/pdo_sqlite/sqlite/src/parse.y when_clause(A) ::= . { A = 0; } A 961 ext/pdo_sqlite/sqlite/src/parse.y when_clause(A) ::= WHEN expr(X). { A = X; } A 965 ext/pdo_sqlite/sqlite/src/parse.y trigger_cmd_list(A) ::= trigger_cmd_list(Y) trigger_cmd(X) SEMI. { A 972 ext/pdo_sqlite/sqlite/src/parse.y A = Y; A 974 ext/pdo_sqlite/sqlite/src/parse.y trigger_cmd_list(A) ::= . { A = 0; } A 979 ext/pdo_sqlite/sqlite/src/parse.y trigger_cmd(A) ::= UPDATE orconf(R) nm(X) SET setlist(Y) where_opt(Z). A 980 ext/pdo_sqlite/sqlite/src/parse.y { A = sqlite3TriggerUpdateStep(&X, Y, Z, R); } A 983 ext/pdo_sqlite/sqlite/src/parse.y trigger_cmd(A) ::= insert_cmd(R) INTO nm(X) inscollist_opt(F) A 985 ext/pdo_sqlite/sqlite/src/parse.y {A = sqlite3TriggerInsertStep(&X, F, Y, 0, R);} A 987 ext/pdo_sqlite/sqlite/src/parse.y trigger_cmd(A) ::= insert_cmd(R) INTO nm(X) inscollist_opt(F) select(S). A 988 ext/pdo_sqlite/sqlite/src/parse.y {A = sqlite3TriggerInsertStep(&X, F, 0, S, R);} A 991 ext/pdo_sqlite/sqlite/src/parse.y trigger_cmd(A) ::= DELETE FROM nm(X) where_opt(Y). A 992 ext/pdo_sqlite/sqlite/src/parse.y {A = sqlite3TriggerDeleteStep(&X, Y);} A 995 ext/pdo_sqlite/sqlite/src/parse.y trigger_cmd(A) ::= select(X). {A = sqlite3TriggerSelectStep(X); } A 998 ext/pdo_sqlite/sqlite/src/parse.y expr(A) ::= RAISE(X) LP IGNORE RP(Y). { A 999 ext/pdo_sqlite/sqlite/src/parse.y A = sqlite3Expr(TK_RAISE, 0, 0, 0); A 1000 ext/pdo_sqlite/sqlite/src/parse.y if( A ){ A 1001 ext/pdo_sqlite/sqlite/src/parse.y A->iColumn = OE_Ignore; A 1002 ext/pdo_sqlite/sqlite/src/parse.y sqlite3ExprSpan(A, &X, &Y); A 1005 ext/pdo_sqlite/sqlite/src/parse.y expr(A) ::= RAISE(X) LP raisetype(T) COMMA nm(Z) RP(Y). { A 1006 ext/pdo_sqlite/sqlite/src/parse.y A = sqlite3Expr(TK_RAISE, 0, 0, &Z); A 1007 ext/pdo_sqlite/sqlite/src/parse.y if( A ) { A 1008 ext/pdo_sqlite/sqlite/src/parse.y A->iColumn = T; A 1009 ext/pdo_sqlite/sqlite/src/parse.y sqlite3ExprSpan(A, &X, &Y); A 1015 ext/pdo_sqlite/sqlite/src/parse.y raisetype(A) ::= ROLLBACK. {A = OE_Rollback;} A 1016 ext/pdo_sqlite/sqlite/src/parse.y raisetype(A) ::= ABORT. {A = OE_Abort;} A 1017 ext/pdo_sqlite/sqlite/src/parse.y raisetype(A) ::= FAIL. {A = OE_Fail;} A 1038 ext/pdo_sqlite/sqlite/src/parse.y key_opt(A) ::= . { A = 0; } A 1039 ext/pdo_sqlite/sqlite/src/parse.y key_opt(A) ::= KEY expr(X). { A = X; } A 1927 ext/pdo_sqlite/sqlite/src/sqliteInt.h # define IOTRACE(A) if( sqlite3_io_trace ){ sqlite3_io_trace A; } A 125 ext/pdo_sqlite/sqlite/src/vdbe.c #define GetVarint(A,B) ((B = *(A))<=0x7f ? 1 : sqlite3GetVarint32(A, &B)) A 149 ext/pdo_sqlite/sqlite/src/vdbe.c #define storeTypeInfo(A,B) _storeTypeInfo(A) A 1915 ext/pdo_sqlite/sqlite/src/vdbeaux.c #define GetVarint(A,B) ((B = *(A))<=0x7f ? 1 : sqlite3GetVarint32(A, &B)) A 381 ext/pdo_sqlite/sqlite/src/where.c #define SWAP(TYPE,A,B) {TYPE t=A; A=B; B=t;} A 1544 ext/pdo_sqlite/sqlite/tool/lemon.c #define NEXT(A) (*(char**)(((unsigned long)A)+offset)) A 71 ext/sqlite/libsqlite/src/btree.c if((B)->needSwab){ X=swab32(swab32(X)+A); }else{ X += (A); } A 220 ext/sqlite/libsqlite/src/date.c int Y, M, D, A, B, X1, X2; A 236 ext/sqlite/libsqlite/src/date.c A = Y/100; A 237 ext/sqlite/libsqlite/src/date.c B = 2 - A + (A/4); A 339 ext/sqlite/libsqlite/src/date.c int Z, A, B, C, D, E, X1; A 347 ext/sqlite/libsqlite/src/date.c A = (Z - 1867216.25)/36524.25; A 348 ext/sqlite/libsqlite/src/date.c A = Z + 1 + A - (A/4); A 349 ext/sqlite/libsqlite/src/date.c B = A + 1524; A 102 ext/sqlite/libsqlite/src/os.c #define TRACE4(X,Y,Z,A) fprintf(stderr,X,Y,Z,A) A 103 ext/sqlite/libsqlite/src/os.c #define TRACE5(X,Y,Z,A,B) fprintf(stderr,X,Y,Z,A,B) A 368 ext/sqlite/libsqlite/src/os.c if( sqlite_io_error_pending-- == 1 ){ local_ioerr(); return A; } A 94 ext/sqlite/libsqlite/src/parse.y temp(A) ::= TEMP. {A = 1;} A 95 ext/sqlite/libsqlite/src/parse.y temp(A) ::= . {A = 0;} A 117 ext/sqlite/libsqlite/src/parse.y id(A) ::= ID(X). {A = X;} A 149 ext/sqlite/libsqlite/src/parse.y ids(A) ::= ID(X). {A = X;} A 150 ext/sqlite/libsqlite/src/parse.y ids(A) ::= STRING(X). {A = X;} A 155 ext/sqlite/libsqlite/src/parse.y nm(A) ::= ID(X). {A = X;} A 156 ext/sqlite/libsqlite/src/parse.y nm(A) ::= STRING(X). {A = X;} A 157 ext/sqlite/libsqlite/src/parse.y nm(A) ::= JOIN_KW(X). {A = X;} A 165 ext/sqlite/libsqlite/src/parse.y typename(A) ::= ids(X). {A = X;} A 166 ext/sqlite/libsqlite/src/parse.y typename(A) ::= typename(X) ids. {A = X;} A 168 ext/sqlite/libsqlite/src/parse.y signed(A) ::= INTEGER(X). { A = atoi(X.z); } A 169 ext/sqlite/libsqlite/src/parse.y signed(A) ::= PLUS INTEGER(X). { A = atoi(X.z); } A 170 ext/sqlite/libsqlite/src/parse.y signed(A) ::= MINUS INTEGER(X). { A = -atoi(X.z); } A 206 ext/sqlite/libsqlite/src/parse.y refargs(A) ::= . { A = OE_Restrict * 0x010101; } A 207 ext/sqlite/libsqlite/src/parse.y refargs(A) ::= refargs(X) refarg(Y). { A = (X & Y.mask) | Y.value; } A 209 ext/sqlite/libsqlite/src/parse.y refarg(A) ::= MATCH nm. { A.value = 0; A.mask = 0x000000; } A 210 ext/sqlite/libsqlite/src/parse.y refarg(A) ::= ON DELETE refact(X). { A.value = X; A.mask = 0x0000ff; } A 211 ext/sqlite/libsqlite/src/parse.y refarg(A) ::= ON UPDATE refact(X). { A.value = X<<8; A.mask = 0x00ff00; } A 212 ext/sqlite/libsqlite/src/parse.y refarg(A) ::= ON INSERT refact(X). { A.value = X<<16; A.mask = 0xff0000; } A 214 ext/sqlite/libsqlite/src/parse.y refact(A) ::= SET NULL. { A = OE_SetNull; } A 215 ext/sqlite/libsqlite/src/parse.y refact(A) ::= SET DEFAULT. { A = OE_SetDflt; } A 216 ext/sqlite/libsqlite/src/parse.y refact(A) ::= CASCADE. { A = OE_Cascade; } A 217 ext/sqlite/libsqlite/src/parse.y refact(A) ::= RESTRICT. { A = OE_Restrict; } A 219 ext/sqlite/libsqlite/src/parse.y defer_subclause(A) ::= NOT DEFERRABLE init_deferred_pred_opt(X). {A = X;} A 220 ext/sqlite/libsqlite/src/parse.y defer_subclause(A) ::= DEFERRABLE init_deferred_pred_opt(X). {A = X;} A 222 ext/sqlite/libsqlite/src/parse.y init_deferred_pred_opt(A) ::= . {A = 0;} A 223 ext/sqlite/libsqlite/src/parse.y init_deferred_pred_opt(A) ::= INITIALLY DEFERRED. {A = 1;} A 224 ext/sqlite/libsqlite/src/parse.y init_deferred_pred_opt(A) ::= INITIALLY IMMEDIATE. {A = 0;} A 246 ext/sqlite/libsqlite/src/parse.y defer_subclause_opt(A) ::= . {A = 0;} A 247 ext/sqlite/libsqlite/src/parse.y defer_subclause_opt(A) ::= defer_subclause(X). {A = X;} A 255 ext/sqlite/libsqlite/src/parse.y onconf(A) ::= . { A = OE_Default; } A 256 ext/sqlite/libsqlite/src/parse.y onconf(A) ::= ON CONFLICT resolvetype(X). { A = X; } A 257 ext/sqlite/libsqlite/src/parse.y orconf(A) ::= . { A = OE_Default; } A 258 ext/sqlite/libsqlite/src/parse.y orconf(A) ::= OR resolvetype(X). { A = X; } A 259 ext/sqlite/libsqlite/src/parse.y resolvetype(A) ::= ROLLBACK. { A = OE_Rollback; } A 260 ext/sqlite/libsqlite/src/parse.y resolvetype(A) ::= ABORT. { A = OE_Abort; } A 261 ext/sqlite/libsqlite/src/parse.y resolvetype(A) ::= FAIL. { A = OE_Fail; } A 262 ext/sqlite/libsqlite/src/parse.y resolvetype(A) ::= IGNORE. { A = OE_Ignore; } A 263 ext/sqlite/libsqlite/src/parse.y resolvetype(A) ::= REPLACE. { A = OE_Replace; } A 290 ext/sqlite/libsqlite/src/parse.y select(A) ::= oneselect(X). {A = X;} A 291 ext/sqlite/libsqlite/src/parse.y select(A) ::= select(X) multiselect_op(Y) oneselect(Z). { A 296 ext/sqlite/libsqlite/src/parse.y A = Z; A 299 ext/sqlite/libsqlite/src/parse.y multiselect_op(A) ::= UNION. {A = TK_UNION;} A 300 ext/sqlite/libsqlite/src/parse.y multiselect_op(A) ::= UNION ALL. {A = TK_ALL;} A 301 ext/sqlite/libsqlite/src/parse.y multiselect_op(A) ::= INTERSECT. {A = TK_INTERSECT;} A 302 ext/sqlite/libsqlite/src/parse.y multiselect_op(A) ::= EXCEPT. {A = TK_EXCEPT;} A 303 ext/sqlite/libsqlite/src/parse.y oneselect(A) ::= SELECT distinct(D) selcollist(W) from(X) where_opt(Y) A 305 ext/sqlite/libsqlite/src/parse.y A = sqliteSelectNew(W,X,Y,P,Q,Z,D,L.limit,L.offset); A 312 ext/sqlite/libsqlite/src/parse.y distinct(A) ::= DISTINCT. {A = 1;} A 313 ext/sqlite/libsqlite/src/parse.y distinct(A) ::= ALL. {A = 0;} A 314 ext/sqlite/libsqlite/src/parse.y distinct(A) ::= . {A = 0;} A 325 ext/sqlite/libsqlite/src/parse.y sclp(A) ::= selcollist(X) COMMA. {A = X;} A 326 ext/sqlite/libsqlite/src/parse.y sclp(A) ::= . {A = 0;} A 327 ext/sqlite/libsqlite/src/parse.y selcollist(A) ::= sclp(P) expr(X) as(Y). { A 328 ext/sqlite/libsqlite/src/parse.y A = sqliteExprListAppend(P,X,Y.n?&Y:0); A 330 ext/sqlite/libsqlite/src/parse.y selcollist(A) ::= sclp(P) STAR. { A 331 ext/sqlite/libsqlite/src/parse.y A = sqliteExprListAppend(P, sqliteExpr(TK_ALL, 0, 0, 0), 0); A 333 ext/sqlite/libsqlite/src/parse.y selcollist(A) ::= sclp(P) nm(X) DOT STAR. { A 336 ext/sqlite/libsqlite/src/parse.y A = sqliteExprListAppend(P, sqliteExpr(TK_DOT, pLeft, pRight, 0), 0); A 357 ext/sqlite/libsqlite/src/parse.y from(A) ::= . {A = sqliteMalloc(sizeof(*A));} A 358 ext/sqlite/libsqlite/src/parse.y from(A) ::= FROM seltablist(X). {A = X;} A 363 ext/sqlite/libsqlite/src/parse.y stl_prefix(A) ::= seltablist(X) joinop(Y). { A 364 ext/sqlite/libsqlite/src/parse.y A = X; A 365 ext/sqlite/libsqlite/src/parse.y if( A && A->nSrc>0 ) A->a[A->nSrc-1].jointype = Y; A 367 ext/sqlite/libsqlite/src/parse.y stl_prefix(A) ::= . {A = 0;} A 368 ext/sqlite/libsqlite/src/parse.y seltablist(A) ::= stl_prefix(X) nm(Y) dbnm(D) as(Z) on_opt(N) using_opt(U). { A 369 ext/sqlite/libsqlite/src/parse.y A = sqliteSrcListAppend(X,&Y,&D); A 370 ext/sqlite/libsqlite/src/parse.y if( Z.n ) sqliteSrcListAddAlias(A,&Z); A 372 ext/sqlite/libsqlite/src/parse.y if( A && A->nSrc>1 ){ A->a[A->nSrc-2].pOn = N; } A 376 ext/sqlite/libsqlite/src/parse.y if( A && A->nSrc>1 ){ A->a[A->nSrc-2].pUsing = U; } A 380 ext/sqlite/libsqlite/src/parse.y seltablist(A) ::= stl_prefix(X) LP seltablist_paren(S) RP A 382 ext/sqlite/libsqlite/src/parse.y A = sqliteSrcListAppend(X,0,0); A 383 ext/sqlite/libsqlite/src/parse.y A->a[A->nSrc-1].pSelect = S; A 384 ext/sqlite/libsqlite/src/parse.y if( Z.n ) sqliteSrcListAddAlias(A,&Z); A 386 ext/sqlite/libsqlite/src/parse.y if( A && A->nSrc>1 ){ A->a[A->nSrc-2].pOn = N; } A 390 ext/sqlite/libsqlite/src/parse.y if( A && A->nSrc>1 ){ A->a[A->nSrc-2].pUsing = U; } A 401 ext/sqlite/libsqlite/src/parse.y seltablist_paren(A) ::= select(S). {A = S;} A 402 ext/sqlite/libsqlite/src/parse.y seltablist_paren(A) ::= seltablist(F). { A 403 ext/sqlite/libsqlite/src/parse.y A = sqliteSelectNew(0,F,0,0,0,0,0,-1,0); A 407 ext/sqlite/libsqlite/src/parse.y dbnm(A) ::= . {A.z=0; A.n=0;} A 408 ext/sqlite/libsqlite/src/parse.y dbnm(A) ::= DOT nm(X). {A = X;} A 414 ext/sqlite/libsqlite/src/parse.y joinop(X) ::= JOIN_KW(A) JOIN. { X = sqliteJoinType(pParse,&A,0,0); } A 415 ext/sqlite/libsqlite/src/parse.y joinop(X) ::= JOIN_KW(A) nm(B) JOIN. { X = sqliteJoinType(pParse,&A,&B,0); } A 416 ext/sqlite/libsqlite/src/parse.y joinop(X) ::= JOIN_KW(A) nm(B) nm(C) JOIN. A 417 ext/sqlite/libsqlite/src/parse.y { X = sqliteJoinType(pParse,&A,&B,&C); } A 437 ext/sqlite/libsqlite/src/parse.y orderby_opt(A) ::= . {A = 0;} A 438 ext/sqlite/libsqlite/src/parse.y orderby_opt(A) ::= ORDER BY sortlist(X). {A = X;} A 439 ext/sqlite/libsqlite/src/parse.y sortlist(A) ::= sortlist(X) COMMA sortitem(Y) collate(C) sortorder(Z). { A 440 ext/sqlite/libsqlite/src/parse.y A = sqliteExprListAppend(X,Y,0); A 441 ext/sqlite/libsqlite/src/parse.y if( A ) A->a[A->nExpr-1].sortOrder = C+Z; A 443 ext/sqlite/libsqlite/src/parse.y sortlist(A) ::= sortitem(Y) collate(C) sortorder(Z). { A 444 ext/sqlite/libsqlite/src/parse.y A = sqliteExprListAppend(0,Y,0); A 445 ext/sqlite/libsqlite/src/parse.y if( A ) A->a[0].sortOrder = C+Z; A 447 ext/sqlite/libsqlite/src/parse.y sortitem(A) ::= expr(X). {A = X;} A 452 ext/sqlite/libsqlite/src/parse.y sortorder(A) ::= ASC. {A = SQLITE_SO_ASC;} A 453 ext/sqlite/libsqlite/src/parse.y sortorder(A) ::= DESC. {A = SQLITE_SO_DESC;} A 454 ext/sqlite/libsqlite/src/parse.y sortorder(A) ::= . {A = SQLITE_SO_ASC;} A 460 ext/sqlite/libsqlite/src/parse.y groupby_opt(A) ::= . {A = 0;} A 461 ext/sqlite/libsqlite/src/parse.y groupby_opt(A) ::= GROUP BY exprlist(X). {A = X;} A 465 ext/sqlite/libsqlite/src/parse.y having_opt(A) ::= . {A = 0;} A 466 ext/sqlite/libsqlite/src/parse.y having_opt(A) ::= HAVING expr(X). {A = X;} A 469 ext/sqlite/libsqlite/src/parse.y limit_opt(A) ::= . {A.limit = -1; A.offset = 0;} A 470 ext/sqlite/libsqlite/src/parse.y limit_opt(A) ::= LIMIT signed(X). {A.limit = X; A.offset = 0;} A 471 ext/sqlite/libsqlite/src/parse.y limit_opt(A) ::= LIMIT signed(X) OFFSET signed(Y). A 472 ext/sqlite/libsqlite/src/parse.y {A.limit = X; A.offset = Y;} A 473 ext/sqlite/libsqlite/src/parse.y limit_opt(A) ::= LIMIT signed(X) COMMA signed(Y). A 474 ext/sqlite/libsqlite/src/parse.y {A.limit = Y; A.offset = X;} A 485 ext/sqlite/libsqlite/src/parse.y where_opt(A) ::= . {A = 0;} A 486 ext/sqlite/libsqlite/src/parse.y where_opt(A) ::= WHERE expr(X). {A = X;} A 496 ext/sqlite/libsqlite/src/parse.y setlist(A) ::= setlist(Z) COMMA nm(X) EQ expr(Y). A 497 ext/sqlite/libsqlite/src/parse.y {A = sqliteExprListAppend(Z,Y,&X);} A 498 ext/sqlite/libsqlite/src/parse.y setlist(A) ::= nm(X) EQ expr(Y). {A = sqliteExprListAppend(0,Y,&X);} A 509 ext/sqlite/libsqlite/src/parse.y insert_cmd(A) ::= INSERT orconf(R). {A = R;} A 510 ext/sqlite/libsqlite/src/parse.y insert_cmd(A) ::= REPLACE. {A = OE_Replace;} A 516 ext/sqlite/libsqlite/src/parse.y itemlist(A) ::= itemlist(X) COMMA expr(Y). {A = sqliteExprListAppend(X,Y,0);} A 517 ext/sqlite/libsqlite/src/parse.y itemlist(A) ::= expr(X). {A = sqliteExprListAppend(0,X,0);} A 524 ext/sqlite/libsqlite/src/parse.y inscollist_opt(A) ::= . {A = 0;} A 525 ext/sqlite/libsqlite/src/parse.y inscollist_opt(A) ::= LP inscollist(X) RP. {A = X;} A 526 ext/sqlite/libsqlite/src/parse.y inscollist(A) ::= inscollist(X) COMMA nm(Y). {A = sqliteIdListAppend(X,&Y);} A 527 ext/sqlite/libsqlite/src/parse.y inscollist(A) ::= nm(Y). {A = sqliteIdListAppend(0,&Y);} A 535 ext/sqlite/libsqlite/src/parse.y expr(A) ::= LP(B) expr(X) RP(E). {A = X; sqliteExprSpan(A,&B,&E); } A 536 ext/sqlite/libsqlite/src/parse.y expr(A) ::= NULL(X). {A = sqliteExpr(TK_NULL, 0, 0, &X);} A 537 ext/sqlite/libsqlite/src/parse.y expr(A) ::= ID(X). {A = sqliteExpr(TK_ID, 0, 0, &X);} A 538 ext/sqlite/libsqlite/src/parse.y expr(A) ::= JOIN_KW(X). {A = sqliteExpr(TK_ID, 0, 0, &X);} A 539 ext/sqlite/libsqlite/src/parse.y expr(A) ::= nm(X) DOT nm(Y). { A 542 ext/sqlite/libsqlite/src/parse.y A = sqliteExpr(TK_DOT, temp1, temp2, 0); A 544 ext/sqlite/libsqlite/src/parse.y expr(A) ::= nm(X) DOT nm(Y) DOT nm(Z). { A 549 ext/sqlite/libsqlite/src/parse.y A = sqliteExpr(TK_DOT, temp1, temp4, 0); A 551 ext/sqlite/libsqlite/src/parse.y expr(A) ::= INTEGER(X). {A = sqliteExpr(TK_INTEGER, 0, 0, &X);} A 552 ext/sqlite/libsqlite/src/parse.y expr(A) ::= FLOAT(X). {A = sqliteExpr(TK_FLOAT, 0, 0, &X);} A 553 ext/sqlite/libsqlite/src/parse.y expr(A) ::= STRING(X). {A = sqliteExpr(TK_STRING, 0, 0, &X);} A 554 ext/sqlite/libsqlite/src/parse.y expr(A) ::= VARIABLE(X). { A 555 ext/sqlite/libsqlite/src/parse.y A = sqliteExpr(TK_VARIABLE, 0, 0, &X); A 556 ext/sqlite/libsqlite/src/parse.y if( A ) A->iTable = ++pParse->nVar; A 558 ext/sqlite/libsqlite/src/parse.y expr(A) ::= ID(X) LP exprlist(Y) RP(E). { A 559 ext/sqlite/libsqlite/src/parse.y A = sqliteExprFunction(Y, &X); A 560 ext/sqlite/libsqlite/src/parse.y sqliteExprSpan(A,&X,&E); A 562 ext/sqlite/libsqlite/src/parse.y expr(A) ::= ID(X) LP STAR RP(E). { A 563 ext/sqlite/libsqlite/src/parse.y A = sqliteExprFunction(0, &X); A 564 ext/sqlite/libsqlite/src/parse.y sqliteExprSpan(A,&X,&E); A 566 ext/sqlite/libsqlite/src/parse.y expr(A) ::= expr(X) AND expr(Y). {A = sqliteExpr(TK_AND, X, Y, 0);} A 567 ext/sqlite/libsqlite/src/parse.y expr(A) ::= expr(X) OR expr(Y). {A = sqliteExpr(TK_OR, X, Y, 0);} A 568 ext/sqlite/libsqlite/src/parse.y expr(A) ::= expr(X) LT expr(Y). {A = sqliteExpr(TK_LT, X, Y, 0);} A 569 ext/sqlite/libsqlite/src/parse.y expr(A) ::= expr(X) GT expr(Y). {A = sqliteExpr(TK_GT, X, Y, 0);} A 570 ext/sqlite/libsqlite/src/parse.y expr(A) ::= expr(X) LE expr(Y). {A = sqliteExpr(TK_LE, X, Y, 0);} A 571 ext/sqlite/libsqlite/src/parse.y expr(A) ::= expr(X) GE expr(Y). {A = sqliteExpr(TK_GE, X, Y, 0);} A 572 ext/sqlite/libsqlite/src/parse.y expr(A) ::= expr(X) NE expr(Y). {A = sqliteExpr(TK_NE, X, Y, 0);} A 573 ext/sqlite/libsqlite/src/parse.y expr(A) ::= expr(X) EQ expr(Y). {A = sqliteExpr(TK_EQ, X, Y, 0);} A 574 ext/sqlite/libsqlite/src/parse.y expr(A) ::= expr(X) BITAND expr(Y). {A = sqliteExpr(TK_BITAND, X, Y, 0);} A 575 ext/sqlite/libsqlite/src/parse.y expr(A) ::= expr(X) BITOR expr(Y). {A = sqliteExpr(TK_BITOR, X, Y, 0);} A 576 ext/sqlite/libsqlite/src/parse.y expr(A) ::= expr(X) LSHIFT expr(Y). {A = sqliteExpr(TK_LSHIFT, X, Y, 0);} A 577 ext/sqlite/libsqlite/src/parse.y expr(A) ::= expr(X) RSHIFT expr(Y). {A = sqliteExpr(TK_RSHIFT, X, Y, 0);} A 578 ext/sqlite/libsqlite/src/parse.y expr(A) ::= expr(X) likeop(OP) expr(Y). [LIKE] { A 581 ext/sqlite/libsqlite/src/parse.y A = sqliteExprFunction(pList, 0); A 582 ext/sqlite/libsqlite/src/parse.y if( A ) A->op = OP; A 583 ext/sqlite/libsqlite/src/parse.y sqliteExprSpan(A, &X->span, &Y->span); A 585 ext/sqlite/libsqlite/src/parse.y expr(A) ::= expr(X) NOT likeop(OP) expr(Y). [LIKE] { A 588 ext/sqlite/libsqlite/src/parse.y A = sqliteExprFunction(pList, 0); A 589 ext/sqlite/libsqlite/src/parse.y if( A ) A->op = OP; A 590 ext/sqlite/libsqlite/src/parse.y A = sqliteExpr(TK_NOT, A, 0, 0); A 591 ext/sqlite/libsqlite/src/parse.y sqliteExprSpan(A,&X->span,&Y->span); A 594 ext/sqlite/libsqlite/src/parse.y likeop(A) ::= LIKE. {A = TK_LIKE;} A 595 ext/sqlite/libsqlite/src/parse.y likeop(A) ::= GLOB. {A = TK_GLOB;} A 596 ext/sqlite/libsqlite/src/parse.y expr(A) ::= expr(X) PLUS expr(Y). {A = sqliteExpr(TK_PLUS, X, Y, 0);} A 597 ext/sqlite/libsqlite/src/parse.y expr(A) ::= expr(X) MINUS expr(Y). {A = sqliteExpr(TK_MINUS, X, Y, 0);} A 598 ext/sqlite/libsqlite/src/parse.y expr(A) ::= expr(X) STAR expr(Y). {A = sqliteExpr(TK_STAR, X, Y, 0);} A 599 ext/sqlite/libsqlite/src/parse.y expr(A) ::= expr(X) SLASH expr(Y). {A = sqliteExpr(TK_SLASH, X, Y, 0);} A 600 ext/sqlite/libsqlite/src/parse.y expr(A) ::= expr(X) REM expr(Y). {A = sqliteExpr(TK_REM, X, Y, 0);} A 601 ext/sqlite/libsqlite/src/parse.y expr(A) ::= expr(X) CONCAT expr(Y). {A = sqliteExpr(TK_CONCAT, X, Y, 0);} A 602 ext/sqlite/libsqlite/src/parse.y expr(A) ::= expr(X) ISNULL(E). { A 603 ext/sqlite/libsqlite/src/parse.y A = sqliteExpr(TK_ISNULL, X, 0, 0); A 604 ext/sqlite/libsqlite/src/parse.y sqliteExprSpan(A,&X->span,&E); A 606 ext/sqlite/libsqlite/src/parse.y expr(A) ::= expr(X) IS NULL(E). { A 607 ext/sqlite/libsqlite/src/parse.y A = sqliteExpr(TK_ISNULL, X, 0, 0); A 608 ext/sqlite/libsqlite/src/parse.y sqliteExprSpan(A,&X->span,&E); A 610 ext/sqlite/libsqlite/src/parse.y expr(A) ::= expr(X) NOTNULL(E). { A 611 ext/sqlite/libsqlite/src/parse.y A = sqliteExpr(TK_NOTNULL, X, 0, 0); A 612 ext/sqlite/libsqlite/src/parse.y sqliteExprSpan(A,&X->span,&E); A 614 ext/sqlite/libsqlite/src/parse.y expr(A) ::= expr(X) NOT NULL(E). { A 615 ext/sqlite/libsqlite/src/parse.y A = sqliteExpr(TK_NOTNULL, X, 0, 0); A 616 ext/sqlite/libsqlite/src/parse.y sqliteExprSpan(A,&X->span,&E); A 618 ext/sqlite/libsqlite/src/parse.y expr(A) ::= expr(X) IS NOT NULL(E). { A 619 ext/sqlite/libsqlite/src/parse.y A = sqliteExpr(TK_NOTNULL, X, 0, 0); A 620 ext/sqlite/libsqlite/src/parse.y sqliteExprSpan(A,&X->span,&E); A 622 ext/sqlite/libsqlite/src/parse.y expr(A) ::= NOT(B) expr(X). { A 623 ext/sqlite/libsqlite/src/parse.y A = sqliteExpr(TK_NOT, X, 0, 0); A 624 ext/sqlite/libsqlite/src/parse.y sqliteExprSpan(A,&B,&X->span); A 626 ext/sqlite/libsqlite/src/parse.y expr(A) ::= BITNOT(B) expr(X). { A 627 ext/sqlite/libsqlite/src/parse.y A = sqliteExpr(TK_BITNOT, X, 0, 0); A 628 ext/sqlite/libsqlite/src/parse.y sqliteExprSpan(A,&B,&X->span); A 630 ext/sqlite/libsqlite/src/parse.y expr(A) ::= MINUS(B) expr(X). [UMINUS] { A 631 ext/sqlite/libsqlite/src/parse.y A = sqliteExpr(TK_UMINUS, X, 0, 0); A 632 ext/sqlite/libsqlite/src/parse.y sqliteExprSpan(A,&B,&X->span); A 634 ext/sqlite/libsqlite/src/parse.y expr(A) ::= PLUS(B) expr(X). [UPLUS] { A 635 ext/sqlite/libsqlite/src/parse.y A = sqliteExpr(TK_UPLUS, X, 0, 0); A 636 ext/sqlite/libsqlite/src/parse.y sqliteExprSpan(A,&B,&X->span); A 638 ext/sqlite/libsqlite/src/parse.y expr(A) ::= LP(B) select(X) RP(E). { A 639 ext/sqlite/libsqlite/src/parse.y A = sqliteExpr(TK_SELECT, 0, 0, 0); A 640 ext/sqlite/libsqlite/src/parse.y if( A ) A->pSelect = X; A 641 ext/sqlite/libsqlite/src/parse.y sqliteExprSpan(A,&B,&E); A 643 ext/sqlite/libsqlite/src/parse.y expr(A) ::= expr(W) BETWEEN expr(X) AND expr(Y). { A 646 ext/sqlite/libsqlite/src/parse.y A = sqliteExpr(TK_BETWEEN, W, 0, 0); A 647 ext/sqlite/libsqlite/src/parse.y if( A ) A->pList = pList; A 648 ext/sqlite/libsqlite/src/parse.y sqliteExprSpan(A,&W->span,&Y->span); A 650 ext/sqlite/libsqlite/src/parse.y expr(A) ::= expr(W) NOT BETWEEN expr(X) AND expr(Y). { A 653 ext/sqlite/libsqlite/src/parse.y A = sqliteExpr(TK_BETWEEN, W, 0, 0); A 654 ext/sqlite/libsqlite/src/parse.y if( A ) A->pList = pList; A 655 ext/sqlite/libsqlite/src/parse.y A = sqliteExpr(TK_NOT, A, 0, 0); A 656 ext/sqlite/libsqlite/src/parse.y sqliteExprSpan(A,&W->span,&Y->span); A 658 ext/sqlite/libsqlite/src/parse.y expr(A) ::= expr(X) IN LP exprlist(Y) RP(E). { A 659 ext/sqlite/libsqlite/src/parse.y A = sqliteExpr(TK_IN, X, 0, 0); A 660 ext/sqlite/libsqlite/src/parse.y if( A ) A->pList = Y; A 661 ext/sqlite/libsqlite/src/parse.y sqliteExprSpan(A,&X->span,&E); A 663 ext/sqlite/libsqlite/src/parse.y expr(A) ::= expr(X) IN LP select(Y) RP(E). { A 664 ext/sqlite/libsqlite/src/parse.y A = sqliteExpr(TK_IN, X, 0, 0); A 665 ext/sqlite/libsqlite/src/parse.y if( A ) A->pSelect = Y; A 666 ext/sqlite/libsqlite/src/parse.y sqliteExprSpan(A,&X->span,&E); A 668 ext/sqlite/libsqlite/src/parse.y expr(A) ::= expr(X) NOT IN LP exprlist(Y) RP(E). { A 669 ext/sqlite/libsqlite/src/parse.y A = sqliteExpr(TK_IN, X, 0, 0); A 670 ext/sqlite/libsqlite/src/parse.y if( A ) A->pList = Y; A 671 ext/sqlite/libsqlite/src/parse.y A = sqliteExpr(TK_NOT, A, 0, 0); A 672 ext/sqlite/libsqlite/src/parse.y sqliteExprSpan(A,&X->span,&E); A 674 ext/sqlite/libsqlite/src/parse.y expr(A) ::= expr(X) NOT IN LP select(Y) RP(E). { A 675 ext/sqlite/libsqlite/src/parse.y A = sqliteExpr(TK_IN, X, 0, 0); A 676 ext/sqlite/libsqlite/src/parse.y if( A ) A->pSelect = Y; A 677 ext/sqlite/libsqlite/src/parse.y A = sqliteExpr(TK_NOT, A, 0, 0); A 678 ext/sqlite/libsqlite/src/parse.y sqliteExprSpan(A,&X->span,&E); A 680 ext/sqlite/libsqlite/src/parse.y expr(A) ::= expr(X) IN nm(Y) dbnm(D). { A 682 ext/sqlite/libsqlite/src/parse.y A = sqliteExpr(TK_IN, X, 0, 0); A 683 ext/sqlite/libsqlite/src/parse.y if( A ) A->pSelect = sqliteSelectNew(0,pSrc,0,0,0,0,0,-1,0); A 684 ext/sqlite/libsqlite/src/parse.y sqliteExprSpan(A,&X->span,D.z?&D:&Y); A 686 ext/sqlite/libsqlite/src/parse.y expr(A) ::= expr(X) NOT IN nm(Y) dbnm(D). { A 688 ext/sqlite/libsqlite/src/parse.y A = sqliteExpr(TK_IN, X, 0, 0); A 689 ext/sqlite/libsqlite/src/parse.y if( A ) A->pSelect = sqliteSelectNew(0,pSrc,0,0,0,0,0,-1,0); A 690 ext/sqlite/libsqlite/src/parse.y A = sqliteExpr(TK_NOT, A, 0, 0); A 691 ext/sqlite/libsqlite/src/parse.y sqliteExprSpan(A,&X->span,D.z?&D:&Y); A 696 ext/sqlite/libsqlite/src/parse.y expr(A) ::= CASE(C) case_operand(X) case_exprlist(Y) case_else(Z) END(E). { A 697 ext/sqlite/libsqlite/src/parse.y A = sqliteExpr(TK_CASE, X, Z, 0); A 698 ext/sqlite/libsqlite/src/parse.y if( A ) A->pList = Y; A 699 ext/sqlite/libsqlite/src/parse.y sqliteExprSpan(A, &C, &E); A 703 ext/sqlite/libsqlite/src/parse.y case_exprlist(A) ::= case_exprlist(X) WHEN expr(Y) THEN expr(Z). { A 704 ext/sqlite/libsqlite/src/parse.y A = sqliteExprListAppend(X, Y, 0); A 705 ext/sqlite/libsqlite/src/parse.y A = sqliteExprListAppend(A, Z, 0); A 707 ext/sqlite/libsqlite/src/parse.y case_exprlist(A) ::= WHEN expr(Y) THEN expr(Z). { A 708 ext/sqlite/libsqlite/src/parse.y A = sqliteExprListAppend(0, Y, 0); A 709 ext/sqlite/libsqlite/src/parse.y A = sqliteExprListAppend(A, Z, 0); A 712 ext/sqlite/libsqlite/src/parse.y case_else(A) ::= ELSE expr(X). {A = X;} A 713 ext/sqlite/libsqlite/src/parse.y case_else(A) ::= . {A = 0;} A 715 ext/sqlite/libsqlite/src/parse.y case_operand(A) ::= expr(X). {A = X;} A 716 ext/sqlite/libsqlite/src/parse.y case_operand(A) ::= . {A = 0;} A 723 ext/sqlite/libsqlite/src/parse.y exprlist(A) ::= exprlist(X) COMMA expritem(Y). A 724 ext/sqlite/libsqlite/src/parse.y {A = sqliteExprListAppend(X,Y,0);} A 725 ext/sqlite/libsqlite/src/parse.y exprlist(A) ::= expritem(X). {A = sqliteExprListAppend(0,X,0);} A 726 ext/sqlite/libsqlite/src/parse.y expritem(A) ::= expr(X). {A = X;} A 727 ext/sqlite/libsqlite/src/parse.y expritem(A) ::= . {A = 0;} A 740 ext/sqlite/libsqlite/src/parse.y uniqueflag(A) ::= UNIQUE. { A = OE_Abort; } A 741 ext/sqlite/libsqlite/src/parse.y uniqueflag(A) ::= . { A = OE_None; } A 749 ext/sqlite/libsqlite/src/parse.y idxlist_opt(A) ::= . {A = 0;} A 750 ext/sqlite/libsqlite/src/parse.y idxlist_opt(A) ::= LP idxlist(X) RP. {A = X;} A 751 ext/sqlite/libsqlite/src/parse.y idxlist(A) ::= idxlist(X) COMMA idxitem(Y). {A = sqliteIdListAppend(X,&Y);} A 752 ext/sqlite/libsqlite/src/parse.y idxlist(A) ::= idxitem(Y). {A = sqliteIdListAppend(0,&Y);} A 753 ext/sqlite/libsqlite/src/parse.y idxitem(A) ::= nm(X) sortorder. {A = X;} A 783 ext/sqlite/libsqlite/src/parse.y plus_num(A) ::= plus_opt number(X). {A = X;} A 784 ext/sqlite/libsqlite/src/parse.y minus_num(A) ::= MINUS number(X). {A = X;} A 785 ext/sqlite/libsqlite/src/parse.y number(A) ::= INTEGER(X). {A = X;} A 786 ext/sqlite/libsqlite/src/parse.y number(A) ::= FLOAT(X). {A = X;} A 792 ext/sqlite/libsqlite/src/parse.y cmd ::= CREATE(A) trigger_decl BEGIN trigger_cmd_list(S) END(Z). { A 794 ext/sqlite/libsqlite/src/parse.y all.z = A.z; A 795 ext/sqlite/libsqlite/src/parse.y all.n = (Z.z - A.z) + Z.n; A 806 ext/sqlite/libsqlite/src/parse.y trigger_time(A) ::= BEFORE. { A = TK_BEFORE; } A 807 ext/sqlite/libsqlite/src/parse.y trigger_time(A) ::= AFTER. { A = TK_AFTER; } A 808 ext/sqlite/libsqlite/src/parse.y trigger_time(A) ::= INSTEAD OF. { A = TK_INSTEAD;} A 809 ext/sqlite/libsqlite/src/parse.y trigger_time(A) ::= . { A = TK_BEFORE; } A 813 ext/sqlite/libsqlite/src/parse.y trigger_event(A) ::= DELETE. { A.a = TK_DELETE; A.b = 0; } A 814 ext/sqlite/libsqlite/src/parse.y trigger_event(A) ::= INSERT. { A.a = TK_INSERT; A.b = 0; } A 815 ext/sqlite/libsqlite/src/parse.y trigger_event(A) ::= UPDATE. { A.a = TK_UPDATE; A.b = 0;} A 816 ext/sqlite/libsqlite/src/parse.y trigger_event(A) ::= UPDATE OF inscollist(X). {A.a = TK_UPDATE; A.b = X; } A 819 ext/sqlite/libsqlite/src/parse.y foreach_clause(A) ::= . { A = TK_ROW; } A 820 ext/sqlite/libsqlite/src/parse.y foreach_clause(A) ::= FOR EACH ROW. { A = TK_ROW; } A 821 ext/sqlite/libsqlite/src/parse.y foreach_clause(A) ::= FOR EACH STATEMENT. { A = TK_STATEMENT; } A 824 ext/sqlite/libsqlite/src/parse.y when_clause(A) ::= . { A = 0; } A 825 ext/sqlite/libsqlite/src/parse.y when_clause(A) ::= WHEN expr(X). { A = X; } A 829 ext/sqlite/libsqlite/src/parse.y trigger_cmd_list(A) ::= trigger_cmd(X) SEMI trigger_cmd_list(Y). { A 831 ext/sqlite/libsqlite/src/parse.y A = X; A 833 ext/sqlite/libsqlite/src/parse.y trigger_cmd_list(A) ::= . { A = 0; } A 838 ext/sqlite/libsqlite/src/parse.y trigger_cmd(A) ::= UPDATE orconf(R) nm(X) SET setlist(Y) where_opt(Z). A 839 ext/sqlite/libsqlite/src/parse.y { A = sqliteTriggerUpdateStep(&X, Y, Z, R); } A 842 ext/sqlite/libsqlite/src/parse.y trigger_cmd(A) ::= insert_cmd(R) INTO nm(X) inscollist_opt(F) A 844 ext/sqlite/libsqlite/src/parse.y {A = sqliteTriggerInsertStep(&X, F, Y, 0, R);} A 846 ext/sqlite/libsqlite/src/parse.y trigger_cmd(A) ::= insert_cmd(R) INTO nm(X) inscollist_opt(F) select(S). A 847 ext/sqlite/libsqlite/src/parse.y {A = sqliteTriggerInsertStep(&X, F, 0, S, R);} A 850 ext/sqlite/libsqlite/src/parse.y trigger_cmd(A) ::= DELETE FROM nm(X) where_opt(Y). A 851 ext/sqlite/libsqlite/src/parse.y {A = sqliteTriggerDeleteStep(&X, Y);} A 854 ext/sqlite/libsqlite/src/parse.y trigger_cmd(A) ::= select(X). {A = sqliteTriggerSelectStep(X); } A 857 ext/sqlite/libsqlite/src/parse.y expr(A) ::= RAISE(X) LP IGNORE RP(Y). { A 858 ext/sqlite/libsqlite/src/parse.y A = sqliteExpr(TK_RAISE, 0, 0, 0); A 859 ext/sqlite/libsqlite/src/parse.y A->iColumn = OE_Ignore; A 860 ext/sqlite/libsqlite/src/parse.y sqliteExprSpan(A, &X, &Y); A 862 ext/sqlite/libsqlite/src/parse.y expr(A) ::= RAISE(X) LP ROLLBACK COMMA nm(Z) RP(Y). { A 863 ext/sqlite/libsqlite/src/parse.y A = sqliteExpr(TK_RAISE, 0, 0, &Z); A 864 ext/sqlite/libsqlite/src/parse.y A->iColumn = OE_Rollback; A 865 ext/sqlite/libsqlite/src/parse.y sqliteExprSpan(A, &X, &Y); A 867 ext/sqlite/libsqlite/src/parse.y expr(A) ::= RAISE(X) LP ABORT COMMA nm(Z) RP(Y). { A 868 ext/sqlite/libsqlite/src/parse.y A = sqliteExpr(TK_RAISE, 0, 0, &Z); A 869 ext/sqlite/libsqlite/src/parse.y A->iColumn = OE_Abort; A 870 ext/sqlite/libsqlite/src/parse.y sqliteExprSpan(A, &X, &Y); A 872 ext/sqlite/libsqlite/src/parse.y expr(A) ::= RAISE(X) LP FAIL COMMA nm(Z) RP(Y). { A 873 ext/sqlite/libsqlite/src/parse.y A = sqliteExpr(TK_RAISE, 0, 0, &Z); A 874 ext/sqlite/libsqlite/src/parse.y A->iColumn = OE_Fail; A 875 ext/sqlite/libsqlite/src/parse.y sqliteExprSpan(A, &X, &Y); A 888 ext/sqlite/libsqlite/src/parse.y key_opt(A) ::= USING ids(X). { A = X; } A 889 ext/sqlite/libsqlite/src/parse.y key_opt(A) ::= . { A.z = 0; A.n = 0; } A 1714 ext/tidy/tidy.c TIDY_TAG_CONST(A);