Lines Matching defs:set
42 nsStringHashSet* set = GetHash();
43 if (set) {
44 delete set;
57 nsStringHashSet* set = GetHash();
58 if (set) {
59 return set->Put(aVal);
65 nsresult rv = InitHash(&set);
68 rv = set->Put(*oldStr);
72 return set->Put(aVal);
75 // Nothing exists in the hash right now, so just set the single string
83 nsStringHashSet* set = GetHash();
84 if (set) {
85 set->Remove(aVal);
122 // Add the value to the hash or set the pointer as an int
123 nsInt32HashSet* set = GetHash();
124 if (set) {
125 return set->Put(aVal);
132 nsresult rv = InitHash(&set);
135 rv = set->Put(oldInt);
138 return set->Put(aVal);
144 nsresult rv = InitHash(&set);
147 return set->Put(aVal);
150 // Finally, just set the int if we can't do anything with hashes
158 nsInt32HashSet* set = GetHash();
159 if (set) {
160 set->Remove(aVal);