/prebuilts/go/linux-x86/src/go/printer/ |
printer_test.go | 498 for indent := 0; indent < 4; indent++ { 500 (&Config{Tabwidth: tabwidth, Indent: indent}).Fprint(&buf, fset, file) 501 // all code must be indented by at least 'indent' tabs 515 if n < indent { 516 t.Errorf("line %d: got only %d tabs; want at least %d: %q", i, n, indent, line)
|
nodes.go | 102 // If indent is set, a multi-line identifier list is indented after the 104 func (p *printer) identList(list []*ast.Ident, indent bool) { 111 if !indent { 154 ws = indent 275 ws := indent 308 // won't indent again. If we didn't (ws == indent), identList will 309 // indent if the identList spans multiple lines, and it will outdent 310 // again at the end (and still ws == indent). Thus, a subsequent indent [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/ |
Grammar.txt | 19 #diagram:token INDENT 99 suite: simple_stmt | NEWLINE INDENT stmt+ DEDENT
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/ |
Grammar.txt | 19 #diagram:token INDENT 99 suite: simple_stmt | NEWLINE INDENT stmt+ DEDENT
|
/system/connectivity/shill/net/ |
attribute_list.h | 69 // |indent| indicates the amout of leading spaces to be printed (useful for 71 void Print(int log_level, int indent) const;
|
/system/extras/simpleperf/ |
utils.cpp | 90 void PrintIndented(size_t indent, const char* fmt, ...) { 93 printf("%*s", static_cast<int>(indent * 2), "");
|
/toolchain/binutils/binutils-2.25/gprof/ |
alpha.c | 48 /* *INDENT-OFF* */ 79 /* *INDENT-ON* */
|
/external/jdiff/src/jdiff/ |
RootDocToXML.java | 363 public void addCommonModifiers(ProgramElementDoc ped, int indent) { 364 addSourcePosition(ped, indent); 366 for (int i = 0; i < indent; i++) outputFile.print(" "); 382 for (int i = 0; i < indent; i++) outputFile.print(" "); 422 public void addSourcePosition(ProgramElementDoc ped, int indent) { 436 for (int i = 0; i < indent; i++) outputFile.print(" "); [all...] |
/system/media/camera/docs/ |
metadata_helpers.py | 304 def ljust(size, indent=4): 311 indent: an integer representing the initial indendation level 326 return what + "\n" + "".ljust(indent + size) 783 def javadoc(metadata, indent = 4): 791 indent: baseline level of indentation for javadoc block 794 - Indent and * for insertion into a Javadoc comment block 818 comment_prefix = " " * indent + " * "; 860 # Indent each line 872 def ndkdoc(metadata, indent = 4): 880 indent: baseline level of indentation for comment bloc [all...] |
/external/apache-xml/src/main/java/org/apache/xml/serializer/ |
OutputPropertiesFactory.java | 55 * The "indent" key needs to have a value of "yes", and this 56 * properties value is a the number of whitespaces to indent by per 118 * number of whitepaces to indent by, per indentation level, 119 * if indent="yes". 122 S_BUILTIN_EXTENSIONS_UNIVERSAL + "indent-amount";
|
/external/iw/ |
iw.c | 94 static void __usage_cmd(const struct cmd *cmd, char *indent, bool full) 98 printf("%s", indent); 155 if (strlen(indent)) 156 indent = "\t\t"; 167 printf("%s", indent);
|
/external/nist-sip/java/gov/nist/javax/sip/header/ |
SIPHeaderList.java | 328 String indent = new Indentation(indentation).getIndentation(); local 331 sprint(indent + className); 332 sprint(indent + "{"); 336 sprint(indent + sipHeader.debugDump()); 338 sprint(indent + "}");
|
/external/skia/tools/ |
compare_codereview.py | 283 def printer(indent, string): 307 for i, wrapped_line in enumerate(wrap_to(line, 68 - (2 * indent))): 308 out.write(spacer * indent) 382 for (indent, line) in formatted_result: 383 printer(indent, line)
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/ |
DumperOptionsTest.java | 441 fail("Negative indent must not be accepted."); 443 assertEquals("Indicator indent must be non-negative.", e.getMessage()); 451 fail("Negative indent must not be accepted."); 453 assertEquals("Indicator indent must be at most Emitter.MAX_INDENT-1: 9", e.getMessage()); 460 fail("Negative indent must not be accepted.");
|
/prebuilts/go/darwin-x86/src/go/printer/ |
nodes.go | 102 // If indent is set, a multi-line identifier list is indented after the 104 func (p *printer) identList(list []*ast.Ident, indent bool) { 111 if !indent { 154 ws = indent 275 ws := indent 308 // won't indent again. If we didn't (ws == indent), identList will 309 // indent if the identList spans multiple lines, and it will outdent 310 // again at the end (and still ws == indent). Thus, a subsequent indent [all...] |
/external/protobuf/python/google/protobuf/ |
text_format.py | 104 def PrintMessage(message, out, indent=0, as_utf8=False, as_one_line=False, 113 PrintField(field, element, out, indent, as_utf8, as_one_line, 117 PrintField(field, value, out, indent, as_utf8, as_one_line, 122 def PrintField(field, value, out, indent=0, as_utf8=False, as_one_line=False, 127 out.write(' ' * indent) 149 PrintFieldValue(field, value, out, indent, as_utf8, as_one_line, 158 def PrintFieldValue(field, value, out, indent=0, as_utf8=False, 174 PrintMessage(value, out, indent, as_utf8, as_one_line, 180 PrintMessage(value, out, indent + 2, as_utf8, as_one_line, 183 out.write(' ' * indent + closeb [all...] |
/external/testng/doc/ |
documentation-main.html | 831 <h4><a class="section" indent=".." name="test-methods">Test methods</a></h4> 844 <h4><a class="section" indent=".." name="test-groups">Test groups</a></h4> 984 <h4><a class="section" indent=".." name="groups-of-groups">Groups of groups</a></h4> 1022 <h4><a class="section" indent=".." name="exclusions">Exclusion groups</a></h4> [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/xml/dom/ |
minidom.py | 48 def toprettyxml(self, indent="\t", newl="\n", encoding = None): 49 # indent = the indentation string to prepend, per level 58 self.writexml(writer, "", indent, newl, encoding) 60 self.writexml(writer, "", indent, newl) 795 def writexml(self, writer, indent="", addindent="", newl=""): 796 # indent = current indentation 799 writer.write(indent+"<" + self.tagName) 817 node.writexml(writer, indent+addindent, addindent, newl) 818 writer.write(indent) 937 def writexml(self, writer, indent="", addindent="", newl="") [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/xml/dom/ |
minidom.py | 48 def toprettyxml(self, indent="\t", newl="\n", encoding = None): 49 # indent = the indentation string to prepend, per level 58 self.writexml(writer, "", indent, newl, encoding) 60 self.writexml(writer, "", indent, newl) 795 def writexml(self, writer, indent="", addindent="", newl=""): 796 # indent = current indentation 799 writer.write(indent+"<" + self.tagName) 817 node.writexml(writer, indent+addindent, addindent, newl) 818 writer.write(indent) 937 def writexml(self, writer, indent="", addindent="", newl="") [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/xml/dom/ |
minidom.py | 48 def toprettyxml(self, indent="\t", newl="\n", encoding = None): 49 # indent = the indentation string to prepend, per level 58 self.writexml(writer, "", indent, newl, encoding) 60 self.writexml(writer, "", indent, newl) 795 def writexml(self, writer, indent="", addindent="", newl=""): 796 # indent = current indentation 799 writer.write(indent+"<" + self.tagName) 817 node.writexml(writer, indent+addindent, addindent, newl) 818 writer.write(indent) 937 def writexml(self, writer, indent="", addindent="", newl="") [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/xml/dom/ |
minidom.py | 48 def toprettyxml(self, indent="\t", newl="\n", encoding = None): 49 # indent = the indentation string to prepend, per level 58 self.writexml(writer, "", indent, newl, encoding) 60 self.writexml(writer, "", indent, newl) 795 def writexml(self, writer, indent="", addindent="", newl=""): 796 # indent = current indentation 799 writer.write(indent+"<" + self.tagName) 817 node.writexml(writer, indent+addindent, addindent, newl) 818 writer.write(indent) 937 def writexml(self, writer, indent="", addindent="", newl="") [all...] |
/external/llvm/utils/TableGen/ |
AsmWriterEmitter.cpp | 687 O.indent(6) << "return true;\n"; 697 O.indent(8); 704 O.indent(6) << "// " << Result << "\n"; 734 O.indent(6) << "AsmString = \"" << OutString << "\";\n"; 736 O.indent(6) << "break;\n"; 737 O.indent(4) << '}'; [all...] |
/frameworks/native/opengl/tests/hwc/ |
hwcCommit.cpp | 304 void printFormatHeadings(size_t indent); 305 void printOverlapLine(size_t indent, const string formatStr, 588 size_t indent = 2; local 590 printFormatHeadings(indent); 593 printOverlapLine(indent, *it, measurements[it 599 printFormatHeadings(indent); 602 printOverlapLine(indent, *it, measurements[it 608 printFormatHeadings(indent); 611 printOverlapLine(indent, *it, measurements[it [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/util/ |
Pick.java | 162 result = indent(depth) + result + "SEQ("; 222 result = indent(depth) + result + "OR("; 242 private static String indent(int depth) { method in class:Pick 277 result = indent(depth) + result + "REPEAT(" + weightedIndex 382 return indent(depth) + result + "MORPH(" 434 return indent(depth) + result + "QUOTE(" + item.getInternal(depth+1, alreadySeen) 513 return indent(depth) + "\u00F8";
|
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/ |
Pick.java | 161 result = indent(depth) + result + "SEQ("; 221 result = indent(depth) + result + "OR("; 241 private static String indent(int depth) { method in class:Pick 276 result = indent(depth) + result + "REPEAT(" + weightedIndex 381 return indent(depth) + result + "MORPH(" 433 return indent(depth) + result + "QUOTE(" + item.getInternal(depth+1, alreadySeen) 512 return indent(depth) + "\u00F8";
|