/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...] |
/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);
|
/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 | 150 struct _arglist *alist; local 153 for (alist = list; alist->arg; alist++) { //find the given parameter in list 154 if (!strcmp(**argv, alist->arg)) { 156 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...] |
/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...] |
test_xmlrpc.py | 28 alist = [{'astring': 'foo@bar.baz.spam', variable 47 self.assertEqual(alist, 48 xmlrpclib.loads(xmlrpclib.dumps((alist,)))[0][0]) 141 value = alist + [None] 142 arg1 = (alist + [None],) [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...] |
test_xmlrpc.py | 28 alist = [{'astring': 'foo@bar.baz.spam', variable 47 self.assertEqual(alist, 48 xmlrpclib.loads(xmlrpclib.dumps((alist,)))[0][0]) 141 value = alist + [None] 142 arg1 = (alist + [None],) [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...] |
test_xmlrpc.py | 28 alist = [{'astring': 'foo@bar.baz.spam', variable 47 self.assertEqual(alist, 48 xmlrpclib.loads(xmlrpclib.dumps((alist,)))[0][0]) 141 value = alist + [None] 142 arg1 = (alist + [None],) [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)
|
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...] |
test_xmlrpc.py | 28 alist = [{'astring': 'foo@bar.baz.spam', variable 47 self.assertEqual(alist, 48 xmlrpclib.loads(xmlrpclib.dumps((alist,)))[0][0]) 141 value = alist + [None] 142 arg1 = (alist + [None],) [all...] |
/external/libxml2/ |
genUnicode.py | 75 alist = string.split(alias[1],',') variable 76 for comp in alist:
|
/external/iputils/ |
rarpd.c | 239 struct ifaddr *select_ipaddr(int ifindex, __u32 *sel_addr, __u32 **alist) 258 for (i=0; alist[i]; i++) { 259 __u32 addr = *(alist[i]); 273 *sel_addr = *(alist[0]);
|
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/tools/ |
glnames.py | [all...] |
/external/javassist/src/main/javassist/ |
CtClassType.java | 860 ArrayList alist = new ArrayList(); local 861 getFields(alist, this); 862 return (CtField[])alist.toArray(new CtField[alist.size()]); 865 private static void getFields(ArrayList alist, CtClass cc) { 871 getFields(alist, cc.getSuperclass()); 879 getFields(alist, ifs[i]); 889 alist.add(field); [all...] |