HomeSort by relevance Sort by last modified time
    Searched refs:Sizes (Results 1 - 25 of 52) sorted by null

1 2 3

  /external/eigen/unsupported/test/
cxx11_tensor_empty.cpp 27 TensorFixedSize<float, Sizes<0> > source;
28 TensorFixedSize<float, Sizes<0> > tgt1 = source;
29 TensorFixedSize<float, Sizes<0> > tgt2(source);
30 TensorFixedSize<float, Sizes<0> > tgt3;
cxx11_tensor_fixed_size.cpp 20 TensorFixedSize<float, Sizes<> > scalar1;
21 TensorFixedSize<float, Sizes<>, RowMajor> scalar2;
30 TensorFixedSize<float, Sizes<> > copy = scalar1;
37 TensorFixedSize<float, Sizes<> > scalar3 = scalar1.sqrt();
38 TensorFixedSize<float, Sizes<>, RowMajor> scalar4 = scalar2.sqrt();
49 TensorFixedSize<float, Sizes<6> > vec1;
50 TensorFixedSize<float, Sizes<6>, RowMajor> vec2;
64 TensorFixedSize<float, Sizes<6> > copy = vec1;
75 TensorFixedSize<float, Sizes<6> > vec3 = vec1.sqrt();
76 TensorFixedSize<float, Sizes<6>, RowMajor> vec4 = vec2.sqrt()
    [all...]
cxx11_tensor_dimension.cpp 32 Eigen::Sizes<2,3,7> dimensions;
43 Eigen::Sizes<2,3,7> stat;
53 Eigen::Sizes<> scalar;
cxx11_tensor_custom_index.cpp 83 Sizes<1,2,4,1> coeffC;
cxx11_tensor_map.cpp 202 TensorFixedSize<int, Sizes<2,3,7> > mat5;
218 TensorMap<TensorFixedSize<int, Sizes<2,3,7> > > mat6(mat5);
240 EIGEN_STATIC_ASSERT((internal::array_size<Sizes<> >::value == 0), YOU_MADE_A_PROGRAMMING_MISTAKE);
cxx11_tensor_broadcasting.cpp 167 TensorFixedSize<float, Sizes<1>, DataLayout> t2;
175 TensorMap<TensorFixedSize<float, Sizes<1>, DataLayout> > t4(t2.data(), {{1}});
  /external/syslinux/gpxe/src/util/
diffsize.pl 9 mkdir ".sizes";
41 return if -e ".sizes/$rev.sizes";
51 system("make bin/gpxe.lkrn.sizes > .sizes/$rev.sizes"); $res ||= $?;
59 unlink(".sizes/$rev.sizes");
60 die "Error making sizes file\n";
64 our %Sizes;
    [all...]
  /external/lzma/CPP/7zip/Archive/7z/
7zFolderInStream.h 40 CRecordVector<UInt64> Sizes;
53 FOR_VECTOR (i, Sizes)
54 size += Sizes[i];
7zFolderInStream.cpp 20 Sizes.ClearAndReserve(numFiles);
71 Sizes.Add(_pos);
116 if (subStream > Sizes.Size())
120 if (index < Sizes.Size())
122 *value = Sizes[index];
  /external/llvm/lib/Analysis/
