Home
last modified time | relevance | path

Searched refs:TString (Results 1 – 25 of 43) sorted by relevance

12

/external/chromium_org/third_party/angle/src/compiler/
DOutputHLSL.h36 TString typeString(const TType &type);
37 TString textureString(const TType &type);
38 static TString qualifierString(TQualifier qualifier);
39 static TString arrayString(const TType &type);
40 static TString initializer(const TType &type);
41 …static TString decorate(const TString &string); // Prepends an underscore to …
42 static TString decorateUniform(const TString &string, const TType &type);
43 static TString decorateField(const TString &string, const TType &structure);
61 …void outputTriplet(Visit visit, const TString &preString, const TString &inString, const TString &…
63 TString argumentString(const TIntermSymbol *symbol);
[all …]
DSymbolTable.h45 TSymbol(const TString* n) : uniqueId(0), name(n) { } in TSymbol()
48 const TString& getName() const { return *name; } in getName()
49 virtual const TString& getMangledName() const { return getName(); } in getMangledName()
55 void relateToExtension(const TString& ext) { extension = ext; } in relateToExtension()
56 const TString& getExtension() const { return extension; } in getExtension()
62 const TString *name;
63 TString extension;
78 …TVariable(const TString *name, const TType& t, bool uT = false ) : TSymbol(name), type(t), userTyp… in TSymbol()
122 TString *name;
136 TFunction(const TString *name, TType& retType, TOperator tOp = EOpNull) :
[all …]
DParseContext.h58 TString HashErrMsg;
73 bool parseVectorFields(const TString&, int vecSize, TVectorFields&, const TSourceLoc& line);
74 bool parseMatrixFields(const TString&, int matSize, TMatrixFields&, const TSourceLoc& line);
76 bool reservedErrorCheck(const TSourceLoc& line, const TString& identifier);
77 void assignError(const TSourceLoc& line, const char* op, TString left, TString right);
78 void unaryOpError(const TSourceLoc& line, const char* op, TString operand);
79 void binaryOpError(const TSourceLoc& line, const char* op, TString left, TString right);
89 …bool arrayErrorCheck(const TSourceLoc& line, TString& identifier, TPublicType type, TVariable*& va…
90 bool voidErrorCheck(const TSourceLoc&, const TString&, const TPublicType&);
96 …bool nonInitConstErrorCheck(const TSourceLoc& line, TString& identifier, TPublicType& type, bool a…
[all …]
DVariableInfo.cpp11 TString arrayBrackets(int index) in arrayBrackets()
76 const TString& name,
77 const TString& mappedName,
80 const TString& name,
81 const TString& mappedName,
87 const TString& name, in getVariableInfo()
88 const TString& mappedName, in getVariableInfo()
95 TString lname = name + arrayBrackets(i); in getVariableInfo()
96 TString lmappedName = mappedName + arrayBrackets(i); in getVariableInfo()
108 const TString& name, in getBuiltInVariableInfo()
[all …]
DOutputGLSLBase.h32 TString getTypeName(const TType& type);
48 TString hashName(const TString& name);
50 TString hashVariableName(const TString& name);
52 TString hashFunctionName(const TString& mangled_name);
64 typedef std::set<TString> DeclaredStructs;
DTypes.h23 TField(TType* type, TString* name) : mType(type), mName(name) {} in TField()
30 const TString& name() const { return *mName; } in name()
35 TString* mName;
49 TStructure(TString* name, TFieldList* fields) in TStructure()
56 const TString& name() const { return *mName; } in name()
59 const TString& mangledName() const { in mangledName()
78 TString buildMangledName() const;
82 TString* mName;
85 mutable TString mMangledName;
173 const TString& getMangledName() const { in getMangledName()
[all …]
DRenameFunction.h18 RenameFunction(const TString& oldFunctionName, const TString& newFunctionName) in RenameFunction()
32 const TString mOldFunctionName;
33 const TString mNewFunctionName;
DDetectCallDepth.h42 FunctionNode(const TString& fname);
44 const TString& getName() const;
57 TString name;
66 FunctionNode* findFunctionByName(const TString& name);
DOutputHLSL.cpp24 TString str(int i) in str()
158 TString uniforms; in header()
159 TString varyings; in header()
160 TString attributes; in header()
165 const TString &name = uniform->second->getSymbol(); in header()
187 const TString &name = varying->second->getSymbol(); in header()
196 const TString &name = attribute->second->getSymbol(); in header()
1041 TString name = node->getSymbol(); in visitSymbol()
1600 TString name = TFunction::unmangleName(node->getName()); in visitAggregate()
1664 TString name = TFunction::unmangleName(node->getName()); in visitAggregate()
[all …]
DMapLongVariableNames.cpp11 TString mapLongName(size_t id, const TString& name, bool isGlobal) in mapLongName()
105 TString MapLongVariableNames::mapGlobalLongName(const TString& name) in mapGlobalLongName()
112 TString rt = mapLongName(id, name, true); in mapGlobalLongName()
DOutputGLSLBase.cpp14 TString arrayBrackets(const TType& type) in arrayBrackets()
19 return TString(out.c_str()); in arrayBrackets()
106 const TString& name = arg->getSymbol(); in writeFunctionParameters()
258 TString fieldName = field->name(); in visitBinary()
324 TString preString; in visitUnary()
325 TString postString = ")"; in visitUnary()
455 TString preString; in visitAggregate()
737 TString TOutputGLSLBase::getTypeName(const TType& type) in getTypeName()
763 return TString(out.c_str()); in getTypeName()
766 TString TOutputGLSLBase::hashName(const TString& name) in hashName()
[all …]
Dintermediate.h272 TString getCompleteString() const { return type.getCompleteString(); } in getCompleteString()
356 TIntermSymbol(int i, const TString& sym, const TType& t) : in TIntermSymbol()
362 const TString& getSymbol() const { return symbol; } in getSymbol()
365 void setSymbol(const TString& sym) { symbol = sym; } in setSymbol()
367 const TString& getOriginalSymbol() const { return originalSymbol; } in getOriginalSymbol()
375 TString symbol;
376 TString originalSymbol;
503 void setName(const TString& n) { name = n; } in setName()
504 const TString& getName() const { return name; } in getName()
521 TString name;
[all …]
DCommon.h41 typedef std::basic_string <char, std::char_traits<char>, TStringAllocator> TString; typedef
43 inline TString* NewPoolTString(const char* s) in NewPoolTString()
45 void* memory = GetGlobalPoolAllocator()->allocate(sizeof(TString)); in NewPoolTString()
46 return new(memory) TString(s); in NewPoolTString()
DSymbolTable.cpp32 TString TType::buildMangledName() const in buildMangledName()
34 TString mangledName; in buildMangledName()
93 TString TStructure::buildMangledName() const in buildMangledName()
95 TString mangledName("struct-"); in buildMangledName()
201 void TSymbolTableLevel::relateToExtension(const char* name, const TString& ext) in relateToExtension()
DSearchSymbol.h20 SearchSymbol(const TString &symbol);
28 const TString &mSymbol;
DMapLongVariableNames.h53 TString mapGlobalLongName(const TString& name);
DParseContext.cpp25 bool TParseContext::parseVectorFields(const TString& compString, int vecSize, TVectorFields& fields… in parseVectorFields()
118 bool TParseContext::parseMatrixFields(const TString& compString, int matSize, TMatrixFields& fields… in parseMatrixFields()
208 void TParseContext::assignError(const TSourceLoc& line, const char* op, TString left, TString right) in assignError()
219 void TParseContext::unaryOpError(const TSourceLoc& line, const char* op, TString operand) in unaryOpError()
231 void TParseContext::binaryOpError(const TSourceLoc& line, const char* op, TString left, TString rig… in binaryOpError()
432 bool TParseContext::reservedErrorCheck(const TSourceLoc& line, const TString& identifier) in reservedErrorCheck()
454 if (identifier.find("__") != TString::npos) { in reservedErrorCheck()
572 bool TParseContext::voidErrorCheck(const TSourceLoc& line, const TString& identifier, const TPublic… in voidErrorCheck()
736 bool TParseContext::arrayErrorCheck(const TSourceLoc& line, TString& identifier, TPublicType type, … in arrayErrorCheck()
796 bool TParseContext::nonInitConstErrorCheck(const TSourceLoc& line, TString& identifier, TPublicType… in nonInitConstErrorCheck()
[all …]
DBuiltInFunctionEmulator.h41 static TString GetEmulatedFunctionName(const TString& name);
DDetectCallDepth.cpp10 DetectCallDepth::FunctionNode::FunctionNode(const TString& fname) in FunctionNode()
16 const TString& DetectCallDepth::FunctionNode::getName() const in getName()
177 const TString& name) in findFunctionByName()
DparseConst.cpp74 TString buf; in visitBinary()
89 TString buf; in visitUnary()
100 TString buf; in visitAggregate()
DSearchSymbol.cpp16 SearchSymbol::SearchSymbol(const TString &symbol) : mSymbol(symbol) in SearchSymbol()
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/node/
DAStringExpression.java10 private TString _value_;
18 @SuppressWarnings("hiding") TString _value_) in AStringExpression()
37 public TString getValue() in getValue()
42 public void setValue(TString node) in setValue()
88 setValue((TString) newChild); in replaceChild()
DTString.java8 public final class TString extends Token class
10 public TString(String text) in TString() method in TString
15 public TString(String text, int line, int pos) in TString() method in TString
25 return new TString(getText(), getLine(), getPos()); in clone()
DAContentTypeCommand.java11 private TString _string_;
20 @SuppressWarnings("hiding") TString _string_) in AContentTypeCommand()
67 public TString getString() in getString()
72 public void setString(TString node) in setString()
131 setString((TString) newChild); in replaceChild()
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/
DAutoEscaper.java47 import com.google.clearsilver.jsilver.syntax.node.TString;
132 new AStringExpression(new TString("\"" + escapeMode.getEscapeCommand() + "\"")); in handleExplicitEscapeMode()
290 AStringExpression escapeExpr = new AStringExpression(new TString("\"" + getEscaping() + "\"")); in applyAutoEscaping()
319 new AStringExpression(new TString("\"" + mode.getEscapeCommand() + "\"")); in saveAutoEscapingContext()

12