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

Function _valueBytes

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

Source from the content-addressed store, hash-verified

29931 }
29932}
29933function _valueBytes($0,$1) {
29934 $0 = $0|0;
29935 $1 = $1|0;
29936 var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, label = 0, sp = 0;
29937 sp = STACKTOP;
29938 $2 = (_valueToText($0,$1)|0);
29939 $3 = ($2|0)==(0|0);
29940 if ($3) {
29941 $6 = 0;
29942 return ($6|0);
29943 }
29944 $4 = ((($0)) + 12|0);
29945 $5 = HEAP32[$4>>2]|0;
29946 $6 = $5;
29947 return ($6|0);
29948}
29949function _sqlite3VdbeMemSetStr($0,$1,$2,$3,$4) {
29950 $0 = $0|0;
29951 $1 = $1|0;

Callers 15

_trimFuncFunction · 0.85
_lengthFuncFunction · 0.85
_instrFuncFunction · 0.85
_upperFuncFunction · 0.85
_lowerFuncFunction · 0.85
_hexFuncFunction · 0.85
_quoteFuncFunction · 0.85
_replaceFuncFunction · 0.85
_substrFuncFunction · 0.85
_groupConcatStepFunction · 0.85
_likeFuncFunction · 0.85
_isDateFunction · 0.85

Calls 1

_valueToTextFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…