Home
last modified time | relevance | path

Searched refs:cell (Results 1 - 25 of 207) sorted by relevance

123456789

/third_party/node/deps/npm/node_modules/cli-table3/src/
H A Dlayout-manager.js2 const Cell = require('./cell');
17 row.forEach(function (cell) {
18 cell.y = rowIndex;
20 cell.x = rowIndex ? next(alloc, col) : col;
21 const rowSpan = cell.rowSpan || 1;
22 const colSpan = cell.colSpan || 1;
25 alloc[cell.x + cs] = rowSpan;
28 col = cell.x + colSpan;
40 row.forEach(function (cell) {
41 mw = Math.max(mw, cell
[all...]
H A Dtable.js53 row.forEach(function (cell) {
54 cell.mergeTableOptions(this.options, cells);
62 row.forEach(function (cell) {
63 cell.init(this.options);
99 row.forEach(function (cell) {
100 line.push(cell.draw(lineNum));
/third_party/rust/crates/once_cell/tests/
H A Dit.rs3 cell::Cell,
23 let cell = CELL; in once_cell_with_value()
24 assert_eq!(cell.get(), Some(&12)); in once_cell_with_value()
87 let cell: OnceCell<String> = OnceCell::new(); in into_inner()
88 assert_eq!(cell.into_inner(), None); in into_inner()
89 let cell = OnceCell::new(); in into_inner()
90 cell.set("hello".to_string()).unwrap(); in into_inner()
91 assert_eq!(cell.into_inner(), Some("hello".to_string())); in into_inner()
96 let cell = OnceCell::new(); in debug_impl()
97 assert_eq!(format!("{:?}", cell), "OnceCel in debug_impl()
[all...]
/third_party/python/Tools/demo/
H A Dspreadsheet.py38 self.cells = {} # {(x, y): cell, ...}
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):
68 assert isinstance(cell, BaseCell)
69 self.cells[x, y] = cell
105 cell
[all...]
/third_party/ffmpeg/libavcodec/
H A Droqvideo.c42 void ff_apply_vector_2x2(RoqContext *ri, int x, int y, roq_cell *cell) in ff_apply_vector_2x2() argument
51 bptr[0 ] = cell->y[0]; in ff_apply_vector_2x2()
52 bptr[1 ] = cell->y[1]; in ff_apply_vector_2x2()
53 bptr[stride ] = cell->y[2]; in ff_apply_vector_2x2()
54 bptr[stride+1] = cell->y[3]; in ff_apply_vector_2x2()
63 bptr[stride+1] = cell->u; in ff_apply_vector_2x2()
69 bptr[stride+1] = cell->v; in ff_apply_vector_2x2()
72 void ff_apply_vector_4x4(RoqContext *ri, int x, int y, roq_cell *cell) in ff_apply_vector_4x4() argument
81 bptr[ 0] = bptr[ 1] = bptr[stride ] = bptr[stride +1] = cell->y[0]; in ff_apply_vector_4x4()
82 bptr[ 2] = bptr[ 3] = bptr[stride +2] = bptr[stride +3] = cell in ff_apply_vector_4x4()
[all...]
H A Dindeo3.c77 int16_t xpos; ///< cell coordinates in 4x4 blocks
79 int16_t width; ///< cell width in 4x4 blocks
80 int16_t height; ///< cell height in 4x4 blocks
226 * Copy pixels of the cell(x + mv_x, y + mv_y) from the previous frame into
227 * the cell(x, y) in the current frame.
231 * @param cell pointer to the cell descriptor
233 static int copy_cell(Indeo3DecodeContext *ctx, Plane *plane, Cell *cell) in copy_cell() argument
239 offset_dst = (cell->ypos << 2) * plane->pitch + (cell in copy_cell()
427 decode_cell_data(Indeo3DecodeContext *ctx, Cell *cell, uint8_t *block, uint8_t *ref_block, ptrdiff_t row_offset, int h_zoom, int v_zoom, int mode, const vqEntry *delta[2], int swap_quads[2], const uint8_t **data_ptr, const uint8_t *last_ptr) decode_cell_data() argument
583 decode_cell(Indeo3DecodeContext *ctx, AVCodecContext *avctx, Plane *plane, Cell *cell, const uint8_t *data_ptr, const uint8_t *last_ptr) decode_cell() argument
[all...]
H A Delbg.c36 * In the ELBG jargon, a cell is the set of points that are closest to a
37 * codebook entry. Not to be confused with a RoQ Video cell. */
41 } cell; typedef
51 cell **cells;
60 cell *cell_buffer;
97 static int eval_error_cell(ELBGContext *elbg, int *centroid, cell *cells) in eval_error_cell()
151 cell *cells) in simple_lbg()
159 cell *tempcell; in simple_lbg()
190 cell *tempcell; in get_new_centroids()
215 * Add the points in the low utility cell t
[all...]
/third_party/rust/crates/lazycell/src/
H A Dlib.rs52 use std::cell::UnsafeCell;
72 /// Put a value into this cell.
74 /// This function will return `Err(value)` is the cell is already full.
85 /// Put a value into this cell.
89 /// cell can exist so we can always fill in the value. This may not always
99 /// Test whether this cell has been previously filled.
104 /// Borrows the contents of this lazy cell for the duration of the cell
107 /// This function will return `Some` if the cell has been previously
113 /// Borrows the contents of this lazy cell mutabl
593 let mut cell = LazyCell::new(); normal_replace() variables
599 let mut cell = LazyCell::new(); normal_replace() variables
605 let mut cell = AtomicLazyCell::new(); atomic_replace() variables
614 let mut cell = LazyCell::new(); clone() variables
633 let mut cell = AtomicLazyCell::new(); clone_atomic() variables
[all...]
/third_party/skia/tests/
H A DPDFTaggedTableTest.cpp75 auto cell = std::make_unique<PDFTag>(); in DEF_TEST() local
77 cell->fNodeId = 10 + cellIndex; in DEF_TEST()
79 cell->fTypeString = "NonStruct"; in DEF_TEST()
81 cell->fTypeString = "TH"; in DEF_TEST()
83 cell->fTypeString = "TD"; in DEF_TEST()
87 cell->fAttributes.appendNodeIdArray( in DEF_TEST()
92 cell->fAttributes.appendInt("Table", "RowSpan", 2); in DEF_TEST()
94 cell->fAttributes.appendInt("Table", "ColSpan", 2); in DEF_TEST()
96 cell->fAttributes.appendName( in DEF_TEST()
99 cells.push_back(std::move(cell)); in DEF_TEST()
[all...]
/third_party/icu/icu4c/source/tools/toolutil/
H A 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()
427 int32_t entry, state, cell, count; ucm_processStates() local
934 int32_t state, cell, entry; ucm_optimizeStates() local
[all...]
/third_party/node/deps/icu-small/source/tools/toolutil/
H A 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()
427 int32_t entry, state, cell, count; ucm_processStates() local
934 int32_t state, cell, entry; ucm_optimizeStates() local
[all...]
/third_party/skia/third_party/externals/icu/source/tools/toolutil/
H A 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()
427 int32_t entry, state, cell, count; ucm_processStates() local
934 int32_t state, cell, entry; ucm_optimizeStates() local
[all...]
/third_party/rust/crates/once_cell/src/
H A Dlib.rs3 //! `once_cell` provides two new cell-like types, [`unsync::OnceCell`] and [`sync::OnceCell`]. A `OnceCell`
23 //! [`RefCell`]: https://doc.rust-lang.org/std/cell/struct.RefCell.html
174 //! cell: OnceCell<Vec<u8>>,
179 //! TestResource { path, cell: OnceCell::new() }
182 //! self.cell.get_or_init(|| {
211 //! pub struct LateInit<T> { cell: OnceCell<T> }
215 //! assert!(self.cell.set(value).is_ok())
220 //! fn default() -> Self { LateInit { cell: OnceCell::default() } }
226 //! self.cell.get().unwrap()
325 //! * [double-checked-cell](http
[all...]
/third_party/node/deps/v8/src/heap/
H A Dmarking.cc82 void Print(size_t pos, uint32_t cell) { in Print() argument
83 if (cell == seq_type) { in Print()
90 if (IsSeq(cell)) { in Print()
93 seq_type = cell; in Print()
98 PrintWord(cell); in Print()
110 static bool IsSeq(uint32_t cell) { return cell == 0 || cell == 0xFFFFFFFF; } in IsSeq() argument
H A Dslot-set.h244 uint32_t cell = bucket->LoadCell(cell_index); in Remove() local
246 if (cell & bit_mask) { in Remove()
431 uint32_t* cell(int cell_index) { return cells() + cell_index; } in cell() function in Bucket
444 base::AsAtomic32::SetBits(cell(cell_index), mask, mask); in SetCellBits()
446 uint32_t* c = cell(cell_index); in SetCellBits()
452 base::AsAtomic32::SetBits(cell(cell_index), 0u, mask); in ClearCellBits()
456 base::AsAtomic32::Release_Store(cell(cell_index), value); in StoreCell()
481 uint32_t cell = bucket->LoadCell(i); in Iterate() local
482 if (cell) { in Iterate()
483 uint32_t old_cell = cell; in Iterate()
[all...]
/third_party/python/Lib/ctypes/test/
H A Dtest_incomplete.py12 lpcell = POINTER("cell")
13 class cell(Structure): class
17 SetPointerType(lpcell, cell)
19 c1 = cell()
21 c2 = cell()
37 del _pointer_type_cache[cell]
/third_party/skia/third_party/externals/freetype/src/smooth/
H A Dftgrays.c48 * coverage of the outline on each pixel cell by straight segments.
78 * each pixel cell by straight segments.
384 /* time the line crosses from cell to cell. These macros speed up */
448 typedef int TArea; /* cell areas, coordinate products */
496 PCell cell; /* current cell */ member
498 PCell cell_null; /* last cell, used as dumpster and limit */
500 PCell* ycells; /* array of cell linked-lists; one per */
523 /* The |x| value of the null cell
552 PCell cell = ras.ycells[y - ras.min_ey]; gray_dump_cells() local
593 PCell cell; gray_set_cell() local
1486 PCell cell = ras.ycells[y - ras.min_ey]; gray_sweep() local
1539 PCell cell = ras.ycells[y - ras.min_ey]; gray_sweep_direct() local
[all...]
/third_party/rust/crates/proc-macro-error/src/
H A Ddummy.rs117 use std::cell::RefCell;
139 let mut cell = old_dummy.borrow_mut(); in append_dummy() variables
140 if let Some(ts) = cell.as_mut() { in append_dummy()
143 *cell = Some(dummy); in append_dummy()
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/
H A Dtemplate-param-usage-10.rs12 pub _phantom_0: ::std::marker::PhantomData<::std::cell::UnsafeCell<T>>,
13 pub _phantom_1: ::std::marker::PhantomData<::std::cell::UnsafeCell<U>>,
22 pub _phantom_0: ::std::marker::PhantomData<::std::cell::UnsafeCell<T>>,
23 pub _phantom_1: ::std::marker::PhantomData<::std::cell::UnsafeCell<U>>,
H A Dissue-1113-template-references.rs13 pub _phantom_0: ::std::marker::PhantomData<::std::cell::UnsafeCell<K>>,
14 pub _phantom_1: ::std::marker::PhantomData<::std::cell::UnsafeCell<V>>,
36 pub _phantom_0: ::std::marker::PhantomData<::std::cell::UnsafeCell<K>>,
37 pub _phantom_1: ::std::marker::PhantomData<::std::cell::UnsafeCell<V>>,
/third_party/rust/crates/syn/src/
H A Dparse.rs193 use std::cell::Cell;
249 // cursor derived from this `cell` is ever assigned to this `cell`.
257 // the cell.
258 cell: Cell<Cursor<'static>>,
387 // See comment on `cell` in the struct definition.
388 cell: Cell::new(unsafe { mem::transmute::<Cursor, Cursor<'static>>(cursor) }),
418 fn cell_clone<T: Default + Clone>(cell: &Cell<T>) -> T { in cell_clone()
419 let prev = cell.take(); in cell_clone()
421 cell in cell_clone()
[all...]
/third_party/rust/crates/once_cell/examples/
H A Dreentrant_init_deadlocks.rs2 let cell = once_cell::sync::OnceCell::<u32>::new(); in main()
3 cell.get_or_init(|| { in main()
4 cell.get_or_init(|| 1); in main()
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fStencilTests.cpp183 void executeOps (sglr::Context& context, const IVec4& cell, const vector<StencilOp>& ops);
208 void StencilCase::executeOps (sglr::Context& context, const IVec4& cell, const vector<StencilOp>& ops) in executeOps() argument
211 float x0 = 2.0f*((float)cell.x() / (float)context.getWidth())-1.0f; in executeOps()
212 float y0 = 2.0f*((float)cell.y() / (float)context.getHeight())-1.0f; in executeOps()
213 float x1 = x0 + 2.0f*((float)cell.z() / (float)context.getWidth()); in executeOps()
214 float y1 = y0 + 2.0f*((float)cell.w() / (float)context.getHeight()); in executeOps()
226 context.scissor(cell.x(), cell.y(), cell.z(), cell in executeOps()
[all...]
/third_party/vk-gl-cts/modules/gles2/functional/
H A Des2fStencilTests.cpp180 void executeOps (sglr::Context& context, const IVec4& cell, const vector<StencilOp>& ops);
205 void StencilCase::executeOps (sglr::Context& context, const IVec4& cell, const vector<StencilOp>& ops) in executeOps() argument
208 float x0 = 2.0f*((float)cell.x() / (float)context.getWidth())-1.0f; in executeOps()
209 float y0 = 2.0f*((float)cell.y() / (float)context.getHeight())-1.0f; in executeOps()
210 float x1 = x0 + 2.0f*((float)cell.z() / (float)context.getWidth()); in executeOps()
211 float y1 = y0 + 2.0f*((float)cell.w() / (float)context.getHeight()); in executeOps()
223 context.scissor(cell.x(), cell.y(), cell.z(), cell in executeOps()
[all...]
/third_party/node/deps/v8/src/execution/
H A Dprotectors-inl.h9 #include "src/objects/property-cell-inl.h"
17 PropertyCell cell = \
19 return cell.value().IsSmi() && \
20 Smi::ToInt(cell.value()) == kProtectorValid; \

Completed in 14 milliseconds

123456789