Searched defs:size2 (Results 1 - 25 of 31) 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/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/skia/tests/
H A DMatrixTest.cpp36 uint32_t size2 = m.flatten(buffer); local
37 REPORTER_ASSERT(reporter, size1 == size2);
42 REPORTER_ASSERT(reporter, size1 == size2);
47 REPORTER_ASSERT(reporter, size1 == size2);
/external/srec/srec/include/
H A Dsp_fft.h224 asr_uint32_t size2; member in struct:__anon9899
/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.cpp147 size_t size2 = tmp.flatten(buffer); local
148 SkASSERT(size == size2);
151 size2 = tmp3.unflatten(buffer);
152 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/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.c4834 UInt dir2, size2; local
4837 size2 = _VKI_IOC_SIZE(vkui->ioctl_code);
4838 if (size2 > 0) {
4840 PRE_MEM_READ("ioctl(USBDEVFS_IOCTL).dataWrite", (Addr)vkui->data, size2);
4842 PRE_MEM_WRITE("ioctl(USBDEVFS_IOCTL).dataRead", (Addr)vkui->data, size2);
5723 UInt dir2, size2; local
5725 size2 = _VKI_IOC_SIZE(vkui->ioctl_code);
5726 if (size2 > 0) {
5728 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] )
/external/skia/src/core/
H A DSkScan_Path.cpp457 size_t size2; local
458 int maxCount2 = worst_case_edge_count(path, &size2);
460 SkASSERT(maxCount >= maxCount2 && size >= size2);
/external/opencv/cxcore/src/
H A Dcxarray.cpp1233 int i, size1 = mat->dim[0].size, size2 = 1; local
1239 size2 = mat->dim[1].size;
1243 roi_size->width = size2;
2854 int size1 = matnd->dim[0].size, size2 = 1; local
2864 size2 *= matnd->dim[i].size;
2866 size2 = matnd->dims == 1 ? 1 : matnd->dim[1].size;
2872 mat->cols = size2;
2874 mat->step = size2*CV_ELEM_SIZE(matnd->type);
3033 int i, size1, size2; local
3054 size2
[all...]
/external/gtest/test/
H A Dgtest_unittest.cc4467 size_t size2, CharType** array2) {
4468 ASSERT_EQ(size1, size2) << " Array sizes different.";
4466 AssertStringArrayEq(size_t size1, CharType** array1, size_t size2, CharType** array2) argument

Completed in 490 milliseconds

12