Lines Matching defs:set
44 * A string set that takes up minimal size when there are 0 or 1 strings in the
45 * set. Use for cases where sizes of 0 and 1 are even slightly common.
55 * Put a string into the set
61 * Remove a string from the set
67 * Check if the set contains a particular string
69 * @return whether the string is in the set
73 nsStringHashSet* set = GetHash();
75 if (set) {
76 return set->Contains(aVal);
119 * An integer set that takes up only 4 bytes when there are 0 or 1 integers
120 * in the set. Use for cases where sizes of 0 and 1 are even slightly common.
130 * Put an int into the set
135 * Remove a int from the set
141 * Check if the set contains a particular int
143 * @return whether the int is in the set
147 nsInt32HashSet* set = GetHash();
148 if (set) {
149 return set->Contains(aVal);