Home
last modified time | relevance | path

Searched defs:File (Results 1 – 25 of 505) sorted by relevance

12345678910>>...21

/prebuilts/go/linux-x86/src/go/token/
Dposition.go101 type File struct { struct
102 name string // file name as provided to AddFile
103 base int // Pos value range for this file is [base...base+size]
104 size int // file size as provided to AddFile
107 mutex sync.Mutex
108 …int // lines contains the offset of the first character for each line (the first entry is always 0)
109 infos []lineInfo
113 func (f *File) Name() string {
118 func (f *File) Base() int {
123 func (f *File) Size() int {
[all …]
/prebuilts/go/linux-x86/src/debug/elf/
Dfile.go53 type File struct { struct
54 FileHeader
55 Sections []*Section
56 Progs []*Prog
57 closer io.Closer
58 gnuNeed []verneed
59 gnuVersym []byte
114 func (f *File) stringTable(link uint32) ([]byte, error) {
256 func (f *File) Close() error {
267 func (f *File) SectionByType(typ SectionType) *Section {
[all …]
/prebuilts/go/linux-x86/src/debug/pe/
Dfile.go31 type File struct { struct
32 FileHeader
33 OptionalHeader any // of type *OptionalHeader32 or *OptionalHeader64
34 Sections []*Section
35 Symbols []*Symbol // COFF symbols with auxiliary symbol records removed
36 COFFSymbols []COFFSymbol // all COFF symbols (including auxiliary symbol records)
37 StringTable StringTable
39 closer io.Closer
60 func (f *File) Close() error {
205 func (f *File) Section(name string) *Section {
[all …]
/prebuilts/go/linux-x86/src/cmd/cover/
Dcover.go256 type File struct { struct
257 fset *token.FileSet
258 name string // Name of file.
259 astFile *ast.File
260 blocks []Block
261 content []byte
262 edit *edit.Buffer
263 mdb *encodemeta.CoverageMetaDataBuilder
264 fn Func
265 pkg *Package
[all …]
/prebuilts/go/linux-x86/src/go/types/
Dgenerate_test.go230 func renameIdents(f *ast.File, renames ...string) {
243 func renameSelectors(f *ast.File, renames ...string) {
258 func renameSelectorExprs(f *ast.File, renames ...string) {
271 func renameImportPath(f *ast.File, renames ...string) {
288 func insertImportPath(f *ast.File, path string) {
300 func fixTokenPos(f *ast.File) {
326 func fixSelValue(f *ast.File) {
344 func fixInferSig(f *ast.File) {
394 func fixAtPosCall(f *ast.File) {
417 func fixErrErrorfCall(f *ast.File) {
[all …]
/prebuilts/go/linux-x86/src/cmd/vendor/golang.org/x/mod/modfile/
Drule.go37 type File struct { struct
38 Module *Module
39 Go *Go
40 Toolchain *Toolchain
41 Godebug []*Godebug
42 Require []*Require
43 Exclude []*Exclude
44 Replace []*Replace
45 Retract []*Retract
47 Syntax *FileSyntax
[all …]
/prebuilts/go/linux-x86/src/net/
Dfile_unix.go15 func dupSocket(f *os.File) (int, error) {
30 func newFileFD(f *os.File) (*netFD, error) {
70 func fileConn(f *os.File) (Conn, error) {
89 func fileListener(f *os.File) (Listener, error) {
104 func filePacketConn(f *os.File) (PacketConn, error) {
Dfile_plan9.go32 func newFileFD(f *os.File) (net *netFD, err error) {
87 func fileConn(f *os.File) (Conn, error) {
110 func fileListener(f *os.File) (Listener, error) {
133 func filePacketConn(f *os.File) (PacketConn, error) {
Dfile_windows.go12 func fileConn(f *os.File) (Conn, error) {
17 func fileListener(f *os.File) (Listener, error) {
22 func filePacketConn(f *os.File) (PacketConn, error) {
Dfile_stub.go14 func fileConn(f *os.File) (Conn, error) { return nil, syscall.ENOPROTOOPT }
15 func fileListener(f *os.File) (Listener, error) { return nil, syscall.ENOPROTOOPT }
16 func filePacketConn(f *os.File) (PacketConn, error) { return nil, syscall.ENOPROTOOPT }
Dfile.go21 func FileConn(f *os.File) (c Conn, err error) {
33 func FileListener(f *os.File) (ln Listener, err error) {
45 func FilePacketConn(f *os.File) (c PacketConn, err error) {
/prebuilts/go/linux-x86/src/internal/xcoff/
Dfile.go78 type File struct { struct
79 FileHeader
80 Sections []*Section
81 Symbols []*Symbol
82 StringTable []byte
83 LibraryPaths []string
85 closer io.Closer
106 func (f *File) Close() error {
119 func (f *File) Section(name string) *Section {
130 func (f *File) SectionByType(typ uint32) *Section {
[all …]
/prebuilts/go/linux-x86/src/cmd/vendor/golang.org/x/tools/go/ast/astutil/
Dimports.go17 func AddImport(fset *token.FileSet, f *ast.File, path string) (added bool) {
31 func AddNamedImport(fset *token.FileSet, f *ast.File, name, path string) (added bool) {
204 func DeleteImport(fset *token.FileSet, f *ast.File, path string) (deleted bool) {
210 func DeleteNamedImport(fset *token.FileSet, f *ast.File, name, path string) (deleted bool) {
333 func RewriteImport(fset *token.FileSet, f *ast.File, oldPath, newPath string) (rewrote bool) {
347 func UsesImport(f *ast.File, path string) (used bool) {
387 func imports(f *ast.File, name, path string) bool {
398 func importSpec(f *ast.File, path string) *ast.ImportSpec {
458 func Imports(fset *token.FileSet, f *ast.File) [][]*ast.ImportSpec {
/prebuilts/go/linux-x86/src/cmd/internal/objfile/
Dobjfile.go28 type File struct { struct
29 r *os.File
30 entries []*Entry
89 func (f *File) Close() error {
93 func (f *File) Entries() []*Entry {
97 func (f *File) Symbols() ([]Sym, error) {
101 func (f *File) PCLineTable() (Liner, error) {
105 func (f *File) Text() (uint64, []byte, error) {
109 func (f *File) GOARCH() string {
113 func (f *File) LoadAddress() (uint64, error) {
[all …]
/prebuilts/go/linux-x86/src/cmd/go/internal/lockedfile/internal/filelock/
Dfilelock.go18 type File interface { interface
41 func Lock(f File) error {
54 func RLock(f File) error {
61 func Unlock(f File) error {
/prebuilts/go/linux-x86/src/cmd/go/internal/lockedfile/
Dlockedfile.go24 type File struct { struct
25 osFile
26 closed bool
32 *os.File anonMember
83 func (f *File) Close() error {
/prebuilts/go/linux-x86/src/debug/macho/
Dfile.go33 type File struct { struct
34 FileHeader
35 ByteOrder binary.ByteOrder
36 Loads []Load
37 Sections []*Section
39 Symtab *Symtab
40 Dysymtab *Dysymtab
42 closer io.Closer
218 func (f *File) Close() error {
473 … *File) parseSymtab(symdat, strtab, cmddat []byte, hdr *SymtabCmd, offset int64) (*Symtab, error) {
[all …]
/prebuilts/go/linux-x86/src/cmd/vendor/golang.org/x/telemetry/internal/counter/
Dparse.go16 type File struct { struct
17 Meta map[string]string
18 Count map[string]uint64
/prebuilts/go/linux-x86/src/cmd/fix/
Dgotypes.go23 func gotypes(f *ast.File) bool {
31 func fixGoTypes(f *ast.File) bool {
35 func fixGoExact(f *ast.File) bool {
/prebuilts/go/linux-x86/src/cmd/distpack/
Darchive.go25 type File struct { struct
26 Name string // name in archive
27 Time time.Time // modification time
28 Mode fs.FileMode
29 Size int64
30 Src string // source file in OS file system
35 func (f *File) Info() fs.FileInfo {
/prebuilts/rust/linux-musl-x86/1.83.0/lib/rustlib/src/rust/library/std/src/sys/pal/windows/fs/
Dremove_dir_all.rs50 ) -> Result<File, WinError> { in nt_open_file()
76 parent: &File, in open_link_no_reparse()
80 ) -> Result<Option<File>, WinError> { in open_link_no_reparse()
132 fn open_dir(parent: &File, name: &[u16]) -> Result<Option<File>, WinError> { in open_dir()
143 fn delete(parent: &File, name: &[u16]) -> Result<(), WinError> { in delete()
/prebuilts/rust/linux-x86/1.83.0/lib/rustlib/src/rust/library/std/src/sys/pal/windows/fs/
Dremove_dir_all.rs50 ) -> Result<File, WinError> { in nt_open_file()
76 parent: &File, in open_link_no_reparse()
80 ) -> Result<Option<File>, WinError> { in open_link_no_reparse()
132 fn open_dir(parent: &File, name: &[u16]) -> Result<Option<File>, WinError> { in open_dir()
143 fn delete(parent: &File, name: &[u16]) -> Result<(), WinError> { in delete()
/prebuilts/go/linux-x86/test/ken/
Dintervar.go41 type File struct { struct
42 whoami int;
43 put Iputs;
46 func (f *File) puts(s string) string {
/prebuilts/go/linux-x86/src/go/parser/
Dresolver_test.go78 func declsFromParser(file *ast.File) map[token.Pos]token.Pos {
93 func declsFromComments(handle *token.File, src []byte) map[token.Pos]token.Pos {
114 func positionMarkers(handle *token.File, src []byte) (decls map[string]token.Pos, uses map[string][…
/prebuilts/go/linux-x86/src/cmd/cgo/
Dmain.go64 type File struct { struct
65 AST *ast.File // parsed AST
66 Comments []*ast.CommentGroup // comments from file
67 Package string // Package name
68 Preamble string // C preamble (doc comment on import "C")
69 Ref []*Ref // all references to C.xxx in AST
70 Calls []*Call // all calls to C.xxx in AST
71 ExpFunc []*ExpFunc // exported functions for this file
72 Name map[string]*Name // map from Go name to Name
73 NamePos map[*Name]token.Pos // map from Name to position of the first reference
[all …]

12345678910>>...21