Home
last modified time | relevance | path

Searched refs:size1 (Results 1 – 25 of 87) sorted by relevance

1234

/external/e2fsprogs/intl/
Dxsize.h57 xsum (size_t size1, size_t size2) in xsum() argument
59 size_t sum = size1 + size2; in xsum()
60 return (sum >= size1 ? sum : SIZE_MAX); in xsum()
68 xsum3 (size_t size1, size_t size2, size_t size3) in xsum3() argument
70 return xsum (xsum (size1, size2), size3); in xsum3()
78 xsum4 (size_t size1, size_t size2, size_t size3, size_t size4) in xsum4() argument
80 return xsum (xsum (xsum (size1, size2), size3), size4); in xsum4()
88 xmax (size_t size1, size_t size2) in xmax() argument
92 return (size1 >= size2 ? size1 : size2); in xmax()
/external/bison/lib/
Dxsize.h60 xsum (size_t size1, size_t size2) in xsum() argument
62 size_t sum = size1 + size2; in xsum()
63 return (sum >= size1 ? sum : SIZE_MAX); in xsum()
71 xsum3 (size_t size1, size_t size2, size_t size3) in xsum3() argument
73 return xsum (xsum (size1, size2), size3); in xsum3()
81 xsum4 (size_t size1, size_t size2, size_t size3, size_t size4) in xsum4() argument
83 return xsum (xsum (xsum (size1, size2), size3), size4); in xsum4()
91 xmax (size_t size1, size_t size2) in xmax() argument
95 return (size1 >= size2 ? size1 : size2); in xmax()
/external/chromium_org/tools/binary_size/
Dexplain_binary_size_delta.py116 for file_path, symbol_type, symbol_name, size1, size2 in added:
127 for file_path, symbol_type, symbol_name, size1, size2 in removed:
129 removed_symbols_size += size1
131 bucket.append((symbol_name, symbol_type, size1, None))
139 for file_path, symbol_type, symbol_name, size1, size2 in changed:
141 before_size += size1
144 bucket.append((symbol_name, symbol_type, size1, size2))
152 for file_path, symbol_type, symbol_name, size1, size2 in unchanged:
154 unchanged_symbols_size += size1 # == size2
195 for symbol_name, symbol_type, size1, size2 in new_symbols_by_path[path]:
[all …]
/external/opencv/cvaux/src/
D_cvaux.h54 CV_INLINE bool operator == (CvSize size1, CvSize size2 );
55 CV_INLINE bool operator == (CvSize size1, CvSize size2 )
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 )
63 return size1.width != size2.width || size1.height != size2.height;
/external/stlport/test/unit/
Dcollate_facets_test.cpp24 const size_t size1 = sizeof(str1) / sizeof(str1[0]) - 1; in collate_facet() local
27 CPPUNIT_ASSERT( col.compare(str1, str1 + size1 - 1, str2, str2 + size2 - 1) == 0 ); in collate_facet()
28 CPPUNIT_ASSERT( col.compare(str1, str1 + size1, str2, str2 + size2) == -1 ); in collate_facet()
31 CPPUNIT_ASSERT( col.compare(str1, str1 + size1 - 2, str2, str2 + size2 - 1) == -1 ); in collate_facet()
32 CPPUNIT_ASSERT( col.compare(str1, str1 + size1 - 1, str2, str2 + size2 - 2) == 1 ); in collate_facet()
44 const size_t size1 = sizeof(str1) / sizeof(str1[0]) - 1; in collate_facet() local
47 CPPUNIT_ASSERT( col.compare(str1, str1 + size1 - 1, str2, str2 + size2 - 1) == 0 ); in collate_facet()
48 CPPUNIT_ASSERT( col.compare(str1, str1 + size1, str2, str2 + size2) == -1 ); in collate_facet()
51 CPPUNIT_ASSERT( col.compare(str1, str1 + size1 - 2, str2, str2 + size2 - 1) == -1 ); in collate_facet()
52 CPPUNIT_ASSERT( col.compare(str1, str1 + size1 - 1, str2, str2 + size2 - 2) == 1 ); in collate_facet()
[all …]
/external/chromium_org/third_party/webrtc/common_video/
Dplane_unittest.cc59 int size1 = plane1.allocated_size(); in TEST() local
66 EXPECT_EQ(size1, plane1.allocated_size()); in TEST()
74 size1 = 80; in TEST()
75 memset(&buffer1, 0, size1); in TEST()
76 plane2.Copy(size1, stride1, buffer1); in TEST()
77 EXPECT_GE(plane2.allocated_size(), size1); in TEST()
78 EXPECT_EQ(0, memcmp(buffer1, plane2.buffer(), size1)); in TEST()
83 int size1, size2, stride1, stride2; in TEST() local
86 size1 = plane1.allocated_size(); in TEST()
91 EXPECT_EQ(size1, plane2.allocated_size()); in TEST()
/external/chromium_org/third_party/webrtc/modules/audio_device/mac/portaudio/
Dpa_ringbuffer.c190 ring_buffer_size_t size1, size2, numWritten; in PaUtil_WriteRingBuffer() local
192 …numWritten = PaUtil_GetRingBufferWriteRegions( rbuf, elementCount, &data1, &size1, &data2, &size2 … in PaUtil_WriteRingBuffer()
196 memcpy( data1, data, size1*rbuf->elementSizeBytes ); in PaUtil_WriteRingBuffer()
197 data = ((char *)data) + size1*rbuf->elementSizeBytes; in PaUtil_WriteRingBuffer()
202 memcpy( data1, data, size1*rbuf->elementSizeBytes ); in PaUtil_WriteRingBuffer()
212 ring_buffer_size_t size1, size2, numRead; in PaUtil_ReadRingBuffer() local
214 numRead = PaUtil_GetRingBufferReadRegions( rbuf, elementCount, &data1, &size1, &data2, &size2 ); in PaUtil_ReadRingBuffer()
217 memcpy( data, data1, size1*rbuf->elementSizeBytes ); in PaUtil_ReadRingBuffer()
218 data = ((char *)data) + size1*rbuf->elementSizeBytes; in PaUtil_ReadRingBuffer()
223 memcpy( data, data1, size1*rbuf->elementSizeBytes ); in PaUtil_ReadRingBuffer()
/external/proguard/src/proguard/util/
DArrayUtil.java202 public static int compare(byte[] array1, int size1, in compare() argument
205 int minSize = Math.min(size1, size2); in compare()
219 return size1 < size2 ? -1 : in compare()
220 size1 == size2 ? 0 : in compare()
236 public static int compare(short[] array1, int size1, in compare() argument
239 int minSize = Math.min(size1, size2); in compare()
253 return size1 < size2 ? -1 : in compare()
254 size1 == size2 ? 0 : in compare()
270 public static int compare(int[] array1, int size1, in compare() argument
273 int minSize = Math.min(size1, size2); in compare()
[all …]
/external/chromium_org/sdch/open-vcdiff/src/
Dcodetable_test.cc40 unsigned char size1, in AddExerciseOpcode() argument
47 g_exercise_code_table_->size1[opcode] = (inst1 == VCD_NOOP) ? 0 : size1; in AddExerciseOpcode()
97 EXPECT_EQ(size, code_table_data_.size1[opcode]); in VerifyInstruction()
134 code_table_data_.size1[131] = 0xFF; in TEST_F()
141 code_table_data_.size1[1] = 0xFF; // Add size 0 => size 255 in TEST_F()
148 code_table_data_.size1[0] = 0xFF; // Run size 0 => size 255 in TEST_F()
185 code_table_data_.size1[20] = 0; in TEST_F()
195 code_table_data_.size1[20] = 0; in TEST_F()
197 code_table_data_.size1[20] = 1; in TEST_F()
Dinstruction_map.cc155 FindMaxSize(code_table_data.size1)), in VCDiffInstructionMap()
165 code_table_data.size1[opcode], in VCDiffInstructionMap()
185 code_table_data.size1[opcode], in VCDiffInstructionMap()
Dvcdecoder4_test.cc941 custom_code_table.size1[17] = 27; in TEST_F()
942 custom_code_table.size1[18] = 61; in TEST_F()
943 custom_code_table.size1[34] = 28; in TEST_F()
944 custom_code_table.size1[50] = 44; in TEST_F()
959 EXPECT_EQ(27, decoded_table->size1[17]); in TEST_F()
960 EXPECT_EQ(61, decoded_table->size1[18]); in TEST_F()
961 EXPECT_EQ(28, decoded_table->size1[34]); in TEST_F()
962 EXPECT_EQ(44, decoded_table->size1[50]); in TEST_F()
966 EXPECT_EQ(custom_code_table.size1[i], decoded_table->size1[i]); in TEST_F()
Dinstruction_map_test.cc34 unsigned char size1,
47 unsigned char size1,
125 unsigned char size1, in AddExerciseOpcode() argument
132 g_exercise_code_table_->size1[opcode] = (inst1 == VCD_NOOP) ? 0 : size1; in AddExerciseOpcode()
151 EXPECT_EQ(0, g_exercise_code_table_->size1[found_opcode]); in VerifyExerciseFirstInstruction()
156 EXPECT_EQ(size, g_exercise_code_table_->size1[found_opcode]); in VerifyExerciseFirstInstruction()
167 unsigned char size1, in VerifyExerciseSecondInstruction() argument
172 int first_opcode = exercise_map->LookupFirstOpcode(inst1, size1, mode1); in VerifyExerciseSecondInstruction()
Ddecodetable_test.cc43 unsigned char size1, in AddExerciseOpcode() argument
50 g_exercise_code_table_->size1[opcode] = (inst1 == VCD_NOOP) ? 0 : size1; in AddExerciseOpcode()
117 EXPECT_EQ(g_exercise_code_table_->size1[opcode], size); in VerifyInstModeSize1()
396 (g_exercise_code_table_->size1[opcode] == 0)) { in TEST_F()
/external/eigen/test/eigen2/
Dgsl_helper.h37 gsl_eigen_symmv_workspace * w = gsl_eigen_symmv_alloc(m->size1); in eigen_symm()
38 Matrix a = createMatrix(m->size1, m->size2); in eigen_symm()
47 gsl_eigen_gensymmv_workspace * w = gsl_eigen_gensymmv_alloc(m->size1); in eigen_symm_gen()
48 Matrix a = createMatrix(m->size1, m->size2); in eigen_symm_gen()
49 Matrix b = createMatrix(_b->size1, _b->size2); in eigen_symm_gen()
73 gsl_eigen_hermv_workspace * w = gsl_eigen_hermv_alloc(m->size1);
74 Matrix a = createMatrix(m->size1, m->size2);
83 gsl_eigen_genhermv_workspace * w = gsl_eigen_genhermv_alloc(m->size1);
84 Matrix a = createMatrix(m->size1, m->size2);
85 Matrix b = createMatrix(_b->size1, _b->size2);
[all …]
/external/libcxx/test/utilities/intseq/intseq.intseq/
Dinteger_seq.pass.cpp30 using size1 = std::integer_sequence<size_t, 7>; in main() typedef
38 static_assert ( std::is_same<size1::value_type, size_t>::value, "size1 type wrong" ); in main()
39 static_assert ( size1::size() == 1, "size1 size wrong" ); in main()
/external/opencv/cv/src/
Dcvemd.cpp117 static CvStatus icvInitEMD( const float *signature1, int size1,
177 int dims, size1, size2; in cvCalcEMD2() local
186 size1 = signature1->rows; in cvCalcEMD2()
199 if( flow->rows != size1 || flow->cols != size2 ) in cvCalcEMD2()
223 if( cost->rows != size1 || cost->cols != size2 ) in cvCalcEMD2()
255 IPPI_CALL( result = icvInitEMD( signature1->data.fl, size1, in cvCalcEMD2()
334 icvInitEMD( const float* signature1, int size1, in icvInitEMD() argument
354 buffer_size = (size1+1) * (size2+1) * (sizeof( float ) + /* cost */ in icvInitEMD()
357 (size1 + size2 + 2) * (sizeof( CvNode2D ) + /* _x */ in icvInitEMD()
362 (size1+1) * (sizeof( float * ) + sizeof( char * ) + /* rows pointers for */ in icvInitEMD()
[all …]
/external/chromium_org/third_party/lzma_sdk/
DBcj2.c35 const Byte *buf1, SizeT size1, in Bcj2_Decode() argument
104 if (size1 < 4) in Bcj2_Decode()
107 size1 -= 4; in Bcj2_Decode()
DBcj2.h29 const Byte *buf1, SizeT size1,
/external/lzma/C/
DBcj2.c35 const Byte *buf1, SizeT size1, in Bcj2_Decode() argument
104 if (size1 < 4) in Bcj2_Decode()
107 size1 -= 4; in Bcj2_Decode()
DBcj2.h29 const Byte *buf1, SizeT size1,
/external/chromium_org/third_party/freetype/src/pfr/
Dpfrload.c355 FT_UInt n, count, size1; in pfr_extra_item_load_bitmap_info() local
379 size1 = 1 + 1 + 1 + 2 + 2 + 1; in pfr_extra_item_load_bitmap_info()
381 size1++; in pfr_extra_item_load_bitmap_info()
384 size1++; in pfr_extra_item_load_bitmap_info()
387 size1++; in pfr_extra_item_load_bitmap_info()
390 size1++; in pfr_extra_item_load_bitmap_info()
393 size1++; in pfr_extra_item_load_bitmap_info()
397 PFR_CHECK( count * size1 ); in pfr_extra_item_load_bitmap_info()
/external/freetype/src/pfr/
Dpfrload.c355 FT_UInt n, count, size1; in pfr_extra_item_load_bitmap_info() local
379 size1 = 1 + 1 + 1 + 2 + 2 + 1; in pfr_extra_item_load_bitmap_info()
381 size1++; in pfr_extra_item_load_bitmap_info()
384 size1++; in pfr_extra_item_load_bitmap_info()
387 size1++; in pfr_extra_item_load_bitmap_info()
390 size1++; in pfr_extra_item_load_bitmap_info()
393 size1++; in pfr_extra_item_load_bitmap_info()
397 PFR_CHECK( count * size1 ); in pfr_extra_item_load_bitmap_info()
/external/dexmaker/src/dx/java/com/android/dx/rop/type/
DStdTypeList.java306 int size1 = list1.size(); in compareContents() local
308 int size = Math.min(size1, size2); in compareContents()
317 if (size1 == size2) { in compareContents()
319 } else if (size1 < size2) { in compareContents()
/external/chromium_org/content/common/mac/
Dfont_descriptor_unittest.mm37 CGFloat size1 = [font1 pointSize];
39 if (size1 != size2) {
41 << [[font1 fontName] UTF8String] << " (" << size1 << ")"
/external/chromium_org/ui/gfx/
Dskia_util.cc153 size_t size1 = 0; in BitmapsAreEqual() local
158 size1 = bitmap1.getSize(); in BitmapsAreEqual()
166 return (size1 == size2) && (0 == memcmp(addr1, addr2, bitmap1.getSize())); in BitmapsAreEqual()

1234