/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/bison/lib/ |
xsize.h | 60 xsum (size_t size1, size_t size2) 62 size_t sum = size1 + size2; 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);
|
/external/e2fsprogs/intl/ |
xsize.h | 57 xsum (size_t size1, size_t size2) 59 size_t sum = size1 + size2; 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);
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
SizeAreaComparator.java | 38 public int compare(Camera.Size size, Camera.Size size2) { 40 checkNotNull(size2, "size2 must not be null"); 42 if (size.equals(size2)) { 47 long width2 = size2.width; 49 long area2 = width2 * size2.height;
|
/frameworks/base/core/java/android/hardware/camera2/utils/ |
SizeAreaComparator.java | 37 public int compare(Size size, Size size2) { 39 checkNotNull(size2, "size2 must not be null"); 41 if (size.equals(size2)) { 46 long width2 = size2.getWidth(); 48 long area2 = width2 * size2.getHeight();
|
/external/valgrind/main/drd/tests/ |
custom_alloc.c | 30 int size2 = size + RZ*2; local 33 if (hp + size2 > hp_lim) { 39 hp += size2;
|
/external/valgrind/main/massif/tests/ |
custom_alloc.c | 30 int size2 = size + RZ*2; local 33 if (hp + size2 > hp_lim) { 39 hp += size2;
|
/external/stlport/test/unit/ |
collate_facets_test.cpp | 25 const size_t size2 = sizeof(str2) / sizeof(str2[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 ); 45 const size_t size2 = sizeof(str2) / sizeof(str2[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 ) 92 const size_t size2 = sizeof(str2) \/ sizeof(str2[0]) - 1; local 219 const size_t size2 = sizeof(str2) \/ sizeof(str2[0]) - 1; local [all...] |
/ndk/tests/device/test-gnustl-full/unit/ |
collate_facets_test.cpp | 25 const size_t size2 = sizeof(str2) / sizeof(str2[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 ); 45 const size_t size2 = sizeof(str2) / sizeof(str2[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 ) 92 const size_t size2 = sizeof(str2) \/ sizeof(str2[0]) - 1; local 219 const size_t size2 = sizeof(str2) \/ sizeof(str2[0]) - 1; local [all...] |
/ndk/tests/device/test-stlport/unit/ |
collate_facets_test.cpp | 25 const size_t size2 = sizeof(str2) / sizeof(str2[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 ); 45 const size_t size2 = sizeof(str2) / sizeof(str2[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 ) 92 const size_t size2 = sizeof(str2) \/ sizeof(str2[0]) - 1; local 219 const size_t size2 = sizeof(str2) \/ sizeof(str2[0]) - 1; local [all...] |
/external/chromium_org/third_party/lzma_sdk/ |
Bcj2.h | 30 const Byte *buf2, SizeT size2,
|
7zStream.c | 73 size_t size2 = p->size - p->pos; local 74 if (size2 == 0 && *size > 0) 77 size2 = LookToRead_BUF_SIZE; 78 res = p->realStream->Read(p->realStream, p->buf, &size2); 79 p->size = size2; 81 if (size2 < *size) 82 *size = size2; 91 size_t size2 = p->size - p->pos; local 92 if (size2 == 0 && *size > 0) 98 size2 = p->size = *size [all...] |
/external/lzma/C/ |
Bcj2.h | 30 const Byte *buf2, SizeT size2,
|
7zStream.c | 73 size_t size2 = p->size - p->pos;
local 74 if (size2 == 0 && *size > 0)
77 size2 = LookToRead_BUF_SIZE;
78 res = p->realStream->Read(p->realStream, p->buf, &size2);
79 p->size = size2;
81 if (size2 < *size)
82 *size = size2;
91 size_t size2 = p->size - p->pos;
local 92 if (size2 == 0 && *size > 0)
98 size2 = p->size = *size; [all...] |
/packages/apps/UnifiedEmail/src/org/apache/commons/io/comparator/ |
SizeFileComparator.java | 115 long size2 = 0; local 117 size2 = sumDirectoryContents && file2.exists() ? FileUtils.sizeOfDirectory(file2) : 0; 119 size2 = file2.length(); 121 long result = size1 - size2;
|
/external/chromium_org/tools/binary_size/ |
explain_binary_size_delta.py | 99 size2 = size_list2[0] 100 if symbol_size != size2: 102 changed.append((key[0], key[1], symbol_name, symbol_size, size2)) 106 size2)) 167 file_path, symbol_type, symbol_name, size1, size2 = item 168 if size1 < size2: 179 for file_path, symbol_type, symbol_name, size1, size2 in section.symbols: 183 if size2 is not None: 184 section.after_size += size2 186 bucket.append((symbol_name, symbol_type, size1, size2)) [all...] |
/external/eigen/bench/ |
benchVecAdd.cpp | 24 int size2 = size * size; local 25 Scalar* a = internal::aligned_new<Scalar>(size2); 26 Scalar* b = internal::aligned_new<Scalar>(size2+4)+1; 27 Scalar* c = internal::aligned_new<Scalar>(size2); 40 benchVec(a, b, c, size2); 43 std::cout << timer.value() << "s " << (double(size2*REPEAT)/timer.value())/(1024.*1024.*1024.) << " GFlops\n"; 47 if (size2%innersize==0) 49 int outersize = size2/innersize; 60 std::cout << innersize << " x " << outersize << " " << timer.value() << "s " << (double(size2*REPEAT)/timer.value())/(1024.*1024.*1024.) << " GFlops\n"; 64 VectorXf va = Map<VectorXf>(a, size2); [all...] |
/external/chromium_org/third_party/webrtc/modules/audio_device/mac/portaudio/ |
pa_ringbuffer.c | 102 ** If the region is contiguous, size2 will be zero. 103 ** If non-contiguous, size2 will be the size of second region. 146 ** If the region is contiguous, size2 will be zero. 147 ** If non-contiguous, size2 will be the size of second region. 190 ring_buffer_size_t size1, size2, numWritten; local 192 numWritten = PaUtil_GetRingBufferWriteRegions( rbuf, elementCount, &data1, &size1, &data2, &size2 ); 193 if( size2 > 0 ) 198 memcpy( data2, data, size2*rbuf->elementSizeBytes ); 212 ring_buffer_size_t size1, size2, numRead; local 214 numRead = PaUtil_GetRingBufferReadRegions( rbuf, elementCount, &data1, &size1, &data2, &size2 ); [all...] |
/external/chromium_org/third_party/webrtc/common_video/ |
plane_unittest.cc | 60 int size2 = 30; local 61 plane2.CreateEmptyPlane(50, 15, size2); 83 int size1, size2, stride1, stride2; local 89 size2 = plane2.allocated_size(); 92 EXPECT_EQ(size2, plane1.allocated_size());
|
/external/libcxx/test/utilities/intseq/intseq.general/ |
integer_seq.pass.cpp | 36 using size2 = std::index_sequence_for<int, size_t>; // generates size_t: 0,1 50 static_assert ( std::is_same<size2::value_type, size_t>::value, "size2 type wrong" ); 51 static_assert ( size2::size () == 2, "size2 size wrong" ); 74 auto t2 = extract ( tup, size2 ()); 75 static_assert ( std::tuple_size<decltype(t2)>::value == size2::size (), "t2 size wrong");
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/intseq/intseq.general/ |
integer_seq.pass.cpp | 36 using size2 = std::index_sequence_for<int, size_t>; // generates size_t: 0,1 50 static_assert ( std::is_same<size2::value_type, size_t>::value, "size2 type wrong" ); 51 static_assert ( size2::size () == 2, "size2 size wrong" ); 74 auto t2 = extract ( tup, size2 ()); 75 static_assert ( std::tuple_size<decltype(t2)>::value == size2::size (), "t2 size wrong");
|
/external/valgrind/main/memcheck/tests/ |
custom_alloc.c | 36 int size2 = size + RZ*2; local 39 if (hp + size2 > hp_lim) { 45 hp += size2;
|
/external/proguard/src/proguard/util/ |
ArrayUtil.java | 196 * @param size2 the size of the second array. 203 byte[] array2, int size2) 205 int minSize = Math.min(size1, size2); 219 return size1 < size2 ? -1 : 220 size1 == size2 ? 0 : 230 * @param size2 the size of the second array. 237 short[] array2, int size2) 239 int minSize = Math.min(size1, size2); 253 return size1 < size2 ? -1 : 254 size1 == size2 ? 0 [all...] |
/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/ |
mergesort.c | 261 s -= size2; \ 278 size_t size2; local 281 size2 = size*2; 303 for (f2 = f1 + size2; f2 < last; f2 += size2) { 310 p2 = *EVAL(p2) = f1 + size2 - list1 + list2; 313 } while ((f1 += size2) < f2); 316 for (f2 = f1 + size2; f2 < l2; f2 += size2) { 334 for (f1 = list1, p2 = list2; f1 < last; f1 += size2) { [all...] |
/external/chromium_org/sdch/open-vcdiff/src/ |
codetable.h | 65 // inst1=ADD size1=0 mode1=X inst2=NOOP size2=X mode2=X 66 // inst1=RUN size1=0 mode1=X inst2=NOOP size2=X mode2=X 67 // inst1=COPY size1=0 mode1=N inst2=NOOP size2=X mode2=X (for all N) 99 // | inst1 | size1 | mode1 | inst2 | size2 | mode2 | 105 unsigned char size2[kCodeTableSize]; member in struct:open_vcdiff::VCDiffCodeTableData
|