/prebuilts/python/linux-x86/2.7.5/lib/python2.7/idlelib/ |
CodeContext.py | 39 # self.info is a list of (line number, indent level, line text, block 92 """Get the line indent value, text, and any block start keyword 102 indent = INFINITY 104 indent = len(spaces) 105 return indent, text, opener 111 data and the indent level at the top of the region inspected. 121 indent, text, opener = self.get_line_info(linenum) 122 if indent < lastindent: 123 lastindent = indent 127 if opener and linenum < new_topvisible and indent >= stopindent [all...] |
/system/core/libutils/ |
CallStack.cpp | 58 void CallStack::dump(int fd, int indent, const char* prefix) const { 59 FdPrinter printer(fd, indent, prefix);
|
/external/llvm/lib/DebugInfo/DWARF/ |
DWARFDebugInfoEntry.cpp | 38 unsigned indent) const { 50 WithColor(OS, syntax::Tag).get().indent(indent) << tagString; 52 WithColor(OS, syntax::Tag).get().indent(indent) << 60 dumpAttribute(OS, u, &offset, AttrSpec.Attr, AttrSpec.Form, indent); 66 child->dump(OS, u, recurseDepth-1, indent+2); 75 OS.indent(indent) << "NULL\n"; 98 unsigned AddressSize, unsigned Indent) { [all...] |
/external/mesa3d/src/mapi/glapi/gen/ |
glX_proto_recv.py | 225 def emit_function_call(self, f, retval_assign, indent): 237 list.append( '%s %s' % (indent, location) ) 241 print '%s %sCALL_%s( GET_DISPATCH(), (' % (indent, retval_assign, f.name) 243 print '%s ) );' % (indent) 245 print '%s %sCALL_%s( GET_DISPATCH(), () );' % (indent, retval_assign, f.name) 249 def common_func_print_just_start(self, f, indent): 270 print '%s const CARD32 ptr_is_null = *(CARD32 *)(pc + %s);' % (indent, param.offset - 4) 281 print '%s %s const %s = (%s) (%s(pc + %s));' % (indent, type_string, param.name, type_string, cond, offset) 284 print '%s __GLXpixel3DHeader * const hdr = (__GLXpixel3DHeader *)(pc);' % (indent) 286 print '%s __GLXpixelHeader * const hdr = (__GLXpixelHeader *)(pc);' % (indent) [all...] |
/dalvik/dx/src/com/android/dx/command/dump/ |
BaseDumper.java | 60 private int indent; field in class:BaseDumper 88 this.indent = 0; 115 indent += indentDelta; 118 for (int i = 0; i < indent; i++) { 251 return width - w1 - (indent * 2);
|
/external/chromium-trace/catapult/devil/devil/android/ |
apk_helper.py | 42 indent = ' ' 49 while line[(len(indent) * indent_depth):].startswith(indent): 55 m = _MANIFEST_ELEMENT_RE.match(line[len(indent) * indent_depth:]) 62 m = _MANIFEST_ATTRIBUTE_RE.match(line[len(indent) * indent_depth:])
|
/external/gemmlowp/meta/generators/ |
cc_emitter.py | 25 self.indent = '' 31 self.indent += ' ' 34 self.indent = self.indent[:-2] 37 print self.indent + what
|
/external/llvm/lib/TableGen/ |
StringMatcher.cpp | 47 std::string Indent(IndentCount*2+4, ' '); 54 // If the to-execute code has \n's in it, indent each subsequent line. 58 OS << Indent << Split.first << "\t // \"" << Matches[0]->first << "\"\n"; 63 OS << Indent << Split.first << "\n"; 86 OS << Indent << "if (" << StrVariableName << "[" << CharNo << "] != '" 88 OS << Indent << " break;\n"; 92 OS << Indent << "if (memcmp(" << StrVariableName << ".data()+" << CharNo 95 OS << Indent << " break;\n"; 103 OS << Indent << "switch (" << StrVariableName << "[" << CharNo << "]) {\n"; 104 OS << Indent << "default: break;\n" [all...] |
/external/chromium-trace/catapult/third_party/html5lib-python/html5lib/treebuilders/ |
dom.py | 173 def serializeElement(element, indent=0): 180 (' ' * indent, element.name, publicId, systemId)) 182 rv.append("|%s<!DOCTYPE %s>" % (' ' * indent, element.name)) 184 rv.append("|%s<!DOCTYPE >" % (' ' * indent,)) 190 rv.append("|%s<!-- %s -->" % (' ' * indent, element.nodeValue)) 192 rv.append("|%s\"%s\"" % (' ' * indent, element.nodeValue)) 200 rv.append("|%s<%s>" % (' ' * indent, name)) 215 rv.append('|%s%s="%s"' % (' ' * (indent + 2), name, value)) 216 indent += 2 218 serializeElement(child, indent) [all...] |
/external/chromium-trace/catapult/third_party/Paste/paste/debug/ |
doctest_webapp.py | 77 def ls(dir=None, recurse=False, indent=0): 88 print(' '*indent + fn) 90 ls(dir=full, recurse=True, indent=indent+2) 274 (?:^(?P<indent> [ ]*) >>> .*) # PS1 line 330 indent = len(m.group('%sindent' % runner)) 336 self._check_prefix(source_lines[1:], ' '*indent, name, lineno) 338 self._check_prompt_blank(source_lines, indent, name, lineno) 339 self._check_prefix(source_lines[2:], ' '*indent + '.', name, lineno) 341 source = '\n'.join([sl[indent:] for sl in source_lines] [all...] |
/external/jsilver/src/com/google/clearsilver/jsilver/data/ |
NestedMapData.java | 464 public void write(Appendable out, int indent) throws IOException { 466 indent(out, indent); method 472 indent(out, indent); method 481 int childIndent = indent; 483 indent(out, indent); method 492 indent(out, indent); method 534 private void indent(Appendable out, int indent) throws IOException { method in class:NestedMapData [all...] |
/external/vogar/src/vogar/ |
Console.java | 47 protected String indent; field in class:Console 55 public void setIndent(String indent) { 56 this.indent = indent; 116 out.println(colorString(indent + item, Color.WARN)); 174 out.print(indent + outcomeName + " "); 247 sb.append(indent); 345 out.print(indent); 346 out.print(indent); 355 out.print(indent); [all...] |
/external/llvm/utils/TableGen/ |
X86DisassemblerTables.cpp | 472 o2.indent(i2) << "{ /* ModRMDecision */" << "\n"; 475 o2.indent(i2) << stringForDecisionType(dt) << "," << "\n"; 476 o2.indent(i2) << 0 << " /* EmptyTable */\n"; 479 o2.indent(i2) << "}"; 522 o1.indent(i1 * 2) << format("0x%hx", *I) << ", /* " 528 o2.indent(i2) << "{ /* struct ModRMDecision */" << "\n"; 531 o2.indent(i2) << stringForDecisionType(dt) << "," << "\n"; 532 o2.indent(i2) << EntryNumber << " /* Table" << EntryNumber << " */\n"; 535 o2.indent(i2) << "}"; 568 o2.indent(i2) << "{ /* struct OpcodeDecision */" << "\n" [all...] |
/external/clang/lib/Basic/ |
Module.cpp | 321 void Module::print(raw_ostream &OS, unsigned Indent) const { 322 OS.indent(Indent); 330 OS.indent(Indent + 2); 340 OS.indent(Indent + 2); 353 OS.indent(Indent + 2); 358 OS.indent(Indent + 2) [all...] |
/external/v8/src/ast/ |
prettyprinter.cc | 1188 IndentedScope indent(this, s, node->position()); 1195 { IndentedScope indent(this, "FUNC", program->position()); 1208 IndentedScope indent(this, "DECLS"); 1218 IndentedScope indent(this, "PARAMS"); 1244 IndentedScope indent(this, block_txt, node->position()); 1268 IndentedScope indent(this, "IMPORT", node->position()); 1275 IndentedScope indent(this, "EXPORT", node->position()); 1281 IndentedScope indent(this, "EXPRESSION STATEMENT", node->position()); 1287 IndentedScope indent(this, "EMPTY", node->position()); 1298 IndentedScope indent(this, "IF", node->position()) [all...] |
/external/chromium-trace/catapult/catapult_base/catapult_base/refactor/ |
snippet.py | 43 def PrintTree(self, indent=0, stream=sys.stdout): 140 def PrintTree(self, indent=0, stream=sys.stdout): 141 stream.write(' ' * indent) 148 stream.write(' ' * indent) 188 def PrintTree(self, indent=0, stream=sys.stdout): 189 stream.write(' ' * indent) 199 child.PrintTree(indent + 2, stream)
|
/external/clang/lib/Frontend/ |
FrontendActions.cpp | 455 Out.indent(4) << Text << ": " << (Value? "Yes" : "No") << "\n" 458 Out.indent(2) 467 Out.indent(2) << "Module name: " << ModuleName << "\n"; 470 Out.indent(2) << "Module map file: " << ModuleMapPath << "\n"; 475 Out.indent(2) << "Language options:\n"; 479 Out.indent(4) << Description << ": " \ 482 Out.indent(4) << Description << ": " << LangOpts.Name << "\n"; 488 Out.indent(4) << "Module features:\n"; 490 Out.indent(6) << Feature << "\n"; 498 Out.indent(2) << "Target options:\n" [all...] |
/frameworks/native/libs/binder/ |
BufferedTextOutput.cpp | 43 , indent(0) 81 int32_t indent; member in struct:android::BufferedTextOutput::BufferState 179 if (b->indent > 0) { 180 // If this is the start of a line, add the indent. 181 const char* prefix = stringForIndent(b->indent); 230 b->indent += delta; 231 if (b->indent < 0) b->indent = 0;
|
/libcore/xml/src/main/java/org/kxml2/io/ |
KXmlSerializer.java | 47 private boolean[] indent = new boolean[4]; field in class:KXmlSerializer 93 if (indent.length <= depth) { 95 System.arraycopy(indent, 0, hlp, 0, depth); 96 indent = hlp; 98 indent[depth] = indent[depth - 1]; 216 "http://xmlpull.org/v1/doc/features.html#indent-output" 219 ? indent[depth] 296 if ("http://xmlpull.org/v1/doc/features.html#indent-output" 298 indent[depth] = value [all...] |
/external/vulkan-validation-layers/ |
vk_helper.py | [all...] |
/external/autotest/tko/parsers/ |
version_1.py | 176 def __init__(self, indent, status, subdir, testname, reason, 181 self.indent = indent 186 super(status_line, self).__init__(indent, status, subdir, 244 def make_dummy_abort(indent, subdir, testname, timestamp, reason): 248 @param indent: The number of indentation levels for the string. 257 indent = '\t' * indent 268 msg = indent + 'END ABORT\t%s\t%s%s\t%s' 274 line_buffer, line, indent, subdir, timestamp, reason) [all...] |
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/error/ |
Mark.java | 46 public String get_snippet(int indent, int max_length) { 73 for (int i = 0; i < indent; i++) { 80 for (int i = 0; i < indent + pointer - start + head.length(); i++) {
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/build/make/ |
gen_msvs_proj.sh | 71 indent="" 73 indent="${indent}${indent1}" 76 indent="${indent%${indent1}}" 84 echo "${indent}${opt%%=*}=\"${optval}\"" 92 echo "${indent}<${tag}" 95 echo "${indent}>" 97 echo "${indent}<${tag}>" 105 echo "${indent}</${tag}> [all...] |
/external/icu/icu4c/source/samples/cal/ |
cal.c | 69 static void indent(int32_t count, FILE *f); 376 /* Indent a certain number of spaces */ 378 indent(int32_t count, function 459 indent(pad / 2, stdout); 485 /* Indent the correct number of spaces for the first week */ 492 indent(lens[i] + 1, stdout); 501 /* Calculate the justification and indent */ 503 indent(pad, stdout); 585 indent(pad / 2, stdout); 602 indent(pad / 2, stdout) [all...] |
/external/libchrome/dbus/ |
message.cc | 93 std::string Message::ToStringInternal(const std::string& indent, 104 output += indent + "byte " + base::UintToString(value) + "\n"; 111 output += indent + "bool " + (value ? "true" : "false") + "\n"; 118 output += indent + "int16_t " + base::IntToString(value) + "\n"; 125 output += indent + "uint16_t " + base::UintToString(value) + "\n"; 132 output += indent + "int32_t " + base::IntToString(value) + "\n"; 139 output += indent + "uint32_t " + base::UintToString(value) + "\n"; 146 output += (indent + "int64_t " + base::Int64ToString(value) + "\n"); 153 output += (indent + "uint64_t " + base::Uint64ToString(value) + "\n"); 160 output += indent + "double " + base::DoubleToString(value) + "\n" [all...] |