/external/libdrm/radeon/ |
radeon_cs_space.c | 45 static inline int radeon_cs_setup_bo(struct radeon_cs_space_check *sc, struct rad_sizes *sizes) 74 sizes->op_vram_write += bo->size; 76 sizes->op_gart_write += bo->size; 79 sizes->op_read += bo->size; 92 sizes->op_read -= bo->size; 93 sizes->op_vram_write += bo->size; 95 sizes->op_read -= bo->size; 96 sizes->op_gart_write += bo->size; 117 struct rad_sizes sizes; local 125 memset(&sizes, 0, sizeof(struct rad_sizes)) [all...] |
/external/tensorflow/tensorflow/core/kernels/ |
reshape_op.h | 37 const Tensor& sizes = context->input(1); variable 38 // Preliminary validation of sizes. 39 OP_REQUIRES(context, IsLegacyVector(sizes.shape()), 40 errors::InvalidArgument("sizes input must be 1-D, not ", 41 sizes.shape().DebugString())); 48 switch (sizes.dtype()) { 50 OP_REQUIRES_OK(context, ValidateSizes<int32>(sizes, &product, 54 OP_REQUIRES_OK(context, ValidateSizes<int64>(sizes, &product, 60 DataTypeString(sizes.dtype()))); 68 "input sizes are non-zero")) [all...] |
slice_op_test.cc | 51 Tensor sizes(DT_INT32, TensorShape({2})); 52 sizes.flat<int32>()(0) = kDim; 53 sizes.flat<int32>()(1) = size; 62 .Input(test::graph::Constant(g, sizes))
|
/external/tensorflow/tensorflow/core/kernels/neon/ |
types.h | 27 int sizes[N]; member in struct:tensorflow::neon::Dims 32 DCHECK(i0 >= 0 && i0 < dims.sizes[0]); 33 DCHECK(i1 >= 0 && i1 < dims.sizes[1]); 34 DCHECK(i2 >= 0 && i2 < dims.sizes[2]); 35 DCHECK(i3 >= 0 && i3 < dims.sizes[3]); 44 return array.sizes[index]; 65 max_offset += (dims.sizes[i] - 1) * dims.strides[i];
|
/external/tensorflow/tensorflow/examples/android/src/org/tensorflow/demo/env/ |
Size.java | 82 public static List<Size> sizeStringToList(final String sizes) { 84 if (sizes != null) { 85 final String[] pairs = sizes.split(","); 96 public static String sizeListToString(final List<Size> sizes) { 98 if (sizes != null && sizes.size() > 0) { 99 sizesString = sizes.get(0).toString(); 100 for (int i = 1; i < sizes.size(); i++) { 101 sizesString += "," + sizes.get(i).toString();
|
/packages/apps/Camera2/src/com/android/camera/settings/ |
PictureSizeLoader.java | 37 * Loads the camera picture sizes that can be set by the user. 45 * Holds the sizes for the back- and front cameras which will be available 77 * @param context used to load caches sizes from preferences. 86 * @param context used to load caches sizes from preferences. 88 * sizes. If the cache is empty, this will NOT attempt to open 89 * the camera devices in order to obtain the sizes. 101 * Computes the list of picture sizes that should be displayed by settings. 104 * sizes, if the sizes are not already cached. This is to be compatible with 122 List<Size> sizes; local [all...] |
ListPreferenceFiller.java | 29 public void fill(List<Size> sizes, ListPreference preference);
|
/external/pdfium/third_party/libtiff/ |
tif_flush.c | 50 uint64 *offsets=NULL, *sizes=NULL; local 55 && TIFFGetField( tif, TIFFTAG_TILEBYTECOUNTS, &sizes ) 59 tif->tif_dir.td_nstrips, sizes ) ) 69 && TIFFGetField( tif, TIFFTAG_STRIPBYTECOUNTS, &sizes ) 73 tif->tif_dir.td_nstrips, sizes ) )
|
/external/tensorflow/tensorflow/contrib/lite/kernels/internal/optimized/ |
cblas_conv.h | 72 int m = gemm_input_dims->sizes[1] * gemm_input_dims->sizes[2] * 73 gemm_input_dims->sizes[3]; 74 int n = output_dims.sizes[0]; 75 int k = gemm_input_dims->sizes[0];
|
/external/tensorflow/tensorflow/core/framework/ |
tracking_allocator_test.cc | 78 std::tuple<size_t, size_t, size_t> sizes = ta->GetSizes(); local 80 EXPECT_EQ(16, std::get<0>(sizes)); 81 EXPECT_EQ(0, std::get<1>(sizes)); 82 EXPECT_EQ(0, std::get<2>(sizes)); 102 sizes = ta->GetSizes(); 104 EXPECT_LE(16, std::get<0>(sizes)); 105 EXPECT_LE(12, std::get<1>(sizes)); 106 EXPECT_LE(12, std::get<2>(sizes)); 127 std::tuple<size_t, size_t, size_t> sizes = ta->GetSizes(); local 129 EXPECT_EQ(16, std::get<0>(sizes)); 152 std::tuple<size_t, size_t, size_t> sizes = ta->GetSizes(); local 170 std::tuple<size_t, size_t, size_t> sizes = ta->GetSizes(); local [all...] |
tensor_util.h | 44 // Splits 'tensor' into 'sizes.size()' individual tensors, along the 0th 45 // dimension. The ith output tensor has 0th-dimension size 'sizes[i]'. 48 // REQUIRES: 'tensor.dim_size(0)' must equal the sum of the elements of 'sizes'. 54 Status Split(const Tensor& tensor, const gtl::ArraySlice<int64>& sizes,
|
/external/tensorflow/tensorflow/python/ops/ |
nn_xent_test.py | 46 def _Inputs(self, x=None, y=None, dtype=dtypes.float64, sizes=None): 50 sizes = sizes if sizes else [len(x)] 51 logits = constant_op.constant(x, shape=sizes, dtype=dtype, name="logits") 52 targets = constant_op.constant(y, shape=sizes, dtype=dtype, name="targets") 53 losses = np.array(self._SigmoidCrossEntropyWithLogits(x, y)).reshape(*sizes) 78 logits, targets, losses = self._Inputs(dtype=dtype, sizes=[2, 2, 2]) 86 sizes = [4, 2] 88 logits, targets, _ = self._Inputs(sizes=sizes [all...] |
/external/python/cpython3/Tools/msi/ |
generate_md5.py | 6 filenames, hashes, sizes = [], [], [] 18 sizes.append(str(len(data))) 21 for f, h, s in zip(filenames, hashes, sizes):
|
/external/v8/src/arm64/ |
cpu-arm64.cc | 47 // Sizes will be used to generate a mask big enough to cover a pointer. 48 CacheLineSizes sizes; local 49 uintptr_t dsize = sizes.dcache_line_size(); 50 uintptr_t isize = sizes.icache_line_size(); 51 // Cache line sizes are always a power of 2.
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
SizeAreaComparator.java | 62 * @param sizes a non-{@code null} list of non-{@code null} sizes 65 * @throws NullPointerException if {@code sizes} or any elements in it were {@code null} 67 public static Camera.Size findLargestByArea(List<Camera.Size> sizes) { 68 checkNotNull(sizes, "sizes must not be null"); 70 return Collections.max(sizes, new SizeAreaComparator());
|
/frameworks/base/core/java/android/hardware/camera2/utils/ |
SizeAreaComparator.java | 61 * @param sizes a non-{@code null} list of non-{@code null} sizes 64 * @throws NullPointerException if {@code sizes} or any elements in it were {@code null} 66 public static Size findLargestByArea(List<Size> sizes) { 67 checkNotNull(sizes, "sizes must not be null"); 69 return Collections.max(sizes, new SizeAreaComparator());
|
/external/mesa3d/src/gallium/auxiliary/vl/ |
vl_mpeg12_bitstream.h | 54 const unsigned *sizes);
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/mdat/ |
SampleList.java | 19 long[] sizes; field in class:SampleList 55 sizes = new long[l2i(sampleSizeBox.getSampleCount())]; 56 Arrays.fill(sizes, sampleSizeBox.getSampleSize()); 58 sizes = sampleSizeBox.getSampleSizes(); 60 offsets = new long[sizes.length]; 66 long sampleSize = sizes[sampleIndex]; 90 if (sizes == null || offsets == null) { 91 sizes = new long[0]; 98 // We have now a map from all sample offsets to their sizes 105 long[] nuSizes = new long[sizes.length + keys.size()] [all...] |
/external/strace/tests/ |
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-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],
|
/external/tensorflow/tensorflow/core/platform/ |
variant_coding.cc | 41 std::vector<uint32> sizes(n); 44 for (auto& size : sizes) { 56 string str(reader.data(), sizes[i]); 65 reader.remove_prefix(sizes[i]);
|
tensor_coding.cc | 41 std::vector<uint32> sizes(n); 44 for (auto& v : sizes) { 54 auto size = sizes[i]; 82 std::vector<uint32> sizes(n); 85 for (auto& size : sizes) { 94 if (!proto.ParseFromArray(reader.data(), sizes[i])) { 98 reader.remove_prefix(sizes[i]);
|
/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/skia/src/gpu/effects/ |
GrYUVtoRGBEffect.cpp | 31 const SkISize sizes[3], 35 w[0] = SkIntToScalar(sizes[0].fWidth); 36 h[0] = SkIntToScalar(sizes[0].fHeight); 37 w[1] = SkIntToScalar(sizes[1].fWidth); 38 h[1] = SkIntToScalar(sizes[1].fHeight); 39 w[2] = SkIntToScalar(sizes[2].fWidth); 40 h[2] = SkIntToScalar(sizes[2].fHeight); 45 ((sizes[1].fWidth != sizes[0].fWidth) || (sizes[1].fHeight != sizes[0].fHeight) | [all...] |