Searched refs:occurrences (Results 1 - 4 of 4) sorted by relevance

/opengrok-jel/test/org/opensolaris/opengrok/analysis/
H A DDefinitionsTest.java103 * Test of occurrences method, of class Definitions.
106 public void occurrences() { method in class:DefinitionsTest
111 assertEquals(instance.occurrences("one"), 1);
112 assertEquals(instance.occurrences("two"), 2);
113 assertEquals(instance.occurrences("notFound"), 0);
/opengrok-jel/src/org/opensolaris/opengrok/analysis/
H A DDefinitions.java113 * Return the number of occurrences of definitions with the specified
115 * @param symbol the symbol to count the occurrences of
118 public int occurrences(String symbol) { method in class:Definitions
H A DJFlexXref.java559 } else if (defs != null && defs.occurrences(symbol) == 1) {
/opengrok-jel/src/org/opensolaris/opengrok/web/
H A DSearchHelper.java270 if (tags.occurrences(symbol) == 1) {

Completed in 70 milliseconds