Home
last modified time | relevance | path

Searched refs:ParseArrayIndex (Results 1 – 6 of 6) sorted by relevance

/external/angle/src/common/
Dutilities_unittest.cpp79 TEST(ParseArrayIndex, NoArrayIndex) in TEST() argument
82 EXPECT_EQ(GL_INVALID_INDEX, gl::ParseArrayIndex("foo", &nameLengthWithoutArrayIndex)); in TEST()
87 TEST(ParseArrayIndex, EmptyString) in TEST() argument
90 EXPECT_EQ(GL_INVALID_INDEX, gl::ParseArrayIndex("", &nameLengthWithoutArrayIndex)); in TEST()
95 TEST(ParseArrayIndex, ArrayIndex) in TEST() argument
98 EXPECT_EQ(123u, gl::ParseArrayIndex("foo[123]", &nameLengthWithoutArrayIndex)); in TEST()
103 TEST(ParseArrayIndex, ArrayIndexInMiddle) in TEST() argument
106 EXPECT_EQ(GL_INVALID_INDEX, gl::ParseArrayIndex("foo[123].bar", &nameLengthWithoutArrayIndex)); in TEST()
111 TEST(ParseArrayIndex, TrailingWhitespace) in TEST() argument
114 EXPECT_EQ(GL_INVALID_INDEX, gl::ParseArrayIndex("foo[123] ", &nameLengthWithoutArrayIndex)); in TEST()
[all …]
Dutilities.h128 unsigned int ParseArrayIndex(const std::string &name, size_t *nameLengthWithoutArrayIndexOut);
Dutilities.cpp994 unsigned int ParseArrayIndex(const std::string &name, size_t *nameLengthWithoutArrayIndexOut) in ParseArrayIndex() function
/external/angle/src/libANGLE/
DProgram.cpp136 unsigned int arrayIndex = ParseArrayIndex(name, &nameLengthWithoutArrayIndex); in GetVariableLocation()
169 unsigned int arrayIndex = ParseArrayIndex(name, &nameLengthWithoutArrayIndex); in GetVariableLocation()
718 unsigned int arrayIndex = ParseArrayIndex(name, &nameLengthWithoutArrayIndex); in bindLocation()
757 unsigned int arrayIndex = ParseArrayIndex(name, &nameLengthWithoutArrayIndex); in getBinding()
1871 size_t arrayIndex = ParseArrayIndex(name, &nameLengthWithoutArrayIndexOut); in getResourceLocation()
DProgramExecutable.cpp1367 unsigned int arrayIndex = ParseArrayIndex(name, &nameLengthWithoutArrayIndex); in linkValidateOutputVariables()
DProgramLinkedResources.cpp647 ParseArrayIndex(name, &nameLengthWithoutArrayIndex); in getBlockSize()