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

Function _strlen

js/sql-debug.js:395165–395239  ·  view source on GitHub ↗
($0)

Source from the content-addressed store, hash-verified

395163 return (+$27);
395164}
395165function _strlen($0) {
395166 $0 = $0|0;
395167 var $$0 = 0, $$015$lcssa = 0, $$01519 = 0, $$1$lcssa = 0, $$pn = 0, $$pre = 0, $$sink = 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;
395168 var $21 = 0, $22 = 0, $23 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
395169 sp = STACKTOP;
395170 $1 = $0;
395171 $2 = $1 & 3;
395172 $3 = ($2|0)==(0);
395173 L1: do {
395174 if ($3) {
395175 $$015$lcssa = $0;
395176 label = 4;
395177 } else {
395178 $$01519 = $0;$23 = $1;
395179 while(1) {
395180 $4 = HEAP8[$$01519>>0]|0;
395181 $5 = ($4<<24>>24)==(0);
395182 if ($5) {
395183 $$sink = $23;
395184 break L1;
395185 }
395186 $6 = ((($$01519)) + 1|0);
395187 $7 = $6;
395188 $8 = $7 & 3;
395189 $9 = ($8|0)==(0);
395190 if ($9) {
395191 $$015$lcssa = $6;
395192 label = 4;
395193 break;
395194 } else {
395195 $$01519 = $6;$23 = $7;
395196 }
395197 }
395198 }
395199 } while(0);
395200 if ((label|0) == 4) {
395201 $$0 = $$015$lcssa;
395202 while(1) {
395203 $10 = HEAP32[$$0>>2]|0;
395204 $11 = (($10) + -16843009)|0;
395205 $12 = $10 & -2139062144;
395206 $13 = $12 ^ -2139062144;
395207 $14 = $13 & $11;
395208 $15 = ($14|0)==(0);
395209 $16 = ((($$0)) + 4|0);
395210 if ($15) {
395211 $$0 = $16;
395212 } else {
395213 break;
395214 }
395215 }
395216 $17 = $10&255;
395217 $18 = ($17<<24>>24)==(0);
395218 if ($18) {
395219 $$1$lcssa = $$0;
395220 } else {
395221 $$pn = $$0;
395222 while(1) {

Callers 15

_reverseFuncFunction · 0.85
_properFuncFunction · 0.85
_padlFuncFunction · 0.85
_padrFuncFunction · 0.85
_padcFuncFunction · 0.85
_strfilterFuncFunction · 0.85
_sqlite3VXPrintfFunction · 0.85
_sqlite3_initializeFunction · 0.85
_unixOpenFunction · 0.85
_unixFullPathnameFunction · 0.85
_openDirectoryFunction · 0.85
_sqlite3_uri_booleanFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…