Home
last modified time | relevance | path

Searched refs:ids (Results 1 – 25 of 674) sorted by relevance

12345678910>>...27

/third_party/python/Lib/test/
Dtest_finalization.py147 def assert_del_calls(self, ids): argument
148 self.assertEqual(sorted(SimpleBase.del_calls), sorted(ids))
150 def assert_tp_del_calls(self, ids): argument
151 self.assertEqual(sorted(SimpleBase.tp_del_calls), sorted(ids))
153 def assert_survivors(self, ids): argument
154 self.assertEqual(sorted(id(x) for x in SimpleBase.survivors), sorted(ids))
156 def assert_garbage(self, ids): argument
157 self.assertEqual(sorted(id(x) for x in gc.garbage), sorted(ids))
171 ids = [id(s)]
175 self.assert_del_calls(ids)
[all …]
/third_party/node/deps/npm/node_modules/spdx-license-ids/
DREADME.md1 # spdx-license-ids
3 …sion](https://img.shields.io/npm/v/spdx-license-ids.svg)](https://www.npmjs.com/package/spdx-licen…
4 …w.sh/shinnn/spdx-license-ids)](https://wdp9fww0r9.execute-api.us-west-2.amazonaws.com/production/r…
10 [Download JSON directly](https://raw.githubusercontent.com/shinnn/spdx-license-ids/master/index.jso…
13 npm install spdx-license-ids
18 ### require('spdx-license-ids')
25 const ids = require('spdx-license-ids');
28 ids.includes('BSD-3-Clause'); //=> true
29 ids.includes('CC-BY-1.0'); //=> true
31 ids.includes('GPL-3.0'); //=> false
[all …]
/third_party/boost/libs/fiber/test/
Dtest_buffered_channel_post.cpp318 std::vector< boost::fibers::fiber::id > ids; in test_wm_1() local
319 boost::fibers::fiber f1( boost::fibers::launch::post, [&c,&ids](){ in test_wm_1()
320 ids.push_back( boost::this_fiber::get_id() ); in test_wm_1()
323 ids.push_back( boost::this_fiber::get_id() ); in test_wm_1()
326 ids.push_back( boost::this_fiber::get_id() ); in test_wm_1()
329 ids.push_back( boost::this_fiber::get_id() ); in test_wm_1()
333 ids.push_back( boost::this_fiber::get_id() ); in test_wm_1()
337 ids.push_back( boost::this_fiber::get_id() ); in test_wm_1()
339 boost::fibers::fiber f2( boost::fibers::launch::post, [&c,&ids](){ in test_wm_1()
340 ids.push_back( boost::this_fiber::get_id() ); in test_wm_1()
[all …]
Dtest_buffered_channel_dispatch.cpp318 std::vector< boost::fibers::fiber::id > ids; in test_wm_1() local
319 boost::fibers::fiber f1( boost::fibers::launch::dispatch, [&c,&ids](){ in test_wm_1()
320 ids.push_back( boost::this_fiber::get_id() ); in test_wm_1()
323 ids.push_back( boost::this_fiber::get_id() ); in test_wm_1()
326 ids.push_back( boost::this_fiber::get_id() ); in test_wm_1()
329 ids.push_back( boost::this_fiber::get_id() ); in test_wm_1()
333 ids.push_back( boost::this_fiber::get_id() ); in test_wm_1()
337 ids.push_back( boost::this_fiber::get_id() ); in test_wm_1()
339 boost::fibers::fiber f2( boost::fibers::launch::dispatch, [&c,&ids](){ in test_wm_1()
340 ids.push_back( boost::this_fiber::get_id() ); in test_wm_1()
[all …]
Dtest_unbuffered_channel_dispatch.cpp297 std::vector< boost::fibers::fiber::id > ids; in test_wm_1() local
298 boost::fibers::fiber f1( boost::fibers::launch::dispatch, [&c,&ids](){ in test_wm_1()
299 ids.push_back( boost::this_fiber::get_id() ); in test_wm_1()
302 ids.push_back( boost::this_fiber::get_id() ); in test_wm_1()
305 ids.push_back( boost::this_fiber::get_id() ); in test_wm_1()
308 ids.push_back( boost::this_fiber::get_id() ); in test_wm_1()
312 ids.push_back( boost::this_fiber::get_id() ); in test_wm_1()
316 ids.push_back( boost::this_fiber::get_id() ); in test_wm_1()
318 boost::fibers::fiber f2( boost::fibers::launch::dispatch, [&c,&ids](){ in test_wm_1()
319 ids.push_back( boost::this_fiber::get_id() ); in test_wm_1()
[all …]
Dtest_unbuffered_channel_post.cpp297 std::vector< boost::fibers::fiber::id > ids; in test_wm_1() local
298 boost::fibers::fiber f1( boost::fibers::launch::post, [&c,&ids](){ in test_wm_1()
299 ids.push_back( boost::this_fiber::get_id() ); in test_wm_1()
302 ids.push_back( boost::this_fiber::get_id() ); in test_wm_1()
305 ids.push_back( boost::this_fiber::get_id() ); in test_wm_1()
308 ids.push_back( boost::this_fiber::get_id() ); in test_wm_1()
312 ids.push_back( boost::this_fiber::get_id() ); in test_wm_1()
316 ids.push_back( boost::this_fiber::get_id() ); in test_wm_1()
318 boost::fibers::fiber f2( boost::fibers::launch::post, [&c,&ids](){ in test_wm_1()
319 ids.push_back( boost::this_fiber::get_id() ); in test_wm_1()
[all …]
/third_party/boost/libs/intrusive/example/
Ddoc_stateful_value_traits.cpp34 stateful_value_traits(pointer ids, node_ptr node_array) in stateful_value_traits()
35 : ids_(ids), nodes_(node_array) in stateful_value_traits()
58 identifier_t ids [NumElements]; in main() local
64 for(int i = 0; i != NumElements; ++i) ids[i] = i; in main()
71 List my_list (stateful_value_traits (ids, nodes)); in main()
74 for(identifier_t * it(&ids[0]), *itend(&ids[NumElements]); it != itend; ++it) in main()
79 identifier_t *it_val(&ids[NumElements]), *it_rbeg_val(&ids[0]); in main()
/third_party/flutter/skia/third_party/externals/spirv-tools/test/opt/
Dinstruction_test.cpp203 std::vector<uint32_t> ids; in TEST() local
204 inst.ForEachInId([&ids](const uint32_t* idptr) { ids.push_back(*idptr); }); in TEST()
205 EXPECT_THAT(ids, Eq(std::vector<uint32_t>{102, 103, 104, 105})); in TEST()
207 ids.clear(); in TEST()
208 inst.ForEachInId([&ids](uint32_t* idptr) { ids.push_back(*idptr); }); in TEST()
209 EXPECT_THAT(ids, Eq(std::vector<uint32_t>{102, 103, 104, 105})); in TEST()
215 std::vector<uint32_t> ids; in TEST() local
216 inst.ForEachInId([&ids](const uint32_t* idptr) { ids.push_back(*idptr); }); in TEST()
217 EXPECT_THAT(ids, Eq(std::vector<uint32_t>{100, 101, 102})); in TEST()
219 ids.clear(); in TEST()
[all …]
/third_party/skia/third_party/externals/oboe/src/opensles/
DEngineOpenSLES.cpp82 const SLInterfaceID ids[] = {SL_IID_BUFFERQUEUE, SL_IID_ANDROIDCONFIGURATION}; in createAudioPlayer() local
87 sizeof(ids) / sizeof(ids[0]), ids, reqs); in createAudioPlayer()
94 const SLInterfaceID ids[] = {SL_IID_ANDROIDSIMPLEBUFFERQUEUE, SL_IID_ANDROIDCONFIGURATION }; in createAudioRecorder() local
99 sizeof(ids) / sizeof(ids[0]), ids, reqs); in createAudioRecorder()
/third_party/uboot/u-boot-2020.01/arch/arm/dts/
Dimx28.dtsi220 fsl,pinmux-ids = <
231 fsl,pinmux-ids = <
242 fsl,pinmux-ids = <
255 fsl,pinmux-ids = <
279 fsl,pinmux-ids = <
289 fsl,pinmux-ids = <
302 fsl,pinmux-ids = <
313 fsl,pinmux-ids = <
326 fsl,pinmux-ids = <
337 fsl,pinmux-ids = <
[all …]
/third_party/boost/boost/polygon/detail/
Dpolygon_90_touch.hpp178 …inline void processInterval(graphT& outputContainer, Interval ivl, const std::set<int>& ids, bool … in processInterval() argument
189 lowItr = insert_(ivl.low(), ids); in processInterval()
190 evaluateBorder_(outputContainer, ids, ids); in processInterval()
210 if(leadingEdge)evaluateBorder_(outputContainer, highItr->second, ids); in processInterval()
232 evaluateBorder_(outputContainer, nextLowerItr->second, ids); in processInterval()
243 evaluateInterval_(outputContainer, beforeIds, ids, leadingEdge); in processInterval()
291 inline typename ScanData::iterator insert_(Unit pos, const std::set<int>& ids){ in insert_() argument
293 return nextItr_ = scanData_.insert(nextItr_, std::pair<Unit, std::set<int> >(pos, ids)); in insert_()
297 inline void evaluateInterval_(graphT& outputContainer, std::set<int>& ids, in evaluateInterval_() argument
301 evaluateId_(outputContainer, ids, *ciditr, leadingEdge); in evaluateInterval_()
[all …]
/third_party/skia/modules/canvaskit/tests/
Dfont.spec.js138 const ids = notoSerif.getGlyphIDs('AEGIS ægis'); constant
139 expect(ids.length).toEqual(10); // one glyph id per glyph
140 expect(ids[0]).toEqual(36); // spot check this, should be consistent as long as the font is.
142 const bounds = font.getGlyphBounds(ids, bluePaint);
149 const widths = font.getGlyphWidths(ids, bluePaint);
153 const topBlob = CanvasKit.TextBlob.MakeFromGlyphs(ids, font);
158 const mIDs = CanvasKit.MallocGlyphIDs(ids.length);
160 mArr.set(ids);
162 const mXforms = CanvasKit.Malloc(Float32Array, ids.length * 4);
166 for (let i = 0; i < ids.length; i++) {
[all …]
/third_party/skia/third_party/externals/spirv-cross/
Dspirv_cross_parsed_ir.cpp76 ids = move(other.ids); in operator =()
122 ids.clear(); in operator =()
123 ids.reserve(other.ids.size()); in operator =()
124 for (size_t i = 0; i < other.ids.size(); i++) in operator =()
126 ids.emplace_back(pool_group.get()); in operator =()
127 ids.back() = other.ids[i]; in operator =()
135 ids.reserve(bounds); in set_id_bounds()
136 while (ids.size() < bounds) in set_id_bounds()
137 ids.emplace_back(pool_group.get()); in set_id_bounds()
511 switch (ids[id].get_type()) in mark_used_as_array_length()
[all …]
Dspirv_parser.hpp57 auto &var = variant_set<T>(ir.ids[id], std::forward<P>(args)...); in set()
65 return variant_get<T>(ir.ids[id]); in get()
71 if (ir.ids[id].get_type() == static_cast<Types>(T::type)) in maybe_get()
80 return variant_get<T>(ir.ids[id]); in get()
86 if (ir.ids[id].get_type() == T::type) in maybe_get()
/third_party/uboot/u-boot-2020.01/board/nvidia/nyan-big/
Dnyan-big.c88 static enum periph_id ids[] = { in enable_required_clocks() enum
114 for (i = 0; i < ARRAY_SIZE(ids); i++) in enable_required_clocks()
115 clock_enable(ids[i]); in enable_required_clocks()
117 for (i = 0; i < ARRAY_SIZE(ids); i++) in enable_required_clocks()
118 reset_set_enable(ids[i], 0); in enable_required_clocks()
/third_party/boost/libs/spirit/test/lex/
Dtoken_iterpair.cpp101 test_token_ids(int const* ids, std::vector<Token> const& tokens) in test_token_ids() argument
105 if (*ids == -1) in test_token_ids()
108 if (t.id() != static_cast<std::size_t>(*ids)) // token id must match in test_token_ids()
110 ++ids; in test_token_ids()
113 return (*ids == -1) ? true : false; in test_token_ids()
172 int ids[] = { ID_INT, ID_DOUBLE, ID_INT, ID_INT, ID_DOUBLE, ID_DOUBLE, -1 }; in main() local
194 BOOST_TEST(test_token_ids(ids, tokens)); in main()
210 BOOST_TEST(test_token_ids(ids, tokens)); in main()
228 BOOST_TEST(test_token_ids(ids, tokens)); in main()
245 BOOST_TEST(test_token_ids(ids, tokens)); in main()
Dtoken_omit.cpp101 test_token_ids(int const* ids, std::vector<Token> const& tokens) in test_token_ids() argument
105 if (*ids == -1) in test_token_ids()
108 if (t.id() != static_cast<std::size_t>(*ids)) // token id must match in test_token_ids()
111 ++ids; in test_token_ids()
114 return (*ids == -1) ? true : false; in test_token_ids()
175 int ids[] = { ID_INT, ID_DOUBLE, ID_INT, ID_INT, ID_DOUBLE, ID_DOUBLE, -1 }; in main() local
197 BOOST_TEST(test_token_ids(ids, tokens)); in main()
213 BOOST_TEST(test_token_ids(ids, tokens)); in main()
231 BOOST_TEST(test_token_ids(ids, tokens)); in main()
248 BOOST_TEST(test_token_ids(ids, tokens)); in main()
Dtoken_onetype.cpp103 test_token_ids(int const* ids, std::vector<Token> const& tokens) in test_token_ids() argument
107 if (*ids == -1) in test_token_ids()
110 if (t.id() != static_cast<std::size_t>(*ids)) // token id must match in test_token_ids()
113 ++ids; in test_token_ids()
116 return (*ids == -1) ? true : false; in test_token_ids()
198 int ids[] = { ID_INT, ID_DOUBLE, ID_INT, ID_INT, ID_DOUBLE, ID_DOUBLE, -1 }; in main() local
221 BOOST_TEST(test_token_ids(ids, tokens)); in main()
238 BOOST_TEST(test_token_ids(ids, tokens)); in main()
257 BOOST_TEST(test_token_ids(ids, tokens)); in main()
275 BOOST_TEST(test_token_ids(ids, tokens)); in main()
Dtoken_moretypes.cpp103 test_token_ids(int const* ids, std::vector<Token> const& tokens) in test_token_ids() argument
107 if (*ids == -1) in test_token_ids()
110 if (t.id() != static_cast<std::size_t>(*ids)) // token id must match in test_token_ids()
113 ++ids; in test_token_ids()
116 return (*ids == -1) ? true : false; in test_token_ids()
201 int ids[] = { ID_INT, ID_DOUBLE, ID_INT, ID_INT, ID_DOUBLE, ID_DOUBLE, -1 }; in main() local
233 BOOST_TEST(test_token_ids(ids, tokens)); in main()
251 BOOST_TEST(test_token_ids(ids, tokens)); in main()
271 BOOST_TEST(test_token_ids(ids, tokens)); in main()
290 BOOST_TEST(test_token_ids(ids, tokens)); in main()
/third_party/boost/tools/boostbook/test/more/
Drun-tests.py105 ids = {}
111 if(id in ids):
121 ids[id] = base + str(count) + match.group(3)
125 if(x in ids): node.set('linkend', ids[x])
127 if(x in ids): node.set('id', ids[x])
/third_party/boost/libs/wave/samples/token_statistics/
Dcollect_token_statistics.hpp53 ids_type ids; in print() local
56 ids.insert(ids_type::value_type( in print()
60 ids_type::reverse_iterator rend = ids.rend(); in print()
61 for(ids_type::reverse_iterator rit = ids.rbegin(); rit != rend; ++rit) in print()
/third_party/boost/boost/geometry/algorithms/detail/overlay/
Dhandle_colocations.hpp364 std::set<signed_size_type>& ids = cinfo.turn_indices; in cleanup_clusters() local
365 for (std::set<signed_size_type>::iterator sit = ids.begin(); in cleanup_clusters()
366 sit != ids.end(); /* no increment */) in cleanup_clusters()
374 ids.erase(current_it); in cleanup_clusters()
383 inline void discard_ie_turn(Turn& turn, IdSet& ids, signed_size_type id) in discard_ie_turn() argument
389 ids.insert(id); in discard_ie_turn()
458 std::set<signed_size_type>& ids = cinfo.turn_indices; in discard_interior_exterior_turns() local
462 for (set_iterator it = ids.begin(); it != ids.end(); ++it) in discard_interior_exterior_turns()
475 for (set_iterator int_it = ids.begin(); int_it != ids.end(); ++int_it) in discard_interior_exterior_turns()
502 ids.erase(*sit); in discard_interior_exterior_turns()
[all …]
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/metal/
DBackendMTL.mm44 MaybeError GetVendorIdFromVendors(id<MTLDevice> device, PCIIDs* ids) {
59 *ids = PCIIDs{vendorId, 0};
85 // The registry entry correponding to [device registryID] doesn't contain the exact PCI ids
101 MaybeError GetDeviceIORegistryPCIInfo(id<MTLDevice> device, PCIIDs* ids) {
132 *ids = PCIIDs{vendorId, deviceId};
139 MaybeError GetDevicePCIInfo(id<MTLDevice> device, PCIIDs* ids) {
143 return GetDeviceIORegistryPCIInfo(device, ids);
145 return GetVendorIdFromVendors(device, ids);
164 PCIIDs ids;
165 if (!instance->ConsumedError(GetDevicePCIInfo(device, &ids))) {
[all …]
/third_party/uboot/u-boot-2020.01/drivers/pci/
Dpci_common.c277 struct pci_device_id ids[2] = { {}, {0, 0} }; in pci_find_device() local
279 ids[0].vendor = vendor; in pci_find_device()
280 ids[0].device = device; in pci_find_device()
282 return pci_find_devices(ids, index); in pci_find_device()
286 struct pci_device_id *ids, int *indexp) in pci_hose_find_devices() argument
312 for (i = 0; ids[i].vendor != 0; i++) { in pci_hose_find_devices()
313 if (vendor == ids[i].vendor && in pci_hose_find_devices()
314 device == ids[i].device) { in pci_hose_find_devices()
/third_party/boost/tools/quickbook/test/
Dheading-1_5.quickbook15 [/ Test how heading ids are generated when different types of markup are present]
20 [/ Headings that look like ids]
25 [/ Test how ids are generated for headings containing things like anchors
31 [/ Test how heading ids are generated inside sections]

12345678910>>...27