MCPcopy Create free account
hub / github.com/sql-js/sql.js / _unixFileSize

Function _unixFileSize

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

Source from the content-addressed store, hash-verified

17329 STACKTOP = sp;return ($$0|0);
17330}
17331function _unixFileSize($0,$1) {
17332 $0 = $0|0;
17333 $1 = $1|0;
17334 var $$0 = 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, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0;
17335 var $9 = 0, label = 0, sp = 0;
17336 sp = STACKTOP;
17337 STACKTOP = STACKTOP + 80|0;
17338 $2 = sp;
17339 $3 = HEAP32[(3484)>>2]|0;
17340 $4 = ((($0)) + 12|0);
17341 $5 = HEAP32[$4>>2]|0;
17342 $6 = (FUNCTION_TABLE_iii[$3 & 255]($5,$2)|0);
17343 $7 = ($6|0)==(0);
17344 if ($7) {
17345 $11 = ((($2)) + 36|0);
17346 $12 = HEAP32[$11>>2]|0;
17347 $13 = ($12|0)<(0);
17348 $14 = $13 << 31 >> 31;
17349 $15 = ($12|0)==(1);
17350 $16 = $15 ? 0 : $12;
17351 $17 = $15 ? 0 : $14;
17352 $18 = $1;
17353 $19 = $18;
17354 HEAP32[$19>>2] = $16;
17355 $20 = (($18) + 4)|0;
17356 $21 = $20;
17357 HEAP32[$21>>2] = $17;
17358 $$0 = 0;
17359 STACKTOP = sp;return ($$0|0);
17360 } else {
17361 $8 = (___errno_location()|0);
17362 $9 = HEAP32[$8>>2]|0;
17363 $10 = ((($0)) + 20|0);
17364 HEAP32[$10>>2] = $9;
17365 $$0 = 1802;
17366 STACKTOP = sp;return ($$0|0);
17367 }
17368 return (0)|0;
17369}
17370function _dotlockLock($0,$1) {
17371 $0 = $0|0;
17372 $1 = $1|0;

Callers

nothing calls this directly

Calls 1

___errno_locationFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…