Searched refs:copy_size (Results 1 – 6 of 6) sorted by relevance
1559 duk_uint_t copy_size = 0; in duk_bi_nodejs_buffer_copy() local1604 copy_size = source_uend - source_ustart; in duk_bi_nodejs_buffer_copy()1605 if (target_ustart + copy_size > (duk_uint_t) target_length) { in duk_bi_nodejs_buffer_copy()1613 DUK_ASSERT(target_ustart + copy_size >= target_ustart); /* no overflow */ in duk_bi_nodejs_buffer_copy()1614 DUK_ASSERT(target_ustart + copy_size >= copy_size); /* no overflow */ in duk_bi_nodejs_buffer_copy()1615 copy_size = (duk_uint_t) target_length - target_ustart; in duk_bi_nodejs_buffer_copy()1620 (unsigned long) copy_size)); in duk_bi_nodejs_buffer_copy()1622 DUK_ASSERT(copy_size >= 1); in duk_bi_nodejs_buffer_copy()1624 DUK_ASSERT(source_ustart + copy_size <= (duk_uint_t) source_length); in duk_bi_nodejs_buffer_copy()1626 DUK_ASSERT(target_ustart + copy_size <= (duk_uint_t) target_length); in duk_bi_nodejs_buffer_copy()[all …]
23037 duk_uint_t copy_size = 0; in duk_bi_nodejs_buffer_copy() local23082 copy_size = source_uend - source_ustart; in duk_bi_nodejs_buffer_copy()23083 if (target_ustart + copy_size > (duk_uint_t) target_length) { in duk_bi_nodejs_buffer_copy()23091 DUK_ASSERT(target_ustart + copy_size >= target_ustart); /* no overflow */ in duk_bi_nodejs_buffer_copy()23092 DUK_ASSERT(target_ustart + copy_size >= copy_size); /* no overflow */ in duk_bi_nodejs_buffer_copy()23093 copy_size = (duk_uint_t) target_length - target_ustart; in duk_bi_nodejs_buffer_copy()23098 (unsigned long) copy_size)); in duk_bi_nodejs_buffer_copy()23100 DUK_ASSERT(copy_size >= 1); in duk_bi_nodejs_buffer_copy()23102 DUK_ASSERT(source_ustart + copy_size <= (duk_uint_t) source_length); in duk_bi_nodejs_buffer_copy()23104 DUK_ASSERT(target_ustart + copy_size <= (duk_uint_t) target_length); in duk_bi_nodejs_buffer_copy()[all …]
23303 duk_uint_t copy_size = 0; in duk_bi_nodejs_buffer_copy() local23348 copy_size = source_uend - source_ustart; in duk_bi_nodejs_buffer_copy()23349 if (target_ustart + copy_size > (duk_uint_t) target_length) { in duk_bi_nodejs_buffer_copy()23357 DUK_ASSERT(target_ustart + copy_size >= target_ustart); /* no overflow */ in duk_bi_nodejs_buffer_copy()23358 DUK_ASSERT(target_ustart + copy_size >= copy_size); /* no overflow */ in duk_bi_nodejs_buffer_copy()23359 copy_size = (duk_uint_t) target_length - target_ustart; in duk_bi_nodejs_buffer_copy()23364 (unsigned long) copy_size)); in duk_bi_nodejs_buffer_copy()23366 DUK_ASSERT(copy_size >= 1); in duk_bi_nodejs_buffer_copy()23368 DUK_ASSERT(source_ustart + copy_size <= (duk_uint_t) source_length); in duk_bi_nodejs_buffer_copy()23370 DUK_ASSERT(target_ustart + copy_size <= (duk_uint_t) target_length); in duk_bi_nodejs_buffer_copy()[all …]
23097 duk_uint_t copy_size = 0; in duk_bi_nodejs_buffer_copy() local23142 copy_size = source_uend - source_ustart; in duk_bi_nodejs_buffer_copy()23143 if (target_ustart + copy_size > (duk_uint_t) target_length) { in duk_bi_nodejs_buffer_copy()23151 DUK_ASSERT(target_ustart + copy_size >= target_ustart); /* no overflow */ in duk_bi_nodejs_buffer_copy()23152 DUK_ASSERT(target_ustart + copy_size >= copy_size); /* no overflow */ in duk_bi_nodejs_buffer_copy()23153 copy_size = (duk_uint_t) target_length - target_ustart; in duk_bi_nodejs_buffer_copy()23158 (unsigned long) copy_size)); in duk_bi_nodejs_buffer_copy()23160 DUK_ASSERT(copy_size >= 1); in duk_bi_nodejs_buffer_copy()23162 DUK_ASSERT(source_ustart + copy_size <= (duk_uint_t) source_length); in duk_bi_nodejs_buffer_copy()23164 DUK_ASSERT(target_ustart + copy_size <= (duk_uint_t) target_length); in duk_bi_nodejs_buffer_copy()[all …]
23243 duk_uint_t copy_size = 0; in duk_bi_nodejs_buffer_copy() local23288 copy_size = source_uend - source_ustart; in duk_bi_nodejs_buffer_copy()23289 if (target_ustart + copy_size > (duk_uint_t) target_length) { in duk_bi_nodejs_buffer_copy()23297 DUK_ASSERT(target_ustart + copy_size >= target_ustart); /* no overflow */ in duk_bi_nodejs_buffer_copy()23298 DUK_ASSERT(target_ustart + copy_size >= copy_size); /* no overflow */ in duk_bi_nodejs_buffer_copy()23299 copy_size = (duk_uint_t) target_length - target_ustart; in duk_bi_nodejs_buffer_copy()23304 (unsigned long) copy_size)); in duk_bi_nodejs_buffer_copy()23306 DUK_ASSERT(copy_size >= 1); in duk_bi_nodejs_buffer_copy()23308 DUK_ASSERT(source_ustart + copy_size <= (duk_uint_t) source_length); in duk_bi_nodejs_buffer_copy()23310 DUK_ASSERT(target_ustart + copy_size <= (duk_uint_t) target_length); in duk_bi_nodejs_buffer_copy()[all …]