/external/chromium/net/ftp/ |
ftp_directory_listing_parser_netware.cc | 49 std::vector<string16> columns; local 50 base::SplitString(CollapseWhitespace(lines[i], false), ' ', &columns); local 52 if (columns.size() != 8) 57 if (columns[0].length() != 1) 59 if (columns[0][0] == 'd') { 61 } else if (columns[0][0] == '-') { 70 if (!LooksLikeNetwarePermissionsListing(columns[1])) 73 if (!base::StringToInt64(columns[3], &entry.size)) 81 if (!FtpUtil::LsDateListingToTime(columns[4], columns[5], columns[6] [all...] |
ftp_directory_listing_parser_windows.cc | 18 bool WindowsDateListingToTime(const std::vector<string16>& columns, 20 DCHECK_LE(3U, columns.size()); 26 base::SplitString(columns[0], '-', &date_parts); 45 if (columns[1].length() != 7) 48 base::SplitString(columns[1].substr(0, 5), ':', &time_parts); 57 string16 am_or_pm(columns[1].substr(5, 2)); 84 std::vector<string16> columns; local 85 base::SplitString(CollapseWhitespace(lines[i], false), ' ', &columns); local 95 if (columns.size() < 3) 99 if (EqualsASCII(columns[2], "<DIR>")) [all...] |
ftp_directory_listing_parser_ls.cc | 70 bool DetectColumnOffsetAndModificationTime(const std::vector<string16>& columns, 90 for (size_t i = 5U; i < columns.size(); i++) { 91 if (net::FtpUtil::LsDateListingToTime(columns[i - 2], 92 columns[i - 1], 93 columns[i], 101 // Some FTP listings have swapped the "month" and "day of month" columns 104 for (size_t i = 5U; i < columns.size(); i++) { 105 if (net::FtpUtil::LsDateListingToTime(columns[i - 1], 106 columns[i - 2], 107 columns[i] 134 std::vector<string16> columns; local 135 base::SplitString(CollapseWhitespace(lines[i], false), ' ', &columns); local [all...] |
ftp_directory_listing_parser_vms.cc | 138 bool VmsDateListingToTime(const std::vector<string16>& columns, 140 DCHECK_EQ(4U, columns.size()); 146 base::SplitString(columns[2], '-', &date_parts); 159 string16 time_column(columns[3]); 211 std::vector<string16> columns; local 212 base::SplitString(CollapseWhitespace(lines[i], false), ' ', &columns); local 214 if (columns.size() == 1) { 219 // Join the current and next line and split them into columns. 220 columns.clear(); 225 &columns); [all...] |
/cts/tests/tests/webkitsecurity/assets/ |
renderer-positioned-assert-crash.html | 10 -webkit-columns: 1px;
|
content-height-zero-crash.html | 6 This tests for a crash when specifying multiple columns for a block with 0 content height.
|
no-overhanging-float-crash.html | 14 <div style="padding-bottom: 10500000000000%; -webkit-columns: initial;">
|
table-anonymous-block-destroy-crash.html | 7 -webkit-columns: 2;
|
/external/icu4c/common/ |
propsvec.c | 29 int32_t columns; /* number of columns, plus two for start & limit values */ member in struct:UPropsVectors 41 upvec_open(int32_t columns, UErrorCode *pErrorCode) { 49 if(columns<1) { 53 columns+=2; /* count range start and limit columns */ 56 v=(uint32_t *)uprv_malloc(UPVEC_INITIAL_ROWS*columns*4); 65 pv->columns=columns; 71 uprv_memset(row, 0, pv->rows*columns*4) 94 int32_t columns, i, start, limit, prevRow, rows; local 157 int32_t columns; local 293 int32_t columns; local 314 int32_t i, count, columns; local 335 int32_t i, columns, valueColumns, rows, count; local [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/ |
HandleSetAlarm.java | 67 Alarm.Columns.CONTENT_URI, 68 Alarm.Columns.ALARM_QUERY_COLUMNS, 69 Alarm.Columns.HOUR + "=" + hour + " AND " + 70 Alarm.Columns.MINUTES + "=" + minutes + " AND " + 71 Alarm.Columns.DAYS_OF_WEEK + "=0 AND " + 72 Alarm.Columns.MESSAGE + "=?", 85 values.put(Alarm.Columns.HOUR, hour); 86 values.put(Alarm.Columns.MINUTES, minutes); 87 values.put(Alarm.Columns.MESSAGE, message); 88 values.put(Alarm.Columns.ENABLED, 1) [all...] |
/external/webkit/Source/WebCore/inspector/front-end/ |
CookiesTable.js | 35 var columns = { 0: {}, 1: {}, 2: {}, 3: {}, 4: {}, 5: {}, 6: {}, 7: {} }; 36 columns[0].title = WebInspector.UIString("Name"); 37 columns[0].sortable = true; 38 columns[0].disclosure = expandable; 39 columns[0].width = "24%"; 40 columns[1].title = WebInspector.UIString("Value"); 41 columns[1].sortable = true; 42 columns[1].width = "34%"; 43 columns[2].title = WebInspector.UIString("Domain"); 44 columns[2].sortable = true [all...] |
/external/bluetooth/glib/tests/ |
unicode-normalize.c | 113 process_one (int line, gchar **columns) 121 c[i] = decode(columns[i]); 128 test_form (line, G_NORMALIZE_NFD, FALSE, 2, c, columns); 129 test_form (line, G_NORMALIZE_NFD, TRUE, 4, c, columns); 130 test_form (line, G_NORMALIZE_NFC, FALSE, 1, c, columns); 131 test_form (line, G_NORMALIZE_NFC, TRUE, 3, c, columns); 132 test_form (line, G_NORMALIZE_NFKD, TRUE, 4, c, columns); 133 test_form (line, G_NORMALIZE_NFKC, TRUE, 3, c, columns); 169 gchar **columns; local 187 columns = g_strsplit (buffer->str, ";", -1) [all...] |
/frameworks/base/core/java/android/text/ |
PackedIntVector.java | 41 * @param columns the width of the PackedIntVector. 43 public PackedIntVector(int columns) { 44 mColumns = columns; 51 mValueGap = new int[2 * columns]; 67 final int columns = mColumns; local 69 if (((row | column) < 0) || (row >= size()) || (column >= columns)) { 77 int value = mValues[row * columns + column]; 81 value += valuegap[column + columns]; 243 * @return the number of columns. 254 final int columns = mColumns local 293 final int columns = mColumns; local 318 final int columns = mColumns; local 342 final int columns = mColumns; local [all...] |
/frameworks/base/core/java/android/provider/ |
SyncStateContract.java | 34 public interface Columns extends BaseColumns { 54 public static class Constants implements Columns { 59 private static final String[] DATA_PROJECTION = new String[]{Columns.DATA, Columns._ID}; 61 Columns.ACCOUNT_NAME + "=? AND " + Columns.ACCOUNT_TYPE + "=?"; 85 return c.getBlob(c.getColumnIndexOrThrow(Columns.DATA)); 106 values.put(Columns.DATA, data); 107 values.put(Columns.ACCOUNT_NAME, account.name); 108 values.put(Columns.ACCOUNT_TYPE, account.type) [all...] |
/external/webkit/Source/WebCore/manual-tests/ |
match-marker-rects.html | 11 div.columns { 12 -webkit-columns: 2; 25 <div class="columns">
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
SimpleCursorAdapterTest.java | 48 * Set up basic columns and cursor for the tests 146 * array) but it's OK if the physical structure of the cursor changes (columns rearranged). 153 // check columns of original - mFrom and mTo should line up 154 int[] columns = ca.getConvertedFrom(); local 155 assertEquals(columns[0], 0); 156 assertEquals(columns[1], 1); 158 // Now make a new cursor with similar data but rearrange the columns 164 // check columns to see if rearrangement tracked (should be swapped now) 165 columns = ca.getConvertedFrom(); 166 assertEquals(columns[0], 1) 193 int[] columns = ca.getConvertedFrom(); local 219 int[] columns = ca.getConvertedFrom(); local [all...] |
/frameworks/ex/common/java/com/android/common/content/ |
ProjectionMap.java | 42 public Builder addAll(String[] columns) { 43 for (String column : columns) { 57 String[] columns = new String[mMap.size()]; local 58 mMap.keySet().toArray(columns); 59 Arrays.sort(columns); 60 mMap.mColumns = columns;
|
SyncStateContentProviderHelper.java | 34 SyncStateContract.Columns.ACCOUNT_NAME + "=? AND " 35 + SyncStateContract.Columns.ACCOUNT_TYPE + "=?"; 44 new String[]{SyncStateContract.Columns.ACCOUNT_NAME, 45 SyncStateContract.Columns.ACCOUNT_TYPE}; 52 + " WHERE " + SyncStateContract.Columns._ID + "=?"; 57 + SyncStateContract.Columns._ID + " INTEGER PRIMARY KEY," 58 + SyncStateContract.Columns.ACCOUNT_NAME + " TEXT NOT NULL," 59 + SyncStateContract.Columns.ACCOUNT_TYPE + " TEXT NOT NULL," 60 + SyncStateContract.Columns.DATA + " TEXT," 61 + "UNIQUE(" + SyncStateContract.Columns.ACCOUNT_NAME + ", [all...] |
/development/samples/SearchableDictionary/src/com/example/android/searchabledict/ |
DictionaryDatabase.java | 44 //The columns we'll include in the dictionary table 64 * Builds a map for all columns that may be requested, which will be given to the 66 * all columns, even if the value is the key. This allows the ContentProvider to request 67 * columns w/o the need to know real column names and create the alias itself. 86 * @param columns The columns to include, if null then all are included 89 public Cursor getWord(String rowId, String[] columns) { 93 return query(selection, selectionArgs, columns); 96 * SELECT <columns> FROM <table> WHERE rowid = <rowId> 104 * @param columns The columns to include, if null then all are include [all...] |
/external/webkit/Source/WebCore/wml/ |
WMLAttributeNames.in | 7 columns
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
AbstractSuggestionExtras.java | 35 HashSet<String> columns = new HashSet<String>(); local 36 columns.addAll(doGetExtraColumnNames()); 38 columns.addAll(mMore.getExtraColumnNames()); 40 return columns;
|
CursorBackedSuggestionExtras.java | 27 * SuggestionExtras taking values from the extra columns in a suggestion cursor. 34 DEFAULT_COLUMNS.addAll(Arrays.asList(SuggestionCursorBackedCursor.COLUMNS)); 61 String[] columns = getCursorColumns(cursor); local 62 for (String cursorColumn : columns) { 71 String[] columns = getCursorColumns(cursor); local 72 if (columns == null) return null; 74 for (String cursorColumn : columns) {
|
/external/chromium/chrome/browser/resources/shared/js/cr/ui/ |
grid.js | 11 * similar elements placed in multiple columns. It's pretty similar to the list, 12 * except the multiple columns layout. 57 * The number of columns in the grid. Either set by the user, or lazy 72 * In the case of multiple columns lead item must have the same height 85 * @return {number} The number of columns determined by width of the grid 95 * The number of columns in the grid. If not set, determined automatically 99 get columns() { 105 set columns(value) { 115 * into account lead item. May vary in the case of multiple columns. 119 return Math.floor(index / this.columns) * this.getItemHeight_() [all...] |
/external/chromium/chrome/browser/first_run/ |
try_chrome_dialog_view.cc | 90 views::ColumnSet* columns; local 92 columns = layout->AddColumnSet(0); 93 columns->AddColumn(views::GridLayout::LEADING, views::GridLayout::LEADING, 0, 96 columns->AddPaddingColumn(0, views::kRelatedControlHorizontalSpacing); 97 columns->AddColumn(views::GridLayout::FILL, views::GridLayout::FILL, 1, 99 columns->AddColumn(views::GridLayout::TRAILING, views::GridLayout::FILL, 1, 102 columns = layout->AddColumnSet(1); 103 columns->AddPaddingColumn(0, icon_size.width()); 104 columns->AddPaddingColumn(0, views::kRelatedControlHorizontalSpacing); 105 columns->AddColumn(views::GridLayout::LEADING, views::GridLayout::FILL, 1 [all...] |
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
FileCache.java | 42 FileEntry.Columns.HASH_CODE + "=? AND " + FileEntry.Columns.CONTENT_URL + "=?"; 43 private static final String ID_WHERE = FileEntry.Columns.ID + "=?"; 45 {String.format("sum(%s)", FileEntry.Columns.SIZE)}; 47 FileEntry.Columns.ID, FileEntry.Columns.FILENAME, 48 FileEntry.Columns.CONTENT_URL, FileEntry.Columns.SIZE}; 50 String.format("%s ASC", FileEntry.Columns.LAST_ACCESS); 183 values.put(FileEntry.Columns.LAST_ACCESS, System.currentTimeMillis()) [all...] |