/external/guava/guava-tests/test/com/google/common/collect/ |
ForwardingSetTest.java | 33 import java.util.Set; 43 private final Set<T> backingSet; 45 StandardImplForwardingSet(Set<T> backingSet) { 49 @Override protected Set<T> delegate() { 105 Set<String> forward; 113 @Override protected Set<String> create(String[] elements) { 124 @Override protected Set<String> create(String[] elements) { 144 final Set<String> set = createProxyInstance(Set.class) local [all...] |
LinkedHashMultimapTest.java | 48 import java.util.Set; 306 Set<Entry<String, Integer>> set = Sets.newLinkedHashSet(asList( local 313 new IteratorTester<Entry<String, Integer>>(6, MODIFIABLE, set, 399 Set<Entry<String, Collection<Integer>>> set = newLinkedHashSet(asList( local 411 new IteratorTester<Entry<String, Collection<Integer>>>(6, MODIFIABLE, set,
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
JdkFutureAdaptersTest.java | 58 abstractFuture.set(DATA1); 68 assertTrue(listenableFuture.isDone()); // We call AbstractFuture#set above. 71 // already finished (we explicitly set the result of it above). 99 abstractFuture.set(DATA1); 139 abstractFuture.set(DATA1); 163 void set(V value) { method in class:JdkFutureAdaptersTest.NonListenableSettableFuture 164 delegate.set(value); 181 * value is set in addition to the call we'll make after then.
|
/external/harfbuzz_ng/src/ |
hb-common.cc | 505 hb_user_data_array_t::set (hb_user_data_key_t *key, function in class:hb_user_data_array_t
|
/external/icu/icu4c/source/common/ |
uset.cpp | 42 uset_close(USet* set) { 43 delete (UnicodeSet*) set; 47 uset_clone(const USet *set) { 48 return (USet*) (((UnicodeSet*) set)->UnicodeSet::clone()); 52 uset_isFrozen(const USet *set) { 53 return ((UnicodeSet*) set)->UnicodeSet::isFrozen(); 57 uset_freeze(USet *set) { 58 ((UnicodeSet*) set)->UnicodeSet::freeze(); 62 uset_cloneAsThawed(const USet *set) { 63 return (USet*) (((UnicodeSet*) set)->UnicodeSet::cloneAsThawed()) 264 const UnicodeSet& set = *(const UnicodeSet*)uset; local 274 const UnicodeSet& set = *(const UnicodeSet*)uset; local [all...] |
/external/icu/icu4c/source/i18n/ |
regexcmp.cpp | 94 static inline void addCategory(UnicodeSet *set, int32_t value, UErrorCode& ec) { 95 set->addAll(UnicodeSet().applyIntPropertyValue(UCHAR_GENERAL_CATEGORY_MASK, value, ec)); 196 // Table row specified an individual character, not a set, and 219 // Table row specified a character class, or set of characters, 280 // Set stack cleanup: a successful compile would have left it empty, 319 // Set up fast latin-1 range sets 773 // 2. LOOP_SR_I set number (assuming repeated item is a set ref) 784 // Emit optimized code for [char set]+ 1536 UnicodeSet *set = (UnicodeSet *)fSetStack.peek(); local 1543 UnicodeSet *set = (UnicodeSet *)fSetStack.peek(); local 1550 UnicodeSet *set = (UnicodeSet *)fSetStack.peek(); local 1559 UnicodeSet *set = (UnicodeSet *)fSetStack.peek(); local 1567 UnicodeSet *set = (UnicodeSet *)fSetStack.peek(); local 1578 UnicodeSet *set = (UnicodeSet *)fSetStack.peek(); local 1588 UnicodeSet *set = (UnicodeSet *)fSetStack.peek(); local 1599 UnicodeSet *set = (UnicodeSet *)fSetStack.peek(); local 1608 UnicodeSet *set = (UnicodeSet *)fSetStack.peek(); local 1620 UnicodeSet *set = (UnicodeSet *)fSetStack.peek(); local 1627 UnicodeSet *set = (UnicodeSet *)fSetStack.peek(); local [all...] |
repattrn.cpp | 183 fPattern = NULL; // will be set later 184 fPatternString = NULL; // may be set later 776 UnicodeSet *set = (UnicodeSet *)fSets->elementAt(val); local 777 set->toPattern(s, TRUE); 792 UnicodeSet *set = fStaticSets[val]; local 793 set->toPattern(s, TRUE);
|
scriptset.cpp | 74 ScriptSet &ScriptSet::set(UScriptCode script, UErrorCode &status) { function in class:ScriptSet 120 t.set(script, status); 230 this->set((UScriptCode)sc, status);
|
ucol.cpp | 272 // enum will not changes. They are set so that the enum value 608 UnicodeSet *set = Collator::fromUCollator(coll)->getTailoredSet(*status); local 610 delete set; 613 return set->toUSet();
|
/external/icu/icu4c/source/test/cintltst/ |
spooftest.c | 224 * Set & Get Check Flags 316 * get & set Checks 388 * AllowedChars set/get the USet of allowed characters. 391 const USet *set; local 396 set = uspoof_getAllowedChars(sc, &status); 399 TEST_ASSERT(uset_equals(tmpSet, set)); 405 /* Remove a character that is in our good Latin test identifier from the allowed chars set. */
|
usettest.c | 26 static void expect(const USet* set, 30 static void expectContainment(const USet* set, 34 static void expectItems(const USet* set, 81 USet* set; local 86 set = uset_openEmpty(); 87 expect(set, "", "abc{ab}", NULL); 88 uset_close(set); 90 set = uset_open(1, 0); 91 expect(set, "", "abc{ab}", NULL); 92 uset_close(set); 478 USet *set; local 528 USet *set = uset_openPattern(buf, len, &ec); local [all...] |
/external/icu/icu4c/source/test/intltest/ |
fldset.cpp | 172 void FieldsSet::set(int32_t field, int32_t amount) { function in class:FieldsSet 221 set(field, value); 227 set(field, value); 259 * set the specified fields on this calendar. Doesn't clear first. Returns any errors the caller 265 cal->set((UCalendarDateFields)i, value); 286 diffSet.set((UCalendarDateFields)i, calVal); 339 set(field, get(field) | UDAT_RELATIVE);
|
/external/icu/icu4c/source/test/perf/unisetperf/ |
unisetperf.cpp | 52 set.applyPattern(pattern, status); 53 prefrozen=set; 55 set.freeze(); 90 // Count spans of characters that are in the set, 91 // and spans of characters that are not in the set. 92 // If the very first character is in the set, then one additional 110 if(tf!=set.contains(c)) { 127 UnicodeSet set; member in class:UnicodeSetPerformanceTest 157 // Verify that the frozen set is equal to the unfrozen one. 158 UnicodeSet set; local 175 const UnicodeSet &set=testcase.set; local 208 UnicodeSet set; local 237 const UnicodeSet &set=testcase.set; local 259 UnicodeSet set; local 288 const UnicodeSet &set=testcase.set; local 314 UnicodeSet set; local 338 const UnicodeSet &set=testcase.set; local 360 UnicodeSet set; local 384 const UnicodeSet &set=testcase.set; local [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
JavaTimeZone.java | 129 javacal.set(fields[0], fields[1], fields[2], hour, min, sec); 130 javacal.set(java.util.Calendar.MILLISECOND, mil);
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
FilteredNormalizer2.java | 15 * Normalizes portions of the text contained in the filter set and leaves 16 * portions not contained in the filter set unchanged. 27 * and a filter set. 30 * The filter set should be frozen; otherwise the performance will suffer greatly. 37 set=filterSet; 89 return set.contains(c) ? norm2.getDecomposition(c) : null; 98 return set.contains(c) ? norm2.getRawDecomposition(c) : null; 107 return (set.contains(a) && set.contains(b)) ? norm2.composePair(a, b) : -1; 116 return set.contains(c) ? norm2.getCombiningClass(c) : 0 301 private UnicodeSet set; field in class:FilteredNormalizer2 [all...] |
IdentifierInfo.java | 13 import java.util.Set; 46 private final Set<BitSet> scriptSetSet = new HashSet<BitSet>(); 71 * Set the identifier profile: the characters that are to be allowed in the identifier. 81 this.identifierProfile.set(identifierProfile); 99 * Set an identifier to analyze. Afterwards, call methods like getScripts() 124 // requiredScripts.set(UScript.getScript(cp)); 145 commonAmongAlternates.set(0, UScript.CODE_LIMIT); 184 * @return the set of explicit scripts. 194 * Get the set of alternate scripts found in the identifiers. That is, when a character can be in two scripts, then 195 * the set consisting of those scripts will be returned 462 public static final BitSet set(BitSet bitset, int... values) { method in class:IdentifierInfo [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
EasterHoliday.java | 274 cal.set(Calendar.ERA, GregorianCalendar.AD); 275 cal.set(Calendar.YEAR, year); 276 cal.set(Calendar.MONTH, m-1); // 0-based 277 cal.set(Calendar.DATE, d);
|
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/icuadapter/ |
TimeZoneJDK.java | 126 fJdkCal.set(fields[0], fields[1], fields[2], hour, min, sec); 127 fJdkCal.set(java.util.Calendar.MILLISECOND, mil);
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
DataDrivenFormatTest.java | 139 cal.set(q,addSet.get(q));
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timescale/ |
TimeScaleDataTest.java | 229 cal.set((int)dotNetDateTimeTicks[i + kYear],
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
LocaleDataTest.java | 137 // We keep a set of combinations that have already been tested, to 139 // Instances of this class must be well behaved as members of a set. 142 private UnicodeSet set; field in class:LocaleDataTest.ExemplarGroup 145 set = s; 158 set.equals(o.set); 228 // Note: The case-folded set should sometimes be a strict superset 309 // Note: The case-folded set should sometimes be a strict superset 345 UnicodeSet set = LocaleData.getExemplarSet(loc, 0, testTypes[i]); local 346 if (set == null) [all...] |
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/ |
Relation.java | 20 import java.util.Set; 25 * A Relation is a set of mappings from keys to values. 32 private Map<K, Set<V>> data; 34 Constructor<Set<V>> setCreator; 37 public static <K,V> Relation<K, V> of(Map<K, Set<V>> map, Class<?> setCreator) { 41 public static <K,V> Relation<K, V> of(Map<K, Set<V>> map, Class setCreator, Comparator<V> setComparator) { 45 public Relation(Map<K, Set<V>> map, Class<Set<V>> setCreator) { 49 public Relation(Map<K, Set<V>> map, Class<Set<V>> setCreator, Comparator<V> setComparator) 136 Set<V> set = data.get(key); local 145 Set<V> set = data.get(key); local 193 Set<V> set = data.get(key); local [all...] |
Tabber.java | 177 parameters.set(count,params);
|
/external/javassist/src/main/javassist/util/ |
HotSwapper.java | 35 * the same set of methods and fields as the original definition. The 171 Set set = classFiles.entrySet(); local 172 Iterator it = set.iterator();
|
/external/jetty/src/java/org/eclipse/jetty/util/resource/ |
ResourceCollection.java | 194 throw new IllegalStateException("*resources* not set."); 295 throw new IllegalStateException("*resources* not set."); 305 throw new IllegalStateException("*resources* not set."); 321 throw new IllegalStateException("*resources* not set."); 337 throw new IllegalStateException("*resources* not set."); 353 throw new IllegalStateException("*resources* not set."); 369 throw new IllegalStateException("*resources* not set."); 385 throw new IllegalStateException("*resources* not set."); 395 throw new IllegalStateException("*resources* not set."); 421 throw new IllegalStateException("*resources* not set.") 423 HashSet<String> set = new HashSet<String>(); local [all...] |