/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.JavaExtensions/ |
DictionaryExtensions.cs | 55 public static TValue get<TKey, TValue>(IDictionary<TKey, TValue> map, TKey key) { 56 TValue value; 60 if (typeof(TValue).IsValueType) 63 return default(TValue); 67 public static TValue get<TKey, TValue>(Dictionary<TKey, TValue> map, TKey key) { 68 TValue value [all...] |
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/ |
DictionaryExtensions.cs | 55 public static TValue get<TKey, TValue>( this IDictionary<TKey, TValue> map, TKey key ) 57 TValue value; 61 if ( typeof( TValue ).IsValueType ) 64 return default( TValue ); 68 public static TValue get<TKey, TValue>( this Dictionary<TKey, TValue> map, TKey key ) 70 TValue value [all...] |
/system/core/include/utils/ |
LruCache.h | 35 template <typename TKey, typename TValue> 44 void setOnEntryRemovedListener(OnEntryRemoved<TKey, TValue>* listener); 46 const TValue& get(const TKey& key); 47 bool put(const TKey& key, const TValue& value); 54 Iterator(const LruCache<TKey, TValue>& cache): mCache(cache), mIndex(-1) { 66 const TValue& value() const { 74 const LruCache<TKey, TValue>& mCache; 83 TValue value; 87 Entry(TKey key_, TValue value_) : key(key_), value(value_), parent(NULL), child(NULL) { 97 OnEntryRemoved<TKey, TValue>* mListener [all...] |
/external/antlr/antlr-3.4/runtime/Delphi/Sources/Antlr3.Runtime/ |
Antlr.Runtime.Collections.pas | 51 IHashList<TKey, TValue> = interface(IDictionary<TKey, TValue>) 79 THashList<TKey, TValue> = class(TANTLRObject, IHashList<TKey, TValue>) 82 TPairEnumerator = class(TEnumerator<TPair<TKey, TValue>>) 84 FHashList: THashList<TKey, TValue>; 88 FPair: TPair<TKey, TValue>; 89 function GetCurrent: TPair<TKey, TValue>; 91 function DoGetCurrent: TPair<TKey, TValue>; override; 94 constructor Create(const AHashList: THashList<TKey, TValue>); [all...] |
Antlr.Runtime.Tools.pas | 186 IDictionary<TKey,TValue> = interface(IANTLRInterface) 189 function GetItem(const Key: TKey): TValue; 190 procedure SetItem(const Key: TKey; const Value: TValue); 194 procedure Add(const Key: TKey; const Value: TValue); 198 function TryGetValue(const Key: TKey; out Value: TValue): Boolean; 199 procedure AddOrSetValue(const Key: TKey; const Value: TValue); 201 function ContainsValue(const Value: TValue): Boolean; 202 function GetEnumerator: TEnumerator<TPair<TKey, TValue>>; 205 property Items[const Key: TKey]: TValue read GetItem write SetItem; default; 234 TDictionaryArray<TKey,TValue> = array of IDictionary<TKey,TValue> [all...] |
/external/llvm/test/CodeGen/X86/ |
coalescer-cross.ll | 8 %0 = type { %struct.TValue } ; type %0 10 %struct.CallInfo = type { %struct.TValue*, %struct.TValue*, %struct.TValue*, i32*, i32, i32 } 14 %struct.Node = type { %struct.TValue, %struct.TKey } 17 %struct.TValue = type { %struct.L_Umaxalign, i32 } 18 %struct.Table = type { %struct.GCObject*, i8, i8, i8, i8, %struct.Table*, %struct.TValue*, %struct.Node*, %struct.Node*, %struct.GCObject*, i32 } 19 %struct.UpVal = type { %struct.GCObject*, i8, i8, %struct.TValue*, %0 } 21 %struct.global_State = type { %struct.stringtable, i8* (i8*, i8*, i32, i32)*, i8*, i8, i8, i32, %struct.GCObject*, %struct.GCObject**, %struct.GCObject*, %struct.GCObject*, %struct.GCObject*, %struct.GCObject*, %struct.Mbuffer, i32, i32, i32, i32, i32, i32, i32 (%struct.lua_State*)*, %struct.TValue, %struct.lua_State*, %struct.UpVal, [9 x %struct.Table*], [17 x %struct.TString*] } 23 %struct.lua_State = type { %struct.GCObject*, i8, i8, i8, %struct.TValue*, %struct.TValue*, %struct.global_State*, %struct.CallInfo*, i32*, %struct.TValue*, %struct.TValue (…) [all...] |
/frameworks/base/libs/hwui/utils/ |
TinyHashMap.h | 30 template <typename TKey, typename TValue> 33 typedef key_value_pair_t<TKey, TValue> TEntry; 38 void put(TKey key, TValue value) { 53 bool get(TKey key, TValue& outValue) {
|
/frameworks/av/drm/libdrmframework/plugins/common/util/include/ |
SessionMap.h | 30 template <typename TValue> 50 bool addValue(int key, TValue value) { 66 TValue getValue(int key) { 88 TValue getValueAt(unsigned int index) { 89 TValue value = NULL; 122 SessionMap<TValue> & operator=(const SessionMap<TValue> & objectCopy) { 131 KeyedVector<int, TValue> map; 142 void deleteValue(TValue value) { 178 TValue getValueInternal(int key) [all...] |
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/ |
SensorCtsHelper.java | 49 public static <TValue extends Comparable<? super TValue>> TValue get95PercentileValue( 50 Collection<TValue> collection) { 53 List<TValue> arrayCopy = new ArrayList<TValue>(collection); 122 public static <TValue extends Number> double getMean(Collection<TValue> collection) { 126 for(TValue value : collection) { 137 public static <TValue extends Number> double getVariance(Collection<TValue> collection) [all...] |
/external/chromium_org/third_party/skia/src/pathops/ |
SkPathOpsQuad.cpp | 72 double tValue = s[index]; 73 if (approximately_zero_or_more(tValue) && approximately_one_or_less(tValue)) { 74 if (approximately_less_than_zero(tValue)) { 75 tValue = 0; 76 } else if (approximately_greater_than_one(tValue)) { 77 tValue = 1; 80 if (approximately_equal(t[idx2], tValue)) { 84 t[foundRoots++] = tValue; 322 int SkDQuad::FindExtrema(double a, double b, double c, double tValue[1]) [all...] |
SkPathOpsCubic.h | 44 static int FindExtrema(double a, double b, double c, double d, double tValue[2]);
|
SkPathOpsQuad.h | 40 static int FindExtrema(double a, double b, double c, double tValue[1]);
|
/external/skia/src/pathops/ |
SkPathOpsQuad.cpp | 72 double tValue = s[index]; 73 if (approximately_zero_or_more(tValue) && approximately_one_or_less(tValue)) { 74 if (approximately_less_than_zero(tValue)) { 75 tValue = 0; 76 } else if (approximately_greater_than_one(tValue)) { 77 tValue = 1; 80 if (approximately_equal(t[idx2], tValue)) { 84 t[foundRoots++] = tValue; 322 int SkDQuad::FindExtrema(double a, double b, double c, double tValue[1]) [all...] |
SkPathOpsCubic.h | 44 static int FindExtrema(double a, double b, double c, double d, double tValue[2]);
|
SkPathOpsQuad.h | 40 static int FindExtrema(double a, double b, double c, double tValue[1]);
|
/system/core/libutils/tests/ |
BasicHashtable_test.cpp | 121 template <typename TKey, typename TValue> 122 static size_t add(BasicHashtable<TKey, key_value_pair_t<TKey, TValue> >& h, 123 const TKey& key, const TValue& value) { 124 return h.add(hash_type(key), key_value_pair_t<TKey, TValue>(key, value)); 127 template <typename TKey, typename TValue> 128 static ssize_t find(BasicHashtable<TKey, key_value_pair_t<TKey, TValue> >& h, 133 template <typename TKey, typename TValue> 134 static bool remove(BasicHashtable<TKey, key_value_pair_t<TKey, TValue> >& h, 157 template <typename TKey, typename TValue> 158 static void dump(BasicHashtable<TKey, key_value_pair_t<TKey, TValue> >& h) [all...] |
/external/antlr/antlr-3.4/runtime/Delphi/ |
README.TXT | 249 * IDictionary<TKey, TValue> (implemented in TDictionary<TKey, TValue>): a 250 generic dictionary that maps elements of type <TKey> to <TValue>. For example, 261 IDictionary<TKey, TValue> interface.
|
/external/chromium/base/ |
string_split_unittest.cc | 36 EXPECT_TRUE(SplitStringIntoKeyValues("\tvalue for empty key", 69 EXPECT_TRUE(SplitStringIntoKeyValues("\tvalue for empty key",
|
/external/chromium_org/base/strings/ |
string_split_unittest.cc | 56 EXPECT_TRUE(SplitStringIntoKeyValues("\tvalue for empty key", 90 EXPECT_TRUE(SplitStringIntoKeyValues("\tvalue for empty key",
|
/external/chromium_org/third_party/openssl/openssl/crypto/x509v3/ |
v3_utl.c | 85 char *tname = NULL, *tvalue = NULL; local 87 if(value && !(tvalue = BUF_strdup(value))) goto err; 92 vtmp->value = tvalue; 99 if(tvalue) OPENSSL_free(tvalue);
|
/external/openssl/crypto/x509v3/ |
v3_utl.c | 85 char *tname = NULL, *tvalue = NULL; local 87 if(value && !(tvalue = BUF_strdup(value))) goto err; 92 vtmp->value = tvalue; 99 if(tvalue) OPENSSL_free(tvalue);
|
/external/chromium_org/third_party/skia/src/core/ |
SkGeometry.cpp | 295 int SkFindQuadExtrema(SkScalar a, SkScalar b, SkScalar c, SkScalar tValue[1]) 301 return is_not_monotonic(a, b, c) && valid_unit_divide(a - b, a - b - b + c, tValue); 303 return valid_unit_divide(a - b, a - b - b + c, tValue); 339 SkScalar tValue; 340 if (valid_unit_divide(a - b, a - b - b + c, &tValue)) 342 SkChopQuadAt(src, dst, tValue); 369 SkScalar tValue; 370 if (valid_unit_divide(a - b, a - b - b + c, &tValue)) { 371 SkChopQuadAt(src, dst, tValue); 601 even though the 2nd tValue looks < 1.0, after we renormalize it, we en [all...] |
/external/skia/src/core/ |
SkGeometry.cpp | 295 int SkFindQuadExtrema(SkScalar a, SkScalar b, SkScalar c, SkScalar tValue[1]) 301 return is_not_monotonic(a, b, c) && valid_unit_divide(a - b, a - b - b + c, tValue); 303 return valid_unit_divide(a - b, a - b - b + c, tValue); 339 SkScalar tValue; 340 if (valid_unit_divide(a - b, a - b - b + c, &tValue)) 342 SkChopQuadAt(src, dst, tValue); 369 SkScalar tValue; 370 if (valid_unit_divide(a - b, a - b - b + c, &tValue)) { 371 SkChopQuadAt(src, dst, tValue); 601 even though the 2nd tValue looks < 1.0, after we renormalize it, we en [all...] |
/frameworks/wilhelm/tests/examples/ |
slesTestDecodeToBuffQueue.cpp | 478 fprintf(stdout, "key[%d] size=%d, name=%s \tvalue size=%d \n",
|
slesTestDecodeAac.cpp | 692 printf("key[%d] size=%d, name=%s \tvalue size=%d encoding=0x%X langCountry=%s\n", [all...] |