/external/flac/include/share/ |
D | alloc.h | 86 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_() 91 return safe_malloc_(size2); 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_() 99 size3 += size2; in safe_malloc_add_3op_() 100 if(size3 < size2) 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 [all …]
|
/external/opencv/cvaux/src/ |
D | _cvaux.h | 54 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/e2fsprogs/intl/ |
D | xsize.h | 57 xsum (size_t size1, size_t size2) in xsum() argument 59 size_t sum = size1 + size2; 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/ |
D | xsize.h | 60 xsum (size_t size1, size_t size2) in xsum() argument 62 size_t sum = size1 + size2; 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/eigen/bench/ |
D | benchVecAdd.cpp | 24 int size2 = size * size; in main() local 25 Scalar* a = internal::aligned_new<Scalar>(size2); in main() 26 Scalar* b = internal::aligned_new<Scalar>(size2+4)+1; in main() 27 Scalar* c = internal::aligned_new<Scalar>(size2); in main() 40 benchVec(a, b, c, size2); in main() 43 …std::cout << timer.value() << "s " << (double(size2*REPEAT)/timer.value())/(1024.*1024.*1024.) <<… in main() 47 if (size2%innersize==0) in main() 49 int outersize = size2/innersize; in main() 60 …rsize << " x " << outersize << " " << timer.value() << "s " << (double(size2*REPEAT)/timer.valu… in main() 64 VectorXf va = Map<VectorXf>(a, size2); in main() [all …]
|
/external/lzma/C/ |
D | 7zStream.c | 75 size_t size2 = p->size - p->pos; in LookToRead_Look_Lookahead() local 76 if (size2 == 0 && *size > 0) in LookToRead_Look_Lookahead() 79 size2 = LookToRead_BUF_SIZE; in LookToRead_Look_Lookahead() 80 res = p->realStream->Read(p->realStream, p->buf, &size2); in LookToRead_Look_Lookahead() 81 p->size = size2; in LookToRead_Look_Lookahead() 83 if (size2 < *size) in LookToRead_Look_Lookahead() 84 *size = size2; in LookToRead_Look_Lookahead() 93 size_t size2 = p->size - p->pos; in LookToRead_Look_Exact() local 94 if (size2 == 0 && *size > 0) in LookToRead_Look_Exact() 100 size2 = p->size = *size; in LookToRead_Look_Exact() [all …]
|
D | Bcj2.c | 38 const Byte *buf2, SizeT size2, in Bcj2_Decode() argument 114 if (size2 < 4) in Bcj2_Decode() 117 size2 -= 4; in Bcj2_Decode()
|
D | Bcj2.h | 28 const Byte *buf2, SizeT size2,
|
/external/proguard/src/proguard/util/ |
D | ArrayUtil.java | 258 byte[] array2, int size2) 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() 292 short[] array2, int size2) 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() 326 int[] array2, int size2) in compare() argument 328 int minSize = Math.min(size1, size2); in compare() [all …]
|
/external/webrtc/webrtc/modules/audio_device/mac/portaudio/ |
D | pa_ringbuffer.c | 199 PaRingBufferSize size1, size2, numWritten; in PaUtil_WriteRingBuffer() local 201 …umWritten = PaUtil_GetRingBufferWriteRegions( rbuf, elementCount, &data1, &size1, &data2, &size2 ); in PaUtil_WriteRingBuffer() 202 if( size2 > 0 ) in PaUtil_WriteRingBuffer() 207 memcpy( data2, data, size2*rbuf->elementSizeBytes ); in PaUtil_WriteRingBuffer() 222 PaRingBufferSize size1, size2, numRead; in PaUtil_ReadRingBuffer() local 224 numRead = PaUtil_GetRingBufferReadRegions( rbuf, elementCount, &data1, &size1, &data2, &size2 ); in PaUtil_ReadRingBuffer() 225 if( size2 > 0 ) in PaUtil_ReadRingBuffer() 229 memcpy( data, data2, size2*rbuf->elementSizeBytes ); in PaUtil_ReadRingBuffer()
|
/external/opencv3/3rdparty/openexr/IlmImf/ |
D | ImfMultiView.cpp | 235 unsigned int size2 = chan2.size(); in areCounterparts() local 237 if (size1 == 0 || size2 == 0) in areCounterparts() 248 if (size2 > 1 && viewNum (chan2[size2 - 2], multiView) == -1) in areCounterparts() 269 return size2 == 2 && chan1[0] == chan2[1]; in areCounterparts() 272 if (size2 == 1) in areCounterparts() 288 if (size1 != size2) in areCounterparts()
|
/external/libcxx/test/std/utilities/intseq/intseq.general/ |
D | integer_seq.pass.cpp | 36 using size2 = std::index_sequence_for<int, size_t>; // generates size_t: 0,1 in main() typedef 50 static_assert ( std::is_same<size2::value_type, size_t>::value, "size2 type wrong" ); in main() 51 static_assert ( size2::size () == 2, "size2 size wrong" ); in main() 74 auto t2 = extract ( tup, size2 ()); in main() 75 static_assert ( std::tuple_size<decltype(t2)>::value == size2::size (), "t2 size wrong"); in main()
|
/external/eigen/test/eigen2/ |
D | gsl_helper.h | 38 Matrix a = createMatrix(m->size1, m->size2); in eigen_symm() 48 Matrix a = createMatrix(m->size1, m->size2); in eigen_symm_gen() 49 Matrix b = createMatrix(_b->size1, _b->size2); in eigen_symm_gen() 74 Matrix a = createMatrix(m->size1, m->size2); 84 Matrix a = createMatrix(m->size1, m->size2); 85 Matrix b = createMatrix(_b->size1, _b->size2); 109 res.resize(int(m->size1), int(m->size2)); 147 res.resize(int(m->size1), int(m->size2));
|
/external/valgrind/massif/tests/ |
D | custom_alloc.c | 30 int size2 = size + RZ*2; in custom_alloc() local 33 if (hp + size2 > hp_lim) { in custom_alloc() 39 hp += size2; in custom_alloc()
|
/external/valgrind/drd/tests/ |
D | custom_alloc.c | 30 int size2 = size + RZ*2; in custom_alloc() local 33 if (hp + size2 > hp_lim) { in custom_alloc() 39 hp += size2; in custom_alloc()
|
/external/flac/libFLAC/ |
D | memory.c | 211 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/valgrind/memcheck/tests/ |
D | custom_alloc.c | 36 int size2 = size + RZ*2; in custom_alloc() local 39 if (hp + size2 > hp_lim) { in custom_alloc() 45 hp += size2; in custom_alloc()
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/ |
D | MultimapSizeTester.java | 52 int size2 = 0; in testSize() local 54 size2 += entry2.getValue().size(); in testSize() 56 assertEquals(expectedSize, size2); in testSize()
|
/external/opencv/cv/src/ |
D | cvemd.cpp | 118 const float *signature2, int size2, 177 int dims, size1, size2; in cvCalcEMD2() local 187 size2 = signature2->rows; in cvCalcEMD2() 199 if( flow->rows != size1 || flow->cols != size2 ) in cvCalcEMD2() 223 if( cost->rows != size1 || cost->cols != size2 ) in cvCalcEMD2() 256 signature2->data.fl, size2, in cvCalcEMD2() 335 const float* signature2, int size2, in icvInitEMD() argument 354 buffer_size = (size1+1) * (size2+1) * (sizeof( float ) + /* cost */ in icvInitEMD() 357 (size1 + size2 + 2) * (sizeof( CvNode2D ) + /* _x */ in icvInitEMD() 389 buffer += (size2 + 1) * sizeof( int ); in icvInitEMD() [all …]
|
/external/opencv3/modules/imgproc/src/ |
D | emd.cpp | 118 const float *signature2, int size2, 171 int dims, size1, size2; in cvCalcEMD2() local 181 size2 = signature2->rows; in cvCalcEMD2() 193 if( flow->rows != size1 || flow->cols != size2 ) in cvCalcEMD2() 217 if( cost->rows != size1 || cost->cols != size2 ) in cvCalcEMD2() 250 signature2->data.fl, size2, in cvCalcEMD2() 324 const float* signature2, int size2, in icvInitEMD() argument 343 buffer_size = (size1+1) * (size2+1) * (sizeof( float ) + /* cost */ in icvInitEMD() 346 (size1 + size2 + 2) * (sizeof( CvNode2D ) + /* _x */ in icvInitEMD() 369 buffer += (size2 + 1) * sizeof( int ); in icvInitEMD() [all …]
|
/external/libmicrohttpd/src/testspdy/ |
D | test_struct_namevalue.c | 36 int size2; variable 294 size2 = sizeof(pairs_different)/sizeof(pairs_different[0]); in main() 296 for(i=0;i<size2; i+=2) in main() 329 for(i=size2 - 2; i >= 0; i-=2) in main()
|
/external/dexmaker/src/dx/java/com/android/dx/rop/type/ |
D | StdTypeList.java | 307 int size2 = list2.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/expr/ |
D | ExprEditor.java | 134 int size2 = iterator.getCodeLength(); in doit() local 135 if (size != size2) // the body was modified. in doit() 136 endPos += size2 - size; in doit()
|
/external/skia/samplecode/ |
D | SampleRegion.cpp | 274 SkDEBUGCODE(size_t size2 = ) tmp.writeToMemory(buffer); in drawRgnOped() 275 SkASSERT(size == size2); in drawRgnOped() 278 SkDEBUGCODE(size2 = ) tmp3.readFromMemory(buffer, 1000); in drawRgnOped() 279 SkASSERT(size == size2); in drawRgnOped()
|
/external/javassist/src/main/javassist/ |
D | CtClassType.java | 540 int size1, size2; in toAnnotationType() local 553 size2 = 0; in toAnnotationType() 557 size2 = anno2.length; in toAnnotationType() 561 Object[] result = new Object[size1 + size2]; in toAnnotationType() 565 for (int j = 0; j < size2; j++) in toAnnotationType() 578 for (int j = 0; j < size2; j++) { in toAnnotationType() 606 int size1, size2; in toAnnotationType() local 619 size2 = 0; in toAnnotationType() 623 size2 = anno2.length; in toAnnotationType() 627 result[i] = new Object[size1 + size2]; in toAnnotationType() [all …]
|