/external/adhd/cras/src/libcras/ |
D | cras_helpers.c | 30 int to_copy = data->len - data->offset; in play_buffer_callback() local 32 if (to_copy <= 0) { in play_buffer_callback() 37 to_copy = MIN(to_copy, frames * data->frame_bytes); in play_buffer_callback() 39 memcpy(playback_samples, data->buffer + data->offset, to_copy); in play_buffer_callback() 41 data->offset += to_copy; in play_buffer_callback() 43 return to_copy / data->frame_bytes; in play_buffer_callback()
|
/external/python/cpython2/Python/ |
D | mysnprintf.c | 92 const size_t to_copy = (size_t)len < size ? in PyOS_vsnprintf() local 94 assert(to_copy < size); in PyOS_vsnprintf() 95 memcpy(str, buffer, to_copy); in PyOS_vsnprintf() 96 str[to_copy] = '\0'; in PyOS_vsnprintf()
|
/external/python/cpython3/Python/ |
D | mysnprintf.c | 91 const size_t to_copy = (size_t)len < size ? in PyOS_vsnprintf() local 93 assert(to_copy < size); in PyOS_vsnprintf() 94 memcpy(str, buffer, to_copy); in PyOS_vsnprintf() 95 str[to_copy] = '\0'; in PyOS_vsnprintf()
|
/external/skqp/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:
|
/external/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:
|
/external/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:
|
/external/skqp/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:
|
/external/boringssl/src/crypto/ |
D | mem.c | 142 size_t to_copy = new_size; in OPENSSL_realloc() local 143 if (old_size < to_copy) { in OPENSSL_realloc() 144 to_copy = old_size; in OPENSSL_realloc() 147 memcpy(ret, orig_ptr, to_copy); in OPENSSL_realloc()
|
/external/ltp/testcases/kernel/syscalls/copy_file_range/ |
D | copy_file_range01.c | 145 size_t to_copy = len; in test_one() local 178 off_out, to_copy, 0)); in test_one() 186 to_copy -= TST_RET; in test_one() 187 } while (to_copy > 0); in test_one()
|
/external/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()
|
/external/tensorflow/tensorflow/lite/java/src/main/native/ |
D | tensor_jni.cc | 96 size_t to_copy = num_elements * ElementByteSize(type); in WriteOneDimensionalArray() local 97 if (to_copy > dst_size) { in WriteOneDimensionalArray() 101 to_copy, dst_size); in WriteOneDimensionalArray() 109 return to_copy; in WriteOneDimensionalArray() 115 return to_copy; in WriteOneDimensionalArray() 121 return to_copy; in WriteOneDimensionalArray() 127 return to_copy; in WriteOneDimensionalArray()
|
/external/elfutils/src/ |
D | ar.c | 915 struct armem *to_copy = NULL; in do_oper_delete() local 972 if (to_copy == NULL) in do_oper_delete() 973 to_copy = newp->next = newp; in do_oper_delete() 976 newp->next = to_copy->next; in do_oper_delete() 977 to_copy = to_copy->next = newp; in do_oper_delete() 1021 if (likely (to_copy != NULL)) in do_oper_delete() 1037 struct armem *last = to_copy; in do_oper_delete() 1038 to_copy = to_copy->next; in do_oper_delete() 1045 if (write_member (to_copy, &start, &len, elf, cur_off, newfd) != 0) in do_oper_delete() 1047 while ((to_copy = to_copy->next) != NULL); in do_oper_delete()
|
/external/tensorflow/tensorflow/java/src/main/native/ |
D | tensor_jni.cc | 123 size_t to_copy = nelems * elemByteSize(dtype); \ in write1DArray() 124 if (to_copy > dst_size) { \ in write1DArray() 128 to_copy, dst_size); \ in write1DArray() 129 to_copy = 0; \ in write1DArray() 131 memcpy(dst, values, to_copy); \ in write1DArray() 134 return to_copy; \ in write1DArray()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | adjust_contrast_op.cc | 359 int64 to_copy = std::min({copied, image_size - copied, kMaxToCopy}); in BroadcastAcrossImage() local 361 to_copy * channels * sizeof(float)); in BroadcastAcrossImage() 362 copied += to_copy; in BroadcastAcrossImage()
|
/external/curl/lib/ |
D | transfer.c | 131 size_t to_copy = (size*nitems < bytes_left) ? size*nitems : bytes_left; in Curl_trailers_read() local 132 if(to_copy) { in Curl_trailers_read() 135 to_copy); in Curl_trailers_read() 136 data->state.trailers_bytes_sent += to_copy; in Curl_trailers_read() 138 return to_copy; in Curl_trailers_read()
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | copy_insertion.cc | 150 HloInstruction* to_copy = to_copy_tree.element(index); in DeepCopyAndAddControlEdges() local 152 TF_RET_CHECK(to_copy == nullptr); in DeepCopyAndAddControlEdges() 155 TF_RET_CHECK(to_copy != nullptr); in DeepCopyAndAddControlEdges() 156 TF_RETURN_IF_ERROR(from_copy->AddControlDependencyTo(to_copy)); in DeepCopyAndAddControlEdges()
|
/external/v8/src/torque/ |
D | implementation-visitor.h | 184 VisitResult GenerateCopy(const VisitResult& to_copy);
|
D | implementation-visitor.cc | 1334 VisitResult ImplementationVisitor::GenerateCopy(const VisitResult& to_copy) { in GenerateCopy() argument 1335 std::string temp = GenerateNewTempVariable(to_copy.type()); in GenerateCopy() 1336 source_out() << RValueFlattenStructs(to_copy) << ";\n"; in GenerateCopy() 1339 return VisitResult(to_copy.type(), temp); in GenerateCopy()
|
/external/python/cpython3/Modules/ |
D | _testcapimodule.c | 1919 PyObject *from, *to, *to_copy; in unicode_copycharacters() local 1927 if (!(to_copy = PyUnicode_New(PyUnicode_GET_LENGTH(to), in unicode_copycharacters() 1931 if (PyUnicode_Fill(to_copy, 0, PyUnicode_GET_LENGTH(to_copy), 0U) < 0) { in unicode_copycharacters() 1932 Py_DECREF(to_copy); in unicode_copycharacters() 1936 if ((copied = PyUnicode_CopyCharacters(to_copy, to_start, from, in unicode_copycharacters() 1938 Py_DECREF(to_copy); in unicode_copycharacters() 1942 return Py_BuildValue("(Nn)", to_copy, copied); in unicode_copycharacters()
|
/external/zlib/src/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()
|