Home
last modified time | relevance | path

Searched refs:columns (Results 1 – 25 of 1221) sorted by relevance

12345678910>>...49

/external/skia/src/sksl/ir/
DSkSLType.cpp28 if (this->columns() == other.columns()) { in coercionCost()
34 if (this->columns() == other.columns() && this->rows() == other.rows()) { in coercionCost()
50 const Type& Type::toCompound(const Context& context, int columns, int rows) const { in toCompound() argument
52 if (columns == 1 && rows == 1) { in toCompound()
58 switch (columns) { in toCompound()
62 default: ABORT("unsupported vector column count (%d)", columns); in toCompound()
65 switch (columns) { in toCompound()
69 default: ABORT("unsupported matrix column count (%d)", columns); in toCompound()
72 switch (columns) { in toCompound()
76 default: ABORT("unsupported matrix column count (%d)", columns); in toCompound()
[all …]
/external/skqp/src/sksl/ir/
DSkSLType.cpp18 if (this->columns() == other.columns()) { in coercionCost()
24 if (this->columns() == other.columns() && this->rows() == other.rows()) { in coercionCost()
49 const Type& Type::toCompound(const Context& context, int columns, int rows) const { in toCompound() argument
51 if (columns == 1 && rows == 1) { in toCompound()
57 switch (columns) { in toCompound()
61 default: ABORT("unsupported vector column count (%d)", columns); in toCompound()
64 switch (columns) { in toCompound()
68 default: ABORT("unsupported matrix column count (%d)", columns); in toCompound()
71 switch (columns) { in toCompound()
75 default: ABORT("unsupported matrix column count (%d)", columns); in toCompound()
[all …]
/external/icu/icu4c/source/common/
Dpropsvec.cpp32 int32_t columns; /* number of columns, plus two for start & limit values */ member
44 upvec_open(int32_t columns, UErrorCode *pErrorCode) { in upvec_open() argument
52 if(columns<1) { in upvec_open()
56 columns+=2; /* count range start and limit columns */ in upvec_open()
59 v=(uint32_t *)uprv_malloc(UPVEC_INITIAL_ROWS*columns*4); in upvec_open()
68 pv->columns=columns; in upvec_open()
74 uprv_memset(row, 0, pv->rows*columns*4); in upvec_open()
77 row+=columns; in upvec_open()
81 row+=columns; in upvec_open()
97 int32_t columns, i, start, limit, prevRow; in _findRow() local
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DPropsVectors.java42 private int columns; // number of columns, plus two for start field in PropsVectors
73 index = prevRow * columns; in findRow()
79 index += columns; in findRow()
84 index += columns; in findRow()
93 index += columns; in findRow()
111 index = columns * mid; in findRow()
125 index = start * columns; in findRow()
151 columns = numOfColumns + 2; // count range start and limit columns in PropsVectors()
152 v = new int[INITIAL_ROWS * columns]; in PropsVectors()
159 int index = columns; in PropsVectors()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DPropsVectors.java40 private int columns; // number of columns, plus two for start field in PropsVectors
71 index = prevRow * columns; in findRow()
77 index += columns; in findRow()
82 index += columns; in findRow()
91 index += columns; in findRow()
109 index = columns * mid; in findRow()
123 index = start * columns; in findRow()
149 columns = numOfColumns + 2; // count range start and limit columns in PropsVectors()
150 v = new int[INITIAL_ROWS * columns]; in PropsVectors()
157 int index = columns; in PropsVectors()
[all …]
/external/junit-params/src/main/java/junitparams/internal/
DInvokeParameterisedMethod.java41 Object[] columns = null; in castParamsFromString() local
43 columns = Utils.splitAtCommaOrPipe(params); in castParamsFromString()
44 columns = castParamsUsingConverters(columns); in castParamsFromString()
50 return columns; in castParamsFromString()
94 private Object[] castParamsUsingConverters(Object[] columns) throws ConversionFailedException { in castParamsUsingConverters() argument
97 if (testMethodParamsHasVarargs(columns, expectedParameterTypes)) { in castParamsUsingConverters()
98 columns = columnsWithVarargs(columns, expectedParameterTypes); in castParamsUsingConverters()
102 verifySameSizeOfArrays(columns, expectedParameterTypes); in castParamsUsingConverters()
103columns = castAllParametersToProperTypes(columns, expectedParameterTypes, parameterAnnotations); in castParamsUsingConverters()
104 return columns; in castParamsUsingConverters()
[all …]
/external/ImageMagick/coders/
Dhdr.c195 image->columns=0; in ReadHDRImage()
204 while (isgraph(c) && (image->columns == 0) && (image->rows == 0)) in ReadHDRImage()
360 image->columns=(size_t) width; in ReadHDRImage()
377 if ((image->columns == 0) && (image->rows == 0)) in ReadHDRImage()
384 if ((image->columns == 0) || (image->rows == 0)) in ReadHDRImage()
389 image->compression=(image->columns < 8) || (image->columns > 0x7ffff) ? in ReadHDRImage()
396 status=SetImageExtent(image,image->columns,image->rows,exception); in ReadHDRImage()
402 pixels=(unsigned char *) AcquireQuantumMemory(image->columns,4* in ReadHDRImage()
406 (void) memset(pixels,0,4*image->columns*sizeof(*pixels)); in ReadHDRImage()
411 count=ReadBlob(image,4*image->columns*sizeof(*pixels),pixels); in ReadHDRImage()
[all …]
Dpcd.c198 for (i=0; i < (image->columns > 1536 ? 3 : 1); i++) in DecodeImage()
270 q=luma+row*image->columns; in DecodeImage()
271 count=(ssize_t) image->columns; in DecodeImage()
276 q=chroma1+(row >> 1)*image->columns; in DecodeImage()
277 count=(ssize_t) (image->columns >> 1); in DecodeImage()
283 q=chroma2+(row >> 1)*image->columns; in DecodeImage()
284 count=(ssize_t) (image->columns >> 1); in DecodeImage()
290 for (i=0; i < (image->columns > 1536 ? 3 : 1); i++) in DecodeImage()
328 for (i=0; i < (image->columns > 1536 ? 3 : 1); i++) in DecodeImage()
579 if ((image->columns == 0) || (image->rows == 0)) in ReadPCDImage()
[all …]
Dlabel.c125 if ((image->columns != 0) && (image->rows != 0)) in ReadLABELImage()
143 if ((image->columns == 0) && (image->rows == 0)) in ReadLABELImage()
145 image->columns=(size_t) floor(metrics.width+draw_info->stroke_width+0.5); in ReadLABELImage()
150 (((image->columns == 0) || (image->rows == 0)) || in ReadLABELImage()
174 if ((image->columns != 0) && (image->rows != 0)) in ReadLABELImage()
176 if ((width >= image->columns) && (height >= image->rows)) in ReadLABELImage()
180 if (((image->columns != 0) && (width >= image->columns)) || in ReadLABELImage()
204 if ((image->columns != 0) && (image->rows != 0)) in ReadLABELImage()
206 if ((width < image->columns) && (height < image->rows)) in ReadLABELImage()
212 if (((image->columns != 0) && (width < image->columns)) || in ReadLABELImage()
[all …]
Dsgi.c82 columns, member
339 iris_info.columns=ReadBlobMSBShort(image); in ReadSGIImage()
360 image->columns=iris_info.columns; in ReadSGIImage()
376 if ((MagickSizeType) (image->columns*image->rows/255) > GetBlobSize(image)) in ReadSGIImage()
378 status=SetImageExtent(image,image->columns,image->rows,exception); in ReadSGIImage()
387 number_pixels=(MagickSizeType) iris_info.columns*iris_info.rows; in ReadSGIImage()
391 pixel_info=AcquireVirtualMemory(iris_info.columns,iris_info.rows*4* in ReadSGIImage()
406 scanline=(unsigned char *) AcquireQuantumMemory(iris_info.columns, in ReadSGIImage()
418 count=ReadBlob(image,bytes_per_pixel*iris_info.columns,scanline); in ReadSGIImage()
419 if (count != (ssize_t) (bytes_per_pixel*iris_info.columns)) in ReadSGIImage()
[all …]
Dyuv.c148 if ((image->columns == 0) || (image->rows == 0)) in ReadYUVImage()
150 status=SetImageExtent(image,image->columns,image->rows,exception); in ReadYUVImage()
201 image->columns+2UL),(size_t) quantum*sizeof(*scanline)); in ReadYUVImage()
203 scanline=(unsigned char *) AcquireQuantumMemory(image->columns, in ReadYUVImage()
210 chroma_image=CloneImage(image,(image->columns+horizontal_factor-1)/ in ReadYUVImage()
224 status=SetImageExtent(image,image->columns,image->rows,exception); in ReadYUVImage()
247 length=2*quantum*image->columns; in ReadYUVImage()
258 q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); in ReadYUVImage()
262 chroma_image->columns,1,exception); in ReadYUVImage()
265 for (x=0; x < (ssize_t) image->columns; x+=2) in ReadYUVImage()
[all …]
Dsun.c332 image->columns=sun_info.width; in ReadSUNImage()
421 image->columns=sun_info.width; in ReadSUNImage()
428 status=SetImageExtent(image,image->columns,image->rows,exception); in ReadSUNImage()
433 number_pixels=(MagickSizeType) (image->columns*image->rows); in ReadSUNImage()
511 q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); in ReadSUNImage()
514 for (x=0; x < ((ssize_t) image->columns-7); x+=8) in ReadSUNImage()
524 if ((image->columns % 8) != 0) in ReadSUNImage()
526 for (bit=7; bit >= (int) (8-(image->columns % 8)); bit--) in ReadSUNImage()
534 if ((((image->columns/8)+(image->columns % 8 ? 1 : 0)) % 2) != 0) in ReadSUNImage()
551 q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); in ReadSUNImage()
[all …]
Dmtv.c123 columns, in ReadMTVImage() local
148 count=(ssize_t) sscanf(buffer,"%lu %lu\n",&columns,&rows); in ReadMTVImage()
156 image->columns=columns; in ReadMTVImage()
162 status=SetImageExtent(image,image->columns,image->rows,exception); in ReadMTVImage()
168 pixels=(unsigned char *) AcquireQuantumMemory(image->columns, in ReadMTVImage()
174 count=(ssize_t) ReadBlob(image,(size_t) (3*image->columns),pixels); in ReadMTVImage()
175 if (count != (ssize_t) (3*image->columns)) in ReadMTVImage()
181 q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); in ReadMTVImage()
184 for (x=0; x < (ssize_t) image->columns; x++) in ReadMTVImage()
218 count=(ssize_t) sscanf(buffer,"%lu %lu\n",&columns,&rows); in ReadMTVImage()
[all …]
Dcmyk.c142 if ((image->columns == 0) || (image->rows == 0)) in ReadCMYKImage()
144 status=SetImageExtent(image,image->columns,image->rows,exception); in ReadCMYKImage()
210 status=SetImageExtent(image,image->columns,image->rows,exception); in ReadCMYKImage()
247 q=GetAuthenticPixels(canvas_image,0,0,canvas_image->columns,1, in ReadCMYKImage()
259 canvas_image->columns,1,exception); in ReadCMYKImage()
261 image->columns,1,exception); in ReadCMYKImage()
264 for (x=0; x < (ssize_t) image->columns; x++) in ReadCMYKImage()
333 q=GetAuthenticPixels(canvas_image,0,0,canvas_image->columns,1, in ReadCMYKImage()
345 0,canvas_image->columns,1,exception); in ReadCMYKImage()
347 image->columns,1,exception); in ReadCMYKImage()
[all …]
Ddib.c242 p=pixels+y*image->columns; in DecodeImage()
252 p=pixels+y*image->columns+x; in DecodeImage()
586 image->columns=(size_t) MagickAbsoluteValue((ssize_t) dib_info.width); in ReadDIBImage()
618 if ((geometry.width != 0) && (geometry.width < image->columns)) in ReadDIBImage()
619 image->columns=geometry.width; in ReadDIBImage()
624 status=SetImageExtent(image,image->columns,image->rows,exception); in ReadDIBImage()
668 bytes_per_line=4*((image->columns*dib_info.bits_per_pixel+31)/32); in ReadDIBImage()
673 image->columns+256UL)*sizeof(*pixels)); in ReadDIBImage()
693 pixels,image->columns*image->rows); in ReadDIBImage()
720 q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); in ReadDIBImage()
[all …]
/external/emma/core/java12/com/vladium/emma/report/txt/
DReportGenerator.java140 final int [] columns = m_settings.getColumnOrder (); in visit() local
148 addHeaderRow (item, columns); in visit()
151 addItemRow (item, columns); in visit()
184 addHeaderRow (pkg, columns); in visit()
189 addItemRow (pkg, columns); in visit()
202 final int [] columns = m_settings.getColumnOrder (); in visit() local
210 addHeaderRow (item, columns); in visit()
213 addItemRow (item, columns); in visit()
233 addHeaderRow (srcORcls, columns); in visit()
238 addItemRow (srcORcls, columns); in visit()
[all …]
/external/cldr/tools/java/org/unicode/cldr/tool/
DTablePrinter.java44 private List<Column> columns = new ArrayList<Column>(); field in TablePrinter
65 columnSorter.setSortPriority(columns.size() - 1, priority); in setSortPriority()
71 columnSorter.setSortAscending(columns.size() - 1, ascending); in setSortAscending()
76 breaksSpans.set(columns.size() - 1, breaks); in setBreakSpans()
136columns.add(new Column(header).setHeaderAttributes(headerAttributes).setCellPattern(cellPattern) in addColumn()
143 columns.add(new Column(header)); in addColumn()
149 if (data.length != columns.size()) { in addRow()
151 columns.size())); in addRow()
195 if (partialRow.size() != columns.size()) { in finishRow()
197 + " not same as number of columns" + columns.size()); in finishRow()
[all …]
/external/ImageMagick/MagickCore/
Dcompare.c159 columns, in CompareImages() local
179 columns=MagickMax(image->columns,reconstruct_image->columns); in CompareImages()
182 geometry.width=columns; in CompareImages()
193 highlight_image=CloneImage(image,columns,rows,MagickTrue,exception); in CompareImages()
249 p=GetCacheViewVirtualPixels(image_view,0,y,columns,1,exception); in CompareImages()
250 q=GetCacheViewVirtualPixels(reconstruct_view,0,y,columns,1,exception); in CompareImages()
251 r=QueueCacheViewAuthenticPixels(highlight_view,0,y,columns,1,exception); in CompareImages()
258 for (x=0; x < (ssize_t) columns; x++) in CompareImages()
376 columns, in GetAbsoluteDistortion() local
390 columns=MagickMax(image->columns,reconstruct_image->columns); in GetAbsoluteDistortion()
[all …]
Dmatrix.c68 columns, member
200 MagickExport MatrixInfo *AcquireMatrixInfo(const size_t columns, in AcquireMatrixInfo() argument
217 matrix_info->columns=columns; in AcquireMatrixInfo()
227 matrix_info->length=(MagickSizeType) columns*rows*stride; in AcquireMatrixInfo()
228 if (matrix_info->columns != (size_t) (matrix_info->length/rows/stride)) in AcquireMatrixInfo()
504 *columns, in GaussJordanElimination() local
509 columns=(ssize_t *) AcquireQuantumMemory(rank,sizeof(*columns)); in GaussJordanElimination()
512 if ((rows == (ssize_t *) NULL) || (columns == (ssize_t *) NULL) || in GaussJordanElimination()
517 if (columns != (ssize_t *) NULL) in GaussJordanElimination()
518 columns=(ssize_t *) RelinquishMagickMemory(columns); in GaussJordanElimination()
[all …]
/external/squashfs-tools/squashfs-tools/
Dprogressbar.c49 int columns; variable
63 columns = 80; in sigwinch_handler()
65 columns = winsize.ws_col; in sigwinch_handler()
93 static void progress_bar(long long current, long long max, int columns) in progress_bar() argument
104 hashes = (current * (columns - used)) / max; in progress_bar()
105 spaces = columns - used - hashes; in progress_bar()
107 if((current > max) || (columns - used < 0)) in progress_bar()
146 progress_bar(cur_uncompressed, estimated_uncompressed, columns); in enable_progress_bar()
170 columns); in set_progressbar_state()
189 columns = 80; in progress_thrd()
[all …]
/external/perfetto/ui/src/controller/
Dtrace_controller.ts281 maximumValue: +maxFreq.columns[0].doubleValues![0],
297 const ref = +counters.columns[1].longValues![i];
298 const refType = counters.columns[2].stringValues![i];
306 const name = counters.columns[0].stringValues![i];
307 const refType = counters.columns[2].stringValues![i];
328 const utid = maxDepthQuery.columns[0].longValues![i] as number;
329 const maxDepth = maxDepthQuery.columns[1].longValues![i] as number;
379 const threadHasSched = threadSched.columns[0].longValues![0] > 0;
420 const name = counters.columns[0].stringValues![i];
421 const ref = counters.columns[1].longValues![i];
[all …]
/external/autotest/frontend/client/src/autotest/common/table/
DDataTable.java52 protected String[][] columns; field in DataTable
73 public DataTable(String[][] columns) { in DataTable() argument
74 int rows = columns.length; in DataTable()
75 this.columns = new String[rows][2]; in DataTable()
77 System.arraycopy(columns[i], 0, this.columns[i], 0, 2); in DataTable()
88 for (int i = 0; i < columns.length; i++) { in DataTable()
89 table.setText(0, i, columns[i][1]); in DataTable()
144 String[] rowText = new String[columns.length]; in getRowText()
145 for (int i = 0; i < columns.length; i++) { in getRowText()
149 String columnKey = columns[i][0]; in getRowText()
[all …]
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/
DContactsFacade.java126 String[] columns = cursor.getColumnNames(); in contactsGetAttributes() local
127 for (int i = 0; i < columns.length; i++) { in contactsGetAttributes()
128 attributes.add(columns[i]); in contactsGetAttributes()
138 String[] columns = {"_id"}; in contactsGetContactIds() local
139 Cursor cursor = mContentResolver.query(CONTACTS_URI, columns, null, null, null); in contactsGetContactIds()
153 String[] columns; in contactsGetAllContacts() local
156 columns = new String[] {ContactsContract.Contacts.NAME_RAW_CONTACT_ID, in contactsGetAllContacts()
160 columns = new String[attributes.length()]; in contactsGetAllContacts()
162 columns[i] = attributes.getString(i); in contactsGetAllContacts()
166 for (String s : columns) { in contactsGetAllContacts()
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/
DOpenMapRealMatrix.java39 private final int columns; field in OpenMapRealMatrix
52 this.columns = columnDimension; in OpenMapRealMatrix()
62 this.columns = matrix.columns; in OpenMapRealMatrix()
82 return columns; in getColumnDimension()
111 final int row = iterator.key() / columns; in add()
112 final int col = iterator.key() - row * columns; in add()
146 final int row = iterator.key() / columns; in subtract()
147 final int col = iterator.key() - row * columns; in subtract()
172 final int i = key / columns; in multiply()
173 final int k = key % columns; in multiply()
[all …]
/external/ImageMagick/www/source/
Dmgk.c155 columns, in ReadMGKImage() local
185 count=(ssize_t) sscanf(buffer,"%lu %lu\n",&columns,&rows); in ReadMGKImage()
193 image->columns=columns; in ReadMGKImage()
207 pixels=(unsigned char *) AcquireQuantumMemory((size_t) image->columns, in ReadMGKImage()
213 count=(ssize_t) ReadBlob(image,(size_t) (3*image->columns),pixels); in ReadMGKImage()
214 if (count != (ssize_t) (3*image->columns)) in ReadMGKImage()
217 q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); in ReadMGKImage()
220 for (x=0; x < (ssize_t) image->columns; x++) in ReadMGKImage()
248 count=(ssize_t) sscanf(buffer,"%lu %lu\n",&columns,&rows); in ReadMGKImage()
409 pixels=(unsigned char *) AcquireQuantumMemory((size_t) image->columns, in WriteMGKImage()
[all …]

12345678910>>...49