Home
last modified time | relevance | path

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

12345678910>>...47

/external/google-breakpad/src/common/
Ddwarf_line_to_module_unittest.cc30 // Original author: Jim Blandy <jimb@mozilla.com> <jimb@red-bean.com>
47 vector<Module::Line> lines; in TEST() local
48 DwarfLineToModule h(&m, "/", &lines); in TEST()
54 vector<Module::File *> files; in TEST()
57 EXPECT_STREQ("/file1", files[0]->name.c_str()); in TEST()
59 EXPECT_EQ(1U, lines.size()); in TEST()
60 EXPECT_EQ(0x6fd126fbf74f2680ULL, lines[0].address); in TEST()
61 EXPECT_EQ(0x63c9a14cf556712bULL, lines[0].size); in TEST()
62 EXPECT_TRUE(lines[0].file == files[0]); in TEST()
63 EXPECT_EQ(0x4c090cbf, lines[0].number); in TEST()
[all …]
/external/llvm-project/llvm/test/tools/llvm-readobj/ELF/
Dfile-header-os-abi.test1 ## This is a test to test how the OS/ABI identification field (EI_OSABI) of an ELF file header is d…
4 # RUN: yaml2obj %s -DOSABI=ELFOSABI_NONE -o %t.osabi.none
5 # RUN: llvm-readobj --file-headers %t.osabi.none | FileCheck %s --match-full-lines --check-prefix=O…
6 # RUN: llvm-readelf --file-headers %t.osabi.none | FileCheck %s --match-full-lines --check-prefix=O…
8 # OSABI-NONE-LLVM: OS/ABI: SystemV (0x0)
9 # OSABI-NONE-GNU: OS/ABI: UNIX - System V
11 --- !ELF
20 # RUN: yaml2obj %s -DOSABI=ELFOSABI_HPUX -o %t.osabi.hpux
21 # RUN: llvm-readobj --file-headers %t.osabi.hpux | FileCheck %s --match-full-lines --check-prefix=O…
22 # RUN: llvm-readelf --file-headers %t.osabi.hpux | FileCheck %s --match-full-lines --check-prefix=O…
[all …]
/external/python/cpython3/Tools/msi/
Dcsv_to_wxs.py2 Processes a CSV file containing a list of files into a WXS file with
3 components for each listed file.
6 source of file, target for file, group name
9 py txt_to_wxs.py [path to file list .csv] [path to destination .wxs]
13 Directory entries in the WXS file correctly, as it operates on files.
29 '-': '_',
35 r'[^A-Za-z0-9_.]',
47 assert len(files) == len(set(make_id(f[1]) for f in files)), "Duplicate file IDs exist"
64 lines = [
69 lines.append(' <DirectoryRef Id="{}">'.format(dir_parent))
[all …]
/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 …]
/external/autotest/utils/
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 …]
/external/python/cpython3/Lib/distutils/
Dtext_file.py5 lines, and joining lines with backslashes."""
11 """Provides a file-like object that takes care of all the things you
12 commonly want to do when processing a text file that has some
13 line-by-line syntax: strip comments (as long as "#" is your
14 comment character), skip blank lines, join adjacent lines by
21 spans multiple physical lines. Also provides 'unreadline()' for
22 implementing line-at-a-time lookahead.
26 TextFile (filename=None, file=None, **options)
28 It bombs (RuntimeError) if both 'filename' and 'file' are None;
29 'filename' should be a string, and 'file' a file object (or
[all …]
/external/python/cpython2/Lib/distutils/
Dtext_file.py5 lines, and joining lines with backslashes."""
14 """Provides a file-like object that takes care of all the things you
15 commonly want to do when processing a text file that has some
16 line-by-line syntax: strip comments (as long as "#" is your
17 comment character), skip blank lines, join adjacent lines by
24 spans multiple physical lines. Also provides 'unreadline()' for
25 implementing line-at-a-time lookahead.
29 TextFile (filename=None, file=None, **options)
31 It bombs (RuntimeError) if both 'filename' and 'file' are None;
32 'filename' should be a string, and 'file' a file object (or
[all …]
/external/skqp/infra/bots/buildstats/
Dbuildstats_flutter.py2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
6 """Writes a Perf-formated json file with stats about Skia's size in flutter."""
16 # This should be the stripped file from
44 print 'Report by file, then by symbol with ellided/combined templates'
45 lines = subprocess.check_output([bloaty_path, stripped_file,
46 '-d', 'compileunits,symbols', '-s', 'file',
47 '-n', '0', '--tsv', '--demangle=short',
48 '--debug-file=%s' % symbols_file])
49 grand_total = print_skia_lines_file_symbol(lines)
[all …]
/external/skia/infra/bots/buildstats/
Dbuildstats_flutter.py2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
6 """Writes a Perf-formated json file with stats about Skia's size in flutter."""
17 # This should be the stripped file from
47 print('Report by file, then by symbol with ellided/combined templates')
48 lines = subprocess.check_output([bloaty_path, stripped_file,
49 '-d', 'compileunits,symbols', '-s', 'file',
50 '-n', '0', '--tsv', '--demangle=short',
51 '--debug-file=%s' % symbols_file])
52 grand_total = print_skia_lines_file_symbol(lines)
[all …]
/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 …]
/external/llvm-project/llvm/test/FileCheck/
Ddump-input-enable.txt1 ;--------------------------------------------------
2 ; Create the check file, good input, and bad input.
4 ; For both good and bad input, make sure the -v trace has at least one remark
5 ; so we can check how trace suppression is affected by -dump-input.
6 ;--------------------------------------------------
15 ; RUN: echo 'CHECK-NEXT: world' >> %t.check
17 ;--------------------------------------------------
18 ; Check -dump-input=<bad value>.
19 ;--------------------------------------------------
22 ; RUN: not FileCheck -input-file %t.good %t.check -check-prefix=CHECK \
[all …]
/external/python/cpython2/Tools/bgen/bgen/
DbgenOutput.py6 SetOutputFileName() to change the output file.
11 def SetOutputFile(file = None, needclose = 0): argument
12 """Call this with an open file object to make it the output file.
14 Call it without arguments to close the current file (if necessary)
16 If the second argument is true, the new file will be explicitly closed
25 if file is None:
27 file = sys.stdout
28 _File = file
29 _NeedClose = file and needclose
32 """Call this with a filename to make it the output file.
[all …]
/external/llvm-project/clang/tools/clang-format/
Dclang-format.py1 # This file is a minimal clang-format vim-integration. To install:
2 # - Change 'binary' if clang-format is not on the path (see below).
3 # - Add to your .vimrc:
6 # map <C-I> :pyf <path-to-this-file>/clang-format.py<cr>
7 # imap <C-I> <c-o>:pyf <path-to-this-file>/clang-format.py<cr>
9 # map <C-I> :py3f <path-to-this-file>/clang-format.py<cr>
10 # imap <C-I> <c-o>:py3f <path-to-this-file>/clang-format.py<cr>
13 # The if-elseif-endif conditional should pick either the python3 or python2
16 # The first mapping enables clang-format for NORMAL and VISUAL mode, the second
17 # mapping adds support for INSERT mode. Change "C-I" to another binding if you
[all …]
/external/jdiff/src/jdiff/
DDiffMyers.java8 edit script. The objects compared are traditionally lines
60 sibling file. */
65 of changes, the algorithm is linear in the file size. */
89 doing a breadth-first search through the space of edit-sequence.
94 The diagonal number equals the number of inserted lines minus the number
95 of deleted lines (counting only lines before the midpoint).
97 lines inserted or deleted (counting only lines before the midpoint).
99 This function assumes that the first lines of the specified portions
100 of the two files do not match, and likewise that the last lines do not
101 match. The caller must trim matching lines from the beginning and end
[all …]
/external/yapf/yapf/yapflib/
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.
57 lines=None, argument
62 """Format a single Python file and return the formatted code.
[all …]
/external/llvm-project/lldb/test/API/tools/lldb-vscode/breakpoint/
DTestVSCode_setBreakpoints.py2 Test lldb-vscode setBreakpoints request
23 self.main_basename = 'main-copy.cpp'
32 other_basename = 'other-copy.c'
95 '''Tests setting and clearing source file and line breakpoints.
97 is no "clearBreakpoints" packet. Source file and line breakpoints
98 are set by sending a "setBreakpoints" packet with a source file
99 specified and zero or more source lines. If breakpoints have been
100 set in the source file before, any existing breakpoints must remain
110 lines = [first_line, third_line, second_line]
112 # Visual Studio Code Debug Adaptors have no way to specify the file
[all …]
/external/clang/tools/clang-format/
Dclang-format.py1 # This file is a minimal clang-format vim-integration. To install:
2 # - Change 'binary' if clang-format is not on the path (see below).
3 # - Add to your .vimrc:
5 # map <C-I> :pyf <path-to-this-file>/clang-format.py<cr>
6 # imap <C-I> <c-o>:pyf <path-to-this-file>/clang-format.py<cr>
8 # The first line enables clang-format for NORMAL and VISUAL mode, the second
9 # line adds support for INSERT mode. Change "C-I" to another binding if you
10 # need clang-format on a different key (C-I stands for Ctrl+i).
12 # With this integration you can press the bound key and clang-format will
17 # You can also pass in the variable "l:lines" to choose the range for
[all …]
/external/perfetto/gn/
Dwrite_buildflag_header.py5 # you may not use this file except in compliance with the License.
8 # http://www.apache.org/licenses/LICENSE-2.0
19 # The parameters are passed in a response file so we don't have to worry
20 # about command line lengths. The name of the response file is passed on the
23 # The format of the response file is:
24 # [--flags <list of one or more flag values>]
35 * you may not use this file except in compliance with the License.
38 * http://www.apache.org/licenses/LICENSE-2.0
52 parser.add_argument('--rsp', help='Input response file containing the flags.')
53 parser.add_argument('--out', help='Output path of the generated header file.')
[all …]
/external/cldr/tools/java/org/unicode/cldr/util/
DTempPrintWriter.java4 import java.io.File;
16 * Simple utility to create a temporary file, write into it, then close it.
17 * If the file differs from the old file (except for date), then it is deleted.
18 * Otherwise it replaces the target file. Moved from UnicodeTools.
29 return new TempPrintWriter(new File(filename)); in openUTF8Writer()
33 return new TempPrintWriter(new File(dir, filename)); in openUTF8Writer()
37 this(new File(dir, filename)); in TempPrintWriter()
40 public TempPrintWriter(File file) { in TempPrintWriter() argument
42 final String parentFile = file.getParent(); in TempPrintWriter()
43 this.filename = file.toString(); in TempPrintWriter()
[all …]
/external/boringssl/src/util/
Ddoc.go3 // doc expects to be given the path to a JSON file via the --config option.
5 // header file locations and generates HTML files for each in the current
24 // Config describes the structure of the config JSON file.
26 // BaseDirectory is a path to which other paths in the file are
38 // HeaderFile is the internal representation of a header file.
40 // Name is the basename of the header file (e.g. "ex_data.html").
42 // Preamble contains a comment for the file as a whole. Each string
54 // Anchor, if non-empty, is the URL fragment to use in anchor tags.
70 // Anchor, if non-empty, is the URL fragment to use in anchor tags.
98 func extractComment(lines []string, lineNo int) (comment []string, rest []string, restLineNo int, e…
[all …]
/external/autotest/client/site_tests/platform_PrinterPpds/
Dlog_reader.py2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
10 # A path of the log file
12 # Time margin as a number of seconds. It is used during parsing of the log file.
16 # Max time in seconds to wait for CUPS logs to appear in the log file.
20 _COMPONENT_FILTERS = ['rastertostar', 'rastertostarlm', 'epson-escpr-wrapper']
26 and extracting their results and pipelines by parsing the main log file. It
35 The function reads given number of lines from the end of the log file.
37 whole file was read, count of returned lines may be smaller than
38 requested number. Always at least one line is returned; if the file has
[all …]
Dhelpers.py2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
14 Starting from given position, it parses from the document complete lines
17 are no more '\n' characters in the file.
22 @returns a pair (lines, position), where the first element is a list of
23 parsed lines (with '\n' character at the end) and the second element
28 lines = []
34 lines.append(document[position:position_next_line])
36 return lines, position
56 PJL_MARKER = b'\x1B%-12345X'
[all …]
/external/pcre/dist2/doc/
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
47 pattern is copied to the standard output, and if there is more than one file,
48 the file name is output at the start of each line, followed by a colon.
50 particular, the \fB-M\fP option makes it possible to search for strings that
52 \fB-N\fP (\fB--newline\fP) option.
[all …]
/external/harfbuzz_ng/test/shaping/
Dhb_test_tools.py12 diff_symbols = "-+=*&^%$#@!~/"
22 # workarounds for Python 2 "narrow" builds with UCS2-only support.
33 File "<stdin>", line 1, in ?
41 File "<stdin>", line 1, in ?
50 return escape_str.decode("unicode-escape")
60 yield 0x10000 + (high_surrogate - 0xD800) * 0x400 + (cp - 0xDC00)
133 if "--format" in argv:
134 argv.remove ("--format")
136 if "--format=ansi" in argv:
137 argv.remove ("--format=ansi")
[all …]
/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 …]

12345678910>>...47