/external/autotest/frontend/client/src/autotest/common/spreadsheet/ |
H A D | SpreadsheetSelectionManager.java | 20 public void onCellsSelected(List<CellInfo> cells); argument 21 public void onCellsDeselected(List<CellInfo> cells); argument 59 List<CellInfo> cells = getSelectedCells(); 60 for (CellInfo cell : cells) { 63 notifyDeselected(cells); 80 private void notifyDeselected(List<CellInfo> cells) { argument 82 listener.onCellsDeselected(cells);
|
H A D | Spreadsheet.java | 272 private CellInfo getCellInfo(CellInfo[][] cells, int row, int column) { argument 273 if (cells[row][column] == null) { 274 cells[row][column] = new CellInfo(null, null, " "); 276 return cells[row][column]; 308 private void fillHeaderCells(CellInfo[][] cells, Header fields, List<Header> headerValues, argument 327 cells[headerIndex][fieldIndex] = cellInfo; 330 cells[fieldIndex][counter[fieldIndex]] = cellInfo; 529 CellInfo[][] cells; 531 cells = rowHeaderCells; 535 cells [all...] |
/external/v8/src/heap/ |
H A D | marking.h | 49 // Bitmap is a sequence of cells each containing fixed number of bits. 89 INLINE(MarkBit::CellType* cells()) { function in class:v8::internal::Bitmap 101 MarkBit::CellType* cell = this->cells() + (index >> kBitsPerCellLog2); 106 for (int i = 0; i < CellsCount(); i++) cells()[i] = 0; 120 cells()[start_cell_index] |= ~(start_index_mask - 1); 121 // Then fill all in between cells with 1s. 123 cells()[i] = ~0u; 126 cells()[end_cell_index] |= (end_index_mask - 1); 128 cells()[start_cell_index] |= end_index_mask - start_index_mask; 143 cells()[start_cell_inde [all...] |
H A D | slot-set.h | 139 // All cells between start_cell and end_cell are cleared. 268 base::AtomicValue<uint32_t>* cells = bucket[bucket_index].Value(); local 269 if (cells != nullptr) { 270 uint32_t cell = cells[cell_index].Value(); 271 if (cell) cells[cell_index].SetBits(0, mask);
|
/external/guava/guava/src/com/google/common/cache/ |
H A D | Striped64.java | 81 * expanded mask. We do not try to detect or remove such cells, 83 * contention levels will recur, so the cells will eventually be 128 * Table of cells. When non-null, size is a power of 2. 130 transient volatile Cell[] cells; field in class:Striped64 197 if ((as = cells) != null && (n = as.length) > 0) { 205 if ((rs = cells) != null && 225 else if (n >= NCPU || cells != as) 231 if (cells == as) { // Expand table unless stale 234 cells = rs; 247 else if (busy == 0 && cells [all...] |
H A D | LongAdder.java | 71 if ((as = cells) != null || !casBase(b = base, b + x)) { 106 Cell[] as = cells; 141 Cell[] as = cells; 206 cells = null;
|
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_cond_timedwait/ |
H A D | stress2.c | 205 } cells[NSCENAR * SCALABILITY_FACTOR]; variable in typeref:struct:celldata 550 cells[i + j * NSCENAR].cid = cid; 554 pthread_cond_init(&(cells[i + j * NSCENAR].cnd), 562 pthread_mutex_init(&(cells[i + j * NSCENAR].mtx), 570 pthread_barrier_init(&(cells[i + j * NSCENAR].bar), 617 ret = pthread_create(&mngrs[i], &ta, cellmanager, &(cells[i])); 634 /* join the manager threads and destroy the cells */ 641 canceled += cells[i].canceled; 642 cancelfailed += cells[i].cancelfailed; 643 cnttotal += cells[ [all...] |
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_cond_wait/ |
H A D | stress.c | 205 } cells[NSCENAR * SCALABILITY_FACTOR]; variable in typeref:struct:celldata 550 cells[i + j * NSCENAR].cid = cid; 554 pthread_cond_init(&(cells[i + j * NSCENAR].cnd), 562 pthread_mutex_init(&(cells[i + j * NSCENAR].mtx), 570 pthread_barrier_init(&(cells[i + j * NSCENAR].bar), 617 ret = pthread_create(&mngrs[i], &ta, cellmanager, &(cells[i])); 634 /* join the manager threads and destroy the cells */ 641 canceled += cells[i].canceled; 642 cancelfailed += cells[i].cancelfailed; 643 cnttotal += cells[ [all...] |
H A D | stress2.c | 205 } cells[NSCENAR * SCALABILITY_FACTOR]; variable in typeref:struct:celldata 550 cells[i + j * NSCENAR].cid = cid; 554 pthread_cond_init(&(cells[i + j * NSCENAR].cnd), 562 pthread_mutex_init(&(cells[i + j * NSCENAR].mtx), 570 pthread_barrier_init(&(cells[i + j * NSCENAR].bar), 617 ret = pthread_create(&mngrs[i], &ta, cellmanager, &(cells[i])); 634 /* join the manager threads and destroy the cells */ 641 canceled += cells[i].canceled; 642 cancelfailed += cells[i].cancelfailed; 643 cnttotal += cells[ [all...] |
/external/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_addrhashmap.h | 54 Cell cells[1]; // variable len member in struct:__sanitizer::AddrHashMap::AddBucket 62 Cell cells[kBucketSize]; member in struct:__sanitizer::AddrHashMap::Bucket 173 // Check the embed cells. 175 Cell *c = &b->cells[i]; 183 // Check the add cells with read lock. 188 Cell *c = &add->cells[i]; 201 // Embed cells. 204 Cell *c = &b->cells[i]; 216 // Add cells. 220 Cell *c = &add->cells[ [all...] |
/external/guava/guava/src/com/google/common/collect/ |
H A D | RegularImmutableTable.java | 29 * cells. 111 List<Cell<R, C, V>> cells, 114 checkNotNull(cells); 134 Collections.sort(cells, comparator); 136 return forCellsInternal(cells, rowComparator, columnComparator); 140 Iterable<Cell<R, C, V>> cells) { 141 return forCellsInternal(cells, null, null); 149 forCellsInternal(Iterable<Cell<R, C, V>> cells, argument 154 ImmutableList<Cell<R, C, V>> cellList = ImmutableList.copyOf(cells); 173 // use a dense table if more than half of the cells hav 110 forCells( List<Cell<R, C, V>> cells, @Nullable final Comparator<? super R> rowComparator, @Nullable final Comparator<? super C> columnComparator) argument 139 forCells( Iterable<Cell<R, C, V>> cells) argument [all...] |
H A D | ImmutableTable.java | 142 * <p>By default, the order in which cells are added to the builder determines 158 private final List<Cell<R, C, V>> cells = Lists.newArrayList(); field in class:ImmutableTable.Builder 191 cells.add(cellOf(rowKey, columnKey, value)); 208 cells.add(immutableCell); 236 int size = cells.size(); 242 Iterables.getOnlyElement(cells)); 245 cells, rowComparator, columnComparator);
|
/external/iproute2/tc/ |
H A D | tc_core.c | 70 * The align to ATM cells is used for determining the (ATM) SAR 81 int linksize, cells; local 82 cells = size / ATM_CELL_PAYLOAD; 84 cells++; 86 linksize = cells * ATM_CELL_SIZE; /* Use full cell size to add ATM tax */
|
/external/mockito/src/test/java/org/mockitousage/bugs/varargs/ |
H A D | VarargsAndAnyObjectPicksUpExtraInvocationsTest.java | 18 void newRow(String trAttributes, String... cells); argument
|
/external/markdown/markdown/extensions/ |
H A D | tables.py | 59 """ Given a row of text, build table cells. """ 64 cells = self._split_row(row, border) 65 # We use align here rather than cells to ensure every row 70 c.text = cells[i].strip() 77 """ split a row of text into list of cells. """
|
/external/valgrind/memcheck/tests/ |
H A D | leak-pool.c | 101 struct cell **cells = static_roots ? cells_static : cells_local; local 114 cells[i] = allocate_from_pool(p, sizeof(struct cell));
|
/external/chromium-trace/catapult/telemetry/third_party/WebKit/PerformanceTests/resources/ |
H A D | jquery.tablesorter.min.js | 3 function(){var parsers=[],widgets=[];this.defaults={cssHeader:"header",cssAsc:"headerSortUp",cssDesc:"headerSortDown",cssChildRow:"expand-child",sortInitialOrder:"asc",sortMultiSortKey:"shiftKey",sortForce:null,sortAppend:null,sortLocaleCompare:true,textExtraction:"simple",parsers:{},widgets:[],widgetZebra:{css:["even","odd"]},headers:{},widthFixed:false,cancelSelection:true,sortList:[],headerList:[],dateFormat:"us",decimal:'/\.|\,/g',onRenderHeader:null,selectorHeaders:'thead th',debug:false};function benchmark(s,d){log(s+","+(new Date().getTime()-d.getTime())+"ms");}this.benchmark=benchmark;function log(s){if(typeof console!="undefined"&&typeof console.debug!="undefined"){console.log(s);}else{alert(s);}}function buildParserCache(table,$headers){if(table.config.debug){var parsersDebug="";}if(table.tBodies.length==0)return;var rows=table.tBodies[0].rows;if(rows[0]){var list=[],cells=rows[0].cells,l=cells.length;for(var i=0;i<l;i++){var p=false;if($.metadata&&($($headers[i]).metadata()&&$($headers[i]).metadata().sorter)){p=getParserById($($headers[i]).metadata().sorter);}else if((table.config.headers[i]&&table.config.headers[i].sorter)){p=getParserById(table.config.headers[i].sorter);}if(!p){p=detectParserForColumn(table,rows,-1,i);}if(table.config.debug){parsersDebug+="column:"+i+" parser:"+p.id+"\n";}list.push(p);}}if(table.config.debug){log(parsersDebug);}return list;};function detectParserForColumn(table,rows,rowIndex,cellIndex){var l=parsers.length,node=false,nodeValue=false,keepLooking=true;while(nodeValue==''&&keepLooking){rowIndex++;if(rows[rowIndex]){node=getNodeFromRowAndCellIndex(rows,rowIndex,cellIndex);nodeValue=trimAndGetNodeText(table.config,node);if(table.config.debug){log('Checking if value was empty on row:'+rowIndex);}}else{keepLooking=false;}}for(var i=1;i<l;i++){if(parsers[i].is(nodeValue,table,node)){return parsers[i];}}return parsers[0];}function getNodeFromRowAndCellIndex(rows,rowIndex,cellIndex){return rows[rowIndex].cells[cellIndex];}function trimAndGetNodeText(config,node){return $.trim(getElementText(config,node));}function getParserById(name){var l=parsers.length;for(var i=0;i<l;i++){if(parsers[i].id.toLowerCase()==name.toLowerCase()){return parsers[i];}}return false;}function buildCache(table){if(table.config.debug){var cacheTime=new Date();}var totalRows=(table.tBodies[0]&&table.tBodies[0].rows.length)||0,totalCells=(table.tBodies[0].rows[0]&&table.tBodies[0].rows[0].cells.length)||0,parsers=table.config.parsers,cache={row:[],normalized:[]};for(var i=0;i<totalRows;++i){var c=$(table.tBodies[0].rows[i]),cols=[];if(c.hasClass(table.config.cssChildRow)){cache.row[cache.row.length-1]=cache.row[cache.row.length-1].add(c);continue;}cache.row.push(c);for(var j=0;j<totalCells;++j){cols.push(parsers[j].format(getElementText(table.config,c[0].cells[j]),table,c[0].cells[j]));}cols.push(cache.normalized.length);cache.normalized.push(cols);cols=null;};if(table.config.debug){benchmark("Building cache for "+totalRows+" rows:",cacheTime);}return cache;};function getElementText(config,node){var text="";if(!node)return"";if(!config.supportsTextContent)config.supportsTextContent=node.textContent||false;if(config.textExtraction=="simple"){if(config.supportsTextContent){text=node.textContent;}else{if(node.childNodes[0]&&node.childNodes[0].hasChildNodes()){text=node.childNodes[0].innerHTML;}else{text=node.innerHTML;}}}else{if(typeof(config.textExtraction)=="function"){text=config.textExtraction(node);}else{text=$(node).text();}}return text;}function appendToTable(table,cache){if(table.config.debug){var appendTime=new Date()}var c=cache,r=c.row,n=c.normalized,totalRows=n.length,checkCell=(n[0].length-1),tableBody=$(table.tBodies[0]),rows=[];for(var i=0;i<totalRows;i++){var pos=n[i][checkCell];rows.push(r[pos]);if(!table.config.appender){var l=r[pos].length;for(var j=0;j<l;j++){tableBody[0].appendChild(r[pos][j]);}}}if(table.config.appender){table.config.appender(table,rows);}rows=null;if(table.config.debug){benchmark("Rebuilt table:",appendTime);}applyWidget(table);setTimeout(function(){$(table).trigger("sortEnd");},0);};function buildHeaders(table){if(table.config.debug){var time=new Date();}var meta=($.metadata)?true:false;var header_index=computeTableHeaderCellIndexes(table);$tableHeaders=$(table.config.selectorHeaders,table).each(function(index){this.column=header_index[this.parentNode.rowIndex+"-"+this.cellIndex];this.order=formatSortingOrder(table.config.sortInitialOrder);this.count=this.order;if(checkHeaderMetadata(this)||checkHeaderOptions(table,index))this.sortDisabled=true;if(checkHeaderOptionsSortingLocked(table,index))this.order=this.lockedOrder=checkHeaderOptionsSortingLocked(table,index);if(!this.sortDisabled){var $th=$(this).addClass(table.config.cssHeader);if(table.config.onRenderHeader)table.config.onRenderHeader.apply($th);}table.config.headerList[index]=this;});if(table.config.debug){benchmark("Built headers:",time);log($tableHeaders);}return $tableHeaders;};function computeTableHeaderCellIndexes(t){var matrix=[];var lookup={};var thead=t.getElementsByTagName('THEAD')[0];var trs=thead.getElementsByTagName('TR');for(var i=0;i<trs.length;i++){var cells=trs[i].cells;for(var j=0;j<cells [all...] |
/external/libvorbis/vq/ |
H A D | vqgen.c | 40 divide the training set up into cells representing roughly equal 98 FILE *cells; local 100 cells=fopen(buff,"w"); 144 fprintf(cells,"%g\n",spacings[i]); 145 fclose(cells); 350 FILE *cells; local 351 sprintf(buff,"cells%d.m",v->it); 352 cells=fopen(buff,"w"); 432 cells in a codebook to be roughly some minimum size (as with 494 fprintf(cells," [all...] |
/external/pdfium/third_party/agg23/ |
H A D | agg_rasterizer_scanline_aa.h | 335 const cell_aa* const* cells = m_outline.scanline_cells(m_cur_y); local 338 const cell_aa* cur_cell = *cells; 344 cur_cell = *++cells;
|
/external/doclava/res/assets/templates/assets/ |
H A D | search_autocomplete.js | 11 var c1 = row.cells[0]; 12 // var c2 = row.cells[1]; 24 var link = row.cells[0].childNodes[0]; 27 // row.cells[1].innerHTML = match.type; 93 c1 = r.cells[0];
|
/external/deqp/modules/gles2/functional/ |
H A D | es2fStencilTests.cpp | 312 // Compute cells: (x, y, w, h) 313 vector<IVec4> cells; local 318 cells.push_back(IVec4(x*cellWidth, y*cellHeight, cellWidth, cellHeight)); 320 DE_ASSERT(ops.size() <= cells.size()); 332 executeOps(context, cells[ndx], ops[ndx]); 351 executeOps(context, cells[ndx], ops[ndx]);
|
/external/deqp/modules/gles3/functional/ |
H A D | es3fStencilTests.cpp | 315 // Compute cells: (x, y, w, h) 316 vector<IVec4> cells; local 321 cells.push_back(IVec4(x*cellWidth, y*cellHeight, cellWidth, cellHeight)); 323 DE_ASSERT(ops.size() <= cells.size()); 335 executeOps(context, cells[ndx], ops[ndx]); 354 executeOps(context, cells[ndx], ops[ndx]);
|
/external/opencv/cvaux/src/ |
H A D | cvdpstereo.cpp | 107 #define CELL(d,x) cells[(d)+(x)*dispH] 111 _CvDPCell* cells = (_CvDPCell*)cvAlloc(sizeof(_CvDPCell)*imgW*MAX(dispH,(imgH+1)/2)); local 113 int* reliabilities = (int*)cells; 198 _CvDPCell* _cell = cells + x*dispH; 473 cvFree( &cells );
|
/external/clang/tools/scan-build/share/scan-build/ |
H A D | sorttable.js | 78 headrow = table.tHead.rows[0].cells; 148 row_array[row_array.length] = [sorttable.getInnerText(rows[j].cells[col]), rows[j]]; 170 text = sorttable.getInnerText(table.tBodies[0].rows[i].cells[column]);
|
/external/clang/tools/scan-build-py/libscanbuild/resources/ |
H A D | sorttable.js | 78 headrow = table.tHead.rows[0].cells; 148 row_array[row_array.length] = [sorttable.getInnerText(rows[j].cells[col]), rows[j]]; 170 text = sorttable.getInnerText(table.tBodies[0].rows[i].cells[column]);
|