Home
last modified time | relevance | path

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

1234

/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/swiftshader/third_party/subzero/crosstest/
Dtest_stacksave.c40 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/
Dpa_ringbuffer.c199 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/
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/lzma/CPP/Common/
DMyBuffer.h105 size_t size1 = b1.Size();
106 if (size1 != b2.Size())
108 if (size1 == 0)
110 return memcmp(b1, b2, size1 * sizeof(T)) == 0;
116 size_t size1 = b1.Size();
117 if (size1 != b2.Size())
119 if (size1 == 0)
121 return memcmp(b1, b2, size1 * sizeof(T)) != 0;
/external/u-boot/arch/arm/mach-omap2/omap3/
Demif4.c129 unsigned int size0 = 0, size1 = 0; in dram_init() local
138 size1 = get_sdr_cs_size(CS1); in dram_init()
140 gd->ram_size = size0 + size1; in dram_init()
146 unsigned int size0 = 0, size1 = 0; in dram_init_banksize() local
149 size1 = get_sdr_cs_size(CS1); in dram_init_banksize()
154 gd->bd->bi_dram[1].size = size1; in dram_init_banksize()
Dsdrc.c199 unsigned int size0 = 0, size1 = 0; in dram_init() local
211 size1 = get_sdr_cs_size(CS1); in dram_init()
213 gd->ram_size = size0 + size1; in dram_init()
220 unsigned int size0 = 0, size1 = 0; in dram_init_banksize() local
223 size1 = get_sdr_cs_size(CS1); in dram_init_banksize()
228 gd->bd->bi_dram[1].size = size1; in dram_init_banksize()
/external/grpc-grpc/test/core/tsi/alts/frame_protector/
Dalts_crypter_test.cc85 size_t size1 = data_size, size2 = data_size; in alts_crypter_test_multiple_random_seal_unseal() local
87 client_seal, data_buffer1, protected_data_size, size1, &size1, nullptr); in alts_crypter_test_multiple_random_seal_unseal()
89 GPR_ASSERT(size1 == protected_data_size); in alts_crypter_test_multiple_random_seal_unseal()
95 server_unseal, data_buffer1, protected_data_size, size1, &size1, nullptr); in alts_crypter_test_multiple_random_seal_unseal()
98 GPR_ASSERT(size1 == data_size); in alts_crypter_test_multiple_random_seal_unseal()
107 server_seal, data_buffer1, protected_data_size, size1, &size1, nullptr); in alts_crypter_test_multiple_random_seal_unseal()
109 GPR_ASSERT(size1 == protected_data_size); in alts_crypter_test_multiple_random_seal_unseal()
115 client_unseal, data_buffer1, protected_data_size, size1, &size1, nullptr); in alts_crypter_test_multiple_random_seal_unseal()
118 GPR_ASSERT(size1 == data_size); in alts_crypter_test_multiple_random_seal_unseal()
/external/libprotobuf-mutator/src/libfuzzer/
Dlibfuzzer_macro.cc130 size_t CrossOverTextMessages(const uint8_t* data1, size_t size1, in CrossOverTextMessages() argument
135 TextInputReader input1(data1, size1); in CrossOverTextMessages()
148 size_t CrossOverBinaryMessages(const uint8_t* data1, size_t size1, in CrossOverBinaryMessages() argument
153 BinaryInputReader input1(data1, size1); in CrossOverBinaryMessages()
168 size_t CustomProtoCrossOver(bool binary, const uint8_t* data1, size_t size1, in CustomProtoCrossOver() argument
174 return cross(data1, size1, data2, size2, out, max_out_size, seed, input1, in CustomProtoCrossOver()
Dlibfuzzer_macro.h47 const uint8_t* data1, size_t size1, const uint8_t* data2, size_t size2, \
52 return CustomProtoCrossOver(use_binary, data1, size1, data2, size2, out, \
80 size_t CustomProtoCrossOver(bool binary, const uint8_t* data1, size_t size1,
/external/libcxx/test/std/utilities/intseq/intseq.intseq/
Dinteger_seq.pass.cpp30 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/
Dtest_gdbm.py70 size1 = os.path.getsize(filename)
71 self.assertGreater(size1, size0)
75 self.assertEqual(os.path.getsize(filename), size1)
79 self.assertLess(size2, size1)
/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/dtc/tests/
Ddtbs_equal_ordered.c59 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()
Ddtbs_equal_unordered.c78 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/u-boot/board/freescale/mx53smd/
Dmx53smd.c23 u32 size1, size2; in dram_init() local
25 size1 = get_ram_size((void *)PHYS_SDRAM_1, PHYS_SDRAM_1_SIZE); in dram_init()
28 gd->ram_size = size1 + size2; in dram_init()
/external/u-boot/lib/
Dlmb.c44 phys_size_t size1, phys_addr_t base2, phys_size_t size2) in lmb_addrs_overlap() argument
46 return ((base1 < (base2+size2)) && (base2 < (base1+size1))); in lmb_addrs_overlap()
49 static long lmb_addrs_adjacent(phys_addr_t base1, phys_size_t size1, in lmb_addrs_adjacent() argument
52 if (base2 == base1 + size1) in lmb_addrs_adjacent()
64 phys_size_t size1 = rgn->region[r1].size; in lmb_regions_adjacent() local
68 return lmb_addrs_adjacent(base1, size1, base2, size2); in lmb_regions_adjacent()
/external/python/cpython3/Lib/test/
Dtest_dbm_gnu.py80 size1 = os.path.getsize(filename)
81 self.assertGreater(size1, size0)
85 self.assertEqual(os.path.getsize(filename), size1)
89 self.assertLess(size2, size1)
/external/cldr/tools/java/org/unicode/cldr/util/
DSetComparator.java9 int size1 = o1.size(); in compare() local
11 int diff = size1 - size2; in compare()
/external/tensorflow/tensorflow/core/framework/
Dtensor_shape.cc189 const int64 size1 = dim_sizes[1]; in InitDims() local
191 neg |= Set16(kIsPartial, dst, 1, size1); in InitDims()
192 set_num_elements(neg ? -1 : (size0 * size1)); in InitDims()
198 const int64 size1 = dim_sizes[1]; in InitDims() local
201 neg |= Set16(kIsPartial, dst, 1, size1); in InitDims()
203 set_num_elements(neg ? -1 : (size0 * size1 * size2)); in InitDims()
209 const int64 size1 = dim_sizes[1]; in InitDims() local
213 neg |= Set16(kIsPartial, dst, 1, size1); in InitDims()
216 set_num_elements(neg ? -1 : (size0 * size1 * size2 * size3)); in InitDims()
/external/freetype/src/pfr/
Dpfrload.c463 FT_UInt n, count, size1; in pfr_extra_item_load_bitmap_info() local
487 size1 = 1 + 1 + 1 + 2 + 2 + 1; in pfr_extra_item_load_bitmap_info()
489 size1++; in pfr_extra_item_load_bitmap_info()
492 size1++; in pfr_extra_item_load_bitmap_info()
495 size1++; in pfr_extra_item_load_bitmap_info()
498 size1++; in pfr_extra_item_load_bitmap_info()
501 size1++; in pfr_extra_item_load_bitmap_info()
505 PFR_CHECK( count * size1 ); in pfr_extra_item_load_bitmap_info()
/external/u-boot/lib/efi/
Defi_stub.c251 void *ptr1, int size1, void *ptr2, int size2) in add_entry_addr() argument
256 hdr->size = size1 + size2; in add_entry_addr()
260 memcpy(hdr + 1, ptr1, size1); in add_entry_addr()
261 memcpy((void *)(hdr + 1) + size1, ptr2, size2); in add_entry_addr()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineSpecConstantTests.cpp1227 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/u-boot/board/freescale/mx35pdk/
Dmx35pdk.c40 u32 size1, size2; in dram_init() local
42 size1 = get_ram_size((void *)PHYS_SDRAM_1, PHYS_SDRAM_1_SIZE); in dram_init()
45 gd->ram_size = size1 + size2; in dram_init()

1234