Home
last modified time | relevance | path

Searched refs:indentLevel (Results 1 – 25 of 27) sorted by relevance

12

/external/javapoet/src/main/java/com/squareup/javapoet/
DLineWrapper.java41 private int indentLevel = -1; field in LineWrapper
83 void wrappingSpace(int indentLevel) throws IOException { in wrappingSpace() argument
89 this.indentLevel = indentLevel; in wrappingSpace()
93 void zeroWidthSpace(int indentLevel) throws IOException { in zeroWidthSpace() argument
99 this.indentLevel = indentLevel; in zeroWidthSpace()
113 for (int i = 0; i < indentLevel; i++) { in flush()
116 column = indentLevel * indent.length(); in flush()
130 indentLevel = -1; in flush()
DCodeWriter.java49 private int indentLevel; field in CodeWriter
98 indentLevel += levels; in indent()
107 checkArgument(indentLevel - levels >= 0, "cannot unindent %s from %s", levels, indentLevel); in unindent()
108 indentLevel -= levels; in unindent()
279 out.wrappingSpace(indentLevel + 2); in emit()
283 out.zeroWidthSpace(indentLevel + 2); in emit()
307 out.wrappingSpace(indentLevel + 2); in emitWrappingSpace()
483 for (int j = 0; j < indentLevel; j++) { in emitIndentation()
/external/deqp/framework/opengl/
DgluVarType.hpp296 …nst StructType* structPtr_, int indentLevel_) : structPtr(structPtr_), indentLevel(indentLevel_) {} in DeclareStructTypePtr()
299 int indentLevel; member
304 … StructType& structType_, int indentLevel_) : structType(structType_), indentLevel(indentLevel_) {} in DeclareStructType()
307 int indentLevel; member
312 …td::string& name_, int indentLevel_) : varType(varType_), name(name_), indentLevel(indentLevel_) {} in DeclareVariable()
316 int indentLevel; member
326 inline decl::Indent indent (int indentLevel) { return decl::Indent(indentLevel);… in indent() argument
327 … (const StructType* structPtr, int indentLevel = 0) { return decl::DeclareStructTypePtr (stru… in declare() argument
328 … (const StructType& structType, int indentLevel = 0) { return decl::DeclareStructType (struct… in declare() argument
329 …varType, const std::string& name, int indentLevel = 0) { return decl::DeclareVariable (varType, n… in declare() argument
DgluVarType.cpp384 str << declare(structPtr, decl.indentLevel); // Generate inline declaration. in operator <<()
412 str << "\n" << indent(decl.indentLevel) << "{\n"; in operator <<()
416 str << indent(decl.indentLevel+1); in operator <<()
417 str << declare(memberIter->getType(), memberIter->getName(), decl.indentLevel+1) << ";\n"; in operator <<()
420 str << indent(decl.indentLevel) << "}"; in operator <<()
427 return str << declare(&decl.structType, decl.indentLevel); in operator <<()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/util/
DAnnotatedBytes.java72 private int indentLevel; field in AnnotatedBytes
209 startPoint.pointAnnotations.add(new AnnotationItem(indentLevel, formattedMsg)); in annotate()
211 startPoint.rangeAnnotation = new AnnotationItem(indentLevel, formattedMsg); in annotate()
237 indentLevel++; in indent()
241 indentLevel--; in deindent()
242 if (indentLevel < 0) { in deindent()
243 indentLevel = 0; in deindent()
261 public final int indentLevel; field in AnnotatedBytes.AnnotationItem
264 public AnnotationItem(int indentLevel, String annotation) { in AnnotationItem() argument
265 this.indentLevel = indentLevel; in AnnotationItem()
[all …]
/external/smali/util/src/main/java/org/jf/util/
DIndentingWriter.java37 protected int indentLevel = 0; field in IndentingWriter
46 for (int i=0; i<indentLevel; i++) { in writeIndent()
164 this.indentLevel += indentAmount; in indent()
165 if (indentLevel < 0) { in indent()
166 indentLevel = 0; in indent()
171 this.indentLevel -= indentAmount; in deindent()
172 if (indentLevel < 0) { in deindent()
173 indentLevel = 0; in deindent()
/external/python/cpython2/Lib/
Dplistlib.py153 def __init__(self, file, indentLevel=0, indent="\t"): argument
156 self.indentLevel = indentLevel
162 self.indentLevel += 1
165 assert self.indentLevel > 0
167 self.indentLevel -= 1
179 self.file.write(self.indentLevel * self.indent + line + "\n")
232 def __init__(self, file, indentLevel=0, indent="\t", writeHeader=1): argument
235 DumbXMLWriter.__init__(self, file, indentLevel, indent)
264 self.indentLevel -= 1
266 self.indentLevel))
[all …]
/external/deqp/external/openglcts/modules/common/
DglcUniformBlockCase.cpp726 …enerateDeclaration(std::ostringstream& src, const VarType& type, const char* name, int indentLevel,
728 void generateDeclaration(std::ostringstream& src, const Uniform& uniform, int indentLevel);
729 void generateDeclaration(std::ostringstream& src, const StructType& structType, int indentLevel);
731 …d generateLocalDeclaration(std::ostringstream& src, const StructType& structType, int indentLevel);
732 void generateFullDeclaration(std::ostringstream& src, const StructType& structType, int indentLevel
734 void generateDeclaration(std::ostringstream& src, const StructType& structType, int indentLevel) in generateDeclaration() argument
737 generateFullDeclaration(src, structType, indentLevel); in generateDeclaration()
741 void generateFullDeclaration(std::ostringstream& src, const StructType& structType, int indentLevel) in generateFullDeclaration() argument
746 src << "\n" << Indent(indentLevel) << "{\n"; in generateFullDeclaration()
750 src << Indent(indentLevel + 1); in generateFullDeclaration()
[all …]
/external/deqp/modules/glshared/
DglsUniformBlockCase.cpp812 … (std::ostringstream& src, const VarType& type, const char* name, int indentLevel, deUint32 unuse…
813 void generateDeclaration (std::ostringstream& src, const Uniform& uniform, int indentLevel);
814 void generateDeclaration (std::ostringstream& src, const StructType& structType, int indentLevel
816 … generateLocalDeclaration (std::ostringstream& src, const StructType& structType, int indentLevel);
817 … generateFullDeclaration (std::ostringstream& src, const StructType& structType, int indentLevel);
819 void generateDeclaration (std::ostringstream& src, const StructType& structType, int indentLevel) in generateDeclaration() argument
822 generateFullDeclaration(src, structType, indentLevel); in generateDeclaration()
826 …id generateFullDeclaration (std::ostringstream& src, const StructType& structType, int indentLevel) in generateFullDeclaration() argument
831 src << "\n" << Indent(indentLevel) << "{\n"; in generateFullDeclaration()
835 src << Indent(indentLevel+1); in generateFullDeclaration()
[all …]
/external/clang/test/SemaObjC/
Dcontinuation-class-err.m10 @property (readonly) int indentLevel; property
16 @property (readwrite, assign) int indentLevel; // OK. assign the default in any case. property
/external/cldr/tools/java/com/ibm/icu/dev/test/
DTestFmwk.java448 params.indentLevel++; in execute()
454 params.indentLevel--; in execute()
1179 public int indentLevel; field in TestFmwk.TestParams
1371 indentLevel = 0; in init()
1463 || (indentLevel == 1 && listlevel > 0); in doMethods()
1468 || (indentLevel == 1 && listlevel > 0); in doRecurse()
1473 && (listlevel == 2 || (indentLevel == 1 && listlevel > 0)); in doRecurseGroupsOnly()
1538 log.print(spaces.substring(0, indentLevel * 2)); in write()
1567 indent(indentLevel + 1); in msg()
1649 indent(indentLevel); in writeTestResult()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/ubo/
DvktUniformBlockCase.cpp992 …:ostringstream& src, const VarType& type, const std::string& name, int indentLevel, deUint32 unuse…
993 void generateDeclaration (std::ostringstream& src, const Uniform& uniform, int indentLevel, deUi…
994 void generateDeclaration (std::ostringstream& src, const StructType& structType, int indentLevel
996 … generateLocalDeclaration (std::ostringstream& src, const StructType& structType, int indentLevel);
997 … generateFullDeclaration (std::ostringstream& src, const StructType& structType, int indentLevel);
999 void generateDeclaration (std::ostringstream& src, const StructType& structType, int indentLevel) in generateDeclaration() argument
1002 generateFullDeclaration(src, structType, indentLevel); in generateDeclaration()
1006 …id generateFullDeclaration (std::ostringstream& src, const StructType& structType, int indentLevel) in generateFullDeclaration() argument
1011 src << "\n" << Indent(indentLevel) << "{\n"; in generateFullDeclaration()
1015 src << Indent(indentLevel + 1); in generateFullDeclaration()
[all …]
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/utils/
DUtils.java166 public static StringBuilder indent(StringBuilder builder, int indentLevel) { in indent() argument
167 for (int i = 0; i < indentLevel; i++) { in indent()
/external/deqp/framework/qphelper/
DqpXmlWriter.c171 static const char* getIndentStr (int indentLevel) in getIndentStr() argument
175 return &s_indentStr[s_indentStrLen - deMin32(s_indentStrLen, indentLevel)]; in getIndentStr()
/external/autotest/site_utils/rpm_control_system/
DBeautifulSoup.py697 prettyPrint=False, indentLevel=0): argument
754 indentTag = indentLevel
802 prettyPrint=False, indentLevel=0): argument
811 s.append(c.__str__(encoding, prettyPrint, indentLevel))
816 s.append(" " * (indentLevel-1))
/external/bcc/tests/lua/
Dluaunit.lua325 local function prettystr_sub(v, indentLevel, keeponeline, printTableRefs, recursionTable )
342 return M.private._table_tostring(v, indentLevel, printTableRefs, recursionTable)
404 local function _table_tostring( tbl, indentLevel, printTableRefs, recursionTable )
425 prettystr_sub( v, indentLevel+1, true, printTableRefs, recursionTable )
452 local indentString = string.rep(" ", indentLevel - 1)
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
DBindingGraphValidator.java1117 StringBuilder builder, Collection<ContributionBinding> bindings, int indentLevel) {
1120 for (int i = 0; i < indentLevel; i++) {
1128 for (int i = 0; i < indentLevel; i++) {
/external/deqp/external/vulkancts/modules/vulkan/ssbo/
DvktSSBOLayoutCase.cpp1072 void generateDeclaration (std::ostream& src, const BufferVar& bufferVar, int indentLevel) in generateDeclaration() argument
1080 src << glu::declare(bufferVar.getType(), bufferVar.getName(), indentLevel); in generateDeclaration()
/external/deqp/modules/gles31/functional/
Des31fSSBOLayoutCase.cpp934 void generateDeclaration (std::ostream& src, const BufferVar& bufferVar, int indentLevel) in generateDeclaration() argument
941 src << glu::declare(bufferVar.getType(), bufferVar.getName(), indentLevel); in generateDeclaration()
/external/owasp/sanitizer/tools/findbugs/lib/
Ddom4j-1.6.1.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/dom4j/ org/ ...
/external/guice/extensions/persist/lib/
Ddom4j-1.6.1.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/dom4j/ org/ ...
/external/antlr/runtime/ActionScript/project/lib/
DFlexAntTasks.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/adobe/ com/ ...
/external/kotlinc/lib/
Dkotlin-compiler.jarMETA-INF/MANIFEST.MF org/jetbrains/kotlin/utils/JavaSdkUtil.class JavaSdkUtil ...
/external/dagger2/lib/
Dauto-value-1.4.1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dgoogle-java-format-0.1-20151017.042846-2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...

12