Home
last modified time | relevance | path

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

/external/javapoet/src/test/java/com/squareup/javapoet/
DNameAllocatorTest.java27 NameAllocator nameAllocator = new NameAllocator(); in usage() local
28 assertThat(nameAllocator.newName("foo", 1)).isEqualTo("foo"); in usage()
29 assertThat(nameAllocator.newName("bar", 2)).isEqualTo("bar"); in usage()
30 assertThat(nameAllocator.get(1)).isEqualTo("foo"); in usage()
31 assertThat(nameAllocator.get(2)).isEqualTo("bar"); in usage()
35 NameAllocator nameAllocator = new NameAllocator(); in nameCollision() local
36 assertThat(nameAllocator.newName("foo")).isEqualTo("foo"); in nameCollision()
37 assertThat(nameAllocator.newName("foo")).isEqualTo("foo_"); in nameCollision()
38 assertThat(nameAllocator.newName("foo")).isEqualTo("foo__"); in nameCollision()
42 NameAllocator nameAllocator = new NameAllocator(); in nameCollisionWithTag() local
[all …]
/external/deqp/framework/randomshaders/
DrsgVariableManager.cpp224 VariableManager::VariableManager (NameAllocator& nameAllocator) in VariableManager() argument
229 , m_nameAllocator (nameAllocator) in VariableManager()
DrsgVariableManager.hpp196 VariableManager (NameAllocator& nameAllocator);