MCPcopy Create free account

hub / github.com/callstackincubator/polygen / functions

Functions615 in github.com/callstackincubator/polygen

↓ 2 callersFunctionmakeImportMemory
( memory: ResolvedModuleImport<ModuleMemory>, withBody: boolean )
packages/codegen/src/templates/library/imports-bridge.ts:191
↓ 2 callersFunctionmakeImportTable
( table: ResolvedModuleImport<ModuleTable>, withBody: boolean )
packages/codegen/src/templates/library/imports-bridge.ts:208
↓ 2 callersFunctionmangle
(name: string, doubleUnderscores: boolean)
packages/codegen/src/wasm2c/mangle.ts:79
↓ 2 callersFunctionmangleModuleName
(name: string)
packages/codegen/src/wasm2c/mangle.ts:33
↓ 2 callersFunctionmangleName
(name: string)
packages/codegen/src/wasm2c/mangle.ts:50
↓ 2 callersFunctionmapExport
(module: Module, exp: Export)
packages/wasm-parser/src/module.ts:277
↓ 2 callersFunctionmapGlobal
(global: GlobalType)
packages/wasm-parser/src/module.ts:198
↓ 2 callersFunctionmapMemory
(memory: MemoryType)
packages/wasm-parser/src/module.ts:206
↓ 2 callersFunctionmapTable
(table: TableType)
packages/wasm-parser/src/module.ts:214
↓ 2 callersMethodmarkAsWritten
(filePath: string)
packages/codegen/src/helpers/output-generator.ts:121
↓ 2 callersFunctionmatchSymbol
( symbol: GeneratedSymbol, matcher: SymbolMatchHandler<TResult> )
packages/codegen/src/codegen/utils.ts:85
↓ 2 callersFunctionos_has_altstack_installed
packages/polygen/cpp/wasm-rt/wasm-rt-impl.c:166
↓ 2 callersFunctionos_has_altstack_installed
packages/codegen/assets/wasm-rt/wasm-rt-impl.c:161
↓ 2 callersMethodreadFloat32
* 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 callersMethodreadFloat64
* 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 callersFunctionreadGlobalType
(reader: BinaryReader)
packages/wasm-parser/src/reader/type-reader.ts:118
↓ 2 callersMethodreadInt16
* 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 callersMethodreadInt32
* 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 callersMethodreadInt64
* 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 callersMethodreadInt8
* 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 callersFunctionreadLimits
(reader: BinaryReader)
packages/wasm-parser/src/reader/type-reader.ts:90
↓ 2 callersFunctionreadMemoryType
(reader: BinaryReader)
packages/wasm-parser/src/reader/type-reader.ts:108
↓ 2 callersFunctionreadResultType
(reader: BinaryReader)
packages/wasm-parser/src/reader/type-reader.ts:71
↓ 2 callersMethodreadSignedLEB128
* 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 callersFunctionreadTableType
(reader: BinaryReader)
packages/wasm-parser/src/reader/type-reader.ts:112
↓ 2 callersMethodreadUint16
* 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 callersMethodreadUint64
* 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 callersFunctionreadValType
(reader: BinaryReader)
packages/wasm-parser/src/reader/type-reader.ts:67
↓ 2 callersMethodreturn_
(target: string)
packages/codegen/src/source-builder/builder.block.ts:87
↓ 2 callersMethodskip
* 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 callersMethodskipUntilByte
* Skips the binary data until the specified byte value is found.
packages/binary-utils/src/binary-writer.ts:74
↓ 2 callersFunctionstatsOf
(set: GeneratedSymbol[])
packages/polygen-cli/src/actions/codegen.ts:23
↓ 2 callersFunctionwasm_rt_is_initialized
packages/polygen/cpp/wasm-rt/wasm-rt-impl.c:258
↓ 2 callersFunctionwasm_rt_is_initialized
packages/codegen/assets/wasm-rt/wasm-rt-impl.c:253
↓ 2 callersMethodwithBody
(block: BuilderAction<SourceBlockBuilder>)
packages/codegen/src/source-builder/builder.decls.ts:46
↓ 2 callersMethodwithIndent
* 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 callersMethodB
packages/polygen/cpp/ReactNativePolygen/utils/hashpp.h:1789
↓ 1 callersMethodC
packages/polygen/cpp/ReactNativePolygen/utils/hashpp.h:1792
↓ 1 callersMethodHMAC
packages/polygen/cpp/ReactNativePolygen/utils/hashpp.h:574
↓ 1 callersMethodI
packages/polygen/cpp/ReactNativePolygen/utils/hashpp.h:628
↓ 1 callersMethodaddExports
(exports: Export[])
packages/wasm-parser/src/module.ts:158
↓ 1 callersMethodaddFunctions
(funcTypes: FunctionType[])
packages/wasm-parser/src/module.ts:108
↓ 1 callersMethodaddGlobals
(globals: GlobalType[])
packages/wasm-parser/src/module.ts:116
↓ 1 callersMethodaddImports
(imports: ModuleImport[])
packages/wasm-parser/src/module.ts:141
↓ 1 callersMethodaddMemories
(memories: MemoryType[])
packages/wasm-parser/src/module.ts:132
↓ 1 callersMethodaddModule
* 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 callersMethodaddSymbol
(symbol: GeneratedSymbol)
packages/codegen/src/codegen/modules.ts:81
↓ 1 callersMethodaddTables
(tables: TableType[])
packages/wasm-parser/src/module.ts:124
↓ 1 callersMethodaddressOf
()
packages/codegen/src/source-builder/builder.expr.ts:35
↓ 1 callersMethodasConst
()
packages/codegen/src/source-builder/builder.types.ts:61
↓ 1 callersMethodasRef
()
packages/codegen/src/source-builder/builder.types.ts:65
↓ 1 callersMethodasVector
()
packages/codegen/src/source-builder/builder.types.ts:53
↓ 1 callersFunctionassertVersion
(output: string)
packages/codegen/src/wasm2c/wasm2c.ts:18
↓ 1 callersFunctionbuildMetroVirtualModuleSourceFor
* Generates source for virtual webassembly module * @param pathToModule
packages/codegen/src/pipeline/react-native/metro.ts:73
↓ 1 callersFunctionbuildPodspecSource
* Builds the podspec source for the ReactNativeWebAssemblyHost pod.
packages/codegen/src/pipeline/react-native/cocoapods.ts:23
↓ 1 callersFunctioncapitalize
(name: string)
packages/codegen/src/codegen/modules.ts:226
↓ 1 callersFunctioncocoapods
()
packages/codegen/src/pipeline/react-native/cocoapods.ts:7
↓ 1 callersFunctioncompileStreaming
( source: Response | PromiseLike<Response> )
packages/polygen/src/api/WebAssembly.ts:49
↓ 1 callersFunctioncomputeChecksumBuffer
(data: ArrayBufferLike)
packages/codegen/src/helpers/checksum.ts:26
↓ 1 callersFunctioncomputeFileChecksumBuffer
(path: string)
packages/codegen/src/helpers/checksum.ts:10
↓ 1 callersFunctioncomputeSHA256
packages/polygen/cpp/ReactNativePolygen/utils/checksum.cpp:12
↓ 1 callersMethodcreateGlobal
( holder: OpaqueGlobalNativeHandle, descriptor: NativeGlobalDescriptor, initialValue: number )
packages/polygen/src/NativePolygen.ts:161
↓ 1 callersMethodcreateInstance
packages/polygen/cpp/ReactNativePolygen/WebAssembly/Module.h:79
↓ 1 callersMethodcreateMemory
( holder: OpaqueMemoryNativeHandle, initial: number, maximum?: number )
packages/polygen/src/NativePolygen.ts:152
↓ 1 callersMethodcreateModuleInstance
( holder: OpaqueModuleInstanceNativeHandle, mod: OpaqueModuleNativeHandle, importObject: NativeImp
packages/polygen/src/NativePolygen.ts:144
↓ 1 callersMethodcreateTable
( holder: OpaqueTableNativeHandle, descriptor: NativeTableDescriptor, initial?: unknown )
packages/polygen/src/NativePolygen.ts:170
↓ 1 callersFunctionembedWasmRuntime
()
packages/codegen/src/pipeline/wasm2c-runtime.ts:6
↓ 1 callersFunctionensureBinaryAvailable
()
packages/codegen/src/wasm2c/wasm2c.ts:56
↓ 1 callersFunctionescapeChar
* 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 callersFunctionexternalModule
( packageName: string, path: string, options: PolygenModuleCommonConfig = {} )
packages/polygen-config/src/helpers.ts:27
↓ 1 callersMethodfinalize
* Finalizes the generation process by writing the generated files to the output directory.
packages/codegen/src/codegen.ts:257
↓ 1 callersFunctionfindBinary
* Attempts to locate `wasm2c` binary.
packages/codegen/src/wasm2c/wasm2c.ts:30
↓ 1 callersMethodfindByChecksum
packages/polygen/cpp/ReactNativePolygen/ModuleBag.h:54
↓ 1 callersMethodfindClosestSync
* 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 callersFunctionfindConfigFileSync
(dirPath: string)
packages/polygen-config/src/find-config.ts:102
↓ 1 callersFunctionfindProjectRootSync
(from: string = process.cwd())
packages/polygen-config/src/find-config.ts:58
↓ 1 callersMethodfromPathSync
* 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 callersFunctiongenerate
(options: GenerateOptions, project?: Project)
packages/polygen-cli/src/actions/codegen.ts:79
↓ 1 callersFunctiongenerateCSource
( generator: OutputGenerator, module: W2CGeneratedModule, options: ModuleGeneratorOptions )
packages/codegen/src/generators/module-bridge.ts:34
↓ 1 callersFunctiongenerateCSources
( inputPath: string, outputDir: string, options?: Wasm2cGenerateOptions )
packages/codegen/src/wasm2c/wasm2c.ts:131
↓ 1 callersFunctiongenerateDeclarationDoc
( program: Project, target: ExportedDeclarations )
docs/lib/ts-documentation.ts:52
↓ 1 callersFunctiongenerateDocumentation
( file: string, name: string, content: string )
docs/lib/ts-documentation.ts:33
↓ 1 callersMethodgenerateHostModule
* 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 callersMethodgenerateImportedModule
* 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 callersFunctiongenerateJSIBridge
( generator: OutputGenerator, module: W2CGeneratedModule )
packages/codegen/src/generators/module-bridge.ts:66
↓ 1 callersFunctiongenerateModule
( generator: Codegen, moduleMeta: ResolvedModule )
packages/polygen-cli/src/actions/codegen.ts:48
↓ 1 callersMethodgenerateModule
* 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 callersFunctiongenerateModuleExportsBridge
( generator: OutputGenerator, module: W2CGeneratedModule, options: ModuleGeneratorOptions )
packages/codegen/src/generators/module-bridge.ts:18
↓ 1 callersMethodgenerating
* 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 callersFunctiongeneratingFromModule
( generator: OutputGenerator, module: W2CGeneratedModule, options: ModuleGeneratorOptions, targets: st
packages/codegen/src/generators/module-bridge.ts:78
↓ 1 callersMethodgetBytes
packages/polygen/cpp/ReactNativePolygen/utils/hashpp.h:213
↓ 1 callersMethodgetElement
packages/polygen/cpp/ReactNativePolygen/WebAssembly/FuncRefTable.h:57
↓ 1 callersMethodgetGlobalValue
(instance: OpaqueGlobalNativeHandle)
packages/polygen/src/NativePolygen.ts:166
↓ 1 callersMethodgetHashesFromID
packages/polygen/cpp/ReactNativePolygen/utils/hashpp.h:2943
↓ 1 callersMethodgetMemoryBuffer
(instance: OpaqueMemoryNativeHandle)
packages/polygen/src/NativePolygen.ts:157
↓ 1 callersMethodgetModule
packages/polygen/cpp/ReactNativePolygen/ModuleBag.h:44
↓ 1 callersMethodgetModulesOfExternalDependency
* Gets external webassembly modules from specified package * * @param packageName Name of the package
packages/polygen-project/src/project.modules.ts:77
↓ 1 callersMethodgetOrCreatedImportedModule
* 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 callersFunctiongetPackageJson
( project: Project )
packages/polygen-project/src/deps.ts:33
↓ 1 callersMethodgetSize
packages/polygen/cpp/ReactNativePolygen/WebAssembly/FuncRefTable.h:45
← previousnext →101–200 of 615, ranked by callers