/external/kotlinpoet/kotlinpoet/src/test/java/com/squareup/kotlinpoet/ |
D | LineWrapperTest.kt | 25 lineWrapper.append("abcde fghij", indentLevel = 2) in wrap() 38 lineWrapper.append("abcde fghi", indentLevel = 2) in noWrap() 46 lineWrapper.append("ab cd ef gh ij kl mn op qr", indentLevel = 1) in multipleWrite() 60 lineWrapper.append("abcde", indentLevel = 2) in fencepost() 61 lineWrapper.append("fghij k", indentLevel = 2) in fencepost() 62 lineWrapper.append("lmnop", indentLevel = 2) in fencepost() 75 lineWrapper.append("abcdefghijkl", indentLevel = 2) in overlyLongLinesWithoutLeadingSpace() 83 lineWrapper.append(" abcdefghijkl", indentLevel = 2) in overlyLongLinesWithLeadingSpace() 91 lineWrapper.append("abcde fghi\njklmn", indentLevel = 2) in noWrapEmbeddedNewlines() 92 lineWrapper.append("opqrstuvwxy", indentLevel = 2) in noWrapEmbeddedNewlines() [all …]
|
/external/javapoet/src/main/java/com/squareup/javapoet/ |
D | LineWrapper.java | 41 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()
|
D | CodeWriter.java | 49 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/ |
D | gluVarType.hpp | 296 …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
|
D | gluVarType.cpp | 384 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/google-smali/dexlib2/src/main/java/com/android/tools/smali/dexlib2/util/ |
D | AnnotatedBytes.java | 71 private int indentLevel; field in AnnotatedBytes 208 startPoint.pointAnnotations.add(new AnnotationItem(indentLevel, formattedMsg)); in annotate() 210 startPoint.rangeAnnotation = new AnnotationItem(indentLevel, formattedMsg); in annotate() 236 indentLevel++; in indent() 240 indentLevel--; in deindent() 241 if (indentLevel < 0) { in deindent() 242 indentLevel = 0; in deindent() 260 public final int indentLevel; field in AnnotatedBytes.AnnotationItem 263 public AnnotationItem(int indentLevel, String annotation) { in AnnotationItem() argument 264 this.indentLevel = indentLevel; in AnnotationItem() [all …]
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/util/ |
D | AnnotatedBytes.java | 72 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/google-smali/third_party/dexlib2/src/main/java/com/android/tools/smali/util/ |
D | IndentingWriter.java | 36 protected int indentLevel = 0; field in IndentingWriter 45 for (int i=0; i<indentLevel; i++) { in writeIndent() 163 this.indentLevel += indentAmount; in indent() 164 if (indentLevel < 0) { in indent() 165 indentLevel = 0; in indent() 170 this.indentLevel -= indentAmount; in deindent() 171 if (indentLevel < 0) { in deindent() 172 indentLevel = 0; in deindent()
|
/external/kotlinpoet/kotlinpoet/src/main/java/com/squareup/kotlinpoet/ |
D | LineWrapper.kt | 40 private var indentLevel = -1 variable 49 fun append(s: String, indentLevel: Int = -1, linePrefix: String = "") { in append() 57 this.indentLevel = indentLevel in append() 98 indentLevel = -1 in newline() 121 columnCount = segment.length + indent.length * indentLevel in emitCurrentLine() 139 for (i in 0 until indentLevel) { in emitSegmentRange()
|
D | CodeWriter.kt | 66 private var indentLevel = 0 variable 95 indentLevel += levels in <lambda>() 99 require(indentLevel - levels >= 0) { "cannot unindent $levels from $indentLevel" } in <lambda>() 100 indentLevel -= levels in <lambda>() 610 indentLevel = if (kdoc) indentLevel else indentLevel + 2, in <lambda>() 619 for (j in 0 until indentLevel) { in emitIndentation()
|
/external/perfetto/ui/src/frontend/ |
D | chrome_slice_panel.ts | 184 indentLevel: number; property 195 indentLevel = 0; property in TableBuilder 203 indentLevel: 0, 224 indentLevel: this.indentLevel, 230 this.indentLevel++; 236 this.indentLevel--; 253 const row = this.indentLevel; 255 indentLevel: row, 259 this.indentLevel++; 265 this.indentLevel--; [all …]
|
/external/smali/dexlib2/src/main/java/org/jf/util/ |
D | IndentingWriter.java | 37 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/ |
D | Formatter.java | 57 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/python/cpython2/Lib/ |
D | plistlib.py | 153 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/ |
D | glcUniformBlockCase.cpp | 721 …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/deqp/modules/glshared/ |
D | glsUniformBlockCase.cpp | 813 … (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/clang/test/SemaObjC/ |
D | continuation-class-err.m | 10 @property (readonly) int indentLevel; property 16 @property (readwrite, assign) int indentLevel; // OK. assign the default in any case. property
|
/external/deqp/external/vulkancts/modules/vulkan/transform_feedback/ |
D | vktTransformFeedbackFuzzLayoutCase.cpp | 979 …: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/ |
D | gen_interface.go | 347 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/deqp/external/vulkancts/modules/vulkan/ubo/ |
D | vktUniformBlockCase.cpp | 954 …: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/gfxstream-protocols/registry/vulkan/scripts/cereal/common/ |
D | codegen.py | 217 self.indentLevel = 0 231 return "".join(" " * (self.indentLevel + extra)) 234 self.indentLevel += 1 237 if self.indentLevel > 0: 238 self.indentLevel -= 1 243 self.indentLevel += 1 247 self.indentLevel -= 1
|
/external/cldr/tools/cldr-code/src/main/java/com/ibm/icu/dev/test/ |
D | TestFmwk.java | 483 params.indentLevel++; in execute() 489 params.indentLevel--; in execute() 1189 public int indentLevel; field in TestFmwk.TestParams 1384 indentLevel = 0; in init() 1478 || (indentLevel == 1 && listlevel > 0); in doMethods() 1483 || (indentLevel == 1 && listlevel > 0); in doRecurse() 1488 && (listlevel == 2 || (indentLevel == 1 && listlevel > 0)); in doRecurseGroupsOnly() 1553 log.print(spaces.substring(0, indentLevel * 2)); in write() 1594 indent(indentLevel + 1); in msg() 1674 indent(indentLevel); in writeTestResult() [all …]
|
/external/deqp/framework/qphelper/ |
D | qpXmlWriter.c | 171 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/ |
D | Utils.java | 159 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/ |
D | DuplicateBindingsValidator.java | 274 int indentLevel, in formatDeclarations() argument 277 builder, ImmutableList.copyOf(bindingDeclarations), indentLevel); in formatDeclarations()
|