/art/runtime/base/ |
variant_map_test.cc | 70 EXPECT_EQ(size_t(2), fm.Size()); 77 EXPECT_EQ(size_t(0), fm.Size()); 102 EXPECT_EQ(size_t(0), fmEmpty.Size()); 108 EXPECT_EQ(size_t(2), fmFilled.Size()); 112 EXPECT_EQ(size_t(0), fmEmptyCopy.Size()); 116 EXPECT_EQ(size_t(2), fmFilledCopy.Size()); 123 EXPECT_EQ(size_t(2), fmFilledCopy2.Size()); 129 EXPECT_EQ(size_t(0), fmFilledCopy.Size()); 130 EXPECT_EQ(size_t(2), fmMoved.Size()); 139 EXPECT_EQ(size_t(0), fmFilledCopy2.Size()); [all...] |
/external/webrtc/webrtc/modules/audio_coding/neteq/ |
audio_multi_vector.cc | 102 assert(index < append_this.Size()); 103 index = std::min(index, append_this.Size() - 1); 104 size_t length = append_this.Size() - index; 137 assert(start_index <= Size()); 138 start_index = std::min(start_index, Size()); 139 if (length + start_index > Size()) { 140 length = Size() - start_index; 158 length = std::min(length, Size()); // Cannot read more than Size() elements. 159 return ReadInterleavedFromIndex(Size() - length, length, destination) [all...] |
/external/llvm/lib/Support/ |
FoldingSet.cpp | 31 return static_cast<unsigned>(hash_combine_range(Data, Data+Size)); 35 if (Size != RHS.Size) return false; 36 return memcmp(Data, RHS.Data, Size*sizeof(*Data)) == 0; 42 if (Size != RHS.Size) 43 return Size < RHS.Size; 44 return memcmp(Data, RHS.Data, Size*sizeof(*Data)) < 0; 88 unsigned Size = String.size() [all...] |
raw_ostream.cpp | 81 // Ask the subclass to determine an appropriate buffer size. 82 if (size_t Size = preferred_buffer_size()) 83 SetBufferSize(Size); 89 void raw_ostream::SetBufferAndMode(char *BufferStart, size_t Size, 91 assert(((Mode == Unbuffered && !BufferStart && Size == 0) || 92 (Mode != Unbuffered && BufferStart && Size != 0)) && 101 OutBufEnd = OutBufStart+Size; 105 assert(OutBufStart <= OutBufEnd && "Invalid size!"); 180 for (unsigned i = 0, e = Str.size(); i != e; ++i) { 296 raw_ostream &raw_ostream::write(const char *Ptr, size_t Size) { [all...] |
/external/llvm/lib/CodeGen/AsmPrinter/ |
DIE.cpp | 58 for (unsigned i = 0, N = Data.size(); i < N; ++i) 72 for (unsigned i = 0, N = Data.size(); i < N; ++i) { 99 for (unsigned i = 0, N = Data.size(); i < N; ++i) { 150 StringRef Type, unsigned Size, unsigned IndentCount) { 151 O << Type << ": Size: " << Size << "\n"; 168 << ", Offset: " << Offset << ", Size: " << Size << "\n"; 240 /// EmitValue - Emit integer of appropriate size. 243 unsigned Size = ~0U [all...] |
/external/llvm/lib/Target/Hexagon/MCTargetDesc/ |
HexagonMCELFStreamer.cpp | 35 cl::desc("Global Pointer Addressing Size. The default size is 8."), 91 uint64_t Size, 107 ((AccessSize == 0) || (Size == 0) || (Size > GPSize)) 117 MCELFStreamer::EmitCommonSymbol(Symbol, Size, ByteAlignment); 120 if (ELFSymbol->declareCommon(Size, ByteAlignment)) 123 if ((AccessSize) && (Size <= GPSize)) { 132 ELFSymbol->setSize(MCConstantExpr::create(Size, getContext())); 136 MCSymbol *Symbol, uint64_t Size, unsigned ByteAlignment [all...] |
/external/lzma/CPP/7zip/Archive/Common/ |
CoderMixer2.cpp | 38 for (int i = srcBindInfo.Coders.Size() - 1; i >= 0; i--)
63 destBindInfo.Coders.ClearAndReserve(_srcBindInfo.Coders.Size());
64 destBindInfo.BindPairs.ClearAndReserve(_srcBindInfo.BindPairs.Size());
65 destBindInfo.InStreams.ClearAndReserve(_srcBindInfo.OutStreams.Size());
66 destBindInfo.OutStreams.ClearAndReserve(_srcBindInfo.InStreams.Size());
69 for (i = _srcBindInfo.Coders.Size(); i != 0;)
78 for (i = _srcBindInfo.BindPairs.Size(); i != 0;)
87 for (i = 0; i < _srcBindInfo.InStreams.Size(); i++)
89 for (i = 0; i < _srcBindInfo.OutStreams.Size(); i++)
|
CoderMixer2MT.cpp | 43 for (i = 0; i < InStreams.Size(); i++)
45 for (i = 0; i < OutStreams.Size(); i++)
74 const CCoderStreamsInfo &c = _bindInfo.Coders[_coders.Size()];
102 if (_coders.Size() != _bindInfo.Coders.Size())
106 for (i = 0; i < _coders.Size(); i++)
119 for (i = 0; i < _bindInfo.BindPairs.Size(); i++)
142 for (i = 0; i < _bindInfo.InStreams.Size(); i++)
149 for (i = 0; i < _bindInfo.OutStreams.Size(); i++)
174 if (numInStreams != (UInt32)_bindInfo.InStreams.Size() ||
[all...] |
/external/llvm/lib/ExecutionEngine/ |
SectionMemoryManager.cpp | 22 uint8_t *SectionMemoryManager::allocateDataSection(uintptr_t Size, 28 return allocateSection(RODataMem, Size, Alignment); 29 return allocateSection(RWDataMem, Size, Alignment); 32 uint8_t *SectionMemoryManager::allocateCodeSection(uintptr_t Size, 36 return allocateSection(CodeMem, Size, Alignment); 40 uintptr_t Size, 47 uintptr_t RequiredSize = Alignment * ((Size + Alignment - 1)/Alignment + 1); 53 if (FreeMB.Free.size() >= RequiredSize) { 55 uintptr_t EndOfBlock = Addr + FreeMB.Free.size(); 61 MemGroup.PendingMem.push_back(sys::MemoryBlock((void *)Addr, Size)); [all...] |
/external/clang/lib/AST/ |
StmtCXX.cpp | 28 std::size_t Size = sizeof(CXXTryStmt); 29 Size += ((handlers.size() + 1) * sizeof(Stmt *)); 31 void *Mem = C.Allocate(Size, llvm::alignOf<CXXTryStmt>()); 37 std::size_t Size = sizeof(CXXTryStmt); 38 Size += ((numHandlers + 1) * sizeof(Stmt *)); 40 void *Mem = C.Allocate(Size, llvm::alignOf<CXXTryStmt>()); 46 : Stmt(CXXTryStmtClass), TryLoc(tryLoc), NumHandlers(handlers.size()) {
|
/external/clang/lib/CodeGen/ |
CGRecordLayout.h | 35 /// into a single integer of that size (i24 or i40 -- may not be power-of-two 36 /// size), loading it, and shifting and masking to extract the particular 71 /// The total size of the bit-field, in bits. 72 unsigned Size : 15; 77 /// The storage size in bits which should be used when accessing this 85 : Offset(), Size(), IsSigned(), StorageSize(), StorageOffset() {} 87 CGBitFieldInfo(unsigned Offset, unsigned Size, bool IsSigned, 89 : Offset(Offset), Size(Size), IsSigned(IsSigned), 97 /// size) [all...] |
/external/eigen/Eigen/src/Core/ |
DenseStorage.h | 27 template<typename T, int Size> void check_static_allocation_size() 31 EIGEN_STATIC_ASSERT(Size * sizeof(T) <= EIGEN_STACK_ALLOCATION_LIMIT, OBJECT_ALLOCATED_ON_STACK_IS_TOO_BIG); 37 * to 16 bytes boundary if the total size is a multiple of 16 bytes. 39 template <typename T, int Size, int MatrixOrArrayOptions, 41 : (((Size*sizeof(T))%16)==0) ? 16 45 T array[Size]; 49 check_static_allocation_size<T,Size>(); 54 check_static_allocation_size<T,Size>(); 79 template <typename T, int Size, int MatrixOrArrayOptions> 80 struct plain_array<T, Size, MatrixOrArrayOptions, 16 [all...] |
/external/eigen/unsupported/Eigen/src/SparseExtra/ |
BlockOfDynamicSparseMatrix.h | 25 template<typename _Scalar, int _Options, typename _Index, int Size> 26 class SparseInnerVectorSet<DynamicSparseMatrix<_Scalar, _Options, _Index>, Size> 27 : public SparseMatrixBase<SparseInnerVectorSet<DynamicSparseMatrix<_Scalar, _Options, _Index>, Size> > 54 : m_matrix(matrix), m_outerStart(outer), m_outerSize(Size) 56 eigen_assert(Size!=Dynamic); 90 count += m_matrix._data()[m_outerStart+j].size(); 97 eigen_assert(m_matrix.data()[m_outerStart].size()>0); 98 return m_matrix.data()[m_outerStart].vale(m_matrix.data()[m_outerStart].size()-1); 114 const internal::variable_if_dynamic<Index, Size> m_outerSize;
|
/external/llvm/lib/MC/ |
ConstantPools.cpp | 30 Streamer.EmitCodeAlignment(I->Size); // align naturally 32 Streamer.EmitValue(I->Value, I->Size, I->Loc); 39 unsigned Size, SMLoc Loc) { 42 Entries.push_back(ConstantPoolEntry(CPEntryLabel, Value, Size, Loc)); 93 unsigned Size, SMLoc Loc) { 96 Size, Loc);
|
/external/llvm/lib/Target/AArch64/ |
AArch64MachineFunctionInfo.h | 48 /// \brief Amount of stack frame size, not including callee-saved registers. 63 /// \brief Size of the varargs area for arguments passed in general purpose 71 /// \brief Size of the varargs area for arguments passed in floating-point 108 void setLocalStackSize(unsigned Size) { LocalStackSize = Size; } 123 void setVarArgsGPRSize(unsigned Size) { VarArgsGPRSize = Size; } 129 void setVarArgsFPRSize(unsigned Size) { VarArgsFPRSize = Size; }
|
/external/lzma/CPP/7zip/Archive/7z/ |
7zItem.h | 84 for (int i = Coders.Size() - 1; i >= 0; i--)
116 bool ValidAndDefined(unsigned i) const { return i < Defs.Size() && Defs[i]; }
138 if (index < Defs.Size() && Defs[index])
149 bool CheckSize(unsigned size) const { return Defs.Size() == size || Defs.Size() == 0; }
154 UInt64 Size;
|
/external/opencv3/modules/core/test/ocl/ |
test_gemm.cpp | 93 // set minimum size to 20, since testing less sizes doesn't make sense 94 Size ARoiSize = randomSize(20, MAX_VALUE); 99 ARoiSize = Size(ARoiSize.height, ARoiSize.width); 101 Size BRoiSize = randomSize(20, MAX_VALUE); 111 BRoiSize = Size(BRoiSize.height, BRoiSize.width); 113 Size DRoiSize = Size(BRoiSize.width, ARoiSize.height), CRoiSizeT(DRoiSize.height, DRoiSize.width); 139 double eps = D_roi.size().area() * 1e-4;
|
/external/opencv3/modules/cudawarping/src/ |
resize.cpp | 47 void cv::cuda::resize(InputArray, OutputArray, Size, double, double, int, Stream&) { throw_no_cuda(); } 57 void cv::cuda::resize(InputArray _src, OutputArray _dst, Size dsize, double fx, double fy, int interpolation, Stream& stream) 74 CV_Assert( !(dsize == Size()) || (fx > 0 && fy > 0) ); 76 if (dsize == Size()) 78 dsize = Size(saturate_cast<int>(src.cols * fx), saturate_cast<int>(src.rows * fy)); 89 if (dsize == src.size()) 100 Size wholeSize;
|
/external/opencv3/modules/cudawarping/test/ |
test_pyramids.cpp | 52 PARAM_TEST_CASE(PyrDown, cv::cuda::DeviceInfo, cv::Size, MatType, UseRoi) 55 cv::Size size; local 62 size = GET_PARAM(1); 72 cv::Mat src = randomMat(size, type); 74 cv::cuda::GpuMat dst = createMat(cv::Size((size.width + 1) / 2, (size.height + 1) / 2), type, useRoi); 92 PARAM_TEST_CASE(PyrUp, cv::cuda::DeviceInfo, cv::Size, MatType, UseRoi) 95 cv::Size size local [all...] |
/external/opencv3/modules/imgproc/perf/ |
perf_threshold.cpp | 11 typedef std::tr1::tuple<Size, MatType, ThreshType> Size_MatType_ThreshType_t; 23 Size sz = get<0>(GetParam()); 41 typedef perf::TestBaseWithParam<Size> Size_Only; 45 Size sz = GetParam(); 63 typedef std::tr1::tuple<Size, AdaptThreshType, AdaptThreshMethod, int> Size_AdaptThreshType_AdaptThreshMethod_BlockSize_t; 75 Size sz = get<0>(GetParam());
|
/external/opencv3/samples/wp8/OcvRotatingCube/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/ |
Direct3DInterop.h | 42 property Windows::Foundation::Size WindowBounds; 43 property Windows::Foundation::Size NativeResolution; 44 property Windows::Foundation::Size RenderResolution 46 Windows::Foundation::Size get(){ return m_renderResolution; } 47 void set(Windows::Foundation::Size renderResolution); 62 HRESULT STDMETHODCALLTYPE GetTexture(_In_ const DrawingSurfaceSizeF* size, _Out_ IDrawingSurfaceSynchronizedTextureNative** synchronizedTexture, _Out_ DrawingSurfaceRectF* textureSubRectangle); 68 Windows::Foundation::Size m_renderResolution;
|
/packages/apps/Camera2/src/com/android/camera/data/ |
VideoDataFactory.java | 24 import com.android.camera.util.Size; 32 // ZERO size value. 33 private static final Size UNKNOWN_SIZE = new Size(-2, -2); 48 Size dimensions; 58 dimensions = new Size(profile.videoFrameWidth, profile.videoFrameHeight); 64 dimensions = new Size(width, height);
|
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
CameraCapabilities.java | 46 protected final ArrayList<Size> mSupportedPreviewSizes = new ArrayList<Size>(); 48 protected final ArrayList<Size> mSupportedVideoSizes = new ArrayList<Size>(); 49 protected final ArrayList<Size> mSupportedPhotoSizes = new ArrayList<Size>(); 57 protected Size mPreferredPreviewSizeForVideo; 525 public List<Size> getSupportedPhotoSizes() { 526 return new ArrayList<Size>(mSupportedPhotoSizes); 542 public final List<Size> getSupportedPreviewSizes() [all...] |
/external/opencv3/modules/imgproc/perf/opencl/ |
perf_imgwarp.cpp | 59 typedef tuple<Size, MatType, InterType> WarpAffineParams; 73 const Size srcSize = get<0>(params); 105 const Size srcSize = get<0>(params); 121 typedef tuple<Size, MatType, InterType, double> ResizeParams; 130 const Size srcSize = get<0>(params); 133 const Size dstSize(cvRound(srcSize.width * scale), cvRound(srcSize.height * scale)); 142 OCL_TEST_CYCLE() cv::resize(src, dst, Size(), scale, scale, interType); 147 typedef tuple<Size, MatType, double> ResizeAreaParams; 154 const Size srcSize = get<0>(params); 157 const Size dstSize(cvRound(srcSize.width * scale), cvRound(srcSize.height * scale)) [all...] |
/external/webrtc/webrtc/base/ |
messagedigest.cc | 41 if (digest->Size() == 0) { // invalid algorithm 85 scoped_ptr<char[]> output(new char[digest->Size()]); 86 ComputeDigest(digest, input.data(), input.size(), 87 output.get(), digest->Size()); 88 return hex_encode(output.get(), digest->Size()); 115 if (digest->Size() > 32) { 123 memset(new_key.get() + digest->Size(), 0, block_len - digest->Size()); 136 scoped_ptr<uint8_t[]> inner(new uint8_t[digest->Size()]); 139 digest->Finish(inner.get(), digest->Size()); [all...] |