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