Home
last modified time | relevance | path

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

123

/external/flac/include/share/
Dalloc.h86 static inline void *safe_malloc_add_2op_(size_t size1, size_t size2) in safe_malloc_add_2op_() argument
88 size2 += size1; in safe_malloc_add_2op_()
89 if(size2 < size1) in safe_malloc_add_2op_()
94 static inline void *safe_malloc_add_3op_(size_t size1, size_t size2, size_t size3) in safe_malloc_add_3op_() argument
96 size2 += size1; in safe_malloc_add_3op_()
97 if(size2 < size1) in safe_malloc_add_3op_()
105 static inline void *safe_malloc_add_4op_(size_t size1, size_t size2, size_t size3, size_t size4) in safe_malloc_add_4op_() argument
107 size2 += size1; in safe_malloc_add_4op_()
108 if(size2 < size1) in safe_malloc_add_4op_()
119 void *safe_malloc_mul_2op_(size_t size1, size_t size2) ;
[all …]
/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/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/proguard/src/proguard/util/
DArrayUtil.java257 public static int compare(byte[] array1, int size1, in compare() argument
260 int minSize = Math.min(size1, size2); in compare()
274 return size1 < size2 ? -1 : in compare()
275 size1 == size2 ? 0 : in compare()
291 public static int compare(short[] array1, int size1, in compare() argument
294 int minSize = Math.min(size1, size2); in compare()
308 return size1 < size2 ? -1 : in compare()
309 size1 == size2 ? 0 : in compare()
325 public static int compare(int[] array1, int size1, in compare() argument
328 int minSize = Math.min(size1, size2); in compare()
[all …]
/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/std/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/flac/libFLAC/
Dmemory.c211 void *safe_malloc_mul_2op_p(size_t size1, size_t size2) in safe_malloc_mul_2op_p() argument
213 if(!size1 || !size2) in safe_malloc_mul_2op_p()
215 if(size1 > SIZE_MAX / size2) in safe_malloc_mul_2op_p()
217 return malloc(size1*size2); in safe_malloc_mul_2op_p()
/external/jmonkeyengine/engine/src/core/com/jme3/font/
DBitmapFont.java269 final int size1 = this.pages.length; in merge() local
272 Material[] tmp = new Material[size1+size2]; in merge()
273 System.arraycopy(this.pages, 0, tmp, 0, size1); in merge()
274 System.arraycopy(newFont.pages, 0, tmp, size1, size2); in merge()
/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 …]
Dcvsegmentation.cpp412 CvSize size1 = cvGetMatSize(dst_pyramid[level+1]); in cvPyrMeanShiftFiltering() local
422 … for( i = 1; i < size1.height-1; i++, dptr += dstep - (size1.width-2)*3, mask += mstep*2 ) in cvPyrMeanShiftFiltering()
424 for( j = 1; j < size1.width-1; j++, dptr += cn ) in cvPyrMeanShiftFiltering()
/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/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/javassist/src/main/javassist/
DCtClassType.java540 int size1, size2; in toAnnotationType() local
544 size1 = 0; in toAnnotationType()
548 size1 = anno1.length; in toAnnotationType()
561 Object[] result = new Object[size1 + size2]; in toAnnotationType()
562 for (int i = 0; i < size1; i++) in toAnnotationType()
566 result[j + size1] = toAnnoType(anno2[j], cp); in toAnnotationType()
572 for (int i = 0 ; i < size1 ; i++){ in toAnnotationType()
606 int size1, size2; in toAnnotationType() local
610 size1 = 0; in toAnnotationType()
614 size1 = anno1.length; in toAnnotationType()
[all …]
/external/llvm/test/CodeGen/PowerPC/
D2007-11-16-landingpad-split.ll26 %size1 = trunc i64 %size to i32 ; <i32> [#uses=1]
27 %tmp17 = alloca i8*, i32 %size1 ; <i8**> [#uses=1]
/external/skia/src/ports/
DSkFontConfigInterface_direct.cpp80 size_t size1 = iden0.writeToMemory(storage.get()); in test_writeToMemory() local
81 SkASSERT(size0 == size1); in test_writeToMemory()
84 size_t size2 = iden1.readFromMemory(storage.get(), size1); in test_writeToMemory()
85 SkASSERT(size2 == size1); in test_writeToMemory()
/external/mesa3d/src/gallium/drivers/r300/
Dr300_emit.c836 unsigned size1, size2, offset1, offset2, stride1, stride2; in r300_emit_vertex_arrays() local
848 size1 = hw_format_size[i]; in r300_emit_vertex_arrays()
851 OUT_CS(R300_VBPNTR_SIZE0(size1) | R300_VBPNTR_STRIDE0(vb1->stride) | in r300_emit_vertex_arrays()
859 size1 = hw_format_size[i]; in r300_emit_vertex_arrays()
861 OUT_CS(R300_VBPNTR_SIZE0(size1) | R300_VBPNTR_STRIDE0(vb1->stride)); in r300_emit_vertex_arrays()
874 size1 = hw_format_size[i]; in r300_emit_vertex_arrays()
894 OUT_CS(R300_VBPNTR_SIZE0(size1) | R300_VBPNTR_STRIDE0(stride1) | in r300_emit_vertex_arrays()
902 size1 = hw_format_size[i]; in r300_emit_vertex_arrays()
913 OUT_CS(R300_VBPNTR_SIZE0(size1) | R300_VBPNTR_STRIDE0(stride1)); in r300_emit_vertex_arrays()
/external/flac/libFLAC/include/private/
Dmemory.h56 void *safe_malloc_mul_2op_p(size_t size1, size_t size2);
/external/compiler-rt/lib/tsan/rtl/
Dtsan_rtl.cc617 int size1 = 1; in UnalignedMemoryAccess() local
620 size1 = 8; in UnalignedMemoryAccess()
623 size1 = 4; in UnalignedMemoryAccess()
626 size1 = 2; in UnalignedMemoryAccess()
630 addr += size1; in UnalignedMemoryAccess()
631 size -= size1; in UnalignedMemoryAccess()
/external/valgrind/exp-sgcheck/
Dh_main.h63 void* h_replace_calloc ( ThreadId tid, SizeT nmemb, SizeT size1 );
/external/valgrind/drd/
Ddrd_malloc_wrappers.c158 static void* drd_calloc(ThreadId tid, SizeT nmemb, SizeT size1) in drd_calloc() argument
160 return new_block(tid, nmemb*size1, VG_(clo_alignment), in drd_calloc()
/external/v8/src/
Dtypes.cc628 int size1 = type1->IsUnion() ? type1->AsUnion()->Length() : 1; in Intersect() local
630 if (!AddIsSafe(size1, size2)) return Any(region); in Intersect()
631 int size = size1 + size2; in Intersect()
756 int size1 = type1->IsUnion() ? type1->AsUnion()->Length() : 1; in Union() local
758 if (!AddIsSafe(size1, size2)) return Any(region); in Union()
759 int size = size1 + size2; in Union()
/external/skia/tests/
DMatrixTest.cpp145 size_t size1 = m.writeToMemory(NULL); in test_flatten() local
147 REPORTER_ASSERT(reporter, size1 == size2); in test_flatten()
148 REPORTER_ASSERT(reporter, size1 <= SkMatrix::kMaxFlattenSize); in test_flatten()
152 REPORTER_ASSERT(reporter, size1 == size3); in test_flatten()
157 REPORTER_ASSERT(reporter, size1 == size3); in test_flatten()
158 REPORTER_ASSERT(reporter, memcmp(buffer, buffer2, size1) == 0); in test_flatten()

123