Home
last modified time | relevance | path

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

12345678910>>...76

/aosp_15_r20/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 …]
/aosp_15_r20/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 …]
/aosp_15_r20/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 …]
/aosp_15_r20/external/rust/android-crates-io/crates/fs-err/src/
Dfile.rs12 pub struct File { struct
13 file: fs::File, argument
17 // Opens a std File and returns it or an error generator which only needs the path to produce the e… argument
19 pub(crate) fn open(path: &Path) -> Result<std::fs::File, impl FnOnce(PathBuf) -> io::Error> { in open()
24 pub(crate) fn create(path: &Path) -> Result<std::fs::File, impl FnOnce(PathBuf) -> io::Error> { in create()
31 impl File { implementation
141 impl File { implementation
143 pub fn from_parts<P>(file: fs::File, path: P) -> Self in from_parts()
154 pub fn into_parts(self) -> (fs::File, PathBuf) { in into_parts()
161 pub fn file(&self) -> &fs::File { in file()
[all …]
/aosp_15_r20/external/spdx-tools/spdx/v2_3/
H A Dfile.go8 type File struct { struct
11 FileName string `json:"fileName"`
15 FileSPDXIdentifier common.ElementID `json:"SPDXID"`
19 FileTypes []string `json:"fileTypes,omitempty"`
23 Checksums []common.Checksum `json:"checksums"`
27 LicenseConcluded string `json:"licenseConcluded,omitempty"`
31 LicenseInfoInFiles []string `json:"licenseInfoInFiles,omitempty"`
35 LicenseComments string `json:"licenseComments,omitempty"`
39 FileCopyrightText string `json:"copyrightText"`
44 ArtifactOfProjects []*ArtifactOfProject `json:"artifactOfs,omitempty"`
[all …]
/aosp_15_r20/external/spdx-tools/spdx/v2_2/
H A Dfile.go8 type File struct { struct
11 FileName string `json:"fileName"`
15 FileSPDXIdentifier common.ElementID `json:"SPDXID"`
19 FileTypes []string `json:"fileTypes,omitempty"`
23 Checksums []common.Checksum `json:"checksums"`
27 LicenseConcluded string `json:"licenseConcluded"`
31 LicenseInfoInFiles []string `json:"licenseInfoInFiles"`
35 LicenseComments string `json:"licenseComments,omitempty"`
39 FileCopyrightText string `json:"copyrightText"`
44 ArtifactOfProjects []*ArtifactOfProject `json:"-"`
[all …]
/aosp_15_r20/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 …]
/aosp_15_r20/external/spdx-tools/spdx/v2_1/
H A Dfile.go8 type File struct { struct
11 FileName string `json:"fileName"`
15 FileSPDXIdentifier common.ElementID `json:"SPDXID"`
19 FileTypes []string `json:"fileTypes,omitempty"`
23 Checksums []common.Checksum `json:"checksums"`
27 LicenseConcluded string `json:"licenseConcluded"`
31 LicenseInfoInFiles []string `json:"licenseInfoInFiles"`
35 LicenseComments string `json:"licenseComments,omitempty"`
39 FileCopyrightText string `json:"copyrightText"`
44 ArtifactOfProjects []*ArtifactOfProject `json:"-"`
[all …]
/aosp_15_r20/frameworks/libs/binary_translation/tests/ndk_program_tests/
Dfile_test.cc37 TEST(File, Mkstemp) { in TEST() argument
48 TEST(File, Mkstemps) { in TEST() argument
59 TEST(File, Fdopen) { in TEST() argument
64 TEST(File, ReadWrite) { in TEST() argument
74 TEST(File, PReadWrite) { in TEST() argument
84 TEST(File, fileno) { in TEST() argument
89 TEST(File, Ftell) { in TEST() argument
98 TEST(File, Lseek) { in TEST() argument
108 TEST(File, Ftruncate) { in TEST() argument
119 TEST(File, Reopen) { in TEST() argument
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/fs-err/src/tokio/
Dfile.rs16 pub struct File { struct
17 tokio: fs::File, argument
21 impl File { argument
25 pub async fn open(path: impl Into<PathBuf>) -> io::Result<File> { in open()
36 pub async fn create(path: impl Into<PathBuf>) -> io::Result<File> { in create()
47 pub fn from_std(std: crate::File) -> File { in from_std()
98 pub async fn try_clone(&self) -> io::Result<File> { in try_clone()
109 pub async fn into_std(self) -> crate::File { in into_std()
116 pub fn try_into_std(self) -> Result<crate::File, File> { in try_into_std() argument
136 impl File { implementation
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/config/src/file/
Dmod.rs23 pub struct File<T, F> { struct
29 /// A required File will error if it cannot be found argument
41 impl<F> File<source::string::FileSourceString, F> impl
54 impl<F> File<source::file::FileSourceFile, F> implementation
67 impl File<source::file::FileSourceFile, FileFormat> { implementation
79 impl<'a> From<&'a Path> for File<source::file::FileSourceFile, FileFormat> { implementation
89 impl From<PathBuf> for File<source::file::FileSourceFile, FileFormat> { implementation
99 impl<T, F> File<T, F> impl
117 impl<T, F> Source for File<T, F> implementation
/aosp_15_r20/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 …]
/aosp_15_r20/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 …]
/aosp_15_r20/external/rust/android-crates-io/crates/tokio/src/fs/
Dfile.rs89 pub struct File { struct
90 std: Arc<StdFile>, argument
91 inner: Mutex<Inner>,
92 max_buf_size: usize,
119 impl File { impl
151 pub async fn open(path: impl AsRef<Path>) -> io::Result<File> { in open()
189 pub async fn create(path: impl AsRef<Path>) -> io::Result<File> { in create()
226 pub async fn create_new<P: AsRef<Path>>(path: P) -> std::io::Result<File> { in create_new()
276 pub fn from_std(std: StdFile) -> File { in from_std()
463 pub async fn try_clone(&self) -> io::Result<File> { in try_clone()
[all …]
/aosp_15_r20/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 …]
/aosp_15_r20/build/soong/third_party/zip/
H A Dreader.go26 File []*File member
36 type File struct { struct
37 FileHeader
38 zip *Reader
39 zipr io.ReaderAt
40 zipsize int64
41 headerOffset int64
44 func (f *File) hasDataDescriptor() bool {
146 func (f *File) DataOffset() (offset int64, err error) {
156 func (f *File) Open() (io.ReadCloser, error) {
[all …]
/aosp_15_r20/system/update_engine/payload_generator/
H A Dfilesystem_interface.h47 struct File { struct
48 File() { memset(&file_stat, 0, sizeof(file_stat)); } in File() function
52 struct stat file_stat = {};
76 CompressedFile compressed_file_info; argument
92 virtual bool GetFiles(std::vector<File>* files) const = 0; argument
/aosp_15_r20/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 …]
/aosp_15_r20/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 …]
/aosp_15_r20/frameworks/compile/slang/
Dslang_rs_reflection_state.h588 struct File { struct
589 File() : mForEaches(nullptr) { } in File() function
590 ~File() { delete [] mForEaches; } in ~File() argument
593 void operator=(const File &) = delete; argument
596 std::string mRSSourceFileName; argument
598 struct ForEach {
643 // TODO: Move this out of File to avoid duplication? That is, argument
650 struct Record {
677 llvm::StringMap<Record> mRecords;
679 struct Reduce {
[all …]
/aosp_15_r20/external/bazelbuild-rules_python/gazelle/manifest/
H A Dmanifest.go29 type File struct { struct
30 Manifest *Manifest `yaml:"manifest,omitempty"`
34 Integrity string `yaml:"integrity,omitempty"`
43 … *File) EncodeWithIntegrity(w io.Writer, manifestGeneratorHashFile, requirements io.Reader) error {
53 func (f *File) EncodeWithoutIntegrity(w io.Writer) error {
57 func (f *File) encode(w io.Writer) error {
67 func (f *File) VerifyIntegrity(manifestGeneratorHashFile, requirements io.Reader) (bool, error) {
80 func (f *File) calculateIntegrity(
106 func (f *File) Decode(manifestPath string) error {
/aosp_15_r20/external/golang-protobuf/compiler/protogen/
H A Dprotogen.go403 type File struct { struct
404 Desc protoreflect.FileDescriptor
405 Proto *descriptorpb.FileDescriptorProto
407 GoDescriptorIdent GoIdent // name of Go variable for the file descriptor
408 GoPackageName GoPackageName // name of this file's Go package
409 GoImportPath GoImportPath // import path of this file's Go package
411 Enums []*Enum // top-level enum declarations
412 Messages []*Message // top-level message declarations
413 Extensions []*Extension // top-level extension declarations
414 Services []*Service // top-level service declarations
[all …]
/aosp_15_r20/external/golang-protobuf/internal/filedesc/
H A Ddesc.go37 File struct { struct
38 fileRaw
39 L1 FileL1
41 once uint32 // atomically set if L2 is valid
42 mu sync.Mutex // protects L2
43 L2 *FileL2
62 func (fd *File) ParentFile() protoreflect.FileDescriptor { return fd }
63 func (fd *File) Parent() protoreflect.Descriptor { return nil }
64 func (fd *File) Index() int { return 0 }
65 func (fd *File) Syntax() protoreflect.Syntax { return fd.L1.Syntax }
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/tempfile/src/file/imp/
Dunix.rs25 ) -> io::Result<File> { in create_named()
37 fn create_unlinked(path: &Path) -> io::Result<File> { in create_unlinked()
55 pub fn create(dir: &Path) -> io::Result<File> { in create()
75 pub fn create(dir: &Path) -> io::Result<File> { in create()
79 fn create_unix(dir: &Path) -> io::Result<File> { in create_unix()
90 pub fn reopen(file: &File, path: &Path) -> io::Result<File> { in reopen()
104 pub fn reopen(_file: &File, _path: &Path) -> io::Result<File> { in reopen()
/aosp_15_r20/external/clang/unittests/Lex/
H A DHeaderMapTest.cpp63 FileTy &File; member
102 MapFile<1, 1> File; in TEST() local
110 MapFile<1, 1> File; in TEST() local
118 MapFile<1, 1> File; in TEST() local
126 MapFile<1, 1> File; in TEST() local
138 MapFile<3, 1> File; in TEST() local
148 MapFile<1, 1> File; in TEST() local
156 MapFile<1, 1> File; in TEST() local
165 FileTy File; in TEST() local
184 FileTy File; member
[all …]

12345678910>>...76