HomeSort by relevance Sort by last modified time
    Searched refs:TValue (Results 1 - 25 of 66) sorted by null

1 2 3

  /external/antlr/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/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...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/
lvm.h 26 LUAI_FUNC int luaV_equalobj_ (lua_State *L, const TValue *t1, const TValue *t2);
29 LUAI_FUNC int luaV_lessthan (lua_State *L, const TValue *l, const TValue *r);
30 LUAI_FUNC int luaV_lessequal (lua_State *L, const TValue *l, const TValue *r);
31 LUAI_FUNC const TValue *luaV_tonumber (const TValue *obj, TValue *n);
33 LUAI_FUNC void luaV_gettable (lua_State *L, const TValue *t, TValue *key
    [all...]
ldebug.h 24 LUAI_FUNC l_noret luaG_typeerror (lua_State *L, const TValue *o,
27 LUAI_FUNC l_noret luaG_aritherror (lua_State *L, const TValue *p1,
28 const TValue *p2);
29 LUAI_FUNC l_noret luaG_ordererror (lua_State *L, const TValue *p1,
30 const TValue *p2);
ltable.h 25 LUAI_FUNC const TValue *luaH_getint (Table *t, int key);
26 LUAI_FUNC void luaH_setint (lua_State *L, Table *t, int key, TValue *value);
27 LUAI_FUNC const TValue *luaH_getstr (Table *t, TString *key);
28 LUAI_FUNC const TValue *luaH_get (Table *t, const TValue *key);
29 LUAI_FUNC TValue *luaH_newkey (lua_State *L, Table *t, const TValue *key);
30 LUAI_FUNC TValue *luaH_set (lua_State *L, Table *t, const TValue *key);
40 LUAI_FUNC Node *luaH_mainposition (const Table *t, const TValue *key)
    [all...]
ltm.c 52 const TValue *luaT_gettm (Table *events, TMS event, TString *ename) {
53 const TValue *tm = luaH_getstr(events, ename);
63 const TValue *luaT_gettmbyobj (lua_State *L, const TValue *o, TMS event) {
lfunc.h 15 cast(int, sizeof(TValue)*((n)-1)))
18 cast(int, sizeof(TValue *)*((n)-1)))
ltm.h 52 LUAI_FUNC const TValue *luaT_gettm (Table *events, TMS event, TString *ename);
53 LUAI_FUNC const TValue *luaT_gettmbyobj (lua_State *L, const TValue *o,
  /art/libartbase/base/
variant_map.h 37 // template <typename TValue>
38 // TValue* Get(Key<T> key); // null if the value was never set, otherwise the value.
40 // template <typename TValue>
41 // void Set(Key<T> key, TValue value);
50 // template <typename TValue>
51 // struct FruitMapKey : VariantMapKey<TValue> {
60 // template <typename TValue>
61 // using Key = FruitMapKey<TValue>;
99 // Delete a value whose runtime type is that of the non-erased key's TValue.
102 // Clone a value whose runtime type is that of the non-erased key's TValue
    [all...]
  /art/runtime/
runtime_options.h 49 template <typename TValue>
50 struct RuntimeArgumentMapKey : VariantMapKey<TValue> {
52 explicit RuntimeArgumentMapKey(TValue default_value)
53 : VariantMapKey<TValue>(std::move(default_value)) {}
71 template <typename TValue>
72 using Key = RuntimeArgumentMapKey<TValue>;
  /external/lua/src/
ltm.h 58 LUAI_FUNC const char *luaT_objtypename (lua_State *L, const TValue *o);
60 LUAI_FUNC const TValue *luaT_gettm (Table *events, TMS event, TString *ename);
61 LUAI_FUNC const TValue *luaT_gettmbyobj (lua_State *L, const TValue *o,
65 LUAI_FUNC void luaT_callTM (lua_State *L, const TValue *f, const TValue *p1,
66 const TValue *p2, TValue *p3, int hasres);
67 LUAI_FUNC int luaT_callbinTM (lua_State *L, const TValue *p1, const TValue *p2
    [all...]
ltable.h 19 #define gkey(n) cast(const TValue*, (&(n)->i_key.tvk))
43 LUAI_FUNC const TValue *luaH_getint (Table *t, lua_Integer key);
45 TValue *value);
46 LUAI_FUNC const TValue *luaH_getshortstr (Table *t, TString *key);
47 LUAI_FUNC const TValue *luaH_getstr (Table *t, TString *key);
48 LUAI_FUNC const TValue *luaH_get (Table *t, const TValue *key);
49 LUAI_FUNC TValue *luaH_newkey (lua_State *L, Table *t, const TValue *key);
50 LUAI_FUNC TValue *luaH_set (lua_State *L, Table *t, const TValue *key)
    [all...]
ldebug.h 21 LUAI_FUNC l_noret luaG_typeerror (lua_State *L, const TValue *o,
23 LUAI_FUNC l_noret luaG_concaterror (lua_State *L, const TValue *p1,
24 const TValue *p2);
25 LUAI_FUNC l_noret luaG_opinterror (lua_State *L, const TValue *p1,
26 const TValue *p2,
28 LUAI_FUNC l_noret luaG_tointerror (lua_State *L, const TValue *p1,
29 const TValue *p2);
30 LUAI_FUNC l_noret luaG_ordererror (lua_State *L, const TValue *p1,
31 const TValue *p2);
lvm.h 67 #define luaV_gettable(L,t,k,v) { const TValue *slot; \
86 setobj2t(L, cast(TValue *,slot), v), \
90 #define luaV_settable(L,t,k,v) { const TValue *slot; \
96 LUAI_FUNC int luaV_equalobj (lua_State *L, const TValue *t1, const TValue *t2);
97 LUAI_FUNC int luaV_lessthan (lua_State *L, const TValue *l, const TValue *r);
98 LUAI_FUNC int luaV_lessequal (lua_State *L, const TValue *l, const TValue *r);
99 LUAI_FUNC int luaV_tonumber_ (const TValue *obj, lua_Number *n)
    [all...]
ltm.c 59 const TValue *luaT_gettm (Table *events, TMS event, TString *ename) {
60 const TValue *tm = luaH_getshortstr(events, ename);
70 const TValue *luaT_gettmbyobj (lua_State *L, const TValue *o, TMS event) {
90 const char *luaT_objtypename (lua_State *L, const TValue *o) {
94 const TValue *name = luaH_getshortstr(mt, luaS_new(L, "__name"));
102 void luaT_callTM (lua_State *L, const TValue *f, const TValue *p1,
103 const TValue *p2, TValue *p3, int hasres)
    [all...]
lfunc.h 15 cast(int, sizeof(TValue)*((n)-1)))
18 cast(int, sizeof(TValue *)*((n)-1)))
36 TValue *v; /* points to stack or to its own value */
43 TValue value; /* the value (when closed) */
lobject.h 115 } TValue;
126 /* raw type tag of a TValue */
132 /* type tag of a TValue (bits 0-3 for tags + variant bits 4-5) */
135 /* type tag of a TValue with no variants (bits 0-3) */
199 { TValue *io=(obj); val_(io).n=(x); settt_(io, LUA_TNUMFLT); }
202 { TValue *io=(obj); lua_assert(ttisfloat(io)); val_(io).n=(x); }
205 { TValue *io=(obj); val_(io).i=(x); settt_(io, LUA_TNUMINT); }
208 { TValue *io=(obj); lua_assert(ttisinteger(io)); val_(io).i=(x); }
213 { TValue *io=(obj); val_(io).f=(x); settt_(io, LUA_TLCF); }
216 { TValue *io=(obj); val_(io).p=(x); settt_(io, LUA_TLIGHTUSERDATA);
    [all...]
  /art/dex2oat/
dex2oat_options.h 41 template <typename TValue>
42 struct Dex2oatArgumentMapKey : VariantMapKey<TValue> {
44 explicit Dex2oatArgumentMapKey(TValue default_value)
45 : VariantMapKey<TValue>(std::move(default_value)) {}
67 template <typename TValue>
68 using Key = Dex2oatArgumentMapKey<TValue>;
  /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...]
  /art/compiler/driver/
simple_compiler_options_map.h 30 template <typename TValue>
31 struct SimpleParseArgumentMapKey : VariantMapKey<TValue> {
33 explicit SimpleParseArgumentMapKey(TValue default_value)
34 : VariantMapKey<TValue>(std::move(default_value)) {}
compiler_options_map.h 35 template <typename TValue>
36 using Key = KeyType<TValue>;
  /cts/tests/sensor/src/android/hardware/cts/helpers/
SensorCtsHelper.java 50 public static <TValue extends Comparable<? super TValue>> List<TValue> getPercentileValue(
51 Collection<TValue> collection, float lowPecentile, float highPercentile) {
58 List<TValue> arrayCopy = new ArrayList<TValue>(collection);
61 List<TValue> percentileValues = new ArrayList<TValue>();
82 public static <TValue extends Number> double getMean(Collection<TValue> collection)
    [all...]
  /external/antlr/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/protobuf/csharp/src/Google.Protobuf/Collections/
ReadOnlyDictionary.cs 42 internal sealed class ReadOnlyDictionary<TKey, TValue> : IDictionary<TKey, TValue>
44 private readonly IDictionary<TKey, TValue> wrapped;
46 public ReadOnlyDictionary(IDictionary<TKey, TValue> wrapped)
51 public void Add(TKey key, TValue value)
71 public bool TryGetValue(TKey key, out TValue value)
76 public ICollection<TValue> Values
81 public TValue this[TKey key]
87 public void Add(KeyValuePair<TKey, TValue> item)
97 public bool Contains(KeyValuePair<TKey, TValue> item)
    [all...]

Completed in 1063 milliseconds

1 2 3