/aosp_15_r20/external/rust/android-crates-io/extra_versions/crates/protobuf/src/text_format/ |
D | mod.rs | 1 //! Protobuf "text format" implementation. 3 //! Text format message look like this: 18 //! This format is not specified, but it is implemented by all official 20 //! and encode messages using text format. 32 // Used by text format parser and by pure-rust codegen parsed 34 // https://github.com/rust-lang/rust/issues/44663 46 pub fn unescape_string(string: &str) -> Vec<u8> { in unescape_string() 47 fn parse_if_digit(chars: &mut std::str::Chars) -> u8 { in unescape_string() 54 '0'..='9' => (f as u8 - b'0'), in unescape_string() 61 fn parse_hex_digit(chars: &mut std::str::Chars) -> u8 { in unescape_string() [all …]
|
/aosp_15_r20/external/openthread/script/ |
H A D | make-pretty | 31 # The script to check or format source code of OpenThread. 33 # Format c/c++, markdown, python, and shell: 35 # script/make-pretty 37 # Format c/c++ only: 39 # script/make-pretty clang 40 # script/make-pretty clang-format 41 # script/make-pretty clang-tidy 43 # Format markdown only: 45 # script/make-pretty markdown 47 # Format python only: [all …]
|
H A D | bootstrap | 34 set -euxo pipefail 38 echo 'Installing pretty tools useful for code contributions...' 40 # add clang-format and clang-tidy for pretty 41 …sudo apt-get --no-install-recommends install -y clang-format-14 clang-tidy-14 || echo 'WARNING: co… 43 # add yapf for pretty 44 …python3 -m pip install yapf==0.31.0 || echo 'WARNING: could not install yapf, which is useful if y… 47 …python3 -m pip install mdv || echo 'WARNING: could not install mdv, which is required to post mark… 49 # add shfmt for shell pretty 50 …command -v shfmt || sudo apt-get install shfmt || echo 'WARNING: could not install shfmt, which is… 57 # apt-get update and install dependencies [all …]
|
/aosp_15_r20/external/rust/android-crates-io/crates/protobuf/src/text_format/ |
D | print.rs | 17 fn do_indent(buf: &mut String, pretty: bool, indent: usize) { in do_indent() 18 if pretty && indent > 0 { in do_indent() 31 pretty: bool, in print_start_field() 36 if !*first && !pretty { in print_start_field() 39 do_indent(buf, pretty, indent); in print_start_field() 44 fn print_end_field(buf: &mut String, pretty: bool) { in print_end_field() 45 if pretty { in print_end_field() 52 pretty: bool, in print_field() 58 print_start_field(buf, pretty, indent, first, field_name); in print_field() 63 if pretty { in print_field() [all …]
|
/aosp_15_r20/external/cronet/third_party/libc++/src/utils/libcxx/test/ |
H A D | dsl.py | 1 # ===----------------------------------------------------------------------===## 5 # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 # ===----------------------------------------------------------------------===## 16 import libcxx.test.format 50 since Lit configuration is single-threaded. 70 # We write to a PID-suffixed file and rename the result to 102 return libcxx.test.format._executeScriptInternal(test, litConfig, commands) 116 # and 'rm -r %T' to avoid cluttering the build directory. 124 testDir, _ = libcxx.test.format._getTempPaths(self) 129 testDir, _ = libcxx.test.format._getTempPaths(self) [all …]
|
/aosp_15_r20/external/ot-br-posix/script/ |
H A D | make-pretty | 31 # The script to check or format source code of OpenThread. 33 # Format c/c++, markdown, python, and shell: 35 # script/make-pretty 37 # Format c/c++ only: 39 # script/make-pretty clang 41 # Format markdown only: 43 # script/make-pretty markdown 45 # Format python only: 47 # script/make-pretty python 49 # Format shell only: [all …]
|
/aosp_15_r20/external/python/cpython2/Lib/ |
D | pprint.py | 7 # tuples with fairly non-descriptive content. This is modeled very much 8 # after Lisp/Scheme - style pretty-printing of lists. If you find it 11 """Support to pretty-print lists, tuples, & dictionaries recursively. 16 ------- 19 Handle pretty-printing operations onto a stream using a configured 23 --------- 26 Format a Python object into a pretty-printed representation. 29 Pretty-print a Python object to a stream [default is sys.stdout]. 32 Generate a 'standard' repr()-like value, but protect against recursive 56 """Pretty-print a Python object to a stream [default is sys.stdout].""" [all …]
|
/aosp_15_r20/frameworks/base/cmds/am/src/com/android/commands/am/ |
H A D | Instrument.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 61 * 1 - Test running 62 * 0 - Test passed 63 * -2 - assertion failure 64 * -1 - other exceptions 67 * -1: Success 73 public static final String DEFAULT_LOG_DIR = "instrument-logs"; 77 private static final int STATUS_TEST_FAILED_ASSERTION = -1; 78 private static final int STATUS_TEST_FAILED_OTHER = -2; 157 * Human-ish readable output. [all …]
|
/aosp_15_r20/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/ |
H A D | UiAutomatorTestRunner.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 58 private static final int EXIT_EXCEPTION = -1; 167 long runTime = SystemClock.uptimeMillis() - startTime; in start() 188 // pretty printer mode? in instrumentationStatus() 189 String pretty = null; in instrumentationStatus() local 191 pretty = results.getString(Instrumentation.REPORT_KEY_STREAMRESULT); in instrumentationStatus() 193 if (pretty != null) { in instrumentationStatus() 194 System.out.print(pretty); in instrumentationStatus() 211 // pretty printer mode? in instrumentationFinished() 212 String pretty = null; in instrumentationFinished() local [all …]
|
/aosp_15_r20/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/tool/ |
H A D | GenerateComparison.java | 61 format = NumberFormat.getNumberInstance(); in main() 62 format.setGroupingUsed(true); in main() 80 "../cldr-release-1-7/common/main")) in main() 196 // TODO Sort by the pretty form in main() 275 // TODO check for non-distinguishing attribute value differences in main() 279 // Skip deletions of alt-proposed in main() 337 status = "NOT-ACC"; in main() 356 "Bad pretty path: " + pretty_sort + ", original: " + cleanedPath); in main() 362 String pretty = prettyPathMaker.getOutputForm(pretty_sort); in main() local 368 String[] prettyParts = pretty.split("[|]"); in main() [all …]
|
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0.u1/lib/rustlib/src/rust/library/std/src/ |
H A D | error.rs | 18 /// single line, or in multi-line format with each source on a new line. 36 /// fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { 42 /// fn source(&self) -> Option<&(dyn Error + 'static)> { 51 /// fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { 58 /// fn get_super_error() -> Result<(), SuperError> { 91 /// # fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { 96 /// # fn source(&self) -> Option<&(dyn Error + 'static)> { 103 /// # fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { 108 /// # fn get_super_error() -> Result<(), SuperError> { 139 /// # fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [all …]
|
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.80.1/lib/rustlib/src/rust/library/std/src/ |
H A D | error.rs | 18 /// single line, or in multi-line format with each source on a new line. 36 /// fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { 42 /// fn source(&self) -> Option<&(dyn Error + 'static)> { 51 /// fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { 58 /// fn get_super_error() -> Result<(), SuperError> { 91 /// # fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { 96 /// # fn source(&self) -> Option<&(dyn Error + 'static)> { 103 /// # fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { 108 /// # fn get_super_error() -> Result<(), SuperError> { 139 /// # fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [all …]
|
/aosp_15_r20/prebuilts/rust/linux-x86/1.80.1/lib/rustlib/src/rust/library/std/src/ |
H A D | error.rs | 18 /// single line, or in multi-line format with each source on a new line. 36 /// fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { 42 /// fn source(&self) -> Option<&(dyn Error + 'static)> { 51 /// fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { 58 /// fn get_super_error() -> Result<(), SuperError> { 91 /// # fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { 96 /// # fn source(&self) -> Option<&(dyn Error + 'static)> { 103 /// # fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { 108 /// # fn get_super_error() -> Result<(), SuperError> { 139 /// # fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [all …]
|
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.81.0/lib/rustlib/src/rust/library/std/src/ |
H A D | error.rs | 18 /// single line, or in multi-line format with each source on a new line. 36 /// fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { 42 /// fn source(&self) -> Option<&(dyn Error + 'static)> { 51 /// fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { 58 /// fn get_super_error() -> Result<(), SuperError> { 91 /// # fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { 96 /// # fn source(&self) -> Option<&(dyn Error + 'static)> { 103 /// # fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { 108 /// # fn get_super_error() -> Result<(), SuperError> { 139 /// # fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [all …]
|
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0/lib/rustlib/src/rust/library/std/src/ |
H A D | error.rs | 18 /// single line, or in multi-line format with each source on a new line. 36 /// fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { 42 /// fn source(&self) -> Option<&(dyn Error + 'static)> { 51 /// fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { 58 /// fn get_super_error() -> Result<(), SuperError> { 91 /// # fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { 96 /// # fn source(&self) -> Option<&(dyn Error + 'static)> { 103 /// # fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { 108 /// # fn get_super_error() -> Result<(), SuperError> { 139 /// # fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [all …]
|
/aosp_15_r20/prebuilts/go/linux-x86/src/runtime/ |
D | runtime-gdb.py | 2 # Use of this source code is governed by a BSD-style 5 """GDB Pretty printers and convenience functions for Go's runtime structures. 13 # - pretty printing only works for the 'native' strings. E.g. 'type 15 # circumventing the pretty print triggering. 99 # Pretty Printers 104 "Pretty print Go strings." 116 return self.val['str'].string("utf-8", "ignore", l) 120 "Pretty print slices." 141 yield ('[{0}]'.format(idx), item) 145 """Pretty print map[K]V types. [all …]
|
/aosp_15_r20/external/rust/android-crates-io/crates/libtest-mimic/src/ |
D | printer.rs | 5 //! - `color` 6 //! - `format` (and `quiet`) 7 //! - `logfile` 20 format: FormatSetting, field 26 /// Creates a new printer configured by the given arguments (`format`, 28 pub(crate) fn new(args: &Arguments, tests: &[Trial]) -> Self { in new() 48 // Determine correct format in new() 49 let format = if args.quiet { in new() localVariable 52 args.format.unwrap_or(FormatSetting::Pretty) in new() 80 format, in new() [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/lib/python3.11/ |
D | pprint.py | 7 # tuples with fairly non-descriptive content. This is modeled very much 8 # after Lisp/Scheme - style pretty-printing of lists. If you find it 11 """Support to pretty-print lists, tuples, & dictionaries recursively. 16 ------- 19 Handle pretty-printing operations onto a stream using a configured 23 --------- 26 Format a Python object into a pretty-printed representation. 29 Pretty-print a Python object to a stream [default is sys.stdout]. 32 Generate a 'standard' repr()-like value, but protect against recursive 50 """Pretty-print a Python object to a stream [default is sys.stdout].""" [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/lib/python3.11/ |
D | pprint.py | 7 # tuples with fairly non-descriptive content. This is modeled very much 8 # after Lisp/Scheme - style pretty-printing of lists. If you find it 11 """Support to pretty-print lists, tuples, & dictionaries recursively. 16 ------- 19 Handle pretty-printing operations onto a stream using a configured 23 --------- 26 Format a Python object into a pretty-printed representation. 29 Pretty-print a Python object to a stream [default is sys.stdout]. 32 Generate a 'standard' repr()-like value, but protect against recursive 50 """Pretty-print a Python object to a stream [default is sys.stdout].""" [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/lib/python3.11/ |
D | pprint.py | 7 # tuples with fairly non-descriptive content. This is modeled very much 8 # after Lisp/Scheme - style pretty-printing of lists. If you find it 11 """Support to pretty-print lists, tuples, & dictionaries recursively. 16 ------- 19 Handle pretty-printing operations onto a stream using a configured 23 --------- 26 Format a Python object into a pretty-printed representation. 29 Pretty-print a Python object to a stream [default is sys.stdout]. 32 Generate a 'standard' repr()-like value, but protect against recursive 50 """Pretty-print a Python object to a stream [default is sys.stdout].""" [all …]
|
/aosp_15_r20/prebuilts/build-tools/common/py3-stdlib/ |
H A D | pprint.py | 7 # tuples with fairly non-descriptive content. This is modeled very much 8 # after Lisp/Scheme - style pretty-printing of lists. If you find it 11 """Support to pretty-print lists, tuples, & dictionaries recursively. 16 ------- 19 Handle pretty-printing operations onto a stream using a configured 23 --------- 26 Format a Python object into a pretty-printed representation. 29 Pretty-print a Python object to a stream [default is sys.stdout]. 32 Generate a 'standard' repr()-like value, but protect against recursive 50 """Pretty-print a Python object to a stream [default is sys.stdout].""" [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/lib/python3.11/ |
D | pprint.py | 7 # tuples with fairly non-descriptive content. This is modeled very much 8 # after Lisp/Scheme - style pretty-printing of lists. If you find it 11 """Support to pretty-print lists, tuples, & dictionaries recursively. 16 ------- 19 Handle pretty-printing operations onto a stream using a configured 23 --------- 26 Format a Python object into a pretty-printed representation. 29 Pretty-print a Python object to a stream [default is sys.stdout]. 32 Generate a 'standard' repr()-like value, but protect against recursive 50 """Pretty-print a Python object to a stream [default is sys.stdout].""" [all …]
|
/aosp_15_r20/external/python/cpython3/Lib/ |
D | pprint.py | 7 # tuples with fairly non-descriptive content. This is modeled very much 8 # after Lisp/Scheme - style pretty-printing of lists. If you find it 11 """Support to pretty-print lists, tuples, & dictionaries recursively. 16 ------- 19 Handle pretty-printing operations onto a stream using a configured 23 --------- 26 Format a Python object into a pretty-printed representation. 29 Pretty-print a Python object to a stream [default is sys.stdout]. 32 Generate a 'standard' repr()-like value, but protect against recursive 50 """Pretty-print a Python object to a stream [default is sys.stdout].""" [all …]
|
/aosp_15_r20/external/jackson-core/src/main/java/com/fasterxml/jackson/core/ |
H A D | JsonGenerator.java | 1 /* Jackson JSON-processor. 3 * Copyright (c) 2007- Tatu Saloranta, [email protected] 35 * basis for format-specific readers (or as bogus instance if non-null 45 * to use either as-is, or as a base with possible differences. 54 * to use either as-is, or as a base with possible differences. 65 // // Low-level I/O / content features 75 * this happens when end-of-input is encountered, or generator 107 // // Quoting-related features 111 * quoted using double-quotes, as specified by JSON specification 130 * associated literal values, resulting in non-conformant [all …]
|
/aosp_15_r20/external/ethtool/ |
H A D | NEWS | 1 Version 6.5 - September 12, 2023 2 * Feature: register dump for hns3 driver (-d) 3 * Fix: fix fallback to ioctl for sset (-s) 4 * Fix: fix empty slot search in rmgr (-N) 6 Version 6.4 - July 1, 2023 7 * Feature: get/set Tx push buffer length (-G) 8 * Feature: sff-8636 and cmis: report LOL / LOS / Tx Fault (-m) 9 * Fix: fix duplex setting parser (-s) 11 * Misc: clean up obsolete pre-build checks 13 Version 6.3 - May 8, 2023 [all …]
|