Home
last modified time | relevance | path

Searched +full:- +full:- +full:pretty (Results 1 – 25 of 1127) sorted by relevance

12345678910>>...46

/external/rust/android-crates-io/crates/protobuf/src/text_format/
Dprint.rs17 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/
DPrettyPrinter.java1 /* 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/android-crates-io/extra_versions/crates/protobuf/src/text_format/
Dmod.rs32 // 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/
DLinePrinter.cpp1 //===- 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 …]
Dllvm-pdbdump.cpp1 //===- 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/libavc/.vscode/
Dlaunch.json5 "name": "Run avcenc - Linux",
17 "description": "Enable pretty-printing for gdb",
18 "text": "-enable-pretty-printing",
24 "name": "Run avcenc - Mac",
36 "description": "Enable pretty-printing for lldb",
37 "text": "-enable-pretty-printing",
43 "name": "Run avcdec - Linux",
55 "description": "Enable pretty-printing for gdb",
56 "text": "-enable-pretty-printing",
62 "name": "Run avcdec - Mac",
[all …]
/external/sdv/vsomeip/third_party/boost/property_tree/include/boost/property_tree/json_parser/detail/
Dwrite.hpp1 // ----------------------------------------------------------------------------
2 // Copyright (C) 2002-2006 Marcin Kalicinski
9 // ----------------------------------------------------------------------------
54 unsigned long d1 = u / 4096; u -= d1 * 4096; in create_escapes()
55 unsigned long d2 = u / 256; u -= d2 * 256; in create_escapes()
56 unsigned long d3 = u / 16; u -= d3 * 16; in create_escapes()
70 int indent, bool pretty) in write_json_helper() argument
88 if (pretty) stream << Ch('\n'); in write_json_helper()
92 if (pretty) stream << Str(4 * (indent + 1), Ch(' ')); in write_json_helper()
93 write_json_helper(stream, it->second, indent + 1, pretty); in write_json_helper()
[all …]
/external/llvm/test/tools/llvm-symbolizer/
Dsym.test18 #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/ethtool/netlink/
Dnlsock.c2 * nlsock.c - netlink socket
21 switch (nlhdr->nlmsg_type) { in ctrl_msg_summary()
27 if (nlhdr->nlmsg_len < NLMSG_HDRLEN + sizeof(*nlerr)) { in ctrl_msg_summary()
32 printf(" errno=%d\n", nlerr->error); in ctrl_msg_summary()
41 printf(" type %u\n", nlhdr->nlmsg_type); in ctrl_msg_summary()
47 bool outgoing, bool pretty) in genl_msg_summary() argument
49 if (nlhdr->nlmsg_type == ethnl_fam) { in genl_msg_summary()
55 if (nlhdr->nlmsg_len < NLMSG_HDRLEN + GENL_HDRLEN) { in genl_msg_summary()
63 if (ghdr->cmd < n_desc && msg_desc[ghdr->cmd].name) in genl_msg_summary()
64 printf(" %s", msg_desc[ghdr->cmd].name); in genl_msg_summary()
[all …]
/external/ksp/test-utils/src/main/kotlin/com/google/devtools/ksp/processor/
DClassKindsProcessor.kt3 * Copyright 2010-2020 JetBrains s.r.o. and Kotlin Programming Language contributors.
9 * http://www.apache.org/licenses/LICENSE-2.0
29 fun KSClassDeclaration.pretty(): String = "${qualifiedName!!.asString()}: $classKind" in process() method
37 results.add(classDeclaration.pretty()) in process()
45 results.add(resolver.getClassDeclarationByName("kotlin.Any")!!.pretty()) in process()
46 results.add(resolver.getClassDeclarationByName("kotlin.Annotation")!!.pretty()) in process()
47 results.add(resolver.getClassDeclarationByName("kotlin.Deprecated")!!.pretty()) in process()
48 results.add(resolver.getClassDeclarationByName("kotlin.Double.Companion")!!.pretty()) in process()
49 results.add(resolver.getClassDeclarationByName("kotlin.DeprecationLevel")!!.pretty()) in process()
50 … results.add(resolver.getClassDeclarationByName("kotlin.DeprecationLevel.WARNING")!!.pretty()) in process()
/external/rust/android-crates-io/crates/smallvec/debug_metadata/
DREADME.md10 (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/cronet/stable/third_party/rust/chromium_crates_io/vendor/tinyvec-1.8.0/debug_metadata/
DREADME.md10 (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/cronet/tot/third_party/rust/chromium_crates_io/vendor/tinyvec-1.8.0/debug_metadata/
DREADME.md10 (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/
Dregex-filter.test1 ; 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/swiftshader/third_party/llvm-16.0/llvm/lib/Target/DirectX/
DDXILPrettyPrinter.cpp1 //===- DXILPrettyPrinter.cpp - DXIL Resource helper objects ---------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 /// \file This file contains a pass for pretty printing DXIL metadata into IR
12 //===----------------------------------------------------------------------===//
38 return "DXIL Metadata Pretty Printer"; in getPassName()
50 INITIALIZE_PASS_BEGIN(DXILPrettyPrinter, "dxil-pretty-printer",
51 "DXIL Metadata Pretty Printer", true, true)
53 INITIALIZE_PASS_END(DXILPrettyPrinter, "dxil-pretty-printer", in INITIALIZE_PASS_DEPENDENCY()
54 "DXIL Metadata Pretty Printer", true, true) in INITIALIZE_PASS_DEPENDENCY()
/external/cronet/tot/third_party/boringssl/src/pki/testdata/ocsp_unittest/
Dannotate_test_data.py3 # 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/cronet/stable/third_party/boringssl/src/pki/testdata/ocsp_unittest/
Dannotate_test_data.py3 # 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/sdv/vsomeip/third_party/boost/property_tree/include/boost/property_tree/
Djson_parser.hpp1 // ----------------------------------------------------------------------------
2 // Copyright (C) 2002-2006 Marcin Kalicinski
10 // ----------------------------------------------------------------------------
83 * @pre @e pt cannot contain keys that have both subkeys and non-empty data.
89 * @param pretty Whether to pretty-print. Defaults to true for backward
97 bool pretty = true) in write_json() argument
99 write_json_internal(stream, pt, std::string(), pretty); in write_json()
106 * @pre @e pt cannot contain keys that have both subkeys and non-empty data.
113 * @param pretty Whether to pretty-print. Defaults to true and last place
120 bool pretty = true) in write_json() argument
[all …]
/external/openthread/script/
Dmake-pretty35 # 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 …]
/external/ot-br-posix/script/
Dmake-pretty35 # 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/
Dmhlo_reduce_pretty_print.mlir1 // 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/
Dprint_reduce.mlir1 // 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/
Dsg3_utils_json.81 .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/auto/value/src/main/java/com/google/auto/value/extension/toprettystring/
DToPrettyString.java8 * 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/rust/android-crates-io/crates/winnow/examples/json/
Dmain.rs10 fn main() -> Result<(), lexopt::Error> { in main()
36 if args.pretty { in main()
51 pretty: bool, field
61 fn default() -> Self { in default()
67 fn parse() -> Result<Self, lexopt::Error> { in parse()
78 Long("pretty") => { in parse()
79 // Only case where pretty matters in parse()
80 res.pretty = true; in parse()

12345678910>>...46