Home
last modified time | relevance | path

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

12

/external/webkit/Source/ThirdParty/ANGLE/src/compiler/
DInitialize.cpp22 static TString BuiltInFunctionsCommon() in BuiltInFunctionsCommon()
24 TString s; in BuiltInFunctionsCommon()
29 s.append(TString("float radians(float degrees);")); in BuiltInFunctionsCommon()
30 s.append(TString("vec2 radians(vec2 degrees);")); in BuiltInFunctionsCommon()
31 s.append(TString("vec3 radians(vec3 degrees);")); in BuiltInFunctionsCommon()
32 s.append(TString("vec4 radians(vec4 degrees);")); in BuiltInFunctionsCommon()
34 s.append(TString("float degrees(float radians);")); in BuiltInFunctionsCommon()
35 s.append(TString("vec2 degrees(vec2 radians);")); in BuiltInFunctionsCommon()
36 s.append(TString("vec3 degrees(vec3 radians);")); in BuiltInFunctionsCommon()
37 s.append(TString("vec4 degrees(vec4 radians);")); in BuiltInFunctionsCommon()
[all …]
DOutputHLSL.h30 TString typeString(const TType &type);
31 static TString qualifierString(TQualifier qualifier);
32 static TString arrayString(const TType &type);
33 static TString initializer(const TType &type);
34 … static TString decorate(const TString &string); // Prepend an underscore to avoid naming clashes
51 …void outputTriplet(Visit visit, const TString &preString, const TString &inString, const TString &…
52 TString argumentString(const TIntermSymbol *symbol);
55 void addConstructor(const TType &type, const TString &name, const TIntermSequence *parameters);
58 TString scopeString(unsigned int depthLimit);
59 TString scopedStruct(const TString &typeName);
[all …]
DSymbolTable.h44 TSymbol(const TString *n) : name(n) { } in POOL_ALLOCATOR_NEW_DELETE()
46 const TString& getName() const { return *name; } in getName()
47 virtual const TString& getMangledName() const { return getName(); } in getMangledName()
57 const TString *name;
73 …TVariable(const TString *name, const TType& t, bool uT = false ) : TSymbol(name), type(t), userTyp… in TSymbol()
120 TString *name;
139 TFunction(const TString *name, TType& retType, TOperator tOp = EOpNull) :
148 static TString mangleName(const TString& name) { return name + '('; } in mangleName()
149 static TString unmangleName(const TString& mangledName) in unmangleName()
151 return TString(mangledName.c_str(), mangledName.find_first_of('(')); in unmangleName()
[all …]
DParseHelper.h56 bool reservedErrorCheck(int line, const TString& identifier);
59 bool parseVectorFields(const TString&, int vecSize, TVectorFields&, int line);
60 bool parseMatrixFields(const TString&, int matSize, TMatrixFields&, int line);
61 void assignError(int line, const char* op, TString left, TString right);
62 void unaryOpError(int line, const char* op, TString operand);
63 void binaryOpError(int line, const char* op, TString left, TString right);
73 bool arrayErrorCheck(int line, TString& identifier, TPublicType type, TVariable*& variable);
74 bool voidErrorCheck(int, const TString&, const TPublicType&);
81 bool nonInitConstErrorCheck(int line, TString& identifier, TPublicType& type);
82 bool nonInitErrorCheck(int line, TString& identifier, TPublicType& type);
[all …]
DVariableInfo.cpp9 static TString arrayBrackets(int index) in arrayBrackets()
72 const TString& name,
75 const TString& name,
80 const TString& name, in getVariableInfo()
86 TString lname = name + arrayBrackets(i); in getVariableInfo()
98 const TString& name, in getBuiltInVariableInfo()
116 const TString& name, in getUserDefinedVariableInfo()
121 TString lname = name + "."; in getUserDefinedVariableInfo()
DOutputHLSL.cpp20 TString str(int i) in str()
115 TString uniforms; in header()
116 TString varyings; in header()
124 const TString &name = symbol->getName(); in header()
265 TString uniforms; in header()
266 TString attributes; in header()
267 TString varyings; in header()
274 const TString &name = symbol->getName(); in header()
595 TString name = node->getSymbol(); in visitSymbol()
1124 TString name = TFunction::unmangleName(node->getName()); in visitAggregate()
[all …]
DTypes.h100 TType(TTypeList* userDef, const TString& n, TPrecision p = EbpUndefined) :
207 const TString& getTypeName() const in getTypeName()
212 void setTypeName(const TString& n) in setTypeName()
218 const TString& getFieldName() const in getFieldName()
223 void setFieldName(const TString& n) in setFieldName()
228 TString& getMangledName() { in getMangledName()
269 TString getCompleteString() const;
272 void buildMangledName(TString&);
288 TString *fieldName; // for structure field names
289 TString *mangled;
[all …]
DCommon.h53 typedef std::basic_string <char, std::char_traits<char>, TStringAllocator> TString; typedef
55 inline TString* NewPoolTString(const char* s) in NewPoolTString()
57 void* memory = GlobalPoolAllocator.allocate(sizeof(TString)); in NewPoolTString()
58 return new(memory) TString(s); in NewPoolTString()
Dintermediate.h258 TString getCompleteString() const { return type.getCompleteString(); } in getCompleteString()
328 TIntermSymbol(int i, const TString& sym, const TType& t) : in TIntermSymbol()
332 const TString& getSymbol() const { return symbol; } in getSymbol()
339 TString symbol;
417 typedef TMap<TString, TString> TPragmaTable;
432 void setName(const TString& n) { name = n; } in setName()
433 const TString& getName() const { return name; } in getName()
449 TString name;
Dglslang.l396 iter = pragmaTable.find(TString(tokens[0])); in HandlePragma()
405 iter = pragmaTable.find(TString(tokens[0])); in HandlePragma()
419 TString strSrc; in StoreStr()
420 strSrc = TString(string); in StoreStr()
449 CPPShInfoLogMsg((TString("behavior '") + behavior + "' is not supported").c_str()); in GetBehavior()
458 TMap<TString, TBehavior>:: iterator iter; in updateExtensionBehavior()
459 TString msg; in updateExtensionBehavior()
471 iter = context->extensionBehavior.find(TString(extName)); in updateExtensionBehavior()
475 … CPPShInfoLogMsg((TString("extension '") + extName + "' is not supported").c_str()); in updateExtensionBehavior()
480 msg = TString("extension '") + extName + "' is not supported"; in updateExtensionBehavior()
DParseHelper.cpp51 bool TParseContext::parseVectorFields(const TString& compString, int vecSize, TVectorFields& fields… in parseVectorFields()
144 bool TParseContext::parseMatrixFields(const TString& compString, int matSize, TMatrixFields& fields… in parseMatrixFields()
236 void TParseContext::assignError(int line, const char* op, TString left, TString right) in assignError()
245 void TParseContext::unaryOpError(int line, const char* op, TString operand) in unaryOpError()
255 void TParseContext::binaryOpError(int line, const char* op, TString left, TString right) in binaryOpError()
444 bool TParseContext::reservedErrorCheck(int line, const TString& identifier) in reservedErrorCheck()
448 if (identifier.substr(0, 3) == TString("gl_")) { in reservedErrorCheck()
453 if (identifier.substr(0, 6) == TString("webgl_")) { in reservedErrorCheck()
457 if (identifier.substr(0, 7) == TString("_webgl_")) { in reservedErrorCheck()
462 if (identifier.find("__") != TString::npos) { in reservedErrorCheck()
[all …]
DSearchSymbol.h20 SearchSymbol(const TString &symbol);
28 const TString &mSymbol;
DOutputGLSL.cpp12 TString getTypeName(const TType& type) in getTypeName()
38 return TString(out.c_str()); in getTypeName()
41 TString arrayBrackets(const TType& type) in arrayBrackets()
46 return TString(out.c_str()); in arrayBrackets()
143 const TString& name = arg->getSymbol(); in writeFunctionParameters()
459 TString returnType = getTypeName(node->getType()); in visitAggregate()
472 TString returnType = getTypeName(node->getType()); in visitAggregate()
473 TString functionName = TFunction::unmangleName(node->getName()); in visitAggregate()
504 TString functionName = TFunction::unmangleName(node->getName()); in visitAggregate()
DparseConst.cpp74 TString buf; in visitBinary()
89 TString buf; in visitUnary()
100 TString buf; in visitAggregate()
DExtensionBehavior.h19 typedef TMap<TString, TBehavior> TExtensionBehavior;
DSearchSymbol.cpp16 SearchSymbol::SearchSymbol(const TString &symbol) : mSymbol(symbol) in SearchSymbol()
DInitialize.h14 typedef TVector<TString> TBuiltInStrings;
DSymbolTable.cpp23 void TType::buildMangledName(TString& mangledName) in buildMangledName()
149 void TSymbolTableLevel::relateToExtension(const char* name, const TString& ext) in relateToExtension()
DOutputGLSL.h45 typedef std::set<TString> DeclaredStructs;
/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()
DVarOptimizer.java32 import com.google.clearsilver.jsilver.syntax.node.TString;
259 return new AStringExpression(new TString('"' + text + '"')); in quotedStringExpressionOf()
/external/llvm/test/CodeGen/X86/
Dcoalescer-cross.ll16 %struct.TString = type { %struct.anon }
21 … %struct.TValue, %struct.lua_State*, %struct.UpVal, [9 x %struct.Table*], [17 x %struct.TString*] }

12