Home
last modified time | relevance | path

Searched full:items (Results 1 – 25 of 6131) sorted by relevance

12345678910>>...246

/external/selinux/libsepol/src/
Dwrite.c67 size_t items; in ebitmap_write() local
77 items = put_entry(buf, sizeof(uint32_t), 3, fp); in ebitmap_write()
78 if (items != 3) in ebitmap_write()
83 items = put_entry(&bit, sizeof(uint32_t), 1, fp); in ebitmap_write()
84 if (items != 1) in ebitmap_write()
87 items = put_entry(&map, sizeof(uint64_t), 1, fp); in ebitmap_write()
88 if (items != 1) in ebitmap_write()
114 size_t items, items2; in avtab_write_item() local
128 items = 1; /* item 0 is used for the item count */ in avtab_write_item()
130 buf32[items++] = cpu_to_le32(val); in avtab_write_item()
[all …]
/external/python/cpython3/Lib/test/
Dtest_dictviews.py13 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, 42)
50 self.assertIn((1, 10), items)
[all …]
Dtest_pulldom.py46 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 …]
Dtest_weakset.py22 self.items = [ustr(c) for c in ('a', 'b', 'c')]
31 self.s = WeakSet(self.items)
32 self.d = dict.fromkeys(self.items)
66 self.assertEqual(self.s, WeakSet(self.items))
70 x = WeakSet(self.items + self.items2)
74 self.assertEqual(len(u), len(self.items) + len(self.items2))
77 self.assertEqual(len(u), len(self.items) + len(self.items2))
93 self.assertEqual(i.intersection(C(self.items)), x)
112 self.assertEqual(self.s, WeakSet(self.items))
125 self.assertEqual(self.s, WeakSet(self.items))
[all …]
/external/python/jinja/tests/
Dtest_asyncfilters.py36 "items",
44 def test_groupby(env_async, items): argument
47 {%- for grouper, list in items()|groupby('foo') -%}
51 assert tmpl.render(items=items).split("|") == [
59 @mark_dualiter("items", lambda: [("a", 1), ("a", 2), ("b", 1)])
60 def test_groupby_tuple_index(env_async, items): argument
63 {%- for grouper, list in items()|groupby(0) -%}
67 assert tmpl.render(items=items) == "a:1:2|b:1|"
98 tmpl = env_async.from_string('{{ items()|join("|") }}')
99 out = tmpl.render(items=int_items)
[all …]
/external/chromium-trace/catapult/third_party/polymer/components/paper-radio-group/test/
Dbasic.html66 var items = g.items;
67 expect(items.length).to.be.equal(3);
69 expect(items[0].checked).to.be.equal(false);
70 expect(items[1].checked).to.be.equal(false);
71 expect(items[2].checked).to.be.equal(false);
84 var items = g.items;
85 expect(items.length).to.be.equal(3);
87 expect(items[0].checked).to.be.equal(true);
88 expect(items[1].checked).to.be.equal(false);
89 expect(items[2].checked).to.be.equal(false);
[all …]
/external/pthreadpool/include/
Dpthreadpool.h89 * Process items on a 1D grid.
96 * When the function returns, all items have been processed and the thread pool
103 * is NULL, all items are processed serially on the calling thread.
106 * @param range the number of items on the 1D grid to process. The
119 * Process items on a 1D grid using a microarchitecture-aware task function.
129 * When the function returns, all items have been processed and the thread pool
136 * threadpool is NULL, all items are processed serially on the calling
149 * @param range the number of items on the 1D grid to process.
165 * Process items on a 1D grid with specified maximum tile size.
172 * When the call returns, all items have been processed and the thread pool is
[all …]
/external/oj-libjdwp/src/share/back/
Dbag.c32 void *items; /* hold items in bag, must align on itemSize */ member
33 int used; /* number of items in bag */
45 theBag->items = jvmtiAllocate(initialAllocation * itemSize); in bagCreateBag()
46 if (theBag->items == NULL) { in bagCreateBag()
63 (void)memcpy(newBag->items, oldBag->items, newBag->used * newBag->itemSize); in bagDup()
72 jvmtiDeallocate(theBag->items); in bagDestroyBag()
80 char *items = theBag->items; in bagFind() local
82 char *itemsEnd = items + (itemSize * theBag->used); in bagFind()
84 for (; items < itemsEnd; items += itemSize) { in bagFind()
86 if (*((void**)items) == key) { in bagFind()
[all …]
/external/pthreadpool/bench/
Dthroughput.cc12 const size_t items = static_cast<size_t>(state.range(0)); in pthreadpool_parallelize_1d() local
18 items * threads, in pthreadpool_parallelize_1d()
24 state.SetItemsProcessed(int64_t(state.iterations()) * items); in pthreadpool_parallelize_1d()
35 const size_t items = static_cast<size_t>(state.range(0)); in pthreadpool_parallelize_1d_tile_1d() local
41 items * threads, 1, in pthreadpool_parallelize_1d_tile_1d()
47 state.SetItemsProcessed(int64_t(state.iterations()) * items); in pthreadpool_parallelize_1d_tile_1d()
58 const size_t items = static_cast<size_t>(state.range(0)); in pthreadpool_parallelize_2d() local
64 threads, items, in pthreadpool_parallelize_2d()
70 state.SetItemsProcessed(int64_t(state.iterations()) * items); in pthreadpool_parallelize_2d()
81 const size_t items = static_cast<size_t>(state.range(0)); in pthreadpool_parallelize_2d_tile_1d() local
[all …]
/external/jacoco/org.jacoco.core/src/org/jacoco/core/analysis/
DICounter.java15 * A counter holds the missed and the covered number of particular items like
25 /** Total number of items */
28 /** Number of missed items */
31 /** Number of covered items */
34 /** Ratio of missed to total items */
37 /** Ratio of covered to total items */
42 * Status flag for no items (value is 0x00).
47 * Status flag when all items are not covered (value is 0x01).
52 * Status flag when all items are covered (value is 0x02).
57 * Status flag when items are partly covered (value is 0x03).
[all …]
/external/autotest/cli/
Dtopic_common.py199 inline_option: the option containing the items (--label)
214 """Splits a string of comma separated items. Escaped commas will not
242 for items in add_on:
245 result.update(__get_items(items, split_spaces=False))
249 items = getattr(options, self.inline_option)
250 result.update(__get_items(items))
255 # The file can contain space and/or comma separated items
324 items and returns them
334 # the items that failed.
342 otherwise, queue the error and accumulate all the items
[all …]
/external/python/cpython2/Lib/test/
Dtest_weakset.py41 self.items = [SomeClass(c) for c in ('a', 'b', 'c')]
50 self.s = WeakSet(self.items)
51 self.d = dict.fromkeys(self.items)
85 self.assertEqual(self.s, WeakSet(self.items))
89 x = WeakSet(self.items + self.items2)
93 self.assertEqual(len(u), len(self.items) + len(self.items2))
96 self.assertEqual(len(u), len(self.items) + len(self.items2))
112 self.assertEqual(i.intersection(C(self.items)), x)
131 self.assertEqual(self.s, WeakSet(self.items))
144 self.assertEqual(self.s, WeakSet(self.items))
[all …]
/external/python/google-api-python-client/docs/dyn/
Ddoubleclickbidmanager_v1.lineitems.html79 <p class="firstline">Retrieves line items in CSV format. TrueView line items are not supported.</p>
82 <p class="firstline">Uploads line items in CSV format. TrueView line items are not supported.</p>
86 <pre>Retrieves line items in CSV format. TrueView line items are not supported.
92 { # Request to fetch stored line items.
93 …ing", # File specification (column names, types, order) in which the line items will be returned. …
94 "filterType": "A String", # Filter type used to filter line items to fetch.
95 …Ids of the specified filter type used to filter line items to fetch. If omitted, all the line item…
98 "format": "A String", # Format in which the line items will be returned. Default to CSV.
105 { # Download line items response.
106 …"lineItems": "A String", # Retrieved line items in CSV format. For more information about file for…
[all …]
/external/minigbm/
Dhelpers_array.c15 void **items; member
29 array->items = calloc(array->allocations, sizeof(*array->items)); in drv_array_init()
41 new_items = realloc(array->items, array->allocations * sizeof(*array->items)); in drv_array_append()
43 array->items = new_items; in drv_array_append()
48 array->items[array->size] = item; in drv_array_append()
60 free(array->items[idx]); in drv_array_remove()
61 array->items[idx] = NULL; in drv_array_remove()
64 array->items[i - 1] = array->items[i]; in drv_array_remove()
70 new_items = realloc(array->items, array->allocations * sizeof(*array->items)); in drv_array_remove()
72 array->items = new_items; in drv_array_remove()
[all …]
/external/llvm/utils/llvm-build/llvmbuild/
Dcomponentinfo.py25 def parse_items(items, has_dependencies = True): argument
27 kwargs['name'] = items.get_string('name')
28 kwargs['parent'] = items.get_optional_string('parent')
30 kwargs['dependencies'] = items.get_list('dependencies')
64 this object. Items are of the form (reference-type, component-name).
98 def parse(subpath, items): argument
99 kwargs = ComponentInfo.parse_items(items, has_dependencies = False)
116 def parse_items(items): argument
117 kwargs = ComponentInfo.parse_items(items)
118 kwargs['library_name'] = items.get_optional_string('library_name')
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DRow.java21 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[4]; in get4()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DRow.java25 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[4]; in get4()
[all …]
/external/chromium-trace/catapult/third_party/polymer/components/iron-selector/test/
Dattr-for-selected.html88 var items;
92 items = Array.prototype.slice.apply(selector.querySelectorAll('div[some-attr]'));
97 assert.equal(selector.selectedItem, items[1]);
101 MockInteractions.downAndUp(items[2], function() {
110 var items;
114 items = Array.prototype.slice.apply(selector.querySelectorAll('attr-reflector'));
115 for (var i = 0; i < items.length; i++) {
116 items[i].someAttr = "value" + i;
122 assert.equal(selector.selectedItem, items[1]);
126 MockInteractions.downAndUp(items[2], function() {
[all …]
/external/harfbuzz_ng/src/
Dhb-map.hh71 item_t *items; member
79 items = nullptr; in init_shallow()
88 free (items); in fini_shallow()
89 items = nullptr; in fini_shallow()
125 item_t *old_items = items; in resize()
131 items = new_items; in resize()
133 /* Insert back old items. */ in resize()
153 if (unlikely (!items)) return vINVALID; in get()
155 return items[i].is_real () && items[i] == key ? items[i].value : vINVALID; in get()
177 if (items) in clear()
[all …]
/external/chromium-trace/catapult/third_party/polymer/components/iron-selector/
Diron-selectable.html21 * It is fired before the selected items are changed.
40 * Fired when the list of selectable items changes (e.g., items are
44 * @event iron-items-changed
85 * The event that fires from items when they are selected. Selectable
86 * will listen for this event from items and update the selection state.
96 * This is a CSS selector string. If this is set, only items that match the CSS selector
127 * The list of items from which a selection can be made.
129 items: {
189 return this.items.indexOf(item);
208 var length = this.items.length;
[all …]
/external/cldr/tools/st-prom-exporter/
Dindex.js15 const items = { variable
97 items.oks.inc({instance});
98 items.fetchErr.set({ instance }, 200);
99 items.fetchTime.set({ instance }, new Date().getTime()/1000);
100 items.ok.set({instance}, Number(res.SurveyOK));
101 items.isSetup.set({instance}, Number(res.isSetup));
106 items.pages.set({instance}, Number(pages));
107 items.users.set({instance}, Number(users));
108 items.memtotal.set({instance}, Number(memtotal));
109 items.memfree.set({instance}, Number(memfree));
[all …]
/external/mesa3d/src/mesa/program/
Dprog_cache.c49 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()
104 cache->items = items; in rehash()
119 for (c = cache->items[i]; c; c = next) { in clear_cache()
[all …]
/external/llvm-project/lldb/source/DataFormatters/
DTypeCategory.cpp144 void TypeCategoryImpl::Clear(FormatCategoryItems items) { in Clear() argument
145 if ((items & eFormatCategoryItemValue) == eFormatCategoryItemValue) in Clear()
147 if ((items & eFormatCategoryItemRegexValue) == eFormatCategoryItemRegexValue) in Clear()
150 if ((items & eFormatCategoryItemSummary) == eFormatCategoryItemSummary) in Clear()
152 if ((items & eFormatCategoryItemRegexSummary) == in Clear()
156 if ((items & eFormatCategoryItemFilter) == eFormatCategoryItemFilter) in Clear()
158 if ((items & eFormatCategoryItemRegexFilter) == in Clear()
162 if ((items & eFormatCategoryItemSynth) == eFormatCategoryItemSynth) in Clear()
164 if ((items & eFormatCategoryItemRegexSynth) == eFormatCategoryItemRegexSynth) in Clear()
168 bool TypeCategoryImpl::Delete(ConstString name, FormatCategoryItems items) { in Delete() argument
[all …]
/external/llvm-project/openmp/libomptarget/deviceRTLs/common/
Domptargeti.h22 uint8_t rc = (items.flags & TaskDescr_SchedMask) + 1; in GetRuntimeSched()
30 items.flags &= ~TaskDescr_SchedMask; in SetRuntimeSched()
32 items.flags |= val; in SetRuntimeSched()
43 items.flags = 0; in InitLevelZeroTaskDescr()
44 items.threadId = 0; // is master in InitLevelZeroTaskDescr()
45 items.runtimeChunkSize = 1; // preferred chunking statik with chunk 1 in InitLevelZeroTaskDescr()
58 items.flags = in InitLevelOneTaskDescr()
60 items.threadId = in InitLevelOneTaskDescr()
62 items.runtimeChunkSize = 1; // preferred chunking statik with chunk 1 in InitLevelOneTaskDescr()
68 items = sourceTaskDescr->items; in CopyData()
[all …]
/external/chromium-trace/catapult/third_party/polymer/components/iron-menu-behavior/test/
Diron-menu-behavior.html200 test('focusing on next item skips disabled items', function(done) {
210 assert.equal(focusedItem, menu.items[2], 'menu.items[2] is focused');
216 test('focusing on next item skips invisible items', function(done) {
227 assert.equal(focusedItem, menu.items[4], 'menu.items[4] is focused');
233 test('focusing on next item skips nested invisible items', function(done) {
245 assert.equal(focusedItem, menu.items[4], 'menu.items[4] is focused');
283 test('focusing on previous item skips disabled items', function(done) {
294 assert.equal(focusedItem, menu.items[2], 'menu.items[2] is focused');
300 test('focusing on previous item skips invisible items', function(done) {
311 assert.equal(focusedItem, menu.items[4], 'menu.items[4] is focused');
[all …]

12345678910>>...246