/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 | 96 def _RemoveMinMax(cell, values): argument 99 print('WARNING: Cell name:', cell.name, 'Values:', values) 301 cell = Cell() 302 cell.string_value = ('Benchmark %s contains no result.' 304 table.append([cell]) 435 def _Literal(self, cell, values, baseline_values): argument 436 cell.value = ' '.join([str(v) for v in values]) 438 def _ComputeFloat(self, cell, values, baseline_values): argument 439 self._Literal(cell, values, baseline_values) 441 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])) 39 cell = tabulator.Cell() 40 result.Compute(cell, table[2], table[1]) 41 self.assertTrue(cell.value == 0.5) 46 cell = tabulator.Cell() [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/rust/crates/tokio/tests/ |
D | task_local_set.rs | 14 use std::cell::Cell; 34 ON_RT_THREAD.with(|cell| cell.set(true)); in local_threadpool() 38 assert!(ON_RT_THREAD.with(|cell| cell.get())); in local_threadpool() 40 assert!(ON_RT_THREAD.with(|cell| cell.get())); in local_threadpool() 54 ON_LOCAL_THREAD.with(|cell| cell.set(true)); in localset_future_threadpool() 58 assert!(ON_LOCAL_THREAD.with(|cell| cell.get())); in localset_future_threadpool() 115 ON_RT_THREAD.with(|cell| cell.set(true)); in local_threadpool_timer() 119 assert!(ON_RT_THREAD.with(|cell| cell.get())); in local_threadpool_timer() 121 assert!(ON_RT_THREAD.with(|cell| cell.get())); in local_threadpool_timer() 123 assert!(ON_RT_THREAD.with(|cell| cell.get())); in local_threadpool_timer() [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/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/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/tensorflow/tensorflow/compiler/xrt/ |
D | xrt_metrics.cc | 93 static monitoring::PercentileSamplerCell* cell = in GetAllocateCell() local 99 return cell; in GetAllocateCell() 103 static monitoring::PercentileSamplerCell* cell = in GetAllocateUninitializedCell() local 110 return cell; in GetAllocateUninitializedCell() 114 static monitoring::PercentileSamplerCell* cell = in GetAllocateFromTensorCell() local 121 return cell; in GetAllocateFromTensorCell() 125 static monitoring::PercentileSamplerCell* cell = in GetSubTupleCell() local 131 return cell; in GetSubTupleCell() 135 static monitoring::PercentileSamplerCell* cell = in GetMakeTupleCell() local 141 return cell; in GetMakeTupleCell() [all …]
|
/external/tensorflow/tensorflow/python/keras/layers/ |
D | convolutional_recurrent.py | 158 cell, argument 168 if isinstance(cell, (list, tuple)): 172 super(ConvRNN2D, self).__init__(cell, 188 cell = self.cell 189 if cell.data_format == 'channels_first': 192 elif cell.data_format == 'channels_last': 196 cell.kernel_size[0], 197 padding=cell.padding, 198 stride=cell.strides[0], 199 dilation=cell.dilation_rate[0]) [all …]
|
D | recurrent.py | 86 for cell in cells: 87 if not 'call' in dir(cell): 90 if not 'state_size' in dir(cell): 123 for cell in self.cells[::-1] if self.reverse_state_order else self.cells: 124 get_initial_state_fn = getattr(cell, 'get_initial_state', None) 130 cell, inputs, batch_size, dtype)) 142 for cell, states in zip(self.cells, nested_states): 145 is_tf_rnn_cell = getattr(cell, '_is_tf_rnn_cell', None) is not None 147 if generic_utils.has_arg(cell.call, 'training'): 153 cell_call_fn = cell.__call__ if callable(cell) else cell.call [all …]
|
D | rnn_cell_wrapper_v2.py | 42 def __init__(self, cell, *args, **kwargs): argument 44 self.cell = cell 45 cell_call_spec = tf_inspect.getfullargspec(cell.call) 72 inputs, state, cell_call_fn=self.cell.call, **kwargs) 76 self.cell.build(inputs_shape) 82 "class_name": self.cell.__class__.__name__, 83 "config": self.cell.get_config() 93 cell = deserialize_layer(config.pop("cell"), custom_objects=custom_objects) 94 return cls(cell, **config) 104 if isinstance(self.cell, recurrent.LSTMCell):
|
D | rnn_cell_wrapper_v2_test.py | 94 cell = rnn_cell_impl.GRUCell(3) 95 wrapped_cell = wrapper_type(cell, "/cpu:0") 98 self.assertIs(dep, cell) 135 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 …]
|
/external/rust/crates/once_cell/tests/ |
D | it.rs | 3 cell::Cell, 80 let cell: OnceCell<String> = OnceCell::new(); in into_inner() localVariable 81 assert_eq!(cell.into_inner(), None); in into_inner() 82 let cell = OnceCell::new(); in into_inner() localVariable 83 cell.set("hello".to_string()).unwrap(); in into_inner() 84 assert_eq!(cell.into_inner(), Some("hello".to_string())); in into_inner() 89 let cell = OnceCell::new(); in debug_impl() localVariable 90 assert_eq!(format!("{:?}", cell), "OnceCell(Uninit)"); in debug_impl() 91 cell.set("hello".to_string()).unwrap(); in debug_impl() 92 assert_eq!(format!("{:?}", cell), "OnceCell(\"hello\")"); in debug_impl() [all …]
|
/external/s2-geometry-library-java/tests/com/google/common/geometry/ |
D | S2CellTest.java | 32 S2Cell cell = new S2Cell(id); in testFaces() local 33 assertEquals(cell.id(), id); in testFaces() 34 assertEquals(cell.face(), face); in testFaces() 35 assertEquals(cell.level(), 0); in testFaces() 37 assertEquals(cell.orientation(), face & S2.SWAP_MASK); in testFaces() 38 assertTrue(!cell.isLeaf()); in testFaces() 40 if (edgeCounts.containsKey(cell.getEdgeRaw(k))) { in testFaces() 41 edgeCounts.put(cell.getEdgeRaw(k), edgeCounts.get(cell in testFaces() 44 edgeCounts.put(cell.getEdgeRaw(k), 1); in testFaces() 47 if (vertexCounts.containsKey(cell.getVertexRaw(k))) { in testFaces() [all …]
|
/external/python/cpython3/Tools/demo/ |
D | spreadsheet.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/rust/crates/tokio/src/ |
D | coop.rs | 32 use std::cell::Cell; 89 cell: &'a Cell<Budget>, in with_budget() field 95 self.cell.set(self.prev); in with_budget() 99 CURRENT.with(move |cell| { in with_budget() 100 let prev = cell.get(); in with_budget() 102 cell.set(budget); in with_budget() 104 let _guard = ResetGuard { cell, prev }; in with_budget() 113 CURRENT.with(|cell| cell.set(budget)) 118 CURRENT.with(|cell| cell.get().has_remaining()) 127 CURRENT.with(|cell| { [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/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/webrtc/examples/objc/AppRTCMobile/ios/ |
D | ARDSettingsViewController.m | 111 UITableViewCell *cell = [tableView cellForRowAtIndexPath:rowPath]; 112 cell.accessoryType = UITableViewCellAccessoryNone; 120 UITableViewCell *cell = [tableView cellForRowAtIndexPath:indexPath]; 121 cell.accessoryType = UITableViewCellAccessoryCheckmark; 181 UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:dequeueIdentifier]; 182 if (!cell) { 183 cell = [[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault 187 cell.textLabel.text = resolution; 189 cell.accessoryType = UITableViewCellAccessoryCheckmark; 191 cell.accessoryType = UITableViewCellAccessoryNone; [all …]
|