/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...] |
/external/libcxx/test/std/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" );
|
/ndk/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/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/src/extras/LIRC/ |
OISLIRCRingBuffer.h | 141 int size1 = 0, size2 = 0, numWritten; local 144 numWritten = GetWriteRegions( numEntries, data1Ptr, size1, data2Ptr, size2 ); 149 memcpy( &buffer[data1Ptr], data, sizeof(LIRCEvent) * size1 ); 150 //Array.Copy( data, offsetPtr, buffer, data1Ptr, size1 ); 151 memcpy( &buffer[data2Ptr], &data[size1], sizeof(LIRCEvent) * size2 ); 152 //Array.Copy( data, offsetPtr + size1, buffer, data2Ptr, size2 ); 156 memcpy( &buffer[data1Ptr], data, sizeof(LIRCEvent) * size1 ); 157 //Array.Copy( data, offsetPtr, buffer, data1Ptr, size1 ); 170 int size1 = 0, size2 = 0, numRead, data1Ptr = 0, data2Ptr = 0; local 172 numRead = GetReadRegions( numEntries, data1Ptr, size1, data2Ptr, size2 ) [all...] |
/ndk/tests/device/test-gnustl-full/unit/ |
collate_facets_test.cpp | 24 const size_t size1 = sizeof(str1) / sizeof(str1[0]) - 1; local 27 CPPUNIT_ASSERT( col.compare(str1, str1 + size1 - 1, str2, str2 + size2 - 1) == 0 ); 28 CPPUNIT_ASSERT( col.compare(str1, str1 + size1, str2, str2 + size2) == -1 ); 31 CPPUNIT_ASSERT( col.compare(str1, str1 + size1 - 2, str2, str2 + size2 - 1) == -1 ); 32 CPPUNIT_ASSERT( col.compare(str1, str1 + size1 - 1, str2, str2 + size2 - 2) == 1 ); 44 const size_t size1 = sizeof(str1) / sizeof(str1[0]) - 1; local 47 CPPUNIT_ASSERT( col.compare(str1, str1 + size1 - 1, str2, str2 + size2 - 1) == 0 ); 48 CPPUNIT_ASSERT( col.compare(str1, str1 + size1, str2, str2 + size2) == -1 ); 51 CPPUNIT_ASSERT( col.compare(str1, str1 + size1 - 2, str2, str2 + size2 - 1) == -1 ); 52 CPPUNIT_ASSERT( col.compare(str1, str1 + size1 - 1, str2, str2 + size2 - 2) == 1 ) 91 const size_t size1 = sizeof(str1) \/ sizeof(str1[0]) - 1; local 218 const size_t size1 = sizeof(str1) \/ sizeof(str1[0]) - 1; local [all...] |
/ndk/tests/device/test-stlport/unit/ |
collate_facets_test.cpp | 24 const size_t size1 = sizeof(str1) / sizeof(str1[0]) - 1; local 27 CPPUNIT_ASSERT( col.compare(str1, str1 + size1 - 1, str2, str2 + size2 - 1) == 0 ); 28 CPPUNIT_ASSERT( col.compare(str1, str1 + size1, str2, str2 + size2) == -1 ); 31 CPPUNIT_ASSERT( col.compare(str1, str1 + size1 - 2, str2, str2 + size2 - 1) == -1 ); 32 CPPUNIT_ASSERT( col.compare(str1, str1 + size1 - 1, str2, str2 + size2 - 2) == 1 ); 44 const size_t size1 = sizeof(str1) / sizeof(str1[0]) - 1; local 47 CPPUNIT_ASSERT( col.compare(str1, str1 + size1 - 1, str2, str2 + size2 - 1) == 0 ); 48 CPPUNIT_ASSERT( col.compare(str1, str1 + size1, str2, str2 + size2) == -1 ); 51 CPPUNIT_ASSERT( col.compare(str1, str1 + size1 - 2, str2, str2 + size2 - 1) == -1 ); 52 CPPUNIT_ASSERT( col.compare(str1, str1 + size1 - 1, str2, str2 + size2 - 2) == 1 ) 91 const size_t size1 = sizeof(str1) \/ sizeof(str1[0]) - 1; local 218 const size_t size1 = sizeof(str1) \/ sizeof(str1[0]) - 1; local [all...] |
/external/lzma/C/ |
Bcj2.h | 27 const Byte *buf1, SizeT size1,
|
/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/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/src/win32/extras/WiiMote/ |
OISWiiMoteRingBuffer.h | 185 int size1 = 0, size2 = 0, numWritten; local 188 numWritten = GetWriteRegions( numEntries, data1Ptr, size1, data2Ptr, size2 ); 193 memcpy( &buffer[data1Ptr], data, sizeof(WiiMoteEvent) * size1 ); 194 //Array.Copy( data, offsetPtr, buffer, data1Ptr, size1 ); 195 memcpy( &buffer[data2Ptr], &data[size1], sizeof(WiiMoteEvent) * size2 ); 196 //Array.Copy( data, offsetPtr + size1, buffer, data2Ptr, size2 ); 200 memcpy( &buffer[data1Ptr], data, sizeof(WiiMoteEvent) * size1 ); 201 //Array.Copy( data, offsetPtr, buffer, data1Ptr, size1 ); 214 int size1 = 0, size2 = 0, numRead, data1Ptr = 0, data2Ptr = 0; local 216 numRead = GetReadRegions( numEntries, data1Ptr, size1, data2Ptr, size2 ) [all...] |
/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...] |
/external/opencv3/3rdparty/openexr/IlmImf/ |
ImfMultiView.cpp | 231 unsigned int size1 = chan1.size(); // number of SECTIONS in string local 237 if (size1 == 0 || size2 == 0) 245 if (size1 > 1 && viewNum (chan1[size1 - 2], multiView) == -1) 262 if (size1 == 1) 279 return size1 == 2 && chan2[0] == chan1[1]; 288 if (size1 != size2) 291 for(int i = 0; i < size1; ++i) 293 if (i != size1 - 2 && chan1[i] != chan2[i])
|
/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 | 209 size_t size1 = CPU_ALLOC_SIZE(set_size1); local 216 CPU_ZERO_S(size1, set1); 220 CPU_SET_S(0, size1, set1); 224 CPU_AND_S(size1, set3, set1, set2); 229 CPU_OR_S(size1, set3, set1, set2); 234 CPU_XOR_S(size1, set3, set1, set2); 247 size_t size1 = CPU_ALLOC_SIZE(set_size1); local 253 CPU_ZERO_S(size1, set1); 256 CPU_SET_S(0, size1, set1); 257 ASSERT_TRUE(CPU_EQUAL_S(size1, set1, set1)) [all...] |
/external/eigen/test/eigen2/ |
gsl_helper.h | 37 gsl_eigen_symmv_workspace * w = gsl_eigen_symmv_alloc(m->size1); 38 Matrix a = createMatrix(m->size1, m->size2); 47 gsl_eigen_gensymmv_workspace * w = gsl_eigen_gensymmv_alloc(m->size1); 48 Matrix a = createMatrix(m->size1, m->size2); 49 Matrix b = createMatrix(_b->size1, _b->size2); 73 gsl_eigen_hermv_workspace * w = gsl_eigen_hermv_alloc(m->size1); 74 Matrix a = createMatrix(m->size1, m->size2); 83 gsl_eigen_genhermv_workspace * w = gsl_eigen_genhermv_alloc(m->size1); 84 Matrix a = createMatrix(m->size1, m->size2); 85 Matrix b = createMatrix(_b->size1, _b->size2) [all...] |
/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/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);
|