Home
last modified time | relevance | path

Searched +full:lines +full:- +full:and +full:- +full:columns (Results 1 – 25 of 744) sorted by relevance

12345678910>>...30

/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/bench/
Dwrite.py2 # -*- coding: ascii -*-
12 Copyright 2014 - 2015
21 http://www.apache.org/licenses/LICENSE-2.0
26 See the License for the specific language governing permissions and
31 python -mbench.write [-p plain] [-t table] <pickled
33 -p plain Plain file to write to (like docs/BENCHMARKS).
34 -t table Table file to write to (like docs/_userdoc/benchmark.txt).
54 return v.decode('latin-1')
59 return v.encode('utf-8')
81 cmp = lambda a, b: (a > b) - (a < b)
[all …]
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/bench/
Dwrite.py2 # -*- coding: ascii -*-
21 http://www.apache.org/licenses/LICENSE-2.0
26 See the License for the specific language governing permissions and
31 python -mbench.write [-p plain] [-t table] <pickled
33 -p plain Plain file to write to (like docs/BENCHMARKS).
34 -t table Table file to write to (like docs/_userdoc/benchmark.txt).
54 return v.decode('latin-1')
59 return v.encode('utf-8')
81 cmp = lambda a, b: (a > b) - (a < b)
101 namesub = _re.compile(r'(?:-\d+(?:\.\d+)*)?\.css$').sub
[all …]
/external/ktfmt/core/src/main/java/com/facebook/ktfmt/kdoc/
DTable.kt8 * http://www.apache.org/licenses/LICENSE-2.0
13 * See the License for the specific language governing permissions and
22 private val columns: Int, constant in com.facebook.ktfmt.kdoc.Table
33 * Format the table. Note that table rows cannot be broken into multiple lines in Markdown tables,
34 * so the [maxWidth] here is used to decide whether to add padding around the table only, and it's
39 2 + widths.sumOf { it + 2 } // +2: "| " in each cell and final " |" on the right in format()
42 val lines = mutableListOf<String>() in format() constant
56 "%-${width}s", in format()
57 String.format("%${cell.length + (width - cell.length) / 2}s", cell)) in format()
61 String.format("%-${width}s", cell) in format()
[all …]
/external/angle/tools/flex-bison/third_party/skeletons/
Dlocation.cc3 #Copyright(C) 2002 - 2015, 2018 - 2021 Free Software Foundation, Inc.
5 #This program is free software : you can redistribute it and / or modify
19 [2002-2015, 2018-2021])
22 #-- -- -- -- -- -- -- --
30 # -- -- -- -- -- -- -- -- -- -
35 # -- -- -- -- -- -- -- --
45 … m4_substr(m4_defn([b4_location_path]), 1, m4_eval(m4_len(m4_defn([b4_location_path])) - 2)))
49 # -- -- -- -- -- -- -- --
58 # -- -- -- -- -- -- -- -- --
59 # Define the position and location classes.
[all …]
/external/rust/crates/textwrap/src/
Dlib.rs1 //! The textwrap library provides functions for word wrapping and
6 //! Wrapping text can be very useful in command-line programs where
20 //! The [`wrap`] function returns the individual lines, use [`fill`]
21 //! is you want the lines joined with `'\n'` to form a `String`.
36 //! "library for wrap-",
41 //! See also the [`unfill`] and [`refill`] functions which allow you to
47 //! the procedural macros from the [textwrap-macros] crate.
52 //! know when to break lines. This library will by default measure the
54 //! The `unicode-width` Cargo feature controls this.
56 //! This is important for non-ASCII text. ASCII characters such as `a`
[all …]
/external/autotest/server/site_tests/cellular_StaleModemReboot/
Dcellular_StaleModemReboot.py3 # Use of this source code is governed by a BSD-style license that can be
19 MM_MODEM_STATE_FAILED = '-1'
75 """Takes the numerical modem state and returns associated state name.
120 """Formats the modem status data and inserts it into a dictionary.
133 lines = modem_status.splitlines()
135 for item in lines:
136 columns = item.split(':')
137 columns = [x.strip() for x in columns]
138 if len(columns) > 1:
139 modem_status_dict[columns[0]] = columns[1]
[all …]
/external/autotest/client/common_lib/cros/cfm/
Dcras_node_collector.py34 @param columns_count number of columns to create
38 # 2) Split on whitespace, create nof_columns columns
40 return columns_str.split(None, columns_count-1)
43 cmd = ("cras_test_client --dump_server_info "
45 lines = self._host.run_output(cmd).split('\n')
46 # Ignore the first two lines ("Input Devices" and headers) and the
48 lines = lines[2:-1]
50 for line in lines]
54 cmd = ("cras_test_client --dump_server_info "
56 lines = self._host.run_output(cmd).split('\n')
[all …]
/external/libcups/cgi-bin/
Dmakedocset.c4 * Copyright 2007-2012 by Apple Inc.
5 * Copyright 1997-2007 by Easy Software Products.
18 #include "cgi-private.h"
52 * 'main()' - Test the help index code.
55 int /* O - Exit status */
56 main(int argc, /* I - Number of command-line args */ in main()
57 char *argv[]) /* I - Command-line arguments */ in main()
110 cupsFilePuts(tokens, "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"); in main()
151 * 'compare_html()' - Compare the titles of two HTML files.
154 static int /* O - Result of comparison */
[all …]
/external/python/absl-py/absl/flags/
D_helpers.py7 # http://www.apache.org/licenses/LICENSE-2.0
12 # See the License for the specific language governing permissions and
28 # Importing termios will fail on non-unix platforms.
42 # and the simple algorithm used here is geared towards correcting word
45 # For manual testing, consider "<command> --list" which produced a large number
51 # document. (See http://www.w3.org/TR/REC-xml/#charsets or
54 u'[\x00-\x08\x0b\x0c\x0e-\x1f\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]')
76 """Module object and name.
79 - module: object, module object.
80 - module_name: str, module name.
[all …]
/external/python/cpython2/Lib/
Dtextwrap.py1 """Text wrapping and filling.
4 # Copyright (C) 1999-2001 Gregory P. Ward.
22 # 2.3, e.g. Optik and Docutils) by uncommenting the block of code below.
30 # Hardcode the recognized whitespace characters to the US-ASCII
32 # ISO-8859-1, 0xa0 is non-breaking whitespace, so in certain locales
36 # *non-breaking* space), 2) possibly cause problems with Unicode,
43 the wrap() and fill() methods; the other methods are just there for
50 the maximum width of wrapped lines (unless break_long_words
56 string that will be prepended to all lines save the first
64 after tab expansion. Note that if expand_tabs is false and
[all …]
/external/perfetto/ui/src/frontend/
Dclipboard.ts7 // http://www.apache.org/licenses/LICENSE-2.0
12 // See the License for the specific language governing permissions and
37 const lines: string[][] = []; constant
38 lines.push(resp.columns);
41 for (const col of resp.columns) {
45 lines.push(line);
47 copyToClipboard(lines.map((line) => line.join('\t')).join('\n'));
/external/kernel-headers/original/uapi/linux/
Dvt.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
7 * These constants are also useful for user-level apps (e.g., VC
11 #define MAX_NR_CONSOLES 63 /* serial lines start at 64 */
13 consoles 16 and higher (since it returns a short) */
15 /* 0x56 is 'V', to avoid collision with termios and kd */
48 unsigned short v_cols; /* number of columns */
49 unsigned short v_scrollsize; /* number of lines of scrollback */
55 unsigned short v_cols; /* number of columns */
58 unsigned short v_vcol; /* number of pixel columns on screen */
59 unsigned short v_ccol; /* number of pixel columns per character */
[all …]
/external/python/cpython3/Lib/
Dtextwrap.py1 """Text wrapping and filling.
4 # Copyright (C) 1999-2001 Gregory P. Ward.
12 # Hardcode the recognized whitespace characters to the US-ASCII
14 # some Unicode spaces (like \u00a0) are non-breaking whitespaces.
20 the wrap() and fill() methods; the other methods are just there for
27 the maximum width of wrapped lines (unless break_long_words
33 string that will be prepended to all lines save the first
44 after tab expansion. Note that if expand_tabs is false and
48 Ensure that sentence-ending punctuation is always followed
53 be broken, and some lines might be longer than 'width'.
[all …]
/external/curl/docs/
DCODE_STYLE.md1 <!--
4 SPDX-License-Identifier: curl
5 -->
11 single code base. Easy-to-read is an important property of code and helps
12 making it easier to review when new things are added and it helps debugging
17 Our C code has a few style rules. Most of them are verified and upheld by the
19 by the build system when built after `./configure --enable-debug` has been
23 need to copy the style already used in the source code and there are no
26 We also work hard on writing code that are warning-free on all the major
27 platforms and in general on as many platforms as possible. Code that obviously
[all …]
/external/zucchini/aosp/include/components/zucchini/
Dtype_ztf.h2 // Use of this source code is governed by a BSD-style license that can be
17 // A exclusive upper bound on number of lines and/or columns. Throughout the ZTF
18 // code a dimension (dim) refers to a block of 1-3 digits which contain a line
23 kMinus = '-',
27 // Lines and columns are 1-based to follow the convention of most modern text
28 // editing software. |line| and |col| should be positive, but int16_t is used to
40 constexpr DeltaLineCol operator-(const LineCol& lhs, const LineCol& rhs) {
41 return DeltaLineCol{static_cast<dim_t>(lhs.line - rhs.line),
42 static_cast<dim_t>(lhs.col - rhs.col)};
/external/zucchini/
Dtype_ztf.h2 // Use of this source code is governed by a BSD-style license that can be
17 // A exclusive upper bound on number of lines and/or columns. Throughout the ZTF
18 // code a dimension (dim) refers to a block of 1-3 digits which contain a line
23 kMinus = '-',
27 // Lines and columns are 1-based to follow the convention of most modern text
28 // editing software. |line| and |col| should be positive, but int16_t is used to
40 constexpr DeltaLineCol operator-(const LineCol& lhs, const LineCol& rhs) {
41 return DeltaLineCol{static_cast<dim_t>(lhs.line - rhs.line),
42 static_cast<dim_t>(lhs.col - rhs.col)};
/external/tensorflow/tensorflow/python/data/experimental/ops/
Dreaders.py7 # http://www.apache.org/licenses/LICENSE-2.0
12 # See the License for the specific language governing permissions and
102 if validation_fn(str_val) and (prev_type is None or
118 next(rdr) # Skip header lines
141 if num_rows_for_inference is not None and i >= num_rows_for_inference:
195 f" and <= {num_cols}, which is the number of columns.")
197 # Otherwise, check that it's a valid column name and convert to the
202 f"columns: {names_to_indices.keys()}.")
206 # Sort and ensure there are no duplicates
211 sorted_names[:-1], sorted_names[1:]) if a == b])
[all …]
/external/python/apitools/samples/fusiontables_sample/fusiontables_v1/
Dfusiontables_v1_messages.py5 # NOTE: This file is autogenerated and should not be edited by hand.
15 r"""Specifies the minimum and maximum values, the color, opacity, icon and
38 r"""Specifies the id, name and type of a column in a table.
50 data model (subject,predicate,object) See http://www.w3.org/TR/2014/REC-
51 rdf11-concepts-20140225/#data-model
81 r"""Represents a list of columns in a table.
84 items: List of all requested columns.
85 kind: Type name: a list of all columns.
88 totalItems: Total number of columns for the table.
141 maxResults: Maximum number of columns to return. Optional. Default is 5.
[all …]
/external/python/cpython3/Tools/c-analyzer/c_common/
Dtables.py8 EMPTY = '-'
27 empty = parse_markers(markers.pop('empty', ('-',)))
89 """Yield each row of the given ???-separated (e.g. tab) file."""
101 lines = strutil._iter_significant_lines(infile)
107 actualheader = next(lines).strip()
114 for row in _get_reader(lines, delimiter=sep or '\t'):
125 """Write each of the rows to the given ???-separated (e.g. tab) file."""
168 if header and cur_file != filename:
176 elif rawsep and sep not in line:
180 if strict and not ncols:
[all …]
/external/bcc/man/man8/
Dklockstat.81 .TH klockstat 8 "2019-10-22" "USER COMMANDS"
3 klockstat \- Traces kernel mutex lock events and display locks statistics. Uses Linux eBPF/bcc.
5 .B klockstat [\-h] [\-i] [\-n] [\-s] [\-c] [\-S FIELDS] [\-p] [\-t] [\-d DURATION]
7 klockstat traces kernel mutex lock events and display locks statistics
31 First portion of lines show the lock acquiring data, showing the
34 'Caller' - symbol acquiring the mutex
35 'Average Spin' - average time to acquire the mutex
36 'Count' - number of times mutex was acquired
37 'Max spin' - maximum time to acquire the mutex
38 'Total spin' - total time spent in acquiring the mutex
[all …]
/external/deqp/
D.clang-format5 AccessModifierOffset: -4
10 # This will align the assignment operators of consecutive lines.
22 # Align operands when the expression is broken in multiple lines.
69 # Always break constructor initializers before commas and align the commas with the colon.
75 …t describes comments with special meaning, which should not be split into lines or otherwise chang…
98 # The number of columns to use for indentation.
104 # If true, empty lines at the start of blocks are kept.
110 # The maximum number of consecutive empty lines to keep.
134 # Pointer and reference alignment style. Possible values: Left, Right, Middle.
152 # The number of spaces before trailing line comments (// - comments).
[all …]
/external/tensorflow/tensorflow/python/debug/cli/
Ddebugger_cli_common_test.py7 # http://www.apache.org/licenses/LICENSE-2.0
12 # See the License for the specific language governing permissions and
54 self.assertEqual(2, len(screen_output.lines))
63 with self.assertRaisesRegex(ValueError, "Unexpected type in lines"):
74 self.assertEqual(1, len(screen_output.lines))
85 self.assertEqual(2, len(rtl.lines))
103 self.assertEqual(2, len(screen_output.lines))
113 self.assertEqual(2, len(screen_output.lines))
115 screen_output.lines.append("Sugar is sweet")
116 self.assertEqual(3, len(screen_output.lines))
[all …]
/external/toolchain-utils/crosperf/
Dresults_report.py1 # -*- coding: utf-8 -*-
3 # Use of this source code is governed by a BSD-style license that can be
43 """Parse the chromeos_image string for the image and version.
46 1: <path-to-chroot>/src/build/images/<board>/<ChromeOS-version>.<datetime>/ \
48 2: <path-to-chroot>/chroot/tmp/<buildbot-build>/<ChromeOS-version>/ \
52 json archive (without the .datatime bit in the first case); and also
64 # Find the Chromeos Version, e.g. R45-2345.0.0.....
66 # <path>/<board-trybot-release>/<chromeos-version>/chromiumos_test_image.bin"
68 full_version = chromeos_image.split("/")[-2]
69 # Strip the date and time off of local builds (which have the format
[all …]
/external/clang/lib/Format/
DBreakableToken.h1 //===--- BreakableToken.h - Format C++ code -------------------------------===//
8 //===----------------------------------------------------------------------===//
11 /// \brief Declares BreakableToken, BreakableStringLiteral, and
12 /// BreakableBlockComment classes, that contain token type-specific logic to
13 /// break long lines in tokens.
15 //===----------------------------------------------------------------------===//
36 /// \brief Contains starting character index and length of split.
41 /// \brief Returns the number of lines in this token in the original code.
44 /// \brief Returns the number of columns required to format the piece of line
70 /// \brief Replaces the whitespace between \p LineIndex-1 and \p LineIndex.
[all …]
/external/python/cpython3/Tools/c-analyzer/cpython/
D_capi.py121 if not prev and line.startswith('static inline '):
271 elif minimize and includeempty:
272 raise ValueError(f'cannot minimize and includeempty at the same time')
315 def _parse_capi(lines, filename): argument
316 if isinstance(lines, str):
317 lines = lines.splitlines()
319 for lno, line in enumerate(lines, 1):
361 elif raw.startswith('<') and raw.endswith('>'):
362 filename = raw[1:-1]
428 sortfields = 'not-private level kind dirname basename name'.split()
[all …]

12345678910>>...30