Home
last modified time | relevance | path

Searched refs:l (Results 1 – 25 of 395) sorted by relevance

12345678910>>...16

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/pybench/
DLists.py11 l = []
12 append = l.append
23 l[0] = 3
24 l[1] = 4
25 l[2] = 5
26 l[3] = 3
27 l[4] = 4
28 l[5] = 5
30 x = l[0]
31 x = l[1]
[all …]
DLookups.py754 l = []
759 l.append
760 l.append
761 l.append
762 l.append
763 l.append
765 l.insert
766 l.insert
767 l.insert
768 l.insert
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/i18n/
Dmsgfmt.py122 for l in lines:
125 if l[0] == '#' and section == STR:
130 if l[:2] == '#,' and 'fuzzy' in l:
133 if l[0] == '#':
136 if l.startswith('msgid') and not l.startswith('msgid_plural'):
140 l = l[5:]
144 elif l.startswith('msgid_plural'):
149 l = l[12:]
153 elif l.startswith('msgstr'):
155 if l.startswith('msgstr['):
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_bigmem.py362 l = s.split()
363 self.assertEqual(len(l), chunksize)
364 self.assertEqual(set(l), set(['a']))
365 del l
366 l = s.split('a')
367 self.assertEqual(len(l), chunksize + 1)
368 self.assertEqual(set(l), set(['', ' ' * chunksize]))
379 l = s.split()
380 self.assertEqual(len(l), size)
381 self.assertEqual(set(l), set(['a']))
[all …]
Dtest_capi.py19 def pendingcalls_submit(self, l, n): argument
23 l.append(None)
34 def pendingcalls_wait(self, l, n, context = None): argument
37 while len(l) != n:
42 print "(%i)"%(len(l),),
49 "timeout waiting for %i callbacks, got %i"%(n, len(l)))
51 print "(%i)"%(len(l),)
59 context.l = []
71 self.pendingcalls_wait(context.l, n, context)
78 self.pendingcalls_submit(context.l, context.n)
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/
Dstructmember.c34 struct memberlist *l; in PyMember_Get() local
38 for (l = mlist; l->name != NULL; l++) { in PyMember_Get()
39 if (strcmp(l->name, name) == 0) { in PyMember_Get()
41 copy.name = l->name; in PyMember_Get()
42 copy.type = l->type; in PyMember_Get()
43 copy.offset = l->offset; in PyMember_Get()
44 copy.flags = l->flags; in PyMember_Get()
54 PyMember_GetOne(const char *addr, PyMemberDef *l) in PyMember_GetOne() argument
57 if ((l->flags & READ_RESTRICTED) && in PyMember_GetOne()
62 addr += l->offset; in PyMember_GetOne()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
Dstructmember.c34 struct memberlist *l; in PyMember_Get() local
38 for (l = mlist; l->name != NULL; l++) { in PyMember_Get()
39 if (strcmp(l->name, name) == 0) { in PyMember_Get()
41 copy.name = l->name; in PyMember_Get()
42 copy.type = l->type; in PyMember_Get()
43 copy.offset = l->offset; in PyMember_Get()
44 copy.flags = l->flags; in PyMember_Get()
54 PyMember_GetOne(const char *addr, PyMemberDef *l) in PyMember_GetOne() argument
57 if ((l->flags & READ_RESTRICTED) && in PyMember_GetOne()
62 addr += l->offset; in PyMember_GetOne()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/unicode/
Dgencodec.py56 l = codes.split('+')
57 if len(l) == 1:
58 return int(l[0],16)
59 for i in range(len(l)):
61 l[i] = int(l[i],16)
63 l[i] = None
64 l = [x for x in l if x is not None]
65 if len(l) == 1:
66 return l[0]
68 return tuple(l)
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/framer/framer/
Dutil.py7 for l in s.split("\n"):
8 if len(l) < width:
9 L.append(r'"%s\n"' % l)
28 for l in lines:
29 ls = l.strip()
31 indent = len(l) - len(ls)
33 L += [l[indent:] for l in lines]
/device/linaro/bootloader/edk2/StdLibPrivateInternalFiles/Include/
Dreentrant.h184 #define rwlock_init(l, a) __libc_rwlock_init((l), (a)) argument
185 #define rwlock_rdlock(l) __libc_rwlock_rdlock((l)) argument
186 #define rwlock_wrlock(l) __libc_rwlock_wrlock((l)) argument
187 #define rwlock_tryrdlock(l) __libc_rwlock_tryrdlock((l)) argument
188 #define rwlock_trywrlock(l) __libc_rwlock_trywrlock((l)) argument
189 #define rwlock_unlock(l) __libc_rwlock_unlock((l)) argument
190 #define rwlock_destroy(l) __libc_rwlock_destroy((l)) argument
247 #define rwlock_init(l, a)
248 #define rwlock_rdlock(l)
249 #define rwlock_wrlock(l)
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/
Dlfunc.c32 c->l.p = NULL; in luaF_newLclosure()
33 c->l.nupvalues = cast_byte(n); in luaF_newLclosure()
34 while (n--) c->l.upvals[n] = NULL; in luaF_newLclosure()
66 uv->u.l.prev = &g->uvhead; /* double link it in `uvhead' list */ in luaF_findupval()
67 uv->u.l.next = g->uvhead.u.l.next; in luaF_findupval()
68 uv->u.l.next->u.l.prev = uv; in luaF_findupval()
69 g->uvhead.u.l.next = uv; in luaF_findupval()
70 lua_assert(uv->u.l.next->u.l.prev == uv && uv->u.l.prev->u.l.next == uv); in luaF_findupval()
76 lua_assert(uv->u.l.next->u.l.prev == uv && uv->u.l.prev->u.l.next == uv); in unlinkupval()
77 uv->u.l.next->u.l.prev = uv->u.l.prev; /* remove from `uvhead' list */ in unlinkupval()
[all …]
Dlstrlib.c38 size_t l; in str_len() local
39 luaL_checklstring(L, 1, &l); in str_len()
40 lua_pushinteger(L, (lua_Integer)l); in str_len()
54 size_t l; in str_sub() local
55 const char *s = luaL_checklstring(L, 1, &l); in str_sub()
56 size_t start = posrelat(luaL_checkinteger(L, 2), l); in str_sub()
57 size_t end = posrelat(luaL_optinteger(L, 3, -1), l); in str_sub()
59 if (end > l) end = l; in str_sub()
68 size_t l, i; in str_reverse() local
70 const char *s = luaL_checklstring(L, 1, &l); in str_reverse()
[all …]
Dlobject.c66 int l = 0; in luaO_ceillog2() local
68 while (x >= 256) { l += 8; x >>= 8; } in luaO_ceillog2()
69 return l + log_2[x]; in luaO_ceillog2()
173 static void pushstr (lua_State *L, const char *str, size_t l) { in pushstr() argument
174 setsvalue2s(L, L->top++, luaS_newlstr(L, str, l)); in pushstr()
209 int l = sprintf(buff, "%p", va_arg(argp, void *)); in luaO_pushvfstring() local
210 pushstr(L, buff, l); in luaO_pushvfstring()
250 #define addstr(a,b,l) ( memcpy(a,b,(l) * sizeof(char)), a += (l) ) argument
253 size_t l = strlen(source); in luaO_chunkid() local
255 if (l <= bufflen) /* small enough? */ in luaO_chunkid()
[all …]
Dlstring.c51 unsigned int luaS_hash (const char *str, size_t l, unsigned int seed) { in luaS_hash() argument
52 unsigned int h = seed ^ cast(unsigned int, l); in luaS_hash()
54 size_t step = (l >> LUAI_HASHLIMIT) + 1; in luaS_hash()
55 for (l1 = l; l1 >= step; l1 -= step) in luaS_hash()
98 static TString *createstrobj (lua_State *L, const char *str, size_t l, in createstrobj() argument
102 totalsize = sizeof(TString) + ((l + 1) * sizeof(char)); in createstrobj()
104 ts->tsv.len = l; in createstrobj()
107 memcpy(ts+1, str, l*sizeof(char)); in createstrobj()
108 ((char *)(ts+1))[l] = '\0'; /* ending 0 */ in createstrobj()
116 static TString *newshrstr (lua_State *L, const char *str, size_t l, in newshrstr() argument
[all …]
Dlvm.c53 int l = lua_number2str(s, n); in luaV_tostring() local
54 setsvalue2s(L, obj, luaS_newlstr(L, s, l)); in luaV_tostring()
74 int npc = pcRel(ci->u.l.savedpc, p); in traceexec()
77 ci->u.l.savedpc <= L->oldpc || /* when jump back (loop), or when */ in traceexec()
81 L->oldpc = ci->u.l.savedpc; in traceexec()
85 ci->u.l.savedpc--; /* undo increment (resume will increment it again) */ in traceexec()
210 const char *l = getstr(ls); in l_strcmp() local
215 int temp = strcoll(l, r); in l_strcmp()
218 size_t len = strlen(l); /* index of first `\0' in both strings */ in l_strcmp()
225 l += len; ll -= len; r += len; lr -= len; in l_strcmp()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dcolorsys.py71 l = (minc+maxc)/2.0
73 return 0.0, l, 0.0
74 if l <= 0.5:
88 return h, l, s
90 def hls_to_rgb(h, l, s): argument
92 return l, l, l
93 if l <= 0.5:
94 m2 = l * (1.0+s)
96 m2 = l+s-(l*s)
97 m1 = 2.0*l - m2
/device/generic/goldfish-opengl/android-emu/android/base/
DOptional.h484 bool operator==(const Optional<T>& l, const Optional<T>& r) {
485 return l.hasValue() ? r.hasValue() && *l == *r : !r.hasValue();
488 bool operator==(const Optional<T>& l, NulloptT) {
489 return !l;
496 bool operator==(const Optional<T>& l, const T& r) {
497 return bool(l) && *l == r;
500 bool operator==(const T& l, const Optional<T>& r) {
501 return bool(r) && l == *r;
505 bool operator!=(const Optional<T>& l, const Optional<T>& r) {
506 return !(l == r);
[all …]
DEnumFlags.h49 enable_if_scoped_enum<E> operator|(E l, E r) {
50 return static_cast<E>(static_cast<underlying_enum_type<E>>(l)
55 enable_if_scoped_enum<E> operator&(E l, E r) {
56 return static_cast<E>(static_cast<underlying_enum_type<E>>(l)
66 enable_if_scoped_enum<E> operator|=(E& l, E r) {
67 return l = (l | r);
71 enable_if_scoped_enum<E> operator&=(E& l, E r) {
72 return l = (l & r);
/device/generic/opengl-transport/host/commands/emugen/android/base/
DEnumFlags.h46 enable_if_scoped_enum<E> operator|(E l, E r) {
47 return static_cast<E>(static_cast<underlying_enum_type<E>>(l)
52 enable_if_scoped_enum<E> operator&(E l, E r) {
53 return static_cast<E>(static_cast<underlying_enum_type<E>>(l)
63 enable_if_scoped_enum<E> operator|=(E& l, E r) {
64 return l = (l | r);
68 enable_if_scoped_enum<E> operator&=(E& l, E r) {
69 return l = (l & r);
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/dlg/
Ddlg_p.c202 relabel(zzaArg(zztasp1,1 ).l,comp_level); in do_conversion()
207 nfa_to_dfa(zzaArg(zztasp1,1 ).l); in do_conversion()
235 zzaRet.l=zzaArg(zztasp1,1 ).l; zzaRet.r=zzaArg(zztasp1,1 ).r; in rule_list()
244 (t1)->trans[0]=zzaRet.l; in rule_list()
245 (t1)->trans[1]=zzaArg(zztasp2,1 ).l; in rule_list()
247 zzaRet.l=t1; zzaRet.r=NULL; in rule_list()
257 zzaRet.l = new_nfa_node(); zzaRet.r = NULL; in rule_list()
286 …zzaRet.l=zzaArg(zztasp1,1 ).l; zzaRet.r=zzaArg(zztasp1,1 ).r; (zzaArg(zztasp1,1 ).r)->accept=actio… in rule()
294 zzaRet.l = NULL; zzaRet.r = NULL; in rule()
322 zzaRet.l=zzaArg(zztasp1,1 ).l; zzaRet.r=zzaArg(zztasp1,1 ).r; in reg_expr()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Objects/stringlib/
Dlocaleutil.h144 Py_ssize_t l; in _Py_InsertThousandsGrouping() local
159 while ((l = _GroupGenerator_next(&groupgen)) > 0) { in _Py_InsertThousandsGrouping()
160 l = MIN(l, MAX(MAX(remaining, min_width), 1)); in _Py_InsertThousandsGrouping()
161 n_zeros = MAX(0, l - remaining); in _Py_InsertThousandsGrouping()
162 n_chars = MAX(0, MIN(remaining, l)); in _Py_InsertThousandsGrouping()
179 min_width -= l; in _Py_InsertThousandsGrouping()
190 l = MAX(MAX(remaining, min_width), 1); in _Py_InsertThousandsGrouping()
191 n_zeros = MAX(0, l - remaining); in _Py_InsertThousandsGrouping()
192 n_chars = MAX(0, MIN(remaining, l)); in _Py_InsertThousandsGrouping()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/stringlib/
Dlocaleutil.h144 Py_ssize_t l; in _Py_InsertThousandsGrouping() local
159 while ((l = _GroupGenerator_next(&groupgen)) > 0) { in _Py_InsertThousandsGrouping()
160 l = MIN(l, MAX(MAX(remaining, min_width), 1)); in _Py_InsertThousandsGrouping()
161 n_zeros = MAX(0, l - remaining); in _Py_InsertThousandsGrouping()
162 n_chars = MAX(0, MIN(remaining, l)); in _Py_InsertThousandsGrouping()
179 min_width -= l; in _Py_InsertThousandsGrouping()
190 l = MAX(MAX(remaining, min_width), 1); in _Py_InsertThousandsGrouping()
191 n_zeros = MAX(0, l - remaining); in _Py_InsertThousandsGrouping()
192 n_chars = MAX(0, MIN(remaining, l)); in _Py_InsertThousandsGrouping()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Objects/stringlib/
Dlocaleutil.h144 Py_ssize_t l; in _Py_InsertThousandsGrouping() local
159 while ((l = _GroupGenerator_next(&groupgen)) > 0) { in _Py_InsertThousandsGrouping()
160 l = MIN(l, MAX(MAX(remaining, min_width), 1)); in _Py_InsertThousandsGrouping()
161 n_zeros = MAX(0, l - remaining); in _Py_InsertThousandsGrouping()
162 n_chars = MAX(0, MIN(remaining, l)); in _Py_InsertThousandsGrouping()
179 min_width -= l; in _Py_InsertThousandsGrouping()
190 l = MAX(MAX(remaining, min_width), 1); in _Py_InsertThousandsGrouping()
191 n_zeros = MAX(0, l - remaining); in _Py_InsertThousandsGrouping()
192 n_chars = MAX(0, MIN(remaining, l)); in _Py_InsertThousandsGrouping()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/
Dfind_recursionlimit.py79 l = None
82 l = _cache[n]
86 l = [l]
87 cPickle.dumps(l, protocol=-1)
88 _cache[n] = l
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Dcopy.py370 l = [None, 1, 2L, 3.14, 'xyzzy', (1, 2L), [3.14, 'abc'],
372 l1 = copy(l)
373 print l1==l
374 l1 = map(copy, l)
375 print l1==l
376 l1 = deepcopy(l)
377 print l1==l
399 l.append(c)
400 l2 = copy(l)
401 print l == l2
[all …]

12345678910>>...16