/external/antlr/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/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/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; in GetItem() 190 procedure SetItem(const Key: TKey; const Value: TValue); argument 194 procedure Add(const Key: TKey; const Value: TValue); argument 198 function TryGetValue(const Key: TKey; out Value: TValue): Boolean; in TryGetValue() argument 199 procedure AddOrSetValue(const Key: TKey; const Value: TValue); argument 201 function ContainsValue(const Value: TValue): Boolean; in ContainsValue() argument 202 function GetEnumerator: TEnumerator<TPair<TKey, TValue>>; in GetEnumerator() 205 property Items[const Key: TKey]: TValue read GetItem write SetItem; default; 234 TDictionaryArray<TKey,TValue> = array of IDictionary<TKey,TValue>; [all …]
|
/external/antlr/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/antlr/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/protobuf/csharp/src/Google.Protobuf/Collections/ |
D | MapField.cs | 69 … class MapField<TKey, TValue> : IDeepCloneable<MapField<TKey, TValue>>, IDictionary<TKey, TValue>,… 72 private readonly Dictionary<TKey, LinkedListNode<KeyValuePair<TKey, TValue>>> map = 73 new Dictionary<TKey, LinkedListNode<KeyValuePair<TKey, TValue>>>(); 74 …private readonly LinkedList<KeyValuePair<TKey, TValue>> list = new LinkedList<KeyValuePair<TKey, T… 82 public MapField<TKey, TValue> Clone() in Clone() 84 var clone = new MapField<TKey, TValue>(); in Clone() 86 if (typeof(IDeepCloneable<TValue>).IsAssignableFrom(typeof(TValue))) in Clone() 90 clone.Add(pair.Key, ((IDeepCloneable<TValue>)pair.Value).Clone()); in Clone() 110 public void Add(TKey key, TValue value) in Add() 131 private bool ContainsValue(TValue value) in ContainsValue() [all …]
|
D | 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) in ReadOnlyDictionary() 51 public void Add(TKey key, TValue value) in Add() 71 public bool TryGetValue(TKey key, out TValue value) in TryGetValue() 76 public ICollection<TValue> Values 81 public TValue this[TKey key] 87 public void Add(KeyValuePair<TKey, TValue> item) in Add() 97 public bool Contains(KeyValuePair<TKey, TValue> item) in Contains() 102 public void CopyTo(KeyValuePair<TKey, TValue>[] array, int arrayIndex) in CopyTo() [all …]
|
/external/swiftshader/third_party/llvm-7.0/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, %struct.lua_State* %L, i32 0, i32 4 ; <%struct.TValue**> [#… 34 %4 = load %struct.TValue*, %struct.TValue** %3, align 4 ; <%struct.TValue*> [#uses=2] [all …]
|
/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, %struct.lua_State* %L, i32 0, i32 4 ; <%struct.TValue**> [#… 34 %4 = load %struct.TValue*, %struct.TValue** %3, align 4 ; <%struct.TValue*> [#uses=2] [all …]
|
/external/swiftshader/third_party/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/lua/src/ |
D | 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); 100 LUAI_FUNC int luaV_tointeger (const TValue *obj, lua_Integer *p, int mode); 101 LUAI_FUNC void luaV_finishget (lua_State *L, const TValue *t, TValue *key, 102 StkId val, const TValue *slot); [all …]
|
D | 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, 69 LUAI_FUNC void luaT_trybinTM (lua_State *L, const TValue *p1, const TValue *p2, 71 LUAI_FUNC int luaT_callorderTM (lua_State *L, const TValue *p1, 72 const TValue *p2, TMS event);
|
D | ltm.c | 59 const TValue *luaT_gettm (Table *events, TMS event, TString *ename) { in luaT_gettm() 60 const TValue *tm = luaH_getshortstr(events, ename); in luaT_gettm() 70 const TValue *luaT_gettmbyobj (lua_State *L, const TValue *o, TMS event) { in luaT_gettmbyobj() 90 const char *luaT_objtypename (lua_State *L, const TValue *o) { in luaT_objtypename() 94 const TValue *name = luaH_getshortstr(mt, luaS_new(L, "__name")); in luaT_objtypename() 102 void luaT_callTM (lua_State *L, const TValue *f, const TValue *p1, in luaT_callTM() 103 const TValue *p2, TValue *p3, int hasres) { in luaT_callTM() 124 int luaT_callbinTM (lua_State *L, const TValue *p1, const TValue *p2, in luaT_callbinTM() 126 const TValue *tm = luaT_gettmbyobj(L, p1, event); /* try first operand */ in luaT_callbinTM() 135 void luaT_trybinTM (lua_State *L, const TValue *p1, const TValue *p2, in luaT_trybinTM() [all …]
|
D | 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); 61 LUAI_FUNC Node *luaH_mainposition (const Table *t, const TValue *key);
|
D | lvm.c | 72 int luaV_tonumber_ (const TValue *obj, lua_Number *n) { in luaV_tonumber_() 73 TValue v; in luaV_tonumber_() 94 int luaV_tointeger (const TValue *obj, lua_Integer *p, int mode) { in luaV_tointeger() 95 TValue v; in luaV_tointeger() 135 static int forlimit (const TValue *obj, lua_Integer *p, lua_Integer step, in forlimit() 160 void luaV_finishget (lua_State *L, const TValue *t, TValue *key, StkId val, in luaV_finishget() 161 const TValue *slot) { in luaV_finishget() 163 const TValue *tm; /* metamethod */ in luaV_finishget() 203 void luaV_finishset (lua_State *L, const TValue *t, TValue *key, in luaV_finishset() 204 StkId val, const TValue *slot) { in luaV_finishset() [all …]
|
D | 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);
|
D | lobject.h | 115 } TValue; typedef 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); } 219 { TValue *io=(obj); val_(io).b=(x); settt_(io, LUA_TBOOLEAN); } 222 { TValue *io = (obj); GCObject *i_g=(x); \ 226 { TValue *io = (obj); TString *x_ = (x); \ [all …]
|
D | ltable.c | 117 static Node *mainposition (const Table *t, const TValue *key) { in mainposition() 144 static unsigned int arrayindex (const TValue *key) { in arrayindex() 243 static int countint (const TValue *key, unsigned int *nums) { in countint() 303 luaM_reallocvector(L, t->array, t->sizearray, size, TValue); in setarrayvector() 371 luaM_reallocvector(L, t->array, oldasize, nasize, TValue); in luaH_resize() 395 static void rehash (lua_State *L, Table *t, const TValue *ek) { in rehash() 461 TValue *luaH_newkey (lua_State *L, Table *t, const TValue *key) { in luaH_newkey() 463 TValue aux; in luaH_newkey() 516 const TValue *luaH_getint (Table *t, lua_Integer key) { in luaH_getint() 539 const TValue *luaH_getshortstr (Table *t, TString *key) { in luaH_getshortstr() [all …]
|
D | 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) */
|
D | lapi.c | 40 #define NONVALIDVALUE cast(TValue *, luaO_nilobject) 60 static TValue *index2addr (lua_State *L, int idx) { in index2addr() 63 TValue *o = ci->func + idx; in index2addr() 195 TValue temp; in reverse() 223 TValue *fr, *to; in lua_copy() 278 const TValue *o = index2addr(L, idx); in lua_isnumber() 284 const TValue *o = index2addr(L, idx); in lua_isstring() 290 const TValue *o = index2addr(L, idx); in lua_isuserdata() 347 const TValue *o = index2addr(L, idx); in lua_tonumberx() 358 const TValue *o = index2addr(L, idx); in lua_tointegerx() [all …]
|
D | ldebug.c | 236 TValue v; in collectvalidlines() 357 TValue *kvalue = &p->k[INDEXK(c)]; in kname() 546 static int isinstack (CallInfo *ci, const TValue *o) { in isinstack() 557 static const char *getupvalname (CallInfo *ci, const TValue *o, in getupvalname() 571 static const char *varinfo (lua_State *L, const TValue *o) { in varinfo() 585 l_noret luaG_typeerror (lua_State *L, const TValue *o, const char *op) { in luaG_typeerror() 591 l_noret luaG_concaterror (lua_State *L, const TValue *p1, const TValue *p2) { in luaG_concaterror() 597 l_noret luaG_opinterror (lua_State *L, const TValue *p1, in luaG_opinterror() 598 const TValue *p2, const char *msg) { in luaG_opinterror() 609 l_noret luaG_tointerror (lua_State *L, const TValue *p1, const TValue *p2) { in luaG_tointerror() [all …]
|
D | lcode.c | 43 static int tonumeral(const expdesc *e, TValue *v) { in tonumeral() 428 static int addk (FuncState *fs, TValue *key, TValue *v) { in addk() 431 TValue *idx = luaH_set(L, fs->ls->h, key); /* index scanner table */ in addk() 446 luaM_growvector(L, f->k, k, f->sizek, TValue, MAXARG_Ax, "constants"); in addk() 459 TValue o; in luaK_stringK() 472 TValue k, o; in luaK_intK() 482 TValue o; in luaK_numberK() 492 TValue o; in boolK() 502 TValue k, v; in nilK() 960 static int validop (int op, TValue *v1, TValue *v2) { in validop() [all …]
|
D | lobject.c | 33 LUAI_DDEF const TValue luaO_nilobject_ = {NILCONSTANT}; 123 void luaO_arith (lua_State *L, int op, const TValue *p1, const TValue *p2, in luaO_arith() 124 TValue *res) { in luaO_arith() 331 size_t luaO_str2num (const char *s, TValue *o) { in luaO_str2num()
|
D | lgc.c | 139 static int iscleared (global_State *g, const TValue *o) { in iscleared() 250 TValue uvalue; in reallymarkobject() 453 const TValue *mode = gfasttm(g, h->metatable, TM_MODE); in traversetable() 469 return sizeof(Table) + sizeof(TValue) * h->sizearray + in traversetable() 494 sizeof(TValue) * f->sizek + in traverseproto() 550 return (sizeof(lua_State) + sizeof(TValue) * th->stacksize + in traversethread() 664 TValue *o = &h->array[i]; in clearvalues() 809 const TValue *tm; in GCTM() 810 TValue v; in GCTM()
|