Home
last modified time | relevance | path

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

12345678

/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/
DArrayProto.java47 protected final int dimensions; field in ArrayProto
64 dimensions = i; in ArrayProto()
70 @Nonnull @Override public String getType() { return makeArrayType(elementType, dimensions); } in getType()
71 public int getDimensions() { return dimensions; } in getDimensions()
84 if (dimensions > 1) { in getImmediateElementType()
85 return makeArrayType(elementType, dimensions-1); in getImmediateElementType()
104 if (dimensions == ((ArrayProto)other).dimensions && in getCommonSuperclass()
111 if (dimensions == ((ArrayProto)other).dimensions) { in getCommonSuperclass()
121 return classPath.getClass(makeArrayType(mergedClass.getType(), dimensions)); in getCommonSuperclass()
124 int dimensions = Math.min(this.dimensions, ((ArrayProto)other).dimensions); in getCommonSuperclass() local
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/ec2/cloudwatch/
Dmetric.py44 self.dimensions = None
51 self.dimensions = Dimension()
52 return self.dimensions
104 self.dimensions,
110 dimensions=None, alarm_actions=None, ok_actions=None, argument
127 if not dimensions:
128 dimensions = self.dimensions
132 unit, description, dimensions,
139 dimensions=None, unit=None): argument
167 dimensions,
D__init__.py137 unit=None, dimensions=None, statistics=None): argument
138 args = (name, value, unit, dimensions, statistics, timestamp)
157 if dimensions:
178 namespace, statistics, dimensions=None, argument
235 if dimensions:
236 self.build_dimension_param(dimensions, params)
242 def list_metrics(self, next_token=None, dimensions=None, argument
279 if dimensions:
280 self.build_dimension_param(dimensions, params)
289 unit=None, dimensions=None, statistics=None): argument
[all …]
Dalarm.py65 unit=None, description='', dimensions=None, argument
159 self.dimensions = dimensions
184 self.dimensions = Dimension()
185 return self.dimensions
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/integration/ec2/cloudwatch/
Dtest_connection.py119 c.build_put_params(params, name="N", value=1, dimensions={"D": "V"})
131 c.build_put_params(params, name=["N", "M"], value=[1, 2], dimensions={"D": "V"})
147 c.build_put_params(params, name="N", value=[1, 2], dimensions=[{"D": "V"}, {"D": "W"}])
164 dimensions = [OrderedDict((("D1", "V"), ("D2", "W")))]
168 dimensions=dimensions)
183 dimensions = OrderedDict((("D1", "V"), ("D2", "W")))
184 c.build_dimension_param(dimensions, params)
197 dimensions = OrderedDict((("D1", ["V1", "V2"]), ("D2", "W"), ("D3", None)))
198 c.build_dimension_param(dimensions, params)
267 self.assertEquals(alarms[0].dimensions, {u'Job': [u'ANiceCronJob']})
[all …]
/external/chromium-trace/catapult/telemetry/telemetry/internal/image_processing/
Dvideo.py126 dimensions = None
131 dimensions = line.split(',')[2]
132 dimensions = map(int, dimensions.split()[0].split('x'))
135 assert dimensions, ('Failed to determine video dimensions. output=%s' %
137 return dimensions
157 dimensions = GetDimensions(mp4_file)
158 frame_length = dimensions[0] * dimensions[1] * 3
172 image_util.FromRGBPixels(dimensions[0], dimensions[1], frame_data))
/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,
/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 …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/bin/
Dcwutil32 print "%-10s %-50s %s" % (m.namespace, m.name, m.dimensions)
34 def stats(namespace, metric_name, dimensions=None, statistics="Average", start_time=None, end_time=… argument
49 dimensions = _parse_dict(dimensions)
64 …tatistics(int(period), start_time, end_time, metric_name, namespace, statistics, dimensions, unit):
71 def put(namespace, metric_name, dimensions=None, value=None, unit=None, statistics=None, timestamp=… argument
88 dimensions = simplify(map(_parse_dict, dimensions.split(';'))) if dimensions else None,
/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 …]
/external/smali/smalidea/src/main/java/org/jf/smalidea/util/
DNameUtils.java89 int dimensions = 0; in javaToSmaliType() local
96 dimensions++; in javaToSmaliType()
99 if (dimensions > 0) { in javaToSmaliType()
100 StringBuilder sb = new StringBuilder(firstArrayChar + 2 + dimensions); in javaToSmaliType()
101 for (int i=0; i<dimensions; i++) { in javaToSmaliType()
260 int dimensions=0; in convertSmaliArrayToJava() local
261 while (smaliType.charAt(dimensions) == '[') { in convertSmaliArrayToJava()
262 dimensions++; in convertSmaliArrayToJava()
265 StringBuilder sb = new StringBuilder(smaliType.length() + dimensions); in convertSmaliArrayToJava()
266 convertAndAppendNonArraySmaliTypeToJava(smaliType.substring(dimensions), sb); in convertSmaliArrayToJava()
[all …]
/external/libgdx/gdx/src/com/badlogic/gdx/utils/
DBufferUtils.java238 …public static void transform (Buffer data, int dimensions, int strideInBytes, int count, Matrix4 m… in transform() argument
239 transform(data, dimensions, strideInBytes, count, matrix, 0); in transform()
249 …public static void transform (float[] data, int dimensions, int strideInBytes, int count, Matrix4 … in transform() argument
250 transform(data, dimensions, strideInBytes, count, matrix, 0); in transform()
261 …public static void transform (Buffer data, int dimensions, int strideInBytes, int count, Matrix4 m… in transform() argument
262 switch (dimensions) { in transform()
285 …public static void transform (float[] data, int dimensions, int strideInBytes, int count, Matrix4 … in transform() argument
286 switch (dimensions) { in transform()
308 …public static void transform (Buffer data, int dimensions, int strideInBytes, int count, Matrix3 m… in transform() argument
309 transform(data, dimensions, strideInBytes, count, matrix, 0); in transform()
[all …]
/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gwtref/client/
DReflectionCache.java45 int dimensions = 0; in convert() local
49 dimensions++; in convert()
51 c = className.charAt(dimensions); in convert()
53 char t = className.charAt(dimensions); in convert()
62 return className.substring(dimensions + 1, className.length() - 1).replace('$', '.') + suffix; in convert()
/external/skia/src/codec/
DSkAndroidCodec.cpp126 return fInfo.dimensions(); in getSampledDimensions()
133 if (!desiredSubset || !is_valid_subset(*desiredSubset, fInfo.dimensions())) { in getSupportedSubset()
154 if (fInfo.dimensions() == subset.size()) { in getSampledSubsetDimensions()
177 if (!is_valid_subset(*options->fSubset, fInfo.dimensions())) { in getAndroidPixels()
181 if (SkIRect::MakeSize(fInfo.dimensions()) == *options->fSubset) { in getAndroidPixels()
DSkWebpCodec.cpp109 SkISize dim = this->getInfo().dimensions(); in onGetScaledDimensions()
147 SkIRect dimensions = SkIRect::MakeSize(this->getInfo().dimensions()); in onGetValidSubset() local
148 if (!dimensions.contains(*desiredSubset)) { in onGetValidSubset()
177 SkIRect bounds = SkIRect::MakeSize(this->getInfo().dimensions()); in onGetPixels()
213 SkISize dstDimensions = dstInfo.dimensions(); in onGetPixels()
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/ec2/cloudwatch/
Dtest_connection.py48 dimensions = None
73 dimensions=dimensions,
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/decals/
DDecal.java56 protected Vector2 dimensions = new Vector2(); field in Decal
344 this.dimensions.x = width; in setWidth()
350 return this.dimensions.x; in getWidth()
357 this.dimensions.y = height; in setHeight()
363 return dimensions.y; in getHeight()
371 dimensions.set(width, height); in setDimensions()
502 float left = -dimensions.x / 2f; in resetVertices()
503 float right = left + dimensions.x; in resetVertices()
504 float top = dimensions.y / 2f; in resetVertices()
505 float bottom = top - dimensions.y; in resetVertices()
[all …]
/external/smali/smalidea/src/main/java/org/jf/smalidea/psi/impl/
DSmaliArrayTypeElement.java62 int dimensions = token.getTextLength() - 1; in getType() local
63 while (dimensions > 0) { in getType()
65 dimensions--; in getType()
/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/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/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()

12345678