Home
last modified time | relevance | path

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

123

/external/swiftshader/src/OpenGL/compiler/
DParseHelper.h112 …const TVariable *getNamedVariable(const TSourceLoc &location, const TString *name, const TSymbol *…
114 bool parseVectorFields(const TString&, int vecSize, TVectorFields&, const TSourceLoc &line);
116 bool reservedErrorCheck(const TSourceLoc &line, const TString& identifier);
117 void assignError(const TSourceLoc &line, const char* op, TString left, TString right);
118 void unaryOpError(const TSourceLoc &line, const char* op, TString operand);
119 void binaryOpError(const TSourceLoc &line, const char* op, TString left, TString right);
129 bool voidErrorCheck(const TSourceLoc&, const TString&, const TBasicType&);
136 …bool nonInitConstErrorCheck(const TSourceLoc &line, TString& identifier, TPublicType& type, bool a…
137 bool nonInitErrorCheck(const TSourceLoc &line, const TString& identifier, TPublicType& type);
139 bool extensionErrorCheck(const TSourceLoc &line, const TString&);
[all …]
DTypes.h31 TField(TType *type, TString *name, const TSourceLoc &line) in TField()
49 const TString &name() const in name()
60 TString *mName;
75 const TString &name() const in name()
84 const TString &mangledName() const in mangledName()
98 TFieldListCollection(const TString *name, TFieldList *fields) in TFieldListCollection()
104 TString buildMangledName() const;
106 virtual TString mangledNamePrefix() const = 0;
108 const TString *mName;
111 mutable TString mMangledName;
[all …]
DSymbolTable.h58 TSymbol(const TString *n) : name(n) { } in TSymbol()
61 const TString& getName() const { return *name; } in getName()
62 virtual const TString& getMangledName() const { return getName(); } in getMangledName()
70 const TString *name;
87 …TVariable(const TString *name, const TType& t, bool uT = false ) : TSymbol(name), type(t), userTyp… in TSymbol()
132 TString *name;
148 …TFunction(const TString *name, const TType& retType, TOperator tOp = EOpNull, const char *ext = ""…
159 static TString mangleName(const TString& name) { return name + '('; } in mangleName()
160 static TString unmangleName(const TString& mangledName) in unmangleName()
162 return TString(mangledName.c_str(), mangledName.find_first_of('(')); in unmangleName()
[all …]
DSymbolTable.cpp50 void TType::buildMangledName(TString& mangledName) in buildMangledName()
149 TString TFieldListCollection::buildMangledName() const in buildMangledName()
151 TString mangledName(mangledNamePrefix()); in buildMangledName()
221 TSymbol *TSymbolTableLevel::find(const TString &name) const in find()
230 TSymbol *TSymbolTable::find(const TString &name, int shaderVersion, bool *builtIn, bool *sameScope)… in find()
260 TSymbol *TSymbolTable::findBuiltIn(const TString &name, int shaderVersion) const in findBuiltIn()
DCommon.h49 typedef std::basic_string <char, std::char_traits<char>, TStringAllocator> TString; typedef
51 inline TString* NewPoolTString(const char* s) in NewPoolTString()
53 void* memory = GetGlobalPoolAllocator()->allocate(sizeof(TString)); in NewPoolTString()
54 return new(memory) TString(s); in NewPoolTString()
DOutputASM.h207 …Function(int label, const TString &name, TIntermSequence *arg, TIntermTyped *ret) : label(label), … in Function()
212 TString name;
240 TextureFunction(const TString& name);
292 const Function *findFunction(const TString &name);
298 void declareVarying(const TType &type, const TString &name, int registerIndex);
311 int blockMemberLookup(const TType &type, const TString &name, int registerIndex);
315 …void declareUniform(const TType &type, const TString &name, int registerIndex, bool samplersOnly, …
DParseHelper.cpp106 bool TParseContext::parseVectorFields(const TString& compString, int vecSize, TVectorFields& fields… in parseVectorFields()
235 void TParseContext::assignError(const TSourceLoc &line, const char* op, TString left, TString right) in assignError()
246 void TParseContext::unaryOpError(const TSourceLoc &line, const char* op, TString operand) in unaryOpError()
258 void TParseContext::binaryOpError(const TSourceLoc &line, const char* op, TString left, TString rig… in binaryOpError()
465 bool TParseContext::reservedErrorCheck(const TSourceLoc &line, const TString& identifier) in reservedErrorCheck()
473 if (identifier.find("__") != TString::npos) { in reservedErrorCheck()
595 bool TParseContext::voidErrorCheck(const TSourceLoc &line, const TString& identifier, const TBasicT… in voidErrorCheck()
933 bool TParseContext::nonInitConstErrorCheck(const TSourceLoc &line, TString& identifier, TPublicType… in nonInitConstErrorCheck()
965 bool TParseContext::nonInitErrorCheck(const TSourceLoc &line, const TString& identifier, TPublicTyp… in nonInitErrorCheck()
1000 bool TParseContext::declareVariable(const TSourceLoc &line, const TString &identifier, const TType … in declareVariable()
[all …]
DAnalyzeCallDepth.h41 const TString &getName() const;
56 FunctionNode *findFunctionByName(const TString &name);
Dintermediate.h330 TString getCompleteString() const { return type.getCompleteString(); } in getCompleteString()
414 TIntermSymbol(int i, const TString& sym, const TType& t) : in TIntermSymbol()
418 const TString& getSymbol() const { return symbol; } in getSymbol()
427 TString symbol;
568 void setName(const TString& n) { name = n; } in setName()
569 const TString& getName() const { return name; } in getName()
599 TString name;
DparseConst.cpp79 TString buf; in visitBinary()
94 TString buf; in visitUnary()
105 TString buf; in visitAggregate()
DAnalyzeCallDepth.cpp40 const TString &AnalyzeCallDepth::FunctionNode::getName() const in getName()
253 AnalyzeCallDepth::FunctionNode *AnalyzeCallDepth::findFunctionByName(const TString &name) in findFunctionByName()
/external/syslinux/com32/lua/src/
Dlstring.c33 int luaS_eqlngstr (TString *a, TString *b) { in luaS_eqlngstr()
45 int luaS_eqstr (TString *a, TString *b) { in luaS_eqstr()
98 static TString *createstrobj (lua_State *L, const char *str, size_t l, in createstrobj()
100 TString *ts; in createstrobj()
102 totalsize = sizeof(TString) + ((l + 1) * sizeof(char)); in createstrobj()
116 static TString *newshrstr (lua_State *L, const char *str, size_t l, in newshrstr()
120 TString *s; in newshrstr()
133 static TString *internshrstr (lua_State *L, const char *str, size_t l) { in internshrstr()
140 TString *ts = rawgco2ts(o); in internshrstr()
156 TString *luaS_newlstr (lua_State *L, const char *str, size_t l) { in luaS_newlstr()
[all …]
Dlstring.h15 #define sizestring(s) (sizeof(union TString)+((s)->len+1)*sizeof(char))
38 LUAI_FUNC int luaS_eqlngstr (TString *a, TString *b);
39 LUAI_FUNC int luaS_eqstr (TString *a, TString *b);
42 LUAI_FUNC TString *luaS_newlstr (lua_State *L, const char *str, size_t l);
43 LUAI_FUNC TString *luaS_new (lua_State *L, const char *str);
Dllex.h39 TString *ts;
62 TString *source; /* current source name */
63 TString *envn; /* environment variable name */
70 TString *source, int firstchar);
71 LUAI_FUNC TString *luaX_newstring (LexState *ls, const char *str, size_t l);
Dlparser.c64 TString *ts = ls->t.seminfo.ts; in anchor_token()
139 static TString *str_checkname (LexState *ls) { in str_checkname()
140 TString *ts; in str_checkname()
155 static void codestring (LexState *ls, expdesc *e, TString *s) { in codestring()
165 static int registerlocalvar (LexState *ls, TString *varname) { in registerlocalvar()
178 static void new_localvar (LexState *ls, TString *name) { in new_localvar()
221 static int searchupvalue (FuncState *fs, TString *name) { in searchupvalue()
231 static int newupvalue (FuncState *fs, TString *name, expdesc *v) { in newupvalue()
246 static int searchvar (FuncState *fs, TString *n) { in searchvar()
271 static int singlevaraux (FuncState *fs, TString *n, expdesc *var, int base) { in singlevaraux()
[all …]
Dlstate.h145 TString *memerrmsg; /* memory-error message */
146 TString *tmname[TM_N]; /* array with tag-method names */
187 union TString ts;
Dlobject.h207 TString *x_ = (x); \
410 typedef union TString { union
418 } TString; typedef
447 TString *name; /* upvalue name (for debug information) */
458 TString *varname;
476 TString *source; /* used for debug information */
Dllex.c72 TString *ts = luaS_new(L, luaX_tokens[i]); in luaX_init()
128 TString *luaX_newstring (LexState *ls, const char *str, size_t l) { in luaX_newstring()
131 TString *ts = luaS_newlstr(L, str, l); /* create new string */ in luaX_newstring()
163 void luaX_setinput (lua_State *L, LexState *ls, ZIO *z, TString *source, in luaX_setinput()
494 TString *ts; in llex()
/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/clang/test/Modules/Inputs/PR27739/
DDataInputHandler.h6 struct TString { struct
7 TString (char *);
17 map <TString, vector <TreeInfo> >fInputTrees;
/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/swiftshader/third_party/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*] }

123