/third_party/python/Lib/test/ |
H A D | test_dictviews.py | 13 it = type({}.items()) 42 items = d.items() 43 self.assertEqual(len(items), 2) 44 self.assertEqual(set(items), {(1, 10), ("a", "ABC")}) 45 self.assertEqual(items, {(1, 10), ("a", "ABC")}) 46 self.assertNotEqual(items, {(1, 10), ("a", "ABC"), "junk"}) 47 self.assertNotEqual(items, {(1, 10), ("a", "def")}) 48 self.assertNotEqual(items, {(1, 10)}) 49 self.assertNotEqual(items, 4 [all...] |
H A D | test_pulldom.py | 46 items = pulldom.parseString(SMALL_SAMPLE) 47 evt, node = next(items) 51 evt, node = next(items) 57 evt, node = next(items) 59 evt, node = next(items) 64 evt, node = next(items) 67 evt, node = next(items) 70 evt, node = next(items) 74 evt, node = next(items) 76 evt, node = next(items) [all...] |
H A D | test_weakset.py | 30 self.items = [ustr(c) for c in ('a', 'b', 'c')] 39 self.s = WeakSet(self.items) 40 self.d = dict.fromkeys(self.items) 76 self.assertEqual(self.s, WeakSet(self.items)) 80 x = WeakSet(self.items + self.items2) 84 self.assertEqual(len(u), len(self.items) + len(self.items2)) 87 self.assertEqual(len(u), len(self.items) + len(self.items2)) 103 self.assertEqual(i.intersection(C(self.items)), x) 122 self.assertEqual(self.s, WeakSet(self.items)) 135 self.assertEqual(self.s, WeakSet(self.items)) [all...] |
/third_party/selinux/libsepol/src/ |
H A D | write.c | 66 size_t items; in ebitmap_write() local 76 items = put_entry(buf, sizeof(uint32_t), 3, fp); in ebitmap_write() 77 if (items != 3) in ebitmap_write() 82 items = put_entry(&bit, sizeof(uint32_t), 1, fp); in ebitmap_write() 83 if (items != 1) in ebitmap_write() 86 items = put_entry(&map, sizeof(uint64_t), 1, fp); in ebitmap_write() 87 if (items != 1) in ebitmap_write() 113 size_t items, items2; in avtab_write_item() local 127 items = 1; /* item 0 is used for the item count */ in avtab_write_item() 129 buf32[items in avtab_write_item() 286 size_t items; avtab_write() local 358 size_t items; mls_write_semantic_level_helper() local 406 size_t items; mls_write_level() local 426 size_t items, items2; mls_write_range_helper() local 454 size_t items, items2, len; sens_write() local 482 size_t items, items2, len; cat_write() local 509 size_t nel, items; role_trans_write() local 553 size_t nel, items; role_allow_write() local 575 size_t items, len; filename_write_one_compat() local 611 size_t items, len, ndatum; filename_write_one() local 658 size_t items; filename_trans_write() local 686 size_t items; role_set_write() local 702 size_t items; type_set_write() local 722 unsigned int items, items2; cond_write_bool() local 767 uint32_t len, items; cond_write_av_list() local 817 uint32_t items, items2, len; cond_write_node() local 870 uint32_t len, items; cond_write_list() local 896 size_t items, items2; context_write() local 925 size_t items, items2, len; perm_write() local 950 size_t items, items2, len; common_write() local 983 int items; write_cons_helper() local 1032 size_t items, items2, len, len2; class_write() local 1134 size_t items, items2, len; role_write() local 1213 size_t items, items2, len; type_write() local 1291 size_t items, items2, len; user_write() local 1354 size_t nel, items, len; ocontext_write_xen() local 1462 size_t nel, items, len; ocontext_write_selinux() local 1607 size_t nel = 0, items, len; genfs_write() local 1685 size_t items; range_write_helper() local 1718 size_t items; range_write() local 1746 size_t items, items2; avrule_write() local 1882 size_t items; role_trans_rule_write() local 1923 size_t items; role_allow_rule_write() local 1946 size_t items, entries; filename_trans_rule_write() local 1999 size_t items; range_trans_rule_write() local 2133 unsigned int items = 2 + scope->decl_ids_len, i; scope_write() local 2203 size_t items, items2, len; policydb_write() local [all...] |
/third_party/lzma/C/ |
H A D | SwapBytes.c | 92 const __m128i v = *(const __m128i *)(const void *)(items + (i) * 8); \
93 *( __m128i *)( void *)(items + (i) * 8) = \
105 SwapBytes2_128(CSwapUInt16 *items, const CSwapUInt16 *lim)
in SwapBytes2_128() argument 110 SWAP2_128(0) SWAP2_128(1) items += 2 * 8;
in SwapBytes2_128() 111 SWAP2_128(0) SWAP2_128(1) items += 2 * 8;
in SwapBytes2_128() 113 while (items != lim);
in SwapBytes2_128() 119 __m128i v = *(const __m128i *)(const void *)(items + (i) * 4); \
126 *(__m128i *)(void *)(items + (i) * 4) = _mm_packus_epi16(v0, v1); }
134 SwapBytes4_128_pack(CSwapUInt32 *items, const CSwapUInt32 *lim)
141 SWAP4_128_pack(0); items 249 __m128i *items = (__m128i *)items8; ShufBytes_128() local 291 __m256i *items = (__m256i *)items8; ShufBytes_256() local 384 SwapBytes2_128(CSwapUInt16 *items, const CSwapUInt16 *lim) SwapBytes2_128() argument 403 SwapBytes4_128(CSwapUInt32 *items, const CSwapUInt32 *lim) SwapBytes4_128() argument 510 SwapBytes2_64(CSwapUInt16 *items, const CSwapUInt16 *lim) SwapBytes2_64() argument 539 SwapBytes4_64(CSwapUInt32 *items, const CSwapUInt32 *lim) SwapBytes4_64() argument 588 SwapBytes2_32(CSwapUInt16 *items, const CSwapUInt16 *lim) SwapBytes2_32() argument 601 SwapBytes4_32(CSwapUInt32 *items, const CSwapUInt32 *lim) SwapBytes4_32() argument 634 z7_SwapBytes2(CSwapUInt16 *items, size_t numItems) z7_SwapBytes2() argument 688 z7_SwapBytes4(CSwapUInt32 *items, size_t numItems) z7_SwapBytes4() argument [all...] |
/third_party/python/Tools/c-analyzer/c_common/ |
H A D | iterutil.py | 5 def peek_and_iter(items): 6 if not items: 8 items = iter(items) 10 peeked = next(items) 15 yield from items 19 def iter_many(items, onempty=None): 20 if not items: 25 items = onempty(items) [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/astc-encoder/Source/ |
H A D | astc_integer_sequence.cpp | 323 int items, in compute_ise_bitcount() 329 return items; in compute_ise_bitcount() 331 return (8 * items + 4) / 5; in compute_ise_bitcount() 333 return 2 * items; in compute_ise_bitcount() 335 return (7 * items + 2) / 3; in compute_ise_bitcount() 337 return (13 * items + 4) / 5; in compute_ise_bitcount() 339 return 3 * items; in compute_ise_bitcount() 341 return (10 * items + 2) / 3; in compute_ise_bitcount() 343 return (18 * items + 4) / 5; in compute_ise_bitcount() 345 return items * in compute_ise_bitcount() 322 compute_ise_bitcount( int items, quantization_method quant ) compute_ise_bitcount() argument [all...] |
/third_party/mesa3d/src/mesa/program/ |
H A D | prog_cache.c | 49 struct cache_item **items; member 86 struct cache_item **items; in rehash() local 93 items = malloc(size * sizeof(*items)); in rehash() 94 memset(items, 0, size * sizeof(*items)); in rehash() 97 for (c = cache->items[i]; c; c = next) { in rehash() 99 c->next = items[c->hash % size]; in rehash() 100 items[c->hash % size] = c; in rehash() 103 free(cache->items); in rehash() [all...] |
/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | hb-map.hh | 94 item_t *items; member 104 hb_swap (a.items, b.items); in swap() 112 items = nullptr; in init_shallow() 121 hb_free (items); in fini_shallow() 122 items = nullptr; in fini_shallow() 155 item_t *old_items = items; in resize() 161 items = new_items; in resize() 163 /* Insert back old items. */ in resize() 181 if (unlikely (!items)) retur in get() [all...] |
H A D | hb-object.hh | 48 hb_vector_t<item_t> items; member 50 void init () { items.init (); } in init() 56 item_t *item = items.find (v); in replace_or_insert() 69 item = items.push (v); in replace_or_insert() 79 item_t *item = items.find (v); in remove() 83 *item = items[items.length - 1]; in remove() 84 items.pop (); in remove() 96 item_t *item = items.find (v); in find() 107 item_t *item = items in find_or_insert() 174 hb_lockable_set_t<hb_user_data_item_t, hb_mutex_t> items; global() member [all...] |
H A D | gen-arabic-table.py | 75 for value,short in short_value.items(): 127 print ("}; /* Table items: %d; occupancy: %d%% */" % (offset, occupancy)) 152 for value,short in short_value.items(): 167 items = fields[5].split (' ') 168 shape, items = items[0][1:-1], tuple (int (x, 16) for x in items[1:]) 174 if len (items) != 1: 176 if len (items) != 2 or items[ [all...] |
/third_party/node/benchmark/es/ |
H A D | foreach-bench.js | 11 function useFor(n, items, count) { 16 const item = items[j]; 22 function useForOf(n, items) { 26 for (const item of items) {} 31 function useForIn(n, items) { 34 for (const j in items) { 36 const item = items[j]; 42 function useForEach(n, items) { 45 items.forEach((item) => {}); 51 const items [all...] |
/third_party/icu/icu4c/source/test/perf/leperf/ |
H A D | letrperf.cpp | 25 long *items = 0; variable 28 long items[ITEM_COUNT]; member 36 Long items[ITEM_COUNT]; member 42 if(items[i]==2) { in time_null() 53 if(obj.items[i]==2) { in time_obj() 61 long *items2 = ((OneObject*)ref)->items; in time_obj2() 81 long *items2 = ((OneObject*)ref)->items; in time_letr1() 83 if(items[i]==2) { in time_letr1() 97 long *items2 = ((OneObject*)ref)->items; in time_letr2() 104 if(items[ in time_letr2() [all...] |
/third_party/typescript/tests/baselines/reference/ |
H A D | crashInGetTextOfComputedPropertyName.js | 10 const items: { [id: string]: AB } = {} 11 const { [itemId]: itemOk1 } = items 16 items: {[s: string]: AB} 18 const objWithItems: ObjWithItems = { items: {}} 20 const itemOk2 = objWithItems.items[itemId] 24 items: { [itemId]: itemWithTSError } = {} /*happens when default value is provided*/ 38 var items = {};
39 var _a = items, _b = itemId, itemOk1 = _a[_b];
41 var objWithItems = { items: {} };
42 var itemOk2 = objWithItems.items[itemI [all...] |
H A D | jsDeclarationsTypeReassignmentFromDeclaration.js | 7 declare const items: Item[]; 8 export = items;
11 const items = []; 12 module.exports = items;
16 var items = [];
variable 17 module.exports = items;
21 export = items;
23 declare const items: typeof import("/some-mod");
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
H A D | Row.java | 21 protected Object[] items; field in Row 42 items = new Object[] {a, b}; in R2() 47 items = new Object[] {a, b, c}; in R3() 52 items = new Object[] {a, b, c, d}; in R4() 57 items = new Object[] {a, b, c, d, e}; in R5() 65 return (C0) items[0]; in get0() 71 return (C1) items[1]; in get1() 77 return (C2) items[2]; in get2() 83 return (C3) items[3]; in get3() 89 return (C4) items[ in get4() [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/ |
H A D | Row.java | 25 protected Object[] items; field in Row 49 items = new Object[] {a, b}; in R2() 57 items = new Object[] {a, b, c}; in R3() 65 items = new Object[] {a, b, c, d}; in R4() 73 items = new Object[] {a, b, c, d, e}; in R5() 81 return (C0) items[0]; in get0() 87 return (C1) items[1]; in get1() 93 return (C2) items[2]; in get2() 99 return (C3) items[3]; in get3() 105 return (C4) items[ in get4() [all...] |
/third_party/node/deps/openssl/openssl/util/perl/OpenSSL/ |
H A D | Ordinals.pm | 36 foreach ($ordinals->items(comparator => by_name()) { 88 loaded_contents => [], # Loaded items, if loading there was 182 foreach ($self->items(sort => by_number())) { 199 same semantics as for B<< $ordinals->items >> described below, apart 219 same semantics as for B<< $ordinals->items >> described next, apart 235 foreach ($self->items(%opts, sort => by_number())) { 244 =item B<< $ordinals->items >> I<%options> 246 Returns a list of items according to a set of criteria. The criteria is 267 sub items { subroutine 284 croak __PACKAGE__."->items calle [all...] |
/third_party/openssl/util/perl/OpenSSL/ |
H A D | Ordinals.pm | 36 foreach ($ordinals->items(comparator => by_name()) { 88 loaded_contents => [], # Loaded items, if loading there was 182 foreach ($self->items(sort => by_number())) { 199 same semantics as for B<< $ordinals->items >> described below, apart 219 same semantics as for B<< $ordinals->items >> described next, apart 235 foreach ($self->items(%opts, sort => by_number())) { 244 =item B<< $ordinals->items >> I<%options> 246 Returns a list of items according to a set of criteria. The criteria is 267 sub items { subroutine 284 croak __PACKAGE__."->items calle [all...] |
/third_party/vk-gl-cts/framework/delibs/decpp/ |
H A D | deRandom.cpp | 110 static const int items[] = { 3, 42, 45, 123, 654, -123, -90, 0, 43 }; in Random_selfTest() 130 rnd.choose(DE_ARRAY_BEGIN(items), DE_ARRAY_END(items), &itemsDst[0], numItemsPicked); in Random_selfTest() 139 static const int items[] = { 3, 42, 45, 123, 654, -123, -90, 0, 43 }; in Random_selfTest() 144 DE_TEST_ASSERT(expected[i] == rnd.choose<int>(DE_ARRAY_BEGIN(items), DE_ARRAY_END(items))); in Random_selfTest() 150 static const int items[] = { 3, 42, 45, 123, 654, -123, -90, 0 }; in Random_selfTest() 152 DE_STATIC_ASSERT(DE_LENGTH_OF_ARRAY(items) == DE_LENGTH_OF_ARRAY(weights)); in Random_selfTest() 157 DE_TEST_ASSERT(expected[i] == rnd.chooseWeighted<int>(DE_ARRAY_BEGIN(items), DE_ARRAY_END(items), in Random_selfTest() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/wpa_gui-qt4/ |
H A D | peers.cpp | 518 QStringList items = in add_p2p_group_client() local 525 for (int i = 0; i < items.size(); i++) { in add_p2p_group_client() 526 QString str = items.at(i); in add_p2p_group_client() 552 item->setData(items.join(QString("\n")), peer_role_details); in add_p2p_group_client() 831 QStringList items = text.split(' '); in event_notify() local 832 QString uuid = items[1]; in event_notify() 833 QString addr = items[2]; in event_notify() 844 items = text.mid(pos + 1, pos2 - pos - 1). in event_notify() 846 name = items[0]; in event_notify() 847 items in event_notify() 866 QStringList items = text.split(' '); event_notify() local 877 QStringList items = text.split(' '); event_notify() local 903 QStringList items = event_notify() local 952 QStringList items = text.split(' '); event_notify() local 991 QStringList items = text.split(' '); event_notify() local 1007 QStringList items = text.split(' '); event_notify() local 1030 QStringList items = text.split(' '); event_notify() local 1051 QStringList items = text.split(' '); event_notify() local 1110 QStringList items = text.split(' '); event_notify() local 1148 QStringList items = text.split(' '); event_notify() local 1175 QStringList items = text.split(' '); event_notify() local 1236 QStringList items = text.split(' '); event_notify() local 1253 QStringList items = text.split(' '); event_notify() local 1315 QStringList items = text.split(' '); event_notify() local 1326 QStringList items = text.split(' '); event_notify() local [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/wpa_gui-qt4/ |
H A D | peers.cpp | 520 QStringList items = in add_p2p_group_client() local 527 for (int i = 0; i < items.size(); i++) { in add_p2p_group_client() 528 QString str = items.at(i); in add_p2p_group_client() 554 item->setData(items.join(QString("\n")), peer_role_details); in add_p2p_group_client() 833 QStringList items = text.split(' '); in event_notify() local 834 QString uuid = items[1]; in event_notify() 835 QString addr = items[2]; in event_notify() 846 items = text.mid(pos + 1, pos2 - pos - 1). in event_notify() 848 name = items[0]; in event_notify() 849 items in event_notify() 868 QStringList items = text.split(' '); event_notify() local 879 QStringList items = text.split(' '); event_notify() local 905 QStringList items = event_notify() local 954 QStringList items = text.split(' '); event_notify() local 993 QStringList items = text.split(' '); event_notify() local 1009 QStringList items = text.split(' '); event_notify() local 1032 QStringList items = text.split(' '); event_notify() local 1053 QStringList items = text.split(' '); event_notify() local 1112 QStringList items = text.split(' '); event_notify() local 1150 QStringList items = text.split(' '); event_notify() local 1177 QStringList items = text.split(' '); event_notify() local 1238 QStringList items = text.split(' '); event_notify() local 1255 QStringList items = text.split(' '); event_notify() local 1317 QStringList items = text.split(' '); event_notify() local 1328 QStringList items = text.split(' '); event_notify() local [all...] |
/third_party/node/deps/npm/node_modules/columnify/ |
H A D | columnify.js | 34 module.exports = function (items) { 57 items = toArray(items, columnNames); 61 items.forEach(function (item) { 86 items = items.map(function (item) { 107 items = items.map(function (item, index) { 139 items.unshift(headers); 145 column.width = items [all...] |
H A D | index.js | 30 module.exports = function(items, options = {}) { 51 items = toArray(items, columnNames) 55 items.forEach(function(item) { 80 items = items.map(item => { 101 items = items.map((item, index) => { 129 items.unshift(headers) 135 column.width = items [all...] |
/third_party/icu/tools/unicodetools/com/ibm/rbm/ |
H A D | BundleGroup.java | 23 private TreeSet items; // The NLS items contained in this group field in BundleGroup 34 items = new TreeSet(new Comparator(){ in BundleGroup() 57 Iterator iter = items.iterator(); in getItemsAsVector() 70 if (items.contains(item)) { in addBundleItem() 71 items.remove(item); in addBundleItem() 74 items.add(item); in addBundleItem() 81 Iterator iter = items.iterator(); in removeBundleItem() 85 items.remove(item); in removeBundleItem() 92 * Returns the number of items store [all...] |