Home
last modified time | relevance | path

Searched full:indent (Results 1 – 25 of 2386) sorted by relevance

12345678910>>...96

/third_party/flatbuffers/src/
Didl_gen_php.cpp29 const std::string Indent = " "; variable
125 code += Indent + "const "; in EnumMember()
142 code += Indent + "/**\n"; in NewRootTypeFromBuffer()
143 code += Indent + " * @param ByteBuffer $bb\n"; in NewRootTypeFromBuffer()
144 code += Indent + " * @return " + struct_def.name + "\n"; in NewRootTypeFromBuffer()
145 code += Indent + " */\n"; in NewRootTypeFromBuffer()
146 code += Indent + "public static function getRootAs"; in NewRootTypeFromBuffer()
149 code += Indent + "{\n"; in NewRootTypeFromBuffer()
151 code += Indent + Indent + "$obj = new " + struct_def.name + "();\n"; in NewRootTypeFromBuffer()
152 code += Indent + Indent; in NewRootTypeFromBuffer()
[all …]
Didl_gen_python.cpp35 const std::string Indent = " "; variable
57 return "\n" + Indent + Indent + in OffsetPrefix()
60 Indent + Indent + "if o != 0:\n"; in OffsetPrefix()
67 code += Indent + "__slots__ = ['_tab']"; in BeginClass()
103 return "\n" + std::string(num * Indent.length(), ' '); in GenIndents()
110 code += Indent; in EnumMember()
127 code += Indent + "@classmethod\n"; in NewRootTypeFromBuffer()
128 code += Indent + "def GetRootAs"; in NewRootTypeFromBuffer()
131 code += Indent + Indent; in NewRootTypeFromBuffer()
134 code += Indent + Indent + "x = " + NormalizedName(struct_def) + "()\n"; in NewRootTypeFromBuffer()
[all …]
Didl_gen_lua.cpp32 const char *Indent = " "; variable
57 return std::string(Indent) + "local o = " + SelfData + ":Offset(" + in OffsetPrefix()
58 NumToString(field.value.offset) + ")\n" + Indent + in OffsetPrefix()
97 code += std::string(Indent) + NormalizedName(ev) + " = " + in EnumMember()
112 code += std::string(Indent) + "local o = {}\n"; in GenerateNewObjectPrototype()
113 code += std::string(Indent) + in GenerateNewObjectPrototype()
116 code += std::string(Indent) + "return o\n"; in GenerateNewObjectPrototype()
127 code += std::string(Indent) + "if type(buf) == \"string\" then\n"; in NewRootTypeFromBuffer()
128 code += std::string(Indent) + Indent + in NewRootTypeFromBuffer()
130 code += std::string(Indent) + "end\n"; in NewRootTypeFromBuffer()
[all …]
/third_party/typescript/tests/cases/fourslash/
DindentationWithBaseIndent.ts4 ////{| "indent": 10 , "baseIndentSize": 10 |}
6 ////{| "indent": 14 , "baseIndentSize": 10 |}
8 ////{| "indent": 18 , "baseIndentSize": 10 |}
11 ////{| "indent": 22, "baseIndentSize": 10 |}
15 ////{| "indent": 18, "baseIndentSize": 10 |}
19 ////{| "indent": 22, "baseIndentSize": 10 |}
23 ////{| "indent": 18, "baseIndentSize": 10 |}
32 ////{| "indent": 14 , "baseIndentSize": 10 |}
34 ////{| "indent": 18 , "baseIndentSize": 10 |}
37 ////{| "indent": 18 , "baseIndentSize": 10 |}
[all …]
DindentationNone.ts5 ////{| "indent": 0 |}
7 ////{| "indent": 0 |}
10 ////{| "indent": 0 |}
14 ////{| "indent": 0 |}
18 ////{| "indent": 0 |}
22 ////{| "indent": 0 |}
31 ////{| "indent": 0 |}
33 ////{| "indent": 0 |}
36 ////{| "indent": 0 |}
39 ////{| "indent": 0 |}
[all …]
DindentationBlock.ts5 ////{| "indent": 0 |}
7 ////{| "indent": 4 |}
10 ////{| "indent": 8 |}
14 ////{| "indent": 8 |}
18 ////{| "indent": 12 |}
22 ////{| "indent": 8 |}
31 ////{| "indent": 0 |}
33 ////{| "indent": 4 |}
36 ////{| "indent": 8 |}
39 ////{| "indent": 8 |}
[all …]
Dindentation.ts5 ////{| "indent": 4 |}
7 ////{| "indent": 8 |}
10 ////{| "indent": 12 |}
14 ////{| "indent": 8 |}
18 ////{| "indent": 12 |}
22 ////{| "indent": 8 |}
31 ////{| "indent": 4 |}
33 ////{| "indent": 8 |}
36 ////{| "indent": 8 |}
39 ////{| "indent": 8 |}
[all …]
/third_party/nghttp2/doc/
Dnghttpd.17 .nr rst2man-indent-level 0
11 level \\n[rst2man-indent-level]
12 level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
21 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
22 . nr rst2man-indent-level +1
27 .\" indent \\n[an-margin]
28 .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
29 .nr rst2man-indent-level -1
30 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
43 .UNINDENT
[all …]
Dnghttp.17 .nr rst2man-indent-level 0
11 level \\n[rst2man-indent-level]
12 level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
21 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
22 . nr rst2man-indent-level +1
27 .\" indent \\n[an-margin]
28 .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
29 .nr rst2man-indent-level -1
30 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
43 .UNINDENT
[all …]
Dnghttpx.17 .nr rst2man-indent-level 0
11 level \\n[rst2man-indent-level]
12 level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
21 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
22 . nr rst2man-indent-level +1
27 .\" indent \\n[an-margin]
28 .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
29 .nr rst2man-indent-level -1
30 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
44 .UNINDENT
[all …]
Dh2load.17 .nr rst2man-indent-level 0
11 level \\n[rst2man-indent-level]
12 level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
21 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
22 . nr rst2man-indent-level +1
27 .\" indent \\n[an-margin]
28 .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
29 .nr rst2man-indent-level -1
30 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
49 .UNINDENT
[all …]
/third_party/benchmark/src/
Djson_reporter.cc128 std::string indent(4, ' '); in ReportContext() local
131 out << indent << FormatKV("date", walltime_value) << ",\n"; in ReportContext()
133 out << indent << FormatKV("host_name", context.sys_info.name) << ",\n"; in ReportContext()
136 out << indent << FormatKV("executable", Context::executable_name) << ",\n"; in ReportContext()
140 out << indent << FormatKV("num_cpus", static_cast<int64_t>(info.num_cpus)) in ReportContext()
142 out << indent in ReportContext()
147 out << indent in ReportContext()
153 out << indent << "\"caches\": [\n"; in ReportContext()
154 indent = std::string(6, ' '); in ReportContext()
158 out << indent << "{\n"; in ReportContext()
[all …]
/third_party/python/Lib/
Dpprint.py48 def pprint(object, stream=None, indent=1, width=80, depth=None, *, argument
52 stream=stream, indent=indent, width=width, depth=depth,
57 def pformat(object, indent=1, width=80, depth=None, *, argument
60 return PrettyPrinter(indent=indent, width=width, depth=depth,
107 def __init__(self, indent=1, width=80, depth=None, stream=None, *, argument
112 indent
113 Number of spaces to indent for each level of nesting.
132 indent = int(indent)
134 if indent < 0:
135 raise ValueError('indent must be >= 0')
[all …]
/third_party/openssl/util/
Dopenssl-format-source12 # - format source tree according to OpenSSL coding style using indent
17 # note: the indent options assume GNU indent v2.2.10 which was released
18 # Feb-2009 so if you have an older indent the options may not
22 # the reformatting has been completed as marking a block causes indent to
32 INDENT=indent
33 uname -s | grep BSD > /dev/null && type gindent > /dev/null 2>&1 && INDENT=gindent
48 # our own indent profile, which is at a well known location
49 INDENT_PROFILE="$HERE/indent.pro"
52 echo "$0: unable to locate the openssl indent.pro file" >&2
98 tmp=$(mktemp /tmp/indent.XXXXXX)
[all …]
/third_party/json/benchmarks/thirdparty/benchmark/src/
Djson_reporter.cc75 std::string indent(4, ' '); in ReportContext() local
78 out << indent << FormatKV("date", walltime_value) << ",\n"; in ReportContext()
81 out << indent << FormatKV("executable", Context::executable_name) << ",\n"; in ReportContext()
85 out << indent << FormatKV("num_cpus", static_cast<int64_t>(info.num_cpus)) in ReportContext()
87 out << indent in ReportContext()
91 out << indent << FormatKV("cpu_scaling_enabled", info.scaling_enabled) in ReportContext()
94 out << indent << "\"caches\": [\n"; in ReportContext()
95 indent = std::string(6, ' '); in ReportContext()
99 out << indent << "{\n"; in ReportContext()
108 out << indent << "}"; in ReportContext()
[all …]
/third_party/flutter/flutter/packages/flutter/test/foundation/
Dlicenses_test.dart82 expect(paragraphs[index].indent, 0);
85 expect(paragraphs[index].indent, 0);
88 expect(paragraphs[index].indent, 1);
91 expect(paragraphs[index].indent, LicenseParagraph.centeredIndent);
94 expect(paragraphs[index].indent, 0);
97 expect(paragraphs[index].indent, 0);
100 expect(paragraphs[index].indent, 0);
103 expect(paragraphs[index].indent, 0);
106 expect(paragraphs[index].indent, 0);
109 expect(paragraphs[index].indent, 0);
[all …]
/third_party/node/deps/npm/node_modules/detect-indent/
Dpackage.json4 "detect-indent@5.0.0",
8 "_from": "detect-indent@5.0.0",
9 "_id": "detect-indent@5.0.0",
12 "_location": "/detect-indent",
17 "raw": "detect-indent@5.0.0",
18 "name": "detect-indent",
19 "escapedName": "detect-indent",
27 "_resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-5.0.0.tgz",
36 "url": "https://github.com/sindresorhus/detect-indent/issues"
49 "homepage": "https://github.com/sindresorhus/detect-indent#readme",
[all …]
Dindex.js53 // pointer to the array of last used indent
56 // whether the last action was an indent (opposed to an unindent)
65 let indent; variable
69 indent = matches[0].length;
77 indent = 0;
80 const diff = indent - prev;
81 prev = indent;
84 // an indent or unindent has been detected
97 // if the last action was an indent, increment the weight
105 let indent; variable
[all …]
/third_party/openssl/crypto/x509v3/
Dv3_prn.c20 unsigned long flag, int indent, int supported);
24 void X509V3_EXT_val_prn(BIO *out, STACK_OF(CONF_VALUE) *val, int indent, in X509V3_EXT_val_prn() argument
32 BIO_printf(out, "%*s", indent, ""); in X509V3_EXT_val_prn()
38 BIO_printf(out, "%*s", indent, ""); in X509V3_EXT_val_prn()
70 int indent) in X509V3_EXT_print() argument
86 return unknown_ext_print(out, p, extlen, flag, indent, 0); in X509V3_EXT_print()
93 return unknown_ext_print(out, p, extlen, flag, indent, 1); in X509V3_EXT_print()
101 BIO_printf(out, "%*s%s", indent, "", value); in X509V3_EXT_print()
110 BIO_printf(out, "%*s%s", indent, "", tmp); in X509V3_EXT_print()
120 X509V3_EXT_val_prn(out, nval, indent, in X509V3_EXT_print()
[all …]
/third_party/openssl/ssl/
Dt1_trce.c24 # define ssl_trace_list(bio, indent, msg, msglen, value, table) \ argument
25 do_ssl_trace_list(bio, indent, msg, msglen, value, \
40 static int do_ssl_trace_list(BIO *bio, int indent, in do_ssl_trace_list() argument
52 BIO_indent(bio, indent, 80); in do_ssl_trace_list()
600 static void ssl_print_hex(BIO *bio, int indent, const char *name, in ssl_print_hex() argument
605 BIO_indent(bio, indent, 80); in ssl_print_hex()
612 static int ssl_print_hexbuf(BIO *bio, int indent, const char *name, size_t nlen, in ssl_print_hexbuf() argument
626 ssl_print_hex(bio, indent, name, p, blen); in ssl_print_hexbuf()
632 static int ssl_print_version(BIO *bio, int indent, const char *name, in ssl_print_version() argument
643 BIO_indent(bio, indent, 80); in ssl_print_version()
[all …]
/third_party/gn/src/gn/
Doutput_conversion.cc20 void Indent(int indent, std::ostream& out) { in Indent() function
21 for (int i = 0; i < indent; ++i) in Indent()
26 void RenderScopeToJSON(const Value& output, std::ostream& out, int indent);
28 void RenderListToJSON(const Value& output, std::ostream& out, int indent) { in RenderListToJSON() argument
29 assert(indent > 0); in RenderListToJSON()
35 Indent(indent, out); in RenderListToJSON()
37 RenderScopeToJSON(value, out, indent + 1); in RenderListToJSON()
39 RenderListToJSON(value, out, indent + 1); in RenderListToJSON()
45 Indent(indent - 1, out); in RenderListToJSON()
49 void RenderScopeToJSON(const Value& output, std::ostream& out, int indent) { in RenderScopeToJSON() argument
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/Native/
DNativeTypeUDT.cpp37 void NativeTypeUDT::dump(raw_ostream &OS, int Indent, in dump() argument
41 NativeRawSymbol::dump(OS, Indent, ShowIdFields, RecurseIdFields); in dump()
43 dumpSymbolField(OS, "name", getName(), Indent); in dump()
44 dumpSymbolIdField(OS, "lexicalParentId", 0, Indent, Session, in dump()
48 dumpSymbolIdField(OS, "unmodifiedTypeId", getUnmodifiedTypeId(), Indent, in dump()
53 Indent); in dump()
54 dumpSymbolField(OS, "length", getLength(), Indent); in dump()
55 dumpSymbolField(OS, "udtKind", getUdtKind(), Indent); in dump()
56 dumpSymbolField(OS, "constructor", hasConstructor(), Indent); in dump()
57 dumpSymbolField(OS, "constType", isConstType(), Indent); in dump()
[all …]
/third_party/gstreamer/gstreamer/libs/gst/helpers/
Dgst_gdb.py308 def _gdb_write(indent, text): argument
309 gdb.write("%s%s\n" % (" " * indent, text))
392 def print(self, indent, prefix=""): argument
395 _gdb_write(indent, prefix)
402 _gdb_write(indent, s)
404 _gdb_write(indent+1, val)
524 def print(self, indent, prefix=None): argument
526 _gdb_write(indent, "%s: %s" % (prefix, self.name()))
528 _gdb_write(indent, "%s:" % (self.name()))
530 _gdb_write(indent+1, "%s: %s" % (key, str(value)))
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/TableGen/
DStringMatcher.cpp52 std::string Indent(IndentCount * 2 + 4, ' '); in EmitStringMatcherForChar() local
60 // If the to-execute code has \n's in it, indent each subsequent line. in EmitStringMatcherForChar()
64 OS << Indent << Split.first << "\t // \"" << Matches[0]->first << "\"\n"; in EmitStringMatcherForChar()
69 OS << Indent << Split.first << "\n"; in EmitStringMatcherForChar()
92 OS << Indent << "if (" << StrVariableName << "[" << CharNo << "] != '" in EmitStringMatcherForChar()
94 OS << Indent << " break;\n"; in EmitStringMatcherForChar()
98 OS << Indent << "if (memcmp(" << StrVariableName << ".data()+" << CharNo in EmitStringMatcherForChar()
101 OS << Indent << " break;\n"; in EmitStringMatcherForChar()
110 OS << Indent << "switch (" << StrVariableName << "[" << CharNo << "]) {\n"; in EmitStringMatcherForChar()
111 OS << Indent << "default: break;\n"; in EmitStringMatcherForChar()
[all …]
/third_party/openssl/crypto/ct/
Dct_prn.c70 void SCT_print(const SCT *sct, BIO *out, int indent, in SCT_print() argument
80 BIO_printf(out, "%*sSigned Certificate Timestamp:", indent, ""); in SCT_print()
81 BIO_printf(out, "\n%*sVersion : ", indent + 4, ""); in SCT_print()
84 BIO_printf(out, "unknown\n%*s", indent + 16, ""); in SCT_print()
85 BIO_hex_string(out, indent + 16, 16, sct->sct, sct->sct_len); in SCT_print()
92 BIO_printf(out, "\n%*sLog : %s", indent + 4, "", in SCT_print()
96 BIO_printf(out, "\n%*sLog ID : ", indent + 4, ""); in SCT_print()
97 BIO_hex_string(out, indent + 16, 16, sct->log_id, sct->log_id_len); in SCT_print()
99 BIO_printf(out, "\n%*sTimestamp : ", indent + 4, ""); in SCT_print()
102 BIO_printf(out, "\n%*sExtensions: ", indent + 4, ""); in SCT_print()
[all …]

12345678910>>...96