HomeSort by relevance Sort by last modified time
    Searched refs:alist (Results 1 - 25 of 77) sorted by null

1 2 3 4

  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
ArrayListTest.java 39 List alist; field in class:ArrayListTest
48 new Support_ListTest("", alist).runTest();
107 alist.add(50, o = new Object());
108 assertTrue("Failed to add Object", alist.get(50) == o);
110 alist.get(51) == objArray[50]
111 && (alist.get(52) == objArray[51]));
112 Object oldItem = alist.get(25);
113 alist.add(25, null);
114 assertNull("Should have returned null", alist.get(25));
115 assertTrue("Should have returned the old item from slot 25", alist
    [all...]
  /external/python/cpython2/Modules/
dlmodule.c 82 long alist[10]; local
111 alist[i-1] = PyInt_AsLong(v);
113 alist[i-1] = (long)PyString_AsString(v);
115 alist[i-1] = (long) ((char *)NULL);
123 alist[i-1] = 0;
124 res = (*func)(alist[0], alist[1], alist[2], alist[3], alist[4]
    [all...]
  /frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DpmTestUtils.java 82 final ArrayList<String> alist; local
84 alist = null;
86 alist = Lists.newArrayList();
89 alist.add(key);
92 Collections.sort(alist);
95 assertEquals(elist, alist);
  /external/fonttools/Lib/fontTools/misc/
textTools.py 66 def caselessSort(alist):
72 return sorted(alist, key=lambda a: (a.lower(), a))
74 return sorted(alist)
  /toolchain/binutils/binutils-2.25/ld/
mri.c 131 struct section_name_struct *alist; local
137 for (alist = address;
138 alist != NULL;
139 alist = alist->next)
145 if (strcmp (alist->name, olist->name) == 0)
147 olist->vma = alist->vma;
155 mri_add_to_list (&order, alist->name, alist->vma, 0, 0, 0);
  /external/openssh/
scp.c 589 arglist alist; local
593 memset(&alist, '\0', sizeof(alist));
594 alist.list = NULL;
651 freeargs(&alist);
652 addargs(&alist, "%s", ssh_program);
653 addargs(&alist, "-x");
654 addargs(&alist, "-oClearAllForwardings=yes");
655 addargs(&alist, "-n");
657 addargs(&alist, "%s"
709 arglist alist; local
    [all...]
  /prebuilts/misc/common/swig/include/2.0.11/guile/
std_map.i 19 // the parameter being read-only, either a Scheme alist or a
25 // the map is returned by copy; therefore, a Scheme alist
49 SCM alist = $input;
50 while (!scm_is_null(alist)) {
54 entry = SCM_CAR(alist);
56 SWIG_exception(SWIG_TypeError,"alist expected");
63 SWIG_exception(SWIG_TypeError,"alist expected");
68 alist = SCM_CDR(alist);
85 SCM alist = $input
    [all...]
  /prebuilts/misc/common/swig/include/2.0.11/mzscheme/
std_map.i 19 // the parameter being read-only, either a Scheme alist or a
25 // the map is returned by copy; therefore, a Scheme alist
49 Scheme_Object* alist = $input;
50 while (!SCHEME_NULLP(alist)) {
54 entry = scheme_car(alist);
56 SWIG_exception(SWIG_TypeError,"alist expected");
63 SWIG_exception(SWIG_TypeError,"alist expected");
68 alist = scheme_cdr(alist);
85 Scheme_Object* alist = $input
    [all...]
  /external/autotest/cli/
acl_unittest.py 19 '--alist', afile.name, 'acl5', 'acl6,acl7']
223 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/toybox/toys/pending/
route.c 176 struct _arglist *alist; local
179 for (alist = list; alist->arg; alist++) { //find the given parameter in list
180 if (!strcmp(**argv, alist->arg)) {
182 return alist->action;
ip.c 109 struct arglist *alist; local
115 for (alist = list; alist->name; alist++)
116 if (!memcmp(str, alist->name, len)) return alist->idx;
122 struct arglist *alist; local
125 for (alist = list; alist->name; alist++
132 struct arglist *alist; local
214 struct arglist **alist; local
284 struct arglist **alist; local
303 struct arglist **alist; local
    [all...]
  /external/python/cpython2/Lib/test/
test_gc.py 325 def __init__(self, alist):
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)
test_weakref.py 589 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...]
  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
test_gc.py 325 def __init__(self, alist):
326 self[:] = alist
465 alist = [1, 3, 5]
466 got = gc.get_referents(alist)
468 self.assertEqual(got, alist)
470 atuple = tuple(alist)
473 self.assertEqual(got, alist)
test_weakref.py 586 alist = []
592 alist.append(self.c)
601 alist.append("C went away")
605 self.assertEqual(alist, []) # del isn't enough to reclaim anything
612 self.assertEqual(alist, ["C went away"])
616 del alist[:]
618 self.assertEqual(alist, [])
624 alist = []
626 alist.append("safe_callback called")
630 alist.append("cb called"
    [all...]
  /prebuilts/gdb/linux-x86/lib/python2.7/test/
test_gc.py 325 def __init__(self, alist):
326 self[:] = alist
465 alist = [1, 3, 5]
466 got = gc.get_referents(alist)
468 self.assertEqual(got, alist)
470 atuple = tuple(alist)
473 self.assertEqual(got, alist)
test_weakref.py 586 alist = []
592 alist.append(self.c)
601 alist.append("C went away")
605 self.assertEqual(alist, []) # del isn't enough to reclaim anything
612 self.assertEqual(alist, ["C went away"])
616 del alist[:]
618 self.assertEqual(alist, [])
624 alist = []
626 alist.append("safe_callback called")
630 alist.append("cb called"
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_gc.py 325 def __init__(self, alist):
326 self[:] = alist
465 alist = [1, 3, 5]
466 got = gc.get_referents(alist)
468 self.assertEqual(got, alist)
470 atuple = tuple(alist)
473 self.assertEqual(got, alist)
test_weakref.py 586 alist = []
592 alist.append(self.c)
601 alist.append("C went away")
605 self.assertEqual(alist, []) # del isn't enough to reclaim anything
612 self.assertEqual(alist, ["C went away"])
616 del alist[:]
618 self.assertEqual(alist, [])
624 alist = []
626 alist.append("safe_callback called")
630 alist.append("cb called"
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_gc.py 325 def __init__(self, alist):
326 self[:] = alist
465 alist = [1, 3, 5]
466 got = gc.get_referents(alist)
468 self.assertEqual(got, alist)
470 atuple = tuple(alist)
473 self.assertEqual(got, alist)
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
test_weakref.py 565 alist = []
571 alist.append(self.c)
580 alist.append("C went away")
584 self.assertEqual(alist, []) # del isn't enough to reclaim anything
591 self.assertEqual(alist, ["C went away"])
595 del alist[:]
597 self.assertEqual(alist, [])
603 alist = []
605 alist.append("safe_callback called")
609 alist.append("cb called")
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/
bltinmodule.c 172 PyObject *func, *alist = NULL, *kwdict = NULL; local
179 if (!PyArg_UnpackTuple(args, "apply", 1, 3, &func, &alist, &kwdict))
181 if (alist != NULL) {
182 if (!PyTuple_Check(alist)) {
183 if (!PySequence_Check(alist)) {
186 alist->ob_type->tp_name);
189 t = PySequence_Tuple(alist);
192 alist = t;
201 retval = PyEval_CallObjectWithKeywords(func, alist, kwdict);
1005 PyObject *alist, *item=NULL, *value; local
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
bltinmodule.c 166 PyObject *func, *alist = NULL, *kwdict = NULL; local
173 if (!PyArg_UnpackTuple(args, "apply", 1, 3, &func, &alist, &kwdict))
175 if (alist != NULL) {
176 if (!PyTuple_Check(alist)) {
177 if (!PySequence_Check(alist)) {
180 alist->ob_type->tp_name);
183 t = PySequence_Tuple(alist);
186 alist = t;
195 retval = PyEval_CallObjectWithKeywords(func, alist, kwdict);
997 PyObject *alist, *item=NULL, *value; local
    [all...]
  /external/python/cpython2/Python/
bltinmodule.c 172 PyObject *func, *alist = NULL, *kwdict = NULL; local
179 if (!PyArg_UnpackTuple(args, "apply", 1, 3, &func, &alist, &kwdict))
181 if (alist != NULL) {
182 if (!PyTuple_Check(alist)) {
183 if (!PySequence_Check(alist)) {
186 alist->ob_type->tp_name);
189 t = PySequence_Tuple(alist);
192 alist = t;
201 retval = PyEval_CallObjectWithKeywords(func, alist, kwdict);
1016 PyObject *alist, *item=NULL, *value local
    [all...]
  /external/libxml2/
genUnicode.py 75 alist = string.split(alias[1],',') variable
76 for comp in alist:

Completed in 642 milliseconds

1 2 3 4