MCPcopy Create free account

hub / github.com/akyoto/q / functions

Functions1,095 in github.com/akyoto/q

↓ 6 callersFunctionsplit
split splits a 4 bit register index into the upper bit and the lower 3 bits.
src/x86/split.go:6
↓ 6 callersMethodstructField
structField returns the memory for the struct field.
src/core/structField.go:10
↓ 5 callersFunctionAlignPad
AlignPad calculates the next aligned address and the padding needed.
src/exe/Align.go:9
↓ 5 callersFunctionAndRegisterNumber
AndRegisterNumber performs a bitwise AND using a register and a number.
src/arm/And.go:8
↓ 5 callersMethodBytes
Bytes returns the byte slice.
src/token/Token.go:23
↓ 5 callersFunctionCall
Call branches to a PC-relative offset, setting the register X30 to PC+4. The offset starts from the address of this instruction and is encoded as "imm
src/arm/Call.go:8
↓ 5 callersMethodCongruent
Congruent returns true if the platform needs to force `virtual address % alignment == file offset % alignment`.
src/config/Congruent.go:4
↓ 5 callersMethodEachDependency
EachDependency recursively finds all the calls to other functions. It avoids calling the same function twice with the help of a hashmap.
src/core/EachDependency.go:5
↓ 5 callersMethodExecutable
Executable returns the path to the executable.
src/config/Executable.go:9
↓ 5 callersMethodFinalize
Finalize returns the final raw data slice and a map of labels with their respective indices. It will try to reuse existing data whenever possible.
src/data/Finalize.go:5
↓ 5 callersMethodInsertAbove
InsertAbove replaces this expression in its parent's children with the given new parent, and attaches this expression as a child of the new parent. Ef
src/expression/Expression.go:57
↓ 5 callersMethodIsAssignment
IsAssignment returns true if the token is an assignment operator.
src/token/Kind.go:96
↓ 5 callersMethodIsExtern
IsExtern returns true if the function has no body.
src/core/Function.go:61
↓ 5 callersMethodIsLeaf
IsLeaf returns true if the function doesn't call other functions.
src/core/Function.go:66
↓ 5 callersMethodIsPartiallyUndefined
IsPartiallyUndefined returns true if one of the input values is undefined.
src/ssa/Phi.go:57
↓ 5 callersFunctionJump
Jump continues program flow at the new 26 bit offset multiplied by 4.
src/arm/Jump.go:4
↓ 5 callersMethodLast
Last returns the last instruction.
src/asm/Assembler.go:28
↓ 5 callersMethodLastIndexKind
LastIndexKind returns the position of the last token kind within a token list.
src/token/List.go:22
↓ 5 callersFunctionLoadFixedOffset
LoadFixedOffset loads from memory with a signed offset from -256 to 255 into a register.
src/arm/Load.go:16
↓ 5 callersMethodName
Name returns the type name.
src/types/Function.go:12
↓ 5 callersMethodPackage
()
src/ssa/FunctionRef.go:7
↓ 5 callersMethodPointer
Pointer returns the type that points to the given type.
src/core/typeCache.go:17
↓ 5 callersFunctionSubRegisterNumber
SubRegisterNumber subtracts a number from the given register.
src/arm/Sub.go:6
↓ 5 callersFunctionXorRegisterNumber
XorRegisterNumber performs a bitwise XOR using a register and a number.
src/arm/Xor.go:6
↓ 5 callersMethodcall
call calls a function.
src/core/call.go:9
↓ 5 callersMethodevaluate
evaluate converts an expression to an SSA value.
src/core/evaluate.go:10
↓ 5 callersFunctionmemAccessFixedOffset
memAccessFixedOffset encodes a memory access.
src/x86/memAccessFixedOffset.go:10
↓ 5 callersMethodstore
store stores a value at the given memory address.
src/core/store.go:11
↓ 4 callersMethodAddPackage
AddPackage returns an existing package with the giving name or creates a new one.
src/core/Environment.go:26
↓ 4 callersFunctionAlign
Align calculates the next aligned address.
src/exe/Align.go:4
↓ 4 callersMethodAll
All returns an iterator over all libraries.
src/dll/List.go:14
↓ 4 callersFunctionBringToBack
BringToBack brings the element at `index` within the `slice` to the back.
src/set/BringToBack.go:4
↓ 4 callersMethodContains
Contains checks if the value exists within the block.
src/ssa/Block.go:196
↓ 4 callersMethodCount
Count returns the number of libraries.
src/dll/List.go:54
↓ 4 callersFunctionDivUnsignedRegisterRegister
DivUnsignedRegisterRegister divides unsigned source by unsigned operand and stores the value in the destination.
src/arm/Div.go:11
↓ 4 callersMethodError
()
src/core/errors.go:240
↓ 4 callersMethodFirstDefined
FirstDefined returns the first input value that is not undefined.
src/ssa/Phi.go:41
↓ 4 callersMethodInputs
Inputs returns all values that are needed for this value to be calculated.
src/ssa/Value.go:10
↓ 4 callersMethodInsertAt
InsertAt inserts the `value` at the given `index`.
src/ssa/Block.go:282
↓ 4 callersMethodIsCommutative
IsCommutative returns true if changing the order of the operands does not change the result.
src/token/Kind.go:156
↓ 4 callersMethodIsKeyword
IsKeyword returns true if the token is a keyword.
src/token/Kind.go:121
↓ 4 callersMethodIsUnaryOperator
IsUnaryOperator returns true if the token is a unary operator.
src/token/Kind.go:141
↓ 4 callersFunctionJumpIfEqual
JumpIfEqual jumps if the result was equal.
src/arm/Jump.go:13
↓ 4 callersMethodLineColumn
LineColumn returns the line and column of the error.
src/errors/FileError.go:60
↓ 4 callersMethodLint
Lint enables or disables the linter.
src/config/Lint.go:4
↓ 4 callersMethodMatrix
Matrix calls the given function with every possible combination of operating systems and architectures.
src/config/Matrix.go:4
↓ 4 callersFunctionMoveInvertedNumber
MoveInvertedNumber moves an inverted 16-bit immediate value to a register.
src/arm/Move.go:87
↓ 4 callersFunctionNew
New creates a new expression.
src/expression/New.go:4
↓ 4 callersFunctionReadFile
ReadFile reads the contents of the given file path into a new buffer.
src/fs/ReadFile.go:8
↓ 4 callersMethodRemoveAt
RemoveAt sets the value at the given index to nil.
src/ssa/Block.go:307
↓ 4 callersMethodReplaceIdentifier
ReplaceIdentifier replaces an existing identifier.
src/ssa/Block.go:332
↓ 4 callersFunctionStoreFixedOffsetRegisterScaled
StoreFixedOffsetRegisterScaled writes the contents of the register to a memory address with a scaled unsigned offset from 0 to 4095.
src/arm/Store.go:18
↓ 4 callersFunctionStoreRegister
StoreRegister writes the contents of the register to a memory address with a register offset.
src/arm/Store.go:8
↓ 4 callersMethodUnprotect
Unprotect stops protecting the variables for the given error value.
src/ssa/Block.go:365
↓ 4 callersFunctionWrite
Write writes the Mach-O format to the given writer.
src/macho/MachO.go:31
↓ 4 callersFunctionWrite
Write writes the ELF64 format to the given writer.
src/elf/ELF.go:20
↓ 4 callersFunctionWrite
Write writes the EXE file to the given writer.
src/pe/EXE.go:22
↓ 4 callersFunctionXorRegisterRegister
XorRegisterRegister performs a bitwise XOR using two registers.
src/x86/Xor.go:13
↓ 4 callersFunctionblock
block returns the start and end of the block, the block's body, and an error if one occurred.
src/ast/block.go:10
↓ 4 callersMethodcompileCondition
compileCondition inserts code to jump to the start label or end label depending on the truth of the condition.
src/core/compileCondition.go:12
↓ 4 callersMethoddecompose
decompose creates SSA values from expressions and decomposes structs into their individual fields.
src/core/decompose.go:11
↓ 4 callersMethoddeleteResources
deleteResources inserts delete calls for all resources.
src/core/deleteResources.go:11
↓ 4 callersFunctionprecedence
(symbol token.Kind)
src/expression/operator.go:69
↓ 4 callersFunctionsize
size encodes the size of the operation.
src/arm/encode.go:54
↓ 3 callersMethodAddField
AddField adds a new field to the end of the struct.
src/types/Struct.go:23
↓ 3 callersFunctionAddRegisterNumber
AddRegisterNumber adds a number to the given register.
src/x86/Add.go:8
↓ 3 callersFunctionAndRegisterNumber
AndRegisterNumber performs a bitwise AND using a register and a number.
src/x86/And.go:8
↓ 3 callersFunctionCallRegister
Calls a function whose address is stored in the given register.
src/arm/Call.go:17
↓ 3 callersFunctionCompareRegisterNumber
CompareRegisterNumber is an alias for a subtraction that updates the conditional flags and discards the result.
src/arm/Compare.go:6
↓ 3 callersMethodCompile
Compile compiles the instructions to machine code.
src/asm/Assembler.go:33
↓ 3 callersFunctionDivSignedRegister
DivSignedRegister performs signed division in RDX:RAX by the value in the register.
src/x86/Div.go:6
↓ 3 callersFunctionDivSignedRegisterRegister
DivSignedRegisterRegister divides source by operand and stores the value in the destination.
src/arm/Div.go:6
↓ 3 callersFunctionDivUnsignedRegister
DivUnsignedRegister performs unsigned division in RDX:RAX by the value in the register.
src/x86/Div.go:11
↓ 3 callersMethodError
Error implements the error interface.
src/errors/static.go:9
↓ 3 callersFunctionExec
Exec executes an in-memory file.
src/memfile/Exec_linux.go:12
↓ 3 callersMethodFile
File returns the file the error came from.
src/errors/FileError.go:27
↓ 3 callersMethodFunctions
Functions returns an iterator over all functions.
src/core/Environment.go:63
↓ 3 callersMethodIndex
Index returns the position of the given type within the union.
src/types/Union.go:11
↓ 3 callersMethodIsBuiltin
IsBuiltin returns true if the token is a builtin function.
src/token/Kind.go:106
↓ 3 callersMethodIsIdentified
IsIdentified returns true if the value can be obtained from one of the identifiers.
src/ssa/IR.go:68
↓ 3 callersMethodIsLiteral
IsLiteral returns true if the token is a literal.
src/token/Kind.go:126
↓ 3 callersMethodLast
Last returns the last value.
src/ssa/Block.go:287
↓ 3 callersMethodLastChild
LastChild returns the last child.
src/expression/Expression.go:72
↓ 3 callersFunctionLoad
Load loads from memory with a register offset into a register.
src/x86/Load.go:6
↓ 3 callersFunctionLoadFixedOffset
LoadFixedOffset loads from memory with a signed offset from -128 to 127 into a register.
src/x86/LoadFixedOffset.go:6
↓ 3 callersFunctionMoveZero
MoveZero moves a 16-bit integer into the given register and clears all other bits to zero.
src/arm/Move.go:97
↓ 3 callersFunctionMultiplySubtract
MultiplySubtract multiplies `multiplicand` with `multiplier`, subtracts the product from `minuend` and saves the result in `destination`.
src/arm/Mul.go:11
↓ 3 callersMethodName
Name returns the function name.
src/core/Function.go:71
↓ 3 callersMethodName
()
src/ssa/FunctionRef.go:6
↓ 3 callersFunctionNew
New creates a new anonymous in-memory file.
src/memfile/New_other.go:12
↓ 3 callersFunctionOrRegisterRegister
OrRegisterRegister performs a bitwise OR using two registers.
src/arm/Or.go:12
↓ 3 callersMethodPackage
Package returns the package name.
src/core/Function.go:76
↓ 3 callersFunctionParse
Parse generates an AST from a list of tokens.
src/ast/Parse.go:9
↓ 3 callersMethodPath
Path returns the relative path of the file to shorten the error message.
src/errors/FileError.go:88
↓ 3 callersFunctionPopRegister
PopRegister pops a value from the stack and saves it into the register.
src/x86/Pop.go:6
↓ 3 callersFunctionPushRegister
PushRegister pushes the value inside the register onto the stack.
src/x86/Push.go:26
↓ 3 callersFunctionSIB
SIB is used to generate an SIB byte. - scale: 2 bits. Multiplies the value of the index. - index: 3 bits. Specifies the index register. - base: 3 bit
src/x86/SIB.go:17
↓ 3 callersMethodSetMutable
SetMutable sets the writable data for the given label.
src/data/Insert.go:13
↓ 3 callersFunctionSignExtendR0ToR2
SignExtendR0ToR2 doubles the size of R0 (RAX) by sign-extending it to R2 (RDX). This is also known as CQO.
src/x86/SignExtendR0ToR2.go:5
↓ 3 callersMethodStack
Stack returns the call stack at the time the error was created.
src/errors/FileError.go:110
← previousnext →101–200 of 1,095, ranked by callers