Searched refs:nameLengthWithoutArrayIndex (Results 1 – 4 of 4) sorted by relevance
/external/angle/src/common/ |
D | utilities_unittest.cpp | 93 size_t nameLengthWithoutArrayIndex; in TEST() local 94 EXPECT_EQ(GL_INVALID_INDEX, gl::ParseArrayIndex("foo", &nameLengthWithoutArrayIndex)); in TEST() 95 EXPECT_EQ(3u, nameLengthWithoutArrayIndex); in TEST() 101 size_t nameLengthWithoutArrayIndex; in TEST() local 102 EXPECT_EQ(GL_INVALID_INDEX, gl::ParseArrayIndex("", &nameLengthWithoutArrayIndex)); in TEST() 103 EXPECT_EQ(0u, nameLengthWithoutArrayIndex); in TEST() 109 size_t nameLengthWithoutArrayIndex; in TEST() local 110 EXPECT_EQ(123u, gl::ParseArrayIndex("foo[123]", &nameLengthWithoutArrayIndex)); in TEST() 111 EXPECT_EQ(3u, nameLengthWithoutArrayIndex); in TEST() 117 size_t nameLengthWithoutArrayIndex; in TEST() local [all …]
|
/external/angle/src/libANGLE/ |
D | ProgramExecutable.cpp | 424 size_t nameLengthWithoutArrayIndex; in GetVariableLocation() local 425 unsigned int arrayIndex = ParseArrayIndex(name, &nameLengthWithoutArrayIndex); in GetVariableLocation() 444 angle::BeginsWith(variable.name, name, nameLengthWithoutArrayIndex)) in GetVariableLocation() 491 size_t nameLengthWithoutArrayIndex; in GetUniformLocation() local 492 unsigned int arrayIndex = ParseArrayIndex(name, &nameLengthWithoutArrayIndex); in GetUniformLocation() 527 nameLengthWithoutArrayIndex + 3u == uniformName.length() && in GetUniformLocation() 528 angle::BeginsWith(uniformName, name, nameLengthWithoutArrayIndex)) in GetUniformLocation() 530 ASSERT(name.substr(0u, nameLengthWithoutArrayIndex) + "[0]" == uniformName); in GetUniformLocation() 1595 size_t nameLengthWithoutArrayIndex; in linkValidateOutputVariables() local 1596 unsigned int arrayIndex = ParseArrayIndex(name, &nameLengthWithoutArrayIndex); in linkValidateOutputVariables() [all …]
|
D | Program.cpp | 391 size_t nameLengthWithoutArrayIndex; in bindLocation() local 392 unsigned int arrayIndex = ParseArrayIndex(name, &nameLengthWithoutArrayIndex); in bindLocation() 395 std::string baseName = name.substr(0u, nameLengthWithoutArrayIndex); in bindLocation() 430 size_t nameLengthWithoutArrayIndex; in getBinding() local 431 unsigned int arrayIndex = ParseArrayIndex(name, &nameLengthWithoutArrayIndex); in getBinding() 434 std::string baseName = name.substr(0u, nameLengthWithoutArrayIndex); in getBinding()
|
D | ProgramLinkedResources.cpp | 671 size_t nameLengthWithoutArrayIndex; in getBlockSize() local 672 ParseArrayIndex(name, &nameLengthWithoutArrayIndex); in getBlockSize() 673 std::string baseName = name.substr(0u, nameLengthWithoutArrayIndex); in getBlockSize()
|