Home
last modified time | relevance | path

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

/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.cpp383 str << declare(structPtr, decl.indentLevel); // Generate inline declaration. in operator <<()
411 str << "\n" << indent(decl.indentLevel) << "{\n"; in operator <<()
415 str << indent(decl.indentLevel+1); in operator <<()
416 str << declare(memberIter->getType(), memberIter->getName(), decl.indentLevel+1) << ";\n"; in operator <<()
419 str << indent(decl.indentLevel) << "}"; in operator <<()
426 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/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.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/deqp/external/vulkancts/modules/vulkan/ubo/
DvktUniformBlockCase.cpp763 …:ostringstream& src, const VarType& type, const std::string& name, int indentLevel, deUint32 unuse…
764 void generateDeclaration (std::ostringstream& src, const Uniform& uniform, int indentLevel, deUi…
765 void generateDeclaration (std::ostringstream& src, const StructType& structType, int indentLevel
767 … generateLocalDeclaration (std::ostringstream& src, const StructType& structType, int indentLevel);
768 … generateFullDeclaration (std::ostringstream& src, const StructType& structType, int indentLevel);
770 void generateDeclaration (std::ostringstream& src, const StructType& structType, int indentLevel) in generateDeclaration() argument
773 generateFullDeclaration(src, structType, indentLevel); in generateDeclaration()
777 …id generateFullDeclaration (std::ostringstream& src, const StructType& structType, int indentLevel) in generateFullDeclaration() argument
782 src << "\n" << Indent(indentLevel) << "{\n"; in generateFullDeclaration()
786 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/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/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.cpp916 void generateDeclaration (std::ostream& src, const BufferVar& bufferVar, int indentLevel) in generateDeclaration() argument
924 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()