/external/opencv3/modules/ts/misc/ |
report.py | 11 parser.add_option("-c", "--columns", dest="columns", help="comma-separated list of columns to show", metavar="COLS", default="") 52 if options.columns: 53 metrics = [s.strip() for s in options.columns.split(",")]
|
/external/vulkan-validation-layers/demos/smoke/ |
glsl-to-spirv | 35 COLUMNS = 4 81 for i in range(0, len(words), COLUMNS): 82 columns = ["0x%08x" % word for word in words[i:(i + COLUMNS)]] 83 literals.append(" " * INDENT + ", ".join(columns) + ",")
|
/packages/apps/Contacts/tests/src/com/android/contacts/tests/ |
QueryService.java | 111 return null; // all columns 113 final String[] columns = projectionString.split(","); local 114 if (columns.length == 0) { 115 return null; // all columns 117 return columns;
|
/external/autotest/frontend/client/src/autotest/common/table/ |
DynamicTable.java | 66 public DynamicTable(String[][] columns, DataSource dataSource) { 67 super(columns); 82 sortIndicators = new SortIndicator[columns.length]; 83 for(int i = 0; i < columns.length; i++) { 89 String name = columns[i][COL_TITLE]; 105 if (columns[indicator.column][COL_NAME].equals(firstSpec.getField())) { 281 String[] data = new String[columns.length]; 282 for (int i = 0; i < columns.length; i++) { 310 // ignore sorting on widget columns 313 String columnName = columns[cell][COL_NAME] [all...] |
/external/chromium-trace/catapult/tracing/tracing/ui/analysis/ |
memory_dump_allocator_details_pane_test.html | 178 function checkRow(columns, row, expectations) { 179 var formattedTitle = columns[0].formatTitle(row); 186 checkSizeNumericFields(row, columns[1], expectations.size); 187 checkSizeNumericFields(row, columns[2], expectations.effective_size); 188 checkSizeNumericFields(row, columns[3], expectations.inner_size); 189 checkNumericFields(row, columns[4], expectations.objects_count, 191 checkStringFields(row, columns[5], expectations.url); 264 var columns = table.tableColumns; 265 checkColumns(columns, EXPECTED_COLUMNS, undefined /* no aggregation */); 271 checkRow(columns, rootRow, [all...] |
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/ |
CharsetSelector.java | 47 int columns = (encodings.length + 31) / 32; local 50 for (int col = 0; col < columns; ++col) { 78 for (int col = 0; col < columns; col++) { 106 int columns = (encodings.length + 31) / 32; local 107 int numOnes = countOnes(mask, columns); 112 for (int j = 0; j < columns; j++) { 197 int columns = (encodings.length + 31) / 32; local 198 int[] mask = new int[columns]; 199 for (int i = 0; i < columns; i++) { 209 if (intersectMasks(mask, pvIndex, columns)) { [all...] |
/frameworks/base/core/tests/coretests/src/android/database/ |
DatabasePerformanceTests.java | 266 private static final String[] COLUMNS = {"count(*)", "avg(b)"}; 295 .query("t1", COLUMNS, where[i], null, null, null, null); 306 private static final String[] COLUMNS = {"count(*)", "avg(b)"}; 333 .query("t1", COLUMNS, where[i], null, null, null, null); 344 private static final String[] COLUMNS = {"count(*)", "avg(b)"}; 374 .query("t1", COLUMNS, where[i], null, null, null, null); 385 private static final String[] COLUMNS = {"t1.a"}; 412 mDatabase.query("t1 INNER JOIN t2 ON t1.b = t2.b", COLUMNS, null, 423 private static final String[] COLUMNS = {"t1.a"}; 452 mDatabase.query("t1 INNER JOIN t2 ON t1.b = t2.b", COLUMNS, null [all...] |
NewDatabasePerformanceTests.java | 173 private static final String[] COLUMNS = {"count(*)", "avg(b)"}; 201 .query("t1", COLUMNS, where[i], null, null, null, null); 212 private static final String[] COLUMNS = {"count(*)", "avg(b)"}; 238 .query("t1", COLUMNS, where[i], null, null, null, null); 249 private static final String[] COLUMNS = {"count(*)", "avg(b)"}; 278 .query("t1", COLUMNS, where[i], null, null, null, null); 289 private static final String[] COLUMNS = {"t1.a"}; 315 mDatabase.query("t1 INNER JOIN t2 ON t1.b = t2.b", COLUMNS, null, 326 private static final String[] COLUMNS = {"t1.a"}; 354 mDatabase.query("t1 INNER JOIN t2 ON t1.b = t2.b", COLUMNS, null [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/bsddb/ |
dbtables.py | 115 _columns = '._COLUMNS__' # table_name+this key contains a list of columns 309 def CreateTable(self, table, columns): 310 """CreateTable(table, columns) - Create a new table in the database. 314 assert isinstance(columns, list) 323 for column in columns : 335 pickle.dumps(columns, 1), txn=txn) 358 """Return a list of columns in the given table. 383 def CreateOrExtendTable(self, table, columns): 384 """CreateOrExtendTable(table, columns) 389 additional columns present in the given list as well a [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/bsddb/ |
dbtables.py | 115 _columns = '._COLUMNS__' # table_name+this key contains a list of columns 309 def CreateTable(self, table, columns): 310 """CreateTable(table, columns) - Create a new table in the database. 314 assert isinstance(columns, list) 323 for column in columns : 335 pickle.dumps(columns, 1), txn=txn) 358 """Return a list of columns in the given table. 383 def CreateOrExtendTable(self, table, columns): 384 """CreateOrExtendTable(table, columns) 389 additional columns present in the given list as well a [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/bsddb/ |
dbtables.py | 115 _columns = '._COLUMNS__' # table_name+this key contains a list of columns 309 def CreateTable(self, table, columns): 310 """CreateTable(table, columns) - Create a new table in the database. 314 assert isinstance(columns, list) 323 for column in columns : 335 pickle.dumps(columns, 1), txn=txn) 358 """Return a list of columns in the given table. 383 def CreateOrExtendTable(self, table, columns): 384 """CreateOrExtendTable(table, columns) 389 additional columns present in the given list as well a [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/bsddb/ |
dbtables.py | 115 _columns = '._COLUMNS__' # table_name+this key contains a list of columns 309 def CreateTable(self, table, columns): 310 """CreateTable(table, columns) - Create a new table in the database. 314 assert isinstance(columns, list) 323 for column in columns : 335 pickle.dumps(columns, 1), txn=txn) 358 """Return a list of columns in the given table. 383 def CreateOrExtendTable(self, table, columns): 384 """CreateOrExtendTable(table, columns) 389 additional columns present in the given list as well a [all...] |
/cts/tests/tests/provider/src/android/provider/cts/contacts/ |
DatabaseAsserts.java | 156 * @param projection - Projection to use for the query. Must contain at least the columns 280 * Check if a query accepts all columns in the projection, and a resulting cursor contains 281 * all expected columns. This also checks the number of resulting rows, but don't check 288 // First, check the null projection (i.e. all columns). 292 // All columns. 298 final String[] columns = new String[] {allColumns[i]}; local 299 checkProjectionInner(resolver, uri, columns, columns, selection, ids.length, 303 // Select two columns. 309 final String[] columns = new String[] {allColumns[i], allColumns[j]} local [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/correlation/ |
PearsonsCorrelation.java | 33 * or columns of a matrix. 37 * columns of the input matrices are assumed to represent variable values. 65 * whose columns represent values of variables to be correlated. 67 * @param data rectangular array with columns representing variables 69 * rectangular with at least two rows and two columns. 76 * Create a PearsonsCorrelation from a RealMatrix whose columns 79 * @param matrix matrix with columns representing variables to correlate 91 * columns representing variable values. 184 * Computes the correlation matrix for the columns of the 187 * @param matrix matrix with columns representing variables to correlat [all...] |
/frameworks/base/core/java/android/database/sqlite/ |
SQLiteQueryBuilder.java | 127 * column names. This is useful for renaming columns as well as 180 * @param columns A list of which columns to return. Passing null will 181 * return all columns, which is discouraged to prevent reading 202 boolean distinct, String tables, String[] columns, String where, 218 if (columns != null && columns.length != 0) { 219 appendColumns(query, columns); 242 * Add the names that are non-null in columns to s, separating 245 public static void appendColumns(StringBuilder s, String[] columns) { [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...] |
/developers/samples/android/common/src/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...] |
/development/samples/browseable/BasicSyncAdapter/src/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...] |
/external/autotest/server/site_tests/cellular_StaleModemReboot/ |
cellular_StaleModemReboot.py | 135 columns = item.split(':') 136 columns = [x.strip() for x in columns] 137 if len(columns) > 1: 138 modem_status_dict[columns[0]] = columns[1] 140 modem_status_dict[columns[0]] = ''
|
/external/icu/icu4c/source/common/ |
propsvec.h | 35 * which is set via the upvec_open() "columns" parameter. 37 * Internally, two additional columns are stored. 71 * @param columns Number of value integers (uint32_t) per row. 74 upvec_open(int32_t columns, UErrorCode *pErrorCode); 117 * (Therefore, it starts at 0 increases in increments of the columns value.) 129 int32_t rowIndex, uint32_t *row, int32_t columns, 171 int32_t rowIndex, uint32_t *row, int32_t columns,
|
/external/opencv3/doc/pattern_tools/ |
gen_pattern.py | 9 -c, --columns - pattern columns (default 8) 68 opts, args = getopt.getopt(sys.argv[1:], "Ho:c:r:T:u:s:R:w:h:", ["help","output=","columns=","rows=", 76 columns = 8 91 elif o in ("-c", "--columns"): 92 columns = int(a) 107 pm = PatternMaker(columns,rows,output,units,square_size,radius_rate,page_width,page_height)
|
/external/toybox/toys/posix/ |
ls.c | 29 -1 list one file per line -C columns (sorted vertically) 33 -x columns (horizontal sort) 231 unsigned columns, unsigned *xpos) 238 *xpos = ul % columns; 245 height = (dtlen+columns-1)/columns; 249 if (height*columns - dtlen >= height) { 250 *xpos = columns; 257 transition = widecols * columns; 259 *xpos = ul % columns; 291 *colsizes = (unsigned *)(toybuf+260), columns = (sizeof(toybuf)-260)\/4; local [all...] |
/frameworks/base/core/java/android/provider/ |
SearchIndexablesContract.java | 70 * Indexable xml resources columns. 83 * Indexable xml resources columns indices. 94 * Indexable raw data columns. 114 * Indexable raw data columns indices. 132 * Indexable raw data columns. 139 * Non indexable data keys columns indices. 237 * The base columns.
|
/frameworks/opt/colorpicker/src/com/android/colorpicker/ |
ColorPickerDialog.java | 45 protected static final String KEY_COLUMNS = "columns"; 65 int columns, int size) { 67 ret.initialize(titleResId, colors, selectedColor, columns, size); 71 public void initialize(int titleResId, int[] colors, int selectedColor, int columns, int size) { 72 setArguments(titleResId, columns, size); 76 public void setArguments(int titleResId, int columns, int size) { 79 bundle.putInt(KEY_COLUMNS, columns);
|
/packages/apps/Messaging/tests/src/com/android/messaging/ |
FakeContentProvider.java | 42 private final String[] columns; field in class:FakeContentProvider.ContentOverride 46 final String[] columns, final Object[][] data) { 50 this.columns = columns; 89 final String[] columns, final Object[][] data) { 90 mOverrides.add(new ContentOverride(uri.toString(), where, args, columns, data)); 119 return new FakeCursor(projection, content.columns, content.data);
|