Searched defs:size2 (Results 1 - 25 of 69) sorted by relevance

123

/external/bison/lib/
H A Dxsize.h60 xsum (size_t size1, size_t size2) argument
62 size_t sum = size1 + size2;
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 : size2);
/external/chromium_org/third_party/webrtc/common_video/
H A Dplane_unittest.cc60 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/e2fsprogs/intl/
H A Dxsize.h57 xsum (size_t size1, size_t size2) argument
59 size_t sum = size1 + size2;
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 : size2);
/external/stlport/test/unit/
H A Dcollate_facets_test.cpp25 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
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/valgrind/main/drd/tests/
H A Dcustom_alloc.c30 int size2 = size + RZ*2; local
33 if (hp + size2 > hp_lim) {
39 hp += size2;
/external/valgrind/main/massif/tests/
H A Dcustom_alloc.c30 int size2 = size + RZ*2; local
33 if (hp + size2 > hp_lim) {
39 hp += size2;
/external/proguard/src/proguard/util/
H A DArrayUtil.java196 * @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
202 compare(byte[] array1, int size1, byte[] array2, int size2) argument
236 compare(short[] array1, int size1, short[] array2, int size2) argument
270 compare(int[] array1, int size1, int[] array2, int size2) argument
304 compare(Comparable[] array1, int size1, Comparable[] array2, int size2) argument
[all...]
/external/valgrind/main/memcheck/tests/
H A Dcustom_alloc.c36 int size2 = size + RZ*2; local
39 if (hp + size2 > hp_lim) {
45 hp += size2;
/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 |
105 unsigned char size2[kCodeTableSize]; member in struct:open_vcdiff::VCDiffCodeTableData
H A Dcodetable_test.cc43 unsigned char size2,
50 g_exercise_code_table_->size2[opcode] = (inst2 == VCD_NOOP) ? 0 : size2;
100 EXPECT_EQ(0, code_table_data_.size2[opcode]);
245 code_table_data_.size2[20] = 1;
38 AddExerciseOpcode(unsigned char inst1, unsigned char mode1, unsigned char size1, unsigned char inst2, unsigned char mode2, unsigned char size2, int opcode) argument
H A Dinstruction_map_test.cc37 unsigned char size2,
50 unsigned char size2,
128 unsigned char size2,
135 g_exercise_code_table_->size2[opcode] = (inst2 == VCD_NOOP) ? 0 : size2;
148 EXPECT_EQ(size, g_exercise_code_table_->size2[found_opcode]);
159 EXPECT_EQ(0, g_exercise_code_table_->size2[found_opcode]);
170 unsigned char size2,
177 size2,
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.cc46 unsigned char size2,
53 g_exercise_code_table_->size2[opcode] = (inst2 == VCD_NOOP) ? 0 : size2;
128 EXPECT_EQ(g_exercise_code_table_->size2[opcode], size);
404 (g_exercise_code_table_->size2[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.cc54 unsigned char size2,
61 g_exercise_code_table_->size2[opcode] = (inst2 == VCD_NOOP) ? 0 : size2;
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.c102 ** 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/srec/srec/include/
H A Dsp_fft.h224 asr_uint32_t size2; member in struct:__anon31149
/external/chromium_org/third_party/lzma_sdk/
H A D7zStream.c73 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
[all...]
H A DBcj2.c36 const Byte *buf2, SizeT size2,
112 if (size2 < 4)
115 size2 -= 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/third_party/yasm/source/patched-yasm/libyasm/
H A Dmergesort.c261 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/eigen/bench/
H A DbenchVecAdd.cpp24 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/lzma/C/
H A D7zStream.c73 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
[all...]
H A DBcj2.c36 const Byte *buf2, SizeT size2,
112 if (size2 < 4)
115 size2 -= 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/third_party/skia/tests/
H A DFontHostTest.cpp205 size_t size2 = face->getTableData(tags[i], 0, size, data.get()); local
206 REPORTER_ASSERT(reporter, size2 == size);
/external/chromium_org/ui/gfx/
H A Dskia_util.cc154 size_t size2 = 0; local
163 size2 = bitmap2.getSize();
166 return (size1 == size2) && (0 == memcmp(addr1, addr2, bitmap1.getSize()));
/external/qemu/android/
H A Dcharpipe.c182 int size2 = qemu_chr_can_read(peer->cs); local
184 if (size2 == 0)
187 if (size > size2)
188 size = size2;
/external/skia/tests/
H A DFontHostTest.cpp205 size_t size2 = face->getTableData(tags[i], 0, size, data.get()); local
206 REPORTER_ASSERT(reporter, size2 == size);

Completed in 430 milliseconds

123