| /external/openthread/third_party/nlbuild-autotools/repo/automake/post/rules/ |
| D | pretty.am | 2 # Copyright 2015-2016 Nest Labs Inc. All Rights Reserved. 8 # http://www.apache.org/licenses/LICENSE-2.0 19 # This file is the automake footer for all coding style-related 22 # The recursive target 'pretty', invoked against '$(PRETTY_SUBDIRS)', 24 # '$(PRETTY_FILES)' using the program '$(PRETTY)' with the arguments 27 # The recursive target 'pretty-check' (and its alias 'lint'), 34 # (automake inparticular) such that 'make pretty' and 'make 35 # pretty-check' may be invoked at the top of the tree and all 38 # are the key automake-specific dependencies to ensure that happens. 41 # nl-make-pretty <TERSE OUTPUT COMMAND> <COMMAND> <COMMAND ARGUMENTS> <PATHS> [all …]
|
| /external/rust/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 …]
|
| /external/jackson-core/src/main/java/com/fasterxml/jackson/core/ |
| D | PrettyPrinter.java | 1 /* Jackson JSON-processor. 3 * Copyright (c) 2007- Tatu Saloranta, tatu.saloranta@iki.fi 14 * Interface for objects that implement pretty printer functionality, such 16 * Pretty printers are used to add white space in output JSON content, 22 * to allow for constructing per-generation instances and avoid 44 /* output even when not pretty-printing) 48 // // // Root-level handling: 51 * Method called after a root-level value has been completely 55 * handling (without pretty-printing) will output a space, to 56 * allow values to be parsed correctly. Pretty-printer is [all …]
|
| /external/rust/crates/protobuf/2.27.1/src/text_format/ |
| D | mod.rs | 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() 63 c @ '0'..='9' => (c as u8) - b'0', in unescape_string() 64 c @ 'a'..='f' => (c as u8) - b'a' + 10, in unescape_string() 65 c @ 'A'..='F' => (c as u8) - b'A' + 10, in unescape_string() 70 fn parse_escape_rem(chars: &mut std::str::Chars) -> u8 { in unescape_string() [all …]
|
| /external/llvm/tools/llvm-pdbdump/ |
| D | LinePrinter.cpp | 1 //===- LinePrinter.cpp ------------------------------------------*- C++ -*-===// 8 //===----------------------------------------------------------------------===// 12 #include "llvm-pdbdump.h" 47 SetFilters(ExcludeTypeFilters, opts::pretty::ExcludeTypes.begin(), in LinePrinter() 48 opts::pretty::ExcludeTypes.end()); in LinePrinter() 49 SetFilters(ExcludeSymbolFilters, opts::pretty::ExcludeSymbols.begin(), in LinePrinter() 50 opts::pretty::ExcludeSymbols.end()); in LinePrinter() 51 SetFilters(ExcludeCompilandFilters, opts::pretty::ExcludeCompilands.begin(), in LinePrinter() 52 opts::pretty::ExcludeCompilands.end()); in LinePrinter() 54 SetFilters(IncludeTypeFilters, opts::pretty::IncludeTypes.begin(), in LinePrinter() [all …]
|
| D | llvm-pdbdump.cpp | 1 //===- llvm-pdbdump.cpp - Dump debug info from a PDB file -------*- C++ -*-===// 8 //===----------------------------------------------------------------------===// 11 // the Microsoft Windows SDK, so will not compile or run on non-Windows 14 //===----------------------------------------------------------------------===// 16 #include "llvm-pdbdump.h" 76 : ByteStream(MutableArrayRef<uint8_t>(Buffer->getBufferStart(), in FileBufferByteStream() 77 Buffer->getBufferEnd())), in FileBufferByteStream() 81 if (FileBuffer->commit()) in commit() 95 PrettySubcommand("pretty", 108 namespace pretty { namespace [all …]
|
| /external/llvm/test/tools/llvm-symbolizer/ |
| D | sym.test | 18 #Build as : clang -g -O2 addr.c 20 RUN: llvm-symbolizer -print-address -obj=%p/Inputs/addr.exe < %p/Inputs/addr.inp | FileCheck %s 21 RUN: llvm-symbolizer -inlining -print-address -pretty-print -obj=%p/Inputs/addr.exe < %p/Inputs/add… 29 #PRETTY: some text 30 #PRETTY: {{[0x]+}}40054d: inctwo at {{[/\]+}}tmp{{[/\]+}}x.c:3:3 31 #PRETTY: (inlined by) inc at {{[/\]+}}tmp{{[/\]+}}x.c:7:0 32 #PRETTY (inlined by) main at {{[/\]+}}tmp{{[/\]+}}x.c:14:0 33 #PRETTY: some text2
|
| /external/openthread/third_party/nlbuild-autotools/repo/automake/pre/macros/ |
| D | pretty.am | 8 # http://www.apache.org/licenses/LICENSE-2.0 25 am__v_PRETTY_0 = echo " PRETTY $${file}"; 30 am__v_PRETTY_CHECK_0 = echo " PRETTY $${file}"; 35 # This defines the collection of files against which the PRETTY and 36 # PRETTY_CHECK profiles will be invoked for the 'pretty' and 37 # 'pretty-check' targets, respectively. 46 # This defines the subdirectories for which the recursive 'pretty' and 47 # 'pretty-check' targets will run against.
|
| /external/rust/crates/smallvec/debug_metadata/ |
| D | README.md | 10 (See: https://docs.microsoft.com/en-us/visualstudio/debugger/create-custom-views-of-native-objects?… 17 The GNU debugger (GDB) supports defining custom debugger views using Pretty Printers. 18 Pretty printers are written as python scripts that describe how a type should be displayed 19 … in GDB/LLDB. (See: https://sourceware.org/gdb/onlinedocs/gdb/Pretty-Printing.html#Pretty-Printing) 20 The pretty printers provide patterns, which match type names, and for matching 21 … types. (For writing a pretty printer, see: https://sourceware.org/gdb/onlinedocs/gdb/Writing-a-Pr… 28 Currently the two types of visualizers supported are Natvis and Pretty printers. 33 For pretty printers, the compiler will encode the contents of the pretty printer 80 pattern:statement[0-9]+ 93 …ests/debugger_visualizer.rs` tests need to be run on Windows using the `*-pc-windows-msvc` targets. [all …]
|
| /external/llvm/test/tools/llvm-pdbdump/ |
| D | regex-filter.test | 1 ; RUN: llvm-pdbdump pretty -symbols -globals -types %p/Inputs/FilterTest.pdb \ 2 ; RUN: | FileCheck --check-prefix=NO_FILTER %s 3 ; RUN: llvm-pdbdump pretty -types -exclude-types="GlobalTypedef|NestedTypedef" \ 4 ; RUN: %p/Inputs/FilterTest.pdb | FileCheck --check-prefix=EXCLUDE_TYPEDEFS %s 5 ; RUN: llvm-pdbdump pretty -types -exclude-types="GlobalEnum|NestedEnum" \ 6 ; RUN: %p/Inputs/FilterTest.pdb | FileCheck --check-prefix=EXCLUDE_ENUMS %s 7 ; RUN: llvm-pdbdump pretty -types -symbols -globals -exclude-symbols="MemberVar|GlobalVar" \ 8 ; RUN: %p/Inputs/FilterTest.pdb | FileCheck --check-prefix=EXCLUDE_VARS %s 9 ; RUN: llvm-pdbdump pretty -types -exclude-types="FilterTestClass" \ 10 ; RUN: %p/Inputs/FilterTest.pdb | FileCheck --check-prefix=EXCLUDE_WHOLE_CLASS %s [all …]
|
| /external/cronet/net/data/ocsp_unittest/ |
| D | annotate_test_data.py | 3 # Use of this source code is governed by a BSD-style license that can be 7 """This script is called without any arguments to re-format all of the *.pem 32 # If there was a user comment (non-script-generated comment) associated 49 inferred from |block_name|, and is pretty-printed accordingly. For 50 instance CERTIFICATE is understood to be an X.509 certificate and pretty 51 printed using OpenSSL's x509 command. If there is no specific pretty-printer 54 # Try to pretty printing as X.509 certificate. 56 p = subprocess.Popen(["openssl", "x509", "-text", "-noout", 57 "-inform", "DER"], 63 # If pretty printing succeeded, return it. [all …]
|
| /external/openthread/script/ |
| D | make-pretty | 35 # script/make-pretty 39 # script/make-pretty clang 40 # script/make-pretty clang-format 41 # script/make-pretty clang-tidy 45 # script/make-pretty markdown 49 # script/make-pretty python 53 # script/make-pretty shell 57 # script/make-pretty check clang 58 # script/make-pretty check clang-format 59 # script/make-pretty check clang-tidy [all …]
|
| 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-9 clang-tidy-9 || echo 'WARNING: coul… 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, try brew only because snap does not support home directory not being… 50 …command -v shfmt || brew install shfmt || echo 'WARNING: could not install shfmt, which is useful … 57 # apt-get update and install dependencies [all …]
|
| /external/mesa3d/bin/ |
| D | get-pick-list.sh | 3 # Script for generating a list of candidates for cherry-picking to a stable branch 7 # $ bin/get-pick-list.sh 8 # $ bin/get-pick-list.sh > picklist 9 # $ bin/get-pick-list.sh | tee picklist 16 git show --pretty=medium --summary "$1" | grep -q -i -o "CC:.*mesa-stable" 21 git show --pretty=medium --summary "$1" | grep -q -i -o "CC:.*mesa-dev" 33 fixes=`git show --pretty=medium -s $1 | tr -d "\n" | \ 34 sed -e 's/'"$2"'/\nfixes:/Ig' | \ 35 grep -Eo 'fixes:[a-f0-9]{4,40}'` 37 fixes_count=`echo "$fixes" | grep "fixes:" | wc -l` [all …]
|
| /external/ot-br-posix/script/ |
| D | make-pretty | 35 # script/make-pretty 39 # script/make-pretty clang 43 # script/make-pretty markdown 47 # script/make-pretty python 51 # script/make-pretty shell 55 # script/make-pretty check clang 56 # script/make-pretty check markdown 57 # script/make-pretty check python 58 # script/make-pretty check shell 61 set -euo pipefail [all …]
|
| /external/tensorflow/tensorflow/compiler/xla/mlir_hlo/tests/Dialect/mhlo/ |
| D | mhlo_reduce_pretty_print.mlir | 1 // RUN: mlir-hlo-opt %s -mlir-print-debuginfo -mlir-print-local-scope \ 3 // RUN: mlir-hlo-opt %s -mlir-print-debuginfo -mlir-print-local-scope \ 4 // RUN: | mlir-hlo-opt -mlir-print-debuginfo -mlir-print-local-scope \ 6 // RUN: mlir-hlo-opt %s -mlir-print-debuginfo \ 7 // RUN: | mlir-hlo-opt -mlir-print-debuginfo -mlir-print-local-scope \ 10 // The lit-tests below tests the printing and parsing of the "pretty-printed" 13 // The test case is eligible for pretty-printing reduce-op. 15 // CHECK-LABEL: func @reduce_one_op_all_locs_same 16 // CHECK-NEXT: mhlo.reduce(%arg0 init: %arg1) applies mhlo.add across dimensions = [1] : (tenso… 18 func.func @reduce_one_op_all_locs_same(%arg0: tensor<?x?xf32>, %arg1 : tensor<f32>) -> (tensor<?xf3… [all …]
|
| /external/tensorflow/tensorflow/compiler/xla/mlir_hlo/stablehlo/tests/ |
| D | print_reduce.mlir | 1 // RUN: stablehlo-opt %s -mlir-print-debuginfo -mlir-print-local-scope \ 3 // RUN: stablehlo-opt %s -mlir-print-debuginfo -mlir-print-local-scope \ 4 // RUN: | stablehlo-opt -mlir-print-debuginfo -mlir-print-local-scope \ 6 // RUN: stablehlo-opt %s -mlir-print-debuginfo \ 7 // RUN: | stablehlo-opt -mlir-print-debuginfo -mlir-print-local-scope \ 10 // The lit-tests below tests the printing and parsing of the "pretty-printed" 13 // The test case is eligible for pretty-printing reduce-op. 15 // CHECK-LABEL: func @reduce_one_op_all_locs_same 16 // CHECK-NEXT: stablehlo.reduce(%arg0 init: %arg1) applies stablehlo.add across dimensions = [1… 18 func.func @reduce_one_op_all_locs_same(%arg0: tensor<?x?xf32>, %arg1 : tensor<f32>) -> (tensor<?xf3… [all …]
|
| /external/sg3_utils/doc/ |
| D | sg3_utils_json.8 | 1 .TH SG3_UTILS_JSON "8" "November 2022" "sg3_utils\-1.48" SG3_UTILS 3 sg3_utils_json \- JSON output for some sg3_utils utilities 6 \fI\-\-json[=JO]\fR [\fIOTHER_OPTIONS\fR] [\fIDEVICE\fR] 14 output, rather than simple, human-readable output. The default remains 15 human-readable output. 20 uses the json-builder C implementation found at 21 https://github.com/json-parser/json-builder which implements four simple JSON 28 underscore characters. The json-builder library uses the 29 SPDX\-License\-Identifier: BSD\-2\-Clause which is the same license as the 32 The json-builder library is relatively lightweight (700 lines of C code) and [all …]
|
| /external/python/google-api-python-client/googleapiclient/ |
| D | schema.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 18 deserialized JSON objects, or pretty print them as prototype objects that 82 # Cache of pretty printed schemas. 83 self.pretty = {} 87 """Get pretty printed object prototype from the schema name. 106 if name not in self.pretty: 107 self.pretty[name] = _SchemaToStruct( 113 return self.pretty[name] 116 """Get pretty printed object prototype from the schema name. 126 return self._prettyPrintByName(name, seen=[], dent=0)[:-2] [all …]
|
| /external/autotest/utils/frozen_chromite/third_party/googleapiclient/ |
| D | schema.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 18 deserialized JSON objects, or pretty print them as prototype objects that 88 # Cache of pretty printed schemas. 89 self.pretty = {} 93 """Get pretty printed object prototype from the schema name. 112 if name not in self.pretty: 113 self.pretty[name] = _SchemaToStruct(self.schemas[name], 118 return self.pretty[name] 121 """Get pretty printed object prototype from the schema name. 131 return self._prettyPrintByName(name, seen=[], dent=1)[:-2] [all …]
|
| /external/libxml2/os400/ |
| D | xmllintcl.c | 15 /* Variable-length string, with 16-bit length. */ 22 /* Variable-length string, with 32-bit length. */ 47 vary2 * schemakind; /* --schema/--relaxng/--schematron. */ 52 vary2 * pretty; /* Pretty-print style. */ member 69 if (len > sizeof(dst->string) - dst->len) in vary4nappend() 70 len = sizeof(dst->string) - dst->len; in vary4nappend() 73 memcpy(dst->string + dst->len, src, len); in vary4nappend() 74 dst->len += len; in vary4nappend() 101 vary4nappend(dst, arg->string, arg->len); in vary4varg() 111 for (i = 0; i < arg->len; i++) in vary4vescape() [all …]
|
| /external/ComputeLibrary/tests/framework/command_line/ |
| D | CommonOptions.cpp | 2 * Copyright (c) 2018-2020 Arm Limited. 4 * SPDX-License-Identifier: MIT 45 log_file(parser.add_option<SimpleOption<std::string>>("log-file")), in CommonOptions() 47 throw_errors(parser.add_option<ToggleOption>("throw-errors")), in CommonOptions() 49 …color_output(parser.add_option<ToggleOption>("color-output", isatty(STDOUT_FILENO))), // Only enab… in CommonOptions() 51 pretty_console(parser.add_option<ToggleOption>("pretty-console", false)), in CommonOptions() 52 json_file(parser.add_option<SimpleOption<std::string>>("json-file")), in CommonOptions() 53 pretty_file(parser.add_option<SimpleOption<std::string>>("pretty-file")), in CommonOptions() 71 LogFormat::PRETTY, in CommonOptions() 87 …at = parser.add_option<EnumOption<LogFormat>>("log-format", supported_log_formats, LogFormat::PRE… in CommonOptions() [all …]
|
| /external/auto/value/src/main/java/com/google/auto/value/extension/toprettystring/ |
| D | ToPrettyString.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 26 * Annotates instance methods that return an easy-to-read {@link String} representing the instance. 31 * {@code @AutoValue} type is individually printed in an easy-to-read format. If the type of the 33 * computing the pretty string. Non-{@code @AutoValue} classes can contribute a pretty string 36 * <p>{@link Collection} and {@link Collection}-like types have special representations in generated 37 * pretty strings. 48 * abstract class Pretty { 56 * // Pretty{
|
| /external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
| D | PrettyStackTrace.h | 1 //===- llvm/Support/PrettyStackTrace.h - Pretty Crash Handling --*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 13 //===----------------------------------------------------------------------===// 24 /// Enables dumping a "pretty" stack trace when the program crashes. 29 /// Enables (or disables) dumping a "pretty" stack trace when the user sends 32 /// This is a per-thread decision so that a program can choose to print stack 40 /// PrettyStackTraceEntry - This class is used to represent a frame of the 41 /// "pretty" stack trace that is dumped when a program crashes. You can define 55 /// print - Emit information about this stack frame to OS. [all …]
|
| /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 …]
|