/external/clang/test/SemaCXX/ |
dependent-types.cpp | 5 template<typename T, int Size> void f() { 9 T x4[]; // expected-error{{needs an explicit size or an initializer}} 10 T x5[Size]; 11 int x6[Size];
|
/external/llvm/lib/Target/Hexagon/ |
HexagonTargetStreamer.h | 21 virtual void emitFAlign(unsigned Size, unsigned MaxBytesToEmit){}; 22 virtual void EmitCommonSymbolSorted(MCSymbol *Symbol, uint64_t Size, 25 virtual void EmitLocalCommonSymbolSorted(MCSymbol *Symbol, uint64_t Size,
|
/external/lzma/CPP/7zip/Common/ |
UniqBlocks.h | 16 int AddUniq(const Byte *data, size_t size);
22 if (Bufs.Size() == 0)
24 if (Bufs.Size() > 1)
26 return Bufs[0].Size() == 0;
|
/packages/apps/Camera2/src/com/android/camera/one/v2/initialization/ |
Camera2PreviewSizeSelector.java | 21 import com.android.camera.util.Size; 29 * Picks a preview size. TODO Remove dependency on static CaptureModuleUtil 33 private final List<Size> mSupportedPreviewSizes; 35 public Camera2PreviewSizeSelector(List<Size> supportedPreviewSizes) { 39 public Size pickPreviewSize(Size pictureSize) { 47 Size size = CaptureModuleUtil.getOptimalPreviewSize( local 48 (Size[]) mSupportedPreviewSizes.toArray(new Size[mSupportedPreviewSizes.size()]) [all...] |
/external/opencv3/modules/cudaobjdetect/include/opencv2/ |
cudaobjdetect.hpp | 89 @param win_size Detection window size. Align to block size and block stride. 90 @param block_size Block size in pixels. Align to cell size. Only (16,16) is supported for now. 91 @param block_stride Block stride. It must be a multiple of cell size. 92 @param cell_size Cell size. Only (8, 8) is supported for now. 95 static Ptr<HOG> create(Size win_size = Size(64, 128), 96 Size block_size = Size(16, 16) [all...] |
/external/deqp/framework/common/ |
tcuArray.hpp | 34 template <typename T, int Size> 48 T m_data[Size]; 52 template <typename T, int Size> 53 std::ostream& operator<< (std::ostream& stream, const Array<T, Size>& arr) 55 return stream << Format::Array<T*>(arr.getPtr(), arr.getPtr() + Size);
|
tcuCPUWarmup.cpp | 41 template <typename T, int Size> 42 static inline float floatMedian (const T (&v)[Size]) 44 T temp[Size]; 45 for (int i = 0; i < Size; i++) 50 return Size % 2 == 0 51 ? 0.5f * ((float)temp[Size/2-1] + (float)temp[Size/2]) 52 : (float)temp[Size/2]; 55 template <typename T, int Size> 56 static inline float floatRelativeMedianAbsoluteDeviation (const T (&v)[Size]) [all...] |
tcuVectorUtil.hpp | 125 template <typename T, int Size> 126 inline T dot (const Vector<T, Size>& a, const Vector<T, Size>& b) 129 for (int i = 0; i < Size; i++) 134 template <typename T, int Size> 135 inline T lengthSquared (const Vector<T, Size>& a) 138 for (int i = 0; i < Size; i++) 143 template <typename T, int Size> 144 inline typename de::meta::EnableIf<T, de::meta::TypesSame<T, double>::Value>::Type length (const Vector<T, Size>& a) 149 template <typename T, int Size> [all...] |
/external/llvm/lib/Support/ |
circular_raw_ostream.cpp | 18 void circular_raw_ostream::write_impl(const char *Ptr, size_t Size) { 20 TheStream->write(Ptr, Size); 25 while (Size != 0) { 27 std::min(unsigned(Size), unsigned(BufferSize - (Cur - BufferArray))); 29 Size -= Bytes;
|
FormattedStream.cpp | 24 static void UpdatePosition(std::pair<unsigned, unsigned> &Position, const char *Ptr, size_t Size) { 30 for (const char *End = Ptr + Size; Ptr != End; ++Ptr) { 48 void formatted_raw_ostream::ComputePosition(const char *Ptr, size_t Size) { 52 if (Ptr <= Scanned && Scanned <= Ptr + Size) 55 UpdatePosition(Position, Scanned, Size - (Scanned - Ptr)); 57 UpdatePosition(Position, Ptr, Size); 60 Scanned = Ptr + Size; 76 void formatted_raw_ostream::write_impl(const char *Ptr, size_t Size) { 78 ComputePosition(Ptr, Size); 82 TheStream->write(Ptr, Size); [all...] |
/external/opencv3/modules/imgproc/perf/ |
perf_matchTemplate.cpp | 11 typedef std::tr1::tuple<Size, Size, MethodType> ImgSize_TmplSize_Method_t; 16 testing::Values(szSmall128, cv::Size(320, 240), 17 cv::Size(640, 480), cv::Size(800, 600), 18 cv::Size(1024, 768), cv::Size(1280, 1024)), 19 testing::Values(cv::Size(12, 12), cv::Size(28, 9), 20 cv::Size(8, 30), cv::Size(16, 16)) [all...] |
/external/opencv3/modules/calib3d/perf/ |
perf_cicrlesGrid.cpp | 9 typedef std::tr1::tuple<std::string, cv::Size> String_Size_t; 13 String_Size_t("cv/cameracalibration/asymmetric_circles/acircles1.png", Size(7,13)), 14 String_Size_t("cv/cameracalibration/asymmetric_circles/acircles2.png", Size(7,13)), 15 String_Size_t("cv/cameracalibration/asymmetric_circles/acircles3.png", Size(7,13)), 16 String_Size_t("cv/cameracalibration/asymmetric_circles/acircles4.png", Size(5,5)), 17 String_Size_t("cv/cameracalibration/asymmetric_circles/acircles5.png", Size(5,5)), 18 String_Size_t("cv/cameracalibration/asymmetric_circles/acircles6.png", Size(5,5)), 19 String_Size_t("cv/cameracalibration/asymmetric_circles/acircles7.png", Size(3,9)), 20 String_Size_t("cv/cameracalibration/asymmetric_circles/acircles8.png", Size(3,9)), 21 String_Size_t("cv/cameracalibration/asymmetric_circles/acircles9.png", Size(3,9) [all...] |
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/ |
MarshalQueryableSize.java | 18 import android.util.Size; 29 * Marshal {@link Size} to/from {@code TYPE_INT32} 31 public class MarshalQueryableSize implements MarshalQueryable<Size> { 32 private static final int SIZE = SIZEOF_INT32 * 2; 34 private class MarshalerSize extends Marshaler<Size> { 35 protected MarshalerSize(TypeReference<Size> typeReference, int nativeType) { 40 public void marshal(Size value, ByteBuffer buffer) { 46 public Size unmarshal(ByteBuffer buffer) { 50 return new Size(width, height); 55 return SIZE; [all...] |
/external/eigen/Eigen/src/Eigen2Support/ |
VectorBlock.h | 19 MatrixBase<Derived>::start(Index size) 22 return VectorBlock<Derived>(derived(), 0, size); 28 MatrixBase<Derived>::start(Index size) const 31 return VectorBlock<const Derived>(derived(), 0, size); 37 MatrixBase<Derived>::end(Index size) 40 return VectorBlock<Derived>(derived(), this->size() - size, size); 46 MatrixBase<Derived>::end(Index size) const 49 return VectorBlock<const Derived>(derived(), this->size() - size, size) [all...] |
/external/opencv3/modules/imgproc/perf/opencl/ |
perf_matchTemplate.cpp | 12 typedef std::tr1::tuple<Size, Size, MethodType, MatType> ImgSize_TmplSize_Method_MatType_t; 17 testing::Values(cv::Size(640, 480), cv::Size(1280, 1024)), 18 testing::Values(cv::Size(11, 11), cv::Size(16, 16), cv::Size(41, 41)), 25 const Size imgSz = get<0>(params), tmplSz = get<1>(params); 30 UMat result(imgSz - tmplSz + Size(1, 1), CV_32F); 51 ::testing::Combine(::testing::Values(Size(1000, 1000), Size(2000, 2000)) [all...] |
/external/opencv3/modules/core/misc/java/src/java/ |
core+Size.java | 4 public class Size { 8 public Size(double width, double height) { 13 public Size() { 17 public Size(Point p) { 22 public Size(double[] vals) { 40 public Size clone() { 41 return new Size(width, height); 59 if (!(obj instanceof Size)) return false; 60 Size it = (Size) obj [all...] |
/packages/apps/Camera2/src/com/android/camera/one/v2/common/ |
PictureSizeCalculator.java | 24 import com.android.camera.util.Size; 34 * Selects the optimal picture size and crop for a particular target size. 37 * However, we may wish to take pictures with a size that is not directly 40 * For example, we may wish to use a large 4:3 output size to capture 42 * output size which can contain the target size, and then computing the 54 private final Size mSize; 57 private Configuration(Size size, Rect postCrop) 153 Size size = getSmallestSupportedSizeContainingTarget(supportedPictureSizes, targetSize); local [all...] |
/external/llvm/lib/Fuzzer/test/ |
UserSuppliedFuzzerTest.cpp | 19 int TargetFunction(const uint8_t *Data, size_t Size) { 20 if (Size <= 10) return 0; 35 virtual size_t Mutate(uint8_t *Data, size_t Size, size_t MaxSize) { 37 if (Size < sizeof(kMagic)) 38 Size = sizeof(kMagic); 42 Data + sizeof(kMagic), Size - sizeof(kMagic), MaxSize - sizeof(kMagic));
|
/external/opencv3/modules/videostab/include/opencv2/videostab/ |
outlier_rejection.hpp | 64 Size frameSize, InputArray points0, InputArray points1, OutputArray mask) = 0; 71 Size frameSize, InputArray points0, InputArray points1, OutputArray mask); 79 void setCellSize(Size val) { cellSize_ = val; } 80 Size cellSize() const { return cellSize_; } 86 Size frameSize, InputArray points0, InputArray points1, OutputArray mask); 89 Size cellSize_;
|
/frameworks/base/core/java/android/hardware/camera2/utils/ |
SizeAreaComparator.java | 19 import android.util.Size; 28 * Comparator for {@link Size} objects by the area. 32 public class SizeAreaComparator implements Comparator<Size> { 37 public int compare(Size size, Size size2) { 38 checkNotNull(size, "size must not be null"); 41 if (size.equals(size2)) { 45 long width = size.getWidth() [all...] |
/bionic/libc/private/ |
ThreadLocalBuffer.h | 37 template <typename T, size_t Size = sizeof(T)> 49 result = reinterpret_cast<T*>(calloc(1, Size)); 55 size_t size() { return Size; } function in class:ThreadLocalBuffer
|
/external/llvm/lib/Fuzzer/ |
FuzzerMutate.cpp | 21 size_t (MutationDispatcher::*Fn)(uint8_t *Data, size_t Size, size_t Max); 41 void AddWordToDictionary(const uint8_t *Word, size_t Size) { 45 Dictionary.push_back(Unit(Word, Word + Size)); 68 size_t MutationDispatcher::Mutate_ShuffleBytes(uint8_t *Data, size_t Size, 70 assert(Size); 71 size_t ShuffleAmount = Rand(std::min(Size, (size_t)8)) + 1; // [1,8] and <= Size. 72 size_t ShuffleStart = Rand(Size - ShuffleAmount); 73 assert(ShuffleStart + ShuffleAmount <= Size); 76 return Size; [all...] |
FuzzerMain.cpp | 16 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size);
|
/external/compiler-rt/test/profile/ |
instrprof-without-libc.c | 28 uint64_t Size = __llvm_profile_get_size_for_buffer(); 29 if (Size > MaxSize) 44 if (fwrite(Buffer, 1, Size, File) != Size)
|
/external/eigen/Eigen/src/Core/ |
VectorBlock.h | 19 * \brief Expression of a fixed-size or dynamic-size sub-vector 22 * \param Size size of the sub-vector we are taking at compile time (optional) 24 * This class represents an expression of either a fixed-size or dynamic-size sub-vector. 36 * \note Even though this expression has dynamic size, in the case where \a VectorType 37 * has fixed size, this expression inherits a fixed maximal size which means that evaluating 40 * Here is an example illustrating the fixed-size case [all...] |