HomeSort by relevance Sort by last modified time
    Searched refs:sizes (Results 26 - 50 of 1211) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/strace/tests-m32/
pkey_mprotect.c 61 static const kernel_ulong_t sizes[] = { local
94 for (j = 0; j < ARRAY_SIZE(sizes); j++) {
98 ptrs[i], sizes[j],
103 (unsigned long long) sizes[j],
  /external/strace/tests-mx32/
pkey_mprotect.c 61 static const kernel_ulong_t sizes[] = { local
94 for (j = 0; j < ARRAY_SIZE(sizes); j++) {
98 ptrs[i], sizes[j],
103 (unsigned long long) sizes[j],
  /packages/apps/Camera2/src/com/android/camera/settings/
ListPreferenceFiller.java 29 public void fill(List<Size> sizes, ListPreference preference);
CameraPictureSizesCacher.java 31 * Facilitates caching of camera supported picture sizes, which is slow
39 * Opportunistically update the picture sizes cache, if needed.
41 * @param cameraId cameraID we have sizes for.
42 * @param sizes List of valid sizes.
44 public static void updateSizesForCamera(Context context, int cameraId, List<Size> sizes) {
53 editor.putString(key_sizes, Size.listToString(sizes));
59 * Return list of Sizes for provided cameraId. Check first to see if we
62 * before calling or null will be returned if sizes were not previously
65 * @param cameraId cameraID we would like sizes for
88 List<Size> sizes = Size.buildListFromCameraSizes(thisCamera.getParameters() local
    [all...]
ResolutionUtil.java 78 * A resolution bucket holds a list of sizes that are of a given aspect
84 * This is a sorted list of sizes, going from largest to smallest.
86 public List<Size> sizes = new LinkedList<Size>(); field in class:ResolutionUtil.ResolutionBucket
88 * This is the head of the sizes array.
99 * into the sizes array and update appropriate members.
104 sizes.add(size);
105 Collections.sort(sizes, new Comparator<Size>() {
113 maxPixels = sizes.get(0).width() * sizes.get(0).height();
118 * Given a list of camera sizes, this uses some heuristics to decide whic
    [all...]
  /packages/apps/Camera2/src/com/android/camera/util/
Size.java 151 public static Size[] convert(android.util.Size[] sizes) {
152 Size[] converted = new Size[sizes.length];
153 for (int i = 0; i < sizes.length; ++i) {
154 converted[i] = new Size(sizes[i].getWidth(), sizes[i].getHeight());
159 public static List<Size> convert(List<com.android.ex.camera2.portability.Size> sizes) {
160 ArrayList<Size> converted = new ArrayList<>(sizes.size());
161 for (com.android.ex.camera2.portability.Size size : sizes) {
170 * @param sizes List of this class to encode.
173 public static String listToString(List<Size> sizes) {
    [all...]
  /external/eigen/bench/tensors/
tensor_benchmarks.h 48 Eigen::array<TensorIndex, 2> sizes; local
50 sizes[0] = m_;
51 sizes[1] = k_;
53 sizes[0] = m_ * sizeof(T) / sizeof(int);
54 sizes[1] = k_ * sizeof(T) / sizeof(int);
56 const TensorMap<Tensor<int, 2, 0, TensorIndex>, Eigen::Aligned> A((int*)a_, sizes);
57 TensorMap<Tensor<T, 2, 0, TensorIndex>, Eigen::Aligned> B(b_, sizes);
69 Eigen::array<TensorIndex, 2> sizes; local
70 sizes[0] = m_;
71 sizes[1] = m_
84 Eigen::array<TensorIndex, 2> sizes; local
258 Eigen::array<TensorIndex, 2> sizes; local
276 Eigen::array<TensorIndex, 2> sizes; local
294 Eigen::array<TensorIndex, 2> sizes; local
    [all...]
  /external/regex-re2/benchlog/
mktable 21 @sizes = (
48 for(my $i=0; $i<@sizes; $i++) {
49 my $key = sprintf("%s%s/%s", $name, $who, $sizes[$i]);
62 my $n = @sizes;
65 for($i=0; $i<@sizes; $i+=3) {
66 printf JGR " hash_at $i hash_label at $i : $sizes[$i]\n";
  /packages/apps/Camera2/src/com/android/camera/
CaptureModuleUtil.java 55 public static Size getOptimalPreviewSize(Size[] sizes,double targetRatio) {
56 return getOptimalPreviewSize(sizes, targetRatio, null);
61 * the available preview sizes, the target aspect ratio (typically the
65 public static Size getOptimalPreviewSize(Size[] sizes,
70 // Count sizes with height <= 1080p to mimic camera1 api behavior.
72 for (Size s : sizes) {
79 // Set array of all sizes with height <= 1080p
80 for (Size s : sizes) {
95 for (Size s : sizes) {
  /external/llvm/unittests/DebugInfo/DWARF/
DWARFFormValueTest.cpp 26 ArrayRef<uint8_t> sizes = DWARFFormValue::getFixedFormSizes(4, 2); local
27 EXPECT_EQ(sizes[DW_FORM_addr], sizes[DW_FORM_ref_addr]);
28 sizes = DWARFFormValue::getFixedFormSizes(8, 2);
29 EXPECT_EQ(sizes[DW_FORM_addr], sizes[DW_FORM_ref_addr]);
30 sizes = DWARFFormValue::getFixedFormSizes(8, 3);
31 EXPECT_EQ(4, sizes[DW_FORM_ref_addr]);
32 // Check that we don't have fixed form sizes for weird address sizes
    [all...]
  /external/mesa3d/src/mesa/drivers/dri/i965/
brw_fs_validate.cpp 47 alloc.sizes[inst->dst.nr]);
53 alloc.sizes[inst->src[i].nr]);
  /external/skia/src/sksl/ast/
SkSLASTParameter.h 21 // 'sizes' is a list of the array sizes appearing on a parameter, in source order.
22 // e.g. int x[3][1] would have sizes [3, 1].
24 String name, std::vector<int> sizes)
29 , fSizes(std::move(sizes)) {}
  /external/autotest/client/site_tests/hardware_MemoryThroughput/
hardware_MemoryThroughput.py 23 def _run_benchmarks(self, test, warmup, num_iterations, parallel, sizes):
33 sizes: list of integer sizes in bytes to run
37 for size in sizes:
72 parallel=1, sizes= [ 4096, 192 * 1024, 32 * 1024 * 1024 ]):
74 sizes)
  /prebuilts/go/darwin-x86/src/crypto/dsa/
dsa_test.go 26 func testParameterGeneration(t *testing.T, sizes ParameterSizes, L, N int) {
30 err := GenerateParameters(params, rand.Reader, sizes)
32 t.Errorf("%d: %s", int(sizes), err)
37 t.Errorf("%d: params.BitLen got:%d want:%d", int(sizes), params.P.BitLen(), L)
41 t.Errorf("%d: q.BitLen got:%d want:%d", int(sizes), params.Q.BitLen(), L)
49 t.Errorf("%d: p-1 mod q != 0", int(sizes))
53 t.Errorf("%d: invalid generator", int(sizes))
62 testSignAndVerify(t, int(sizes), &priv)
  /prebuilts/go/linux-x86/src/crypto/dsa/
dsa_test.go 26 func testParameterGeneration(t *testing.T, sizes ParameterSizes, L, N int) {
30 err := GenerateParameters(params, rand.Reader, sizes)
32 t.Errorf("%d: %s", int(sizes), err)
37 t.Errorf("%d: params.BitLen got:%d want:%d", int(sizes), params.P.BitLen(), L)
41 t.Errorf("%d: q.BitLen got:%d want:%d", int(sizes), params.Q.BitLen(), L)
49 t.Errorf("%d: p-1 mod q != 0", int(sizes))
53 t.Errorf("%d: invalid generator", int(sizes))
62 testSignAndVerify(t, int(sizes), &priv)
  /external/autotest/client/deps/glbench/src/
texturetest.cc 85 const int sizes[] = { 32, 128, 256, 512, 768, 1024, 1536, 2048 }; local
86 for (unsigned int j = 0; j < arraysize(sizes); j++) {
88 if (g_hasty && sizes[j] > 512)
93 base::IntToString(sizes[j]);
95 width_ = height_ = sizes[j];
  /prebuilts/go/darwin-x86/src/go/types/
sizes_test.go 5 // This file contains tests for sizes.
53 sizes := types.StdSizes{WordSize: 4, MaxAlign: 4}
54 if got := sizes.Sizeof(ts); got != 20 {
57 sizes = types.StdSizes{WordSize: 8, MaxAlign: 8}
58 if got := sizes.Sizeof(ts); got != 40 {
74 sizes := &types.StdSizes{WordSize: 4, MaxAlign: 8}
80 offsets := sizes.Offsetsof(fields)
102 Sizes: &types.StdSizes{WordSize: 8, MaxAlign: 8},
109 _ = conf.Sizes.Sizeof(tv.Type)
110 _ = conf.Sizes.Alignof(tv.Type
    [all...]
  /prebuilts/go/linux-x86/src/go/types/
sizes_test.go 5 // This file contains tests for sizes.
53 sizes := types.StdSizes{WordSize: 4, MaxAlign: 4}
54 if got := sizes.Sizeof(ts); got != 20 {
57 sizes = types.StdSizes{WordSize: 8, MaxAlign: 8}
58 if got := sizes.Sizeof(ts); got != 40 {
74 sizes := &types.StdSizes{WordSize: 4, MaxAlign: 8}
80 offsets := sizes.Offsetsof(fields)
102 Sizes: &types.StdSizes{WordSize: 8, MaxAlign: 8},
109 _ = conf.Sizes.Sizeof(tv.Type)
110 _ = conf.Sizes.Alignof(tv.Type
    [all...]
  /external/skia/src/gpu/effects/
GrYUVEffect.cpp 67 sk_sp<GrTextureProxy> vProxy, const SkISize sizes[3],
70 w[0] = SkIntToScalar(sizes[0].fWidth);
71 h[0] = SkIntToScalar(sizes[0].fHeight);
72 w[1] = SkIntToScalar(sizes[1].fWidth);
73 h[1] = SkIntToScalar(sizes[1].fHeight);
74 w[2] = SkIntToScalar(sizes[2].fWidth);
75 h[2] = SkIntToScalar(sizes[2].fHeight);
82 ((sizes[1].fWidth != sizes[0].fWidth) ||
83 (sizes[1].fHeight != sizes[0].fHeight) |
    [all...]
  /packages/apps/DevCamera/src/com/android/devcamera/
CameraDeviceReport.java 165 Log.v(TAG, "output sizes for format " + formats[i] +
168 Size[] sizes = map.getOutputSizes(formats[i]); local
169 if (sizes != null) {
171 for (int j = 0; j < sizes.length; j++) {
173 sizes[j].toString(),
174 map.getOutputStallDuration(formats[i], sizes[j]) / 1000000,
175 map.getOutputMinFrameDuration(formats[i], sizes[j]) / 1000000
186 Size[] sizes = map.getInputSizes(formats[i]); local
187 Log.v(TAG, "input sizes for format " + formats[i] + " = ImageFormat."
188 + getFormatName(formats[i]) + " are: " + sizesToString(sizes));
193 Size[] sizes = map.getOutputSizes(SurfaceHolder.class); local
198 Size[] sizes = map.getOutputSizes(SurfaceTexture.class); local
204 Size[] sizes = p.get(CameraCharacteristics.JPEG_AVAILABLE_THUMBNAIL_SIZES); local
    [all...]
  /frameworks/base/core/tests/coretests/src/android/text/
DynamicLayoutBlocksTest.java 78 private void assertState(int[] sizes, int[] indices) {
81 assertEquals(sizes.length, dl.getNumberOfBlocks());
84 int[] ends = new int[sizes.length];
86 ends[i] = i == 0 ? (sizes[0] == 0 ? 0 : sizes[0] - 1) : ends[i - 1] + sizes[i];
95 private void assertState(int[] sizes) {
96 int[] ids = new int[sizes.length];
97 for (int i = 0; i < sizes.length; i++) {
100 assertState(sizes, ids)
    [all...]
  /frameworks/ml/nn/common/operations/
Conv2D.cpp 42 im2colDim.sizes[3] = (int)getSizeOfDimension(outputShape, 0); \
43 im2colDim.sizes[2] = (int)getSizeOfDimension(outputShape, 1); \
44 im2colDim.sizes[1] = (int)getSizeOfDimension(outputShape, 2); \
45 im2colDim.sizes[0] = (int)inDepth * filterHeight * filterWidth; \
49 im2colDim.strides[i] = im2colDim.strides[i-1] * im2colDim.sizes[i-1]; \
55 im2colByteSize *= im2colDim.sizes[i]; \
  /build/make/tools/
compare_fileslist.py 47 for fn,sizes in data.iteritems():
50 if sizes.has_key(i):
51 row.append(sizes[i])
  /external/libcxx/test/std/numerics/numarray/template.gslice.array/gslice.array.assign/
gslice_array.pass.cpp 33 typedef std::valarray<std::size_t> sizes; typedef
35 v1[std::gslice(3, sizes(sz, sizeof(sz)/sizeof(sz[0])),
37 = v2[std::gslice(3, sizes(sz, sizeof(sz)/sizeof(sz[0])),
  /prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/numarray/template.gslice.array/gslice.array.assign/
gslice_array.pass.cpp 33 typedef std::valarray<std::size_t> sizes; typedef
35 v1[std::gslice(3, sizes(sz, sizeof(sz)/sizeof(sz[0])),
37 = v2[std::gslice(3, sizes(sz, sizeof(sz)/sizeof(sz[0])),

Completed in 1257 milliseconds

12 3 4 5 6 7 8 91011>>