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

1 2 3 4 5 6 7 8 91011>>

  /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)
91 return safe_malloc_(size2);
94 static inline void *safe_malloc_add_3op_(size_t size1, size_t size2, size_t size3)
96 size2 += size1;
97 if(size2 < size1)
99 size3 += size2;
100 if(size3 < size2)
105 static inline void *safe_malloc_add_4op_(size_t size1, size_t size2, size_t size3, size_t size4
    [all...]
  /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/drd/tests/
custom_alloc.c 30 int size2 = size + RZ*2; local
33 if (hp + size2 > hp_lim) {
39 hp += size2;
  /external/valgrind/massif/tests/
custom_alloc.c 30 int size2 = size + RZ*2; local
33 if (hp + size2 > hp_lim) {
39 hp += size2;
  /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/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 );
146 if( size2 > 0 )
151 memcpy( &buffer[data2Ptr], &data[size1], sizeof(LIRCEvent) * size2 );
152 //Array.Copy( data, offsetPtr + size1, buffer, data2Ptr, size2 );
170 int size1 = 0, size2 = 0, numRead, data1Ptr = 0, data2Ptr = 0; local
172 numRead = GetReadRegions( numEntries, data1Ptr, size1, data2Ptr, size2 );
174 if( size2 > 0 )
178 memcpy( &data[size1], &buffer[data2Ptr], sizeof(LIRCEvent) * size2 );
179 //Array.Copy( buffer, data2Ptr, data, size1, size2 );
    [all...]
  /external/lzma/C/
Bcj2.h 28 const Byte *buf2, SizeT size2,
7zStream.c 75 size_t size2 = p->size - p->pos; local
76 if (size2 == 0 && *size > 0)
79 size2 = LookToRead_BUF_SIZE;
80 res = p->realStream->Read(p->realStream, p->buf, &size2);
81 p->size = size2;
83 if (size2 < *size)
84 *size = size2;
93 size_t size2 = p->size - p->pos; local
94 if (size2 == 0 && *size > 0)
100 size2 = p->size = *size;
    [all...]
  /frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/
mandelbulb.rs 54 int size2 = size / 2;
55 if (z < size2) {
56 return 256-4*(size2-z+4)*hypot((float)x-size2,(float)y-size2) / size2 ;
59 c = ((c - size2) / (size2 * .9f));
  /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/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/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 );
190 if( size2 > 0 )
195 memcpy( &buffer[data2Ptr], &data[size1], sizeof(WiiMoteEvent) * size2 );
196 //Array.Copy( data, offsetPtr + size1, buffer, data2Ptr, size2 );
214 int size1 = 0, size2 = 0, numRead, data1Ptr = 0, data2Ptr = 0; local
216 numRead = GetReadRegions( numEntries, data1Ptr, size1, data2Ptr, size2 );
218 if( size2 > 0 )
222 memcpy( &data[size1], &buffer[data2Ptr], sizeof(WiiMoteEvent) * size2 );
223 //Array.Copy( buffer, data2Ptr, data, size1, size2 );
    [all...]
  /external/webrtc/webrtc/modules/audio_device/mac/portaudio/
pa_ringbuffer.c 104 ** If the region is contiguous, size2 will be zero.
105 ** If non-contiguous, size2 will be the size of second region.
151 ** If the region is contiguous, size2 will be zero.
152 ** If non-contiguous, size2 will be the size of second region.
199 PaRingBufferSize size1, size2, numWritten; local
201 numWritten = PaUtil_GetRingBufferWriteRegions( rbuf, elementCount, &data1, &size1, &data2, &size2 );
202 if( size2 > 0 )
207 memcpy( data2, data, size2*rbuf->elementSizeBytes );
222 PaRingBufferSize size1, size2, numRead; local
224 numRead = PaUtil_GetRingBufferReadRegions( rbuf, elementCount, &data1, &size1, &data2, &size2 );
    [all...]
  /packages/apps/Camera2/src/com/android/camera/one/v2/initialization/
Camera2PreviewSizeSelector.java 59 public int compare(Size size1, Size size2) {
61 int area2 = size2.getWidth() * size2.getHeight();
  /external/libcxx/test/std/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/opencv3/3rdparty/openexr/IlmImf/
ImfMultiView.cpp 235 unsigned int size2 = chan2.size(); local
237 if (size1 == 0 || size2 == 0)
248 if (size2 > 1 && viewNum (chan2[size2 - 2], multiView) == -1)
269 return size2 == 2 && chan1[0] == chan2[1];
272 if (size2 == 1)
288 if (size1 != size2)
  /external/valgrind/memcheck/tests/
custom_alloc.c 36 int size2 = size + RZ*2; local
39 if (hp + size2 > hp_lim) {
45 hp += size2;
  /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 251 * @param size2 the size of the second array.
258 byte[] array2, int size2)
260 int minSize = Math.min(size1, size2);
274 return size1 < size2 ? -1 :
275 size1 == size2 ? 0 :
285 * @param size2 the size of the second array.
292 short[] array2, int size2)
294 int minSize = Math.min(size1, size2);
308 return size1 < size2 ? -1 :
309 size1 == size2 ? 0
    [all...]

Completed in 1389 milliseconds

1 2 3 4 5 6 7 8 91011>>