Home
last modified time | relevance | path

Searched refs:closePos (Results 1 – 2 of 2) sorted by relevance

/external/angle/src/compiler/translator/
DShaderVars.cpp264 size_t closePos = mappedFullName.find_first_of(']'); in findInfoByMappedName() local
265 if (closePos < pos || closePos == std::string::npos) in findInfoByMappedName()
268 originalName += mappedFullName.substr(pos, closePos - pos + 1); in findInfoByMappedName()
269 if (closePos + 1 == mappedFullName.size()) in findInfoByMappedName()
278 if (mappedFullName[closePos + 1] != '.') in findInfoByMappedName()
280 remaining = mappedFullName.substr(closePos + 2); // Skip "]." in findInfoByMappedName()
DShaderStorageBlockOutputHLSL.cpp158 size_t closePos = name.find(']', pos); in StripArrayIndices() local
159 ASSERT(closePos != std::string::npos); in StripArrayIndices()
160 name.erase(pos, closePos - pos + 1); in StripArrayIndices()