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
↓ 2 callers
Function
makeImportMemory
( memory: ResolvedModuleImport<ModuleMemory>, withBody: boolean )
packages/codegen/src/templates/library/imports-bridge.ts:191
↓ 2 callers
Function
makeImportTable
( table: ResolvedModuleImport<ModuleTable>, withBody: boolean )
packages/codegen/src/templates/library/imports-bridge.ts:208
↓ 2 callers
Function
mangle
(name: string, doubleUnderscores: boolean)
packages/codegen/src/wasm2c/mangle.ts:79
↓ 2 callers
Function
mangleModuleName
(name: string)
packages/codegen/src/wasm2c/mangle.ts:33
↓ 2 callers
Function
mangleName
(name: string)
packages/codegen/src/wasm2c/mangle.ts:50
↓ 2 callers
Function
mapExport
(module: Module, exp: Export)
packages/wasm-parser/src/module.ts:277
↓ 2 callers
Function
mapGlobal
(global: GlobalType)
packages/wasm-parser/src/module.ts:198
↓ 2 callers
Function
mapMemory
(memory: MemoryType)
packages/wasm-parser/src/module.ts:206
↓ 2 callers
Function
mapTable
(table: TableType)
packages/wasm-parser/src/module.ts:214
↓ 2 callers
Method
markAsWritten
(filePath: string)
packages/codegen/src/helpers/output-generator.ts:121
↓ 2 callers
Function
matchSymbol
( symbol: GeneratedSymbol, matcher: SymbolMatchHandler<TResult> )
packages/codegen/src/codegen/utils.ts:85
↓ 2 callers
Function
os_has_altstack_installed
packages/polygen/cpp/wasm-rt/wasm-rt-impl.c:166
↓ 2 callers
Function
os_has_altstack_installed
packages/codegen/assets/wasm-rt/wasm-rt-impl.c:161
↓ 2 callers
Method
readFloat32
* Reads a 32-bit floating point number from the binary data. * * @return The 32-bit floating point number read from the binary
packages/binary-utils/src/binary-reader.ts:172
↓ 2 callers
Method
readFloat64
* Reads a 64-bit floating point number from the binary data. * * @return The 64-bit floating point number read from the binary
packages/binary-utils/src/binary-reader.ts:183
↓ 2 callers
Function
readGlobalType
(reader: BinaryReader)
packages/wasm-parser/src/reader/type-reader.ts:118
↓ 2 callers
Method
readInt16
* Reads a signed 16-bit integer from the binary data. * * @return The signed 16-bit integer read from the binary
packages/binary-utils/src/binary-reader.ts:90
↓ 2 callers
Method
readInt32
* Reads a signed 32-bit integer from the binary data. * * @return The signed 32-bit integer read from the binary
packages/binary-utils/src/binary-reader.ts:101
↓ 2 callers
Method
readInt64
* Reads a signed 64-bit integer from the binary data. * * @return The signed 64-bit integer read from the binary
packages/binary-utils/src/binary-reader.ts:112
↓ 2 callers
Method
readInt8
* Reads a signed 8-bit integer from the binary data. * * @return The signed 8-bit integer read from the binary
packages/binary-utils/src/binary-reader.ts:79
↓ 2 callers
Function
readLimits
(reader: BinaryReader)
packages/wasm-parser/src/reader/type-reader.ts:90
↓ 2 callers
Function
readMemoryType
(reader: BinaryReader)
packages/wasm-parser/src/reader/type-reader.ts:108
↓ 2 callers
Function
readResultType
(reader: BinaryReader)
packages/wasm-parser/src/reader/type-reader.ts:71
↓ 2 callers
Method
readSignedLEB128
* Reads a signed LEB128 (Little Endian Base 128) encoded integer from the current position in a data stream. * The method processes the bytes of th
packages/binary-utils/src/binary-reader.ts:233
↓ 2 callers
Function
readTableType
(reader: BinaryReader)
packages/wasm-parser/src/reader/type-reader.ts:112
↓ 2 callers
Method
readUint16
* Reads an unsigned 16-bit integer from the binary data. * * @return The unsigned 16-bit integer read from the binary
packages/binary-utils/src/binary-reader.ts:139
↓ 2 callers
Method
readUint64
* Reads an unsigned 64-bit integer from the binary data. * * @return The unsigned 64-bit integer read from the binary
packages/binary-utils/src/binary-reader.ts:161
↓ 2 callers
Function
readValType
(reader: BinaryReader)
packages/wasm-parser/src/reader/type-reader.ts:67
↓ 2 callers
Method
return_
(target: string)
packages/codegen/src/source-builder/builder.block.ts:87
↓ 2 callers
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-writer.ts:67
↓ 2 callers
Method
skipUntilByte
* Skips the binary data until the specified byte value is found.
packages/binary-utils/src/binary-writer.ts:74
↓ 2 callers
Function
statsOf
(set: GeneratedSymbol[])
packages/polygen-cli/src/actions/codegen.ts:23
↓ 2 callers
Function
wasm_rt_is_initialized
packages/polygen/cpp/wasm-rt/wasm-rt-impl.c:258
↓ 2 callers
Function
wasm_rt_is_initialized
packages/codegen/assets/wasm-rt/wasm-rt-impl.c:253
↓ 2 callers
Method
withBody
(block: BuilderAction<SourceBlockBuilder>)
packages/codegen/src/source-builder/builder.decls.ts:46
↓ 2 callers
Method
withIndent
* Write a block of code with increased indentation. * * @param cb Callback to use to write the indented block
packages/codegen/src/source-builder/source-writer.ts:107
↓ 1 callers
Method
B
packages/polygen/cpp/ReactNativePolygen/utils/hashpp.h:1789
↓ 1 callers
Method
C
packages/polygen/cpp/ReactNativePolygen/utils/hashpp.h:1792
↓ 1 callers
Method
HMAC
packages/polygen/cpp/ReactNativePolygen/utils/hashpp.h:574
↓ 1 callers
Method
I
packages/polygen/cpp/ReactNativePolygen/utils/hashpp.h:628
↓ 1 callers
Method
addExports
(exports: Export[])
packages/wasm-parser/src/module.ts:158
↓ 1 callers
Method
addFunctions
(funcTypes: FunctionType[])
packages/wasm-parser/src/module.ts:108
↓ 1 callers
Method
addGlobals
(globals: GlobalType[])
packages/wasm-parser/src/module.ts:116
↓ 1 callers
Method
addImports
(imports: ModuleImport[])
packages/wasm-parser/src/module.ts:141
↓ 1 callers
Method
addMemories
(memories: MemoryType[])
packages/wasm-parser/src/module.ts:132
↓ 1 callers
Method
addModule
* Adds a module to the context. * * This method should be used to add new modules to the context. * Before creating a new W2CModule, module b
packages/codegen/src/codegen/context.ts:36
↓ 1 callers
Method
addSymbol
(symbol: GeneratedSymbol)
packages/codegen/src/codegen/modules.ts:81
↓ 1 callers
Method
addTables
(tables: TableType[])
packages/wasm-parser/src/module.ts:124
↓ 1 callers
Method
addressOf
()
packages/codegen/src/source-builder/builder.expr.ts:35
↓ 1 callers
Method
asConst
()
packages/codegen/src/source-builder/builder.types.ts:61
↓ 1 callers
Method
asRef
()
packages/codegen/src/source-builder/builder.types.ts:65
↓ 1 callers
Method
asVector
()
packages/codegen/src/source-builder/builder.types.ts:53
↓ 1 callers
Function
assertVersion
(output: string)
packages/codegen/src/wasm2c/wasm2c.ts:18
↓ 1 callers
Function
buildMetroVirtualModuleSourceFor
* Generates source for virtual webassembly module * @param pathToModule
packages/codegen/src/pipeline/react-native/metro.ts:73
↓ 1 callers
Function
buildPodspecSource
* Builds the podspec source for the ReactNativeWebAssemblyHost pod.
packages/codegen/src/pipeline/react-native/cocoapods.ts:23
↓ 1 callers
Function
capitalize
(name: string)
packages/codegen/src/codegen/modules.ts:226
↓ 1 callers
Function
cocoapods
()
packages/codegen/src/pipeline/react-native/cocoapods.ts:7
↓ 1 callers
Function
compileStreaming
( source: Response | PromiseLike<Response> )
packages/polygen/src/api/WebAssembly.ts:49
↓ 1 callers
Function
computeChecksumBuffer
(data: ArrayBufferLike)
packages/codegen/src/helpers/checksum.ts:26
↓ 1 callers
Function
computeFileChecksumBuffer
(path: string)
packages/codegen/src/helpers/checksum.ts:10
↓ 1 callers
Function
computeSHA256
packages/polygen/cpp/ReactNativePolygen/utils/checksum.cpp:12
↓ 1 callers
Method
createGlobal
( holder: OpaqueGlobalNativeHandle, descriptor: NativeGlobalDescriptor, initialValue: number )
packages/polygen/src/NativePolygen.ts:161
↓ 1 callers
Method
createInstance
packages/polygen/cpp/ReactNativePolygen/WebAssembly/Module.h:79
↓ 1 callers
Method
createMemory
( holder: OpaqueMemoryNativeHandle, initial: number, maximum?: number )
packages/polygen/src/NativePolygen.ts:152
↓ 1 callers
Method
createModuleInstance
( holder: OpaqueModuleInstanceNativeHandle, mod: OpaqueModuleNativeHandle, importObject: NativeImp
packages/polygen/src/NativePolygen.ts:144
↓ 1 callers
Method
createTable
( holder: OpaqueTableNativeHandle, descriptor: NativeTableDescriptor, initial?: unknown )
packages/polygen/src/NativePolygen.ts:170
↓ 1 callers
Function
embedWasmRuntime
()
packages/codegen/src/pipeline/wasm2c-runtime.ts:6
↓ 1 callers
Function
ensureBinaryAvailable
()
packages/codegen/src/wasm2c/wasm2c.ts:56
↓ 1 callers
Function
escapeChar
* Encodes a single unsafe character. * * Encoding is a done by returning a codepoint value in base16, * prefixed with `0x`. * * For example, a sp
packages/codegen/src/wasm2c/mangle.ts:15
↓ 1 callers
Function
externalModule
( packageName: string, path: string, options: PolygenModuleCommonConfig = {} )
packages/polygen-config/src/helpers.ts:27
↓ 1 callers
Method
finalize
* Finalizes the generation process by writing the generated files to the output directory.
packages/codegen/src/codegen.ts:257
↓ 1 callers
Function
findBinary
* Attempts to locate `wasm2c` binary.
packages/codegen/src/wasm2c/wasm2c.ts:30
↓ 1 callers
Method
findByChecksum
packages/polygen/cpp/ReactNativePolygen/ModuleBag.h:54
↓ 1 callers
Method
findClosestSync
* Creates a project from nearest package.json, synchronously. * * @param from Directory to start looking from, defaults to current directory.
packages/polygen-project/src/project.ts:77
↓ 1 callers
Function
findConfigFileSync
(dirPath: string)
packages/polygen-config/src/find-config.ts:102
↓ 1 callers
Function
findProjectRootSync
(from: string = process.cwd())
packages/polygen-config/src/find-config.ts:58
↓ 1 callers
Method
fromPathSync
* Creates a project from specified project root path, synchronously. * * @param projectRoot Path to the project * @returns Project instance
packages/polygen-project/src/project.ts:115
↓ 1 callers
Function
generate
(options: GenerateOptions, project?: Project)
packages/polygen-cli/src/actions/codegen.ts:79
↓ 1 callers
Function
generateCSource
( generator: OutputGenerator, module: W2CGeneratedModule, options: ModuleGeneratorOptions )
packages/codegen/src/generators/module-bridge.ts:34
↓ 1 callers
Function
generateCSources
( inputPath: string, outputDir: string, options?: Wasm2cGenerateOptions )
packages/codegen/src/wasm2c/wasm2c.ts:131
↓ 1 callers
Function
generateDeclarationDoc
( program: Project, target: ExportedDeclarations )
docs/lib/ts-documentation.ts:52
↓ 1 callers
Function
generateDocumentation
( file: string, name: string, content: string )
docs/lib/ts-documentation.ts:33
↓ 1 callers
Method
generateHostModule
* Generates the host module and its corresponding bridges using the specified context and options. * * @param context The shared context contain
packages/codegen/src/codegen.ts:241
↓ 1 callers
Method
generateImportedModule
* Generates the imported module by creating necessary files and configurations in the specified output directory. * * @param module The imported
packages/codegen/src/codegen.ts:220
↓ 1 callers
Function
generateJSIBridge
( generator: OutputGenerator, module: W2CGeneratedModule )
packages/codegen/src/generators/module-bridge.ts:66
↓ 1 callers
Function
generateModule
( generator: Codegen, moduleMeta: ResolvedModule )
packages/polygen-cli/src/actions/codegen.ts:48
↓ 1 callers
Method
generateModule
* Generates all code for specified WebAssembly module. * * This includes generating the module exports bridge and the JavaScript * * @para
packages/codegen/src/codegen.ts:184
↓ 1 callers
Function
generateModuleExportsBridge
( generator: OutputGenerator, module: W2CGeneratedModule, options: ModuleGeneratorOptions )
packages/codegen/src/generators/module-bridge.ts:18
↓ 1 callers
Method
generating
* Helper method that generates specified files only when the source files * are newer than output files, which suggest that the output files are ou
packages/codegen/src/helpers/output-generator.ts:226
↓ 1 callers
Function
generatingFromModule
( generator: OutputGenerator, module: W2CGeneratedModule, options: ModuleGeneratorOptions, targets: st
packages/codegen/src/generators/module-bridge.ts:78
↓ 1 callers
Method
getBytes
packages/polygen/cpp/ReactNativePolygen/utils/hashpp.h:213
↓ 1 callers
Method
getElement
packages/polygen/cpp/ReactNativePolygen/WebAssembly/FuncRefTable.h:57
↓ 1 callers
Method
getGlobalValue
(instance: OpaqueGlobalNativeHandle)
packages/polygen/src/NativePolygen.ts:166
↓ 1 callers
Method
getHashesFromID
packages/polygen/cpp/ReactNativePolygen/utils/hashpp.h:2943
↓ 1 callers
Method
getMemoryBuffer
(instance: OpaqueMemoryNativeHandle)
packages/polygen/src/NativePolygen.ts:157
↓ 1 callers
Method
getModule
packages/polygen/cpp/ReactNativePolygen/ModuleBag.h:44
↓ 1 callers
Method
getModulesOfExternalDependency
* Gets external webassembly modules from specified package * * @param packageName Name of the package
packages/polygen-project/src/project.modules.ts:77
↓ 1 callers
Method
getOrCreatedImportedModule
* Gets or creates an imported module by name. * * If the module is not found, an empty one is created. * * @param name Name of the importe
packages/codegen/src/codegen/context.ts:80
↓ 1 callers
Function
getPackageJson
( project: Project )
packages/polygen-project/src/deps.ts:33
↓ 1 callers
Method
getSize
packages/polygen/cpp/ReactNativePolygen/WebAssembly/FuncRefTable.h:45
← previous
next →
101–200 of 615, ranked by callers