MCPcopy Create free account

hub / github.com/alexbrainman/printer / functions

Functions79 in github.com/alexbrainman/printer

↓ 9 callersFunctiontrim
(s string)
mksyscall_windows.go:70
↓ 7 callersMethodSyscall
Syscall determines which SyscallX function to use for function f.
mksyscall_windows.go:519
↓ 6 callersFunctionsyscalldot
()
mksyscall_windows.go:80
↓ 6 callersMethodtmpVar
tmpVar returns temp variable name that will be used to represent p during syscall.
mksyscall_windows.go:96
↓ 5 callersMethodClose
()
printer.go:377
↓ 5 callersFunctionDefault
sys GetDefaultPrinter(buf *uint16, bufN *uint32) (err error) = winspool.GetDefaultPrinterW sys ClosePrinter(h syscall.Handle) (err error) = winspool.C
printer.go:114
↓ 5 callersFunctionjoin
join concatenates parameters ps into a string with sep separator. Each parameter is converted into string by applying fn to it before conversion.
mksyscall_windows.go:204
↓ 4 callersFunctionOpen
(name string)
printer.go:159
↓ 4 callersFunctionReadNames
ReadNames return printer names on the system
printer.go:132
↓ 3 callersFunctionextractSection
extractSection extracts text out of string s starting after start and ending just before end. found return value will indicate success, and prefix, bo
mksyscall_windows.go:364
↓ 2 callersMethodDriverInfo
DriverInfo returns information about printer p driver.
printer.go:306
↓ 2 callersMethodEndDocument
()
printer.go:365
↓ 2 callersMethodEndPage
()
printer.go:373
↓ 2 callersFunctionEnumPrinters
(flags uint32, name *uint16, level uint32, buf *byte, bufN uint32, needed *uint32, returned *uint32)
zapi.go:122
↓ 2 callersFunctionGetDefaultPrinter
(buf *uint16, bufN *uint32)
zapi.go:26
↓ 2 callersMethodHelperType
HelperType returns type of parameter p used in helper function.
mksyscall_windows.go:194
↓ 2 callersMethodIsError
IsError determines if p parameter is used to return error.
mksyscall_windows.go:189
↓ 2 callersMethodIsUTF16
IsUTF16 is true, if f is W (utf16) function. It is false for all A (ascii) functions.
mksyscall_windows.go:554
↓ 2 callersMethodStartDocument
(name, datatype string)
printer.go:331
↓ 2 callersMethodStartPage
()
printer.go:369
↓ 2 callersMethodStrconvType
StrconvType returns Go type name used for OS string for f.
mksyscall_windows.go:568
↓ 2 callersMethodSyscallArgList
SyscallArgList returns source code fragments representing p parameter in syscall. Slices are translated into 2 syscall parameters: pointer to the firs
mksyscall_windows.go:169
↓ 2 callersMethodSyscallParamCount
SyscallParamCount determines which version of Syscall/Syscall6/Syscall9/... to use. It returns parameter count for correspondent SyscallX function.
mksyscall_windows.go:500
↓ 2 callersMethodToParams
ToParams converts r into slice of *Param.
mksyscall_windows.go:235
↓ 2 callersFunctionexit
(err error)
cmd/print/print.go:133
↓ 2 callersFunctionextractParams
extractParams parses s to extract function parameters.
mksyscall_windows.go:335
↓ 2 callersMethoduseLongHandleErrorCode
(retvar string)
mksyscall_windows.go:277
↓ 1 callersMethodBoolTmpVarCode
BoolTmpVarCode returns source code for bool temp variable.
mksyscall_windows.go:105
↓ 1 callersFunctionClosePrinter
(h syscall.Handle)
zapi.go:38
↓ 1 callersMethodDLLFuncName
DLLName returns DLL function name for function f.
mksyscall_windows.go:466
↓ 1 callersMethodDLLName
DLLName returns DLL name for function f.
mksyscall_windows.go:458
↓ 1 callersFunctionEndDocPrinter
(h syscall.Handle)
zapi.go:74
↓ 1 callersFunctionEndPagePrinter
(h syscall.Handle)
zapi.go:110
↓ 1 callersFunctionEnumJobs
(h syscall.Handle, firstJob uint32, noJobs uint32, level uint32, buf *byte, bufN uint32, bytesNeeded *uint32,
zapi.go:146
↓ 1 callersMethodErrorVarName
ErrorVarName returns error variable name for r.
mksyscall_windows.go:224
↓ 1 callersMethodGenerate
Generate output source file from a source set src.
mksyscall_windows.go:678
↓ 1 callersFunctionGetPrinterDriver
(h syscall.Handle, env *uint16, level uint32, di *byte, n uint32, needed *uint32)
zapi.go:134
↓ 1 callersMethodHasStringParam
HasStringParam is true, if f has at least one string parameter. Otherwise it is false.
mksyscall_windows.go:577
↓ 1 callersMethodJobs
Jobs returns information about all print jobs on this printer
printer.go:194
↓ 1 callersFunctionOpenPrinter
(name *uint16, h *syscall.Handle, defaults uintptr)
zapi.go:50
↓ 1 callersMethodParamCount
ParamCount return number of syscall parameters for function f.
mksyscall_windows.go:490
↓ 1 callersMethodParseFile
ParseFile adds adition file path to a source set src.
mksyscall_windows.go:631
↓ 1 callersFunctionParseFiles
ParseFiles parses files listed in fs and extracts all syscall functions listed in sys comments. It returns source files and functions collection *Sou
mksyscall_windows.go:603
↓ 1 callersMethodSliceTmpVarCode
SliceTmpVarCode returns source code for slice temp variable.
mksyscall_windows.go:117
↓ 1 callersFunctionStartDocPrinter
(h syscall.Handle, level uint32, docinfo *DOC_INFO_1)
zapi.go:62
↓ 1 callersFunctionStartPagePrinter
(h syscall.Handle)
zapi.go:98
↓ 1 callersMethodStartRawDocument
StartRawDocument calls StartDocument and passes either "RAW" or "XPS_PASS" as a document type, depending if printer driver is XPS-based or not.
printer.go:342
↓ 1 callersMethodStrconvFunc
StrconvFunc returns name of Go string to OS string function for f.
mksyscall_windows.go:560
↓ 1 callersMethodStringTmpVarCode
StringTmpVarCode returns source code for string temp variable.
mksyscall_windows.go:127
↓ 1 callersMethodWrite
(b []byte)
printer.go:356
↓ 1 callersFunctionWritePrinter
(h syscall.Handle, buf *byte, bufN uint32, written *uint32)
zapi.go:86
↓ 1 callersFunctionfindDefaultPrinter
()
cmd/print/print.go:27
↓ 1 callersFunctionlistPrinters
()
cmd/print/print.go:35
↓ 1 callersFunctionnewFn
newFn parses string s and return created function Fn.
mksyscall_windows.go:385
↓ 1 callersFunctionprintDocument
(path string)
cmd/print/print.go:98
↓ 1 callersFunctionprintOneDocument
(printerName, documentName string, lines []string)
cmd/print/print.go:73
↓ 1 callersFunctionselectPrinter
()
cmd/print/print.go:54
↓ 1 callersFunctionusage
()
mksyscall_windows.go:691
↓ 1 callersFunctionusage
()
cmd/print/print.go:123
MethodDLLs
DLLs return dll names for a source set src.
mksyscall_windows.go:617
MethodHelperCallParamList
HelperCallParamList returns source code of call into function f helper.
mksyscall_windows.go:540
MethodHelperName
HelperName returns name of function f helper.
mksyscall_windows.go:587
MethodHelperParamList
HelperParamList returns source code for helper function f parameters.
mksyscall_windows.go:479
MethodList
List returns source code of syscall return parameters.
mksyscall_windows.go:247
MethodParamList
ParamList returns source code for function f parameters.
mksyscall_windows.go:474
MethodParamPrintList
ParamPrintList returns source code of trace printing part correspondent to syscall input parameters.
mksyscall_windows.go:485
MethodPrintList
PrintList returns source code of trace printing part correspondent to syscall return values.
mksyscall_windows.go:257
MethodSetErrorCode
SetErrorCode returns source code that sets return parameters.
mksyscall_windows.go:293
MethodSetReturnValuesCode
SetReturnValuesCode returns source code that accepts syscall return values.
mksyscall_windows.go:262
MethodSyscallParamList
SyscallParamList returns source code for SyscallX parameters for function f.
mksyscall_windows.go:528
FunctionTestDriverInfo
(t *testing.T)
printer_test.go:59
FunctionTestJobs
(t *testing.T)
printer_test.go:78
FunctionTestPrinter
(t *testing.T)
printer_test.go:13
FunctionTestReadNames
(t *testing.T)
printer_test.go:41
MethodTmpVarCode
TmpVarCode returns source code for temp variable.
mksyscall_windows.go:147
MethodTmpVarHelperCode
TmpVarHelperCode returns source code for helper's temp variable.
mksyscall_windows.go:159
Functionmain
()
mksyscall_windows.go:697
Functionmain
()
cmd/print/print.go:141
Functionpackagename
()
mksyscall_windows.go:76