Searched refs:nameAllocator (Results 1 – 3 of 3) sorted by relevance
25 NameAllocator nameAllocator = new NameAllocator(); in usage() local26 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() local34 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 …]
224 VariableManager::VariableManager (NameAllocator& nameAllocator) in VariableManager() argument229 , m_nameAllocator (nameAllocator) in VariableManager()
196 VariableManager (NameAllocator& nameAllocator);