/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
ImmutableSet.java | 26 import java.util.Set; 41 implements Set<E> { 43 ImmutableSet(Set<E> delegate) { 51 // Casting to any type is safe because the set will never hold any elements. 117 ImmutableSet<E> set = (ImmutableSet<E>) elements; local 118 return set; 133 Set<E> delegate = Sets.newLinkedHashSet(); 144 static <E> ImmutableSet<E> unsafeDelegate(Set<E> delegate) { 156 // Create the set first, to remove duplicates if necessary. 157 Set<E> set = Sets.newLinkedHashSet() local [all...] |
Iterables.java | 38 import java.util.Set; 189 // Note: Not all random access lists support set() so we need to deal with 199 list.set(to, element); 320 * iterable is a {@link Multiset} or {@link Set}. 328 if ((iterable instanceof Set)) { 329 return ((Set<?>) iterable).contains(element) ? 1 : 0; [all...] |
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/ |
SetGenerators.java | 43 import java.util.Set; 57 @Override protected Set<String> create(String[] elements) { 69 public Set<Object> create(Object... elements) { 79 @Override protected Set<String> create(String[] elements) { 176 @Override public Set<UnhashableObject> create( 193 ImmutableSet<String> set = ImmutableSortedSet.copyOf( local 195 return set.asList(); 244 extends TestUnhashableCollectionGenerator<Set<UnhashableObject>> 252 Set<String> elementsPlus = Sets.newLinkedHashSet();
|
/external/guava/guava-tests/test/com/google/common/collect/ |
ImmutableSetTest.java | 30 import java.util.Set; 42 @Override protected Set<String> of() { 46 @Override protected Set<String> of(String e) { 50 @Override protected Set<String> of(String e1, String e2) { 54 @Override protected Set<String> of(String e1, String e2, String e3) { 58 @Override protected Set<String> of( 63 @Override protected Set<String> of( 68 @Override protected Set<String> of(String e1, String e2, String e3, 73 @Override protected Set<String> copyOf(String[] elements) { 77 @Override protected Set<String> copyOf(Collection<String> elements) 90 ImmutableSet<String> set = ImmutableSet.copyOf(Lists.newArrayList("a", "a")); local 97 ImmutableSet<String> set = ImmutableSet.of( local 106 ImmutableSet<String> set = ImmutableSet.of( local 113 Set<String[]> set = ImmutableSet.<String[]>of(array); local 114 assertEquals(Collections.singleton(array), set); local 159 ImmutableSet<Integer> set = builder.build(); local 177 ImmutableSet<String> set = ImmutableSet.of("a", "b", "c", "d", "e"); local 184 ImmutableSet<String> set = ImmutableSet.of("a", "b", "c", "d", "e"); local [all...] |
/external/icu4c/i18n/ |
astro.h | 31 * and time for which its calculations are performed. You can set and 96 void set(double lat, double lon) { function in class:CalendarAstronomer::Ecliptic 163 void set(double asc, double dec) { function in class:CalendarAstronomer::Equatorial 237 void set(double alt, double azim) { function in class:CalendarAstronomer::Horizon 303 * latitude and longitude. The object's time is set to the current 328 * Set the current date and time of this <code>CalendarAstronomer</code> object. All 342 * Set the current date and time of this <code>CalendarAstronomer</code> object. All 354 * Set the current date and time of this <code>CalendarAstronomer</code> object. All 535 * this calendar is currently set. 537 * NOTE: This method only works well if this object is set to 590 void set(double l) { value = l; } function in class:CalendarAstronomer::MoonAge [all...] |
cpdtrans.cpp | 80 Transliterator(id, 0), // set filter to 0 here! 132 * constructors. Before calling init(), set trans and filter to NULL. 177 * constructors. Before calling init(), set trans and filter to NULL. 373 // First free trans[] and set count to zero. Once this is done, 374 // orphan the filter. Set up the new trans[]. 441 UnicodeSet set; local 444 result.addAll(trans[i]->getSourceSet(set)); 446 // Hiragana-Katakana; Katakana-Latin. The source set of 448 // But the source set for the entire transliterator is 450 // non-empty source set 463 UnicodeSet set; local [all...] |
/external/icu4c/test/intltest/ |
canittst.cpp | 146 Hashtable *set = new Hashtable(FALSE, status); local 147 set->setValueDeleter(uprv_deleteUObject); 155 set->removeAll(); 162 set->put(result, new UnicodeString(result), status); // Add result to the table 166 expectEqual(i + UnicodeString(": "), testStr, collectionToString(set), CharsToUnicodeString(testArray[i][1])); 172 delete set; 223 // set up for readable display
|
trnserr.cpp | 110 errln("FAIL: Error code wasn't set either."); 122 errln("FAIL: Error code wasn't set either."); 157 errln("FAIL: The parse error offset isn't set correctly when fails."); 169 UnicodeSet set; local 173 if (!set.isEmpty()) { 176 set.applyPattern(badPattern, status); 219 /*UnicodeSet *set = new UnicodeSet(goodPattern, status); 227 //delete set;
|
/external/javassist/src/main/javassist/bytecode/ |
AttributeInfo.java | 161 public void set(byte[] newinfo) { info = newinfo; } method in class:AttributeInfo
|
/external/jmonkeyengine/engine/src/core/com/jme3/animation/ |
CompactArray.java | 118 public final void set(int index, T value) {
method in class:CompactArray
|
/external/jmonkeyengine/engine/src/core/com/jme3/effect/influencers/ |
NewtonianParticleInfluencer.java | 41 temp.set(particle.velocity.z * surfaceTangentFactor, particle.velocity.y * surfaceTangentFactor, -particle.velocity.x * surfaceTangentFactor); 110 temp.set(FastMath.nextRandomFloat() * velocityVariation, FastMath.nextRandomFloat() * velocityVariation, FastMath.nextRandomFloat() * velocityVariation);
|
/external/jmonkeyengine/engine/src/core/com/jme3/scene/ |
AssetLinkNode.java | 142 Set<Entry<ModelKey, Spatial>> set = assetChildren.entrySet(); local 143 for (Iterator<Entry<ModelKey, Spatial>> it = set.iterator(); it.hasNext();) {
|
/external/jmonkeyengine/engine/src/core/com/jme3/scene/shape/ |
AbstractBox.java | 156 * Rebuilds this box based on a new set of parameters. 167 if (center != null) {this.center.set(center); } 175 * Rebuilds this box based on a new set of parameters. 184 center.set(maxPoint).addLocal(minPoint).multLocal(0.5f); 198 center.set((Vector3f) capsule.readSavable("center", Vector3f.ZERO.clone()));
|
/external/jmonkeyengine/engine/src/core/com/jme3/shader/ |
DefineList.java | 90 // public void set(String key, String val){ 95 public boolean set(String key, VarType type, Object val){ method in class:DefineList
|
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/node/ |
ACallCommand.java | 161 i.set((TWord) newChild); 179 i.set((PExpression) newChild);
|
AFunctionExpression.java | 130 i.set((PExpression) newChild);
|
/external/kernel-headers/original/linux/ |
moduleparam.h | 39 param_set_fn set; member in struct:kernel_param 55 param_set_fn set; member in struct:kparam_array 65 #define __module_param_call(prefix, name, set, get, arg, perm) \ 70 = { __param_str_##name, perm, set, get, arg } 72 #define module_param_call(name, set, get, arg, perm) \ 73 __module_param_call(MODULE_PARAM_PREFIX, name, set, get, arg, perm) 147 /* Comma-separated array: *nump is set to number they actually specified. */
|
/external/libphonenumber/java/test/com/android/i18n/phonenumbers/geocoding/ |
MappingFileProviderTest.java | 28 import java.util.Set; 44 SortedMap<Integer, Set<String>> mapping = new TreeMap<Integer, Set<String>>(); 54 HashSet<String> set = new HashSet<String>(); local 55 set.addAll(Arrays.asList(strings)); 56 return set;
|
/external/llvm/lib/DebugInfo/ |
DWARFDebugAranges.cpp | 29 void operator()(const DWARFDebugArangeSet &Set) { 30 Count += Set.getNumDescriptors(); 41 void operator()(const DWARFDebugArangeSet &Set) { 43 Range.Offset = Set.getCompileUnitDIEOffset(); 46 for (uint32_t i = 0, n = Set.getNumDescriptors(); i < n; ++i) { 48 Set.getDescriptor(i); 73 DWARFDebugArangeSet set; local 75 while (set.extract(debug_aranges_data, &offset)) 76 sets.push_back(set);
|
/external/lzma/CPP/Common/ |
CommandLineParser.cpp | 149 UString set = switchForm.PostCharSet;
local 155 int index = set.Find(s[pos]);
|
/external/mesa3d/src/gallium/state_trackers/clover/core/ |
kernel.cpp | 184 _cl_kernel::argument::set() const { function in class:_cl_kernel::argument 198 _cl_kernel::scalar_argument::set(size_t size, const void *value) { function in class:_cl_kernel::scalar_argument 220 _cl_kernel::global_argument::set(size_t size, const void *value) { function in class:_cl_kernel::global_argument 256 _cl_kernel::local_argument::set(size_t size, const void *value) { function in class:_cl_kernel::local_argument 284 _cl_kernel::constant_argument::set(size_t size, const void *value) { function in class:_cl_kernel::constant_argument 314 _cl_kernel::image_rd_argument::set(size_t size, const void *value) { function in class:_cl_kernel::image_rd_argument 344 _cl_kernel::image_wr_argument::set(size_t size, const void *value) { function in class:_cl_kernel::image_wr_argument 374 _cl_kernel::sampler_argument::set(size_t size, const void *value) { function in class:_cl_kernel::sampler_argument
|
/external/nist-sip/java/gov/nist/javax/sip/header/ims/ |
PChargingFunctionAddresses.java | 104 * <p>Set the Charging Collection Function (CCF) Address</p> 106 * @param ccfAddress - the address to set in the CCF parameter 124 * @param ccfAddress - the address to set in the CCF parameter 134 this.parameters.set(ParameterNamesIms.CCF, ccfAddress); 139 * <p>Remove a Charging Collection Function (CCF) Address set in this header</p> 160 * <p>Get all the Charging Collection Function (CCF) Addresses set in this header</p> 187 * <p>Set the Event Charging Function (ECF) Address</p> 189 * @param ecfAddress - the address to set in the ECF parameter 207 * @param ecfAddress - the address to set in the ECF parameter 217 this.parameters.set(ParameterNamesIms.ECF, ecfAddress) [all...] |
/external/okhttp/src/main/java/com/squareup/okhttp/ |
Response.java | 26 import java.util.Set; 84 public Set<String> headerNames() { 188 headers.set(name, value); 194 * multiply-valued headers like "Set-Cookie".
|
/external/okhttp/src/main/java/com/squareup/okhttp/internal/spdy/ |
Settings.java | 53 private int set; field in class:Settings 64 void set(int id, int idFlags, int value) { method in class:Settings 70 set |= bit; 88 return (set & bit) != 0; 106 return Integer.bitCount(set); 111 return (bit & set) != 0 ? values[UPLOAD_BANDWIDTH] : defaultValue; 116 return (bit & set) != 0 ? values[DOWNLOAD_BANDWIDTH] : defaultValue; 121 return (bit & set) != 0 ? values[ROUND_TRIP_TIME] : defaultValue; 126 return (bit & set) != 0 ? values[MAX_CONCURRENT_STREAMS] : defaultValue; 131 return (bit & set) != 0 ? values[CURRENT_CWND] : defaultValue 171 set(i, other.flags(i), other.get(i)); method [all...] |
/external/openssl/crypto/asn1/ |
x_name.c | 99 /* For the "Name" type we need a SEQUENCE OF { SET OF X509_NAME_ENTRY } 203 entry->set = i; 262 int i, set = -1; local 267 if(entry->set != set) { 273 set = entry->set; 324 int i, set = -1, ret = 0; local 343 if(entry->set != set) [all...] |