Home
last modified time | relevance | path

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

1234567

/external/angle/src/compiler/translator/
DStructureHLSL.h29 explicit Std140PaddingHelper(const std::map<TString, int> &structElementIndexes,
36 TString prePaddingString(const TType &type, bool forcePadding);
37 TString postPaddingString(const TType &type,
43 TString next();
47 const std::map<TString, int> *mStructElementIndexes;
56 TString addStructConstructor(const TStructure &structure);
57 TString addBuiltInConstructor(const TType &type, const TIntermSequence *parameters);
59 static TString defineNameless(const TStructure &structure);
69 std::map<TString, int> mStd140StructElementIndexes;
78 TString constructor;
[all …]
DStructureHLSL.cpp23 TString Define(const TStructure &structure, in Define()
31 const TString &structName = QualifiedStructNameString(structure, useHLSLRowMajorPacking, in Define()
33 const TString declareString = (isNameless ? "struct" : "struct " + structName); in Define()
35 TString string; in Define()
48 const TString &fieldTypeString = in Define()
77 TString WriteParameterList(const std::vector<TType> &parameters) in WriteParameterList()
79 TString parameterList; in WriteParameterList()
103 Std140PaddingHelper::Std140PaddingHelper(const std::map<TString, int> &structElementIndexes, in Std140PaddingHelper() argument
122 TString Std140PaddingHelper::next() in next()
194 TString Std140PaddingHelper::prePaddingString(const TType &type, bool forcePadding) in prePaddingString()
[all …]
DUtilsHLSL.h117 TString Decorate(const ImmutableString &string);
118 TString DecorateVariableIfNeeded(const TVariable &variable);
119 TString DecorateFunctionIfNeeded(const TFunction *func);
120 TString DecorateField(const ImmutableString &string, const TStructure &structure);
121 TString DecoratePrivate(const ImmutableString &privateText);
122 TString TypeString(const TType &type);
123 TString StructNameString(const TStructure &structure);
124 TString QualifiedStructNameString(const TStructure &structure,
132 TString DisambiguateFunctionName(const TFunction *func);
133 TString DisambiguateFunctionName(const TIntermSequence *args);
DUtilsHLSL.cpp23 TString *disambiguatingStringOut) in DisambiguateFunctionNameForParameterType()
825 TString DecorateField(const ImmutableString &string, const TStructure &structure) in DecorateField()
832 return TString(string.data()); in DecorateField()
835 TString DecoratePrivate(const ImmutableString &privateText) in DecoratePrivate()
837 return "dx_" + TString(privateText.data()); in DecoratePrivate()
840 TString Decorate(const ImmutableString &string) in Decorate()
844 return "_" + TString(string.data()); in Decorate()
847 return TString(string.data()); in Decorate()
850 TString DecorateVariableIfNeeded(const TVariable &variable) in DecorateVariableIfNeeded()
860 return TString(name.data()); in DecorateVariableIfNeeded()
[all …]
DResourcesHLSL.h41 TString uniformBlocksHeader(
44 TString shaderStorageBlocksHeader(const ReferencedInterfaceBlocks &referencedInterfaceBlocks);
47 static TString InterfaceBlockInstanceString(const ImmutableString &instanceName,
74 TString uniformBlockString(const TInterfaceBlock &interfaceBlock,
78 TString uniformBlockWithOneLargeArrayMemberString(const TInterfaceBlock &interfaceBlock,
83 TString shaderStorageBlockString(const TInterfaceBlock &interfaceBlock,
87 TString uniformBlockMembersString(const TInterfaceBlock &interfaceBlock,
89 TString uniformBlockStructString(const TInterfaceBlock &interfaceBlock);
109 const TString &name,
116 const TMap<const TVariable *, TString> &samplerInStructSymbolsToAPINames,
DResourcesHLSL.cpp40 static TString InterfaceBlockFieldTypeString(const TField &field, in InterfaceBlockFieldTypeString()
52 const TString &matrixPackString = in InterfaceBlockFieldTypeString()
71 static TString InterfaceBlockStructName(const TInterfaceBlock &interfaceBlock) in InterfaceBlockStructName()
102 static TString InterfaceBlockScalarVectorFieldPaddingString(const TType &type) in InterfaceBlockScalarVectorFieldPaddingString()
275 const TString &name, in assignSamplerInStructUniformRegister()
295 const TMap<const TVariable *, TString> &samplerInStructSymbolsToAPINames, in outputHLSLSamplerUniformGroup()
338 TString suffix = TextureGroupSuffix(textureGroup); in outputHLSLSamplerUniformGroup()
400 TString suffix = TextureGroupSuffix(textureGroup); in outputHLSLReadonlyImageUniformGroup()
422 TString suffix = RWTextureGroupSuffix(textureGroup); in outputHLSLImageUniformGroup()
455 const TString &typeName = ((structure && structure->symbolType() != SymbolType::Empty) in outputUniform()
[all …]
DOutputHLSL.h77 TString zeroInitializer(const TType &type) const;
146 TString addStructEqualityFunction(const TStructure &structure);
147 TString addArrayEqualityFunction(const TType &type);
148 TString addArrayAssignmentFunction(const TType &type);
149 TString addArrayConstructIntoFunction(const TType &type);
235 TString structInitializerString(int indent, const TType &type, const TString &name) const;
239 TString functionName;
240 TString functionDefinition;
275 TString generateStructMapping(const std::vector<MappedStruct> &std140Structs) const;
/external/angle/third_party/vulkan-deps/glslang/src/glslang/HLSL/
DhlslParseHelper.h53 const TString sourceEntryPointName,
70 bool builtInName(const TString&);
72 void handlePragma(const TSourceLoc&, const TVector<TString>&) override;
73 TIntermTyped* handleVariable(const TSourceLoc&, const TString* string);
79 TIntermTyped* handleDotDereference(const TSourceLoc&, TIntermTyped* base, const TString& field);
80 bool isBuiltInMethod(const TSourceLoc&, TIntermTyped* base, const TString& field);
107 void handleSemantic(TSourceLoc, TQualifier&, TBuiltInVariable, const TString& upperCase);
108 void handlePackOffset(const TSourceLoc&, TQualifier&, const glslang::TString& location,
109 const glslang::TString* component);
110 …Register(const TSourceLoc&, TQualifier&, const glslang::TString* profile, const glslang::TString& …
[all …]
/external/deqp-deps/glslang/glslang/HLSL/
DhlslParseHelper.h53 const TString sourceEntryPointName,
70 bool builtInName(const TString&);
72 void handlePragma(const TSourceLoc&, const TVector<TString>&) override;
73 TIntermTyped* handleVariable(const TSourceLoc&, const TString* string);
79 TIntermTyped* handleDotDereference(const TSourceLoc&, TIntermTyped* base, const TString& field);
80 bool isBuiltInMethod(const TSourceLoc&, TIntermTyped* base, const TString& field);
107 void handleSemantic(TSourceLoc, TQualifier&, TBuiltInVariable, const TString& upperCase);
108 void handlePackOffset(const TSourceLoc&, TQualifier&, const glslang::TString& location,
109 const glslang::TString* component);
110 …Register(const TSourceLoc&, TQualifier&, const glslang::TString* profile, const glslang::TString& …
[all …]
/external/angle/third_party/vulkan-deps/glslang/src/glslang/MachineIndependent/
DParseHelper.h82 const TString* entryPoint = nullptr)
127 …virtual void setPragmaCallback(const std::function<void(int, const TVector<TString>&)>& func) { pr… in setPragmaCallback()
133 virtual void handlePragma(const TSourceLoc&, const TVector<TString>&) = 0;
159 …virtual void growGlobalUniformBlock(const TSourceLoc&, TType&, const TString& memberName, TTypeLis…
162 …virtual void growAtomicCounterBlock(int binding, const TSourceLoc&, TType&, const TString& memberN…
165 void renameShaderFunction(TString*& name) const in renameShaderFunction()
208 TString sourceEntryPointName;
213 std::function<void(int, const TVector<TString>&)> pragmaCallback;
224 virtual void parseSwizzleSelector(const TSourceLoc&, const TString&, int size,
305 const TString* entryPoint = nullptr);
[all …]
DInitialize.h66 virtual const TString& getCommonString() const { return commonBuiltins; } in getCommonString()
67 …virtual const TString& getStageString(EShLanguage language) const { return stageBuiltins[language]… in getStageString()
73 TString commonBuiltins;
74 TString stageBuiltins[EShLangCount];
97 void addSubpassSampling(TSampler, const TString& typeName, int version, EProfile profile);
98 void addQueryFunctions(TSampler, const TString& typeName, int version, EProfile profile);
99 void addImageFunctions(TSampler, const TString& typeName, int version, EProfile profile);
100 void addSamplingFunctions(TSampler, const TString& typeName, int version, EProfile profile);
101 void addGatherFunctions(TSampler, const TString& typeName, int version, EProfile profile);
DSymbolTable.h87 explicit TSymbol(const TString *n) : name(n), extensions(0), writable(true) { } in POOL_ALLOCATOR_NEW_DELETE()
91 virtual const TString& getName() const { return *name; } in getName()
92 virtual void changeName(const TString* newName) { name = newName; } in changeName()
95 TString newName(prefix); in addPrefix()
99 virtual const TString& getMangledName() const { return getName(); } in getMangledName()
132 const TString *name;
158 TVariable(const TString *name, const TType& t, bool uT = false )
224 TString *name;
248 TFunction(const TString *name, const TType& retType, TOperator tOp = EOpNull) :
291 virtual void removePrefix(const TString& prefix) in removePrefix()
[all …]
/external/deqp-deps/glslang/glslang/MachineIndependent/
DParseHelper.h82 const TString* entryPoint = nullptr)
126 …virtual void setPragmaCallback(const std::function<void(int, const TVector<TString>&)>& func) { pr… in setPragmaCallback()
132 virtual void handlePragma(const TSourceLoc&, const TVector<TString>&) = 0;
159 …virtual void growGlobalUniformBlock(const TSourceLoc&, TType&, const TString& memberName, TTypeLis…
163 void renameShaderFunction(TString*& name) const in renameShaderFunction()
206 TString sourceEntryPointName;
211 std::function<void(int, const TVector<TString>&)> pragmaCallback;
222 virtual void parseSwizzleSelector(const TSourceLoc&, const TString&, int size,
286 const TString* entryPoint = nullptr);
296 void reservedErrorCheck(const TSourceLoc&, const TString&);
[all …]
DInitialize.h66 virtual const TString& getCommonString() const { return commonBuiltins; } in getCommonString()
67 …virtual const TString& getStageString(EShLanguage language) const { return stageBuiltins[language]… in getStageString()
73 TString commonBuiltins;
74 TString stageBuiltins[EShLangCount];
97 void addSubpassSampling(TSampler, const TString& typeName, int version, EProfile profile);
98 void addQueryFunctions(TSampler, const TString& typeName, int version, EProfile profile);
99 void addImageFunctions(TSampler, const TString& typeName, int version, EProfile profile);
100 void addSamplingFunctions(TSampler, const TString& typeName, int version, EProfile profile);
101 void addGatherFunctions(TSampler, const TString& typeName, int version, EProfile profile);
DSymbolTable.h87 explicit TSymbol(const TString *n) : name(n), extensions(0), writable(true) { } in POOL_ALLOCATOR_NEW_DELETE()
91 virtual const TString& getName() const { return *name; } in getName()
92 virtual void changeName(const TString* newName) { name = newName; } in changeName()
95 TString newName(prefix); in addPrefix()
99 virtual const TString& getMangledName() const { return getName(); } in getMangledName()
132 const TString *name;
158 TVariable(const TString *name, const TType& t, bool uT = false )
224 TString *name;
248 TFunction(const TString *name, const TType& retType, TOperator tOp = EOpNull) :
291 virtual void removePrefix(const TString& prefix) in removePrefix()
[all …]
/external/lua/src/
Dlstring.c38 #define MAXSTRTB cast_int(luaM_limitN(MAX_INT, TString*))
44 int luaS_eqlngstr (TString *a, TString *b) { in luaS_eqlngstr()
62 unsigned int luaS_hashlongstr (TString *ts) { in luaS_hashlongstr()
74 static void tablerehash (TString **vect, int osize, int nsize) { in tablerehash()
79 TString *p = vect[i]; in tablerehash()
82 TString *hnext = p->u.hnext; /* save next */ in tablerehash()
100 TString **newvect; in luaS_resize()
103 newvect = luaM_reallocvector(L, tb->hash, osize, nsize, TString*); in luaS_resize()
139 tb->hash = luaM_newvector(L, MINSTRTABSIZE, TString*); in luaS_init()
155 static TString *createstrobj (lua_State *L, size_t l, int tag, unsigned int h) { in createstrobj()
[all …]
Dlstring.h26 #define sizelstring(l) (offsetof(TString, contents) + ((l) + 1) * sizeof(char))
46 LUAI_FUNC unsigned int luaS_hashlongstr (TString *ts);
47 LUAI_FUNC int luaS_eqlngstr (TString *a, TString *b);
51 LUAI_FUNC void luaS_remove (lua_State *L, TString *ts);
53 LUAI_FUNC TString *luaS_newlstr (lua_State *L, const char *str, size_t l);
54 LUAI_FUNC TString *luaS_new (lua_State *L, const char *str);
55 LUAI_FUNC TString *luaS_createlngstrobj (lua_State *L, size_t l);
/external/swiftshader/src/OpenGL/compiler/
DParseHelper.h114 …const TVariable *getNamedVariable(const TSourceLoc &location, const TString *name, const TSymbol *…
116 bool parseVectorFields(const TString&, int vecSize, TVectorFields&, const TSourceLoc &line);
118 bool reservedErrorCheck(const TSourceLoc &line, const TString& identifier);
119 void assignError(const TSourceLoc &line, const char* op, TString left, TString right);
120 void unaryOpError(const TSourceLoc &line, const char* op, TString operand);
121 void binaryOpError(const TSourceLoc &line, const char* op, TString left, TString right);
131 bool voidErrorCheck(const TSourceLoc&, const TString&, const TBasicType&);
138 …bool nonInitConstErrorCheck(const TSourceLoc &line, TString& identifier, TPublicType& type, bool a…
139 bool nonInitErrorCheck(const TSourceLoc &line, const TString& identifier, TPublicType& type);
141 bool extensionErrorCheck(const TSourceLoc &line, const TString&);
[all …]
DTypes.h31 TField(TType *type, TString *name, const TSourceLoc &line) in POOL_ALLOCATOR_NEW_DELETE()
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 POOL_ALLOCATOR_NEW_DELETE()
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 …]
/external/deqp-deps/glslang/glslang/Include/
DCommon.h128 typedef std::basic_string <char, std::char_traits<char>, TStringAllocator> TString; typedef
135 template<> struct hash<glslang::TString> {
136 std::size_t operator()(const glslang::TString& s) const
156 inline TString* NewPoolTString(const char* s)
158 void* memory = GetThreadPoolAllocator().allocate(sizeof(TString));
159 return new(memory) TString(s);
213 inline const TString String(const int i, const int base = 10)
220 inline const TString String(const int i, const int /*base*/ = 10)
241 TString qstr = quoteStringName ? ("\"" + *name + "\"") : *name;
254TString* name; // descriptive name for this string, when a textual name is available, otherwise nu…
[all …]
/external/angle/third_party/vulkan-deps/glslang/src/glslang/Include/
DCommon.h128 typedef std::basic_string <char, std::char_traits<char>, TStringAllocator> TString; typedef
135 template<> struct hash<glslang::TString> {
136 std::size_t operator()(const glslang::TString& s) const
156 inline TString* NewPoolTString(const char* s)
158 void* memory = GetThreadPoolAllocator().allocate(sizeof(TString));
159 return new(memory) TString(s);
217 inline const TString String(const int i, const int base = 10)
224 inline const TString String(const int i, const int /*base*/ = 10)
245 TString qstr = quoteStringName ? ("\"" + *name + "\"") : *name;
258TString* name; // descriptive name for this string, when a textual name is available, otherwise nu…
[all …]
/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()

1234567