/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/libcups/cups/ |
D | testpwg.c | 416 *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/ |
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/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 | 81 size_t size2 = p->size - p->pos; in LookToRead2_Look_Lookahead() local 82 if (size2 == 0 && *size != 0) in LookToRead2_Look_Lookahead() 86 size2 = p->bufSize; in LookToRead2_Look_Lookahead() 87 res = ISeekInStream_Read(p->realStream, p->buf, &size2); in LookToRead2_Look_Lookahead() 88 p->size = size2; in LookToRead2_Look_Lookahead() 90 if (*size > size2) in LookToRead2_Look_Lookahead() 91 *size = size2; in LookToRead2_Look_Lookahead() 100 size_t size2 = p->size - p->pos; in LookToRead2_Look_Exact() local 101 if (size2 == 0 && *size != 0) in LookToRead2_Look_Exact() 108 size2 = p->size = *size; in LookToRead2_Look_Exact() [all …]
|
/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/OpenCL-CTS/test_conformance/api/ |
D | test_kernel_arg_multi_setup.cpp | 193 int size1, size2, size3; in test_kernel_arg_multi_setup_exhaustive() local 209 for( size2 = 2; size2 <= 8; size2 <<= 1 ) in test_kernel_arg_multi_setup_exhaustive() 217 types[ type2 ], size2, in test_kernel_arg_multi_setup_exhaustive() 235 int size1, size2, size3; in test_kernel_arg_multi_setup_random() local 244 for( size2 = 2; size2 <= 8; size2 <<= 1 ) in test_kernel_arg_multi_setup_random() 258 get_explicit_type_name( types[ type2 ] ), size2, in test_kernel_arg_multi_setup_random() 263 types[ type2 ], size2, in test_kernel_arg_multi_setup_random()
|
/external/swiftshader/third_party/subzero/crosstest/ |
D | test_stacksave.c | 59 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/ |
D | integer_seq.pass.cpp | 31 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/ |
D | 3-1.c | 48 size_t size2; in main() local 55 size2 = page_size + 1; in main() 109 mmap(pa, size2, PROT_READ | PROT_WRITE, MAP_SHARED | MAP_FIXED, fd2, in main() 131 munmap(pa2, size2); in main()
|
/external/grpc-grpc/test/core/tsi/alts/frame_protector/ |
D | alts_crypter_test.cc | 85 size_t size1 = data_size, size2 = data_size; in alts_crypter_test_multiple_random_seal_unseal() local 91 client_seal, data_buffer2, protected_data_size, size2, &size2, nullptr); in alts_crypter_test_multiple_random_seal_unseal() 93 GPR_ASSERT(size2 == protected_data_size); in alts_crypter_test_multiple_random_seal_unseal() 100 server_unseal, data_buffer2, protected_data_size, size2, &size2, nullptr); in alts_crypter_test_multiple_random_seal_unseal() 103 GPR_ASSERT(size2 == data_size); in alts_crypter_test_multiple_random_seal_unseal() 111 server_seal, data_buffer2, protected_data_size, size2, &size2, nullptr); in alts_crypter_test_multiple_random_seal_unseal() 113 GPR_ASSERT(size2 == protected_data_size); in alts_crypter_test_multiple_random_seal_unseal() 120 client_unseal, data_buffer2, protected_data_size, size2, &size2, nullptr); in alts_crypter_test_multiple_random_seal_unseal() 123 GPR_ASSERT(size2 == data_size); in alts_crypter_test_multiple_random_seal_unseal()
|
/external/libprotobuf-mutator/src/libfuzzer/ |
D | libfuzzer_macro.cc | 143 const uint8_t* data2, size_t size2, uint8_t* out, in CrossOverTextMessages() argument 148 TextInputReader input2(data2, size2); in CrossOverTextMessages() 161 const uint8_t* data2, size_t size2, uint8_t* out, in CrossOverBinaryMessages() argument 166 BinaryInputReader input2(data2, size2); in CrossOverBinaryMessages() 181 const uint8_t* data2, size_t size2, uint8_t* out, in CustomProtoCrossOver() argument 186 return cross(data1, size1, data2, size2, out, max_out_size, seed, input1, in CustomProtoCrossOver()
|
D | libfuzzer_macro.h | 63 const uint8_t* data1, size_t size1, const uint8_t* data2, size_t size2, \ 68 return CustomProtoCrossOver(use_binary, data1, size1, data2, size2, out, \ 102 const uint8_t* data2, size_t size2, uint8_t* out,
|
/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/dtc/tests/ |
D | dtbs_equal_ordered.c | 59 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()
|
D | dtbs_equal_unordered.c | 78 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/u-boot/board/freescale/mx53smd/ |
D | mx53smd.c | 23 u32 size1, size2; in dram_init() local 26 size2 = get_ram_size((void *)PHYS_SDRAM_2, PHYS_SDRAM_2_SIZE); in dram_init() 28 gd->ram_size = size1 + size2; in dram_init()
|
/external/python/cpython2/Lib/test/ |
D | test_gdbm.py | 78 size2 = os.path.getsize(filename) 79 self.assertLess(size2, size1) 80 self.assertGreaterEqual(size2, size0)
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
D | SetComparator.java | 10 int size2 = o2.size(); in compare() local 11 int diff = size1 - size2; in compare()
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/ |
D | MultimapSizeTester.java | 54 int size2 = 0; in testSize() local 56 size2 += entry2.getValue().size(); in testSize() 58 assertEquals(expectedSize, size2); in testSize()
|
/external/guava/android/guava-testlib/src/com/google/common/collect/testing/google/ |
D | MultimapSizeTester.java | 54 int size2 = 0; in testSize() local 56 size2 += entry2.getValue().size(); in testSize() 58 assertEquals(expectedSize, size2); in testSize()
|
/external/oss-fuzz/projects/tremor/ |
D | decode_fuzzer.cc | 48 size_t read_func(void *ptr, size_t size1, size_t size2, void *datasource) { in read_func() argument 50 size_t len = size1 * size2; in read_func()
|
/external/u-boot/lib/ |
D | lmb.c | 44 phys_addr_t base2, phys_size_t size2) in lmb_addrs_overlap() argument 47 const phys_addr_t base2_end = base2 + size2 - 1; in lmb_addrs_overlap() 53 phys_addr_t base2, phys_size_t size2) in lmb_addrs_adjacent() argument 57 else if (base1 == base2 + size2) in lmb_addrs_adjacent() 69 phys_size_t size2 = rgn->region[r2].size; in lmb_regions_adjacent() local 71 return lmb_addrs_adjacent(base1, size1, base2, size2); in lmb_regions_adjacent()
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineSpecConstantTests.cpp | 1232 const int size2, in generateArrayConstructorString() argument 1236 const bool isArrayOfArray = (size2 > 0); in generateArrayConstructorString() 1245 int idxEnd = size2; in generateArrayConstructorString() 1250 …<< (iterNdx != 0 ? ",\n" + padding : "") << glu::getDataTypeName(elemType) << "[" << size2 << "]("; in generateArrayConstructorString() 1258 idxBegin += size2; in generateArrayConstructorString() 1259 idxEnd += size2; in generateArrayConstructorString() 1331 const int size2, in generateShaderChecksumComputationCode() argument 1340 if (size2 > 0) in generateShaderChecksumComputationCode() 1344 << " for (int j = 0; j < " << size2 << "; ++j)\n" in generateShaderChecksumComputationCode() 1411 const int size2 = glu::isDataTypeMatrix(type) ? glu::getDataTypeMatrixNumRows(type) : 0; in makeMatrixVectorCompositeCaseDefinition() local [all …]
|