/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_() 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/ |
D | xsize.h | 57 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/ |
D | xsize.h | 60 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/swiftshader/third_party/subzero/crosstest/ |
D | test_stacksave.c | 40 uint32_t size1 = size - i; in test_vla_in_loop() local 41 uint32_t vla[size1]; in test_vla_in_loop() 42 for (uint32_t j = 0; j < size1; ++j) { in test_vla_in_loop() 46 for (uint32_t j = 0; j < size1; ++j) { in test_vla_in_loop() 56 uint32_t size1 = size - i; in test_two_vlas_in_loops() local 57 uint32_t vla1[size1]; in test_two_vlas_in_loops() 58 for (uint32_t j = 0; j < size1; ++j) { in test_two_vlas_in_loops() 69 for (uint32_t j = 0; j < size1; ++j) { in test_two_vlas_in_loops()
|
/external/webrtc/webrtc/modules/audio_device/mac/portaudio/ |
D | pa_ringbuffer.c | 199 PaRingBufferSize size1, size2, numWritten; in PaUtil_WriteRingBuffer() local 201 …numWritten = PaUtil_GetRingBufferWriteRegions( rbuf, elementCount, &data1, &size1, &data2, &size2 … in PaUtil_WriteRingBuffer() 205 memcpy( data1, data, size1*rbuf->elementSizeBytes ); in PaUtil_WriteRingBuffer() 206 data = ((char *)data) + size1*rbuf->elementSizeBytes; in PaUtil_WriteRingBuffer() 211 memcpy( data1, data, size1*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() 227 memcpy( data, data1, size1*rbuf->elementSizeBytes ); in PaUtil_ReadRingBuffer() 228 data = ((char *)data) + size1*rbuf->elementSizeBytes; in PaUtil_ReadRingBuffer() 233 memcpy( data, data1, size1*rbuf->elementSizeBytes ); in PaUtil_ReadRingBuffer()
|
/external/proguard/src/proguard/util/ |
D | ArrayUtil.java | 257 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/lzma/CPP/Common/ |
D | MyBuffer.h | 102 size_t size1 = b1.Size(); 103 if (size1 != b2.Size()) 105 if (size1 == 0) 107 return memcmp(b1, b2, size1 * sizeof(T)) == 0; 113 size_t size1 = b1.Size(); 114 if (size1 != b2.Size()) 116 if (size1 == 0) 118 return memcmp(b1, b2, size1 * sizeof(T)) != 0;
|
/external/libcxx/test/std/utilities/intseq/intseq.intseq/ |
D | integer_seq.pass.cpp | 30 using size1 = std::integer_sequence<std::size_t, 7>; in main() typedef 38 static_assert ( std::is_same<size1::value_type, std::size_t>::value, "size1 type wrong" ); in main() 39 static_assert ( size1::size() == 1, "size1 size wrong" ); in main()
|
/external/python/cpython2/Lib/test/ |
D | test_gdbm.py | 66 size1 = os.path.getsize(filename) 67 self.assertTrue(size0 < size1) 71 self.assertEqual(os.path.getsize(filename), size1) 75 self.assertTrue(size1 > size2 >= size0)
|
/external/dtc/tests/ |
D | dtbs_equal_ordered.c | 59 uint64_t addr1, size1, addr2, size2; in compare_mem_rsv() local 65 CHECK(fdt_get_mem_rsv(fdt1, i, &addr1, &size1)); in compare_mem_rsv() 68 if ((addr1 != addr2) || (size1 != size2)) in compare_mem_rsv() 72 (unsigned long long)size1, in compare_mem_rsv()
|
D | dtbs_equal_unordered.c | 78 uint64_t addr1, size1, addr2, size2; in compare_mem_rsv() local 90 CHECK(fdt_get_mem_rsv(fdt1, i, &addr1, &size1)); in compare_mem_rsv() 93 if ((addr1 != addr2) || (size1 != size2)) in compare_mem_rsv() 97 (unsigned long long)size1, in compare_mem_rsv()
|
/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/freetype/src/pfr/ |
D | pfrload.c | 355 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/libchrome/base/trace_event/ |
D | process_memory_dump_unittest.cc | 287 const size_t size1 = 5 * page_size; in TEST() local 289 static_cast<char*>(base::AlignedAlloc(size1, page_size))); in TEST() 290 memset(memory1.get(), 0, size1); in TEST() 291 size_t res1 = ProcessMemoryDump::CountResidentBytes(memory1.get(), size1); in TEST() 292 ASSERT_EQ(res1, size1); in TEST()
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineSpecConstantTests.cpp | 1227 const int size1, in generateArrayConstructorString() argument 1243 for (int iterNdx = 0; iterNdx < size1; ++iterNdx) in generateArrayConstructorString() 1261 …arrayCtorExpr << generateInitializerListWithSpecConstant(elemType, doCast, 0, size1, specConstName… in generateArrayConstructorString() 1326 const int size1, in generateShaderChecksumComputationCode() argument 1339 << " for (int i = 0; i < " << size1 << "; ++i)\n" in generateShaderChecksumComputationCode() 1350 << " for (int i = 0; i < " << size1 << "; ++i)\n" in generateShaderChecksumComputationCode() 1406 …const int size1 = glu::isDataTypeMatrix(type) ? glu::getDataTypeMatrixNumColumns(type) : glu::getD… in makeMatrixVectorCompositeCaseDefinition() local 1416 …generateShaderChecksumComputationCode(scalarType, varName, accumType, size1, size2, numCombination… in makeMatrixVectorCompositeCaseDefinition() 1426 CaseDefinition makeArrayCompositeCaseDefinition (const glu::DataType elemType, const int size1, con… in makeArrayCompositeCaseDefinition() argument 1430 DE_ASSERT(size1 > 0); in makeArrayCompositeCaseDefinition() [all …]
|
/external/llvm/test/Transforms/MergeFunc/ |
D | alloca.ll | 13 ; CHECK-LABEL: define void @size1 15 define void @size1(i8 *%f) {
|
/external/swiftshader/third_party/LLVM/test/CodeGen/PowerPC/ |
D | 2007-11-16-landingpad-split.ll | 11 %size1 = trunc i64 %size to i32 ; <i32> [#uses=1] 12 %tmp17 = alloca i8*, i32 %size1 ; <i8**> [#uses=1]
|
/external/javassist/src/main/javassist/ |
D | CtClassType.java | 540 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/ |
D | 2007-11-16-landingpad-split.ll | 26 %size1 = trunc i64 %size to i32 ; <i32> [#uses=1] 27 %tmp17 = alloca i8*, i32 %size1 ; <i8**> [#uses=1]
|
/external/flac/libFLAC/include/private/ |
D | memory.h | 56 void *safe_malloc_mul_2op_p(size_t size1, size_t size2);
|
/external/skia/src/shaders/ |
D | SkBitmapProcShader.cpp | 172 size_t size1 = sizeof(LinearPipelineContext) + sizeof(SkBitmapProcInfo); in ContextSize() local 173 size_t s = SkTMax(size0, size1); in ContextSize()
|
/external/mesa3d/src/gallium/drivers/r300/ |
D | r300_emit.c | 939 unsigned size1, size2, offset1, offset2, stride1, stride2; in r300_emit_vertex_arrays() local 951 size1 = hw_format_size[i]; in r300_emit_vertex_arrays() 954 OUT_CS(R300_VBPNTR_SIZE0(size1) | R300_VBPNTR_STRIDE0(vb1->stride) | in r300_emit_vertex_arrays() 962 size1 = hw_format_size[i]; in r300_emit_vertex_arrays() 964 OUT_CS(R300_VBPNTR_SIZE0(size1) | R300_VBPNTR_STRIDE0(vb1->stride)); in r300_emit_vertex_arrays() 977 size1 = hw_format_size[i]; in r300_emit_vertex_arrays() 997 OUT_CS(R300_VBPNTR_SIZE0(size1) | R300_VBPNTR_STRIDE0(stride1) | in r300_emit_vertex_arrays() 1005 size1 = hw_format_size[i]; in r300_emit_vertex_arrays() 1016 OUT_CS(R300_VBPNTR_SIZE0(size1) | R300_VBPNTR_STRIDE0(stride1)); in r300_emit_vertex_arrays()
|
/external/eigen/unsupported/test/ |
D | cxx11_tensor_of_float16_cuda.cu | 318 void test_cuda_reductions(int size1, int size2, int redux) { in test_cuda_reductions() argument 320 std::cout << "Reducing " << size1 << " by " << size2 in test_cuda_reductions() 325 int num_elem = size1*size2; in test_cuda_reductions() 326 int result_size = (redux == 1 ? size1 : size2); in test_cuda_reductions() 334 d_float1, size1, size2); in test_cuda_reductions() 336 d_float2, size1, size2); in test_cuda_reductions()
|
/external/skia/src/ports/ |
D | SkFontConfigInterface_direct.cpp | 135 size_t size1 = iden0.writeToMemory(storage.get()); in test_writeToMemory() local 136 SkASSERT(size0 == size1); in test_writeToMemory() 139 size_t size2 = iden1.readFromMemory(storage.get(), size1); in test_writeToMemory() 140 SkASSERT(size2 == size1); in test_writeToMemory()
|
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_rtl.cc | 639 int size1 = 1; in UnalignedMemoryAccess() local 642 size1 = 8; in UnalignedMemoryAccess() 645 size1 = 4; in UnalignedMemoryAccess() 648 size1 = 2; in UnalignedMemoryAccess() 652 addr += size1; in UnalignedMemoryAccess() 653 size -= size1; in UnalignedMemoryAccess()
|