/aosp_15_r20/prebuilts/go/linux-x86/src/text/tabwriter/ |
D | tabwriter.go | 2 // Use of this source code is governed by a BSD-style 6 // translates tabbed columns in input into properly aligned text. 11 // The text/tabwriter package is frozen and is not accepting new features. 20 // ---------------------------------------------------------------------------- 25 // segment's size in bytes, its width in runes, and whether it's an htab 33 // A Writer is a filter that inserts padding around tab-delimited 34 // columns in its input to align them in the output. 36 // The Writer treats incoming bytes as UTF-8-encoded text consisting 38 // and newline ('\n') or formfeed ('\f') characters; both newline and 41 // Tab-terminated cells in contiguous lines constitute a column. The [all …]
|
/aosp_15_r20/external/rust/android-crates-io/crates/textwrap/src/ |
D | lib.rs | 1 //! 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 …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/lib/python3.11/site-packages/pip/_vendor/rich/ |
D | table.py | 47 … used to draw the edges (see :ref:`appendix_box`), or ``None`` for no box lines. Defaults to box.H… 52 … fit the available space if ``True``, otherwise the table width will be auto-calculated. Defaults … 56 show_lines (bool, optional): Draw lines between every row. Defaults to False. 57 …leading (bool, optional): Number of blank lines between rows (precludes ``show_lines``). Defaults … 114 def copy(self) -> "Column": 119 def cells(self) -> Iterable["RenderableType"]: 124 def flexible(self) -> bool: 160 … used to draw the edges (see :ref:`appendix_box`), or ``None`` for no box lines. Defaults to box.H… 165 … fit the available space if ``True``, otherwise the table width will be auto-calculated. Defaults … 169 show_lines (bool, optional): Draw lines between every row. Defaults to False. [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/lib/python3.11/site-packages/pip/_vendor/rich/ |
D | table.py | 47 … used to draw the edges (see :ref:`appendix_box`), or ``None`` for no box lines. Defaults to box.H… 52 … fit the available space if ``True``, otherwise the table width will be auto-calculated. Defaults … 56 show_lines (bool, optional): Draw lines between every row. Defaults to False. 57 …leading (bool, optional): Number of blank lines between rows (precludes ``show_lines``). Defaults … 114 def copy(self) -> "Column": 119 def cells(self) -> Iterable["RenderableType"]: 124 def flexible(self) -> bool: 160 … used to draw the edges (see :ref:`appendix_box`), or ``None`` for no box lines. Defaults to box.H… 165 … fit the available space if ``True``, otherwise the table width will be auto-calculated. Defaults … 169 show_lines (bool, optional): Draw lines between every row. Defaults to False. [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/lib/python3.11/site-packages/pip/_vendor/rich/ |
D | table.py | 47 … used to draw the edges (see :ref:`appendix_box`), or ``None`` for no box lines. Defaults to box.H… 52 … fit the available space if ``True``, otherwise the table width will be auto-calculated. Defaults … 56 show_lines (bool, optional): Draw lines between every row. Defaults to False. 57 …leading (bool, optional): Number of blank lines between rows (precludes ``show_lines``). Defaults … 114 def copy(self) -> "Column": 119 def cells(self) -> Iterable["RenderableType"]: 124 def flexible(self) -> bool: 160 … used to draw the edges (see :ref:`appendix_box`), or ``None`` for no box lines. Defaults to box.H… 165 … fit the available space if ``True``, otherwise the table width will be auto-calculated. Defaults … 169 show_lines (bool, optional): Draw lines between every row. Defaults to False. [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/lib/python3.11/site-packages/pip/_vendor/rich/ |
D | table.py | 47 … used to draw the edges (see :ref:`appendix_box`), or ``None`` for no box lines. Defaults to box.H… 52 … fit the available space if ``True``, otherwise the table width will be auto-calculated. Defaults … 56 show_lines (bool, optional): Draw lines between every row. Defaults to False. 57 …leading (bool, optional): Number of blank lines between rows (precludes ``show_lines``). Defaults … 114 def copy(self) -> "Column": 119 def cells(self) -> Iterable["RenderableType"]: 124 def flexible(self) -> bool: 160 … used to draw the edges (see :ref:`appendix_box`), or ``None`` for no box lines. Defaults to box.H… 165 … fit the available space if ``True``, otherwise the table width will be auto-calculated. Defaults … 169 show_lines (bool, optional): Draw lines between every row. Defaults to False. [all …]
|
/aosp_15_r20/external/emboss/compiler/front_end/ |
H A D | format_emb.py | 7 # https://www.apache.org/licenses/LICENSE-2.0 12 # See the License for the specific language governing permissions and 18 pretty-prints an Emboss parse tree. 39 class _Row(collections.namedtuple('Row', ['name', 'columns', 'indent'])): 42 def __new__(cls, name, columns=None, indent=0): argument 43 return super(cls, _Row).__new__(cls, name, tuple(columns or []), indent) 47 """Structured block of multiple lines.""" 94 # for documentation and comment tokens, which may have had trailing whitespace 95 # in the original text, and for indent tokens, which may contain a different 96 # number of space and/or tab characters. [all …]
|
/aosp_15_r20/out/soong/.intermediates/system/tools/hidl/libhidl-gen-ast/linux_glibc_x86_64_static/gen/yacc/system/tools/hidl/ |
D | location.hh | 5 // Copyright (C) 2002-2015, 2018-2021 Free Software Foundation, Inc. 7 // This program is free software: you can redistribute it and/or modify 21 // part or all of the Bison parser skeleton and distribute that work 26 // special exception, which will cause the skeleton and the resulting 34 …** \file out/soong/.intermediates/system/tools/hidl/libhidl-gen-ast/linux_glibc_x86_64_static/gen/… 57 #line 58 "out/soong/.intermediates/system/tools/hidl/libhidl-gen-ast/linux_glibc_x86_64_static/gen/… 65 /// Type for line and column numbers. 78 /** \name Line and Column related manipulators 80 /// (line related) Advance to the COUNT next lines. 81 void lines (counter_type count = 1) in lines() function in yy::position [all …]
|
/aosp_15_r20/out/soong/.intermediates/system/tools/aidl/libaidl-common/linux_glibc_x86_64_static/gen/yacc/system/tools/aidl/ |
D | location.hh | 5 // Copyright (C) 2002-2015, 2018-2021 Free Software Foundation, Inc. 7 // This program is free software: you can redistribute it and/or modify 21 // part or all of the Bison parser skeleton and distribute that work 26 // special exception, which will cause the skeleton and the resulting 34 …** \file out/soong/.intermediates/system/tools/aidl/libaidl-common/linux_glibc_x86_64_static/gen/y… 57 #line 58 "out/soong/.intermediates/system/tools/aidl/libaidl-common/linux_glibc_x86_64_static/gen/y… 65 /// Type for line and column numbers. 78 /** \name Line and Column related manipulators 80 /// (line related) Advance to the COUNT next lines. 81 void lines (counter_type count = 1) in lines() function in yy::position [all …]
|
/aosp_15_r20/out/soong/.intermediates/frameworks/compile/mclinker/lib/Script/libmcldScript/android_arm64_armv8-2a_cortex-a55_static/gen/yacc/frameworks/compile/mclinker/lib/Script/ |
D | location.hh | 5 // Copyright (C) 2002-2015, 2018-2021 Free Software Foundation, Inc. 7 // This program is free software: you can redistribute it and/or modify 21 // part or all of the Bison parser skeleton and distribute that work 26 // special exception, which will cause the skeleton and the resulting 34 …rameworks/compile/mclinker/lib/Script/libmcldScript/android_arm64_armv8-2a_cortex-a55_static/gen/y… 58 …rameworks/compile/mclinker/lib/Script/libmcldScript/android_arm64_armv8-2a_cortex-a55_static/gen/y… 66 /// Type for line and column numbers. 79 /** \name Line and Column related manipulators 81 /// (line related) Advance to the COUNT next lines. 82 void lines (counter_type count = 1) in lines() function in mcld::position [all …]
|
/aosp_15_r20/out/soong/.intermediates/packages/modules/Bluetooth/system/gd/packet/parser/bluetooth_packetgen/linux_glibc_x86_64/gen/yacc/packages/modules/Bluetooth/system/gd/packet/parser/ |
D | location.hh | 5 // Copyright (C) 2002-2015, 2018-2021 Free Software Foundation, Inc. 7 // This program is free software: you can redistribute it and/or modify 21 // part or all of the Bison parser skeleton and distribute that work 26 // special exception, which will cause the skeleton and the resulting 65 /// Type for line and column numbers. 78 /** \name Line and Column related manipulators 80 /// (line related) Advance to the COUNT next lines. 81 void lines (counter_type count = 1) in lines() function in yy::position 90 /// (column related) Advance to the COUNT next columns. 91 void columns (counter_type count = 1) in columns() function in yy::position [all …]
|
/aosp_15_r20/out/soong/.intermediates/frameworks/compile/mclinker/lib/Script/libmcldScript/linux_glibc_x86_64_static/gen/yacc/frameworks/compile/mclinker/lib/Script/ |
D | location.hh | 5 // Copyright (C) 2002-2015, 2018-2021 Free Software Foundation, Inc. 7 // This program is free software: you can redistribute it and/or modify 21 // part or all of the Bison parser skeleton and distribute that work 26 // special exception, which will cause the skeleton and the resulting 66 /// Type for line and column numbers. 79 /** \name Line and Column related manipulators 81 /// (line related) Advance to the COUNT next lines. 82 void lines (counter_type count = 1) in lines() function in mcld::position 91 /// (column related) Advance to the COUNT next columns. 92 void columns (counter_type count = 1) in columns() function in mcld::position [all …]
|
/aosp_15_r20/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/bench/ |
H A D | write.py | 2 # -*- 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 …]
|
/aosp_15_r20/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/bench/ |
H A D | write.py | 2 # -*- 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 …]
|
/aosp_15_r20/prebuilts/build-tools/common/bison/skeletons/ |
H A D | location.cc | 3 # 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]) 23 # ---------------- 31 # ------------------- 36 # ---------------- 46 … m4_substr(m4_defn([b4_location_path]), 1, m4_eval(m4_len(m4_defn([b4_location_path])) - 2))) 51 # ---------------- 62 # ------------------ 63 # Define the position and location classes. [all …]
|
/aosp_15_r20/external/angle/tools/flex-bison/third_party/skeletons/ |
H A D | location.cc | 3 #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 …]
|
/aosp_15_r20/external/pytorch/torch/ |
H A D | _lobpcg.py | 1 # mypy: allow-untyped-defs 17 # compute F, such that F_ij = (d_j - d_i)^{-1} for i != j, F_ii = 0 18 F = D.unsqueeze(-2) - D.unsqueeze(-1) 19 F.diagonal(dim1=-2, dim2=-1).fill_(float("inf")) 20 F.pow_(-1) 37 p(x) = (x - r_1) * ... * (x - r_n) 38 = x^n + a_{n-1} * x^{n-1} + ... a_1 * x_1 + a_0 40 Note: for better performance requires writing a low-level kernel 42 poly_order = roots.shape[-1] 44 # we assume p(x) = x^n + a_{n-1} * x^{n-1} + ... + a_1 * x + a_0, [all …]
|
/aosp_15_r20/external/ktfmt/core/src/main/java/com/facebook/ktfmt/kdoc/ |
H A D | Table.kt | 8 * 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 …]
|
/aosp_15_r20/external/tensorflow/tensorflow/python/data/experimental/ops/ |
H A D | readers.py | 7 # 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 …]
|
/aosp_15_r20/external/coreboot/util/kconfig/ |
H A D | nconf.gui.c | 1 // SPDX-License-Identifier: GPL-2.0-only 35 #define COLOR_DEFAULT -1 106 for (; p->attr; p++) { in set_colors() 107 int attr = p->highlight; in set_colors() 109 if (p->has_color) { in set_colors() 111 init_pair(pair, p->color_fg, p->color_bg); in set_colors() 115 *p->attr = attr; in set_colors() 123 mvwprintw(win, y, (width - strlen(str)) / 2, "%s", str); in print_in_middle() 143 int lines = 0; in get_line() local 148 for (i = 0; text[i] != '\0' && lines < line_no; i++) in get_line() [all …]
|
/aosp_15_r20/external/google-cloud-java/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/ |
H A D | io.proto | 7 // http://www.apache.org/licenses/LICENSE-2.0 12 // See the License for the specific language governing permissions and 36 // provided with the same ML_USE and GCS_FILE_PATH, if it is not, then 39 // The formats are represented in EBNF with commas being literal and with 40 // non-terminal symbols defined near the end of this comment. The formats are: 62 // allowed BOUNDING_BOX edge length is 0.01, and no more than 500 63 // BOUNDING_BOX-es per image are allowed (one BOUNDING_BOX is defined 65 // mentioned just once with no LABEL and the ",,,,,,," in place of the 84 // Here GCS_FILE_PATH leads to a video of up to 50GB in size and up 86 // TIME_SEGMENT_START and TIME_SEGMENT_END must be within the [all …]
|
/aosp_15_r20/external/googleapis/google/cloud/automl/v1beta1/ |
H A D | io.proto | 7 // http://www.apache.org/licenses/LICENSE-2.0 12 // See the License for the specific language governing permissions and 36 // provided with the same ML_USE and GCS_FILE_PATH, if it is not, then 39 // The formats are represented in EBNF with commas being literal and with 40 // non-terminal symbols defined near the end of this comment. The formats are: 62 // allowed BOUNDING_BOX edge length is 0.01, and no more than 500 63 // BOUNDING_BOX-es per image are allowed (one BOUNDING_BOX is defined 65 // mentioned just once with no LABEL and the ",,,,,,," in place of the 84 // Here GCS_FILE_PATH leads to a video of up to 50GB in size and up 86 // TIME_SEGMENT_START and TIME_SEGMENT_END must be within the [all …]
|
/aosp_15_r20/external/libcups/cgi-bin/ |
H A D | makedocset.c | 4 * 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 …]
|
/aosp_15_r20/external/python/apitools/samples/fusiontables_sample/fusiontables_v1/ |
D | fusiontables_v1_messages.py | 5 # 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 …]
|
/aosp_15_r20/external/python/cpython2/Lib/ |
D | textwrap.py | 1 """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 …]
|