HomeSort by relevance Sort by last modified time
    Searched refs:size2 (Results 1 - 25 of 377) 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/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;
  /frameworks/rs/tests/java_api/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/swiftshader/third_party/subzero/crosstest/
test_stacksave.c 59 uint32_t size2 = size - j; local
61 uint32_t mid2 = size2 / 2;
62 uint32_t vla2[size2];
63 for (uint32_t k = start2; k < size2; ++k) {
67 vla1[j] = (vla2[start2] << 2) + (vla2[mid2] << 1) + vla2[size2 - 1];
  /external/libcups/cups/
testpwg.c 416 *size2; /* Size from saved */ local
455 for (i = pc->num_sizes, size = pc->sizes, size2 = pc2->sizes;
457 i --, size ++, size2 ++)
459 if (strcmp(size2->map.pwg, size->map.pwg) ||
460 strcmp(size2->map.ppd, size->map.ppd) ||
461 size2->width != size->width ||
462 size2->length != size->length ||
463 size2->left != size->left ||
464 size2->bottom != size->bottom ||
465 size2->right != size->right |
    [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/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...]
  /frameworks/base/core/java/android/service/autofill/
AutofillFieldClassificationService.java 206 final int size2 = parcel.readInt(); local
207 scores = new float[size1][size2];
209 for (int j = 0; j < size2; j++) {
222 final int size2 = size1 > 0 ? scores[0].length : 0; local
224 .append(size1).append("x").append(size2).append("] ");
239 int size2 = scores[0].length; local
241 parcel.writeInt(size2);
243 for (int j = 0; j < size2; j++) {
  /device/linaro/bootloader/edk2/BaseTools/Source/C/LzmaCompress/Sdk/C/
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...]
  /external/lzma/C/
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...]
  /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 31 using size2 = std::index_sequence_for<int, size_t>; // generates size_t: 0,1
45 static_assert ( std::is_same<size2::value_type, size_t>::value, "size2 type wrong" );
46 static_assert ( size2::size () == 2, "size2 size wrong" );
69 auto t2 = extract ( tup, size2 ());
70 static_assert ( std::tuple_size<decltype(t2)>::value == size2::size (), "t2 size wrong");
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/intseq/intseq.general/
integer_seq.pass.cpp 31 using size2 = std::index_sequence_for<int, size_t>; // generates size_t: 0,1
45 static_assert ( std::is_same<size2::value_type, size_t>::value, "size2 type wrong" );
46 static_assert ( size2::size () == 2, "size2 size wrong" );
69 auto t2 = extract ( tup, size2 ());
70 static_assert ( std::tuple_size<decltype(t2)>::value == size2::size (), "t2 size wrong");
  /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/ltp/testcases/open_posix_testsuite/conformance/interfaces/mmap/
3-1.c 17 * 2. Map size2 = (_SC_PAGE_SIZE + 1) bytes into memory, starting at the same
49 size_t size2; local
56 size2 = page_size + 1;
110 mmap(pa, size2, PROT_READ | PROT_WRITE, MAP_SHARED | MAP_FIXED, fd2,
132 munmap(pa2, 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...]
  /external/vulkan-validation-layers/libs/glm/gtx/
std_based_type.hpp 56 typedef detail::tvec2<std::size_t, defaultp> size2; typedef in namespace:glm
  /prebuilts/ndk/r16/sources/third_party/vulkan/src/libs/glm/gtx/
std_based_type.hpp 56 typedef detail::tvec2<std::size_t, defaultp> size2; typedef in namespace:glm

Completed in 894 milliseconds

1 2 3 4 5 6 7 8 91011>>