Home
last modified time | relevance | path

Searched refs:dimensions (Results 1 – 25 of 126) sorted by relevance

123456

/external/jmonkeyengine/engine/src/networking/com/jme3/network/serializing/serializers/
DArraySerializer.java55 int[] dimensions = new int[depth]; in getDimensions() local
56 dimensions[0] = Array.getLength(array); in getDimensions()
57 if (depth > 1) collectDimensions(array, 1, dimensions); in getDimensions()
58 return dimensions; in getDimensions()
61 private void collectDimensions (Object array, int dimension, int[] dimensions) { in collectDimensions() argument
62 boolean elementsAreArrays = dimension < dimensions.length - 1; in collectDimensions()
66 dimensions[dimension] = Math.max(dimensions[dimension], Array.getLength(element)); in collectDimensions()
67 if (elementsAreArrays) collectDimensions(element, dimension + 1, dimensions); in collectDimensions()
76 int[] dimensions = new int[dimensionCount];
78 dimensions[i] = data.getInt();
[all …]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/
DArrayProto.java46 protected final int dimensions; field in ArrayProto
63 dimensions = i; in ArrayProto()
69 @Nonnull @Override public String getType() { return makeArrayType(elementType, dimensions); } in getType()
70 public int getDimensions() { return dimensions; } in getDimensions()
83 if (dimensions > 1) { in getImmediateElementType()
84 return makeArrayType(elementType, dimensions-1); in getImmediateElementType()
103 if (dimensions == ((ArrayProto)other).dimensions && in getCommonSuperclass()
110 if (dimensions == ((ArrayProto)other).dimensions) { in getCommonSuperclass()
120 return classPath.getClass(makeArrayType(mergedClass.getType(), dimensions)); in getCommonSuperclass()
123 int dimensions = Math.min(this.dimensions, ((ArrayProto)other).dimensions); in getCommonSuperclass() local
[all …]
/external/mesa3d/src/mesa/main/
Dpbo.c66 _mesa_validate_pbo_access(GLuint dimensions, in _mesa_validate_pbo_access() argument
106 start = _mesa_image_offset(dimensions, pack, width, height, in _mesa_validate_pbo_access()
110 end = _mesa_image_offset(dimensions, pack, width, height, in _mesa_validate_pbo_access()
176 GLuint dimensions, in _mesa_map_validate_pbo_source() argument
183 ASSERT(dimensions == 1 || dimensions == 2 || dimensions == 3); in _mesa_map_validate_pbo_source()
185 if (!_mesa_validate_pbo_access(dimensions, unpack, width, height, depth, in _mesa_map_validate_pbo_source()
273 GLuint dimensions, in _mesa_map_validate_pbo_dest() argument
279 ASSERT(dimensions == 1 || dimensions == 2 || dimensions == 3); in _mesa_map_validate_pbo_dest()
281 if (!_mesa_validate_pbo_access(dimensions, unpack, width, height, depth, in _mesa_map_validate_pbo_dest()
331 _mesa_validate_pbo_teximage(struct gl_context *ctx, GLuint dimensions, in _mesa_validate_pbo_teximage() argument
[all …]
Dteximage.c1621 unsigned dimensions) in _mesa_es_error_check_format_and_type() argument
1670 if (dimensions != 2) in _mesa_es_error_check_format_and_type()
1739 GLuint dimensions, GLenum target, in texture_error_check() argument
1767 "glTexImage%dD(level=%d)", dimensions, level); in texture_error_check()
1777 "glTexImage%dD(border=%d)", dimensions, border); in texture_error_check()
1783 "glTexImage%dD(width, height or depth < 0)", dimensions); in texture_error_check()
1796 dimensions, in texture_error_check()
1802 err = _mesa_es_error_check_format_and_type(format, type, dimensions); in texture_error_check()
1806 dimensions, in texture_error_check()
1834 dimensions, level, width, height, depth); in texture_error_check()
[all …]
Dtexgetimage.c75 get_tex_depth(struct gl_context *ctx, GLuint dimensions, in get_tex_depth() argument
101 void *dest = _mesa_image_address(dimensions, &ctx->Pack, pixels, in get_tex_depth()
125 get_tex_depth_stencil(struct gl_context *ctx, GLuint dimensions, in get_tex_depth_stencil() argument
146 void *dest = _mesa_image_address(dimensions, &ctx->Pack, pixels, in get_tex_depth_stencil()
170 get_tex_ycbcr(struct gl_context *ctx, GLuint dimensions, in get_tex_ycbcr() argument
191 void *dest = _mesa_image_address(dimensions, &ctx->Pack, pixels, in get_tex_ycbcr()
223 get_tex_rgba_compressed(struct gl_context *ctx, GLuint dimensions, in get_tex_rgba_compressed() argument
300 void *dest = _mesa_image_address(dimensions, &ctx->Pack, pixels, in get_tex_rgba_compressed()
317 get_tex_rgba_uncompressed(struct gl_context *ctx, GLuint dimensions, in get_tex_rgba_uncompressed() argument
383 void *dest = _mesa_image_address(dimensions, &ctx->Pack, pixels, in get_tex_rgba_uncompressed()
[all …]
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,
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/
DBuildResults.java38 Dim[] dimensions; field in BuildResults
217 return this.dimensions; in getDimensions()
244 if (this.dimensions == null) return -1; in getDimIndex()
245 int length = this.dimensions.length; in getDimIndex()
247 if (this.dimensions[i] == null) break; in getDimIndex()
248 if (this.dimensions[i].getId() == dim_id) { in getDimIndex()
407 this.dimensions = new Dim[length]; in readData()
414 this.dimensions[i] = (Dim) PerformanceTestPlugin.getDimension(dimId); in readData()
462 if (this.dimensions == null){ in setValue()
463 this.dimensions = new Dim[length]; in setValue()
[all …]
DSQL_Results.java146 Dim[] dimensions = DB_Results.getResultsDimensions(); in queryDimScalars() local
147 int length = dimensions.length; in queryDimScalars()
155 buffer.append(dimensions[i].getId()); in queryDimScalars()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/
DRawDataTable.java33 private Dim[] dimensions = DB_Results.getResultsDimensions(); field in RawDataTable
66 int length = this.dimensions.length; in printColumnHeaders()
69 buffer.append(this.dimensions[i].getName()); in printColumnHeaders()
91 int dimLength = this.dimensions.length; in printDetails()
93 Dim dimension = this.dimensions[d]; in printDetails()
116 int length = this.dimensions.length; in printSummary()
119 dimStats[i] = this.configResults.getStatistics(this.buildPrefixes, this.dimensions[i].getId()); in printSummary()
124 String dimName = this.dimensions[i].getName(); in printSummary()
152 int length = this.dimensions.length; in printRowDoubles()
155 String dimName = this.dimensions[i].getName(); in printRowDoubles()
[all …]
DScenarioData.java53 private Dim[] dimensions = DB_Results.getResultsDimensions(); field in ScenarioData
277 int dimLength = this.dimensions.length; in printSummary()
279 Dim dim = this.dimensions[d]; in printSummary()
303 Dim dim = this.dimensions[d]; in printSummary()
342 int dimLength = this.dimensions.length; in printTableLine()
344 Dim dim = this.dimensions[d]; in printTableLine()
367 int dimLength = this.dimensions.length; in printDifferenceLine()
369 Dim currentDim = this.dimensions[d]; in printDifferenceLine()
/external/glide/library/src/main/java/com/bumptech/glide/
DListPreloader.java134 final int[] dimensions = getDimensions(item); in preloadItem() local
135 if (dimensions != null) { in preloadItem()
136 getRequestBuilder(item).into(preloadTargetQueue.next(dimensions[0], dimensions[1])); in preloadItem()
/external/libvncserver/vncterm/
DLinuxVNC.c88 struct winsize dimensions; in main() local
109 if(ioctl(tty_inject_device,TIOCGWINSZ,&dimensions)>=0) { in main()
110 width=dimensions.ws_col; in main()
111 height=dimensions.ws_row; in main()
/external/skia/src/pdf/
DSkPDFBitmap.h32 fBitmap.dimensions() == other.dimensions(); in equals()
/external/mockito/cglib-and-asm/src/org/mockito/cglib/core/
DReflectUtils.java178 int dimensions = 0; in getClass() local
181 dimensions++; in getClass()
183 StringBuffer brackets = new StringBuffer(className.length() - dimensions); in getClass()
184 for (int i = 0; i < dimensions; i++) { in getClass()
187 className = className.substring(0, className.length() - 2 * dimensions); in getClass()
189 String prefix = (dimensions > 0) ? brackets + "L" : ""; in getClass()
190 String suffix = (dimensions > 0) ? ";" : ""; in getClass()
199 if (dimensions == 0) { in getClass()
/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/
DPerformanceResultsPreferenceInitializer.java59 Dimension[] dimensions = PerformanceTestPlugin.getResultsDimensions(); in initializeDefaultPreferences() local
60 int length = dimensions.length; in initializeDefaultPreferences()
62 Dim dim = (Dim) dimensions[i]; in initializeDefaultPreferences()
/external/skia/src/codec/
DSkCodec_libico.cpp202 return this->getInfo().dimensions(); in onGetScaledDimensions()
222 return fEmbeddedCodecs->operator[](minIndex)->getInfo().dimensions(); in onGetScaledDimensions()
237 if (dstInfo.dimensions() == in onGetPixels()
238 fEmbeddedCodecs->operator[](i)->getInfo().dimensions()) { in onGetPixels()
DSkCodec_wbmp.cpp115 if (info.dimensions() != this->getInfo().dimensions()) { in onGetPixels()
138 SkISize size = info.dimensions(); in onGetPixels()
/external/mesa3d/src/gallium/auxiliary/postprocess/
Dpp_mlaa.c57 static unsigned int dimensions[2] = { 0, 0 }; variable
92 if (dimensions[0] != p->framebuffer.width || in pp_jimenezmlaa_run()
93 dimensions[1] != p->framebuffer.height) { in pp_jimenezmlaa_run()
98 dimensions[0] = p->framebuffer.width; in pp_jimenezmlaa_run()
99 dimensions[1] = p->framebuffer.height; in pp_jimenezmlaa_run()
/external/deqp/modules/gles31/functional/
Des31fProgramInterfaceDefinitionUtil.cpp113 …tic bool incrementMultiDimensionIndex (std::vector<int>& index, const std::vector<int>& dimensions) in incrementMultiDimensionIndex() argument
119 if (++index[incrementDimensionNdx] == dimensions[incrementDimensionNdx]) in incrementMultiDimensionIndex()
367 for (int dimensionNdx = 0; dimensionNdx < (int)interfaceBlock.dimensions.size(); ++dimensionNdx) in writeInterfaceBlock()
368 buf << "[" << interfaceBlock.dimensions[dimensionNdx] << "]"; in writeInterfaceBlock()
510 if (block.dimensions.empty()) in writeInterfaceReadAccumulateExpression()
527 std::vector<int> index(block.dimensions.size(), 0); in writeInterfaceReadAccumulateExpression()
536 for (int dimensionNdx = 0; dimensionNdx < (int)block.dimensions.size(); ++dimensionNdx) in writeInterfaceReadAccumulateExpression()
552 if (!incrementMultiDimensionIndex(index, block.dimensions)) in writeInterfaceReadAccumulateExpression()
643 if (block.dimensions.empty()) in writeInterfaceWriteExpression()
660 std::vector<int> index(block.dimensions.size(), 0); in writeInterfaceWriteExpression()
[all …]
Des31fProgramInterfaceDefinition.cpp254 if (m_defaultBlock.interfaceBlocks[interfaceNdx].dimensions.size() > 1) in isValid()
258 …if (!m_defaultBlock.interfaceBlocks[interfaceNdx].dimensions.empty() && m_defaultBlock.interfaceBl… in isValid()
355 …Ndx].storage == glu::STORAGE_IN && m_defaultBlock.interfaceBlocks[interfaceNdx].dimensions.empty()) in isValid()
377 …Ndx].storage == glu::STORAGE_IN && m_defaultBlock.interfaceBlocks[interfaceNdx].dimensions.empty()) in isValid()
380 …dx].storage == glu::STORAGE_OUT && m_defaultBlock.interfaceBlocks[interfaceNdx].dimensions.empty()) in isValid()
399 …Ndx].storage == glu::STORAGE_IN && m_defaultBlock.interfaceBlocks[interfaceNdx].dimensions.empty()) in isValid()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.eclipse.test.performance_3.6.0.v20091014.jar ... .internal.performance.data.Dim[] dimensions java.util.List badDimensions long n java. ...
/external/libvorbis/doc/
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 in book
[all …]
/external/proguard/src/proguard/classfile/util/
DClassUtil.java254 int dimensions = 0; in internalArrayTypeDimensionCount() local
255 while (internalType.charAt(dimensions) == ClassConstants.TYPE_ARRAY) in internalArrayTypeDimensionCount()
257 dimensions++; in internalArrayTypeDimensionCount()
260 return dimensions; in internalArrayTypeDimensionCount()
696 int dimensions = 0; in externalArrayTypeDimensionCount() local
704 dimensions++; in externalArrayTypeDimensionCount()
708 return dimensions; in externalArrayTypeDimensionCount()
/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_sanity.c43 uint dimensions : 4; member
80 reg->dimensions = 1; in fill_scan_register1d()
90 reg->dimensions = 2; in fill_scan_register2d()
291 if (reg->dimensions == 2) { in check_register_usage()

123456