Searched refs:ParseArrayIndex (Results 1 – 6 of 6) sorted by relevance
/external/angle/src/common/ |
D | utilities_unittest.cpp | 79 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 …]
|
D | utilities.h | 128 unsigned int ParseArrayIndex(const std::string &name, size_t *nameLengthWithoutArrayIndexOut);
|
D | utilities.cpp | 994 unsigned int ParseArrayIndex(const std::string &name, size_t *nameLengthWithoutArrayIndexOut) in ParseArrayIndex() function
|
/external/angle/src/libANGLE/ |
D | Program.cpp | 136 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()
|
D | ProgramExecutable.cpp | 1367 unsigned int arrayIndex = ParseArrayIndex(name, &nameLengthWithoutArrayIndex); in linkValidateOutputVariables()
|
D | ProgramLinkedResources.cpp | 647 ParseArrayIndex(name, &nameLengthWithoutArrayIndex); in getBlockSize()
|