Searched refs:dimensions (Results 1 - 25 of 80) sorted by relevance

1234

/external/jmonkeyengine/engine/src/networking/com/jme3/network/serializing/serializers/
H A DArraySerializer.java55 int[] dimensions = new int[depth];
56 dimensions[0] = Array.getLength(array);
57 if (depth > 1) collectDimensions(array, 1, dimensions);
58 return dimensions;
61 private void collectDimensions (Object array, int dimension, int[] dimensions) { argument
62 boolean elementsAreArrays = dimension < dimensions.length - 1;
66 dimensions[dimension] = Math.max(dimensions[dimension], Array.getLength(element));
67 if (elementsAreArrays) collectDimensions(element, dimension + 1, dimensions);
76 int[] dimensions
133 readArray(Serializer elementSerializer, Class elementClass, ByteBuffer buffer, Object array, int dimension, int[] dimensions) argument
[all...]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/
H A DArrayProto.java46 protected final int dimensions; field in class:ArrayProto
63 dimensions = i;
69 @Nonnull @Override public String getType() { return makeArrayType(elementType, dimensions); }
70 public int getDimensions() { return dimensions; }
83 if (dimensions > 1) {
84 return makeArrayType(elementType, dimensions-1);
103 if (dimensions == ((ArrayProto)other).dimensions &&
110 if (dimensions == ((ArrayProto)other).dimensions) {
147 makeArrayType(@onnull String elementType, int dimensions) argument
[all...]
/external/skia/src/pdf/
H A DSkPDFBitmap.h32 fBitmap.dimensions() == other.dimensions();
/external/mesa3d/src/mesa/main/
H A Dpbo.c66 _mesa_validate_pbo_access(GLuint dimensions, argument
106 start = _mesa_image_offset(dimensions, pack, width, height,
110 end = _mesa_image_offset(dimensions, pack, width, height,
176 GLuint dimensions,
183 ASSERT(dimensions == 1 || dimensions == 2 || dimensions == 3);
185 if (!_mesa_validate_pbo_access(dimensions, unpack, width, height, depth,
273 GLuint dimensions,
279 ASSERT(dimensions
175 _mesa_map_validate_pbo_source(struct gl_context *ctx, GLuint dimensions, const struct gl_pixelstore_attrib *unpack, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLsizei clientMemSize, const GLvoid *ptr, const char *where) argument
272 _mesa_map_validate_pbo_dest(struct gl_context *ctx, GLuint dimensions, const struct gl_pixelstore_attrib *unpack, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLsizei clientMemSize, GLvoid *ptr, const char *where) argument
331 _mesa_validate_pbo_teximage(struct gl_context *ctx, GLuint dimensions, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels, const struct gl_pixelstore_attrib *unpack, const char *funcName) argument
[all...]
H A Dpbo.h34 _mesa_validate_pbo_access(GLuint dimensions,
47 GLuint dimensions,
64 GLuint dimensions,
76 _mesa_validate_pbo_teximage(struct gl_context *ctx, GLuint dimensions,
H A Dteximage.c965 * Return number of dimensions per mipmap level for the given texture target.
1007 * and the dimensions.
1008 * The dimensions are expected not to include the border.
1621 unsigned dimensions)
1670 if (dimensions != 2)
1719 * \param dimensions texture image dimensions (must be 1, 2 or 3).
1739 GLuint dimensions, GLenum target,
1767 "glTexImage%dD(level=%d)", dimensions, level);
1777 "glTexImage%dD(border=%d)", dimensions, borde
1620 _mesa_es_error_check_format_and_type(GLenum format, GLenum type, unsigned dimensions) argument
1738 texture_error_check( struct gl_context *ctx, GLuint dimensions, GLenum target, GLint level, GLint internalFormat, GLenum format, GLenum type, GLint width, GLint height, GLint depth, GLint border ) argument
1969 compressed_texture_error_check(struct gl_context *ctx, GLint dimensions, GLenum target, GLint level, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize) argument
2146 subtexture_error_check( struct gl_context *ctx, GLuint dimensions, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint width, GLint height, GLint depth, GLenum format, GLenum type ) argument
2211 subtexture_error_check2( struct gl_context *ctx, GLuint dimensions, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint width, GLint height, GLint depth, GLenum format, GLenum type, const struct gl_texture_image *destTex ) argument
2325 copytexture_error_check( struct gl_context *ctx, GLuint dimensions, GLenum target, GLint level, GLint internalFormat, GLint width, GLint height, GLint border ) argument
2490 copytexsubimage_error_check1( struct gl_context *ctx, GLuint dimensions, GLenum target, GLint level) argument
2539 copytexsubimage_error_check2( struct gl_context *ctx, GLuint dimensions, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, const struct gl_texture_image *teximage ) argument
3594 compressed_subtexture_error_check(struct gl_context *ctx, GLint dimensions, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize) argument
[all...]
H A Dtexgetimage.c75 get_tex_depth(struct gl_context *ctx, GLuint dimensions, argument
101 void *dest = _mesa_image_address(dimensions, &ctx->Pack, pixels,
125 get_tex_depth_stencil(struct gl_context *ctx, GLuint dimensions, argument
146 void *dest = _mesa_image_address(dimensions, &ctx->Pack, pixels,
170 get_tex_ycbcr(struct gl_context *ctx, GLuint dimensions, argument
191 void *dest = _mesa_image_address(dimensions, &ctx->Pack, pixels,
223 get_tex_rgba_compressed(struct gl_context *ctx, GLuint dimensions, argument
300 void *dest = _mesa_image_address(dimensions, &ctx->Pack, pixels,
317 get_tex_rgba_uncompressed(struct gl_context *ctx, GLuint dimensions, argument
383 void *dest = _mesa_image_address(dimensions,
428 get_tex_rgba(struct gl_context *ctx, GLuint dimensions, GLenum format, GLenum type, GLvoid *pixels, struct gl_texture_image *texImage) argument
537 GLuint dimensions; local
704 const GLuint dimensions = (target == GL_TEXTURE_3D) ? 3 : 2; local
[all...]
H A Dimage.h42 _mesa_image_offset( GLuint dimensions,
49 _mesa_image_address( GLuint dimensions,
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/internal/performance/results/db/
H A DBuildResults.java38 Dim[] dimensions; field in class:BuildResults
212 * Returns the dimensions supported for the current build.
214 * @return An array of dimensions.
217 return this.dimensions;
244 if (this.dimensions == null) return -1;
245 int length = this.dimensions.length;
247 if (this.dimensions[i] == null) break;
248 if (this.dimensions[i].getId() == dim_id) {
407 this.dimensions = new Dim[length];
414 this.dimensions[
[all...]
H A DSQL_Results.java146 Dim[] dimensions = DB_Results.getResultsDimensions();
147 int length = dimensions.length;
155 buffer.append(dimensions[i].getId());
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/
H A DRawDataTable.java33 private Dim[] dimensions = DB_Results.getResultsDimensions(); field in class:RawDataTable
66 int length = this.dimensions.length;
69 buffer.append(this.dimensions[i].getName());
91 int dimLength = this.dimensions.length;
93 Dim dimension = this.dimensions[d];
116 int length = this.dimensions.length;
119 dimStats[i] = this.configResults.getStatistics(this.buildPrefixes, this.dimensions[i].getId());
124 String dimName = this.dimensions[i].getName();
152 int length = this.dimensions.length;
155 String dimName = this.dimensions[
[all...]
H A DScenarioData.java53 private Dim[] dimensions = DB_Results.getResultsDimensions(); field in class:ScenarioData
277 int dimLength = this.dimensions.length;
279 Dim dim = this.dimensions[d];
303 Dim dim = this.dimensions[d];
342 int dimLength = this.dimensions.length;
344 Dim dim = this.dimensions[d];
367 int dimLength = this.dimensions.length;
369 Dim currentDim = this.dimensions[d];
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/internal/performance/results/ui/
H A DPerformanceResultsPreferenceInitializer.java58 // Result dimensions
59 Dimension[] dimensions = PerformanceTestPlugin.getResultsDimensions();
60 int length = dimensions.length;
62 Dim dim = (Dim) dimensions[i];
/external/glide/library/src/main/java/com/bumptech/glide/
H A DListPreloader.java63 * Returns the dimensions of the view in the list where the resources will be displayed.
65 * Note - The dimensions returned here must precisely match those of the view in the list.
68 * @return The dimensions of the view where the item will be displayed
134 final int[] dimensions = getDimensions(item);
135 if (dimensions != null) {
136 getRequestBuilder(item).into(preloadTargetQueue.next(dimensions[0], dimensions[1]));
/external/skia/src/codec/
H A DSkCodec_wbmp.cpp115 if (info.dimensions() != this->getInfo().dimensions()) {
138 SkISize size = info.dimensions();
H A DSkCodec_libico.cpp195 * Chooses the best dimensions given the desired scale
198 // We set the dimensions to the largest candidate image by default.
202 return this->getInfo().dimensions();
222 return fEmbeddedCodecs->operator[](minIndex)->getInfo().dimensions();
233 // dimensions.
236 // If the dimensions match, try to decode
237 if (dstInfo.dimensions() ==
238 fEmbeddedCodecs->operator[](i)->getInfo().dimensions()) {
H A DSkCodec_libpng.cpp520 if (requestedInfo.dimensions() != this->getInfo().dimensions()) {
654 if (dstInfo.dimensions() != this->getInfo().dimensions()) {
/external/libvncserver/vncterm/
H A DLinuxVNC.c88 struct winsize dimensions; local
109 if(ioctl(tty_inject_device,TIOCGWINSZ,&dimensions)>=0) {
110 width=dimensions.ws_col;
111 height=dimensions.ws_row;
/external/skia/include/codec/
H A DSkCodec.h71 * @param dstInfo Info of the destination. If the dimensions do not match
116 return this->getInfo().dimensions();
127 * @param dstInfo Info of the destination. If the dimensions do not match
/external/mesa3d/src/gallium/auxiliary/postprocess/
H A Dpp_mlaa.c57 static unsigned int dimensions[2] = { 0, 0 }; variable
92 if (dimensions[0] != p->framebuffer.width ||
93 dimensions[1] != p->framebuffer.height) {
98 dimensions[0] = p->framebuffer.width;
99 dimensions[1] = p->framebuffer.height;
/external/mockito/cglib-and-asm/src/org/mockito/cglib/core/
H A DReflectUtils.java178 int dimensions = 0;
181 dimensions++;
183 StringBuffer brackets = new StringBuffer(className.length() - dimensions);
184 for (int i = 0; i < dimensions; i++) {
187 className = className.substring(0, className.length() - 2 * dimensions);
189 String prefix = (dimensions > 0) ? brackets + "L" : "";
190 String suffix = (dimensions > 0) ? ";" : "";
199 if (dimensions == 0) {
/external/deqp/modules/gles31/functional/
H A Des31fProgramInterfaceDefinition.cpp254 if (m_defaultBlock.interfaceBlocks[interfaceNdx].dimensions.size() > 1)
258 if (!m_defaultBlock.interfaceBlocks[interfaceNdx].dimensions.empty() && m_defaultBlock.interfaceBlocks[interfaceNdx].instanceName.empty())
355 if (m_defaultBlock.interfaceBlocks[interfaceNdx].storage == glu::STORAGE_IN && m_defaultBlock.interfaceBlocks[interfaceNdx].dimensions.empty())
377 if (m_defaultBlock.interfaceBlocks[interfaceNdx].storage == glu::STORAGE_IN && m_defaultBlock.interfaceBlocks[interfaceNdx].dimensions.empty())
380 if (m_defaultBlock.interfaceBlocks[interfaceNdx].storage == glu::STORAGE_OUT && m_defaultBlock.interfaceBlocks[interfaceNdx].dimensions.empty())
399 if (m_defaultBlock.interfaceBlocks[interfaceNdx].storage == glu::STORAGE_IN && m_defaultBlock.interfaceBlocks[interfaceNdx].dimensions.empty())
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/internal/performance/results/model/
H A DBuildResultsElement.java297 Dim[] dimensions = buildResults.getDimensions();
298 int length = dimensions.length;
301 this.children[i] = new DimResultsElement(this.results, this, dimensions[i]);
/external/mesa3d/src/gallium/auxiliary/tgsi/
H A Dtgsi_sanity.c42 /* max 2 dimensions */
43 uint dimensions : 4; member in struct:__anon11995
80 reg->dimensions = 1;
90 reg->dimensions = 2;
291 if (reg->dimensions == 2) {
/external/libvorbis/doc/
H A D08-residue.tex96 codebook dimensions = 8 encoded as: [ 0 1 2 3 4 5 6 7 ]
98 codebook dimensions = 4 encoded as: [ 0 2 4 6 ], [ 1 3 5 7 ]
100 codebook dimensions = 2 encoded as: [ 0 4 ], [ 1 5 ], [ 2 6 ], [ 3 7 ]
102 codebook dimensions = 1 encoded as: [ 0 ], [ 1 ], [ 2 ], [ 3 ], [ 4 ], [ 5 ], [ 6 ], [ 7 ]
125 codebook dimensions = 8 encoded as: [ 0 1 2 3 4 5 6 7 ]
127 codebook dimensions = 4 encoded as: [ 0 1 2 3 ], [ 4 5 6 7 ]
129 codebook dimensions = 2 encoded as: [ 0 1 ], [ 2 3 ], [ 4 5 ], [ 6 7 ]
131 codebook dimensions = 1 encoded as: [ 0 ], [ 1 ], [ 2 ], [ 3 ], [ 4 ], [ 5 ], [ 6 ], [ 7 ]
179 code classification codewords. The number of dimensions in book
182 codeword. Note that the number of entries and dimensions i
[all...]

Completed in 3370 milliseconds

1234