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

Function _sqlite3_result_text

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

Source from the content-addressed store, hash-verified

86517 return;
86518}
86519function _sqlite3_result_text($0,$1,$2,$3) {
86520 $0 = $0|0;
86521 $1 = $1|0;
86522 $2 = $2|0;
86523 $3 = $3|0;
86524 var $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
86525 sp = STACKTOP;
86526 $4 = HEAP32[$0>>2]|0;
86527 $5 = (_sqlite3VdbeMemSetStr($4,$1,$2,1,$3)|0);
86528 $6 = ($5|0)==(18);
86529 if (!($6)) {
86530 return;
86531 }
86532 $7 = ((($0)) + 20|0);
86533 HEAP32[$7>>2] = 18;
86534 $8 = ((($0)) + 25|0);
86535 HEAP8[$8>>0] = 1;
86536 $9 = HEAP32[$0>>2]|0;
86537 (_sqlite3VdbeMemSetStr($9,18992,-1,1,0)|0);
86538 return;
86539}
86540function _sqlite3_result_error_nomem($0) {
86541 $0 = $0|0;
86542 var $$pre = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $3 = 0, $4 = 0, $5 = 0;

Callers 9

_replicateFuncFunction · 0.85
_leftFuncFunction · 0.85
_rightFuncFunction · 0.85
_reverseFuncFunction · 0.85
_properFuncFunction · 0.85
_padlFuncFunction · 0.85
_padrFuncFunction · 0.85
_padcFuncFunction · 0.85
_strfilterFuncFunction · 0.85

Calls 1

_sqlite3VdbeMemSetStrFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…