Home
last modified time | relevance | path

Searched +full:file +full:- +full:lines (Results 1 – 25 of 1617) sorted by relevance

12345678910>>...65

/aosp_15_r20/external/google-breakpad/src/common/
H A Ddwarf_line_to_module_unittest.cc29 // Original author: Jim Blandy <[email protected]> <jimb@red-bean.com>
50 vector<Module::Line> lines; in TEST() local
51 std::map<uint32_t, Module::File*> cu_files; in TEST()
52 DwarfLineToModule h(&m, "/", &lines, &cu_files); in TEST()
58 vector<Module::File*> files; in TEST()
61 EXPECT_STREQ("/file1", files[0]->name.c_str()); in TEST()
63 EXPECT_EQ(1U, lines.size()); in TEST()
64 EXPECT_EQ(0x6fd126fbf74f2680ULL, lines[0].address); in TEST()
65 EXPECT_EQ(0x63c9a14cf556712bULL, lines[0].size); in TEST()
66 EXPECT_TRUE(lines[0].file == files[0]); in TEST()
[all …]
/aosp_15_r20/external/apache-commons-io/src/test/java/org/apache/commons/io/
H A DLineIteratorTest.java3 * contributor license agreements. See the NOTICE file distributed with
5 * The ASF licenses this file to You under the Apache License, Version 2.0
6 * (the "License"); you may not use this file except in compliance with
9 * http://www.apache.org/licenses/LICENSE-2.0
26 import java.io.File;
32 import java.nio.file.Files;
33 import java.nio.file.NoSuchFileException;
49 public File temporaryFolder;
51 private void assertLines(final List<String> lines, final LineIterator iterator) { in assertLines() argument
53 for (int i = 0; i < lines.size(); i++) { in assertLines()
[all …]
H A DFileSystemUtilsTest.java3 * contributor license agreements. See the NOTICE file distributed with
5 * The ASF licenses this file to You under the Apache License, Version 2.0
6 * (the "License"); you may not use this file except in compliance with
9 * http://www.apache.org/licenses/LICENSE-2.0
25 import java.io.File;
46 public MockFileSystemUtils(final int exitCode, final String lines) { in MockFileSystemUtils() argument
47 this(exitCode, lines, null); in MockFileSystemUtils()
50 public MockFileSystemUtils(final int exitCode, final String lines, final String cmd) { in MockFileSystemUtils() argument
52 this.bytes = lines.getBytes(); in MockFileSystemUtils()
59 assertEquals(cmd, params[params.length - 1]); in openProcess()
[all …]
/aosp_15_r20/external/apache-commons-io/src/test/java/org/apache/commons/io/input/
H A DTailerTest.java3 * contributor license agreements. See the NOTICE file distributed with
5 * The ASF licenses this file to You under the Apache License, Version 2.0
6 * (the "License"); you may not use this file except in compliance with
9 * http://www.apache.org/licenses/LICENSE-2.0
28 import java.io.File;
37 import java.nio.file.Files;
38 import java.nio.file.StandardOpenOption;
39 import java.nio.file.attribute.FileTime;
65 private final File file; field in TailerTest.NonStandardTailable
67 public NonStandardTailable(final File file) { in NonStandardTailable() argument
[all …]
/aosp_15_r20/prebuilts/go/linux-x86/src/go/token/
Dposition.go2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
20 // -----------------------------------------------------------------------------
24 // including the file, line, and column location.
38 // file:line:column valid position with file name
39 // file:line valid position with file name but no column (column == 0)
40 // line:column valid position without file name
41 // line valid position without file name and no column (column == 0)
42 // file invalid position with file name
43 // - invalid position without file name
[all …]
/aosp_15_r20/external/yapf/yapf/yapflib/
H A Dyapf_api.py4 # you may not use this file except in compliance with the License.
7 # http://www.apache.org/licenses/LICENSE-2.0
18 FormatFile(): reformat a file.
23 style_config: (string) Either a style name or a path to a file that contains
26 lines: (list of tuples of integers) A list of tuples of lines, [start, end],
27 that we want to format. The lines are 1-based indexed. It can be used by
28 third-party code (e.g., IDEs) when reformatting a snippet of code rather
29 than a whole file.
59 lines=None, argument
64 """Format a single Python file and return the formatted code.
[all …]
/aosp_15_r20/build/make/tools/
H A Dstub_diff_analyzer.py6 # you may not use this file except in compliance with the License.
9 # http://www.apache.org/licenses/LICENSE-2.0
32 UNIQUE_FIRST = '- '
37 def __init__(self, args) -> None:
52 def get_files(self, dir: str) -> List[str]:
56 Returns a list of file directory strings, which do not include directories but only files.
57 List is sorted in alphabetical order of the file directories.
63 A list of file directory strings within the input directory.
67 FileNotFoundError: An error occurred accessing the non-existing directory
73 if dir[:-2] != "**":
[all …]
/aosp_15_r20/external/python/cpython2/Lib/
Dinspect.py1 # -*- coding: iso-8859-1 -*-
12 isroutine() - check object types
13 getmembers() - get members of an object that satisfy a given condition
15 getfile(), getsourcefile(), getsource() - find an object's source code
16 getdoc(), getcomments() - get documentation on an object
17 getmodule() - determine the module that an object came from
18 getclasstree() - arrange classes so as to represent their hierarchy
20 getargspec(), getargvalues(), getcallargs() - get info about function arguments
21 formatargspec(), formatargvalues() - format an argument spec
22 getouterframes(), getinnerframes() - get info about frames
[all …]
/aosp_15_r20/external/pcre/doc/
H A Dpcre2grep.txt6 pcre2grep - a grep with Perl-compatible regular expressions.
16 other grep commands do, but it uses the PCRE2 regular expression li-
17 brary to support patterns that are compatible with the regular expres-
18 sions of Perl 5. See pcre2syntax(3) for a quick-reference summary of
22 Patterns, whether supplied on the command line or in a separate file,
30 on the command line because they are interpreted by the shell, and in-
35 single pattern to be matched when neither -e nor -f is present. Con-
36 versely, when one or both of these options are used to specify pat-
37 terns, all arguments are treated as path names. At least one of -e, -f,
44 pcre2grep some-pattern file1 - file3
[all …]
H A Dpcre2grep.13 pcre2grep - a grep with Perl-compatible regular expressions.
16 for a quick-reference summary of pattern syntax, or
23 Patterns, whether supplied on the command line or in a separate file, are given
35 pattern to be matched when neither \fB-e\fP nor \fB-f\fP is present.
37 arguments are treated as path names. At least one of \fB-e\fP, \fB-f\fP, or an
44 pcre2grep some-pattern file1 - file3
49 to the standard output, and if there is more than one file, the file name is
51 options that can change how \fBpcre2grep\fP behaves. For example, the \fB-M\fP
53 defines a line boundary is controlled by the \fB-N\fP (\fB--newline\fP) option.
54 The \fB-h\fP and \fB-H\fP options control whether or not file names are shown,
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/gpio-cdev/src/
Dlib.rs1 // Copyright (c) 2018 The rust-gpio-cdev Project Developers.
3 // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
4 // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
5 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
6 // option. This file may not be copied, modified, or distributed
9 //! The `gpio-cdev` crate provides access to the [GPIO character device
10 //! ABI](https://www.kernel.org/doc/Documentation/ABI/testing/gpio-cdev). This API,
31 //! // Lines are offset within gpiochip0; see docs for more info on chips/lines
32 //! fn mirror_gpio(inputline: u32, outputline: u32) -> Result<(), gpio_cdev::Error> {
36 //! let output_handle = output.request(LineRequestFlags::OUTPUT, 0, "mirror-gpio")?;
[all …]
/aosp_15_r20/external/python/cpython3/Lib/test/
Dtest_nntplib.py29 """Non-existent exception class when we lack SSL support."""
33 # - test the `file` arg to more commands
34 # - test error conditions
35 # - test auth and `usenetrc`
47 resp, lines = self.server.help()
49 for line in lines:
73 dt = datetime.date.today() - datetime.timedelta(days=7)
127 {"subject", "from", "date", "message-id",
128 "references", ":bytes", ":lines"}
135 resp, lines = self.server.xover(last - 5, last)
[all …]
/aosp_15_r20/build/soong/scripts/hiddenapi/
H A Danalyze_bcpf.py1 #!/usr/bin/env -S python -u
6 # you may not use this file except in compliance with the License.
9 # http://www.apache.org/licenses/LICENSE-2.0
35 _STUB_FLAGS_FILE = "out/soong/hiddenapi/hiddenapi-stub-flags.txt"
37 _FLAGS_FILE = "out/soong/hiddenapi/hiddenapi-flags.csv"
48 def lines(self): member in BuildOperation
49 """Return an iterator over the lines output by the build operation.
51 The lines have had any trailing white space, including the newline
71 """Provides access to the generated module-info.json file.
73 This is used to find the location of the file within which specific modules
[all …]
/aosp_15_r20/external/python/cpython2/Tools/scripts/
Dreindent.py5 """reindent [-d][-r][-v] [ path ... ]
7 -d (--dryrun) Dry run. Analyze, but don't make any changes to, files.
8 -r (--recurse) Recurse. Search for all .py files in subdirectories too.
9 -n (--nobackup) No backup. Does not make a ".bak" file before reindenting.
10 -v (--verbose) Verbose. Print informative msgs; else no output.
11 -h (--help) Help. Print this usage information and exit.
13 Change Python (.py) files to use 4-space indents and no hard tab characters.
14 Also trim excess spaces and tabs from ends of lines, and remove empty lines
18 reading a single source file from standard input and writing the transformed
19 source to standard output. In this case, the -d, -r and -v flags are
[all …]
/aosp_15_r20/external/python/cpython3/Lib/
Dnntplib.py2 - RFC 977: Network News Transfer Protocol
3 - RFC 2980: Common NNTP Extensions
4 - RFC 3977: Network News Transfer Protocol (version 2)
13 >>> resp, subs = s.xhdr('subject', '{0}-{1}'.format(first, last))
20 To post an article from a file:
21 >>> f = open(filename, 'rb') # file containing article, including header
34 # - all commands are encoded as UTF-8 data (using the "surrogateescape"
36 # - all responses are decoded as UTF-8 data (using the "surrogateescape"
38 # - the `file` argument to various methods is keyword-only
40 # - NNTP.date() returns a datetime object
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/lib/python3.11/
Dnntplib.py2 - RFC 977: Network News Transfer Protocol
3 - RFC 2980: Common NNTP Extensions
4 - RFC 3977: Network News Transfer Protocol (version 2)
13 >>> resp, subs = s.xhdr('subject', '{0}-{1}'.format(first, last))
20 To post an article from a file:
21 >>> f = open(filename, 'rb') # file containing article, including header
34 # - all commands are encoded as UTF-8 data (using the "surrogateescape"
36 # - all responses are decoded as UTF-8 data (using the "surrogateescape"
38 # - the `file` argument to various methods is keyword-only
40 # - NNTP.date() returns a datetime object
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/lib/python3.11/
Dnntplib.py2 - RFC 977: Network News Transfer Protocol
3 - RFC 2980: Common NNTP Extensions
4 - RFC 3977: Network News Transfer Protocol (version 2)
13 >>> resp, subs = s.xhdr('subject', '{0}-{1}'.format(first, last))
20 To post an article from a file:
21 >>> f = open(filename, 'rb') # file containing article, including header
34 # - all commands are encoded as UTF-8 data (using the "surrogateescape"
36 # - all responses are decoded as UTF-8 data (using the "surrogateescape"
38 # - the `file` argument to various methods is keyword-only
40 # - NNTP.date() returns a datetime object
[all …]
/aosp_15_r20/prebuilts/build-tools/common/py3-stdlib/
H A Dnntplib.py2 - RFC 977: Network News Transfer Protocol
3 - RFC 2980: Common NNTP Extensions
4 - RFC 3977: Network News Transfer Protocol (version 2)
13 >>> resp, subs = s.xhdr('subject', '{0}-{1}'.format(first, last))
20 To post an article from a file:
21 >>> f = open(filename, 'rb') # file containing article, including header
34 # - all commands are encoded as UTF-8 data (using the "surrogateescape"
36 # - all responses are decoded as UTF-8 data (using the "surrogateescape"
38 # - the `file` argument to various methods is keyword-only
40 # - NNTP.date() returns a datetime object
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/lib/python3.11/
Dnntplib.py2 - RFC 977: Network News Transfer Protocol
3 - RFC 2980: Common NNTP Extensions
4 - RFC 3977: Network News Transfer Protocol (version 2)
13 >>> resp, subs = s.xhdr('subject', '{0}-{1}'.format(first, last))
20 To post an article from a file:
21 >>> f = open(filename, 'rb') # file containing article, including header
34 # - all commands are encoded as UTF-8 data (using the "surrogateescape"
36 # - all responses are decoded as UTF-8 data (using the "surrogateescape"
38 # - the `file` argument to various methods is keyword-only
40 # - NNTP.date() returns a datetime object
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/lib/python3.11/
Dnntplib.py2 - RFC 977: Network News Transfer Protocol
3 - RFC 2980: Common NNTP Extensions
4 - RFC 3977: Network News Transfer Protocol (version 2)
13 >>> resp, subs = s.xhdr('subject', '{0}-{1}'.format(first, last))
20 To post an article from a file:
21 >>> f = open(filename, 'rb') # file containing article, including header
34 # - all commands are encoded as UTF-8 data (using the "surrogateescape"
36 # - all responses are decoded as UTF-8 data (using the "surrogateescape"
38 # - the `file` argument to various methods is keyword-only
40 # - NNTP.date() returns a datetime object
[all …]
/aosp_15_r20/external/autotest/utils/
H A Dreindent.py5 """reindent [-d][-r][-v] [ path ... ]
7 -d (--dryrun) Dry run. Analyze, but don't make any changes to, files.
8 -r (--recurse) Recurse. Search for all .py files in subdirectories too.
9 -n (--nobackup) No backup. Does not make a ".bak" file before reindenting.
10 -v (--verbose) Verbose. Print informative msgs; else no output.
11 -h (--help) Help. Print this usage information and exit.
13 Change Python (.py) files to use 4-space indents and no hard tab characters.
14 Also trim excess spaces and tabs from ends of lines, and remove empty lines
18 reading a single source file from standard input and writing the transformed
19 source to standard output. In this case, the -d, -r and -v flags are
[all …]
/aosp_15_r20/external/python/cpython3/Tools/scripts/
Dreindent.py5 """reindent [-d][-r][-v] [ path ... ]
7 -d (--dryrun) Dry run. Analyze, but don't make any changes to, files.
8 -r (--recurse) Recurse. Search for all .py files in subdirectories too.
9 -n (--nobackup) No backup. Does not make a ".bak" file before reindenting.
10 -v (--verbose) Verbose. Print informative msgs; else no output.
11 (--newline) Newline. Specify the newline character to use (CRLF, LF).
12 Default is the same as the original file.
13 -h (--help) Help. Print this usage information and exit.
15 Change Python (.py) files to use 4-space indents and no hard tab characters.
16 Also trim excess spaces and tabs from ends of lines, and remove empty lines
[all …]
Dfreeze_modules.py39 # In cases where the frozenid is duplicated, the first one is re-used.
46 # on a builtin zip file instead of a filesystem.
49 ('stdlib - startup, without site (python -S)', [
54 # (See https://github.com/python/cpython/pull/28398#pullrequestreview-756856469.)
58 ('stdlib - startup, with site', [
71 ('runpy - run module with -m', [
93 # platform-specific helpers
152 "frozenid" and "modname" must be valid module names (dot-separated
162 <encodings.*> - also freeze all direct submodules
163 <encodings.**.*> - also freeze the full submodule tree
[all …]
/aosp_15_r20/external/cronet/third_party/boringssl/src/util/
H A Ddoc.go5 // doc expects to be given the path to a JSON file via the --config option.
7 // header file locations and generates HTML files for each in the current
26 // Config describes the structure of the config JSON file.
28 // BaseDirectory is a path to which other paths in the file are
40 // HeaderFile is the internal representation of a header file.
42 // Name is the basename of the header file (e.g. "ex_data.html").
44 // Preamble contains a comment for the file as a whole. Each string
56 // Anchor, if non-empty, is the URL fragment to use in anchor tags.
72 // Anchor, if non-empty, is the URL fragment to use in anchor tags.
114 func extractCommentLines(lines []string, lineNo int) (comment []string, rest []string, restLineNo i…
[all …]
/aosp_15_r20/external/boringssl/src/util/
H A Ddoc.go5 // doc expects to be given the path to a JSON file via the --config option.
7 // header file locations and generates HTML files for each in the current
26 // Config describes the structure of the config JSON file.
28 // BaseDirectory is a path to which other paths in the file are
40 // HeaderFile is the internal representation of a header file.
42 // Name is the basename of the header file (e.g. "ex_data.html").
44 // Preamble contains a comment for the file as a whole. Each string
56 // Anchor, if non-empty, is the URL fragment to use in anchor tags.
72 // Anchor, if non-empty, is the URL fragment to use in anchor tags.
114 func extractCommentLines(lines []string, lineNo int) (comment []string, rest []string, restLineNo i…
[all …]

12345678910>>...65