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

1 2 3 4 5 6 7 8 91011>>

  /external/llvm/lib/Fuzzer/test/
FullCoverageSetTest.cpp 10 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {
12 if (Size > 0 && Data[0] == 'F') bits |= 1;
13 if (Size > 1 && Data[1] == 'U') bits |= 2;
14 if (Size > 2 && Data[2] == 'Z') bits |= 4;
15 if (Size > 3 && Data[3] == 'Z') bits |= 8;
16 if (Size > 4 && Data[4] == 'E') bits |= 16;
17 if (Size > 5 && Data[5] == 'R') bits |= 32;
TimeoutTest.cpp 12 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {
13 if (Size > 0 && Data[0] == 'H') {
15 if (Size > 1 && Data[1] == 'i') {
17 if (Size > 2 && Data[2] == '!') {
StrncmpTest.cpp 12 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {
15 if (Size >= 8 && strncmp(S, "123", 8))
17 if (Size >= 8 && strncmp(S, "01234567", 8) == 0) {
18 if (Size >= 12 && strncmp(S + 8, "ABCD", 4) == 0) {
19 if (Size >= 14 && strncmp(S + 12, "XY", 2) == 0) {
20 if (Size >= 16 && strncmp(S + 14, "KLM", 3) == 0) {
StrcmpTest.cpp 11 bool Eq(const uint8_t *Data, size_t Size, const char *Str) {
14 if (Size < Len) return false;
22 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {
23 if (Eq(Data, Size, "AAA") &&
24 Size >= 3 && Eq(Data + 3, Size - 3, "BBBB") &&
25 Size >= 7 && Eq(Data + 7, Size - 7, "CCCCCC") &&
26 Size >= 14 && Data[13] == 42
FourIndependentBranchesTest.cpp 10 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {
12 if (Size > 0 && Data[0] == 'F') bits |= 1;
13 if (Size > 1 && Data[1] == 'U') bits |= 2;
14 if (Size > 2 && Data[2] == 'Z') bits |= 4;
15 if (Size > 3 && Data[3] == 'Z') bits |= 8;
LeakTest.cpp 10 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {
11 if (Size > 0 && *Data == 'H') {
LeakTimeoutTest.cpp 10 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {
11 if (!Size) return 0;
MemcmpTest.cpp 10 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {
12 if (Size >= 8 && memcmp(Data, "01234567", 8) == 0) {
13 if (Size >= 12 && memcmp(Data + 8, "ABCD", 4) == 0) {
14 if (Size >= 14 && memcmp(Data + 12, "XY", 2) == 0) {
15 if (Size >= 17 && memcmp(Data + 14, "KLM", 3) == 0) {
16 if (Size >= 27 && memcmp(Data + 17, "ABCDE-GHIJ", 10) == 0){
17 fprintf(stderr, "BINGO %zd\n", Size);
18 for (size_t i = 0; i < Size; i++) {
NullDerefOnEmptyTest.cpp 12 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {
13 if (Size == 0) {
EmptyTest.cpp 9 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {
NullDerefTest.cpp 13 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {
14 if (Size > 0 && Data[0] == 'H') {
16 if (Size > 1 && Data[1] == 'i') {
18 if (Size > 2 && Data[2] == '!') {
OneHugeAllocTest.cpp 15 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {
16 if (Size > 0 && Data[0] == 'H') {
17 if (Size > 1 && Data[1] == 'i') {
18 if (Size > 2 && Data[2] == '!') {
  /packages/apps/Camera2/src/com/android/camera/one/
PreviewSizeSelector.java 19 import com.android.camera.util.Size;
22 * Picks a preview size for a given image resolution choice.
27 * Given an image capture resolution, pick a preview size.
29 public Size pickPreviewSize(Size imageResolution);
  /toolchain/binutils/binutils-2.27/ld/testsuite/ld-scripts/
print-memory-usage-2.l 1 Memory region Used Size Region Size %age Used
  /external/clang/test/Sema/
offsetof-64.c 5 const unsigned long Size = (1l << 60);
8 char padding[Size];
9 char more_padding[1][Size];
16 char padding[Size][Size][Size]; // expected-error 2{{array is too large}}
  /external/llvm/lib/Support/
LEB128.cpp 19 /// Utility function to get the size of the ULEB128-encoded value.
21 unsigned Size = 0;
24 Size += sizeof(int8_t);
26 return Size;
29 /// Utility function to get the size of the SLEB128-encoded value.
31 unsigned Size = 0;
39 Size += sizeof(int8_t);
41 return Size;
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
driverspecs.h 19 #define __in_bcount(Size)
20 #define __in_ecount(Size)
23 #define __out_bcount(Size)
24 #define __out_bcount_part(Size, Length)
25 #define __out_ecount(Size)
29 #define __deref_out_ecount(Size)
  /external/deqp/framework/delibs/decpp/
deArrayUtil.hpp 32 //! Get an element of an array with a specified size.
33 template <int LastElementIndex, int Size, typename Elem>
34 const Elem& getSizedArrayElement (const Elem (&array)[Size], typename de::meta::EnableIf<int, LastElementIndex==Size>::Type offset)
36 DE_ASSERT(inBounds(offset, 0, Size));
40 //! Get an element of an array with a compile-time constant size.
41 template <int Size, typename Elem>
42 const Elem& getArrayElement (const Elem (&array)[Size], int offset)
44 DE_ASSERT(inBounds(offset, 0, Size));
  /external/deqp/framework/common/
tcuVector.hpp 36 template <typename T, int VecSize, int Size>
44 VecAccess& operator= (const Vector<T, Size>& v);
46 operator Vector<T, Size> (void) const;
50 int m_index[Size];
53 template <typename T, int VecSize, int Size>
54 VecAccess<T, VecSize, Size>::VecAccess (Vector<T, VecSize>& v, int x, int y)
57 DE_STATIC_ASSERT(Size == 2);
62 template <typename T, int VecSize, int Size>
63 VecAccess<T, VecSize, Size>::VecAccess (Vector<T, VecSize>& v, int x, int y, int z)
66 DE_STATIC_ASSERT(Size == 3)
    [all...]
  /art/tools/ahat/src/main/com/android/ahat/heapdump/
Size.java 22 * more easily keep track of the different components of the size. For
26 * Size objects are immutable.
28 public class Size {
33 * An instance of Size with 0 for all categories.
35 public static Size ZERO = new Size(0, 0);
38 * Constructs a new instance of Size.
44 public Size(long javaSize, long registeredNativeSize) {
50 * Returns the sum of the size of all categories.
52 * @return the total size
    [all...]
  /external/libmojo/ui/gfx/geometry/
size_conversions.h 8 #include "ui/gfx/geometry/size.h"
13 // Returns a Size with each component from the input SizeF floored.
14 GFX_EXPORT Size ToFlooredSize(const SizeF& size);
16 // Returns a Size with each component from the input SizeF ceiled.
17 GFX_EXPORT Size ToCeiledSize(const SizeF& size);
19 // Returns a Size with each component from the input SizeF rounded.
20 GFX_EXPORT Size ToRoundedSize(const SizeF& size);
    [all...]
size.h 17 typedef struct tagSIZE SIZE;
24 // A size has width and height values.
25 class GFX_EXPORT Size {
27 constexpr Size() : width_(0), height_(0) {}
28 constexpr Size(int width, int height)
31 explicit Size(const CGSize& s);
35 Size& operator=(const CGSize& s);
39 SIZE ToSIZE() const;
50 // This call will CHECK if the area of this size would overflow int.
62 void SetToMin(const Size& other)
    [all...]
  /device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EfiCommonLib/
EfiZeroMem.c 31 IN UINTN Size
37 Set Buffer to 0 for Size bytes.
43 Size - Number of bytes to set
54 while (Size--) {
  /frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
Size.java 27 * An immutable simple size container.
29 public class Size {
34 * {@link android.hardware.Camera.Size}.
39 public static List<Size> buildListFromCameraSizes(List<Camera.Size> cameraSizes) {
40 ArrayList<Size> list = new ArrayList<Size>(cameraSizes.size());
41 for (Camera.Size cameraSize : cameraSizes) {
42 list.add(new Size(cameraSize))
    [all...]
  /packages/apps/Camera2/src/com/android/camera/util/
Size.java 32 * Simple size class until we are 'L' only and can use android.util.Size.
34 public class Size {
40 public Size(Point point) {
46 public Size(android.util.Size size) {
47 this.width = size.getWidth();
48 this.height = size.getHeight();
51 public Size(int width, int height)
    [all...]

Completed in 406 milliseconds

1 2 3 4 5 6 7 8 91011>>