Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/emscripten-core/emscripten
/ functions
Functions
28,963 in github.com/emscripten-core/emscripten
⨍
Functions
28,963
◇
Types & classes
6,500
↳
Endpoints
27
↓ 13,212 callers
Function
printf
system/lib/libc/musl/src/stdio/printf.c:5
↓ 4,990 callers
Function
assert
@type {function(*, string=)}
test/codesize/test_codesize_minimal_O0.expected.js:268
↓ 1,882 callers
Function
move
system/lib/libcxx/include/__algorithm/move.h:127
↓ 990 callers
Function
test_file
Construct a path relative to the emscripten "tests" directory.
test/common.py:126
↓ 957 callers
Method
run_process
(self, cmd, check=True, **kwargs)
test/common.py:1253
↓ 892 callers
Function
create_file
(name, contents, binary=False, absolute=False)
test/common.py:210
↓ 845 callers
Method
join
system/lib/libcxx/src/thread.cpp:42
↓ 735 callers
Function
assert
@type {function(*, string=)}
src/preamble.js:68
↓ 734 callers
Method
size
()
test/other/embind_tsgen_ignore_2.d.ts:54
↓ 602 callers
Method
assertContained
(self, values, string, additional_info='', regex=False)
test/common.py:1150
↓ 556 callers
Method
set_setting
(self, key, value=1)
test/common.py:846
↓ 550 callers
Function
makeSetValue
* @param {number} ptr The pointer. Used to find both the slab and the offset in that slab. If the pointer * is just an integer, then this
src/parseTools.mjs:507
↓ 546 callers
Method
do_runf
(self, filename, expected_output=None, **kwargs)
test/common.py:1450
↓ 533 callers
Method
append
append returns true on success and false on allocation failure.
system/lib/llvm-libc/src/__support/char_vector.h:43
↓ 519 callers
Method
get
(_0: number)
test/other/embind_tsgen_ignore_2.d.ts:55
↓ 482 callers
Method
push
system/lib/llvm-libc/src/__support/freetrie.h:120
↓ 433 callers
Method
btest_exit
Special case of `btest` that reports its result solely via exiting with a given result code. In this case we set EXIT_RUNTIME and we don't need t
test/browser_common.py:946
↓ 423 callers
Function
memcpy
system/lib/libc/musl/src/string/memcpy.c:5
↓ 421 callers
Function
multiply_add
system/lib/llvm-libc/src/__support/FPUtil/multiply_add.h:50
↓ 408 callers
Function
memset
system/lib/libc/musl/src/string/memset.c:4
↓ 401 callers
Function
strcmp
system/lib/libc/musl/src/string/strcmp.c:3
↓ 392 callers
Function
print
test/core/test_vprintf.c:11
↓ 385 callers
Method
get_val
Floating-point conversions.
system/lib/llvm-libc/src/__support/FPUtil/FPBits.h:851
↓ 355 callers
Function
dbg
(' diagonal ' + i + ':' + [data[i*surfData.width*4 + i*4 + 0], data[i*surfData.width*4 + i*4 + 1], data[i*su
src/lib/libsdl.js:1255
↓ 355 callers
Function
test
test/embind/test_val.cpp:16
↓ 339 callers
Method
do_core_test
(self, testname, **kwargs)
test/test_core.py:498
↓ 337 callers
Function
function
(handle)
src/lib/libembind.js:1592
↓ 316 callers
Function
addressof
system/lib/libcxx/include/__memory/addressof.h:36
↓ 294 callers
Function
strlen
system/lib/libc/musl/src/string/strlen.c:10
↓ 289 callers
Method
push_back
(_0: number)
test/other/embind_tsgen_ignore_2.d.ts:52
↓ 279 callers
Function
out
(text)
test/js_optimizer/applyImportAndExportNameChanges2.js:9
↓ 275 callers
Function
open
(stream)
test/codesize/test_codesize_file_preload.expected.js:852
↓ 274 callers
Function
begin
system/lib/libcxx/include/__ranges/subrange.h:134
↓ 270 callers
Method
delete
()
test/other/embind_tsgen_ignore_2.d.ts:8
↓ 268 callers
Function
end
system/lib/libcxx/include/__ranges/subrange.h:146
↓ 263 callers
Method
log
(msg)
src/utility.mjs:270
↓ 259 callers
Function
global
system/include/emscripten/val.h:343
↓ 257 callers
Function
EM_ASM
test/embind/test_val.cpp:452
↓ 254 callers
Function
close
(stream)
test/codesize/test_codesize_file_preload.expected.js:860
↓ 251 callers
Method
split
system/lib/llvm-libc/src/__support/block.h:431
↓ 236 callers
Method
run_js
(self, filename, engine=None, args=None, assert_returncode=0, interleaved_output=Tru
test/common.py:1030
↓ 233 callers
Function
__m256i_to_internal
system/include/compat/avxintrin.h:77
↓ 232 callers
Function
fprintf
system/lib/libc/musl/src/stdio/fprintf.c:5
↓ 228 callers
Function
emscripten_out
test/pthread/test_pthread_cancel_async.c:18
↓ 220 callers
Function
syscall
system/lib/libc/musl/src/misc/syscall.c:8
↓ 214 callers
Function
malloc
test/core/test_wrap_malloc.c:16
↓ 208 callers
Method
assert_fail
Just like expect_fail, but also check for expected message in stderr.
test/common.py:1316
↓ 188 callers
Method
c_str
system/lib/llvm-libc/src/__support/char_vector.h:71
↓ 188 callers
Method
uintval
system/lib/llvm-libc/src/__support/FPUtil/FPBits.h:656
↓ 186 callers
Function
exit
system/lib/libc/musl/src/exit/exit.c:30
↓ 184 callers
Function
S
S(x) rational function for positive x */
system/lib/libc/musl/src/math/tgamma.c:89
↓ 183 callers
Function
UTF8ToString
(ptr)
test/js_optimizer/minimal-runtime-emitDCEGraph.js:11
↓ 182 callers
Method
set
(_0: number, _1: number)
test/other/embind_tsgen_ignore_2.d.ts:56
↓ 175 callers
Method
write
()
test/codesize/test_codesize_file_preload.expected.js:1450
↓ 174 callers
Function
common_flags
system/lib/compiler-rt/lib/sanitizer_common/sanitizer_flags.h:37
↓ 174 callers
Function
free
system/lib/mimalloc/src/alloc-override.c:146
↓ 169 callers
Function
invoke
system/lib/llvm-libc/src/__support/CPP/type_traits/invoke.h:59
↓ 166 callers
Function
exit_with_error
(msg, *args)
tools/utils.py:72
↓ 159 callers
Method
do_run_in_out_file_test
(self, srcfile, **kwargs)
test/common.py:1453
↓ 159 callers
Method
function
system/lib/libcxx/include/__functional/function.h:710
↓ 155 callers
Method
begin
system/lib/libcxx/include/__format/formatter_floating_point.h:187
↓ 153 callers
Function
abort
@param {string|number=} what
src/preamble_minimal.js:19
↓ 153 callers
Method
end
system/lib/libcxx/include/__format/formatter_floating_point.h:188
↓ 152 callers
Function
print
(x)
tools/lz4-compress.mjs:10
↓ 150 callers
Function
err
()
src/lib/libopenal.js:2215
↓ 148 callers
Function
free
test/core/test_wrap_malloc.c:30
↓ 148 callers
Function
puts
system/lib/libc/musl/src/stdio/puts.c:3
↓ 148 callers
Function
read_file
Read from a file opened in text mode.
tools/utils.py:169
↓ 147 callers
Function
__m256i_from_internal
system/include/compat/avxintrin.h:86
↓ 145 callers
Function
max
system/lib/libcxx/include/__algorithm/max.h:42
↓ 142 callers
Function
raise_except_if_required
system/lib/llvm-libc/src/__support/FPUtil/FEnvImpl.h:91
↓ 140 callers
Method
slice
slice(n, m) - Chop off the first N elements of the array, and keep M elements in the array.
system/lib/compiler-rt/lib/sanitizer_common/sanitizer_array_ref.h:67
↓ 140 callers
Function
strerror
system/lib/libc/musl/src/errno/strerror.c:54
↓ 138 callers
Function
__syscall_ret
system/lib/libc/musl/src/internal/syscall_ret.c:4
↓ 133 callers
Method
assertNotContained
(self, value, string, regex=False)
test/common.py:1173
↓ 133 callers
Method
count
()
test/other/embind_tsgen_ignore_2.d.ts:60
↓ 133 callers
Method
get_setting
(self, key, default=None)
test/common.py:843
↓ 133 callers
Method
locked
system/lib/wasmfs/file.h:429
↓ 132 callers
Function
copy_asset
Copy file/asset from the test directory into the CWD.
test/common.py:131
↓ 130 callers
Function
test
test/test_c_preprocessor.c:5
↓ 127 callers
Function
fopen
system/lib/libc/musl/src/stdio/fopen.c:6
↓ 125 callers
Method
assertExists
(self, filename, msg=None)
test/common.py:1085
↓ 125 callers
Method
exists
system/lib/compiler-rt/lib/sanitizer_common/sanitizer_addrhashmap.h:194
↓ 124 callers
Function
min
system/lib/libcxx/include/__algorithm/min.h:42
↓ 120 callers
Function
fclose
system/lib/libc/musl/src/stdio/fclose.c:7
↓ 120 callers
Function
ptrToString
(ptr)
test/codesize/test_codesize_minimal_O0.expected.js:783
↓ 119 callers
Method
reftest
Like `btest` but uses a reference image.
test/test_browser.py:279
↓ 118 callers
Function
isnan
system/lib/libcxx/include/__math/traits.h:116
↓ 116 callers
Function
emscripten_outf
test/pthread/test_pthread_cancel_async.c:22
↓ 115 callers
Function
T
system/lib/llvm-libc/src/__support/FPUtil/NormalFloat.h:95
↓ 115 callers
Function
malloc
system/lib/mimalloc/src/alloc-override.c:149
↓ 113 callers
Method
do_other_test
(self, testname, cflags=None, **kwargs)
test/test_other.py:331
↓ 110 callers
Function
func
test/core/test_alloca_stack.c:12
↓ 108 callers
Function
TEST
test/other/test_googletest.cc:3
↓ 108 callers
Function
path_from_root
(*pathelems)
tools/utils.py:76
↓ 104 callers
Function
emscripten_get_now
test/core/test_syscall_intercept.c:9
↓ 104 callers
Function
flags
system/lib/compiler-rt/lib/asan/asan_flags.h:40
↓ 103 callers
Function
Die
system/lib/compiler-rt/lib/sanitizer_common/sanitizer_termination.cpp:50
↓ 103 callers
Method
call
system/include/emscripten/bind.h:1111
↓ 102 callers
Method
data
system/lib/libcxx/include/__ranges/ref_view.h:71
next →
1–100 of 28,963, ranked by callers