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

12

/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/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/skia/tests/
H A DFontHostTest.cpp61 size_t size2 = SkFontHost::GetTableData(fontID, tags[i], 0, size, local
63 REPORTER_ASSERT(reporter, size2 == size);
H A DMatrixTest.cpp45 uint32_t size2 = m.flatten(buffer); local
46 REPORTER_ASSERT(reporter, size1 == size2);
51 REPORTER_ASSERT(reporter, size1 == size2);
56 REPORTER_ASSERT(reporter, size1 == size2);
/external/chromium/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.cc55 unsigned char size2,
62 g_exercise_code_table_->size2[opcode] = (inst2 == VCD_NOOP) ? 0 : size2;
50 AddExerciseOpcode(unsigned char inst1, unsigned char mode1, unsigned char size1, unsigned char inst2, unsigned char mode2, unsigned char size2, int opcode) argument
/external/srec/srec/include/
H A Dsp_fft.h224 asr_uint32_t size2; member in struct:__anon12455
/external/qemu/
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/samplecode/
H A DSampleRegion.cpp154 size_t size2 = tmp.flatten(buffer); local
155 SkASSERT(size == size2);
158 size2 = tmp3.unflatten(buffer);
159 SkASSERT(size == size2);
/external/srec/srec/clib/
H A Dvoc_read.c277 size_t size2 = 0; local
310 size2 = get_zipentry_size(ze);
311 buf2 = mmap(0, inflateSize(size2), PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANON, -1, 0);
315 if (decompress_zipentry(ze, buf2, size2)) goto FAILED;
326 *size = size2;
333 if (buf2) munmap(buf2, inflateSize(size2));
/external/webkit/Source/JavaScriptCore/runtime/
H A DUString.h121 unsigned size2 = 0; local
130 size2 = rep2->length();
132 if (size1 != size2) // If the lengths are not the same, we're done.
/external/elfutils/src/
H A Delfcmp.c423 size_t size2 = 0; local
432 raw2 = elf_rawfile (elf2, &size2);
/external/guava/guava-tests/test/com/google/common/io/
H A DByteStreamsTest.java162 private void equalHelper(boolean expect, int size1, int size2) argument
165 newPreFilledByteArray(size2));
/external/srec/srec/cfront/
H A Dsp_fft.c824 fft->size2 = size;
834 unsigned n = fft->size2;
852 int ii, size2; local
860 ASSERT(num <= (int)fft->size2);
861 size2 = fft->size2;
868 for (; ii < size2; ii++)
/external/stlport/src/c_locale_win32/
H A Dc_wlocale_win32.c203 DWORD size2 = trim_size_t_to_DWORD(n2); local
204 result = CompareStringW(lcol->lc.id, 0, s1, size1, s2, size2);
208 n2 -= size2;
/external/valgrind/main/coregrind/m_syswrap/
H A Dsyswrap-linux.c4917 UInt dir2, size2; local
4920 size2 = _VKI_IOC_SIZE(vkui->ioctl_code);
4921 if (size2 > 0) {
4923 PRE_MEM_READ("ioctl(USBDEVFS_IOCTL).dataWrite", (Addr)vkui->data, size2);
4925 PRE_MEM_WRITE("ioctl(USBDEVFS_IOCTL).dataRead", (Addr)vkui->data, size2);
5895 UInt dir2, size2; local
5897 size2 = _VKI_IOC_SIZE(vkui->ioctl_code);
5898 if (size2 > 0) {
5900 POST_MEM_WRITE((Addr)vkui->data, size2);
/external/icu4c/tools/dumpce/
H A Ddumpce.cpp754 int size2 = ((ScriptElement *)elem2)->count; local
758 int result = ucol_strcoll(COLLATOR_, ch1, size1, ch2, size2);
761 result = ucol_strcoll(COLLATOR_, ch1, size1, ch2, size2);
764 result = ucol_strcoll(COLLATOR_, ch1, size1, ch2, size2);
/external/opencv/cv/src/
H A Dcvemd.cpp118 const float *signature2, int size2,
177 int dims, size1, size2; local
187 size2 = signature2->rows;
199 if( flow->rows != size1 || flow->cols != size2 )
223 if( cost->rows != size1 || cost->cols != size2 )
256 signature2->data.fl, size2,
335 const float* signature2, int size2,
354 buffer_size = (size1+1) * (size2+1) * (sizeof( float ) + /* cost */
357 (size1 + size2 + 2) * (sizeof( CvNode2D ) + /* _x */
389 buffer += (size2
334 icvInitEMD( const float* signature1, int size1, const float* signature2, int size2, int dims, CvDistanceFunction dist_func, void* user_param, const float* cost, int cost_step, CvEMDState* state, float* lower_bound, char* local_buffer, int local_buffer_size ) argument
[all...]
H A Dcvhistogram.cpp410 int size1[CV_MAX_DIM], size2[CV_MAX_DIM], total = 1; local
420 CV_CALL( dims2 = cvGetDims( hist2->bins, size2 ));
428 if( size1[i] != size2[i] )
660 int size1[CV_MAX_DIM], size2[CV_MAX_DIM], total = 1; local
680 CV_CALL( dims2 = cvGetDims( dst->bins, size2 ));
685 if( size1[i] != size2[i] )

Completed in 656 milliseconds

12