Delinearization.cpp 110 SmallVector<const SCEV *, 3> Subscripts, Sizes;
111 SE->delinearize(AccessFn, Subscripts, Sizes, SE->getElementSize(Inst));
112 if (Subscripts.size() == 0 || Sizes.size() == 0 ||
113 Subscripts.size() != Sizes.size()) {
122 O << "[" << *Sizes[i] << "]";
123 O << " with elements of " << *Sizes[Size - 1] << " bytes.\n";
  /external/eigen/unsupported/Eigen/CXX11/src/Tensor/
TensorDimensions.h 23 * The Sizes class encodes as part of the type the number of dimensions and the
24 * sizes corresponding to each dimension. It uses no storage space since it is
27 * at compile time but the sizes are set during execution.
93 struct Sizes : internal::numeric_list<std::ptrdiff_t, Indices...> {
105 EIGEN_DEVICE_FUNC Sizes() { }
107 explicit EIGEN_DEVICE_FUNC Sizes(const array<DenseIndex, Base::count>& /*indices*/) {
111 template <typename... DenseIndex> EIGEN_DEVICE_FUNC Sizes(DenseIndex...) { }
112 explicit EIGEN_DEVICE_FUNC Sizes(std::initializer_list<std::ptrdiff_t> /*l*/) {
117 template <typename T> Sizes& operator = (const T& /*other*/) {
138 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE std::ptrdiff_t array_prod(const Sizes<Indices...>&)
    [all...]
TensorMorphing.h 206 template<typename StartIndices, typename Sizes, typename XprType>
207 struct traits<TensorSlicingOp<StartIndices, Sizes, XprType> > : public traits<XprType>
219 template<typename StartIndices, typename Sizes, typename XprType>
220 struct eval<TensorSlicingOp<StartIndices, Sizes, XprType>, Eigen::Dense>
222 typedef const TensorSlicingOp<StartIndices, Sizes, XprType>& type;
225 template<typename StartIndices, typename Sizes, typename XprType>
226 struct nested<TensorSlicingOp<StartIndices, Sizes, XprType>, 1, typename eval<TensorSlicingOp<StartIndices, Sizes, XprType> >::type>
228 typedef TensorSlicingOp<StartIndices, Sizes, XprType> type;
235 template<typename StartIndices, typename Sizes, typename XprType
251 const Sizes& sizes() const { return m_sizes; } function in class:Eigen::TensorSlicingOp
    [all...]
TensorBase.h     [all...]
TensorBroadcasting.h 53 struct is_input_scalar<Sizes<> > {
58 struct is_input_scalar<Sizes<Indices...> > {
59 static const bool value = (Sizes<Indices...>::total_size == 1);
TensorForwardDeclarations.h 51 template<typename StartIndices, typename Sizes, typename XprType> class TensorSlicingOp;
  /external/skia/include/core/
SkVertices.h 46 struct Sizes;
70 Builder(VertexMode mode, int vertexCount, int indexCount, const Sizes&);
72 void init(VertexMode mode, int vertexCount, int indexCount, const Sizes&);
  /device/generic/goldfish-opengl/shared/OpenglCodecCommon/
ChecksumCalculator.h 126 enum Sizes {
  /external/skia/src/core/
SkVertices.cpp 23 struct SkVertices::Sizes {
24 Sizes(int vertexCount, int indexCount, bool hasTexs, bool hasColors) {
58 SkVertices::Sizes(vertexCount, indexCount, hasTexs, hasColors));
62 const SkVertices::Sizes& sizes) {
63 this->init(mode, vertexCount, indexCount, sizes);
67 const SkVertices::Sizes& sizes) {
68 if (!sizes.isValid()) {
72 void* storage = ::operator new (sizes.fTotal)
    [all...]
  /toolchain/binutils/binutils-2.25/gas/testsuite/lib/
doobjcmp 18 echo Sizes ok.
20 echo Sizes differ:
  /external/clang/test/Index/
print-type-size.cpp 212 namespace Sizes {
214 // CHECK64: StructDecl=A:[[@LINE+2]]:8 (Definition) [type=Sizes::A] [typekind=Record] [sizeof=8] [alignof=4]
215 // CHECK32: StructDecl=A:[[@LINE+1]]:8 (Definition) [type=Sizes::A] [typekind=Record] [sizeof=8] [alignof=4]
221 // CHECK64: StructDecl=B:[[@LINE+2]]:8 (Definition) [type=Sizes::B] [typekind=Record] [sizeof=12] [alignof=4]
222 // CHECK32: StructDecl=B:[[@LINE+1]]:8 (Definition) [type=Sizes::B] [typekind=Record] [sizeof=12] [alignof=4]
227 // CHECK64: StructDecl=C:[[@LINE+2]]:8 (Definition) [type=Sizes::C] [typekind=Record] [sizeof=8] [alignof=4]
228 // CHECK32: StructDecl=C:[[@LINE+1]]:8 (Definition) [type=Sizes::C] [typekind=Record] [sizeof=8] [alignof=4]
236 // CHECK64: StructDecl=D:[[@LINE+2]]:8 (Definition) [type=Sizes::D] [typekind=Record] [sizeof=8] [alignof=4]
237 // CHECK32: StructDecl=D:[[@LINE+1]]:8 (Definition) [type=Sizes::D] [typekind=Record] [sizeof=8] [alignof=4]
242 // CHECK64: StructDecl=E:[[@LINE+2]]:32 (Definition) [type=Sizes::E] [typekind=Record] [sizeof=5] [alignof=1
    [all...]
  /prebuilts/go/darwin-x86/src/go/types/
sizes.go 5 // This file implements Sizes.
9 // Sizes defines the sizing functions for package unsafe.
10 type Sizes interface {
24 // StdSizes is a convenience type for creating commonly used Sizes.
41 // *StdSizes implements Sizes.
156 // stdSizes is used if Config.Sizes == nil.
160 if s := conf.Sizes; s != nil {
164 panic("Config.Sizes.Alignof returned an alignment < 1")
173 if s := conf.Sizes; s != nil {
177 panic("Config.Sizes.Offsetsof returned the wrong number of offsets"
    [all...]
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.go 5 // This file implements Sizes.
9 // Sizes defines the sizing functions for package unsafe.
10 type Sizes interface {
24 // StdSizes is a convenience type for creating commonly used Sizes.
41 // *StdSizes implements Sizes.
156 // stdSizes is used if Config.Sizes == nil.
160 if s := conf.Sizes; s != nil {
164 panic("Config.Sizes.Alignof returned an alignment < 1")
173 if s := conf.Sizes; s != nil {
177 panic("Config.Sizes.Offsetsof returned the wrong number of offsets"
    [all...]
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...]
  /packages/apps/DeskClock/src/com/android/alarmclock/
DigitalAppWidgetProvider.java 93 * This widget is scaling the font sizes to fit within the widget bounds chosen by the user without
94 * any clipping. To do so it measures layouts offscreen using a range of font sizes in order to
177 * Called when the app widget changes sizes.
189 * Compute optimal font and icon sizes offscreen for both portrait and landscape orientations
202 * Compute optimal font and icon sizes offscreen for the given orientation.
249 final Sizes template = new Sizes(targetWidthPx, targetHeightPx, largestClockFontSizePx);
251 // Compute optimal font sizes and icon sizes to fit within the widget bounds.
252 final Sizes sizes = optimizeSizes(context, template, nextAlarmTime) local
    [all...]

Completed in 2044 milliseconds

1 2 3