Home
last modified time | relevance | path

Searched refs:alist (Results 1 – 25 of 31) sorted by relevance

12

/external/python/cpython2/Modules/
Ddlmodule.c82 long alist[10]; in dl_call() local
111 alist[i-1] = PyInt_AsLong(v); in dl_call()
113 alist[i-1] = (long)PyString_AsString(v); in dl_call()
115 alist[i-1] = (long) ((char *)NULL); in dl_call()
123 alist[i-1] = 0; in dl_call()
124 res = (*func)(alist[0], alist[1], alist[2], alist[3], alist[4], in dl_call()
125 alist[5], alist[6], alist[7], alist[8], alist[9]); in dl_call()
/external/openssh/
Dscp.c589 arglist alist; in toremote() local
593 memset(&alist, '\0', sizeof(alist)); in toremote()
594 alist.list = NULL; in toremote()
651 freeargs(&alist); in toremote()
652 addargs(&alist, "%s", ssh_program); in toremote()
653 addargs(&alist, "-x"); in toremote()
654 addargs(&alist, "-oClearAllForwardings=yes"); in toremote()
655 addargs(&alist, "-n"); in toremote()
657 addargs(&alist, "%s", in toremote()
673 addargs(&alist, "-l"); in toremote()
[all …]
/external/autotest/cli/
Dacl_unittest.py223 alist = cli_mock.create_file('acl2\nacl1')
226 '--alist', alist.name],
240 alist.clean()
244 alist = cli_mock.create_file('acl2\nacl1')
247 '--alist', alist.name],
265 alist.clean()
/external/fonttools/Lib/fontTools/misc/
DtextTools.py66 def caselessSort(alist): argument
72 return sorted(alist, key=lambda a: (a.lower(), a))
74 return sorted(alist)
/external/clang/test/SemaObjC/
Duninit-variables.m42 va_list alist;
43 va_start(alist, z);
44 [NSException raise:@"Blah" format:@"Blah %@" arguments:alist];
/external/toybox/toys/pending/
Dip.c109 struct arglist *alist; in substring_to_idx() local
115 for (alist = list; alist->name; alist++) in substring_to_idx()
116 if (!memcmp(str, alist->name, len)) return alist->idx; in substring_to_idx()
122 struct arglist *alist; in string_to_idx() local
125 for (alist = list; alist->name; alist++) in string_to_idx()
126 if (!strcmp(str, alist->name)) return alist->idx; in string_to_idx()
132 struct arglist *alist; in idx_to_string() local
135 for (alist = list; alist->name; alist++) in idx_to_string()
136 if (idx == alist->idx) return alist->name; in idx_to_string()
214 struct arglist **alist; in getlist() local
[all …]
Droute.c176 struct _arglist *alist; in get_action() local
179 for (alist = list; alist->arg; alist++) { //find the given parameter in list in get_action()
180 if (!strcmp(**argv, alist->arg)) { in get_action()
182 return alist->action; in get_action()
/external/python/cpython2/Lib/test/
Dtest_gc.py325 def __init__(self, alist): argument
326 self[:] = alist
461 alist = [1, 3, 5]
462 got = gc.get_referents(alist)
464 self.assertEqual(got, alist)
466 atuple = tuple(alist)
469 self.assertEqual(got, alist)
Dtest_weakref.py589 alist = []
595 alist.append(self.c)
604 alist.append("C went away")
608 self.assertEqual(alist, []) # del isn't enough to reclaim anything
615 self.assertEqual(alist, ["C went away"])
619 del alist[:]
621 self.assertEqual(alist, [])
627 alist = []
629 alist.append("safe_callback called")
633 alist.append("cb called")
[all …]
Dtest_xmlrpc.py26 alist = [{'astring': 'foo@bar.baz.spam', variable
41 alist[0].update({
49 self.assertEqual(alist,
50 xmlrpclib.loads(xmlrpclib.dumps((alist,)))[0][0])
143 value = alist + [None]
144 arg1 = (alist + [None],)
/external/python/cpython2/Python/
Dbltinmodule.c172 PyObject *func, *alist = NULL, *kwdict = NULL; in builtin_apply() local
179 if (!PyArg_UnpackTuple(args, "apply", 1, 3, &func, &alist, &kwdict)) in builtin_apply()
181 if (alist != NULL) { in builtin_apply()
182 if (!PyTuple_Check(alist)) { in builtin_apply()
183 if (!PySequence_Check(alist)) { in builtin_apply()
186 alist->ob_type->tp_name); in builtin_apply()
189 t = PySequence_Tuple(alist); in builtin_apply()
192 alist = t; in builtin_apply()
201 retval = PyEval_CallObjectWithKeywords(func, alist, kwdict); in builtin_apply()
1016 PyObject *alist, *item=NULL, *value; in builtin_map() local
[all …]
/external/clang/test/Analysis/
DNoReturn.m61 va_list alist;
62 va_start(alist, x);
64 [NSException raise:@"Blah" format:@"Blah %@" arguments:alist];
/external/llvm/test/CodeGen/Mips/compactbranches/
Dbeqc-bnec-register-constraint.ll14 define internal void @_ZL14TestRemoveLastv(i32* %alist.sroa.0.4) {
16 %ascevgep = getelementptr i32, i32* %alist.sroa.0.4, i64 99
/external/iputils/
Drarpd.c239 struct ifaddr *select_ipaddr(int ifindex, __u32 *sel_addr, __u32 **alist) in select_ipaddr() argument
258 for (i=0; alist[i]; i++) { in select_ipaddr()
259 __u32 addr = *(alist[i]); in select_ipaddr()
273 *sel_addr = *(alist[0]); in select_ipaddr()
/external/libxml2/
DgenUnicode.py75 alist = string.split(alias[1],',') variable
76 for comp in alist:
/external/python/cpython2/Doc/library/
Drfc822.rst316 .. method:: AddressList.__add__(alist)
322 .. method:: AddressList.__iadd__(alist)
325 into the union of itself and the right-hand instance, *alist*.
328 .. method:: AddressList.__sub__(alist)
335 .. method:: AddressList.__isub__(alist)
338 also in *alist*.
/external/javassist/src/main/javassist/
DCtClassType.java860 ArrayList alist = new ArrayList(); in getFields() local
861 getFields(alist, this); in getFields()
862 return (CtField[])alist.toArray(new CtField[alist.size()]); in getFields()
865 private static void getFields(ArrayList alist, CtClass cc) { in getFields() argument
871 getFields(alist, cc.getSuperclass()); in getFields()
879 getFields(alist, ifs[i]); in getFields()
889 alist.add(field); in getFields()
/external/e2fsprogs/contrib/
Dfsstress.c1499 attrlist_t *alist; in attr_remove_f() local
1521 alist = (attrlist_t *) buf; in attr_remove_f()
1522 total += alist->al_count; in attr_remove_f()
1523 } while (alist->al_more); in attr_remove_f()
1541 alist = (attrlist_t *) buf; in attr_remove_f()
1542 if (which < ent + alist->al_count) { in attr_remove_f()
1544 & buf[alist->al_offset[which - ent]]; in attr_remove_f()
1548 ent += alist->al_count; in attr_remove_f()
1549 } while (alist->al_more); in attr_remove_f()
/external/ltp/testcases/kernel/fs/fsstress/
Dfsstress.c1474 attrlist_t *alist; in attr_remove_f() local
1496 alist = (attrlist_t *) buf; in attr_remove_f()
1497 total += alist->al_count; in attr_remove_f()
1498 } while (alist->al_more); in attr_remove_f()
1516 alist = (attrlist_t *) buf; in attr_remove_f()
1517 if (which < ent + alist->al_count) { in attr_remove_f()
1519 & buf[alist->al_offset[which - ent]]; in attr_remove_f()
1523 ent += alist->al_count; in attr_remove_f()
1524 } while (alist->al_more); in attr_remove_f()
/external/python/cpython2/Lib/
Drfc822.py332 alist = self.getaddrlist(name)
333 if alist:
334 return alist[0]
/external/devlib/devlib/utils/
Dmisc.py498 def unique(alist): argument
505 for item in alist:
/external/v8/benchmarks/
Dearley-boyer.js3550 translate_alist_nboyer = function(alist) { argument
3553alist === null)?null:(new sc_Pair((new sc_Pair((alist.car.car), ((term = (alist.car.cdr)), (!(term…
3555 apply_subst_nboyer = function(alist, term) { argument
3558alist))), ((temp_temp!== false)?(temp_temp.cdr):term)):(new sc_Pair((term.car), ((lst = (term.cdr)…
3560 apply_subst_lst_nboyer = function(alist, lst) { argument
3562alist, (lst.car))), ((sc_lst_7 = (lst.cdr)), ((sc_lst_7 === null)?null:(new sc_Pair((apply_subst_n…
/external/libpcap/
Dgencode.c4905 gen_gateway(eaddr, alist, proto, dir) in gen_gateway() argument
4907 bpf_u_int32 **alist;
4959 b1 = gen_host(cstate, **alist++, 0xffffffff, proto, Q_OR, Q_HOST);
4960 while (*alist) {
4961 tmp = gen_host(cstate, **alist++, 0xffffffff, proto, Q_OR,
6203 bpf_u_int32 **alist; in gen_scode() local
6308 alist = pcap_nametoaddr(name); in gen_scode()
6309 if (alist == NULL || *alist == NULL) in gen_scode()
6315 b = gen_host(cstate, **alist++, 0xffffffff, tproto, dir, q.addr); in gen_scode()
6316 while (*alist) { in gen_scode()
[all …]
/external/guava/guava-tests/test/com/google/common/collect/
DFluentIterableTest.java221 FluentIterable<TypeA> alist = in testFilterByType() local
223 Iterable<TypeB> blist = alist.filter(TypeB.class); in testFilterByType()
/external/python/cpython2/Lib/logging/
Dconfig.py105 def _strip_spaces(alist): argument
106 return map(lambda x: x.strip(), alist)

12