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

12

/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/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/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 |
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.cc52 unsigned char size1,
59 g_exercise_code_table_->size1[opcode] = (inst1 == VCD_NOOP) ? 0 : size1;
50 AddExerciseOpcode(unsigned char inst1, unsigned char mode1, unsigned char size1, unsigned char inst2, unsigned char mode2, unsigned char size2, int opcode) argument
/external/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/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/skia/tests/
H A DMatrixTest.cpp115 uint32_t size1 = m.writeToMemory(NULL); local
117 REPORTER_ASSERT(reporter, size1 == size2);
118 REPORTER_ASSERT(reporter, size1 <= SkMatrix::kMaxFlattenSize);
122 REPORTER_ASSERT(reporter, size1 == size3);
127 REPORTER_ASSERT(reporter, size1 == size3);
128 REPORTER_ASSERT(reporter, memcmp(buffer, buffer2, size1) == 0);
/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/webkit/Source/JavaScriptCore/runtime/
H A DUString.h120 unsigned size1 = 0; local
127 size1 = rep1->length();
132 if (size1 != size2) // If the lengths are not the same, we're done.
135 if (!size1)
148 switch (size1) {
154 return memcmp(d1, d2, size1 * sizeof(UChar)) == 0;
/external/elfutils/src/
H A Delfcmp.c421 size_t size1 = 0; local
427 raw1 = elf_rawfile (elf1, &size1);
/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/opencv/cv/src/
H A Dcvsegmentation.cpp412 CvSize size1 = cvGetMatSize(dst_pyramid[level+1]); local
422 for( i = 1; i < size1.height-1; i++, dptr += dstep - (size1.width-2)*3, mask += mstep*2 )
424 for( j = 1; j < size1.width-1; j++, dptr += cn )
H A Dcvemd.cpp117 static CvStatus icvInitEMD( const float *signature1, int size1,
177 int dims, size1, size2; local
186 size1 = signature1->rows;
199 if( flow->rows != size1 || flow->cols != size2 )
223 if( cost->rows != size1 || cost->cols != size2 )
255 IPPI_CALL( result = icvInitEMD( signature1->data.fl, size1,
334 icvInitEMD( const float* signature1, int size1, argument
354 buffer_size = (size1+1) * (size2+1) * (sizeof( float ) + /* cost */
357 (size1 + size2 + 2) * (sizeof( CvNode2D ) + /* _x */
362 (size1
[all...]
H A Dcvhistogram.cpp410 int size1[CV_MAX_DIM], size2[CV_MAX_DIM], total = 1; local
419 CV_CALL( dims1 = cvGetDims( hist1->bins, size1 ));
428 if( size1[i] != size2[i] )
430 total *= size1[i];
660 int size1[CV_MAX_DIM], size2[CV_MAX_DIM], total = 1; local
674 CV_CALL( dims1 = cvGetDims( src->bins, size1 ));
676 total *= size1[i];
685 if( size1[i] != size2[i] )
695 CV_CALL( dst = cvCreateHist( dims1, size1,
/external/stlport/src/c_locale_win32/
H A Dc_wlocale_win32.c202 DWORD size1 = trim_size_t_to_DWORD(n1); local
204 result = CompareStringW(lcol->lc.id, 0, s1, size1, s2, size2);
207 n1 -= size1;
/external/icu4c/tools/dumpce/
H A Ddumpce.cpp753 int size1 = ((ScriptElement *)elem1)->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);

Completed in 527 milliseconds

12