Home
last modified time | relevance | path

Searched refs:nameLengthWithoutArrayIndex (Results 1 – 3 of 3) sorted by relevance

/device/generic/vulkan-cereal/third-party/angle/src/common/
Dutilities_unittest.cpp81 size_t nameLengthWithoutArrayIndex; in TEST() local
82 EXPECT_EQ(GL_INVALID_INDEX, gl::ParseArrayIndex("foo", &nameLengthWithoutArrayIndex)); in TEST()
83 EXPECT_EQ(3u, nameLengthWithoutArrayIndex); in TEST()
89 size_t nameLengthWithoutArrayIndex; in TEST() local
90 EXPECT_EQ(GL_INVALID_INDEX, gl::ParseArrayIndex("", &nameLengthWithoutArrayIndex)); in TEST()
91 EXPECT_EQ(0u, nameLengthWithoutArrayIndex); in TEST()
97 size_t nameLengthWithoutArrayIndex; in TEST() local
98 EXPECT_EQ(123u, gl::ParseArrayIndex("foo[123]", &nameLengthWithoutArrayIndex)); in TEST()
99 EXPECT_EQ(3u, nameLengthWithoutArrayIndex); in TEST()
105 size_t nameLengthWithoutArrayIndex; in TEST() local
[all …]
/device/generic/vulkan-cereal/third-party/angle/src/libANGLE/
DProgram.cpp134 size_t nameLengthWithoutArrayIndex; in GetVariableLocation() local
135 unsigned int arrayIndex = ParseArrayIndex(name, &nameLengthWithoutArrayIndex); in GetVariableLocation()
154 angle::BeginsWith(variable.name, name, nameLengthWithoutArrayIndex)) in GetVariableLocation()
167 size_t nameLengthWithoutArrayIndex; in GetVariableLocation() local
168 unsigned int arrayIndex = ParseArrayIndex(name, &nameLengthWithoutArrayIndex); in GetVariableLocation()
202 nameLengthWithoutArrayIndex + 3u == variable.name.length() && in GetVariableLocation()
203 angle::BeginsWith(variable.name, name, nameLengthWithoutArrayIndex)) in GetVariableLocation()
205 ASSERT(name.substr(0u, nameLengthWithoutArrayIndex) + "[0]" == variable.name); in GetVariableLocation()
985 size_t nameLengthWithoutArrayIndex; in bindLocation() local
986 unsigned int arrayIndex = ParseArrayIndex(name, &nameLengthWithoutArrayIndex); in bindLocation()
[all …]
DProgramLinkedResources.cpp630 size_t nameLengthWithoutArrayIndex; in getBlockSize() local
631 ParseArrayIndex(name, &nameLengthWithoutArrayIndex); in getBlockSize()
632 std::string baseName = name.substr(0u, nameLengthWithoutArrayIndex); in getBlockSize()