Home
last modified time | relevance | path

Searched refs:cells (Results 1 - 25 of 29) sorted by relevance

12

/third_party/typescript/tests/baselines/reference/
H A DpropertyAccessWidening.js5 let t = [{ hasLineBreak: false, cells: [] }];
6 const table = [{cells: headerNames }].concat(t);
10 let t = [{ hasLineBreak: false, cells: [] }];
11 const table = [{cells: headerNames }]["concat"](t);
28 var t = [{ hasLineBreak: false, cells: [] }];
29 var table = [{ cells: headerNames }].concat(t);
32 var t = [{ hasLineBreak: false, cells: [] }];
33 var table = [{ cells: headerNames }]["concat"](t);
/third_party/pulseaudio/src/pulsecore/
H A Dshmasyncq.c119 pa_atomic_ptr_t *cells; in pa_shmasyncq_push() local
124 cells = PA_SHMASYNCQ_CELLS(l); in pa_shmasyncq_push()
129 if (!pa_atomic_ptr_cmpxchg(&cells[idx], NULL, p)) { in pa_shmasyncq_push()
138 } while (!pa_atomic_ptr_cmpxchg(&cells[idx], NULL, p)); in pa_shmasyncq_push()
152 pa_atomic_ptr_t *cells; in pa_shmasyncq_pop() local
156 cells = PA_SHMASYNCQ_CELLS(l); in pa_shmasyncq_pop()
161 if (!(ret = pa_atomic_ptr_load(&cells[idx]))) { in pa_shmasyncq_pop()
170 } while (!(ret = pa_atomic_ptr_load(&cells[idx]))); in pa_shmasyncq_pop()
176 pa_assert_se(pa_atomic_ptr_cmpxchg(&cells[idx], ret, NULL)); in pa_shmasyncq_pop()
194 pa_atomic_ptr_t *cells; in pa_shmasyncq_before_poll() local
[all...]
H A Dasyncq.c140 pa_atomic_ptr_t *cells; in push() local
145 cells = PA_ASYNCQ_CELLS(l); in push()
150 if (!pa_atomic_ptr_cmpxchg(&cells[idx], NULL, p)) { in push()
159 } while (!pa_atomic_ptr_cmpxchg(&cells[idx], NULL, p)); in push()
231 pa_atomic_ptr_t *cells; in pa_asyncq_pop() local
235 cells = PA_ASYNCQ_CELLS(l); in pa_asyncq_pop()
240 if (!(ret = pa_atomic_ptr_load(&cells[idx]))) { in pa_asyncq_pop()
249 } while (!(ret = pa_atomic_ptr_load(&cells[idx]))); in pa_asyncq_pop()
255 pa_assert_se(pa_atomic_ptr_cmpxchg(&cells[idx], ret, NULL)); in pa_asyncq_pop()
273 pa_atomic_ptr_t *cells; in pa_asyncq_read_before_poll() local
[all...]
/third_party/ffmpeg/libavcodec/
H A Delbg.c51 cell **cells; member
97 static int eval_error_cell(ELBGContext *elbg, int *centroid, cell *cells) in eval_error_cell() argument
100 for (; cells; cells=cells->next) in eval_error_cell()
101 error += distance_limited(centroid, elbg->points + cells->index*elbg->dim, elbg->dim, INT_MAX); in eval_error_cell()
138 av_assert2(elbg->cells[i]); in get_high_utility_cell()
151 cell *cells) in simple_lbg()
166 for (tempcell = cells; tempcell; tempcell=tempcell->next) { in simple_lbg()
177 for (tempcell = cells; tempcel in simple_lbg()
146 simple_lbg(ELBGContext *elbg, int dim, int *centroid[3], int newutility[3], int *points, cell *cells) simple_lbg() argument
[all...]
/third_party/node/deps/v8/src/heap/
H A Dmarking.cc27 if ((cells()[start_cell_index] & matching_mask) != matching_mask) { in AllBitsSetInRange()
31 if (cells()[i] != ~0u) return false; in AllBitsSetInRange()
34 return ((cells()[end_cell_index] & matching_mask) == matching_mask); in AllBitsSetInRange()
37 return (cells()[end_cell_index] & matching_mask) == matching_mask; in AllBitsSetInRange()
56 if ((cells()[start_cell_index] & matching_mask)) return false; in AllBitsClearInRange()
58 if (cells()[i]) return false; in AllBitsClearInRange()
61 return !(cells()[end_cell_index] & matching_mask); in AllBitsClearInRange()
64 return !(cells()[end_cell_index] & matching_mask); in AllBitsClearInRange()
124 printer.Print(i, cells()[i]); in Print()
133 if (cells()[ in IsClean()
[all...]
H A Dmarking.h93 // Bitmap is a sequence of cells each containing fixed number of bits.
128 V8_INLINE MarkBit::CellType* cells() { in cells() function in v8::internal::Bitmap
138 MarkBit::CellType* cell = this->cells() + (index >> kBitsPerCellLog2); in MarkBitFromIndex()
159 // atomic, the cells at the boundary of the range are updated with atomic
160 // compare and swap operation. The inner cells are updated with relaxed write.
164 // atomic, the cells at the boundary of the range are updated with atomic
165 // compare and swap operation. The inner cells are updated with relaxed write.
195 base::Atomic32* cell_base = reinterpret_cast<base::Atomic32*>(cells()); in ClearCellRangeRelaxed()
205 cells()[i] = 0; in ClearCellRangeRelaxed()
212 base::Atomic32* cell_base = reinterpret_cast<base::Atomic32*>(cells()); in SetCellRangeRelaxed()
[all...]
H A Dslot-set.h219 DCHECK_EQ(bucket->cells(), LoadBucket<access_mode>(bucket_index)->cells()); in Insert()
314 // All cells between start_cell and end_cell are cleared. in RemoveRange()
430 uint32_t* cells() { return cells_; } in cells() function in Bucket
431 uint32_t* cell(int cell_index) { return cells() + cell_index; } in cell()
437 return base::AsAtomic32::Acquire_Load(cells() + cell_index); in LoadCell()
438 return *(cells() + cell_index); in LoadCell()
/third_party/node/deps/npm/node_modules/cli-table3/src/
H A Dtable.js50 let cells = tableLayout.makeTableLayout(array);
52 cells.forEach(function (row) {
54 cell.mergeTableOptions(this.options, cells);
58 tableLayout.computeWidths(this.options.colWidths, cells);
59 tableLayout.computeHeights(this.options.rowHeights, cells);
61 cells.forEach(function (row) {
69 for (let rowIndex = 0; rowIndex < cells.length; rowIndex++) {
70 let row = cells[rowIndex];
81 if (rowIndex + 1 == cells.length) {
H A Dcell.js49 mergeTableOptions(tableOptions, cells) {
50 this.cells = cells;
168 if (this.cells) {
169 //TODO: cells should always exist - some tests don't fill it in though
194 if (this.cells) {
195 //TODO: cells should always exist - some tests don't fill it in though
196 let spanAbove = this.cells[this.y - 1][x] instanceof Cell.ColSpanCell;
202 while (this.cells[this.y][x - i] instanceof Cell.ColSpanCell) {
205 if (this.cells[thi
[all...]
/third_party/node/deps/npm/node_modules/cli-columns/
H A Dindex.js59 let cells = values.filter(Boolean).map(String);
62 cells = cells.sort(byPlainText);
67 Math.max.apply(null, cells.map(stringWidth)) + options.padding;
69 const rowCount = Math.ceil(cells.length / columnCount) || 1;
72 return cells.join(options.newline);
75 return cells
/third_party/ltp/testcases/open_posix_testsuite/stress/threads/pthread_cond_timedwait/
H A Dstress2.c189 } cells[NSCENAR * SCALABILITY_FACTOR]; variable
534 cells[i + j * NSCENAR].cid = cid; in main()
538 pthread_cond_init(&(cells[i + j * NSCENAR].cnd), in main()
546 pthread_mutex_init(&(cells[i + j * NSCENAR].mtx), in main()
554 pthread_barrier_init(&(cells[i + j * NSCENAR].bar), in main()
601 ret = pthread_create(&mngrs[i], &ta, cellmanager, &(cells[i])); in main()
618 /* join the manager threads and destroy the cells */ in main()
625 canceled += cells[i].canceled; in main()
626 cancelfailed += cells[i].cancelfailed; in main()
627 cnttotal += cells[ in main()
[all...]
/third_party/ltp/testcases/open_posix_testsuite/stress/threads/pthread_cond_wait/
H A Dstress2.c198 } cells[NSCENAR * SCALABILITY_FACTOR]; variable
543 cells[i + j * NSCENAR].cid = cid; in main()
547 pthread_cond_init(&(cells[i + j * NSCENAR].cnd), in main()
555 pthread_mutex_init(&(cells[i + j * NSCENAR].mtx), in main()
563 pthread_barrier_init(&(cells[i + j * NSCENAR].bar), in main()
610 ret = pthread_create(&mngrs[i], &ta, cellmanager, &(cells[i])); in main()
627 /* join the manager threads and destroy the cells */ in main()
634 canceled += cells[i].canceled; in main()
635 cancelfailed += cells[i].cancelfailed; in main()
636 cnttotal += cells[ in main()
[all...]
H A Dstress.c198 } cells[NSCENAR * SCALABILITY_FACTOR]; variable
543 cells[i + j * NSCENAR].cid = cid; in main()
547 pthread_cond_init(&(cells[i + j * NSCENAR].cnd), in main()
555 pthread_mutex_init(&(cells[i + j * NSCENAR].mtx), in main()
563 pthread_barrier_init(&(cells[i + j * NSCENAR].bar), in main()
610 ret = pthread_create(&mngrs[i], &ta, cellmanager, &(cells[i])); in main()
627 /* join the manager threads and destroy the cells */ in main()
634 canceled += cells[i].canceled; in main()
635 cancelfailed += cells[i].cancelfailed; in main()
636 cnttotal += cells[ in main()
[all...]
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/table/
H A DCsvTableCollector.java35 private final List<List<String>> cells = new ArrayList<>(); field in CsvTableCollector
51 for (int rowIndex = 0; rowIndex < cells.size(); rowIndex++) { in writeCsv()
72 cells.add(rowValues); in accept()
76 List<String> row = cells.get(index); in getRow()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/
H A DvktDrawShaderViewportIndexTests.cpp123 const std::vector<UVec4> cells) in makeGraphicsPipeline()
170 DE_ASSERT(numViewports == static_cast<int>(cells.size())); in makeGraphicsPipeline()
178 for (std::vector<UVec4>::const_iterator it = cells.begin(); it != cells.end(); ++it) { in makeGraphicsPipeline()
375 std::vector<UVec4> cells; in generateGrid() local
376 cells.reserve(numCells); in generateGrid()
390 cells.push_back(UVec4(x, y, rectWidth, rectHeight)); in generateGrid()
395 return cells; in generateGrid()
429 const std::vector<UVec4>& cells, in generateReferenceImage()
432 DE_ASSERT(cells in generateReferenceImage()
113 makeGraphicsPipeline(const DeviceInterface& vk, const VkDevice device, const VkPipelineLayout pipelineLayout, const VkRenderPass renderPass, const VkShaderModule vertexModule, const VkShaderModule tessellationControlModule, const VkShaderModule tessellationEvaluationModule, const VkShaderModule fragmentModule, const UVec2 renderSize, const int numViewports, const std::vector<UVec4> cells) makeGraphicsPipeline() argument
426 generateReferenceImage(const tcu::TextureFormat format, const UVec2& renderSize, const Vec4& clearColor, const std::vector<UVec4>& cells, const std::vector<Vec4>& cellColors) generateReferenceImage() argument
664 Renderer(Context& context, const UVec2& renderSize, const TestParams& testParams, const std::vector<UVec4>& cells, const VkFormat colorFormat, const Vec4& clearColor, const std::vector<Vec4>& colors, const Shader shader) Renderer() argument
952 const std::vector<UVec4> cells = generateGrid(testParams.numViewports, renderSize); testVertexFragmentShader() local
1013 const std::vector<UVec4> cells = generateGrid(testParams.numViewports, renderSize); testTessellationShader() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/
H A DvktDrawShaderViewportIndexTests.cpp123 const std::vector<UVec4> cells) in makeGraphicsPipeline()
170 DE_ASSERT(numViewports == static_cast<int>(cells.size())); in makeGraphicsPipeline()
178 for (std::vector<UVec4>::const_iterator it = cells.begin(); it != cells.end(); ++it) { in makeGraphicsPipeline()
375 std::vector<UVec4> cells; in generateGrid() local
376 cells.reserve(numCells); in generateGrid()
390 cells.push_back(UVec4(x, y, rectWidth, rectHeight)); in generateGrid()
395 return cells; in generateGrid()
429 const std::vector<UVec4>& cells, in generateReferenceImage()
432 DE_ASSERT(cells in generateReferenceImage()
113 makeGraphicsPipeline(const DeviceInterface& vk, const VkDevice device, const VkPipelineLayout pipelineLayout, const VkRenderPass renderPass, const VkShaderModule vertexModule, const VkShaderModule tessellationControlModule, const VkShaderModule tessellationEvaluationModule, const VkShaderModule fragmentModule, const UVec2 renderSize, const int numViewports, const std::vector<UVec4> cells) makeGraphicsPipeline() argument
426 generateReferenceImage(const tcu::TextureFormat format, const UVec2& renderSize, const Vec4& clearColor, const std::vector<UVec4>& cells, const std::vector<Vec4>& cellColors) generateReferenceImage() argument
660 Renderer(Context& context, const UVec2& renderSize, const TestParams& testParams, const std::vector<UVec4>& cells, const VkFormat colorFormat, const Vec4& clearColor, const std::vector<Vec4>& colors, const Shader shader) Renderer() argument
948 const std::vector<UVec4> cells = generateGrid(testParams.numViewports, renderSize); testVertexFragmentShader() local
1009 const std::vector<UVec4> cells = generateGrid(testParams.numViewports, renderSize); testTessellationShader() local
[all...]
H A DvktDrawShaderLayerTests.cpp507 std::vector<UVec4> cells; in generateGrid() local
508 cells.reserve(numCells); in generateGrid()
522 cells.push_back(UVec4(x, y, rectWidth, rectHeight)); in generateGrid()
527 return cells; in generateGrid()
/third_party/libwebsockets/minimal-examples/http-server/minimal-http-server-deaddrop/mount-origin/
H A Ddeaddrop.js80 if (t.rows[n].cells[0].classList.contains("err"))
121 t.rows[n].cells[2].textContent)) {
125 t.rows[n].cells[0].textContent =
127 t.rows[n].cells[0].
138 t.rows[n].cells[2].textContent)) {
139 t.rows[n].cells[0] = "FAIL";
/third_party/libwebsockets/plugins/deaddrop/assets/
H A Ddeaddrop.js80 if (t.rows[n].cells[0].classList.contains("err"))
121 t.rows[n].cells[2].textContent)) {
125 t.rows[n].cells[0].textContent =
127 t.rows[n].cells[0].
138 t.rows[n].cells[2].textContent)) {
139 t.rows[n].cells[0] = "FAIL";
/third_party/python/Tools/demo/
H A Dspreadsheet.py38 self.cells = {} # {(x, y): cell, ...}
41 cells = self.multicellvalue,
64 return self.cells.get((x, y))
69 self.cells[x, y] = cell
73 del self.cells[x, y]
79 del self.cells[xy]
92 return [(x, y) for x, y in self.cells
104 for x, y in self.cells:
105 cell = self.cells[x, y]
112 self.cells
[all...]
/third_party/rust/crates/once_cell/examples/
H A Dtest_synchronization.rs6 //! Every thread adds the results of the cells it sees to an accumulator, which is compared at the
31 let cells = CELLS.get().unwrap(); in thread_main()
33 for cell in cells.iter() { in thread_main()
/third_party/skia/tests/
H A DPDFTaggedTableTest.cpp73 auto& cells = row->fChildVector; in DEF_TEST() local
99 cells.push_back(std::move(cell)); in DEF_TEST()
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fStencilTests.cpp315 // Compute cells: (x, y, w, h) in iterate()
316 vector<IVec4> cells; in iterate() local
321 cells.push_back(IVec4(x*cellWidth, y*cellHeight, cellWidth, cellHeight)); in iterate()
323 DE_ASSERT(ops.size() <= cells.size()); in iterate()
335 executeOps(context, cells[ndx], ops[ndx]); in iterate()
354 executeOps(context, cells[ndx], ops[ndx]); in iterate()
/third_party/vk-gl-cts/modules/gles2/functional/
H A Des2fStencilTests.cpp312 // Compute cells: (x, y, w, h) in iterate()
313 vector<IVec4> cells; in iterate() local
318 cells.push_back(IVec4(x*cellWidth, y*cellHeight, cellWidth, cellHeight)); in iterate()
320 DE_ASSERT(ops.size() <= cells.size()); in iterate()
332 executeOps(context, cells[ndx], ops[ndx]); in iterate()
351 executeOps(context, cells[ndx], ops[ndx]); in iterate()
/third_party/rust/crates/once_cell/tests/
H A Dit.rs380 let cells: Vec<_> = std::iter::repeat_with(|| (Barrier::new(n_threads), OnceCell::new())) in get_or_init_stress()
385 let cells = &cells; in get_or_init_stress()
387 for (i, (b, s)) in cells.iter().enumerate() { in get_or_init_stress()

Completed in 16 milliseconds

12