Home
last modified time | relevance | path

Searched refs:size2 (Results 1 – 25 of 74) 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_()
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/libcups/cups/
Dtestpwg.c416 *size2; /* Size from saved */ in test_ppd_cache() local
455 for (i = pc->num_sizes, size = pc->sizes, size2 = pc2->sizes; in test_ppd_cache()
457 i --, size ++, size2 ++) in test_ppd_cache()
459 if (strcmp(size2->map.pwg, size->map.pwg) || in test_ppd_cache()
460 strcmp(size2->map.ppd, size->map.ppd) || in test_ppd_cache()
461 size2->width != size->width || in test_ppd_cache()
462 size2->length != size->length || in test_ppd_cache()
463 size2->left != size->left || in test_ppd_cache()
464 size2->bottom != size->bottom || in test_ppd_cache()
465 size2->right != size->right || in test_ppd_cache()
[all …]
/external/e2fsprogs/intl/
Dxsize.h57 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/eigen/bench/
DbenchVecAdd.cpp24 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/
D7zStream.c75 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 …]
/external/proguard/src/proguard/util/
DArrayUtil.java258 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/
Dpa_ringbuffer.c199 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/swiftshader/third_party/subzero/crosstest/
Dtest_stacksave.c59 uint32_t size2 = size - j; in test_two_vlas_in_loops() local
61 uint32_t mid2 = size2 / 2; in test_two_vlas_in_loops()
62 uint32_t vla2[size2]; in test_two_vlas_in_loops()
63 for (uint32_t k = start2; k < size2; ++k) { in test_two_vlas_in_loops()
67 vla1[j] = (vla2[start2] << 2) + (vla2[mid2] << 1) + vla2[size2 - 1]; in test_two_vlas_in_loops()
/external/libcxx/test/std/utilities/intseq/intseq.general/
Dinteger_seq.pass.cpp31 using size2 = std::index_sequence_for<int, size_t>; // generates size_t: 0,1 in main() typedef
45 static_assert ( std::is_same<size2::value_type, size_t>::value, "size2 type wrong" ); in main()
46 static_assert ( size2::size () == 2, "size2 size wrong" ); in main()
69 auto t2 = extract ( tup, size2 ()); in main()
70 static_assert ( std::tuple_size<decltype(t2)>::value == size2::size (), "t2 size wrong"); in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mmap/
D3-1.c49 size_t size2; in main() local
56 size2 = page_size + 1; in main()
110 mmap(pa, size2, PROT_READ | PROT_WRITE, MAP_SHARED | MAP_FIXED, fd2, in main()
132 munmap(pa2, size2); in main()
/external/valgrind/massif/tests/
Dcustom_alloc.c30 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/
Dcustom_alloc.c30 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/dtc/tests/
Ddtbs_equal_ordered.c59 uint64_t addr1, size1, addr2, size2; in compare_mem_rsv() local
66 CHECK(fdt_get_mem_rsv(fdt2, i, &addr2, &size2)); in compare_mem_rsv()
68 if ((addr1 != addr2) || (size1 != size2)) in compare_mem_rsv()
74 (unsigned long long)size2); in compare_mem_rsv()
Ddtbs_equal_unordered.c78 uint64_t addr1, size1, addr2, size2; in compare_mem_rsv() local
91 CHECK(fdt_get_mem_rsv(fdt2, i, &addr2, &size2)); in compare_mem_rsv()
93 if ((addr1 != addr2) || (size1 != size2)) in compare_mem_rsv()
99 (unsigned long long)size2); in compare_mem_rsv()
/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/valgrind/memcheck/tests/
Dcustom_alloc.c36 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/
DMultimapSizeTester.java52 int size2 = 0; in testSize() local
54 size2 += entry2.getValue().size(); in testSize()
56 assertEquals(expectedSize, size2); in testSize()
/external/libmicrohttpd/src/testspdy/
Dtest_struct_namevalue.c36 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/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineSpecConstantTests.cpp1228 const int size2, in generateArrayConstructorString() argument
1232 const bool isArrayOfArray = (size2 > 0); in generateArrayConstructorString()
1241 int idxEnd = size2; in generateArrayConstructorString()
1246 …<< (iterNdx != 0 ? ",\n" + padding : "") << glu::getDataTypeName(elemType) << "[" << size2 << "]("; in generateArrayConstructorString()
1254 idxBegin += size2; in generateArrayConstructorString()
1255 idxEnd += size2; in generateArrayConstructorString()
1327 const int size2, in generateShaderChecksumComputationCode() argument
1336 if (size2 > 0) in generateShaderChecksumComputationCode()
1340 << " for (int j = 0; j < " << size2 << "; ++j)\n" in generateShaderChecksumComputationCode()
1407 const int size2 = glu::isDataTypeMatrix(type) ? glu::getDataTypeMatrixNumRows(type) : 0; in makeMatrixVectorCompositeCaseDefinition() local
[all …]
/external/javassist/src/main/javassist/expr/
DExprEditor.java134 int size2 = iterator.getCodeLength(); in doit() local
135 if (size != size2) // the body was modified. in doit()
136 endPos += size2 - size; in doit()
/external/python/cpython2/Lib/test/
Dtest_gdbm.py74 size2 = os.path.getsize(filename)
75 self.assertTrue(size1 > size2 >= size0)
/external/llvm/test/Transforms/MergeFunc/
Dalloca.ll25 ; CHECK-LABEL: define void @size2
27 define void @size2(i8 *%f) {
/external/tensorflow/tensorflow/core/grappler/costs/
Dop_level_cost_estimator_test.cc122 OpContext DescribeOp(const string& op, int size1, int size2) { in DescribeOp() argument
128 DescribeTensor4D(2 * size1, size2, 1, 1, &op_context.op_info); in DescribeOp()
133 shape->add_dim()->set_size(size2); in DescribeOp()
/external/skia/samplecode/
DSampleRegion.cpp272 SkDEBUGCODE(size_t size2 = ) tmp.writeToMemory(buffer); in drawRgnOped()
273 SkASSERT(size == size2); in drawRgnOped()
276 SkDEBUGCODE(size2 = ) tmp3.readFromMemory(buffer, 1000); in drawRgnOped()
277 SkASSERT(size == size2); in drawRgnOped()
/external/skqp/samplecode/
DSampleRegion.cpp272 SkDEBUGCODE(size_t size2 = ) tmp.writeToMemory(buffer); in drawRgnOped()
273 SkASSERT(size == size2); in drawRgnOped()
276 SkDEBUGCODE(size2 = ) tmp3.readFromMemory(buffer, 1000); in drawRgnOped()
277 SkASSERT(size == size2); in drawRgnOped()

123