/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.JavaExtensions/ |
D | DictionaryExtensions.cs | 55 public static TValue get<TKey, TValue>(IDictionary<TKey, TValue> map, TKey key) { in get() 56 TValue value; in get() 60 if (typeof(TValue).IsValueType) in get() 63 return default(TValue); in get() 67 public static TValue get<TKey, TValue>(Dictionary<TKey, TValue> map, TKey key) { in get() 68 TValue value; in get() 72 if (typeof(TValue).IsValueType) in get() 75 return default(TValue); in get() 78 public static TValue get<TKey, TValue>(SortedList<TKey, TValue> map, TKey key) { in get() 79 TValue value; in get() [all …]
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/ |
D | DictionaryExtensions.cs | 55 public static TValue get<TKey, TValue>( this IDictionary<TKey, TValue> map, TKey key ) in get() 57 TValue value; in get() 61 if ( typeof( TValue ).IsValueType ) in get() 64 return default( TValue ); in get() 68 public static TValue get<TKey, TValue>( this Dictionary<TKey, TValue> map, TKey key ) in get() 70 TValue value; in get() 74 if ( typeof( TValue ).IsValueType ) in get() 77 return default( TValue ); in get() 80 public static TValue get<TKey, TValue>( this SortedList<TKey, TValue> map, TKey key ) in get() 82 TValue value; in get() [all …]
|
/external/antlr/antlr-3.4/runtime/Delphi/Sources/Antlr3.Runtime/ |
D | 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>; in GetCurrent() 91 function DoGetCurrent: TPair<TKey, TValue>; override; in DoGetCurrent() 94 constructor Create(const AHashList: THashList<TKey, TValue>); argument 96 property Current: TPair<TKey, TValue> read GetCurrent; 99 FDictionary: IDictionary<TKey, TValue>; [all …]
|
D | 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/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Debug/Misc/ |
D | DoubleKeyMap`3.cs | 5 public class DoubleKeyMap<TKey1, TKey2, TValue> 7 …ternal IDictionary<TKey1, IDictionary<TKey2, TValue>> data = new Dictionary<TKey1, IDictionary<TKe… 9 public virtual TValue Put(TKey1 k1, TKey2 k2, TValue v) in Put() 11 IDictionary<TKey2, TValue> data2; in Put() 13 TValue prev = default(TValue); in Put() 16 data2 = new Dictionary<TKey2, TValue>(); in Put() 27 public virtual TValue Get(TKey1 k1, TKey2 k2) in Get() 29 IDictionary<TKey2, TValue> data2; in Get() 32 return default(TValue); in Get() 34 TValue value; in Get() [all …]
|
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Misc/ |
D | DoubleKeyMap.cs | 6 public class DoubleKeyMap<TKey1, TKey2, TValue> { 7 …ternal IDictionary<TKey1, IDictionary<TKey2, TValue>> data = new Dictionary<TKey1, IDictionary<TKe… 9 public virtual TValue Put(TKey1 k1, TKey2 k2, TValue v) { in Put() 10 IDictionary<TKey2, TValue> data2; in Put() 12 TValue prev = default(TValue); in Put() 14 data2 = new Dictionary<TKey2, TValue>(); in Put() 23 public virtual TValue Get(TKey1 k1, TKey2 k2) { in Get() 24 IDictionary<TKey2, TValue> data2; in Get() 27 return default(TValue); in Get() 29 TValue value; in Get() [all …]
|
/external/chromium_org/third_party/skia/third_party/lua/src/ |
D | 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, 35 LUAI_FUNC void luaV_settable (lua_State *L, const TValue *t, TValue *key, 40 LUAI_FUNC void luaV_arith (lua_State *L, StkId ra, const TValue *rb, 41 const TValue *rc, TMS op); 42 LUAI_FUNC void luaV_objlen (lua_State *L, StkId ra, const TValue *rb);
|
D | 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);
|
D | lvm.c | 35 const TValue *luaV_tonumber (const TValue *obj, TValue *n) { in luaV_tonumber() 93 static void callTM (lua_State *L, const TValue *f, const TValue *p1, in callTM() 94 const TValue *p2, TValue *p3, int hasres) { in callTM() 110 void luaV_gettable (lua_State *L, const TValue *t, TValue *key, StkId val) { in luaV_gettable() 113 const TValue *tm; in luaV_gettable() 116 const TValue *res = luaH_get(h, key); /* do a primitive get */ in luaV_gettable() 136 void luaV_settable (lua_State *L, const TValue *t, TValue *key, StkId val) { in luaV_settable() 139 const TValue *tm; in luaV_settable() 142 TValue *oldval = cast(TValue *, luaH_get(h, key)); in luaV_settable() 175 static int call_binTM (lua_State *L, const TValue *p1, const TValue *p2, in call_binTM() [all …]
|
D | lobject.h | 106 typedef struct lua_TValue TValue; typedef 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); \ 212 { TValue *io=(obj); \ 217 { TValue *io=(obj); \ 222 { TValue *io=(obj); \ [all …]
|
D | ltable.c | 97 static Node *mainposition (const Table *t, const TValue *key) { in mainposition() 127 static int arrayindex (const TValue *key) { in arrayindex() 218 static int countint (const TValue *key, int *nums) { in countint() 272 luaM_reallocvector(L, t->array, t->sizearray, size, TValue); in setarrayvector() 321 luaM_reallocvector(L, t->array, oldasize, nasize, TValue); in luaH_resize() 343 static void rehash (lua_State *L, Table *t, const TValue *ek) { in rehash() 405 TValue *luaH_newkey (lua_State *L, Table *t, const TValue *key) { in luaH_newkey() 446 const TValue *luaH_getint (Table *t, int key) { in luaH_getint() 466 const TValue *luaH_getstr (Table *t, TString *key) { in luaH_getstr() 481 const TValue *luaH_get (Table *t, const TValue *key) { in luaH_get() [all …]
|
D | 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);
|
D | ltm.c | 52 const TValue *luaT_gettm (Table *events, TMS event, TString *ename) { in luaT_gettm() 53 const TValue *tm = luaH_getstr(events, ename); in luaT_gettm() 63 const TValue *luaT_gettmbyobj (lua_State *L, const TValue *o, TMS event) { in luaT_gettmbyobj()
|
D | 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,
|
D | lapi.c | 38 #define NONVALIDVALUE cast(TValue *, luaO_nilobject) 55 static TValue *index2addr (lua_State *L, int idx) { in index2addr() 58 TValue *o = ci->func + idx; in index2addr() 206 static void moveto (lua_State *L, TValue *fr, int idx) { in moveto() 207 TValue *to = index2addr(L, idx); in moveto() 227 TValue *fr; in lua_copy() 268 TValue n; in lua_isnumber() 269 const TValue *o = index2addr(L, idx); in lua_isnumber() 281 const TValue *o = index2addr(L, idx); in lua_isuserdata() 336 TValue n; in lua_tonumberx() [all …]
|
D | ldebug.c | 203 TValue v; in collectvalidlines() 312 TValue *kvalue = &p->k[INDEXK(c)]; in kname() 478 static int isinstack (CallInfo *ci, const TValue *o) { in isinstack() 486 static const char *getupvalname (CallInfo *ci, const TValue *o, in getupvalname() 500 l_noret luaG_typeerror (lua_State *L, const TValue *o, const char *op) { in luaG_typeerror() 526 l_noret luaG_aritherror (lua_State *L, const TValue *p1, const TValue *p2) { in luaG_aritherror() 527 TValue temp; in luaG_aritherror() 534 l_noret luaG_ordererror (lua_State *L, const TValue *p1, const TValue *p2) { in luaG_ordererror()
|
D | lfunc.h | 15 cast(int, sizeof(TValue)*((n)-1))) 18 cast(int, sizeof(TValue *)*((n)-1)))
|
D | lcode.c | 291 static int addk (FuncState *fs, TValue *key, TValue *v) { in addk() 293 TValue *idx = luaH_set(L, fs->h, key); in addk() 310 luaM_growvector(L, f->k, k, f->sizek, TValue, MAXARG_Ax, "constants"); in addk() 320 TValue o; in luaK_stringK() 329 TValue o; in luaK_numberK() 344 TValue o; in boolK() 351 TValue k, v; in nilK()
|
D | lgc.c | 121 static int iscleared (global_State *g, const TValue *o) { in iscleared() 436 const TValue *mode = gfasttm(g, h->metatable, TM_MODE); in traversetable() 452 return sizeof(Table) + sizeof(TValue) * h->sizearray + in traversetable() 472 sizeof(TValue) * f->sizek + in traverseproto() 506 return sizeof(lua_State) + sizeof(TValue) * th->stacksize; in traversestack() 642 TValue *o = &h->array[i]; in clearvalues() 804 const TValue *tm; in GCTM() 805 TValue v; in GCTM()
|
D | ldo.h | 23 #define restorestack(L,n) ((TValue *)((char *)L->stack + (n)))
|
D | lstate.c | 136 L1->stack = luaM_newvector(L, BASIC_STACK_SIZE, TValue); in stack_init() 166 TValue mt; in init_registry()
|
D | lundump.c | 100 f->k=luaM_newvector(S->L,n,TValue); in LoadConstants() 105 TValue* o=&f->k[i]; in LoadConstants()
|
D | ldo.c | 142 static void correctstack (lua_State *L, TValue *oldstack) { in correctstack() 162 TValue *oldstack = L->stack; in luaD_reallocstack() 166 luaM_reallocvector(L, L->stack, L->stacksize, newsize, TValue); in luaD_reallocstack() 274 const TValue *tm = luaT_gettmbyobj(L, func, TM_CALL); in tryfuncTM()
|
/external/llvm/test/CodeGen/X86/ |
D | 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… 19 %struct.UpVal = type { %struct.GCObject*, i8, i8, %struct.TValue*, %0 } 21 …buffer, i32, i32, i32, i32, i32, i32, i32 (%struct.lua_State*)*, %struct.TValue, %struct.lua_State… 23 …TValue*, %struct.TValue*, %struct.global_State*, %struct.CallInfo*, i32*, %struct.TValue*, %struct… 33 %3 = getelementptr %struct.lua_State* %L, i32 0, i32 4 ; <%struct.TValue**> [#uses=3] 34 %4 = load %struct.TValue** %3, align 4 ; <%struct.TValue*> [#uses=2] [all …]
|
/external/antlr/antlr-3.4/runtime/Delphi/ |
D | 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.
|