Home
last modified time | relevance | path

Searched defs:FileSet (Results 1 – 25 of 57) sorted by relevance

123

/aosp_15_r20/prebuilts/go/linux-x86/src/go/token/
Dposition.go426 type FileSet struct { struct
427 mutex sync.RWMutex // protects the file set
428 base int // base offset for the next file
429 files []*File // list of files in the order added to the set
430 last atomic.Pointer[File] // cache of last file looked up
442 func (s *FileSet) Base() int {
464 func (s *FileSet) AddFile(filename string, base, size int) *File {
498 func (s *FileSet) RemoveFile(file *File) {
513 func (s *FileSet) Iterate(f func(*File) bool) {
539 func (s *FileSet) file(p Pos) *File {
[all …]
Dserialize_test.go16 func equal(p, q *FileSet) error {
65 func checkSerialize(t *testing.T, p *FileSet) {
/aosp_15_r20/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) {
458 func Imports(fset *token.FileSet, f *ast.File) [][]*ast.ImportSpec {
/aosp_15_r20/prebuilts/go/linux-x86/src/go/parser/
Derror_test.go41 func getFile(fset *token.FileSet, filename string) (file *token.File) {
54 func getPos(fset *token.FileSet, filename string, offset int) token.Pos {
71 func expectedErrors(fset *token.FileSet, filename string, src []byte) map[token.Pos]string {
120 func compareErrors(t *testing.T, fset *token.FileSet, expected map[token.Pos]string, found scanner.…
Dinterface.go84 func ParseFile(fset *token.FileSet, filename string, src any, mode Mode) (f *ast.File, err error) {
141 func ParseDir(fset *token.FileSet, path string, filter func(fs.FileInfo) bool, mode Mode) (pkgs map…
191 func ParseExprFrom(fset *token.FileSet, filename string, src any, mode Mode) (expr ast.Expr, err er…
/aosp_15_r20/prebuilts/go/linux-x86/src/go/ast/
Dimport.go16 func SortImports(fset *token.FileSet, f *File) {
56 func lineAt(fset *token.FileSet, pos token.Pos) int {
102 func sortSpecs(fset *token.FileSet, f *File, specs []Spec) []Spec {
Dprint.go39 func Fprint(w io.Writer, fset *token.FileSet, x any, f FieldFilter) error {
43 func fprint(w io.Writer, fset *token.FileSet, x any, f FieldFilter) (err error) {
73 func Print(fset *token.FileSet, x any) error {
Dresolve.go77 func NewPackage(fset *token.FileSet, files map[string]*File, importer Importer, universe *Scope) (*…
/aosp_15_r20/external/deqp-deps/SPIRV-Tools/utils/vscode/src/lsp/span/
Dtoken.go26 FileSet *token.FileSet member
41 func NewRange(fset *token.FileSet, start, end token.Pos) Range {
51 func NewTokenConverter(fset *token.FileSet, f *token.File) *TokenConverter {
/aosp_15_r20/external/angle/third_party/spirv-tools/src/utils/vscode/src/lsp/span/
H A Dtoken.go26 FileSet *token.FileSet member
41 func NewRange(fset *token.FileSet, start, end token.Pos) Range {
51 func NewTokenConverter(fset *token.FileSet, f *token.File) *TokenConverter {
/aosp_15_r20/external/swiftshader/third_party/SPIRV-Tools/utils/vscode/src/lsp/span/
H A Dtoken.go26 FileSet *token.FileSet member
41 func NewRange(fset *token.FileSet, start, end token.Pos) Range {
51 func NewTokenConverter(fset *token.FileSet, f *token.File) *TokenConverter {
/aosp_15_r20/prebuilts/go/linux-x86/src/go/types/
Deval.go24 func Eval(fset *token.FileSet, pkg *Package, pos token.Pos, expr string) (_ TypeAndValue, err error…
56 func CheckExpr(fset *token.FileSet, pkg *Package, pos token.Pos, expr ast.Expr, info *Info) (err er…
Dexample_test.go322 func exprString(fset *token.FileSet, expr ast.Expr) string {
Dself_test.go106 func pkgFiles(fset *token.FileSet, path string) ([]*ast.File, error) {
/aosp_15_r20/prebuilts/go/linux-x86/src/cmd/gofmt/
Dinternal.go23 func parse(fset *token.FileSet, filename string, src []byte, fragmentOk bool) (
95 fset *token.FileSet,
/aosp_15_r20/prebuilts/go/linux-x86/src/go/doc/
Dexample_test.go91 func formatFile(t *testing.T, fset *token.FileSet, n *ast.File) string {
330 func mustParse(fset *token.FileSet, filename, src string) *ast.File {
/aosp_15_r20/prebuilts/go/linux-x86/src/go/format/
Dinternal.go23 func parse(fset *token.FileSet, filename string, src []byte, fragmentOk bool) (
95 fset *token.FileSet,
Dformat.go53 func Node(dst io.Writer, fset *token.FileSet, node any) error {
/aosp_15_r20/prebuilts/go/linux-x86/src/cmd/vendor/golang.org/x/tools/go/analysis/passes/cgocall/
Dcgocall.go59 func checkCgo(fset *token.FileSet, f *ast.File, info *types.Info, reportf func(token.Pos, string, .…
174 func typeCheckCgoSourceFiles(fset *token.FileSet, pkg *types.Package, files []*ast.File, info *type…
/aosp_15_r20/prebuilts/go/linux-x86/src/cmd/internal/dwarf/
Dputvarabbrevgen_test.go147 func pvacfgbody(t *testing.T, fset *token.FileSet, cm ast.CommentMap, body []ast.Stmt) (start, end …
195 func pvacfgif(t *testing.T, fset *token.FileSet, cm ast.CommentMap, ifstmt *ast.IfStmt) (start, end…
/aosp_15_r20/prebuilts/go/linux-x86/src/cmd/vendor/golang.org/x/tools/go/analysis/internal/analysisflags/
Dflags.go322 func PrintPlain(fset *token.FileSet, diag analysis.Diagnostic) {
387 func (tree JSONTree) Add(fset *token.FileSet, id, name string, diags []analysis.Diagnostic, err err…
/aosp_15_r20/prebuilts/go/linux-x86/src/go/printer/
Dprinter.go1335 func newPrinter(cfg *Config, fset *token.FileSet, nodeSizes map[ast.Node]int) *printer {
1431 func Fprint(output io.Writer, fset *token.FileSet, node any) error {
/aosp_15_r20/external/googleapis/google/devtools/resultstore/v2/
H A Dfile_set.proto40 message FileSet { message
/aosp_15_r20/external/google-cloud-java/java-dlp/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/
H A DCloudStorageOptions.java308 public static final class FileSet extends com.google.protobuf.GeneratedMessageV3 class in CloudStorageOptions
314 private FileSet(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { in FileSet() method in CloudStorageOptions.FileSet
318 private FileSet() { in FileSet() method in CloudStorageOptions.FileSet
/aosp_15_r20/prebuilts/go/linux-x86/src/go/internal/gcimporter/
Dgcimporter.go154 func Import(fset *token.FileSet, packages map[string]*types.Package, path, srcDir string, lookup fu…

123