Searched refs:ParseArrayIndex (Results 1 – 5 of 5) 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 | 121 unsigned int ParseArrayIndex(const std::string &name, size_t *nameLengthWithoutArrayIndexOut);
|
D | utilities.cpp | 934 unsigned int ParseArrayIndex(const std::string &name, size_t *nameLengthWithoutArrayIndexOut) in ParseArrayIndex() function
|
/external/angle/src/libANGLE/ |
D | Program.cpp | 135 unsigned int arrayIndex = ParseArrayIndex(name, &nameLengthWithoutArrayIndex); in GetVariableLocation() 168 unsigned int arrayIndex = ParseArrayIndex(name, &nameLengthWithoutArrayIndex); in GetVariableLocation() 985 unsigned int arrayIndex = ParseArrayIndex(name, &nameLengthWithoutArrayIndex); in bindLocation() 1023 unsigned int arrayIndex = ParseArrayIndex(name, &nameLengthWithoutArrayIndex); in getBinding() 2191 size_t arrayIndex = ParseArrayIndex(name, &nameLengthWithoutArrayIndexOut); in getResourceLocation() 4649 unsigned int arrayIndex = ParseArrayIndex(binding.first, &nameLengthWithoutArrayIndex); in linkOutputVariables()
|
D | ProgramLinkedResources.cpp | 631 ParseArrayIndex(name, &nameLengthWithoutArrayIndex); in getBlockSize()
|