Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/callstackincubator/polygen
/ functions
Functions
615 in github.com/callstackincubator/polygen
⨍
Functions
615
◇
Types & classes
231
Method
localOutputDirectory
* Local output directory
packages/polygen-project/src/project.paths.ts:69
Method
localSourceDir
* Local source directory
packages/polygen-project/src/project.paths.ts:83
Function
makeDeclaration
(symbol: ResolvedModuleImport)
packages/codegen/src/templates/library/imports-bridge.ts:25
Function
makeExportFunc
(func: GeneratedSymbol<GeneratedModuleFunction>)
packages/codegen/src/templates/library/module-bridge.ts:70
Function
makeExportMemory
(mem: GeneratedSymbol<ModuleMemory>)
packages/codegen/src/templates/library/module-bridge.ts:90
Function
makeExportTable
(table: GeneratedSymbol<ModuleTable>)
packages/codegen/src/templates/library/module-bridge.ts:102
Function
makeModuleFactoryDecl
(module: W2CGeneratedModule)
packages/codegen/src/templates/host.ts:8
Function
map
(key: TypeBuilder, value: TypeBuilder)
packages/codegen/src/source-builder/builder.types.ts:29
Method
moduleFactoryFunctionName
* Name of the function that creates a new instance of the module.
packages/codegen/src/codegen/modules.ts:183
Function
moduleGenerated
({ moduleOutput, context })
packages/codegen/src/pipeline/dump-metadata.ts:11
Function
moduleGenerated
* Generates a JavaScript module file for a given WebAssembly (.wasm) module. * The generated module will be placed under the project's output dir
packages/codegen/src/pipeline/react-native/metro.ts:29
Method
moduleGenerated
( codegen: Codegen, moduleConfig: PolygenModuleConfig, module: W2CGeneratedModule )
packages/polygen-cli/src/plugin.ts:11
Method
multiply
Example method See https://reactnative.dev/docs/native-modules-android
packages/polygen/android/src/main/java/com/wasm/WasmModule.kt:16
Method
multiply
packages/polygen/android/src/oldarch/WasmSpec.kt:10
Function
of
(name: string)
packages/codegen/src/source-builder/builder.types.ts:17
Method
operator==
packages/polygen/cpp/ReactNativePolygen/utils/hashpp.h:2886
Function
os_mmap
packages/polygen/cpp/wasm-rt/wasm-rt-mem-impl.c:73
Function
os_mmap
packages/codegen/assets/wasm-rt/wasm-rt-mem-impl.c:73
Function
os_mprotect
packages/polygen/cpp/wasm-rt/wasm-rt-mem-impl.c:85
Function
os_mprotect
packages/codegen/assets/wasm-rt/wasm-rt-mem-impl.c:85
Function
os_munmap
packages/polygen/cpp/wasm-rt/wasm-rt-mem-impl.c:78
Function
os_munmap
packages/codegen/assets/wasm-rt/wasm-rt-mem-impl.c:78
Function
os_print_last_error
packages/polygen/cpp/wasm-rt/wasm-rt-mem-impl.c:97
Function
os_print_last_error
packages/codegen/assets/wasm-rt/wasm-rt-mem-impl.c:97
Function
os_signal_handler
packages/polygen/cpp/wasm-rt/wasm-rt-impl.c:105
Function
os_signal_handler
packages/codegen/assets/wasm-rt/wasm-rt-impl.c:100
Method
outputDirectory
* Path to output directory where generated files will be created.
packages/codegen/src/codegen.ts:171
Function
polygen_trap_handler
packages/polygen/cpp/ReactNativePolygen/bridge.cpp:13
Method
projectDidLoad
(project: Project)
packages/polygen-cli/src/plugin.ts:19
Function
readCustomSection
* Reads a custom section from a binary reader and returns its representation. * * This function assumes the binary reader points to beginning of the
packages/wasm-parser/src/reader/section-reader.ts:163
Function
readExport
()
packages/wasm-parser/src/reader/section-reader.ts:270
Function
readExportSection
* Reads the export section from a binary data stream using a BinaryReader. * * This function assumes the binary reader points to beginning of the se
packages/wasm-parser/src/reader/section-reader.ts:269
Function
readFunctionSection
* Reads a function section from a binary reader and returns its representation. * * This function assumes the binary reader points to beginning of t
packages/wasm-parser/src/reader/section-reader.ts:212
Function
readGlobal
()
packages/wasm-parser/src/reader/section-reader.ts:252
Function
readGlobalSection
* Reads a global section from a binary reader and returns its representation. * * This function assumes the binary reader points to beginning of the
packages/wasm-parser/src/reader/section-reader.ts:251
Function
readImport
()
packages/wasm-parser/src/reader/section-reader.ts:194
Function
readImportSection
* Reads an import section from a binary reader and returns its representation. * * This function assumes the binary reader points to beginning of th
packages/wasm-parser/src/reader/section-reader.ts:193
Function
readMemorySection
* Reads a memory section from the given binary reader. * * This function assumes the binary reader points to beginning of the section. * * @param
packages/wasm-parser/src/reader/section-reader.ts:238
Function
readNumType
(reader: BinaryReader)
packages/wasm-parser/src/reader/type-reader.ts:55
Function
readTableSection
* Reads a table section from a binary reader and returns its representation. * * This function assumes the binary reader points to beginning of the
packages/wasm-parser/src/reader/section-reader.ts:225
Function
readTypeSection
* Reads a type section from a binary reader and returns its representation. * * This function assumes the binary reader points to beginning of the s
packages/wasm-parser/src/reader/section-reader.ts:180
Function
readVecType
(reader: BinaryReader)
packages/wasm-parser/src/reader/type-reader.ts:59
Function
resolveRequest
(context, moduleName, platform)
packages/metro-config/src/index.ts:29
Method
rl64
packages/polygen/cpp/ReactNativePolygen/utils/hashpp.h:95
Method
rootOutput
()
packages/codegen/src/codegen.ts:274
Method
set
(index: number, value: any)
packages/polygen/src/api/Table.ts:80
Method
setAlgorithm
packages/polygen/cpp/ReactNativePolygen/utils/hashpp.h:3021
Method
setData
packages/polygen/cpp/ReactNativePolygen/utils/hashpp.h:3024
Method
setElement
packages/polygen/cpp/ReactNativePolygen/WebAssembly/ExternRefTable.h:60
Method
setGlobalValue
packages/polygen/cpp/ReactNativePolygen/ReactNativePolygen.cpp:108
Method
setKey
packages/polygen/cpp/ReactNativePolygen/utils/hashpp.h:3022
Method
setTableElement
packages/polygen/cpp/ReactNativePolygen/ReactNativePolygen.cpp:149
Method
setValueUnsafe
packages/polygen/cpp/ReactNativePolygen/WebAssembly/Global.h:59
Method
skip
* Moves the internal offset forward by the specified number. * * @param n - The number of positions to move the offset forward. * @return The
packages/binary-utils/src/binary-reader.ts:60
Function
skipSection
* Skips a section of a binary stream. * * @param reader The BinaryReader instance used to read the binary stream. * @param size The number of bytes
packages/wasm-parser/src/reader/section-reader.ts:149
Method
skipUntilByte
* Skips the binary data until the specified byte value is found.
packages/binary-utils/src/binary-reader.ts:67
Function
stringVector
()
packages/codegen/src/source-builder/builder.types.ts:13
Method
toString
* Returns the generated source code as a string.
packages/codegen/src/source-builder/builder.block.ts:28
Method
toString
()
packages/codegen/src/source-builder/builder.expr.ts:43
Method
toString
()
packages/codegen/src/source-builder/builder.types.ts:49
Method
toString
* Returns the generated source code as a string.
packages/codegen/src/source-builder/source-writer.ts:118
Function
transform
(option, node)
docs/app/docs/layout.tsx:13
Method
tryGet
packages/polygen/cpp/ReactNativePolygen/NativeStateHelper.h:34
Method
type
* Helper function to generate a type. * * @param builder Function that builds a type * @return C++ Type as string
packages/codegen/src/source-builder/builder.block.ts:50
Method
type
()
packages/codegen/src/source-builder/builder.decls.ts:87
Function
typedArraysAreEqual
(a: T, b: T)
packages/binary-utils/src/helpers.ts:74
Method
unloadModule
packages/polygen/cpp/ReactNativePolygen/ReactNativePolygen.cpp:51
Method
unloadModule
(module: OpaqueModuleNativeHandle)
packages/polygen/src/NativePolygen.ts:140
Method
using
(name: string, value: string)
packages/codegen/src/source-builder/builder.block.ts:82
Method
valid
packages/polygen/cpp/ReactNativePolygen/utils/hashpp.h:2863
Method
valid
function used to check if there are any hashes in the collection under the requested algorithm for instance, the below will check if allHashes has ha
packages/polygen/cpp/ReactNativePolygen/utils/hashpp.h:2932
Function
validate
(_bufferOrView: BufferSource)
packages/polygen/src/api/WebAssembly.ts:19
Method
valueOf
()
packages/polygen/types/WebAssembly-global.d.ts:16
Function
wasm_rt_allocate_memory_shared
Shared memory version of wasm_rt_allocate_memory */
packages/codegen/assets/wasm-rt-weak.h:613
Function
wasm_rt_exception
packages/polygen/cpp/wasm-rt/wasm-rt-exceptions.c:66
Function
wasm_rt_exception
packages/codegen/assets/wasm-rt/wasm-rt-exceptions.c:66
Function
wasm_rt_exception_size
packages/polygen/cpp/wasm-rt/wasm-rt-exceptions.c:62
Function
wasm_rt_exception_size
packages/codegen/assets/wasm-rt/wasm-rt-exceptions.c:62
Function
wasm_rt_exception_tag
packages/polygen/cpp/wasm-rt/wasm-rt-exceptions.c:58
Function
wasm_rt_exception_tag
packages/codegen/assets/wasm-rt/wasm-rt-exceptions.c:58
Function
wasm_rt_free
packages/codegen/assets/wasm-rt/wasm-rt-impl.c:266
Function
wasm_rt_get_unwind_target
packages/polygen/cpp/wasm-rt/wasm-rt-exceptions.c:50
Function
wasm_rt_get_unwind_target
packages/codegen/assets/wasm-rt/wasm-rt-exceptions.c:50
Function
wasm_rt_init
packages/codegen/assets/wasm-rt/wasm-rt-impl.c:233
Function
wasm_rt_is_initialized
Is the runtime initialized? */
packages/codegen/assets/wasm-rt-weak.h:514
Function
wasm_rt_load_exception
packages/polygen/cpp/wasm-rt/wasm-rt-exceptions.c:31
Function
wasm_rt_load_exception
packages/codegen/assets/wasm-rt/wasm-rt-exceptions.c:31
Function
wasm_rt_set_unwind_target
packages/polygen/cpp/wasm-rt/wasm-rt-exceptions.c:54
Function
wasm_rt_set_unwind_target
packages/codegen/assets/wasm-rt/wasm-rt-exceptions.c:54
Function
wasm_rt_strerror
packages/codegen/assets/wasm-rt/wasm-rt-impl.c:314
Function
wasm_rt_syscall_get_segue_base
packages/polygen/cpp/wasm-rt/wasm-rt-impl.c:299
Function
wasm_rt_syscall_get_segue_base
packages/codegen/assets/wasm-rt/wasm-rt-impl.c:294
Function
wasm_rt_syscall_set_segue_base
packages/polygen/cpp/wasm-rt/wasm-rt-impl.c:293
Function
wasm_rt_syscall_set_segue_base
packages/codegen/assets/wasm-rt/wasm-rt-impl.c:288
Function
wasm_rt_throw
packages/polygen/cpp/wasm-rt/wasm-rt-exceptions.c:46
Function
wasm_rt_throw
packages/codegen/assets/wasm-rt/wasm-rt-exceptions.c:46
Method
webAssemblyModules
* Get all WebAssembly modules in the project
packages/polygen-project/src/project.modules.ts:34
Method
withName
(name: string)
packages/codegen/src/source-builder/builder.decls.ts:91
Method
wrap
packages/polygen/cpp/ReactNativePolygen/NativeStateHelper.h:18
Method
writeFloat32
* Writes a 32-bit floating point number to the buffer at the current offset. * * @param n - The 32-bit floating point number to write. * @ret
packages/binary-utils/src/binary-writer.ts:188
← previous
next →
501–600 of 615, ranked by callers