Searched refs:TValue (Results 1 - 25 of 31) sorted by relevance

12

/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.JavaExtensions/
H A DDictionaryExtensions.cs55 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 valu
[all...]
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/
H A DDictionaryExtensions.cs55 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 valu
[all...]
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Misc/
H A DDoubleKeyMap.cs6 public class DoubleKeyMap<TKey1, TKey2, TValue> {
7 internal IDictionary<TKey1, IDictionary<TKey2, TValue>> data = new Dictionary<TKey1, IDictionary<TKey2, TValue>>();
9 public virtual TValue Put(TKey1 k1, TKey2 k2, TValue v) {
10 IDictionary<TKey2, TValue> data2;
12 TValue prev = default(TValue);
14 data2 = new Dictionary<TKey2, TValue>();
23 public virtual TValue Ge
[all...]
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Debug/Misc/
H A DDoubleKeyMap`3.cs5 public class DoubleKeyMap<TKey1, TKey2, TValue>
7 internal IDictionary<TKey1, IDictionary<TKey2, TValue>> data = new Dictionary<TKey1, IDictionary<TKey2, TValue>>();
9 public virtual TValue Put(TKey1 k1, TKey2 k2, TValue v)
11 IDictionary<TKey2, TValue> data2;
13 TValue prev = default(TValue);
16 data2 = new Dictionary<TKey2, TValue>();
27 public virtual TValue Ge
[all...]
/external/chromium_org/third_party/skia/third_party/lua/src/
H A Dlvm.h26 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 *
[all...]
H A Dltable.h21 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 *ke
[all...]
H A Dldebug.h24 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);
H A Dltm.c52 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) {
H A Dlfunc.h15 cast(int, sizeof(TValue)*((n)-1)))
18 cast(int, sizeof(TValue *)*((n)-1)))
H A Dltm.h52 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,
H A Dlobject.h106 typedef struct lua_TValue TValue; typedef in typeref:struct:lua_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 *i
[all...]
H A Dlvm.c35 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 *t
[all...]
H A Dltable.c97 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_getst
[all...]
H A Dldo.h23 #define restorestack(L,n) ((TValue *)((char *)L->stack + (n)))
H A Dldebug.c203 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 *p
[all...]
H A Dlapi.c38 #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
[all...]
H A Dlcode.c291 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;
H A Dlstate.h120 TValue l_registry;
H A Dlgc.c121 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;
H A Dlstate.c136 L1->stack = luaM_newvector(L, BASIC_STACK_SIZE, TValue);
166 TValue mt;
H A Dlundump.c100 f->k=luaM_newvector(S->L,n,TValue);
105 TValue* o=&f->k[i];
H A Dldo.c142 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);
H A Dldump.c86 const TValue* o=&f->k[i];
/external/antlr/antlr-3.4/runtime/Delphi/Sources/Antlr3.Runtime/
H A DAntlr.Runtime.Collections.pas51 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...]
H A DAntlr.Runtime.Tools.pas186 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>
[all...]

Completed in 1801 milliseconds

12