/external/icu/icu4c/source/common/ |
D | propsvec.c | 30 int32_t columns; /* number of columns, plus two for start & limit values */ member 42 upvec_open(int32_t columns, UErrorCode *pErrorCode) { in upvec_open() argument 50 if(columns<1) { in upvec_open() 54 columns+=2; /* count range start and limit columns */ in upvec_open() 57 v=(uint32_t *)uprv_malloc(UPVEC_INITIAL_ROWS*columns*4); in upvec_open() 66 pv->columns=columns; in upvec_open() 72 uprv_memset(row, 0, pv->rows*columns*4); in upvec_open() 75 row+=columns; in upvec_open() 79 row+=columns; in upvec_open() 95 int32_t columns, i, start, limit, prevRow; in _findRow() local [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | PropsVectors.java | 40 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/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | PropsVectors.java | 38 private int columns; // number of columns, plus two for start field in PropsVectors 69 index = prevRow * columns; in findRow() 75 index += columns; in findRow() 80 index += columns; in findRow() 89 index += columns; in findRow() 107 index = columns * mid; in findRow() 121 index = start * columns; in findRow() 147 columns = numOfColumns + 2; // count range start and limit columns in PropsVectors() 148 v = new int[INITIAL_ROWS * columns]; in PropsVectors() 155 int index = columns; in PropsVectors() [all …]
|
/external/ImageMagick/coders/ |
D | hdr.c | 195 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() 410 count=ReadBlob(image,4*image->columns*sizeof(*pixels),pixels); in ReadHDRImage() 411 if (count != (ssize_t) (4*image->columns*sizeof(*pixels))) in ReadHDRImage() [all …]
|
D | pcd.c | 197 for (i=0; i < (image->columns > 1536 ? 3 : 1); i++) in DecodeImage() 265 q=luma+row*image->columns; in DecodeImage() 266 count=(ssize_t) image->columns; in DecodeImage() 271 q=chroma1+(row >> 1)*image->columns; in DecodeImage() 272 count=(ssize_t) (image->columns >> 1); in DecodeImage() 278 q=chroma2+(row >> 1)*image->columns; in DecodeImage() 279 count=(ssize_t) (image->columns >> 1); in DecodeImage() 320 for (i=0; i < (image->columns > 1536 ? 3 : 1); i++) in DecodeImage() 552 if ((image->columns == 0) || (image->rows == 0)) in ReadPCDImage() 560 if ((width >= image->columns) && (height >= image->rows)) in ReadPCDImage() [all …]
|
D | label.c | 137 if ((image->columns == 0) && (image->rows == 0)) in ReadLABELImage() 139 image->columns=(size_t) floor(metrics.width+draw_info->stroke_width+0.5); in ReadLABELImage() 144 (((image->columns == 0) || (image->rows == 0)) || in ReadLABELImage() 163 if ((image->columns != 0) && (image->rows != 0)) in ReadLABELImage() 165 if ((width >= image->columns) && (height >= image->rows)) in ReadLABELImage() 169 if (((image->columns != 0) && (width >= image->columns)) || in ReadLABELImage() 184 if ((image->columns != 0) && (image->rows != 0)) in ReadLABELImage() 186 if ((width < image->columns) && (height < image->rows)) in ReadLABELImage() 192 if (((image->columns != 0) && (width < image->columns)) || in ReadLABELImage() 207 if (image->columns == 0) in ReadLABELImage() [all …]
|
D | yuv.c | 145 if ((image->columns == 0) || (image->rows == 0)) in ReadYUVImage() 147 status=SetImageExtent(image,image->columns,image->rows,exception); in ReadYUVImage() 198 image->columns+2UL,quantum*sizeof(*scanline)); in ReadYUVImage() 200 scanline=(unsigned char *) AcquireQuantumMemory(image->columns, in ReadYUVImage() 206 chroma_image=CloneImage(image,(image->columns+horizontal_factor-1)/ in ReadYUVImage() 217 status=SetImageExtent(image,image->columns,image->rows,exception); in ReadYUVImage() 238 count=ReadBlob(image,(size_t) (2*quantum*image->columns),scanline); in ReadYUVImage() 240 q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); in ReadYUVImage() 244 chroma_image->columns,1,exception); in ReadYUVImage() 247 for (x=0; x < (ssize_t) image->columns; x+=2) in ReadYUVImage() [all …]
|
D | sgi.c | 82 columns, member 335 iris_info.columns=ReadBlobMSBShort(image); in ReadSGIImage() 353 image->columns=iris_info.columns; in ReadSGIImage() 367 status=SetImageExtent(image,image->columns,image->rows,exception); in ReadSGIImage() 374 number_pixels=(MagickSizeType) iris_info.columns*iris_info.rows; in ReadSGIImage() 378 pixel_info=AcquireVirtualMemory(iris_info.columns,iris_info.rows*4* in ReadSGIImage() 391 scanline=(unsigned char *) AcquireQuantumMemory(iris_info.columns, in ReadSGIImage() 400 count=ReadBlob(image,bytes_per_pixel*iris_info.columns,scanline); in ReadSGIImage() 404 for (x=0; x < (ssize_t) iris_info.columns; x++) in ReadSGIImage() 411 for (x=0; x < (ssize_t) iris_info.columns; x++) in ReadSGIImage() [all …]
|
D | mtv.c | 123 columns, in ReadMTVImage() local 147 count=(ssize_t) sscanf(buffer,"%lu %lu\n",&columns,&rows); in ReadMTVImage() 155 image->columns=columns; in ReadMTVImage() 161 status=SetImageExtent(image,image->columns,image->rows,exception); in ReadMTVImage() 167 pixels=(unsigned char *) AcquireQuantumMemory(image->columns, in ReadMTVImage() 173 count=(ssize_t) ReadBlob(image,(size_t) (3*image->columns),pixels); in ReadMTVImage() 174 if (count != (ssize_t) (3*image->columns)) in ReadMTVImage() 177 q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); in ReadMTVImage() 180 for (x=0; x < (ssize_t) image->columns; x++) in ReadMTVImage() 213 count=(ssize_t) sscanf(buffer,"%lu %lu\n",&columns,&rows); in ReadMTVImage() [all …]
|
D | sun.c | 329 image->columns=sun_info.width; in ReadSUNImage() 407 image->columns=sun_info.width; in ReadSUNImage() 414 status=SetImageExtent(image,image->columns,image->rows,exception); in ReadSUNImage() 419 number_pixels=(MagickSizeType) (image->columns*image->rows); in ReadSUNImage() 489 q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); in ReadSUNImage() 492 for (x=0; x < ((ssize_t) image->columns-7); x+=8) in ReadSUNImage() 502 if ((image->columns % 8) != 0) in ReadSUNImage() 504 for (bit=7; bit >= (int) (8-(image->columns % 8)); bit--) in ReadSUNImage() 512 if ((((image->columns/8)+(image->columns % 8 ? 1 : 0)) % 2) != 0) in ReadSUNImage() 529 q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); in ReadSUNImage() [all …]
|
D | ycbcr.c | 149 if ((image->columns == 0) || (image->rows == 0)) in ReadYCBCRImage() 151 status=SetImageExtent(image,image->columns,image->rows,exception); in ReadYCBCRImage() 211 status=SetImageExtent(image,image->columns,image->rows,exception); in ReadYCBCRImage() 237 q=GetAuthenticPixels(canvas_image,0,0,canvas_image->columns,1, in ReadYCBCRImage() 249 canvas_image->columns,1,exception); in ReadYCBCRImage() 251 image->columns,1,exception); in ReadYCBCRImage() 255 for (x=0; x < (ssize_t) image->columns; x++) in ReadYCBCRImage() 311 q=GetAuthenticPixels(canvas_image,0,0,canvas_image->columns,1, in ReadYCBCRImage() 323 0,canvas_image->columns,1,exception); in ReadYCBCRImage() 325 image->columns,1,exception); in ReadYCBCRImage() [all …]
|
D | cmyk.c | 142 if ((image->columns == 0) || (image->rows == 0)) in ReadCMYKImage() 201 status=SetImageExtent(image,image->columns,image->rows,exception); in ReadCMYKImage() 236 q=GetAuthenticPixels(canvas_image,0,0,canvas_image->columns,1, in ReadCMYKImage() 248 canvas_image->columns,1,exception); in ReadCMYKImage() 250 image->columns,1,exception); in ReadCMYKImage() 254 for (x=0; x < (ssize_t) image->columns; x++) in ReadCMYKImage() 322 q=GetAuthenticPixels(canvas_image,0,0,canvas_image->columns,1, in ReadCMYKImage() 334 0,canvas_image->columns,1,exception); in ReadCMYKImage() 336 image->columns,1,exception); in ReadCMYKImage() 340 for (x=0; x < (ssize_t) image->columns; x++) in ReadCMYKImage() [all …]
|
D | otb.c | 148 image->columns=(size_t) ReadBlobByte(image); in ReadOTBImage() 153 image->columns=(size_t) ReadBlobMSBShort(image); in ReadOTBImage() 156 if ((image->columns == 0) || (image->rows == 0)) in ReadOTBImage() 168 status=SetImageExtent(image,image->columns,image->rows,exception); in ReadOTBImage() 176 q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); in ReadOTBImage() 181 for (x=0; x < (ssize_t) image->columns; x++) in ReadOTBImage() 344 if ((image->columns >= 256) || (image->rows >= 256)) in WriteOTBImage() 347 if ((image->columns >= 256) || (image->rows >= 256)) in WriteOTBImage() 349 (void) WriteBlobMSBShort(image,(unsigned short) image->columns); in WriteOTBImage() 354 (void) WriteBlobByte(image,(unsigned char) image->columns); in WriteOTBImage() [all …]
|
D | flif.c | 204 image->columns=(size_t) flif_image_get_width(flifimage); in ReadFLIFImage() 217 q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); in ReadFLIFImage() 220 for (x=0; x < (ssize_t) image->columns; x++) in ReadFLIFImage() 408 columns, in WriteFLIFImage() local 427 if ((image->columns > 0xFFFF) || (image->rows > 0xFFFF)) in WriteFLIFImage() 440 columns=image->columns; in WriteFLIFImage() 446 flifimage=flif_create_image_HDR(image->columns,image->rows); in WriteFLIFImage() 447 length=sizeof(unsigned short)*4*image->columns; in WriteFLIFImage() 451 flifimage=flif_create_image(image->columns,image->rows); in WriteFLIFImage() 452 length=sizeof(unsigned char)*4*image->columns; in WriteFLIFImage() [all …]
|
/external/emma/core/java12/com/vladium/emma/report/txt/ |
D | ReportGenerator.java | 140 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/ImageMagick/MagickCore/ |
D | compare.c | 156 columns, in CompareImages() local 176 columns=MagickMax(image->columns,reconstruct_image->columns); in CompareImages() 179 geometry.width=columns; in CompareImages() 185 highlight_image=CloneImage(image,columns,rows,MagickTrue,exception); in CompareImages() 236 p=GetCacheViewVirtualPixels(image_view,0,y,columns,1,exception); in CompareImages() 237 q=GetCacheViewVirtualPixels(reconstruct_view,0,y,columns,1,exception); in CompareImages() 238 r=QueueCacheViewAuthenticPixels(highlight_view,0,y,columns,1,exception); in CompareImages() 245 for (x=0; x < (ssize_t) columns; x++) in CompareImages() 360 columns, in GetAbsoluteDistortion() local 372 columns=MagickMax(image->columns,reconstruct_image->columns); in GetAbsoluteDistortion() [all …]
|
D | matrix.c | 67 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() 507 *columns, in GaussJordanElimination() local 512 columns=(ssize_t *) AcquireQuantumMemory(rank,sizeof(*columns)); in GaussJordanElimination() 515 if ((rows == (ssize_t *) NULL) || (columns == (ssize_t *) NULL) || in GaussJordanElimination() 520 if (columns != (ssize_t *) NULL) in GaussJordanElimination() 521 columns=(ssize_t *) RelinquishMagickMemory(columns); in GaussJordanElimination() [all …]
|
D | resize.c | 1250 const size_t columns,const size_t rows,ExceptionInfo *exception) in AdaptiveResizeImage() argument 1255 resize_image=InterpolativeResizeImage(image,columns,rows,MeshInterpolatePixel, in AdaptiveResizeImage() 1666 const size_t columns,const size_t rows,const PixelInterpolateMethod method, in InterpolativeResizeImage() argument 1699 if ((columns == 0) || (rows == 0)) in InterpolativeResizeImage() 1701 if ((columns == image->columns) && (rows == image->rows)) in InterpolativeResizeImage() 1703 resize_image=CloneImage(image,columns,rows,MagickTrue,exception); in InterpolativeResizeImage() 1715 scale.x=(double) image->columns/resize_image->columns; in InterpolativeResizeImage() 1734 q=QueueCacheViewAuthenticPixels(resize_view,0,y,resize_image->columns,1, in InterpolativeResizeImage() 1739 for (x=0; x < (ssize_t) resize_image->columns; x++) in InterpolativeResizeImage() 1828 MagickExport Image *LiquidRescaleImage(const Image *image,const size_t columns, in LiquidRescaleImage() argument [all …]
|
/external/squashfs-tools/squashfs-tools/ |
D | progressbar.c | 49 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/sl4a/Common/src/com/googlecode/android_scripting/facade/ |
D | ContactsFacade.java | 104 String[] columns = cursor.getColumnNames(); in contactsGetAttributes() local 105 for (int i = 0; i < columns.length; i++) { in contactsGetAttributes() 106 result.add(columns[i]); in contactsGetAttributes() 117 String[] columns = { "_id" }; in contactsGetIds() local 118 Cursor cursor = mContentResolver.query(CONTACTS_URI, columns, null, null, null); in contactsGetIds() 132 String[] columns; in contactsGet() local 135 columns = new String[] { "_id", "name", "primary_phone", "primary_email", "type" }; in contactsGet() 138 columns = new String[attributes.length()]; in contactsGet() 140 columns[i] = attributes.getString(i); in contactsGet() 144 for (String s : columns) { in contactsGet() [all …]
|
/external/autotest/frontend/client/src/autotest/common/table/ |
D | DataTable.java | 52 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/apache-commons-math/src/main/java/org/apache/commons/math/linear/ |
D | OpenMapRealMatrix.java | 39 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/ |
D | mgk.c | 155 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 …]
|
/external/autotest/tko/ |
D | plotgraph | 5 ($file, $y_label, $columns, $title) = @ARGV; 8 die unless ($columns =~ /^1:\d+/); 11 plotgraph($file, $y_label, $columns, $title); 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/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/ |
D | CharsetSelector.java | 47 int columns = (encodings.length + 31) / 32; in generateSelectorData() local 50 for (int col = 0; col < columns; ++col) { in generateSelectorData() 78 for (int col = 0; col < columns; col++) { in generateSelectorData() 106 int columns = (encodings.length + 31) / 32; in selectForMask() local 107 int numOnes = countOnes(mask, columns); in selectForMask() 112 for (int j = 0; j < columns; j++) { in selectForMask() 197 int columns = (encodings.length + 31) / 32; in selectForString() local 198 int[] mask = new int[columns]; in selectForString() 199 for (int i = 0; i < columns; i++) { in selectForString() 209 if (intersectMasks(mask, pvIndex, columns)) { in selectForString()
|