/external/llvm/include/llvm/Support/ |
AlignOf.h | 95 template<std::size_t Alignment, std::size_t Size> 97 alignas(Alignment) char buffer[Size]; 102 template<std::size_t Alignment, std::size_t Size> 106 template<std::size_t Size> \ 107 struct AlignedCharArray<x, Size> { \ 108 __attribute__((aligned(x))) char buffer[Size]; \ 129 template<std::size_t Alignment, std::size_t Size> 140 template<std::size_t Size> 141 struct AlignedCharArray<1, Size> { 144 char buffer[Size]; [all...] |
RecyclingAllocator.h | 26 size_t Size = sizeof(T), size_t Align = AlignOf<T>::Alignment> 31 Recycler<T, Size, Align> Base; 62 template<class AllocatorType, class T, size_t Size, size_t Align> 63 inline void *operator new(size_t size, 65 T, Size, Align> &Allocator) { 66 assert(size <= Size && "allocation size exceeded"); 70 template<class AllocatorType, class T, size_t Size, size_t Align> 73 T, Size, Align> &A) [all...] |
/packages/apps/Camera2/src/com/android/camera/ |
CaptureModuleUtil.java | 26 import com.android.camera.util.Size; 55 public static Size getOptimalPreviewSize(Size[] sizes,double targetRatio) { 60 * Returns the best preview size based on the current display resolution, 65 public static Size getOptimalPreviewSize(Size[] sizes, 72 for (Size s : sizes) { 77 ArrayList<Size> camera1Sizes = new ArrayList<Size>(count); 80 for (Size s : sizes) [all...] |
/external/deqp/framework/common/ |
tcuTexVerifierUtil.hpp | 39 template<int Size> 40 inline Vector<float, Size> computeFloatingPointError (const Vector<float, Size>& value, const Vector<deInt32, Size>& numAccurateBits) 42 Vector<float, Size> res; 43 for (int ndx = 0; ndx < Size; ndx++) 48 template<int Size> 49 inline Vector<float, Size> computeFixedPointError (const Vector<deInt32, Size>& numAccurateBits) 51 Vector<float, Size> res [all...] |
/external/llvm/tools/lli/ |
RemoteTargetExternal.h | 34 bool WriteBytes(const void *Data, size_t Size) { 35 return RPC.WriteBytes(Data, Size); 38 bool ReadBytes(void *Data, size_t Size) { return RPC.ReadBytes(Data, Size); } 43 /// @param Size Amount of space, in bytes, to allocate. 49 bool allocateSpace(size_t Size, unsigned Alignment, 56 /// @param Size Number of bytes to copy. 60 bool loadData(uint64_t Address, const void *Data, size_t Size) override; 66 /// @param Size Number of bytes to copy. 70 bool loadCode(uint64_t Address, const void *Data, size_t Size) override [all...] |
RPCChannel.h | 41 bool WriteBytes(const void *Data, size_t Size); 42 bool ReadBytes(void *Data, size_t Size);
|
RemoteTarget.cpp | 31 bool RemoteTarget::allocateSpace(size_t Size, unsigned Alignment, 33 sys::MemoryBlock *Prev = Allocations.size() ? &Allocations.back() : nullptr; 34 sys::MemoryBlock Mem = sys::Memory::AllocateRWX(Size, Prev, &ErrorMsg); 46 bool RemoteTarget::loadData(uint64_t Address, const void *Data, size_t Size) { 47 memcpy ((void*)Address, Data, Size); 51 bool RemoteTarget::loadCode(uint64_t Address, const void *Data, size_t Size) { 52 memcpy ((void*)Address, Data, Size); 53 sys::MemoryBlock Mem((void*)Address, Size); 69 for (unsigned i = 0, e = Allocations.size(); i != e; ++i)
|
/external/opencv3/modules/objdetect/include/opencv2/ |
objdetect.hpp | 60 positive examples, that are scaled to the same size (say, 20x20), and negative examples - arbitrary 61 images of the same size. 63 After a classifier is trained, it can be applied to a region of interest (of the same size as used 69 object of an unknown size in the image the scan procedure should be done several times at different 90 compensate for the differences in the size of areas. The sums of pixel values over a rectangular 164 double detectThreshold = 0.0, Size winDetSize = Size(64, 128)); 184 Size minSize, Size maxSize ) = 0; 191 Size minSize, Size maxSize ) = 0 [all...] |
/external/clang/include/clang/Basic/ |
AllDiagnostics.h | 33 enum { Size = SizeOfStr }; 38 fieldTy>::Size
|
/external/llvm/lib/MC/ |
MCInstrAnalysis.cpp | 14 uint64_t Size, uint64_t &Target) const { 20 Target = Addr+Size+Imm;
|
/external/llvm/lib/Support/ |
Allocator.cpp | 32 void PrintRecyclerStats(size_t Size, 35 errs() << "Recycler element size: " << Size << '\n'
|
StreamingMemoryObject.cpp | 28 uint64_t readBytes(uint8_t *Buf, uint64_t Size, 30 const uint8_t *getPointer(uint64_t address, uint64_t size) const override; 49 uint64_t RawMemoryObject::readBytes(uint8_t *Buf, uint64_t Size, 55 uint64_t End = Address + Size; 60 Size = End - Address; 61 memcpy(Buf, Address + FirstChar, Size); 62 return Size; 66 uint64_t size) const { 72 // If the bitcode has a header, then its size is known, and we don't have to 87 uint64_t StreamingMemoryObject::readBytes(uint8_t *Buf, uint64_t Size, [all...] |
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
nv20_state_polygon.c | 40 PUSH_DATAf(push, ctx->Point.Size); 42 PUSH_DATA (push, (uint32_t)(ctx->Point.Size * 8));
|
/packages/apps/Camera2/src/com/android/camera/settings/ |
ListPreferenceFiller.java | 21 import com.android.camera.util.Size; 29 public void fill(List<Size> sizes, ListPreference preference);
|
ResolutionUtil.java | 26 import com.android.camera.util.Size; 62 public static Size NEXUS_5_LARGE_16_BY_9_SIZE = new Size(3264, 1836); 73 private static Size[] sDesiredAspectRatioSizes = { 74 new Size(16, 9), new Size(4, 3) 86 public List<Size> sizes = new LinkedList<Size>(); 90 public Size largest; 92 * This is the area of the largest size, used for sortin [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
storduid.h | 15 ULONG Size; 23 ULONG Size;
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
SizeAreaComparator.java | 28 * Comparator for api1 {@link Camera.Size} objects by the area. 33 public class SizeAreaComparator implements Comparator<Camera.Size> { 38 public int compare(Camera.Size size, Camera.Size size2) { 39 checkNotNull(size, "size must not be null"); 42 if (size.equals(size2)) { 46 long width = size.width; 48 long area = width * size.height [all...] |
/external/llvm/lib/Transforms/Utils/ |
ASanStackFrameLayout.cpp | 23 // It is tempting to also sort variables by size so that larger variables 37 // The larger the variable Size the larger is the redzone. 38 // The resulting frame size is a multiple of Alignment. 39 static size_t VarAndRedzoneSize(size_t Size, size_t Alignment) { 41 if (Size <= 4) Res = 16; 42 else if (Size <= 16) Res = 32; 43 else if (Size <= 128) Res = Size + 32; 44 else if (Size <= 512) Res = Size + 64 [all...] |
/frameworks/av/media/libeffects/lvm/lib/Common/src/ |
InstAlloc.c | 25 * Description : Initializes the instance distribution and memory size calculation function 40 Size - The size in bytes of the new added member 49 LVM_UINT32 Size ) 54 Size = ((Size + 3) & (LVM_UINT32)~3); /* Ceil the size to a multiple of four */ 56 pms->TotalSize += Size; 57 pms->pNextMember += Size; 66 * Returns : The instance memory size [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
EnumMapTest.java | 33 enum Size { 90 new EnumMap(Size.Big.getClass()); 117 EnumMap enumSizeMap = new EnumMap(Size.class); 119 Size.Big, 2)); 121 enumSizeMap.get(Size.Big)); 129 enumSizeMap = new EnumMap(Size.Middle.getClass()); 131 Size.Small, 1)); 133 enumSizeMap.get(Size.Small)); 169 enumMap.put(Size.Middle, 2); 216 hashColorMap.put(Size.Big, 3) [all...] |
/external/compiler-rt/lib/tsan/tests/unit/ |
tsan_mutexset_test.cc | 29 EXPECT_EQ(mset.Size(), (uptr)0); 32 EXPECT_EQ(mset.Size(), (uptr)1); 35 EXPECT_EQ(mset.Size(), (uptr)0); 39 EXPECT_EQ(mset.Size(), (uptr)2); 43 EXPECT_EQ(mset.Size(), (uptr)1); 45 EXPECT_EQ(mset.Size(), (uptr)0); 51 EXPECT_EQ(mset.Size(), (uptr)1); 55 EXPECT_EQ(mset.Size(), (uptr)1); 59 EXPECT_EQ(mset.Size(), (uptr)1); 63 EXPECT_EQ(mset.Size(), (uptr)0) [all...] |
/external/webrtc/webrtc/modules/audio_coding/neteq/ |
audio_vector.cc | 42 copy_to->Reserve(Size()); 43 assert(copy_to->capacity_ >= Size()); 44 memcpy(copy_to->array_.get(), array_.get(), Size() * sizeof(int16_t)); 50 size_t insert_length = prepend_this.Size(); 51 Reserve(Size() + insert_length); 52 memmove(&array_[insert_length], &array_[0], Size() * sizeof(int16_t)); 63 PushBack(append_this.array_.get(), append_this.Size()); 67 Reserve(Size() + length); 73 if (length >= Size()) { 77 size_t remaining_samples = Size() - length [all...] |
/frameworks/base/core/java/android/util/ |
Size.java | 24 public final class Size { 26 * Create a new immutable Size instance. 28 * @param width The width of the size, in pixels 29 * @param height The height of the size, in pixels 31 public Size(int width, int height) { 37 * Get the width of the size (in pixels). 45 * Get the height of the size (in pixels). 53 * Check if this size is equal to another size. 59 * A size object is never equal to any other type of object [all...] |
/external/opencv3/modules/core/misc/java/test/ |
SizeTest.java | 4 import org.opencv.core.Size; 9 Size dstSize; 10 Size sz1; 11 Size sz2; 17 sz1 = new Size(10.0, 10.0); 18 sz2 = new Size(-1, -1); 56 dstSize = new Size(); 65 sz2 = new Size(vals); 80 sz1 = new Size(p);
|
/external/opencv3/modules/cudaimgproc/perf/ |
perf_match_template.cpp | 54 DEF_PARAM_TEST(Sz_TemplateSz_Cn_Method, cv::Size, cv::Size, MatCn, TemplateMethod); 58 Values(cv::Size(5, 5), cv::Size(16, 16), cv::Size(30, 30)), 64 const cv::Size size = GET_PARAM(0); local 65 const cv::Size templ_size = GET_PARAM(1); 69 cv::Mat image(size, CV_MAKE_TYPE(CV_8U, cn)); 100 Values(cv::Size(5, 5), cv::Size(16, 16), cv::Size(30, 30)) 106 const cv::Size size = GET_PARAM(0); local [all...] |