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

Function _hexFunc

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

Source from the content-addressed store, hash-verified

26594 return;
26595}
26596function _hexFunc($0,$1,$2) {
26597 $0 = $0|0;
26598 $1 = $1|0;
26599 $2 = $2|0;
26600 var $$0$i$i = 0, $$027$lcssa = 0, $$02730 = 0, $$02829 = 0, $$031 = 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;
26601 var $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 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;
26602 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, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $exitcond = 0, $scevgep = 0, label = 0, sp = 0;
26603 sp = STACKTOP;
26604 $3 = HEAP32[$2>>2]|0;
26605 $4 = (_sqlite3_value_blob($3)|0);
26606 $5 = HEAP32[$2>>2]|0;
26607 $6 = ((($5)) + 8|0);
26608 $7 = HEAP16[$6>>1]|0;
26609 $8 = $7&65535;
26610 $9 = $8 & 2;
26611 $10 = ($9|0)==(0);
26612 if ($10) {
26613 label = 4;
26614 } else {
26615 $11 = ((($5)) + 10|0);
26616 $12 = HEAP8[$11>>0]|0;
26617 $13 = ($12<<24>>24)==(1);
26618 if ($13) {
26619 $14 = ((($5)) + 12|0);
26620 $15 = HEAP32[$14>>2]|0;
26621 $$0$i$i = $15;
26622 } else {
26623 label = 4;
26624 }
26625 }
26626 do {
26627 if ((label|0) == 4) {
26628 $16 = $8 & 16;
26629 $17 = ($16|0)==(0);
26630 if ($17) {
26631 $24 = $8 & 1;
26632 $25 = ($24|0)==(0);
26633 if (!($25)) {
26634 $$0$i$i = 0;
26635 break;
26636 }
26637 $26 = (_valueBytes($5,1)|0);
26638 $$0$i$i = $26;
26639 break;
26640 } else {
26641 $18 = $8 & 16384;
26642 $19 = ($18|0)==(0);
26643 $20 = ((($5)) + 12|0);
26644 $21 = HEAP32[$20>>2]|0;
26645 if ($19) {
26646 $$0$i$i = $21;
26647 break;
26648 }
26649 $22 = HEAP32[$5>>2]|0;
26650 $23 = (($22) + ($21))|0;
26651 $$0$i$i = $23;
26652 break;
26653 }

Callers

nothing calls this directly

Calls 5

_sqlite3_value_blobFunction · 0.85
_valueBytesFunction · 0.85
_bitshift64ShlFunction · 0.85
_contextMallocFunction · 0.85
_sqlite3VdbeMemSetStrFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…