/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/llvm/lib/Fuzzer/test/ |
FullCoverageSetTest.cpp | 7 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) { 9 if (Size > 0 && Data[0] == 'F') bits |= 1; 10 if (Size > 1 && Data[1] == 'U') bits |= 2; 11 if (Size > 2 && Data[2] == 'Z') bits |= 4; 12 if (Size > 3 && Data[3] == 'Z') bits |= 8; 13 if (Size > 4 && Data[4] == 'E') bits |= 16; 14 if (Size > 5 && Data[5] == 'R') bits |= 32;
|
TimeoutTest.cpp | 9 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) { 10 if (Size > 0 && Data[0] == 'H') { 12 if (Size > 1 && Data[1] == 'i') { 14 if (Size > 2 && Data[2] == '!') {
|
StrncmpTest.cpp | 9 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) { 12 if (Size >= 8 && strncmp(S, "123", 8)) 14 if (Size >= 8 && strncmp(S, "01234567", 8) == 0) { 15 if (Size >= 12 && strncmp(S + 8, "ABCD", 4) == 0) { 16 if (Size >= 14 && strncmp(S + 12, "XY", 2) == 0) { 17 if (Size >= 16 && strncmp(S + 14, "KLM", 3) == 0) {
|
StrcmpTest.cpp | 8 bool Eq(const uint8_t *Data, size_t Size, const char *Str) { 11 if (Size < Len) return false; 19 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) { 20 if (Eq(Data, Size, "AAA") && 21 Size >= 3 && Eq(Data + 3, Size - 3, "BBBB") && 22 Size >= 7 && Eq(Data + 7, Size - 7, "CCCCCC") && 23 Size >= 14 && Data[13] == 42
|
FourIndependentBranchesTest.cpp | 7 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) { 9 if (Size > 0 && Data[0] == 'F') bits |= 1; 10 if (Size > 1 && Data[1] == 'U') bits |= 2; 11 if (Size > 2 && Data[2] == 'Z') bits |= 4; 12 if (Size > 3 && Data[3] == 'Z') bits |= 8;
|
MemcmpTest.cpp | 7 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) { 9 if (Size >= 8 && memcmp(Data, "01234567", 8) == 0) { 10 if (Size >= 12 && memcmp(Data + 8, "ABCD", 4) == 0) { 11 if (Size >= 14 && memcmp(Data + 12, "XY", 2) == 0) { 12 if (Size >= 16 && memcmp(Data + 14, "KLM", 3) == 0) {
|
NullDerefTest.cpp | 10 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) { 11 if (Size > 0 && Data[0] == 'H') { 13 if (Size > 1 && Data[1] == 'i') { 15 if (Size > 2 && Data[2] == '!') {
|
SimpleTest.cpp | 10 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) { 12 if (Size > 0 && Data[0] == 'H') { 14 if (Size > 1 && Data[1] == 'i') { 16 if (Size > 2 && Data[2] == '!') {
|
UninstrumentedTest.cpp | 5 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {
|
SwitchTest.cpp | 11 bool Switch(const uint8_t *Data, size_t Size) { 13 if (Size < sizeof(X)) return false; 28 bool ShortSwitch(const uint8_t *Data, size_t Size) { 30 if (Size < sizeof(short)) return false; 45 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) { 46 if (Size >= 4 && Switch<int>(Data, Size) && 47 Size >= 12 && Switch<uint64_t>(Data + 4, Size - 4) && 48 Size >= 14 && ShortSwitch(Data + 12, 2 [all...] |
SimpleCmpTest.cpp | 7 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) { 8 if (Size < 14) return 0; 14 memcpy(&y, Data + Size - 8, 8); 15 memcpy(&z, Data + Size / 2, sizeof(z)); 16 memcpy(&a, Data + Size / 2 + 4, sizeof(a)); 26 fprintf(stderr, "BINGO; Found the target: size %zd (%zd, %zd, %d, %d), exiting.\n", 27 Size, x, y, z, a);
|
SimpleHashTest.cpp | 12 static uint32_t simple_hash(const uint8_t *Data, size_t Size) { 14 for (uint32_t i = 0; i < Size; i++) { 25 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) { 26 if (Size < 14) 29 uint32_t Hash = simple_hash(&Data[0], Size - 4); 30 uint32_t Want = reinterpret_cast<const uint32_t *>(&Data[Size - 4])[0];
|
CounterTest.cpp | 5 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) { 7 for (size_t i = 0; i < Size; i++)
|
/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);
|
/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;
|
raw_os_ostream.cpp | 26 void raw_os_ostream::write_impl(const char *Ptr, size_t Size) { 27 OS.write(Ptr, 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...] |
/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...] |
/packages/apps/Camera2/src/com/android/camera/captureintent/event/ |
EventOnTextureViewLayoutChanged.java | 20 import com.android.camera.util.Size; 23 private final Size mLayoutSize; 25 public EventOnTextureViewLayoutChanged(Size layoutSize) { 29 public Size getLayoutSize() {
|
/packages/apps/Camera2/src/com/android/camera/captureintent/resource/ |
ResourceSurfaceTexture.java | 20 import com.android.camera.util.Size; 45 * Obtains the chosen preview stream size. 47 * @return A {@link com.android.camera.util.Size} object. 49 public Size getPreviewSize(); 52 * Changes the preview stream size. 54 * @param previewSize The new preview stream size. 56 public void setPreviewSize(Size previewSize); 59 * Obtains the current view layout size for the preview. 61 * @return A {@link com.android.camera.util.Size} object. 63 public Size getPreviewLayoutSize() [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/ |
Size.java | 20 * Simple immutable class for keeping a size. 22 public class Size { 26 public Size(int width, int height) {
|