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

1 2

  /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...]
  /external/chromium_org/third_party/skia/third_party/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...]
ltable.h 21 LUAI_FUNC const TValue *luaH_getint (Table *t, int key);
22 LUAI_FUNC void luaH_setint (lua_State *L, Table *t, int key, TValue *value);
23 LUAI_FUNC const TValue *luaH_getstr (Table *t, TString *key);
24 LUAI_FUNC const TValue *luaH_get (Table *t, const TValue *key);
25 LUAI_FUNC TValue *luaH_newkey (lua_State *L, Table *t, const TValue *key);
26 LUAI_FUNC TValue *luaH_set (lua_State *L, Table *t, const TValue *key);
36 LUAI_FUNC Node *luaH_mainposition (const Table *t, const 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);
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,
lobject.h 106 typedef struct lua_TValue TValue;
117 /* raw type tag of a TValue */
123 /* type tag of a TValue (bits 0-3 for tags + variant bits 4-5) */
126 /* type tag of a TValue with no variants (bits 0-3) */
188 { TValue *io=(obj); num_(io)=(x); settt_(io, LUA_TNUMBER); }
193 { TValue *io=(obj); val_(io).f=(x); settt_(io, LUA_TLCF); }
196 { TValue *io=(obj); val_(io).p=(x); settt_(io, LUA_TLIGHTUSERDATA); }
199 { TValue *io=(obj); val_(io).b=(x); settt_(io, LUA_TBOOLEAN); }
202 { TValue *io=(obj); GCObject *i_g=(x); \
206 { TValue *io=(obj);
    [all...]
lvm.c 35 const TValue *luaV_tonumber (const TValue *obj, TValue *n) {
93 static void callTM (lua_State *L, const TValue *f, const TValue *p1,
94 const TValue *p2, TValue *p3, int hasres) {
110 void luaV_gettable (lua_State *L, const TValue *t, TValue *key, StkId val) {
113 const TValue *tm
    [all...]
ltable.c 97 static Node *mainposition (const Table *t, const TValue *key) {
127 static int arrayindex (const TValue *key) {
218 static int countint (const TValue *key, int *nums) {
272 luaM_reallocvector(L, t->array, t->sizearray, size, TValue);
321 luaM_reallocvector(L, t->array, oldasize, nasize, TValue);
343 static void rehash (lua_State *L, Table *t, const TValue *ek) {
405 TValue *luaH_newkey (lua_State *L, Table *t, const TValue *key) {
446 const TValue *luaH_getint (Table *t, int key) {
466 const TValue *luaH_getstr (Table *t, TString *key)
    [all...]
ldo.h 23 #define restorestack(L,n) ((TValue *)((char *)L->stack + (n)))
ldebug.c 203 TValue v;
312 TValue *kvalue = &p->k[INDEXK(c)];
478 static int isinstack (CallInfo *ci, const TValue *o) {
486 static const char *getupvalname (CallInfo *ci, const TValue *o,
500 l_noret luaG_typeerror (lua_State *L, const TValue *o, const char *op) {
526 l_noret luaG_aritherror (lua_State *L, const TValue *p1, const TValue *p2) {
527 TValue temp;
534 l_noret luaG_ordererror (lua_State *L, const TValue *p1, const TValue *p2)
    [all...]
lapi.c 38 #define NONVALIDVALUE cast(TValue *, luaO_nilobject)
55 static TValue *index2addr (lua_State *L, int idx) {
58 TValue *o = ci->func + idx;
206 static void moveto (lua_State *L, TValue *fr, int idx) {
207 TValue *to = index2addr(L, idx);
227 TValue *fr;
268 TValue n;
269 const TValue *o = index2addr(L, idx);
281 const TValue *o = index2addr(L, idx);
336 TValue n
    [all...]
lcode.c 291 static int addk (FuncState *fs, TValue *key, TValue *v) {
293 TValue *idx = luaH_set(L, fs->h, key);
310 luaM_growvector(L, f->k, k, f->sizek, TValue, MAXARG_Ax, "constants");
320 TValue o;
329 TValue o;
344 TValue o;
351 TValue k, v;
lstate.h 120 TValue l_registry;
lgc.c 121 static int iscleared (global_State *g, const TValue *o) {
436 const TValue *mode = gfasttm(g, h->metatable, TM_MODE);
452 return sizeof(Table) + sizeof(TValue) * h->sizearray +
472 sizeof(TValue) * f->sizek +
506 return sizeof(lua_State) + sizeof(TValue) * th->stacksize;
642 TValue *o = &h->array[i];
804 const TValue *tm;
805 TValue v;
    [all...]
lstate.c 136 L1->stack = luaM_newvector(L, BASIC_STACK_SIZE, TValue);
166 TValue mt;
  /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);
51 const TValue& peekOldestValue();
55 Iterator(const LruCache<TKey, TValue>& cache): mCache(cache), mIndex(-1) {
67 const TValue& value() const {
75 const LruCache<TKey, TValue>& mCache;
84 TValue value;
88 Entry(TKey key_, TValue value_) : key(key_), value(value_), parent(NULL), child(NULL)
    [all...]
  /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 44 public static <TValue extends Comparable<? super TValue>> TValue get95PercentileValue(
45 Collection<TValue> collection) {
48 List<TValue> arrayCopy = new ArrayList<TValue>(collection);
62 public static <TValue extends Number> double getMean(Collection<TValue> collection) {
66 for(TValue value : collection) {
77 public static <TValue extends Number> double getVariance(Collection<TValue> collection)
    [all...]
  /frameworks/base/libs/hwui/utils/
TinyHashMap.h 28 template <typename TKey, typename TValue>
31 typedef key_value_pair_t<TKey, TValue> TEntry;
36 void put(TKey key, TValue value) {
51 bool get(TKey key, TValue& outValue) {
  /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...]
  /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...]

Completed in 274 milliseconds

1 2