Searched defs:size1 (Results 1 - 25 of 63) sorted by relevance

123

/external/opencv/cvaux/src/
H A D_cvaux.h54 CV_INLINE bool operator == (CvSize size1, CvSize size2 );
55 CV_INLINE bool operator == (CvSize size1, CvSize size2 ) argument
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 ) argument
63 return size1.width != size2.width || size1.height != size2.height;
/external/bison/lib/
H A Dxsize.h60 xsum (size_t size1, size_t size2) argument
62 size_t sum = size1 + size2;
63 return (sum >= size1 ? sum : SIZE_MAX);
71 xsum3 (size_t size1, size_t size2, size_t size3) argument
73 return xsum (xsum (size1, size2), size3);
81 xsum4 (size_t size1, size_t size2, size_t size3, size_t size4) argument
83 return xsum (xsum (xsum (size1, size2), size3), size4);
91 xmax (size_t size1, size_t size2) argument
95 return (size1 >= size2 ? size1
[all...]
/external/chromium_org/third_party/webrtc/common_video/
H A Dplane_unittest.cc59 int size1 = plane1.allocated_size(); local
66 EXPECT_EQ(size1, plane1.allocated_size());
74 size1 = 80;
75 memset(&buffer1, 0, size1);
76 plane2.Copy(size1, stride1, buffer1);
77 EXPECT_GE(plane2.allocated_size(), size1);
78 EXPECT_EQ(0, memcmp(buffer1, plane2.buffer(), size1));
83 int size1, size2, stride1, stride2; local
86 size1 = plane1.allocated_size();
91 EXPECT_EQ(size1, plane
[all...]
/external/e2fsprogs/intl/
H A Dxsize.h57 xsum (size_t size1, size_t size2) argument
59 size_t sum = size1 + size2;
60 return (sum >= size1 ? sum : SIZE_MAX);
68 xsum3 (size_t size1, size_t size2, size_t size3) argument
70 return xsum (xsum (size1, size2), size3);
78 xsum4 (size_t size1, size_t size2, size_t size3, size_t size4) argument
80 return xsum (xsum (xsum (size1, size2), size3), size4);
88 xmax (size_t size1, size_t size2) argument
92 return (size1 >= size2 ? size1
[all...]
/external/stlport/test/unit/
H A Dcollate_facets_test.cpp24 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
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/proguard/src/proguard/util/
H A DArrayUtil.java194 * @param size1 the size of the first array.
202 public static int compare(byte[] array1, int size1, argument
205 int minSize = Math.min(size1, size2);
219 return size1 < size2 ? -1 :
220 size1 == size2 ? 0 :
228 * @param size1 the size of the first array.
236 public static int compare(short[] array1, int size1, argument
239 int minSize = Math.min(size1, size2);
253 return size1 < size2 ? -1 :
254 size1
270 compare(int[] array1, int size1, int[] array2, int size2) argument
304 compare(Comparable[] array1, int size1, Comparable[] array2, int size2) argument
[all...]
/external/chromium_org/sdch/open-vcdiff/src/
H A Dcodetable.h65 // 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 |
104 unsigned char size1[kCodeTableSize]; member in struct:open_vcdiff::VCDiffCodeTableData
H A Dcodetable_test.cc40 unsigned char size1,
47 g_exercise_code_table_->size1[opcode] = (inst1 == VCD_NOOP) ? 0 : size1;
97 EXPECT_EQ(size, code_table_data_.size1[opcode]);
134 code_table_data_.size1[131] = 0xFF;
141 code_table_data_.size1[1] = 0xFF; // Add size 0 => size 255
148 code_table_data_.size1[0] = 0xFF; // Run size 0 => size 255
185 code_table_data_.size1[20] = 0;
195 code_table_data_.size1[20] = 0;
197 code_table_data_.size1[2
38 AddExerciseOpcode(unsigned char inst1, unsigned char mode1, unsigned char size1, unsigned char inst2, unsigned char mode2, unsigned char size2, int opcode) argument
[all...]
H A Dinstruction_map_test.cc34 unsigned char size1,
47 unsigned char size1,
125 unsigned char size1,
132 g_exercise_code_table_->size1[opcode] = (inst1 == VCD_NOOP) ? 0 : size1;
151 EXPECT_EQ(0, g_exercise_code_table_->size1[found_opcode]);
156 EXPECT_EQ(size, g_exercise_code_table_->size1[found_opcode]);
167 unsigned char size1,
172 int first_opcode = exercise_map->LookupFirstOpcode(inst1, size1, mode1);
123 AddExerciseOpcode(unsigned char inst1, unsigned char mode1, unsigned char size1, unsigned char inst2, unsigned char mode2, unsigned char size2, int opcode) argument
164 VerifyExerciseSecondInstruction( unsigned char expected_opcode, unsigned char inst1, unsigned char size1, unsigned char mode1, unsigned char inst2, unsigned char size2, unsigned char mode2) argument
H A Ddecodetable_test.cc43 unsigned char size1,
50 g_exercise_code_table_->size1[opcode] = (inst1 == VCD_NOOP) ? 0 : size1;
117 EXPECT_EQ(g_exercise_code_table_->size1[opcode], size);
396 (g_exercise_code_table_->size1[opcode] == 0)) {
41 AddExerciseOpcode(unsigned char inst1, unsigned char mode1, unsigned char size1, unsigned char inst2, unsigned char mode2, unsigned char size2, int opcode) argument
H A Dencodetable_test.cc51 unsigned char size1,
58 g_exercise_code_table_->size1[opcode] = (inst1 == VCD_NOOP) ? 0 : size1;
49 AddExerciseOpcode(unsigned char inst1, unsigned char mode1, unsigned char size1, unsigned char inst2, unsigned char mode2, unsigned char size2, int opcode) argument
/external/chromium_org/third_party/webrtc/modules/audio_device/mac/portaudio/
H A Dpa_ringbuffer.c190 ring_buffer_size_t size1, size2, numWritten; local
192 numWritten = PaUtil_GetRingBufferWriteRegions( rbuf, elementCount, &data1, &size1, &data2, &size2 );
196 memcpy( data1, data, size1*rbuf->elementSizeBytes );
197 data = ((char *)data) + size1*rbuf->elementSizeBytes;
202 memcpy( data1, data, size1*rbuf->elementSizeBytes );
212 ring_buffer_size_t size1, size2, numRead; local
214 numRead = PaUtil_GetRingBufferReadRegions( rbuf, elementCount, &data1, &size1, &data2, &size2 );
217 memcpy( data, data1, size1*rbuf->elementSizeBytes );
218 data = ((char *)data) + size1*rbuf->elementSizeBytes;
223 memcpy( data, data1, size1*rbu
[all...]
/external/chromium_org/third_party/freetype/src/pfr/
H A Dpfrload.c355 FT_UInt n, count, size1; local
379 size1 = 1 + 1 + 1 + 2 + 2 + 1;
381 size1++;
384 size1++;
387 size1++;
390 size1++;
393 size1++;
397 PFR_CHECK( count * size1 );
/external/chromium_org/third_party/lzma_sdk/
H A DBcj2.c35 const Byte *buf1, SizeT size1,
104 if (size1 < 4)
107 size1 -= 4;
33 Bcj2_Decode( const Byte *buf0, SizeT size0, const Byte *buf1, SizeT size1, const Byte *buf2, SizeT size2, const Byte *buf3, SizeT size3, Byte *outBuf, SizeT outSize) argument
/external/chromium_org/ui/gfx/
H A Dskia_util.cc153 size_t size1 = 0; local
158 size1 = bitmap1.getSize();
166 return (size1 == size2) && (0 == memcmp(addr1, addr2, bitmap1.getSize()));
/external/freetype/src/pfr/
H A Dpfrload.c355 FT_UInt n, count, size1; local
379 size1 = 1 + 1 + 1 + 2 + 2 + 1;
381 size1++;
384 size1++;
387 size1++;
390 size1++;
393 size1++;
397 PFR_CHECK( count * size1 );
/external/lzma/C/
H A DBcj2.c35 const Byte *buf1, SizeT size1,
104 if (size1 < 4)
107 size1 -= 4;
33 Bcj2_Decode( const Byte *buf0, SizeT size0, const Byte *buf1, SizeT size1, const Byte *buf2, SizeT size2, const Byte *buf3, SizeT size3, Byte *outBuf, SizeT outSize) argument
/external/valgrind/main/drd/
H A Ddrd_malloc_wrappers.c158 static void* drd_calloc(ThreadId tid, SizeT nmemb, SizeT size1) argument
160 return new_block(tid, nmemb*size1, VG_(clo_alignment),
/external/ceres-solver/internal/ceres/
H A Dcovariance_impl.cc294 const int size1 = problem->ParameterBlockLocalSize(block_pair.first); local
296 num_nonzeros += size1 * size2;
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/codegen/
H A Dnv50_ir_build_util.cpp334 int size1 = (baseSize2[mask] >> 4) & 0xf; local
338 if (1) { // size1 can't be 0
340 reg->reg.size = size1 << unit;
/external/chromium_org/third_party/skia/src/ports/
H A DSkFontConfigInterface_direct.cpp80 size_t size1 = iden0.writeToMemory(storage.get()); local
81 SkASSERT(size0 == size1);
84 size_t size2 = iden1.readFromMemory(storage.get(), size1);
85 SkASSERT(size2 == size1);
/external/chromium_org/third_party/skia/tests/
H A DMatrixTest.cpp106 size_t size1 = m.writeToMemory(NULL); local
108 REPORTER_ASSERT(reporter, size1 == size2);
109 REPORTER_ASSERT(reporter, size1 <= SkMatrix::kMaxFlattenSize);
113 REPORTER_ASSERT(reporter, size1 == size3);
118 REPORTER_ASSERT(reporter, size1 == size3);
119 REPORTER_ASSERT(reporter, memcmp(buffer, buffer2, size1) == 0);
/external/chromium_org/v8/src/
H A Dtypes.cc628 int size1 = type1->IsUnion() ? type1->AsUnion()->Length() : 1; local
630 if (!AddIsSafe(size1, size2)) return Any(region);
631 int size = size1 + size2;
756 int size1 = type1->IsUnion() ? type1->AsUnion()->Length() : 1; local
758 if (!AddIsSafe(size1, size2)) return Any(region);
759 int size = size1 + size2;
/external/guava/guava-tests/test/com/google/common/io/
H A DByteStreamsTest.java162 private void equalHelper(boolean expect, int size1, int size2) argument
164 equalHelper(expect, newPreFilledByteArray(size1),
/external/mesa3d/src/gallium/drivers/nv50/codegen/
H A Dnv50_ir_build_util.cpp334 int size1 = (baseSize2[mask] >> 4) & 0xf; local
338 if (1) { // size1 can't be 0
340 reg->reg.size = size1 << unit;

Completed in 761 milliseconds

123