HomeSort by relevance Sort by last modified time
    Searched refs:TValue (Results 1 - 25 of 30) 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;
lundump.c 100 f->k=luaM_newvector(S->L,n,TValue);
105 TValue* o=&f->k[i];
ldo.c 142 static void correctstack (lua_State *L, TValue *oldstack) {
162 TValue *oldstack = L->stack;
166 luaM_reallocvector(L, L->stack, L->stacksize, newsize, TValue);
274 const TValue *tm = luaT_gettmbyobj(L, func, TM_CALL);
ldump.c 86 const TValue* o=&f->k[i];
lobject.c 28 LUAI_DDEF const TValue luaO_nilobject_ = {NILCONSTANT};
  /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...]
  /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...]

Completed in 713 milliseconds

1 2