Home
last modified time | relevance | path

Searched refs:lst (Results 1 – 25 of 92) sorted by relevance

1234

/external/fonttools/Lib/fontTools/
Dmerge.py35 def equal(lst): argument
36 lst = list(lst)
37 t = iter(lst)
39 assert all(item == first for item in t), "Expected all items to be equal: %s" % lst
42 def first(lst): argument
43 return next(iter(lst))
45 def recalculate(lst): argument
48 def current_time(lst): argument
51 def bitwise_and(lst): argument
52 return reduce(operator.and_, lst)
[all …]
/external/deqp/modules/gles31/scripts/
Dgenutil.py83 def shuffled(lst): argument
84 tmp = lst[:]
88 def repeatToLength(lst, toLength): argument
89 return (toLength / len(lst)) * lst + lst[: toLength % len(lst)]
93 def toFloat(lst): return [Scalar(float(v.x)) for v in lst] argument
94 def toInt(lst): return [Scalar(int(v.x)) for v in lst] argument
95 def toUint(lst): return [Uint(int(v.x)) for v in lst] argument
96 def toBool(lst): return [Scalar(bool(v.x)) for v in lst] argument
97 def toVec4(lst): return [v.toFloat().toVec4() for v in lst] argument
98 def toVec3(lst): return [v.toFloat().toVec3() for v in lst] argument
[all …]
/external/deqp/modules/gles3/scripts/
Dgenutil.py83 def shuffled(lst): argument
84 tmp = lst[:]
88 def repeatToLength(lst, toLength): argument
89 return (toLength / len(lst)) * lst + lst[: toLength % len(lst)]
93 def toFloat(lst): return [Scalar(float(v.x)) for v in lst] argument
94 def toInt(lst): return [Scalar(int(v.x)) for v in lst] argument
95 def toUint(lst): return [Uint(int(v.x)) for v in lst] argument
96 def toBool(lst): return [Scalar(bool(v.x)) for v in lst] argument
97 def toVec4(lst): return [v.toFloat().toVec4() for v in lst] argument
98 def toVec3(lst): return [v.toFloat().toVec3() for v in lst] argument
[all …]
/external/deqp/modules/gles2/scripts/
Dgenutil.py83 def shuffled(lst): argument
84 tmp = lst[:]
88 def repeatToLength(lst, toLength): argument
89 return (toLength / len(lst)) * lst + lst[: toLength % len(lst)]
93 def toFloat(lst): return [Scalar(float(v.x)) for v in lst] argument
94 def toInt(lst): return [Scalar(int(v.x)) for v in lst] argument
95 def toBool(lst): return [Scalar(bool(v.x)) for v in lst] argument
96 def toVec4(lst): return [v.toFloat().toVec4() for v in lst] argument
97 def toVec3(lst): return [v.toFloat().toVec3() for v in lst] argument
98 def toVec2(lst): return [v.toFloat().toVec2() for v in lst] argument
[all …]
/external/chromium-trace/trace-viewer/third_party/Paste/paste/util/
Dconverters.py21 lst = obj.split(sep)
23 lst = [v.strip() for v in lst]
24 return lst
/external/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/
Dpeers.cpp428 QModelIndexList lst = model.match(model.index(0, 0), in add_station() local
431 for (int i = 0; i < lst.size(); i++) { in add_station()
433 item = model.itemFromIndex(lst[i]); in add_station()
438 model.removeRow(lst[i].row()); in add_station()
564 QModelIndexList lst = model.match(model.index(0, 0), peer_role_bss_id, in remove_bss() local
566 if (lst.size() == 0) in remove_bss()
568 model.removeRow(lst[0].row()); in remove_bss()
784 QModelIndexList lst = model.match(model.index(0, 0), peer_role_address, in find_addr() local
786 if (lst.size() == 0) in find_addr()
788 return model.itemFromIndex(lst[0]); in find_addr()
[all …]
/external/markdown/markdown/
Dblockprocessors.py274 lst = sibling
276 if len(lst) and lst[-1].text and not len(lst[-1]):
277 p = markdown.etree.SubElement(lst[-1], 'p')
278 p.text = lst[-1].text
279 lst[-1].text = ''
281 li = markdown.etree.SubElement(lst, 'li')
288 lst = markdown.etree.SubElement(parent, self.TAG)
295 self.parser.parseBlocks(lst[-1], [item])
298 li = markdown.etree.SubElement(lst, 'li')
Dtreeprocessors.py270 lst = self.__processPlaceholders(self.__handleInline(
272 stack += lst
273 insertQueue.append((child, lst))
278 for element, lst in insertQueue:
284 for newChild in lst:
/external/libxml2/
Dgentest.py942 lst = open("missing.lst", "w") variable
943 lst.write("Missing support for %d types" % (len(missing_list)))
944 lst.write("\n")
946 lst.write("%s: %d :" % (miss[1], miss[0]))
951 lst.write(" ...")
953 lst.write(" %s" % (n))
954 lst.write("\n")
955 lst.write("\n")
956 lst.write("\n")
957 lst.write("Missing support per module");
[all …]
DgenChRanges.py27 def makeRange(lst): argument
30 while pos < len(lst):
32 s = lst[pos:].index(1) # look for start of next range
37 e = lst[pos:].index(0) # look for end of range
40 e = len(lst)
/external/icu/icu4c/source/extra/uconv/
DMakefile.in151 $(RESFILES) $(RESDIR)/$(RESDIR).lst: | build-dir
154 $(UCONVMSG_LIB): $(RESFILES) $(RESDIR)/$(RESDIR).lst pkgdata.inc
155 …GNAME) $(PKGDATA_OPTS) -m $(PKGMODE) -s $(RESDIR) -d $(RESDIR) -T $(RESDIR) $(RESDIR)/$(RESDIR).lst
157 $(RESDIR)/$(RESDIR).lst: Makefile $(srcdir)/resfiles.mk
165 install-resfiles: $(RESFILES) $(RESDIR)/$(RESDIR).lst pkgdata.inc
167 …DIR) -O pkgdata.inc -m $(PKGMODE) -d $(RESDIR) -I $(INSTALLTO) -T $(RESDIR) $(RESDIR)/$(RESDIR).lst
/external/dhcpcd/
Dif-options.c135 char **lst = ifo->environ; in add_environ() local
145 while (lst && lst[i]) { in add_environ()
146 if (match && strncmp(lst[i], match, l) == 0) { in add_environ()
148 free(lst[i]); in add_environ()
149 lst[i] = xstrdup(value); in add_environ()
152 l = strlen(lst[i]); in add_environ()
154 lst[i] = xrealloc(lst[i], l + lv + 2); in add_environ()
155 lst[i][l] = ' '; in add_environ()
156 memcpy(lst[i] + l + 1, p, lv); in add_environ()
157 lst[i][l + lv + 1] = '\0'; in add_environ()
[all …]
/external/bison/djgpp/
Ddjunpack.bat54 sed "1{s/^.*bison-/djtar -x -p -o bison-/;s|$|djgpp/fnchange.lst %%1 > fnchange.tmp|};2,$d" top_src…
59 Rem Extract fnchange.lst from archive.
63 sed -f version.sed < fnchange.tmp > fnchange.lst
68 djtar -x -n fnchange.lst %1
69 del fnchange.lst
78 echo FAIL: DJTAR is not available or no fnchange.lst file in %1.
/external/zlib/src/contrib/masmx86/
Dbld_ml32.bat1 ml /coff /Zi /c /Flmatch686.lst match686.asm
2 ml /coff /Zi /c /Flinffas32.lst inffas32.asm
/external/iproute2/ip/
Dipmaddr.c73 void maddr_ins(struct ma_info **lst, struct ma_info *m) in maddr_ins() argument
77 for (; (mp=*lst) != NULL; lst = &mp->next) { in maddr_ins()
81 m->next = *lst; in maddr_ins()
82 *lst = m; in maddr_ins()
/external/chromium-trace/trace-viewer/third_party/WebOb/webob/
Dmultidict.py46 def view_list(cls, lst): argument
50 if not isinstance(lst, list):
53 % (cls.__name__, lst))
55 obj._items = lst
214 lst = args[0]
215 if len(lst) != len(dict(lst)):
/external/lldb/test/unittest2/
Dutil.py81 for lst in expected, actual:
84 lst.remove(item)
/external/chromium-trace/trace-viewer/third_party/Paste/paste/
Dconfig.py61 def _pop_from(self, lst, conf): argument
62 popped = lst.pop()
/external/v8/benchmarks/
Dearley-boyer.js3512 var lst;
3513 …r((term.car))), ((lst = (term.cdr)), ((lst === null)?null:(new sc_Pair((translate_term_nboyer((lst
3515 translate_args_nboyer = function(lst) { argument
3518lst === null)?null:(new sc_Pair(((term = (lst.car)), (!(term instanceof sc_Pair)?term:(new sc_Pair…
3556 var lst;
3558 …erm.car), ((lst = (term.cdr)), ((lst === null)?null:(new sc_Pair((apply_subst_nboyer(alist, (lst.c…
3560 apply_subst_lst_nboyer = function(alist, lst) { argument
3562 …return ((lst === null)?null:(new sc_Pair((apply_subst_nboyer(alist, (lst.car))), ((sc_lst_7 = (lst
3607 var lst;
3617 (lst = ((symbol_record = (term.car)), (symbol_record[(1)])));
[all …]
/external/llvm/bindings/ocaml/target/
Dllvm_target.ml103 let rec step elem lst =
105 | Some target -> step (succ target) (target :: lst)
106 | None -> lst
/external/iproute2/examples/
Ddhcp-client-script238 local lst="$2"
243 if [ "$lst" ]; then
244 set $lst
/external/clang/utils/
Dclang-completion-mode.el98 (defun filter (condp lst)
100 (mapcar (lambda (x) (and (funcall condp x) x)) lst)))
/external/libxml2/include/libxml/
Dparser.h941 xmlNodePtr *lst);
948 xmlNodePtr *lst);
956 xmlNodePtr *lst,
965 xmlNodePtr *lst);
971 xmlNodePtr *lst);
/external/icu/icu4c/source/i18n/
Dastro.cpp418 double CalendarAstronomer::lstToUT(double lst) { in lstToUT() argument
420 double lt = normalize((lst - getSiderealOffset()) * 0.9972695663, 24); in lstToUT()
1385 …double lst = ((rise ? CalendarAstronomer_PI2-angle : angle) + pos.ascension ) * 24 / CalendarAstro… in riseOrSet() local
1388 UDate newTime = lstToUT( lst ); in riseOrSet()
1393 count, deltaT, angle, lst, pos.ascension, pos.declination)); in riseOrSet()
/external/icu/icu4c/source/test/testdata/
DMakefile.in150 $(TESTBUILDDIR)/testdata.lst: $(SRCLISTDEPS)
158 build-testdata: build-dir $(ALL_TEST_FILES) $(TESTBUILDDIR)/testdata.lst $(TESTBUILDDIR)/encoded.res
225 packagetest: build-dir testdata pkgdata.inc $(TESTBUILDDIR)/testdata.lst
226 …BUILDDIR) -d $(TESTOUTDIR) -s $(TESTBUILDDIR) -p $(TESTDATA) -m common $(TESTBUILDDIR)/testdata.lst

1234