/external/skia/src/sksl/ir/ |
SkSLType.cpp | 18 if (this->columns() == other.columns()) { 24 if (this->columns() == other.columns() && this->rows() == other.rows()) { 49 const Type& Type::toCompound(const Context& context, int columns, int rows) const { 51 if (columns == 1 && rows == 1) { 57 switch (columns) { 61 default: ABORT("unsupported vector column count (%d)", columns); 64 switch (columns) { 68 default: ABORT("unsupported matrix column count (%d)", columns); [all...] |
/external/skqp/src/sksl/ir/ |
SkSLType.cpp | 18 if (this->columns() == other.columns()) { 24 if (this->columns() == other.columns() && this->rows() == other.rows()) { 49 const Type& Type::toCompound(const Context& context, int columns, int rows) const { 51 if (columns == 1 && rows == 1) { 57 switch (columns) { 61 default: ABORT("unsupported vector column count (%d)", columns); 64 switch (columns) { 68 default: ABORT("unsupported matrix column count (%d)", columns); [all...] |
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/ |
TableLayoutBindingAdapter.java | 32 SparseBooleanArray columns = parseColumns(columnsStr); local 34 boolean isCollapsed = columns.get(i, false); 47 SparseBooleanArray columns = parseColumns(columnsStr); local 48 int columnCount = columns.size(); 50 int column = columns.keyAt(i); 51 boolean shrinkable = columns.valueAt(i); 65 SparseBooleanArray columns = parseColumns(columnsStr); local 66 int columnCount = columns.size(); 68 int column = columns.keyAt(i); 69 boolean stretchable = columns.valueAt(i) 78 SparseBooleanArray columns = new SparseBooleanArray(); local [all...] |
/frameworks/ml/nn/runtime/test/specs/V1_0/ |
embedding_lookup.mod.py | 19 columns = 2 variable 22 actual_values = [x for x in range(rows * columns * features)] 24 for j in range(columns): 26 actual_values[(i * columns + j) * features + k] = i + j / 10. + k / 100. 30 value = Input("value", "TENSOR_FLOAT32", "{%d, %d, %d}" % (rows, columns, features)) 31 output = Output("output", "TENSOR_FLOAT32", "{%d, %d, %d}" % (lookups, columns, features))
|
/frameworks/ml/nn/runtime/test/specs/V1_1/ |
embedding_lookup_relaxed.mod.py | 19 columns = 2 variable 22 actual_values = [x for x in range(rows * columns * features)] 24 for j in range(columns): 26 actual_values[(i * columns + j) * features + k] = i + j / 10. + k / 100. 30 value = Input("value", "TENSOR_FLOAT32", "{%d, %d, %d}" % (rows, columns, features)) 31 output = Output("output", "TENSOR_FLOAT32", "{%d, %d, %d}" % (lookups, columns, features))
|
/tools/loganalysis/src/com/android/loganalysis/parser/ |
QtaguidParser.java | 43 String[] columns = line.split(" ", -1); local 44 if (columns.length < 8 || columns[0].equals("IDX")) { 49 int uid = Integer.parseInt(columns[3]); 50 int rxBytes = Integer.parseInt(columns[5]); 51 int txBytes = Integer.parseInt(columns[7]);
|
/external/javasqlite/src/main/java/SQLite/ |
Callback.java | 10 * public void columns(String cols[]) { 46 public void columns(String coldata[]); method in interface:Callback 49 * Reports type names of the columns of the query result.
|
/external/icu/icu4c/source/common/ |
propsvec.cpp | 32 int32_t columns; /* number of columns, plus two for start & limit values */ member in struct:UPropsVectors 44 upvec_open(int32_t columns, UErrorCode *pErrorCode) { 52 if(columns<1) { 56 columns+=2; /* count range start and limit columns */ 59 v=(uint32_t *)uprv_malloc(UPVEC_INITIAL_ROWS*columns*4); 68 pv->columns=columns; 74 uprv_memset(row, 0, pv->rows*columns*4) 97 int32_t columns, i, start, limit, prevRow; local 160 int32_t columns; local 296 int32_t columns; local 317 int32_t i, count, columns; local 338 int32_t i, columns, valueColumns, rows, count; local [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/ |
NonSquareMatrixException.java | 36 * @param columns number of columns of the faulty matrix 38 public NonSquareMatrixException(final int rows, final int columns) { 39 super(LocalizedFormats.NON_SQUARE_MATRIX, rows, columns);
|
/frameworks/base/core/java/android/text/ |
PackedIntVector.java | 46 * @param columns the width of the PackedIntVector. 48 public PackedIntVector(int columns) { 49 mColumns = columns; 56 mValueGap = new int[2 * columns]; 72 final int columns = mColumns; local 74 if (((row | column) < 0) || (row >= size()) || (column >= columns)) { 82 int value = mValues[row * columns + column]; 86 value += valuegap[column + columns]; 248 * @return the number of columns. 259 final int columns = mColumns local 298 final int columns = mColumns; local 323 final int columns = mColumns; local 347 final int columns = mColumns; local [all...] |
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/verifier/ |
QueryResultInfo.kt | 27 data class QueryResultInfo(val columns: List<ColumnInfo>, val error: SQLException? = null)
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
PropsVectors.java | 42 private int columns; // number of columns, plus two for start field in class:PropsVectors 65 // The returned index is a multiple of columns, and therefore 73 index = prevRow * columns; 79 index += columns; 84 index += columns; 93 index += columns; 111 index = columns * mid; 125 index = start * columns; 151 columns = numOfColumns + 2; // count range start and limit column [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
PropsVectors.java | 40 private int columns; // number of columns, plus two for start field in class:PropsVectors 63 // The returned index is a multiple of columns, and therefore 71 index = prevRow * columns; 77 index += columns; 82 index += columns; 91 index += columns; 109 index = columns * mid; 123 index = start * columns; 149 columns = numOfColumns + 2; // count range start and limit column [all...] |
/frameworks/support/room/runtime/src/main/java/androidx/room/util/ |
TableInfo.java | 59 * Unmodifiable map of columns keyed by column name. 61 public final Map<String, Column> columns; field in class:TableInfo 73 public TableInfo(String name, Map<String, Column> columns, Set<ForeignKey> foreignKeys, 76 this.columns = Collections.unmodifiableMap(columns); 85 public TableInfo(String name, Map<String, Column> columns, Set<ForeignKey> foreignKeys) { 86 this(name, columns, foreignKeys, Collections.<Index>emptySet()); 97 if (columns != null ? !columns.equals(tableInfo.columns) : tableInfo.columns != null) 140 Map<String, Column> columns = readColumns(database, tableName); local 214 Map<String, Column> columns = new HashMap<>(); local 298 final List<String> columns = new ArrayList<>(results.size()); local 543 public final List<String> columns; field in class:TableInfo.Index [all...] |
/external/junit-params/src/main/java/junitparams/internal/ |
InvokeParameterisedMethod.java | 41 Object[] columns = null; local 43 columns = Utils.splitAtCommaOrPipe(params); 44 columns = castParamsUsingConverters(columns); 50 return columns; 94 private Object[] castParamsUsingConverters(Object[] columns) throws ConversionFailedException { 97 if (testMethodParamsHasVarargs(columns, expectedParameterTypes)) { 98 columns = columnsWithVarargs(columns, expectedParameterTypes); 102 verifySameSizeOfArrays(columns, expectedParameterTypes) [all...] |
/external/mesa3d/src/compiler/glsl/tests/ |
uniform_initializer_utils.h | 37 unsigned columns, unsigned rows, 42 unsigned columns, unsigned rows, unsigned array_size,
|
/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;
|
/external/lisa/tools/scripts/ |
compare_janbench.py | 53 columns = ['_id', 'name', 'run_id', 'iteration', 'total_duration', 'jank_frame'] 56 for row in conn.execute('SELECT {} FROM ui_results'.format(','.join(columns))): 58 return pd.DataFrame(data, columns=columns) 98 diff.columns = [str(col) + '_diff' for col in diff.columns] 99 baseline_df.columns = [str(col) + '_baseline' for col in baseline_df.columns] 100 compare_df.columns = [str(col) + '_compare' for col in compare_df.columns] [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;
|
/external/autotest/tko/ |
plotgraph | 5 ($file, $y_label, $columns, $title) = @ARGV; 8 die unless ($columns =~ /^1:\d+/); 11 plotgraph($file, $y_label, $columns, $title); 15 # $columns spec is 1:y-value:y-stddev 17 my ($file, $y_label, $columns, $title) = @_; 37 $plot_main = "\"${file}.main\" using $columns title \"mainline\""; 40 $plot_mm = "\"${file}.mm\" using $columns title \"-mm\""; 43 $plot_other = "\"${file}.other\" using $columns title \"other\"";
|
/external/squashfs-tools/squashfs-tools/ |
progressbar.c | 49 int columns; variable 62 "columns\n"); 63 columns = 80; 65 columns = winsize.ws_col; 93 static void progress_bar(long long current, long long max, int columns) 104 hashes = (current * (columns - used)) / max; 105 spaces = columns - used - hashes; 107 if((current > max) || (columns - used < 0)) 146 progress_bar(cur_uncompressed, estimated_uncompressed, columns); 170 columns); [all...] |
/external/trappy/tests/ |
test_common_clk.py | 35 self.assertSetEqual(set(df.columns), 42 self.assertSetEqual(set(df.columns), 49 self.assertSetEqual(set(df.columns),
|
/external/toolchain-utils/crosperf/ |
column_chart.py | 13 self.columns = [] 18 for i in range(len(self.columns)): 19 if column_name == self.columns[i][1]: 24 self.columns.append((column_type, name)) 31 for column in self.columns: 35 for column in range(len(self.columns)):
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
SimpleCursorAdapterTest.java | 50 * Set up basic columns and cursor for the tests 148 * array) but it's OK if the physical structure of the cursor changes (columns rearranged). 155 // check columns of original - mFrom and mTo should line up 156 int[] columns = ca.getConvertedFrom(); local 157 assertEquals(columns[0], 0); 158 assertEquals(columns[1], 1); 160 // Now make a new cursor with similar data but rearrange the columns 166 // check columns to see if rearrangement tracked (should be swapped now) 167 columns = ca.getConvertedFrom(); 168 assertEquals(columns[0], 1) 195 int[] columns = ca.getConvertedFrom(); local 221 int[] columns = ca.getConvertedFrom(); local [all...] |
/developers/build/prebuilts/gradle/BasicSyncAdapter/Application/src/main/java/com/example/android/common/db/ |
SelectionBuilder.java | 61 * can be used to create new columns based on arbitrary (SQL-based) criteria. In advanced usage, 200 * <p>Map columns from a secondary table onto the current result set. References to the column 257 * Assumes that incoming columns are non-null. 261 * @param columns User supplied projection (column list). 263 private void mapColumns(String[] columns) { 264 for (int i = 0; i < columns.length; i++) { 265 final String target = mProjectionMap.get(columns[i]); 267 columns[i] = target; 289 * @param columns Database projection (column list) to return, must be non-NULL. 296 public Cursor query(SQLiteDatabase db, String[] columns, String orderBy) [all...] |