Home
last modified time | relevance | path

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

/external/javapoet/src/main/java/com/squareup/javapoet/
DLineWrapper.java41 private int indentLevel = -1; field in LineWrapper
88 void wrappingSpace(int indentLevel) throws IOException { in wrappingSpace() argument
94 this.indentLevel = indentLevel; in wrappingSpace()
98 void zeroWidthSpace(int indentLevel) throws IOException { in zeroWidthSpace() argument
104 this.indentLevel = indentLevel; in zeroWidthSpace()
118 for (int i = 0; i < indentLevel; i++) { in flush()
121 column = indentLevel * indent.length(); in flush()
135 indentLevel = -1; in flush()
DCodeWriter.java49 private int indentLevel; field in CodeWriter
104 indentLevel += levels; in indent()
113 checkArgument(indentLevel - levels >= 0, "cannot unindent %s from %s", levels, indentLevel); in unindent()
114 indentLevel -= levels; in unindent()
295 out.wrappingSpace(indentLevel + 2); in emit()
299 out.zeroWidthSpace(indentLevel + 2); in emit()
326 out.wrappingSpace(indentLevel + 2); in emitWrappingSpace()
509 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/dexlib2/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/dagger2/java/dagger/internal/codegen/base/
DFormatter.java57 StringBuilder builder, Iterable<? extends T> items, int indentLevel) { in formatIndentedList() argument
64 appendIndent(builder, indentLevel); in formatIndentedList()
70 appendIndent(builder, indentLevel); in formatIndentedList()
78 private void appendIndent(StringBuilder builder, int indentLevel) { in appendIndent() argument
79 for (int i = 0; i < indentLevel; i++) { in appendIndent()
/external/perfetto/ui/src/frontend/
Dchrome_slice_panel.ts47 indentLevel: number; property
67 {indentLevel: 0, index: -1, contents: {kind: 'KVPair', key, value}});
94 indentLevel: row[0],
117 indentLevel: row[0],
187 let indent = row.indentLevel;
201 {colspan: keyColumnCount + 1 - row.indentLevel},
206 {colspan: keyColumnCount - row.indentLevel},
/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.cpp721 …enerateDeclaration(std::ostringstream& src, const VarType& type, const char* name, int indentLevel,
723 void generateDeclaration(std::ostringstream& src, const Uniform& uniform, int indentLevel);
724 void generateDeclaration(std::ostringstream& src, const StructType& structType, int indentLevel);
726 …d generateLocalDeclaration(std::ostringstream& src, const StructType& structType, int indentLevel);
727 void generateFullDeclaration(std::ostringstream& src, const StructType& structType, int indentLevel
729 void generateDeclaration(std::ostringstream& src, const StructType& structType, int indentLevel) in generateDeclaration() argument
732 generateFullDeclaration(src, structType, indentLevel); in generateDeclaration()
736 void generateFullDeclaration(std::ostringstream& src, const StructType& structType, int indentLevel) in generateFullDeclaration() argument
741 src << "\n" << Indent(indentLevel) << "{\n"; in generateFullDeclaration()
745 src << Indent(indentLevel + 1); in generateFullDeclaration()
[all …]
/external/llvm-project/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/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/deqp/modules/glshared/
DglsUniformBlockCase.cpp813 … (std::ostringstream& src, const VarType& type, const char* name, int indentLevel, deUint32 unuse…
814 void generateDeclaration (std::ostringstream& src, const Uniform& uniform, int indentLevel);
815 void generateDeclaration (std::ostringstream& src, const StructType& structType, int indentLevel
817 … generateLocalDeclaration (std::ostringstream& src, const StructType& structType, int indentLevel);
818 … generateFullDeclaration (std::ostringstream& src, const StructType& structType, int indentLevel);
820 void generateDeclaration (std::ostringstream& src, const StructType& structType, int indentLevel) in generateDeclaration() argument
823 generateFullDeclaration(src, structType, indentLevel); in generateDeclaration()
827 …id generateFullDeclaration (std::ostringstream& src, const StructType& structType, int indentLevel) in generateFullDeclaration() argument
832 src << "\n" << Indent(indentLevel) << "{\n"; in generateFullDeclaration()
836 src << Indent(indentLevel+1); in generateFullDeclaration()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/transform_feedback/
DvktTransformFeedbackFuzzLayoutCase.cpp979 …:ostringstream& src, const VarType& type, const std::string& name, int indentLevel, deUint32 unuse…
980 …on (std::ostringstream& src, const InterfaceBlockMember& member, int indentLevel, deUint32 buffe…
981 void generateDeclaration (std::ostringstream& src, const StructType& structType, int indentLevel);
983 … generateLocalDeclaration (std::ostringstream& src, const StructType& structType, int indentLevel);
984 … generateFullDeclaration (std::ostringstream& src, const StructType& structType, int indentLevel);
986 void generateDeclaration (std::ostringstream& src, const StructType& structType, int indentLevel) in generateDeclaration() argument
989 generateFullDeclaration(src, structType, indentLevel); in generateDeclaration()
993 …id generateFullDeclaration (std::ostringstream& src, const StructType& structType, int indentLevel) in generateFullDeclaration() argument
998 src << "\n" << Indent(indentLevel) << "{\n"; in generateFullDeclaration()
1002 src << Indent(indentLevel + 1); in generateFullDeclaration()
[all …]
/external/skia/tools/gpu/gl/interface/
Dgen_interface.go347 func functionCheck(feature FeatureSet, indentLevel int) string {
350 indent := strings.Repeat(SPACER, indentLevel)
380 …return preCheck + strings.Repeat(SPACER, indentLevel) + "// all functions were marked optional or …
/external/cldr/tools/java/com/ibm/icu/dev/test/
DTestFmwk.java458 params.indentLevel++; in execute()
464 params.indentLevel--; in execute()
1198 public int indentLevel; field in TestFmwk.TestParams
1390 indentLevel = 0; in init()
1482 || (indentLevel == 1 && listlevel > 0); in doMethods()
1487 || (indentLevel == 1 && listlevel > 0); in doRecurse()
1492 && (listlevel == 2 || (indentLevel == 1 && listlevel > 0)); in doRecurseGroupsOnly()
1557 log.print(spaces.substring(0, indentLevel * 2)); in write()
1586 indent(indentLevel + 1); in msg()
1668 indent(indentLevel); in writeTestResult()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/ubo/
DvktUniformBlockCase.cpp954 …:ostringstream& src, const VarType& type, const std::string& name, int indentLevel, deUint32 unuse…
955 void generateDeclaration (std::ostringstream& src, const Uniform& uniform, int indentLevel, deUi…
956 void generateDeclaration (std::ostringstream& src, const StructType& structType, int indentLevel
958 … generateLocalDeclaration (std::ostringstream& src, const StructType& structType, int indentLevel);
959 … generateFullDeclaration (std::ostringstream& src, const StructType& structType, int indentLevel);
961 void generateDeclaration (std::ostringstream& src, const StructType& structType, int indentLevel) in generateDeclaration() argument
964 generateFullDeclaration(src, structType, indentLevel); in generateDeclaration()
968 …id generateFullDeclaration (std::ostringstream& src, const StructType& structType, int indentLevel) in generateFullDeclaration() argument
973 src << "\n" << Indent(indentLevel) << "{\n"; in generateFullDeclaration()
977 src << Indent(indentLevel + 1); in generateFullDeclaration()
[all …]
/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/javaparser/javaparser-core/src/main/java/com/github/javaparser/utils/
DUtils.java159 public static StringBuilder indent(StringBuilder builder, int indentLevel) { in indent() argument
160 for (int i = 0; i < indentLevel; i++) { in indent()
/external/dagger2/java/dagger/internal/codegen/bindinggraphvalidation/
DDuplicateBindingsValidator.java272 int indentLevel, in formatDeclarations() argument
275 builder, ImmutableList.copyOf(bindingDeclarations), indentLevel); in formatDeclarations()
/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/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/deqp/external/vulkancts/modules/vulkan/ssbo/
DvktSSBOLayoutCase.cpp1078 void generateDeclaration (std::ostream& src, const BufferVar& bufferVar, int indentLevel) in generateDeclaration() argument
1086 src << glu::declare(bufferVar.getType(), bufferVar.getName(), indentLevel); in generateDeclaration()
/external/deqp/modules/gles31/functional/
Des31fSSBOLayoutCase.cpp929 void generateDeclaration (std::ostream& src, const BufferVar& bufferVar, int indentLevel) in generateDeclaration() argument
936 src << glu::declare(bufferVar.getType(), bufferVar.getName(), indentLevel); in generateDeclaration()