MCPcopy Create free account

hub / github.com/callstackincubator/polygen / functions

Functions615 in github.com/callstackincubator/polygen

MethodlocalOutputDirectory
* Local output directory
packages/polygen-project/src/project.paths.ts:69
MethodlocalSourceDir
* Local source directory
packages/polygen-project/src/project.paths.ts:83
FunctionmakeDeclaration
(symbol: ResolvedModuleImport)
packages/codegen/src/templates/library/imports-bridge.ts:25
FunctionmakeExportFunc
(func: GeneratedSymbol<GeneratedModuleFunction>)
packages/codegen/src/templates/library/module-bridge.ts:70
FunctionmakeExportMemory
(mem: GeneratedSymbol<ModuleMemory>)
packages/codegen/src/templates/library/module-bridge.ts:90
FunctionmakeExportTable
(table: GeneratedSymbol<ModuleTable>)
packages/codegen/src/templates/library/module-bridge.ts:102
FunctionmakeModuleFactoryDecl
(module: W2CGeneratedModule)
packages/codegen/src/templates/host.ts:8
Functionmap
(key: TypeBuilder, value: TypeBuilder)
packages/codegen/src/source-builder/builder.types.ts:29
MethodmoduleFactoryFunctionName
* Name of the function that creates a new instance of the module.
packages/codegen/src/codegen/modules.ts:183
FunctionmoduleGenerated
({ moduleOutput, context })
packages/codegen/src/pipeline/dump-metadata.ts:11
FunctionmoduleGenerated
* 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
MethodmoduleGenerated
( codegen: Codegen, moduleConfig: PolygenModuleConfig, module: W2CGeneratedModule )
packages/polygen-cli/src/plugin.ts:11
Methodmultiply
Example method See https://reactnative.dev/docs/native-modules-android
packages/polygen/android/src/main/java/com/wasm/WasmModule.kt:16
Methodmultiply
packages/polygen/android/src/oldarch/WasmSpec.kt:10
Functionof
(name: string)
packages/codegen/src/source-builder/builder.types.ts:17
Methodoperator==
packages/polygen/cpp/ReactNativePolygen/utils/hashpp.h:2886
Functionos_mmap
packages/polygen/cpp/wasm-rt/wasm-rt-mem-impl.c:73
Functionos_mmap
packages/codegen/assets/wasm-rt/wasm-rt-mem-impl.c:73
Functionos_mprotect
packages/polygen/cpp/wasm-rt/wasm-rt-mem-impl.c:85
Functionos_mprotect
packages/codegen/assets/wasm-rt/wasm-rt-mem-impl.c:85
Functionos_munmap
packages/polygen/cpp/wasm-rt/wasm-rt-mem-impl.c:78
Functionos_munmap
packages/codegen/assets/wasm-rt/wasm-rt-mem-impl.c:78
Functionos_print_last_error
packages/polygen/cpp/wasm-rt/wasm-rt-mem-impl.c:97
Functionos_print_last_error
packages/codegen/assets/wasm-rt/wasm-rt-mem-impl.c:97
Functionos_signal_handler
packages/polygen/cpp/wasm-rt/wasm-rt-impl.c:105
Functionos_signal_handler
packages/codegen/assets/wasm-rt/wasm-rt-impl.c:100
MethodoutputDirectory
* Path to output directory where generated files will be created.
packages/codegen/src/codegen.ts:171
Functionpolygen_trap_handler
packages/polygen/cpp/ReactNativePolygen/bridge.cpp:13
MethodprojectDidLoad
(project: Project)
packages/polygen-cli/src/plugin.ts:19
FunctionreadCustomSection
* 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
FunctionreadExport
()
packages/wasm-parser/src/reader/section-reader.ts:270
FunctionreadExportSection
* 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
FunctionreadFunctionSection
* 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
FunctionreadGlobal
()
packages/wasm-parser/src/reader/section-reader.ts:252
FunctionreadGlobalSection
* 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
FunctionreadImport
()
packages/wasm-parser/src/reader/section-reader.ts:194
FunctionreadImportSection
* 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
FunctionreadMemorySection
* 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
FunctionreadNumType
(reader: BinaryReader)
packages/wasm-parser/src/reader/type-reader.ts:55
FunctionreadTableSection
* 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
FunctionreadTypeSection
* 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
FunctionreadVecType
(reader: BinaryReader)
packages/wasm-parser/src/reader/type-reader.ts:59
FunctionresolveRequest
(context, moduleName, platform)
packages/metro-config/src/index.ts:29
Methodrl64
packages/polygen/cpp/ReactNativePolygen/utils/hashpp.h:95
MethodrootOutput
()
packages/codegen/src/codegen.ts:274
Methodset
(index: number, value: any)
packages/polygen/src/api/Table.ts:80
MethodsetAlgorithm
packages/polygen/cpp/ReactNativePolygen/utils/hashpp.h:3021
MethodsetData
packages/polygen/cpp/ReactNativePolygen/utils/hashpp.h:3024
MethodsetElement
packages/polygen/cpp/ReactNativePolygen/WebAssembly/ExternRefTable.h:60
MethodsetGlobalValue
packages/polygen/cpp/ReactNativePolygen/ReactNativePolygen.cpp:108
MethodsetKey
packages/polygen/cpp/ReactNativePolygen/utils/hashpp.h:3022
MethodsetTableElement
packages/polygen/cpp/ReactNativePolygen/ReactNativePolygen.cpp:149
MethodsetValueUnsafe
packages/polygen/cpp/ReactNativePolygen/WebAssembly/Global.h:59
Methodskip
* 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
FunctionskipSection
* 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
MethodskipUntilByte
* Skips the binary data until the specified byte value is found.
packages/binary-utils/src/binary-reader.ts:67
FunctionstringVector
()
packages/codegen/src/source-builder/builder.types.ts:13
MethodtoString
* Returns the generated source code as a string.
packages/codegen/src/source-builder/builder.block.ts:28
MethodtoString
()
packages/codegen/src/source-builder/builder.expr.ts:43
MethodtoString
()
packages/codegen/src/source-builder/builder.types.ts:49
MethodtoString
* Returns the generated source code as a string.
packages/codegen/src/source-builder/source-writer.ts:118
Functiontransform
(option, node)
docs/app/docs/layout.tsx:13
MethodtryGet
packages/polygen/cpp/ReactNativePolygen/NativeStateHelper.h:34
Methodtype
* 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
Methodtype
()
packages/codegen/src/source-builder/builder.decls.ts:87
FunctiontypedArraysAreEqual
(a: T, b: T)
packages/binary-utils/src/helpers.ts:74
MethodunloadModule
packages/polygen/cpp/ReactNativePolygen/ReactNativePolygen.cpp:51
MethodunloadModule
(module: OpaqueModuleNativeHandle)
packages/polygen/src/NativePolygen.ts:140
Methodusing
(name: string, value: string)
packages/codegen/src/source-builder/builder.block.ts:82
Methodvalid
packages/polygen/cpp/ReactNativePolygen/utils/hashpp.h:2863
Methodvalid
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
Functionvalidate
(_bufferOrView: BufferSource)
packages/polygen/src/api/WebAssembly.ts:19
MethodvalueOf
()
packages/polygen/types/WebAssembly-global.d.ts:16
Functionwasm_rt_allocate_memory_shared
Shared memory version of wasm_rt_allocate_memory */
packages/codegen/assets/wasm-rt-weak.h:613
Functionwasm_rt_exception
packages/polygen/cpp/wasm-rt/wasm-rt-exceptions.c:66
Functionwasm_rt_exception
packages/codegen/assets/wasm-rt/wasm-rt-exceptions.c:66
Functionwasm_rt_exception_size
packages/polygen/cpp/wasm-rt/wasm-rt-exceptions.c:62
Functionwasm_rt_exception_size
packages/codegen/assets/wasm-rt/wasm-rt-exceptions.c:62
Functionwasm_rt_exception_tag
packages/polygen/cpp/wasm-rt/wasm-rt-exceptions.c:58
Functionwasm_rt_exception_tag
packages/codegen/assets/wasm-rt/wasm-rt-exceptions.c:58
Functionwasm_rt_free
packages/codegen/assets/wasm-rt/wasm-rt-impl.c:266
Functionwasm_rt_get_unwind_target
packages/polygen/cpp/wasm-rt/wasm-rt-exceptions.c:50
Functionwasm_rt_get_unwind_target
packages/codegen/assets/wasm-rt/wasm-rt-exceptions.c:50
Functionwasm_rt_init
packages/codegen/assets/wasm-rt/wasm-rt-impl.c:233
Functionwasm_rt_is_initialized
Is the runtime initialized? */
packages/codegen/assets/wasm-rt-weak.h:514
Functionwasm_rt_load_exception
packages/polygen/cpp/wasm-rt/wasm-rt-exceptions.c:31
Functionwasm_rt_load_exception
packages/codegen/assets/wasm-rt/wasm-rt-exceptions.c:31
Functionwasm_rt_set_unwind_target
packages/polygen/cpp/wasm-rt/wasm-rt-exceptions.c:54
Functionwasm_rt_set_unwind_target
packages/codegen/assets/wasm-rt/wasm-rt-exceptions.c:54
Functionwasm_rt_strerror
packages/codegen/assets/wasm-rt/wasm-rt-impl.c:314
Functionwasm_rt_syscall_get_segue_base
packages/polygen/cpp/wasm-rt/wasm-rt-impl.c:299
Functionwasm_rt_syscall_get_segue_base
packages/codegen/assets/wasm-rt/wasm-rt-impl.c:294
Functionwasm_rt_syscall_set_segue_base
packages/polygen/cpp/wasm-rt/wasm-rt-impl.c:293
Functionwasm_rt_syscall_set_segue_base
packages/codegen/assets/wasm-rt/wasm-rt-impl.c:288
Functionwasm_rt_throw
packages/polygen/cpp/wasm-rt/wasm-rt-exceptions.c:46
Functionwasm_rt_throw
packages/codegen/assets/wasm-rt/wasm-rt-exceptions.c:46
MethodwebAssemblyModules
* Get all WebAssembly modules in the project
packages/polygen-project/src/project.modules.ts:34
MethodwithName
(name: string)
packages/codegen/src/source-builder/builder.decls.ts:91
Methodwrap
packages/polygen/cpp/ReactNativePolygen/NativeStateHelper.h:18
MethodwriteFloat32
* 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
← previousnext →501–600 of 615, ranked by callers