MCPcopy Index your code
hub / github.com/sql-js/sql.js / _sqlite3_bind_value

Function _sqlite3_bind_value

js/sql-debug.js:322479–322686  ·  view source on GitHub ↗
($0,$1,$2)

Source from the content-addressed store, hash-verified

322477 return (0)|0;
322478}
322479function _sqlite3_bind_value($0,$1,$2) {
322480 $0 = $0|0;
322481 $1 = $1|0;
322482 $2 = $2|0;
322483 var $$$i$i = 0, $$0 = 0, $$0$$0$$0$$0$$0$$i$i$i = 0.0, $$0$$0$$0$$0$$0$2$i$i$i = 0.0, $$0$$0$$0$$0$$0$3$i$i$i = 0.0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0;
322484 var $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0.0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0;
322485 var $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0;
322486 var $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0;
322487 var $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $or$cond$i$i$i = 0, label = 0, sp = 0;
322488 sp = STACKTOP;
322489 STACKTOP = STACKTOP + 16|0;
322490 $3 = sp + 8|0;
322491 $4 = sp;
322492 $5 = ((($2)) + 8|0);
322493 $6 = HEAP16[$5>>1]|0;
322494 $7 = $6 & 31;
322495 $8 = $7&65535;
322496 $9 = (19034 + ($8)|0);
322497 $10 = HEAP8[$9>>0]|0;
322498 switch ($10<<24>>24) {
322499 case 1: {
322500 $11 = $2;
322501 $12 = $11;
322502 $13 = HEAP32[$12>>2]|0;
322503 $14 = (($11) + 4)|0;
322504 $15 = $14;
322505 $16 = HEAP32[$15>>2]|0;
322506 $17 = (_vdbeUnbind($0,$1)|0);
322507 $18 = ($17|0)==(0);
322508 if (!($18)) {
322509 $$0 = $17;
322510 STACKTOP = sp;return ($$0|0);
322511 }
322512 $19 = ((($0)) + 116|0);
322513 $20 = HEAP32[$19>>2]|0;
322514 $21 = (($1) + -1)|0;
322515 $22 = (($20) + (($21*40)|0)|0);
322516 $23 = (((($20) + (($21*40)|0)|0)) + 8|0);
322517 $24 = HEAP16[$23>>1]|0;
322518 $25 = $24 & 9312;
322519 $26 = ($25<<16>>16)==(0);
322520 if ($26) {
322521 $27 = $22;
322522 $28 = $27;
322523 HEAP32[$28>>2] = $13;
322524 $29 = (($27) + 4)|0;
322525 $30 = $29;
322526 HEAP32[$30>>2] = $16;
322527 HEAP16[$23>>1] = 4;
322528 $$0 = 0;
322529 STACKTOP = sp;return ($$0|0);
322530 } else {
322531 _vdbeReleaseAndSetInt64($22,$13,$16);
322532 $$0 = 0;
322533 STACKTOP = sp;return ($$0|0);
322534 }
322535 break;
322536 }

Callers 3

_fts3FilterMethodFunction · 0.85
_fts3InsertDataFunction · 0.85
_fts3SqlStmtFunction · 0.85

Calls 8

_vdbeUnbindFunction · 0.85
_vdbeReleaseAndSetInt64Function · 0.85
_vdbeMemClearFunction · 0.85
_sqlite3VdbeMemSetStrFunction · 0.85
_sqlite3ErrorFinishFunction · 0.85
_apiOomErrorFunction · 0.85
_bindTextFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…