MCPcopy
hub / github.com/sql-js/sql.js / _fts3NextMethod

Function _fts3NextMethod

js/sql-debug.js:331002–331265  ·  view source on GitHub ↗
($0)

Source from the content-addressed store, hash-verified

331000 STACKTOP = sp;return ($$1|0);
331001}
331002function _fts3NextMethod($0) {
331003 $0 = $0|0;
331004 var $$0 = 0, $$pre = 0, $$pre$i = 0, $$pre$phi12Z2D = 0, $1 = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0;
331005 var $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0, $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0;
331006 var $131 = 0, $132 = 0, $133 = 0, $134 = 0, $135 = 0, $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $15 = 0, $16 = 0, $17 = 0;
331007 var $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0;
331008 var $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0;
331009 var $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0;
331010 var $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0;
331011 var $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, $cond$i = 0, $or$cond$i$i = 0, $or$cond$i$i$i = 0, $switch = 0, label = 0, sp = 0;
331012 sp = STACKTOP;
331013 STACKTOP = STACKTOP + 16|0;
331014 $1 = sp;
331015 $2 = ((($0)) + 4|0);
331016 $3 = HEAP16[$2>>1]|0;
331017 $switch = ($3&65535)<(2);
331018 if ($switch) {
331019 $4 = ((($0)) + 12|0);
331020 $5 = HEAP32[$4>>2]|0;
331021 $6 = (_sqlite3_step($5)|0);
331022 $7 = ($6|0)==(100);
331023 $8 = HEAP32[$4>>2]|0;
331024 if ($7) {
331025 $45 = (_sqlite3_column_int64($8,0)|0);
331026 $46 = tempRet0;
331027 $47 = ((($0)) + 32|0);
331028 $48 = $47;
331029 $49 = $48;
331030 HEAP32[$49>>2] = $45;
331031 $50 = (($48) + 4)|0;
331032 $51 = $50;
331033 HEAP32[$51>>2] = $46;
331034 $$0 = 0;
331035 STACKTOP = sp;return ($$0|0);
331036 }
331037 $9 = ((($0)) + 6|0);
331038 HEAP8[$9>>0] = 1;
331039 $10 = ($8|0)==(0|0);
331040 if ($10) {
331041 $$0 = 0;
331042 STACKTOP = sp;return ($$0|0);
331043 }
331044 $11 = HEAP32[$8>>2]|0;
331045 $12 = ((($8)) + 128|0);
331046 $13 = $12;
331047 $14 = $13;
331048 $15 = HEAP32[$14>>2]|0;
331049 $16 = (($13) + 4)|0;
331050 $17 = $16;
331051 $18 = HEAP32[$17>>2]|0;
331052 $19 = ($18|0)>(0);
331053 $20 = ($15>>>0)>(0);
331054 $21 = ($18|0)==(0);
331055 $22 = $21 & $20;
331056 $23 = $19 | $22;
331057 if ($23) {
331058 _invokeProfileCallback($11,$8);
331059 }

Callers 1

_fts3FilterMethodFunction · 0.85

Calls 7

_sqlite3_stepFunction · 0.85
_sqlite3_column_int64Function · 0.85
_invokeProfileCallbackFunction · 0.85
_sqlite3VdbeResetFunction · 0.85
_apiOomErrorFunction · 0.85
_fts3EvalNextRowFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…