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

Function _memIntValue

js/sql-debug.js:13173–13196  ·  view source on GitHub ↗
($$0$2$val,$$0$4$val,$$0$5$val)

Source from the content-addressed store, hash-verified

13171 return ($6|0);
13172}
13173function _memIntValue($$0$2$val,$$0$4$val,$$0$5$val) {
13174 $$0$2$val = $$0$2$val|0;
13175 $$0$4$val = $$0$4$val|0;
13176 $$0$5$val = $$0$5$val|0;
13177 var $0 = 0, $1 = 0, $10 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
13178 sp = STACKTOP;
13179 STACKTOP = STACKTOP + 16|0;
13180 $0 = sp;
13181 $1 = $0;
13182 $2 = $1;
13183 HEAP32[$2>>2] = 0;
13184 $3 = (($1) + 4)|0;
13185 $4 = $3;
13186 HEAP32[$4>>2] = 0;
13187 (_sqlite3Atoi64($$0$5$val,$0,$$0$4$val,$$0$2$val)|0);
13188 $5 = $0;
13189 $6 = $5;
13190 $7 = HEAP32[$6>>2]|0;
13191 $8 = (($5) + 4)|0;
13192 $9 = $8;
13193 $10 = HEAP32[$9>>2]|0;
13194 tempRet0 = ($10);
13195 STACKTOP = sp;return ($7|0);
13196}
13197function _memRealValue($$0$2$val,$$0$4$val,$$0$5$val) {
13198 $$0$2$val = $$0$2$val|0;
13199 $$0$4$val = $$0$4$val|0;

Callers 15

_sqlite3VXPrintfFunction · 0.85
_compileoptiongetFuncFunction · 0.85
_charFuncFunction · 0.85
_absFuncFunction · 0.85
_roundFuncFunction · 0.85
_randomBlobFunction · 0.85
_errlogFuncFunction · 0.85
_zeroblobFuncFunction · 0.85
_substrFuncFunction · 0.85
_sumStepFunction · 0.85
_sqlite3_value_intFunction · 0.85
_sqlite3_value_int64Function · 0.85

Calls 1

_sqlite3Atoi64Function · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…