/external/opencv/cvaux/src/ |
_cvaux.h | 54 CV_INLINE bool operator == (CvSize size1, CvSize size2 ); 55 CV_INLINE bool operator == (CvSize size1, CvSize size2 ) 57 return size1.width == size2.width && size1.height == size2.height; 60 CV_INLINE bool operator != (CvSize size1, CvSize size2 ); 61 CV_INLINE bool operator != (CvSize size1, CvSize size2 ) 63 return size1.width != size2.width || size1.height != size2.height;
|
/external/flac/include/share/ |
alloc.h | 86 static inline void *safe_malloc_add_2op_(size_t size1, size_t size2) 88 size2 += size1; 89 if(size2 < size1) 94 static inline void *safe_malloc_add_3op_(size_t size1, size_t size2, size_t size3) 96 size2 += size1; 97 if(size2 < size1) 105 static inline void *safe_malloc_add_4op_(size_t size1, size_t size2, size_t size3, size_t size4) 107 size2 += size1; 108 if(size2 < size1) 119 void *safe_malloc_mul_2op_(size_t size1, size_t size2) [all...] |
/external/bison/lib/ |
xsize.h | 60 xsum (size_t size1, size_t size2) 62 size_t sum = size1 + size2; 63 return (sum >= size1 ? sum : SIZE_MAX); 71 xsum3 (size_t size1, size_t size2, size_t size3) 73 return xsum (xsum (size1, size2), size3); 81 xsum4 (size_t size1, size_t size2, size_t size3, size_t size4) 83 return xsum (xsum (xsum (size1, size2), size3), size4); 91 xmax (size_t size1, size_t size2) 95 return (size1 >= size2 ? size1 : size2) [all...] |
/external/e2fsprogs/intl/ |
xsize.h | 57 xsum (size_t size1, size_t size2) 59 size_t sum = size1 + size2; 60 return (sum >= size1 ? sum : SIZE_MAX); 68 xsum3 (size_t size1, size_t size2, size_t size3) 70 return xsum (xsum (size1, size2), size3); 78 xsum4 (size_t size1, size_t size2, size_t size3, size_t size4) 80 return xsum (xsum (xsum (size1, size2), size3), size4); 88 xmax (size_t size1, size_t size2) 92 return (size1 >= size2 ? size1 : size2) [all...] |
/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/intseq/intseq.intseq/ |
integer_seq.pass.cpp | 30 using size1 = std::integer_sequence<size_t, 7>; 38 static_assert ( std::is_same<size1::value_type, size_t>::value, "size1 type wrong" ); 39 static_assert ( size1::size() == 1, "size1 size wrong" );
|
/external/libcxx/test/std/utilities/intseq/intseq.intseq/ |
integer_seq.pass.cpp | 30 using size1 = std::integer_sequence<std::size_t, 7>; 38 static_assert ( std::is_same<size1::value_type, std::size_t>::value, "size1 type wrong" ); 39 static_assert ( size1::size() == 1, "size1 size wrong" );
|
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/utilities/intseq/intseq.intseq/ |
integer_seq.pass.cpp | 31 using size1 = std::integer_sequence<std::size_t, 7>; 39 static_assert ( std::is_same<size1::value_type, std::size_t>::value, "size1 type wrong" ); 40 static_assert ( size1::size() == 1, "size1 size wrong" );
|
/external/lzma/C/ |
Bcj2.h | 27 const Byte *buf1, SizeT size1,
|
Bcj2.c | 37 const Byte *buf1, SizeT size1,
106 if (size1 < 4)
109 size1 -= 4;
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/comparator/ |
SizeFileComparator.java | 109 long size1 = 0; local 111 size1 = sumDirectoryContents && file1.exists() ? FileUtils.sizeOfDirectory(file1) : 0; 113 size1 = file1.length(); 121 long result = size1 - size2;
|
/external/webrtc/webrtc/modules/audio_device/mac/portaudio/ |
pa_ringbuffer.c | 199 PaRingBufferSize size1, size2, numWritten; local 201 numWritten = PaUtil_GetRingBufferWriteRegions( rbuf, elementCount, &data1, &size1, &data2, &size2 ); 205 memcpy( data1, data, size1*rbuf->elementSizeBytes ); 206 data = ((char *)data) + size1*rbuf->elementSizeBytes; 211 memcpy( data1, data, size1*rbuf->elementSizeBytes ); 222 PaRingBufferSize size1, size2, numRead; local 224 numRead = PaUtil_GetRingBufferReadRegions( rbuf, elementCount, &data1, &size1, &data2, &size2 ); 227 memcpy( data, data1, size1*rbuf->elementSizeBytes ); 228 data = ((char *)data) + size1*rbuf->elementSizeBytes; 233 memcpy( data, data1, size1*rbuf->elementSizeBytes ) [all...] |
/packages/apps/Camera2/src/com/android/camera/one/v2/initialization/ |
Camera2PreviewSizeSelector.java | 59 public int compare(Size size1, Size size2) { 60 int area1 = size1.getWidth() * size1.getHeight();
|
/external/lzma/CPP/Common/ |
MyBuffer.h | 98 size_t size1 = b1.Size();
local 99 if (size1 != b2.Size())
101 return memcmp(b1, b2, size1 * sizeof(T)) == 0;
107 size_t size1 = b1.Size();
local 108 if (size1 == b2.Size())
110 return memcmp(b1, b2, size1 * sizeof(T)) != 0;
|
/bionic/tests/ |
sched_test.cpp | 217 size_t size1 = CPU_ALLOC_SIZE(set_size1); local 224 CPU_ZERO_S(size1, set1); 228 CPU_SET_S(0, size1, set1); 232 CPU_AND_S(size1, set3, set1, set2); 237 CPU_OR_S(size1, set3, set1, set2); 242 CPU_XOR_S(size1, set3, set1, set2); 255 size_t size1 = CPU_ALLOC_SIZE(set_size1); local 261 CPU_ZERO_S(size1, set1); 264 CPU_SET_S(0, size1, set1); 265 ASSERT_TRUE(CPU_EQUAL_S(size1, set1, set1)) [all...] |
/test/vts-testcase/fuzz/iface_fuzzer/ |
ProtoFuzzerMain.cpp | 103 size_t LLVMFuzzerCustomCrossOver(const uint8_t *data1, size_t size1, 107 memcpy(out, data1, size1); 108 return size1;
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_gdbm.py | 66 size1 = os.path.getsize(filename)
67 self.assertTrue(size0 < size1)
71 self.assertEqual(os.path.getsize(filename), size1)
75 self.assertTrue(size1 > size2 >= size0)
|
/external/flac/libFLAC/include/private/ |
memory.h | 56 void *safe_malloc_mul_2op_p(size_t size1, size_t size2);
|
/external/proguard/src/proguard/util/ |
ArrayUtil.java | 249 * @param size1 the size of the first array. 257 public static int compare(byte[] array1, int size1, 260 int minSize = Math.min(size1, size2); 274 return size1 < size2 ? -1 : 275 size1 == size2 ? 0 : 283 * @param size1 the size of the first array. 291 public static int compare(short[] array1, int size1, 294 int minSize = Math.min(size1, size2); 308 return size1 < size2 ? -1 : 309 size1 == size2 ? 0 [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_gdbm.py | 66 size1 = os.path.getsize(filename) 67 self.assertTrue(size0 < size1) 71 self.assertEqual(os.path.getsize(filename), size1) 75 self.assertTrue(size1 > size2 >= size0)
|
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_gdbm.py | 66 size1 = os.path.getsize(filename) 67 self.assertTrue(size0 < size1) 71 self.assertEqual(os.path.getsize(filename), size1) 75 self.assertTrue(size1 > size2 >= size0)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_gdbm.py | 66 size1 = os.path.getsize(filename) 67 self.assertTrue(size0 < size1) 71 self.assertEqual(os.path.getsize(filename), size1) 75 self.assertTrue(size1 > size2 >= size0)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_gdbm.py | 66 size1 = os.path.getsize(filename) 67 self.assertTrue(size0 < size1) 71 self.assertEqual(os.path.getsize(filename), size1) 75 self.assertTrue(size1 > size2 >= size0)
|
/external/dtc/tests/ |
dtbs_equal_ordered.c | 59 uint64_t addr1, size1, addr2, size2; local 65 CHECK(fdt_get_mem_rsv(fdt1, i, &addr1, &size1)); 68 if ((addr1 != addr2) || (size1 != size2)) 72 (unsigned long long)size1,
|
/external/flac/libFLAC/ |
memory.c | 211 void *safe_malloc_mul_2op_p(size_t size1, size_t size2) 213 if(!size1 || !size2) 215 if(size1 > SIZE_MAX / size2) 217 return malloc(size1*size2);
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/SampleCode/ |
AMRWB_E_SAMPLE.c | 87 int size1 = 0; local 191 size1 = (int)strlen(VOAMRWB_RFC3267_HEADER_INFO); 192 memcpy(outBuf, VOAMRWB_RFC3267_HEADER_INFO, size1); 193 outBuf += size1; 217 fwrite(OutputBuf, 1, outData.Length + size1, fdst);
|