/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/impl/ |
CacheTest.java | 11 import com.ibm.icu.impl.CacheValue.Strength; 37 CacheValue.setStrength(Strength.STRONG); 48 CacheValue.setStrength(Strength.SOFT); 55 CacheValue.setStrength(Strength.SOFT); 64 CacheValue.setStrength(Strength.STRONG);
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
CacheValue.java | 18 * depending on the current "strength" when {@code getInstance()} was called. 36 * "Strength" of holding a value in CacheValue instances. 37 * The default strength is {@code SOFT}. 39 public enum Strength { 51 private static volatile Strength strength = Strength.SOFT; field in class:CacheValue 57 * Changes the "strength" of value references for subsequent {@code getInstance()} calls. 59 public static void setStrength(Strength strength) { CacheValue.strength = strength; [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
CacheValue.java | 17 * depending on the current "strength" when {@code getInstance()} was called. 34 * "Strength" of holding a value in CacheValue instances. 35 * The default strength is {@code SOFT}. 37 public enum Strength { 49 private static volatile Strength strength = Strength.SOFT; field in class:CacheValue 55 * Changes the "strength" of value references for subsequent {@code getInstance()} calls. 57 public static void setStrength(Strength strength) { CacheValue.strength = strength; [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/impl/ |
CacheTest.java | 12 import android.icu.impl.CacheValue.Strength; 41 CacheValue.setStrength(Strength.STRONG); 52 CacheValue.setStrength(Strength.SOFT); 59 CacheValue.setStrength(Strength.SOFT); 68 CacheValue.setStrength(Strength.STRONG);
|
/frameworks/av/media/libstagefright/codecs/avc/common/src/ |
deblock.cpp | 60 //static void GetStrength(AVCCommonObj *video, uint8 *Strength, AVCMacroblock* MbP, AVCMacroblock* MbQ, int dir, int edge); 61 static void GetStrength_Edge0(uint8 *Strength, AVCMacroblock* MbP, AVCMacroblock* MbQ, int dir); 62 static void GetStrength_VerticalEdges(uint8 *Strength, AVCMacroblock* MbQ); 63 static void GetStrength_HorizontalEdges(uint8 Strength[12], AVCMacroblock* MbQ); 64 static void EdgeLoop_Luma_vertical(uint8* SrcPtr, uint8 *Strength, int Alpha, int Beta, int *clipTable, int pitch); 65 static void EdgeLoop_Luma_horizontal(uint8* SrcPtr, uint8 *Strength, int Alpha, int Beta, int *clipTable, int pitch); 66 static void EdgeLoop_Chroma_vertical(uint8* SrcPtr, uint8 *Strength, int Alpha, int Beta, int *clipTable, int pitch); 67 static void EdgeLoop_Chroma_horizontal(uint8* SrcPtr, uint8 *Strength, int Alpha, int Beta, int *clipTable, int pitch); 302 uint8 Strength[16]; 327 //GetStrength(video, Strength, MbP, MbQ, 0, 0); // Strength for 4 blks in 1 stripe, 0 => vertical edg [all...] |
/external/v8/test/unittests/interpreter/ |
bytecode-array-builder-unittest.cc | 117 builder.BinaryOperation(Token::Value::ADD, reg, Strength::WEAK) 118 .BinaryOperation(Token::Value::SUB, reg, Strength::WEAK) 119 .BinaryOperation(Token::Value::MUL, reg, Strength::WEAK) 120 .BinaryOperation(Token::Value::DIV, reg, Strength::WEAK) 121 .BinaryOperation(Token::Value::MOD, reg, Strength::WEAK); 124 builder.BinaryOperation(Token::Value::BIT_OR, reg, Strength::WEAK) 125 .BinaryOperation(Token::Value::BIT_XOR, reg, Strength::WEAK) 126 .BinaryOperation(Token::Value::BIT_AND, reg, Strength::WEAK); 129 builder.BinaryOperation(Token::Value::SHL, reg, Strength::WEAK) 130 .BinaryOperation(Token::Value::SAR, reg, Strength::WEAK [all...] |
/external/guava/guava-tests/test/com/google/common/cache/ |
CacheBuilderFactory.java | 22 import com.google.common.cache.LocalCache.Strength; 48 private Set<Strength> keyStrengths = Sets.newHashSet((Strength) null); 49 private Set<Strength> valueStrengths = Sets.newHashSet((Strength) null); 81 CacheBuilderFactory withKeyStrengths(Set<Strength> keyStrengths) { 83 Preconditions.checkArgument(!this.keyStrengths.contains(Strength.SOFT)); 87 CacheBuilderFactory withValueStrengths(Set<Strength> valueStrengths) { 107 (Strength) combination.get(6), 108 (Strength) combination.get(7)) [all...] |
CacheReferencesTest.java | 17 import static com.google.common.cache.LocalCache.Strength.STRONG; 22 import com.google.common.cache.LocalCache.Strength; 48 .withKeyStrengths(ImmutableSet.of(STRONG, Strength.WEAK)) 49 .withValueStrengths(ImmutableSet.of(STRONG, Strength.WEAK, Strength.SOFT)); 64 // maintain strong refs so these won't be collected, regardless of cache's key/value strength
|
CacheBuilderSpecTest.java | 23 import com.google.common.cache.LocalCache.Strength; 155 assertEquals(Strength.WEAK, spec.keyStrength); 188 assertEquals(Strength.SOFT, spec.valueStrength); 211 assertEquals(Strength.WEAK, spec.valueStrength); 401 assertEquals(Strength.WEAK, spec.keyStrength); 402 assertEquals(Strength.WEAK, spec.valueStrength); 425 assertEquals(Strength.WEAK, spec.keyStrength); 426 assertEquals(Strength.SOFT, spec.valueStrength);
|
EmptyCachesTest.java | 25 import com.google.common.cache.LocalCache.Strength; 364 .withKeyStrengths(ImmutableSet.of(Strength.STRONG, Strength.WEAK)) 365 .withValueStrengths(ImmutableSet.copyOf(Strength.values()))
|
PopulatedCachesTest.java | 26 import com.google.common.cache.LocalCache.Strength; 315 .withKeyStrengths(ImmutableSet.of(Strength.STRONG, Strength.WEAK)) 316 .withValueStrengths(ImmutableSet.copyOf(Strength.values()))
|
/external/guava/guava/src/com/google/common/collect/ |
MapMaker.java | 20 import static com.google.common.collect.MapMakerInternalMap.Strength.SOFT; 30 import com.google.common.collect.MapMakerInternalMap.Strength; 120 Strength keyStrength; 121 Strength valueStrength; 259 * @throws IllegalStateException if the key strength was already set 265 return setKeyStrength(Strength.WEAK); 268 MapMaker setKeyStrength(Strength strength) { 269 checkState(keyStrength == null, "Key strength was already set to %s", keyStrength); 270 keyStrength = checkNotNull(strength); [all...] |
/external/v8/src/runtime/ |
runtime-operators.cc | 31 isolate, result, Object::Multiply(isolate, lhs, rhs, Strength::STRONG)); 55 isolate, result, Object::Divide(isolate, lhs, rhs, Strength::STRONG)); 79 isolate, result, Object::Modulus(isolate, lhs, rhs, Strength::STRONG)); 103 isolate, result, Object::Add(isolate, lhs, rhs, Strength::STRONG)); 127 isolate, result, Object::Subtract(isolate, lhs, rhs, Strength::STRONG)); 151 isolate, result, Object::ShiftLeft(isolate, lhs, rhs, Strength::STRONG)); 175 isolate, result, Object::ShiftRight(isolate, lhs, rhs, Strength::STRONG)); 200 Object::ShiftRightLogical(isolate, lhs, rhs, Strength::STRONG)); 224 isolate, result, Object::BitwiseAnd(isolate, lhs, rhs, Strength::STRONG)); 248 isolate, result, Object::BitwiseOr(isolate, lhs, rhs, Strength::STRONG)) [all...] |
/external/guava/guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/ |
CacheBuilder.java | 32 import com.google.common.cache.LocalCache.Strength; 219 Strength keyStrength; 220 Strength valueStrength; 356 CacheBuilder<K, V> setKeyStrength(Strength strength) { 357 checkState(keyStrength == null, "Key strength was already set to %s", keyStrength); 358 keyStrength = checkNotNull(strength); 362 Strength getKeyStrength() { 363 return MoreObjects.firstNonNull(keyStrength, Strength.STRONG); 366 CacheBuilder<K, V> setValueStrength(Strength strength) [all...] |
/external/guava/guava/src/com/google/common/cache/ |
CacheBuilder.java | 34 import com.google.common.cache.LocalCache.Strength; 225 Strength keyStrength; 226 Strength valueStrength; 514 * @throws IllegalStateException if the key strength was already set 518 return setKeyStrength(Strength.WEAK); 521 CacheBuilder<K, V> setKeyStrength(Strength strength) { 522 checkState(keyStrength == null, "Key strength was already set to %s", keyStrength); 523 keyStrength = checkNotNull(strength); 527 Strength getKeyStrength() [all...] |
CacheBuilderSpec.java | 26 import com.google.common.cache.LocalCache.Strength; 102 .put("weakKeys", new KeyStrengthParser(Strength.WEAK)) 103 .put("softValues", new ValueStrengthParser(Strength.SOFT)) 104 .put("weakValues", new ValueStrengthParser(Strength.WEAK)) 116 @VisibleForTesting Strength keyStrength; 117 @VisibleForTesting Strength valueStrength; 365 private final Strength strength; field in class:CacheBuilderSpec.KeyStrengthParser 367 public KeyStrengthParser(Strength strength) { 381 private final Strength strength; field in class:CacheBuilderSpec.ValueStrengthParser [all...] |
/external/v8/src/compiler/ |
js-generic-lowering.h | 39 void ReplaceWithCompareIC(Node* node, Token::Value token, Strength strength);
|
/external/v8/benchmarks/ |
deltablue.js | 97 * New strengths may be inserted in the strength hierarchy without 101 function Strength(strengthValue, name) { 106 Strength.stronger = function (s1, s2) { 110 Strength.weaker = function (s1, s2) { 114 Strength.weakestOf = function (s1, s2) { 118 Strength.strongest = function (s1, s2) { 122 Strength.prototype.nextWeaker = function () { 124 case 0: return Strength.STRONG_PREFERRED; 125 case 1: return Strength.PREFERRED; 126 case 2: return Strength.STRONG_DEFAULT [all...] |
/external/v8/src/ic/ |
ic-state.h | 58 BinaryOpICState(Isolate* isolate, Token::Value op, Strength strength) 60 strong_(is_strong(strength)), 107 Strength strength() const { function in class:v8::internal::BASE_EMBEDDED 108 return strong_ ? Strength::STRONG : Strength::WEAK;
|
/external/v8/src/ |
code-factory.h | 59 Strength strength); 63 Strength strength);
|
globals.h | 306 enum class Strength : bool { 312 inline bool is_strong(Strength strength) { 313 return strength == Strength::STRONG; 317 inline std::ostream& operator<<(std::ostream& os, const Strength& strength) { 318 return os << (is_strong(strength) ? "strong" : "weak"); 322 inline Strength strength(LanguageMode language_mode) function in namespace:v8::internal [all...] |
factory.h | 400 Strength strength = Strength::WEAK, 407 Strength strength = Strength::WEAK, 413 Strength strength = Strength::WEAK, 418 return NewJSArray(elements_kind, 0, capacity, strength, [all...] |
/external/v8/src/interpreter/ |
bytecode-array-builder.h | 186 Strength strength); 189 BytecodeArrayBuilder& CountOperation(Token::Value op, Strength strength); 202 Strength strength);
|
/external/v8/src/crankshaft/ |
hydrogen-instructions.h | 3774 Strength strength() const { return strength_; } function in class:final::HBinaryOperation 3850 Strength strength() { return strength_; } function in class:final::HBinaryOperation 4305 Strength strength() const { return strength_; } function in class:final::HCompareNumericAndBranch [all...] |
/external/guava/guava-tests/test/com/google/common/collect/ |
ConcurrentHashMultisetTest.java | 19 import static com.google.common.collect.MapMakerInternalMap.Strength.STRONG; 20 import static com.google.common.collect.MapMakerInternalMap.Strength.WEAK; 372 MapMakerInternalMap.Strength keyStrength) { 411 MapMakerInternalMap.Strength keyStrength) {
|