Home
last modified time | relevance | path

Searched refs:items2 (Results 1 – 15 of 15) sorted by relevance

/external/python/cpython3/Lib/test/
Dtest_weakset.py23 self.items2 = [ustr(c) for c in ('x', 'y', 'z')]
63 u = self.s.union(self.items2)
65 self.assertEqual(c in u, c in self.d or c in self.items2)
70 x = WeakSet(self.items + self.items2)
71 c = C(self.items2)
74 self.assertEqual(len(u), len(self.items) + len(self.items2))
75 self.items2.pop()
77 self.assertEqual(len(u), len(self.items) + len(self.items2))
80 i = self.s.union(self.items2)
81 self.assertEqual(self.s | set(self.items2), i)
[all …]
Dtest_weakref.py1250 items2 = list(dict.copy().items())
1252 items2.sort()
1253 self.assertEqual(items1, items2,
1255 del items1, items2
1281 items2 = dict.copy().items()
1282 self.assertEqual(set(items1), set(items2),
1284 del items1, items2
/external/python/cpython2/Lib/test/
Dtest_weakset.py42 self.items2 = [SomeClass(c) for c in ('x', 'y', 'z')]
82 u = self.s.union(self.items2)
84 self.assertEqual(c in u, c in self.d or c in self.items2)
89 x = WeakSet(self.items + self.items2)
90 c = C(self.items2)
93 self.assertEqual(len(u), len(self.items) + len(self.items2))
94 self.items2.pop()
96 self.assertEqual(len(u), len(self.items) + len(self.items2))
99 i = self.s.union(self.items2)
100 self.assertEqual(self.s | set(self.items2), i)
[all …]
Dtest_weakref.py1009 items2 = dict.copy().items()
1011 items2.sort()
1012 self.assertEqual(items1, items2,
1014 del items1, items2
1040 items2 = dict.copy().items()
1041 self.assertEqual(set(items1), set(items2),
1043 del items1, items2
/external/selinux/libsepol/src/
Dwrite.c114 size_t items, items2; in avtab_write_item() local
215 items2 = put_entry(buf32, sizeof(uint32_t), items, fp); in avtab_write_item()
216 if (items != items2) in avtab_write_item()
427 size_t items, items2; in mls_write_range_helper() local
438 items2 = put_entry(buf, sizeof(uint32_t), items, fp); in mls_write_range_helper()
439 if (items2 != items) in mls_write_range_helper()
455 size_t items, items2, len; in sens_write() local
465 items2 = put_entry(buf, sizeof(uint32_t), items, fp); in sens_write()
466 if (items != items2) in sens_write()
483 size_t items, items2, len; in cat_write() local
[all …]
Davtab.c439 uint32_t buf32[8], items, items2, val; in avtab_read_item() local
457 items2 = le32_to_cpu(buf32[0]); in avtab_read_item()
459 if (items2 < 5 || items2 > ARRAY_SIZE(buf32)) { in avtab_read_item()
464 rc = next_entry(buf32, fp, sizeof(uint32_t) * items2); in avtab_read_item()
513 if (items != items2) { in avtab_read_item()
515 "expected %d", items2, items); in avtab_read_item()
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/builder/
DLocatedItemsTest.java26 List<BuilderDebugItem> items2 = createItems(countLocation2); in doTestMergeIntoKeepsOrderOfDebugItems() local
28 location2.getDebugItems().addAll(items2); in doTestMergeIntoKeepsOrderOfDebugItems()
35 expectedItems.addAll(items2); in doTestMergeIntoKeepsOrderOfDebugItems()
/external/icu/icu4c/source/test/perf/leperf/
Dletrperf.cpp61 long *items2 = ((OneObject*)ref)->items; in time_obj2() local
63 if(items2[i]==2) { in time_obj2()
81 long *items2 = ((OneObject*)ref)->items; in time_letr1() local
97 long *items2 = ((OneObject*)ref)->items; in time_letr2() local
/external/cldr/tools/java/org/unicode/cldr/tool/
DReadSql.java258 final Items items2 = Items.of(key, items); in add() local
259 if (items2 != null && items2.owner != null) { in add()
260 dataItems.add(items2); in add()
261 return items2; in add()
/external/python/cpython3/Python/
Dinitconfig.c360 wchar_t **items2 = (wchar_t **)PyMem_RawRealloc(list->items, size); in PyWideStringList_Insert() local
361 if (items2 == NULL) { in PyWideStringList_Insert()
367 memmove(&items2[index + 1], in PyWideStringList_Insert()
368 &items2[index], in PyWideStringList_Insert()
369 (len - index) * sizeof(items2[0])); in PyWideStringList_Insert()
372 items2[index] = item2; in PyWideStringList_Insert()
373 list->items = items2; in PyWideStringList_Insert()
/external/cldr/tools/java/org/unicode/cldr/test/
DCheckDates.java1010 List<Object> items2 = formatParser.set(value2).getItems(); in equalsExceptWidth() local
1011 if (items1.size() != items2.size()) { in equalsExceptWidth()
1014 Iterator<Object> it2 = items2.iterator(); in equalsExceptWidth()
/external/python/cpython3/Lib/
Dturtle.py3897 items2 = args[1:]
3905 items2.append("*" + varargs)
3908 items2.append("**" + varkw)
3911 callText = ", ".join(items2)
/external/python/cpython2/Lib/lib-tk/
Dturtle.py3789 items2 = list(fob.func_code.co_varnames[argOffset:counter])
3797 items2.append("*"+fob.func_code.co_varnames[counter])
3801 items2.append("**"+fob.func_code.co_varnames[counter])
3804 argText2 = ", ".join(items2)
/external/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/
Dpeers.cpp1276 QStringList items2 = in event_notify() local
1279 name = items2[0]; in event_notify()
/external/protobuf/python/google/protobuf/internal/
Dmessage_test.py2194 items2 = msg.map_string_string.items()
2195 self.assertEqual(items1, items2)