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.java25 NameAllocator nameAllocator = new NameAllocator(); in usage() local
26 assertThat(nameAllocator.newName("foo", 1)).isEqualTo("foo"); in usage()
27 assertThat(nameAllocator.newName("bar", 2)).isEqualTo("bar"); in usage()
28 assertThat(nameAllocator.get(1)).isEqualTo("foo"); in usage()
29 assertThat(nameAllocator.get(2)).isEqualTo("bar"); in usage()
33 NameAllocator nameAllocator = new NameAllocator(); in nameCollision() local
34 assertThat(nameAllocator.newName("foo")).isEqualTo("foo"); in nameCollision()
35 assertThat(nameAllocator.newName("foo")).isEqualTo("foo_"); in nameCollision()
36 assertThat(nameAllocator.newName("foo")).isEqualTo("foo__"); in nameCollision()
40 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);