/external/gemmlowp/internal/ |
D | pack_msa.h | 89 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 …]
|
D | pack_neon.h | 80 for (int cell = 0; cell < kCells; cell++) { in Pack() local 82 src_lines_intertwined_4x[2 * cell + outer].val[inner]); in Pack() 86 for (int cell = 0; cell < kCells; cell++) { in Pack() local 88 src_lines_intertwined_4x[2 * cell + outer].val[inner]); in Pack() 99 for (int cell = 0; cell < kCells; cell++) { in Pack() local 100 sums_of_2_cells[cell][i] = vaddl_u8( in Pack() 102 src_lines_intertwined_4x[2 * cell + outer].val[inner]), in Pack() 104 src_lines_intertwined_4x[2 * cell + outer].val[inner])); in Pack() 110 for (int cell = 0; cell < kCells; cell++) { in Pack() local 111 sums_of_4_cells[cell][i] = vreinterpretq_s32_u32( in Pack() [all …]
|
/external/toolchain-utils/cros_utils/ |
D | tabulator.py | 95 def _RemoveMinMax(cell, values): argument 98 print('WARNING: Cell name:', cell.name, 'Values:', values) 297 cell = Cell() 298 cell.string_value = 'Benchmark %s contains no result.' + \ 300 table.append([cell]) 431 def _Literal(self, cell, values, baseline_values): argument 432 cell.value = ' '.join([str(v) for v in values]) 434 def _ComputeFloat(self, cell, values, baseline_values): argument 435 self._Literal(cell, values, baseline_values) 437 def _ComputeString(self, cell, values, baseline_values): argument [all …]
|
D | tabulator_test.py | 26 cell = tabulator.Cell() 27 result.Compute(cell, table[2], table[1]) 29 self.assertTrue(cell.value == expected) 32 cell = tabulator.Cell() 33 result.Compute(cell, table[2], table[1]) 34 self.assertTrue(cell.value == float(table[2][0])) 38 cell = tabulator.Cell() 41 smr.Compute(cell, values, None) 42 self.assertTrue(cell.value == value) 44 smr.Compute(cell, values, None) [all …]
|
/external/tensorflow/tensorflow/compiler/xrt/ |
D | xrt_metrics.cc | 76 static monitoring::PercentileSamplerCell* cell = in GetAllocateCell() local 81 return cell; in GetAllocateCell() 85 static monitoring::PercentileSamplerCell* cell = in GetAllocateUninitializedCell() local 91 return cell; in GetAllocateUninitializedCell() 95 static monitoring::PercentileSamplerCell* cell = in GetAllocateFromTensorCell() local 101 return cell; in GetAllocateFromTensorCell() 105 static monitoring::PercentileSamplerCell* cell = in GetSubTupleCell() local 110 return cell; in GetSubTupleCell() 114 static monitoring::PercentileSamplerCell* cell = in GetMakeTupleCell() local 119 return cell; in GetMakeTupleCell() [all …]
|
/external/tensorflow/tensorflow/core/lib/monitoring/ |
D | gauge_test.cc | 32 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 …]
|
D | sampler_test.cc | 47 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 …]
|
D | percentile_sampler_test.cc | 34 auto* cell = pctsampler_with_labels->GetCell("MyLabel"); in TEST() local 35 cell->Add(10.0); in TEST() 36 cell->Add(4.0); in TEST() 37 cell->Add(1.0); in TEST() 38 cell->Add(0.6); in TEST() 40 auto value = cell->value(); in TEST() 52 auto* cell = pctsampler_without_labels->GetCell(); in TEST() local 53 cell->Add(10.0); in TEST() 54 cell->Add(4.0); in TEST() 55 cell->Add(1.0); in TEST() [all …]
|
D | counter_test.cc | 33 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/ |
D | cell.rst | 9 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/ |
D | cell.rst | 9 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/ |
D | SpreadsheetSelectionManager.java | 30 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/python/cpython3/Tools/demo/ |
D | ss1.py | 40 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/python/cpython2/Demo/tkinter/guido/ |
D | ss1.py | 38 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/tensorflow/tensorflow/python/keras/layers/ |
D | convolutional_recurrent.py | 159 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 …]
|
D | recurrent.py | 84 for cell in cells: 85 if not 'call' in dir(cell): 88 if not 'state_size' in dir(cell): 121 for cell in self.cells[::-1] if self.reverse_state_order else self.cells: 122 get_initial_state_fn = getattr(cell, 'get_initial_state', None) 128 cell, inputs, batch_size, dtype)) 140 for cell, states in zip(self.cells, nested_states): 143 is_tf_rnn_cell = getattr(cell, '_is_tf_rnn_cell', None) is not None 145 if generic_utils.has_arg(cell.call, 'training'): 151 cell_call_fn = cell.__call__ if callable(cell) else cell.call [all …]
|
D | rnn_cell_wrapper_v2_test.py | 91 cell = rnn_cell_impl.GRUCell(3) 92 wrapped_cell = wrapper_type(cell, "/cpu:0") 95 self.assertIs(dep, cell) 133 self.assertCountEqual([v.name for v in rnn_cell.cell.weights], 157 cell = rnn_cell_impl.LSTMCell(10) 158 wrapper = wrapper(cell) 160 self.assertTrue(cell.built) 164 cell = layers.LSTMCell(10) 165 wrapper = wrapper_cls(cell, "/cpu:0") 174 cell = layers.LSTMCell(10) [all …]
|
D | rnn_cell_wrapper_v2.py | 41 def __init__(self, cell, *args, **kwargs): argument 43 self.cell = cell 67 inputs, state, cell_call_fn=self.cell.call, **kwargs) 71 self.cell.build(inputs_shape) 77 "class_name": self.cell.__class__.__name__, 78 "config": self.cell.get_config() 88 cell = deserialize_layer(config.pop("cell"), custom_objects=custom_objects) 89 return cls(cell, **config) 99 if isinstance(self.cell, recurrent.LSTMCell):
|
/external/jemalloc/src/ |
D | ckh.c | 55 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/jemalloc_new/src/ |
D | ckh.c | 64 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/autotest/frontend/client/src/autotest/common/table/ |
D | TableRenderer.java | 31 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/u-boot/lib/ |
D | fdtdec_common.c | 24 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/u-boot/drivers/pci/ |
D | pci_sandbox.c | 82 const fdt32_t *cell; in sandbox_pci_probe() local 86 cell = ofnode_get_property(dev_ofnode(dev), "sandbox,dev-info", &len); in sandbox_pci_probe() 87 if (!cell) in sandbox_pci_probe() 96 fdt32_to_cpu(cell[0]), fdt32_to_cpu(cell[1]), in sandbox_pci_probe() 97 fdt32_to_cpu(cell[2]), fdt32_to_cpu(cell[3])); in sandbox_pci_probe() 99 pdev = fdt32_to_cpu(cell[0]); in sandbox_pci_probe() 100 pfn = fdt32_to_cpu(cell[1]); in sandbox_pci_probe() 104 priv->vendev[devfn].vendor = fdt32_to_cpu(cell[2]); in sandbox_pci_probe() 105 priv->vendev[devfn].device = fdt32_to_cpu(cell[3]); in sandbox_pci_probe() 107 cell += FDT_DEV_INFO_CELLS; in sandbox_pci_probe()
|
/external/libvterm/src/ |
D | screen.c | 39 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/c/eager/ |
D | c_api_experimental.cc | 125 void TFE_MonitoringCounterCellIncrementBy(TFE_MonitoringCounterCell* cell, in TFE_MonitoringCounterCellIncrementBy() argument 127 cell->cell.IncrementBy(value); in TFE_MonitoringCounterCellIncrementBy() 130 int64_t TFE_MonitoringCounterCellValue(TFE_MonitoringCounterCell* cell) { in TFE_MonitoringCounterCellValue() argument 131 return cell->cell.value(); in TFE_MonitoringCounterCellValue() 204 void TFE_MonitoringIntGaugeCellSet(TFE_MonitoringIntGaugeCell* cell, in TFE_MonitoringIntGaugeCellSet() argument 206 cell->cell.Set(value); in TFE_MonitoringIntGaugeCellSet() 209 int64_t TFE_MonitoringIntGaugeCellValue(TFE_MonitoringIntGaugeCell* cell) { in TFE_MonitoringIntGaugeCellValue() argument 210 return cell->cell.value(); in TFE_MonitoringIntGaugeCellValue() 283 void TFE_MonitoringStringGaugeCellSet(TFE_MonitoringStringGaugeCell* cell, in TFE_MonitoringStringGaugeCellSet() argument 285 cell->cell.Set({value}); in TFE_MonitoringStringGaugeCellSet() [all …]
|