/external/clang/test/SemaCXX/ |
constexpr-nqueens.cpp | 13 constexpr Board addQueen(int Row, int Col) { 14 return Board(State | ((uint64_t)Row << (Col * 4))); 19 constexpr bool ok(int Row, int Col) { 20 return okRecurse(Row, Col, 0); 22 constexpr bool okRecurse(int Row, int Col, int CheckCol) { 24 getQueenRow(CheckCol) == Row ? false : 25 getQueenRow(CheckCol) == Row + (Col - CheckCol) ? false : 26 getQueenRow(CheckCol) == Row + (CheckCol - Col) ? false : 27 okRecurse(Row, Col, CheckCol + 1); 29 constexpr bool at(int Row, int Col) [all...] |
/external/emma/core/java12/com/vladium/emma/report/html/doc/ |
HTMLTable.java | 56 final Row row = new Row (true); local 57 add (row); 59 return row; 64 final Row row = new Row (false); local 65 add (row); 67 return row; [all...] |
/external/llvm/lib/DebugInfo/ |
DWARFDebugLine.h | 87 struct Row { 88 Row(bool default_is_stmt = false) { reset(default_is_stmt); } 89 /// Called after a row is appended to the matrix. 94 static bool orderByAddress(const Row& LHS, const Row& RHS) { 167 void appendRow(const DWARFDebugLine::Row &state) { Rows.push_back(state); } 177 // Returns the index of the row with file/line info for a given address, 178 // or -1 if there is no such row. 194 typedef std::vector<Row> RowVector; 202 struct State : public Row, public Sequence, public LineTable 221 unsigned row; member in struct:llvm::DWARFDebugLine::State [all...] |
DWARFContext.cpp | 324 // Get the index of row we're looking for in the line table. 328 // Take file number and line/column from the row. 329 const DWARFDebugLine::Row &Row = LineTable->Rows[RowIndex]; 330 if (!getFileNameForCompileUnit(CU, LineTable, Row.File, 333 Line = Row.Line; 334 Column = Row.Column; 408 // Get the index of row we're looking for in the line table. 416 // Take file number and line/column from the row. 417 const DWARFDebugLine::Row &Row = LineTable->Rows[RowIndex] [all...] |
DWARFDebugLine.cpp | 53 void DWARFDebugLine::Row::postAppend() { 59 void DWARFDebugLine::Row::reset(bool default_is_stmt) { 72 void DWARFDebugLine::Row::dump(raw_ostream &OS) const { 90 for (std::vector<Row>::const_iterator pos = Rows.begin(), 103 Sequence::FirstRowIndex = row; 105 ++row; // Increase the row number. 110 Sequence::LastRowIndex = row; 115 Row::postAppend(); 119 row = DoneParsingLineTable 562 DWARFDebugLine::Row row; local 580 DWARFDebugLine::Row row; local [all...] |
/external/smack/src/org/jivesoftware/smackx/ |
ReportedData.java | 41 private List<Row> rows = new ArrayList<Row>(); 91 rows.add(new Row(fieldList)); 104 * Adds a new <code>Row</code>. 105 * @param row the new row to add. 107 public void addRow(Row row){ 108 rows.add(row); 125 public Iterator<Row> getRows() [all...] |
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/ |
MockSuggestionProviderCursor.java | 28 private final ArrayList<Row> mRows; 32 mRows = new ArrayList<Row>(); 35 public Row addRow(Object... values) { 36 Row row = new Row(values); local 37 mRows.add(row); 38 return row; 90 private class Row { 92 public Row(Object... values) [all...] |
/external/skia/src/gpu/ |
GrRectanizer.cpp | 38 struct Row { 47 Row fRows[16]; 61 void initRow(Row* row, int rowHeight) { 62 row->fLoc.set(0, fNextStripY); 63 row->fRowHeight = rowHeight; 77 We use bsearch, but there may be more than one row with the same height, 86 Row* row = &fRows[HeightToRowIndex(height)]; local 87 GrAssert(row->fRowHeight == 0 || row->fRowHeight == height) [all...] |
GrRectanizer_fifo.cpp | 38 struct Row { 47 Row fRows[16]; 61 void initRow(Row* row, int rowHeight) { 62 row->fLoc.set(0, fNextStripY); 63 row->fRowHeight = rowHeight; 77 We use bsearch, but there may be more than one row with the same height, 86 Row* row = &fRows[HeightToRowIndex(height)]; local 87 GrAssert(row->fRowHeight == 0 || row->fRowHeight == height) [all...] |
/external/webrtc/src/system_wrappers/source/ |
data_log.cc | 31 // A Row contains cells, which are indexed by the column names as std::string. 33 class Row { 35 Row(); 36 ~Row(); 57 // A LogTable contains multiple rows, where only the latest row is active for 71 // Buffers the current row while it is waiting to be written to file, 72 // which is done by a call to Flush(). A new row is available when the 95 typedef std::list<Row*> RowList; 101 Row* current_row_; 107 Row::Row( [all...] |
/external/skia/legacy/src/core/ |
SkRegion_rects.cpp | 70 struct Row { 76 SkTDArray<Row> fRows; 95 SkRegion::RunType* row = (SkRegion::RunType*)fAlloc.allocThrow(size); 96 SkRegion::RunType* rowHead = row; 101 // record the L R values for this row 108 *row++ = edge->fX; 122 *row++ = currR; 123 *row++ = edge->fX; 131 *row++ = currR; 134 int rowCount = row - rowHead [all...] |
/external/skia/src/core/ |
SkRegion_rects.cpp | 70 struct Row { 76 SkTDArray<Row> fRows; 95 SkRegion::RunType* row = (SkRegion::RunType*)fAlloc.allocThrow(size); 96 SkRegion::RunType* rowHead = row; 101 // record the L R values for this row 108 *row++ = edge->fX; 122 *row++ = currR; 123 *row++ = edge->fX; 131 *row++ = currR; 134 int rowCount = row - rowHead [all...] |
/packages/apps/Mms/src/com/android/mms/ |
SuggestionsProvider.java | 93 ArrayList<Row> mRows = new ArrayList<Row>(); 115 private class Row { 119 public Row(int row, String snippet) { 121 mRowNumber = row; 143 mRows.add(new Row(i, snippet)); 208 * a "word" by taking the substring of the full row text in the words table 296 Row row = mRows.get(mCurrentRow) local [all...] |
/development/samples/SoftKeyboard/src/com/example/android/softkeyboard/ |
LatinKeyboard.java | 41 protected Key createKeyFromXml(Resources res, Row parent, int x, int y, 96 public LatinKey(Resources res, Keyboard.Row parent, int x, int y, XmlResourceParser parser) {
|
/external/webkit/Source/WebCore/rendering/ |
RenderTableSection.h | 48 void addCell(RenderTableCell*, RenderTableRow* row); 76 typedef Vector<CellStruct> Row; 79 Row* row; member in struct:WebCore::RenderTableSection::RowStruct 85 CellStruct& cellAt(int row, int col) { return (*m_grid[row].row)[col]; } 86 const CellStruct& cellAt(int row, int col) const { return (*m_grid[row].row)[col]; [all...] |
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
Keyboard.java | 52 * <Row android:keyWidth="32px" > 55 * </Row> 65 private static final String TAG_ROW = "Row"; 164 * Container for keys in the keyboard. All keys in a row are at the same Y-coordinate. 165 * Some of the key size defaults can be overridden per row from what the {@link Keyboard} 168 public static class Row { 169 /** Default width of a key in this row. */ 171 /** Default height of a key in this row. */ 173 /** Default horizontal gap between keys in this row. */ 175 /** Vertical gap following this row. * 570 Row row = new Row(this); local 760 int row = 0; local [all...] |
/frameworks/base/core/java/android/inputmethodservice/ |
Keyboard.java | 48 * <Row android:keyWidth="32px" > 51 * </Row> 66 private static final String TAG_ROW = "Row"; 147 private ArrayList<Row> rows = new ArrayList<Row>(); 150 * Container for keys in the keyboard. All keys in a row are at the same Y-coordinate. 151 * Some of the key size defaults can be overridden per row from what the {@link Keyboard} 160 public static class Row { 161 /** Default width of a key in this row. */ 163 /** Default height of a key in this row. * 581 Row row = new Row(this); local 616 Row row = rows.get(rowIndex); local 783 int row = 0; local [all...] |
/external/smack/src/org/jivesoftware/smackx/search/ |
SimpleUserSearch.java | 112 ReportedData.Row row = new ReportedData.Row(fields); local 113 data.addRow(row);
|
/external/tinyxml/ |
xmltest.cpp | 356 XmlTest( "Error row", doc.ErrorRow(), 3 ); 358 //printf( "error=%d id='%s' row %d col%d\n", (int) doc.Error(), doc.ErrorDesc(), doc.ErrorRow()+1, doc.ErrorCol() + 1 ); 397 XmlTest( "Location tracking: Declaration row", declaration->Row(), 1 ); 399 XmlTest( "Location tracking: room row", room->Row(), 1 ); 401 XmlTest( "Location tracking: doors row", doors->Row(), 1 ); 403 XmlTest( "Location tracking: Comment row", comment->Row(), 2 ) [all...] |
/external/icu4c/common/ |
uresdata.c | 649 * row of a temporary array 655 typedef struct Row { 657 } Row; 662 return (int32_t)uprv_strcmp(keyChars+((const Row *)left)->keyIndex, 663 keyChars+((const Row *)right)->keyIndex); 668 Row *rows; 861 uprv_sortArray(pTempTable->rows, count, sizeof(Row), 975 Row rows[STACK_ROW_CAPACITY]; [all...] |
/external/sonivox/jet_tools/JetCreator/ |
JetDialogs.py | 46 for Lbl, Text, Row, Col, Len, Min, Max, Id, Lst, Fct, Enabled, HelpText in ctrls:
50 self.ctrls[Text] = wx.Button(panel, Id, Lbl, wx.Point(Col, Row), size=Len)
58 self.ctrls[Text] = wx.TextCtrl(panel, Id, "", wx.Point(Col, Row + LBL_OFFSET +3), wx.Size(Len,-1))
60 self.ctrls[Text] = JetSpinOneBased(panel, Id, "", wx.Point(Col, Row + LBL_OFFSET), wx.Size(Len,-1), min=Min, max=Max)
62 self.ctrls[Text] = JetSpin(panel, Id, "", wx.Point(Col, Row + LBL_OFFSET), wx.Size(Len,-1), min=Min, max=Max)
64 self.ctrls[Text] = wx.ComboBox(panel, Id, "", wx.Point(Col, Row + LBL_OFFSET), wx.Size(Len,-1), Lst, wx.CB_DROPDOWN | wx.CB_READONLY )
69 self.ctrls[Text] = TimeCtrl(panel, pos=(Col, Row + LBL_OFFSET), ctlName=Text)
71 self.ctrls[Text] = JetFileCombo(panel, pos=(Col, Row + LBL_OFFSET), size=wx.Size(Len,-1), title=Lbl, spec=Lst, id=Id)
73 self.ctrls[Text] = JetFileText(panel, pos=(Col, Row + LBL_OFFSET), size=wx.Size(Len,-1), title=Lbl, spec=Lst, id=Id)
75 self.ctrls[Text] = wx.StaticBox(parent=panel, id=wx.ID_ANY, label=Lbl, pos=(Row, Col), size=Len) [all...] |
/external/libvpx/libvpx/vp8/common/x86/ |
variance_impl_mmx.asm | 96 ; Row 1 121 ; Row 2 144 ; Row 3 167 ; Row 4 190 ; Row 5 214 ; Row 6 237 ; Row 7 260 ; Row 8 344 ; Row 1 358 ; Row [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
PasswordEntryKeyboard.java | 88 protected Key createKeyFromXml(Resources res, Row parent, int x, int y, 223 public LatinKey(Resources res, Keyboard.Row parent, int x, int y,
|
/external/guava/guava/src/com/google/common/collect/ |
ArrayTable.java | 42 * <p>The allowed row and column keys must be supplied when the table is 43 * created. The table always contains a mapping for every row key / column pair. 44 * The value corresponding to a given row and column is null unless another 47 * <p>The table's size is constant: the product of the number of supplied row 52 * <p>The ordering of the row and column keys provided when the table is 61 * <p>Null row keys or column keys are not permitted. 64 * where the array indices correspond to the position of a row or column in the 86 * @param rowKeys row keys that may be stored in the generated table 99 * iterable, to specify the allowed row keys and/or column keys. Note that 107 * <p>If {@code table} includes a mapping with row key {@code r} and [all...] |
/external/clang/tools/scan-build/ |
scan-build | 300 my $Row = { 310 push @$Stats, $Row; 441 foreach my $Row (@$Stats) { 442 $FilesHash->{$Row->{Filename}} = 1; 443 $TotalBlocks += $Row->{Total}; 444 $UnreachedBlocks += $Row->{Unreachable}; 445 $BlockAborted++ if $Row->{Aborted} eq 'yes'; 446 $WorkListAborted++ if $Row->{Empty} eq 'no'; 447 $Aborted++ if $Row->{Aborted} eq 'yes' || $Row->{Empty} eq 'no' [all...] |