Home
last modified time | relevance | path

Searched refs:cell (Results 1 – 25 of 453) sorted by relevance

12345678910>>...19

/external/gemmlowp/internal/
Dpack_msa.h89 for (int cell = 0; cell < kCells; cell += 2) { in Pack() local
92 src_lines_intertwined_4x[2 * (cell + 1) + outer][inner]), in Pack()
94 src_lines_intertwined_4x[2 * cell + outer][inner])); in Pack()
98 for (int cell = 0; cell < kCells; cell += 2) { in Pack() local
101 src_lines_intertwined_4x[2 * (cell + 1) + outer][inner]), in Pack()
103 src_lines_intertwined_4x[2 * cell + outer][inner])); in Pack()
109 for (int cell = 0; cell < kCells - 1; cell += 2) { in Pack() local
112 src_lines_intertwined_4x[2 * (cell + 1) + outer][inner]), in Pack()
114 src_lines_intertwined_4x[2 * cell + outer][inner])); in Pack()
128 for (int cell = 1; cell < kCells; cell += 2) { in Pack() local
[all …]
Dpack_neon.h77 for (int cell = 0; cell < kCells; cell++) { in Pack() local
79 src_lines_intertwined_4x[2 * cell + outer].val[inner]); in Pack()
83 for (int cell = 0; cell < kCells; cell++) { in Pack() local
85 src_lines_intertwined_4x[2 * cell + outer].val[inner]); in Pack()
96 for (int cell = 0; cell < kCells; cell++) { in Pack() local
97 sums_of_2_cells[cell][i] = vaddl_u8( in Pack()
99 src_lines_intertwined_4x[2 * cell + outer].val[inner]), in Pack()
101 src_lines_intertwined_4x[2 * cell + outer].val[inner])); in Pack()
107 for (int cell = 0; cell < kCells; cell++) { in Pack() local
108 sums_of_4_cells[cell][i] = vreinterpretq_s32_u32( in Pack()
[all …]
/external/toolchain-utils/cros_utils/
Dtabulator.py228 def _Literal(self, cell, values, baseline_values): argument
229 cell.value = ' '.join([str(v) for v in values])
231 def _ComputeFloat(self, cell, values, baseline_values): argument
232 self._Literal(cell, values, baseline_values)
234 def _ComputeString(self, cell, values, baseline_values): argument
235 self._Literal(cell, values, baseline_values)
237 def _InvertIfLowerIsBetter(self, cell): argument
251 def Compute(self, cell, values, baseline_values): argument
263 cell.value = ''
278 cell.value = ''
[all …]
Dtabulator_test.py21 cell = tabulator.Cell()
22 result.Compute(cell, table[2], table[1])
24 self.assertTrue(cell.value == expected)
27 cell = tabulator.Cell()
28 result.Compute(cell, table[2], table[1])
29 self.assertTrue(cell.value == float(table[2][0]))
33 cell = tabulator.Cell()
36 smr.Compute(cell, values, None)
37 self.assertTrue(cell.value == value)
39 smr.Compute(cell, values, None)
[all …]
/external/tensorflow/tensorflow/core/lib/monitoring/
Dgauge_test.cc32 auto* cell = gauge_with_labels->GetCell("GetCellOp"); in TEST() local
33 EXPECT_EQ(0, cell->value()); in TEST()
35 cell->Set(1); in TEST()
36 EXPECT_EQ(1, cell->value()); in TEST()
42 EXPECT_EQ(10, cell->value()); in TEST()
54 auto* cell = gauge_without_labels->GetCell(); in TEST() local
55 EXPECT_EQ(0, cell->value()); in TEST()
57 cell->Set(1); in TEST()
58 EXPECT_EQ(1, cell->value()); in TEST()
64 EXPECT_EQ(10, cell->value()); in TEST()
[all …]
Dsampler_test.cc47 auto* cell = sampler_with_labels->GetCell("BucketBoundaries"); in TEST() local
49 cell->Add(-1.0); in TEST()
51 cell->Add(10.0); in TEST()
53 cell->Add(20.0); in TEST()
55 cell->Add(31.0); in TEST()
58 EqHistograms(expected, cell->value()); in TEST()
79 auto* cell = sampler_without_labels->GetCell(); in TEST() local
80 cell->Add(-1.0); in TEST()
82 cell->Add(2.0); in TEST()
84 cell->Add(31.0); in TEST()
[all …]
Dcounter_test.cc33 auto* cell = counter_with_labels->GetCell("GetCellOp"); in TEST() local
34 EXPECT_EQ(0, cell->value()); in TEST()
36 cell->IncrementBy(42); in TEST()
37 EXPECT_EQ(42, cell->value()); in TEST()
43 EXPECT_EQ(100, cell->value()); in TEST()
65 auto* cell = counter_without_labels->GetCell(); in TEST() local
66 EXPECT_EQ(0, cell->value()); in TEST()
68 cell->IncrementBy(42); in TEST()
69 EXPECT_EQ(42, cell->value()); in TEST()
75 EXPECT_EQ(100, cell->value()); in TEST()
/external/python/cpython2/Doc/c-api/
Dcell.rst9 For each such variable, a cell object is created to store the value; the local
12 accessed, the value contained in the cell is used instead of the cell object
13 itself. This de-referencing of the cell object requires support from the
20 The C structure used for cell objects.
25 The type object corresponding to cell objects.
30 Return true if *ob* is a cell object; *ob* must not be *NULL*.
35 Create and return a new cell object containing the value *ob*. The parameter may
39 .. c:function:: PyObject* PyCell_Get(PyObject *cell)
41 Return the contents of the cell *cell*.
44 .. c:function:: PyObject* PyCell_GET(PyObject *cell)
[all …]
/external/python/cpython3/Doc/c-api/
Dcell.rst9 For each such variable, a cell object is created to store the value; the local
12 accessed, the value contained in the cell is used instead of the cell object
13 itself. This de-referencing of the cell object requires support from the
20 The C structure used for cell objects.
25 The type object corresponding to cell objects.
30 Return true if *ob* is a cell object; *ob* must not be *NULL*.
35 Create and return a new cell object containing the value *ob*. The parameter may
39 .. c:function:: PyObject* PyCell_Get(PyObject *cell)
41 Return the contents of the cell *cell*.
44 .. c:function:: PyObject* PyCell_GET(PyObject *cell)
[all …]
/external/autotest/frontend/client/src/autotest/common/spreadsheet/
DSpreadsheetSelectionManager.java30 public void toggleSelected(CellInfo cell) { in toggleSelected() argument
31 if (selectedCells.contains(cell)) { in toggleSelected()
32 deselectCell(cell); in toggleSelected()
33 notifyDeselected(Utils.wrapObjectWithList(cell)); in toggleSelected()
35 selectCell(cell); in toggleSelected()
36 notifySelected(Utils.wrapObjectWithList(cell)); in toggleSelected()
40 private void selectCell(CellInfo cell) { in selectCell() argument
41 selectedCells.add(cell); in selectCell()
42 spreadsheet.setHighlighted(cell, true); in selectCell()
45 private void deselectCell(CellInfo cell) { in deselectCell() argument
[all …]
/external/tensorflow/tensorflow/python/keras/layers/
Dconvolutional_recurrent.py159 cell, argument
169 if isinstance(cell, (list, tuple)):
173 super(ConvRNN2D, self).__init__(cell,
189 cell = self.cell
190 if cell.data_format == 'channels_first':
193 elif cell.data_format == 'channels_last':
197 cell.kernel_size[0],
198 padding=cell.padding,
199 stride=cell.strides[0],
200 dilation=cell.dilation_rate[0])
[all …]
Drecurrent.py69 for cell in cells:
70 if not hasattr(cell, 'call'):
73 if not hasattr(cell, 'state_size'):
106 for cell in self.cells[::-1] if self.reverse_state_order else self.cells:
107 get_initial_state_fn = getattr(cell, 'get_initial_state', None)
113 cell, inputs, batch_size, dtype))
125 for cell, states in zip(self.cells, nested_states):
128 is_tf_rnn_cell = getattr(cell, '_is_tf_rnn_cell', None) is not None
130 if generic_utils.has_arg(cell.call, 'constants'):
131 inputs, states = cell.call(inputs, states, constants=constants,
[all …]
/external/python/cpython2/Demo/tkinter/guido/
Dss1.py38 m.cell = self.cellvalue
43 cell = self.getcell(x, y)
44 if hasattr(cell, 'recalc'):
45 return cell.recalc(self.rexec)
47 return cell
63 def setcell(self, x, y, cell): argument
65 assert isinstance(cell, BaseCell)
66 self.cells[x, y] = cell
102 cell = self.cells[x, y]
103 if hasattr(cell, 'renumber'):
[all …]
/external/python/cpython3/Tools/demo/
Dss1.py40 cell = self.cellvalue,
46 cell = self.getcell(x, y)
47 if hasattr(cell, 'recalc'):
48 return cell.recalc(self.ns)
50 return cell
66 def setcell(self, x, y, cell): argument
68 assert isinstance(cell, BaseCell)
69 self.cells[x, y] = cell
105 cell = self.cells[x, y]
106 if hasattr(cell, 'renumber'):
[all …]
/external/jemalloc_new/src/
Dckh.c64 ckhc_t *cell; in ckh_bucket_search() local
68 cell = &ckh->tab[(bucket << LG_CKH_BUCKET_CELLS) + i]; in ckh_bucket_search()
69 if (cell->key != NULL && ckh->keycomp(key, cell->key)) { in ckh_bucket_search()
82 size_t hashes[2], bucket, cell; in ckh_isearch() local
90 cell = ckh_bucket_search(ckh, bucket, key); in ckh_isearch()
91 if (cell != SIZE_T_MAX) { in ckh_isearch()
92 return cell; in ckh_isearch()
97 cell = ckh_bucket_search(ckh, bucket, key); in ckh_isearch()
98 return cell; in ckh_isearch()
104 ckhc_t *cell; in ckh_try_bucket_insert() local
[all …]
/external/jemalloc/src/
Dckh.c55 ckhc_t *cell; in ckh_bucket_search() local
59 cell = &ckh->tab[(bucket << LG_CKH_BUCKET_CELLS) + i]; in ckh_bucket_search()
60 if (cell->key != NULL && ckh->keycomp(key, cell->key)) in ckh_bucket_search()
73 size_t hashes[2], bucket, cell; in ckh_isearch() local
81 cell = ckh_bucket_search(ckh, bucket, key); in ckh_isearch()
82 if (cell != SIZE_T_MAX) in ckh_isearch()
83 return (cell); in ckh_isearch()
87 cell = ckh_bucket_search(ckh, bucket, key); in ckh_isearch()
88 return (cell); in ckh_isearch()
95 ckhc_t *cell; in ckh_try_bucket_insert() local
[all …]
/external/autotest/frontend/client/src/autotest/common/table/
DTableRenderer.java31 for (CellInfo cell : row) { in renderRowsAndAppend()
32 if (cell == null && renderNull) { in renderRowsAndAppend()
34 } else if (cell != null) { in renderRowsAndAppend()
36 if (cell.cssClass != null) { in renderRowsAndAppend()
37 tdAttributes += attributeString("class", cell.cssClass); in renderRowsAndAppend()
39 if (cell.rowSpan > 1) { in renderRowsAndAppend()
40 tdAttributes += attributeString("rowspan", Integer.toString(cell.rowSpan)); in renderRowsAndAppend()
42 if (cell.colSpan > 1) { in renderRowsAndAppend()
43 tdAttributes += attributeString("colspan", Integer.toString(cell.colSpan)); in renderRowsAndAppend()
46 if (cell.widthPx != null) { in renderRowsAndAppend()
[all …]
/external/perfetto/src/trace_processor/
Dwasm_bridge.cc120 auto cell = it.Get(col); in trace_processor_rawQuery() local
122 switch (cell.type) { in trace_processor_rawQuery()
139 if (cell.type == SqlValue::Type::kNull || in trace_processor_rawQuery()
151 PERFETTO_CHECK(cell.type == SqlValue::Type::kLong || in trace_processor_rawQuery()
152 cell.type == SqlValue::Type::kDouble); in trace_processor_rawQuery()
153 if (cell.type == SqlValue::Type::kLong) { in trace_processor_rawQuery()
154 column->add_long_values(cell.long_value); in trace_processor_rawQuery()
156 column->add_long_values(static_cast<int64_t>(cell.double_value)); in trace_processor_rawQuery()
161 PERFETTO_CHECK(cell.type == SqlValue::Type::kString); in trace_processor_rawQuery()
162 column->add_string_values(cell.string_value); in trace_processor_rawQuery()
[all …]
/external/libvterm/src/
Dscreen.c39 static int vterm_screen_set_cell(VTermScreen *screen, VTermPos pos, const VTermScreenCell *cell);
175 ScreenCell *cell = getcell(screen, pos.row, pos.col); in putglyph() local
177 if(!cell) in putglyph()
182 cell->chars[i] = info->chars[i]; in putglyph()
183 cell->pen = screen->pen; in putglyph()
186 cell->chars[i] = 0; in putglyph()
198 cell->pen.protected_cell = info->protected_cell; in putglyph()
199 cell->pen.dwl = info->dwl; in putglyph()
200 cell->pen.dhl = info->dhl; in putglyph()
273 ScreenCell *cell = getcell(screen, row, col); in erase_internal() local
[all …]
/external/tensorflow/tensorflow/contrib/rnn/python/kernel_tests/
Drnn_cell_test.py60 cell = cell_class(out_size, dtype=dtype)
62 cell.build(in_shape)
63 state_output = cell.get_initial_state(
65 cell_output, _ = cell(array_ops.zeros(in_shape, dtype), state_output)
84 cell = contrib_rnn_cell.IndRNNCell(2)
85 g, _ = cell(x, m)
90 ], [v.name for v in cell.trainable_variables])
91 self.assertFalse(cell.non_trainable_variables)
136 cell = rnn_cell_impl.MultiRNNCell(
138 self.assertEqual(cell.dtype, None)
[all …]
/external/u-boot/lib/
Dfdtdec_common.c24 const int *cell; in fdtdec_get_int() local
28 cell = fdt_getprop(blob, node, prop_name, &len); in fdtdec_get_int()
29 if (cell && len >= sizeof(int)) { in fdtdec_get_int()
30 int val = fdt32_to_cpu(cell[0]); in fdtdec_get_int()
42 const int *cell; in fdtdec_get_uint() local
46 cell = fdt_getprop(blob, node, prop_name, &len); in fdtdec_get_uint()
47 if (cell && len >= sizeof(unsigned int)) { in fdtdec_get_uint()
48 unsigned int val = fdt32_to_cpu(cell[0]); in fdtdec_get_uint()
/external/tensorflow/tensorflow/contrib/grid_rnn/python/kernel_tests/
Dgrid_rnn_test.py43 cell = grid_rnn_cell.Grid2BasicLSTMCell(2)
44 self.assertEqual(cell.state_size, ((2, 2), (2, 2)))
46 g, s = cell(x, m)
74 g2, s2 = cell(x, m)
101 cell = grid_rnn_cell.Grid2BasicLSTMCell(2, tied=True)
102 self.assertEqual(cell.state_size, ((2, 2), (2, 2)))
104 g, s = cell(x, m)
143 cell = grid_rnn_cell.Grid2BasicLSTMCell(
145 self.assertEqual(cell.state_size, ((2, 2),))
147 g, s = cell(x, m)
[all …]
/external/tensorflow/tensorflow/python/ops/
Drnn_cell_impl.py76 def assert_like_rnncell(cell_name, cell): argument
92 _hasattr(cell, "output_size"),
93 _hasattr(cell, "state_size"),
94 _hasattr(cell, "get_initial_state") or _hasattr(cell, "zero_state"),
95 callable(cell),
108 cell_name, cell, ", ".join(errors)))
1098 def __init__(self, cell): argument
1100 self.cell = cell
1101 if isinstance(cell, trackable.Trackable):
1102 self._track_trackable(self.cell, name="cell")
[all …]
/external/guava/guava/src/com/google/common/collect/
DAbstractTable.java101 for (Table.Cell<? extends R, ? extends C, ? extends V> cell : table.cellSet()) { in putAll()
102 put(cell.getRowKey(), cell.getColumnKey(), cell.getValue()); in putAll()
124 Cell<?, ?, ?> cell = (Cell<?, ?, ?>) o; in contains() local
125 Map<C, V> row = Maps.safeGet(rowMap(), cell.getRowKey()); in contains()
127 row.entrySet(), Maps.immutableEntry(cell.getColumnKey(), cell.getValue())); in contains()
135 Cell<?, ?, ?> cell = (Cell<?, ?, ?>) o; in remove() local
136 Map<C, V> row = Maps.safeGet(rowMap(), cell.getRowKey()); in remove()
138 row.entrySet(), Maps.immutableEntry(cell.getColumnKey(), cell.getValue())); in remove()
174 V transform(Cell<R, C, V> cell) { in valuesIterator()
175 return cell.getValue(); in valuesIterator()
/external/icu/icu4c/source/tools/toolutil/
Ducmstate.cpp335 int32_t entry, sum, state, cell, count; in sumUpStates() local
355 for(cell=0; cell<256; ++cell) { in sumUpStates()
356 entry=states->stateTable[state][cell]; in sumUpStates()
360 states->stateTable[state][cell]=MBCS_ENTRY_FINAL_SET_VALUE(entry, sum); in sumUpStates()
364 states->stateTable[state][cell]=MBCS_ENTRY_FINAL_SET_VALUE(entry, sum); in sumUpStates()
375 for(cell=0; cell<256; ++cell) { in sumUpStates()
376 entry=states->stateTable[state][cell]; in sumUpStates()
379 … states->stateTable[state][cell]=MBCS_ENTRY_TRANSITION_SET_OFFSET(entry, sum); in sumUpStates()
412 for(cell=0; cell<256; ++cell) { in sumUpStates()
413 entry=states->stateTable[state][cell]; in sumUpStates()
[all …]

12345678910>>...19