/third_party/glib/glib/ |
D | gstdio-private.c | 87 gsize to_copy = in_to_copy; in _g_win32_copy_and_maybe_terminate() local 96 if (to_copy == 0) in _g_win32_copy_and_maybe_terminate() 102 if (to_copy >= buf_size) in _g_win32_copy_and_maybe_terminate() 105 to_copy = buf_size; in _g_win32_copy_and_maybe_terminate() 107 else if (to_copy > buf_size - 2) in _g_win32_copy_and_maybe_terminate() 112 memcpy (buf, data, to_copy); in _g_win32_copy_and_maybe_terminate() 119 *alloc_buf = g_malloc (to_copy + extra_bytes); in _g_win32_copy_and_maybe_terminate() 120 memcpy (*alloc_buf, data, to_copy); in _g_win32_copy_and_maybe_terminate() 124 return to_copy; in _g_win32_copy_and_maybe_terminate() 131 if (to_copy >= 2 && buf_in_chars[to_copy - 2] == 0 && in _g_win32_copy_and_maybe_terminate() [all …]
|
D | gstdio.c | 376 gsize to_copy; in _g_win32_readlink_handle_raw() local 414 to_copy = rep_buf->SymbolicLinkReparseBuffer.SubstituteNameLength; in _g_win32_readlink_handle_raw() 420 to_copy = rep_buf->MountPointReparseBuffer.SubstituteNameLength; in _g_win32_readlink_handle_raw() 423 to_copy = 0; in _g_win32_readlink_handle_raw() 425 return _g_win32_copy_and_maybe_terminate (data, to_copy, buf, buf_size, alloc_buf, terminate); in _g_win32_readlink_handle_raw() 459 DWORD to_copy; in _g_win32_readlink_utf16_raw() local 494 to_copy = _g_win32_readlink_handle_raw (h, reparse_tag, buf, buf_size, alloc_buf, terminate); in _g_win32_readlink_utf16_raw() 498 return to_copy; in _g_win32_readlink_utf16_raw()
|
/third_party/python/Python/ |
D | mysnprintf.c | 96 const size_t to_copy = (size_t)len < size ? in PyOS_vsnprintf() local 98 assert(to_copy < size); in PyOS_vsnprintf() 99 memcpy(str, buffer, to_copy); in PyOS_vsnprintf() 100 str[to_copy] = '\0'; in PyOS_vsnprintf()
|
/third_party/flutter/skia/infra/bots/assets/chromebook_arm_gles/ |
D | create.py | 38 to_copy = glob.glob(os.path.join(gl_path,'libGL*')) 39 to_copy.extend(glob.glob(os.path.join(gl_path,'libEGL*'))) 40 to_copy.extend(glob.glob(os.path.join(gl_path,'libmali*'))) 41 for f in to_copy:
|
/third_party/flutter/skia/infra/bots/assets/chromebook_x86_64_gles/ |
D | create.py | 38 to_copy = glob.glob(os.path.join(gl_path,'libGL*')) 39 to_copy.extend(glob.glob(os.path.join(gl_path,'libEGL*'))) 40 to_copy.extend(glob.glob(os.path.join(gl_path,'libdrm*'))) 41 for f in to_copy:
|
/third_party/skia/infra/bots/assets/chromebook_x86_64_gles/ |
D | create.py | 47 to_copy = glob.glob(os.path.join(gl_path,'libGL*')) 48 to_copy.extend(glob.glob(os.path.join(gl_path,'libEGL*'))) 49 to_copy.extend(glob.glob(os.path.join(gl_path,'libdrm*'))) 50 for f in to_copy:
|
/third_party/skia/infra/bots/assets/chromebook_arm_gles/ |
D | create.py | 47 to_copy = glob.glob(os.path.join(gl_path,'libGL*')) 48 to_copy.extend(glob.glob(os.path.join(gl_path,'libEGL*'))) 49 to_copy.extend(glob.glob(os.path.join(gl_path,'libmali*'))) 50 for f in to_copy:
|
/third_party/ffmpeg/libavformat/ |
D | rtpdec_qdm2.c | 158 unsigned int id, len, type, to_copy; in qdm2_parse_subpacket() local 176 to_copy = FFMIN(len + (p - &buf[1]), 0x800 - qdm->len[id]); in qdm2_parse_subpacket() 177 memcpy(&qdm->buf[id][qdm->len[id]], buf + 1, to_copy); in qdm2_parse_subpacket() 178 qdm->len[id] += to_copy; in qdm2_parse_subpacket() 190 int to_copy, n, res, include_csum; in qdm2_restore_block() local 221 to_copy = FFMIN(qdm->len[n], pkt->size - (p - pkt->data)); in qdm2_restore_block() 222 memcpy(p, qdm->buf[n], to_copy); in qdm2_restore_block()
|
D | async.c | 185 int fifo_space, to_copy; in async_buffer_task() local 223 to_copy = FFMIN(4096, fifo_space); in async_buffer_task() 224 ret = ring_generic_write(ring, (void *)h, to_copy, wrapped_url_read); in async_buffer_task() 337 int fifo_size, to_copy; in async_read_internal() local 343 to_copy = FFMIN(to_read, fifo_size); in async_read_internal() 344 if (to_copy > 0) { in async_read_internal() 345 ring_generic_read(ring, dest, to_copy, func); in async_read_internal() 347 dest = (uint8_t *)dest + to_copy; in async_read_internal() 348 c->logical_pos += to_copy; in async_read_internal() 349 to_read -= to_copy; in async_read_internal()
|
/third_party/jerryscript/jerry-core/ecma/builtin-objects/ |
D | ecma-builtin-number-prototype.c | 104 lit_utf8_size_t to_copy = JERRY_MIN (num_digits, to_num_digits); in ecma_builtin_number_prototype_helper_to_string() local 105 to_copy = JERRY_MIN (to_copy, (lit_utf8_size_t) exponent); in ecma_builtin_number_prototype_helper_to_string() 106 memmove (p, digits_p, (size_t) to_copy); in ecma_builtin_number_prototype_helper_to_string() 107 p += to_copy; in ecma_builtin_number_prototype_helper_to_string() 108 to_num_digits -= to_copy; in ecma_builtin_number_prototype_helper_to_string() 109 digits_p += to_copy; in ecma_builtin_number_prototype_helper_to_string() 110 num_digits -= to_copy; in ecma_builtin_number_prototype_helper_to_string() 111 exponent -= (int32_t) to_copy; in ecma_builtin_number_prototype_helper_to_string() 131 lit_utf8_size_t to_copy = JERRY_MIN (num_digits, to_num_digits); in ecma_builtin_number_prototype_helper_to_string() local 132 memmove (p, digits_p, (size_t) to_copy); in ecma_builtin_number_prototype_helper_to_string() [all …]
|
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/ |
D | pool_urbg.cc | 125 size_t to_copy = std::min(bytes, remaining); in Fill() local 126 std::memcpy(out, &state_[next_], to_copy); in Fill() 127 out += to_copy; in Fill() 128 bytes -= to_copy; in Fill() 129 next_ += (to_copy + sizeof(state_[0]) - 1) / sizeof(state_[0]); in Fill()
|
/third_party/abseil-cpp/absl/random/internal/ |
D | pool_urbg.cc | 125 size_t to_copy = std::min(bytes, remaining); in Fill() local 126 std::memcpy(out, &state_[next_], to_copy); in Fill() 127 out += to_copy; in Fill() 128 bytes -= to_copy; in Fill() 129 next_ += (to_copy + sizeof(state_[0]) - 1) / sizeof(state_[0]); in Fill()
|
/third_party/boringssl/src/crypto/ |
D | mem.c | 145 size_t to_copy = new_size; in OPENSSL_realloc() local 146 if (old_size < to_copy) { in OPENSSL_realloc() 147 to_copy = old_size; in OPENSSL_realloc() 150 memcpy(ret, orig_ptr, to_copy); in OPENSSL_realloc()
|
/third_party/node/tools/inspector_protocol/ |
D | roll.py | 125 to_copy = [f for f in src_files 130 print('To copy: %s' % to_copy) 131 if not to_add and not to_delete and not to_copy: 138 for f in to_add + to_copy:
|
/third_party/ltp/testcases/kernel/syscalls/copy_file_range/ |
D | copy_file_range01.c | 103 size_t to_copy = len; in test_one() local 131 off_new_out, to_copy, 0)); in test_one() 138 to_copy -= TST_RET; in test_one() 139 } while (to_copy > 0); in test_one()
|
/third_party/boringssl/src/crypto/curve25519/ |
D | spake25519.c | 530 size_t to_copy = max_out_key_len; in SPAKE2_process_msg() local 531 if (to_copy > sizeof(key)) { in SPAKE2_process_msg() 532 to_copy = sizeof(key); in SPAKE2_process_msg() 534 OPENSSL_memcpy(out_key, key, to_copy); in SPAKE2_process_msg() 535 *out_key_len = to_copy; in SPAKE2_process_msg()
|
/third_party/minimp4/ |
D | minimp4_test.c | 70 size_t to_copy = MINIMP4_MIN(size, buf->size - offset - size); in read_callback() local 71 memcpy(buffer, buf->buffer + offset, to_copy); in read_callback() 72 return to_copy != size; in read_callback()
|
/third_party/curl/lib/ |
D | transfer.c | 137 size_t to_copy = (size*nitems < bytes_left) ? size*nitems : bytes_left; in trailers_read() local 138 if(to_copy) { in trailers_read() 141 to_copy); in trailers_read() 142 data->state.trailers_bytes_sent += to_copy; in trailers_read() 144 return to_copy; in trailers_read()
|
/third_party/node/src/ |
D | node_buffer.cc | 553 uint32_t to_copy = std::min( in Copy() local 557 memmove(target_data + target_start, source.data() + source_start, to_copy); in Copy() 558 args.GetReturnValue().Set(to_copy); in Copy()
|
/third_party/python/Modules/ |
D | _testcapimodule.c | 2001 PyObject *from, *to, *to_copy; in unicode_copycharacters() local 2009 if (!(to_copy = PyUnicode_New(PyUnicode_GET_LENGTH(to), in unicode_copycharacters() 2013 if (PyUnicode_Fill(to_copy, 0, PyUnicode_GET_LENGTH(to_copy), 0U) < 0) { in unicode_copycharacters() 2014 Py_DECREF(to_copy); in unicode_copycharacters() 2018 if ((copied = PyUnicode_CopyCharacters(to_copy, to_start, from, in unicode_copycharacters() 2020 Py_DECREF(to_copy); in unicode_copycharacters() 2024 return Py_BuildValue("(Nn)", to_copy, copied); in unicode_copycharacters()
|
/third_party/boost/libs/beast/test/extern/zlib-1.2.11/contrib/minizip/ |
D | zip.c | 247 unsigned char* to_copy; in add_data_in_datablock() local 263 to_copy = &(ldi->data[ldi->filled_in_this_block]); in add_data_in_datablock() 266 *(to_copy+i)=*(from_copy+i); in add_data_in_datablock()
|
/third_party/boost/tools/boost_install/test/iostreams/zlib-1.2.11/contrib/minizip/ |
D | zip.c | 247 unsigned char* to_copy; in add_data_in_datablock() local 263 to_copy = &(ldi->data[ldi->filled_in_this_block]); in add_data_in_datablock() 266 *(to_copy+i)=*(from_copy+i); in add_data_in_datablock()
|
/third_party/zlib/contrib/minizip/ |
D | zip.c | 247 unsigned char* to_copy; in add_data_in_datablock() local 263 to_copy = &(ldi->data[ldi->filled_in_this_block]); in add_data_in_datablock() 266 *(to_copy+i)=*(from_copy+i); in add_data_in_datablock()
|
/third_party/skia/third_party/externals/zlib/contrib/minizip/ |
D | zip.c | 247 unsigned char* to_copy; in add_data_in_datablock() local 263 to_copy = &(ldi->data[ldi->filled_in_this_block]); in add_data_in_datablock() 266 *(to_copy+i)=*(from_copy+i); in add_data_in_datablock()
|
/third_party/flutter/skia/third_party/externals/zlib/contrib/minizip/ |
D | zip.c | 247 unsigned char* to_copy; in add_data_in_datablock() local 263 to_copy = &(ldi->data[ldi->filled_in_this_block]); in add_data_in_datablock() 266 *(to_copy+i)=*(from_copy+i); in add_data_in_datablock()
|