Home
last modified time | relevance | path

Searched refs:to_copy (Results 1 – 25 of 28) sorted by relevance

12

/third_party/jerryscript/jerry-core/ecma/builtin-objects/
Decma-builtin-number-prototype.c104 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/ffmpeg/libavformat/
Drtpdec_qdm2.c158 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()
Dasync.c185 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()
341 int fifo_size, to_copy; in async_read_internal() local
347 to_copy = FFMIN(to_read, fifo_size); in async_read_internal()
348 if (to_copy > 0) { in async_read_internal()
349 ring_generic_read(ring, dest, to_copy, func); in async_read_internal()
351 dest = (uint8_t *)dest + to_copy; in async_read_internal()
352 c->logical_pos += to_copy; in async_read_internal()
353 to_read -= to_copy; in async_read_internal()
/third_party/skia/infra/bots/assets/chromebook_x86_64_gles/
Dcreate.py47 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/
Dcreate.py47 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/libfuse/example/
Dinvalidate_path.c141 int to_copy = offset + size <= file_length in xmp_read() local
144 memcpy(buf, time_file_contents, to_copy); in xmp_read()
145 return to_copy; in xmp_read()
148 int to_copy = offset + size <= grow_file_size in xmp_read() local
151 memset(buf, 'x', to_copy); in xmp_read()
152 return to_copy; in xmp_read()
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/
Dpool_urbg.cc125 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/node/tools/inspector_protocol/
Droll.py125 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/
Dcopy_file_range01.c103 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/node/deps/v8/third_party/inspector_protocol/
Droll.py157 to_copy = [f for f in src_files
162 print('To copy: %s' % to_copy)
163 if not to_add and not to_delete and not to_copy:
170 for f in to_add + to_copy:
/third_party/elfutils/src/
Dar.c917 struct armem *to_copy = NULL; in do_oper_delete() local
973 if (to_copy == NULL) in do_oper_delete()
974 to_copy = newp->next = newp; in do_oper_delete()
977 newp->next = to_copy->next; in do_oper_delete()
978 to_copy = to_copy->next = newp; in do_oper_delete()
1022 if (likely (to_copy != NULL)) in do_oper_delete()
1038 struct armem *last = to_copy; in do_oper_delete()
1039 to_copy = to_copy->next; in do_oper_delete()
1046 if (write_member (to_copy, &start, &len, elf, cur_off, newfd) != 0) in do_oper_delete()
1048 while ((to_copy = to_copy->next) != NULL); in do_oper_delete()
/third_party/gstreamer/gstplugins_bad/sys/mediafoundation/
Dgstmfvideobuffer.cpp534 gint to_copy = 0; in ContiguousCopyFromUnlocked() local
537 to_copy = width; in ContiguousCopyFromUnlocked()
539 to_copy = (gint) src_buffer_length - offset; in ContiguousCopyFromUnlocked()
541 if (to_copy <= 0) in ContiguousCopyFromUnlocked()
544 memcpy (dst, src_buffer + offset, to_copy); in ContiguousCopyFromUnlocked()
/third_party/mesa3d/src/util/perf/
Du_trace.c687 unsigned to_copy = MIN2(TRACES_PER_CHUNK - to_chunk->num_traces, in u_trace_clone_append() local
690 to_copy = MIN2(to_copy, end_it.event_idx - from_idx); in u_trace_clone_append()
695 to_copy); in u_trace_clone_append()
699 to_copy * sizeof(struct u_trace_event)); in u_trace_clone_append()
712 to_chunk->num_traces += to_copy; in u_trace_clone_append()
713 from_idx += to_copy; in u_trace_clone_append()
/third_party/node/deps/v8/src/bigint/
Ddiv-barrett.cc332 int to_copy = std::min(qi_len, target.len()); in DivideBarrett() local
333 for (int j = 0; j < to_copy; j++) target[j] = Qi[j]; in DivideBarrett()
334 for (int j = to_copy; j < target.len(); j++) target[j] = 0; in DivideBarrett()
336 for (int j = to_copy; j < Qi.len(); j++) { in DivideBarrett()
/third_party/curl/lib/
Dtransfer.c139 size_t to_copy = (size*nitems < bytes_left) ? size*nitems : bytes_left; in trailers_read() local
140 if(to_copy) { in trailers_read()
143 to_copy); in trailers_read()
144 data->state.trailers_bytes_sent += to_copy; in trailers_read()
146 return to_copy; in trailers_read()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dscan.c3248 const u8 *to_copy; in wpas_mac_addr_rand_scan_get_mask() local
3254 to_copy = wpa_s->mac_addr_scan; in wpas_mac_addr_rand_scan_get_mask()
3256 to_copy = wpa_s->mac_addr_sched_scan; in wpas_mac_addr_rand_scan_get_mask()
3258 to_copy = wpa_s->mac_addr_pno; in wpas_mac_addr_rand_scan_get_mask()
3266 os_memcpy(mask, to_copy + ETH_ALEN, ETH_ALEN); in wpas_mac_addr_rand_scan_get_mask()
/third_party/node/src/
Dnode_buffer.cc654 uint32_t to_copy = std::min( in Copy() local
658 memmove(target_data + target_start, source.data() + source_start, to_copy); in Copy()
659 args.GetReturnValue().Set(to_copy); in Copy()
/third_party/python/Modules/
D_testcapimodule.c2139 PyObject *from, *to, *to_copy; in unicode_copycharacters() local
2147 if (!(to_copy = PyUnicode_New(PyUnicode_GET_LENGTH(to), in unicode_copycharacters()
2151 if (PyUnicode_Fill(to_copy, 0, PyUnicode_GET_LENGTH(to_copy), 0U) < 0) { in unicode_copycharacters()
2152 Py_DECREF(to_copy); in unicode_copycharacters()
2156 if ((copied = PyUnicode_CopyCharacters(to_copy, to_start, from, in unicode_copycharacters()
2158 Py_DECREF(to_copy); in unicode_copycharacters()
2162 return Py_BuildValue("(Nn)", to_copy, copied); in unicode_copycharacters()
/third_party/zlib/contrib/minizip/
Dzip.c247 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/node/deps/v8/third_party/zlib/contrib/minizip/
Dzip.c247 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/
Dzip.c247 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/node/tools/gyp/pylib/gyp/generator/
Dninja.py838 for to_copy in copies:
839 for path in to_copy["files"]:
845 os.path.join(to_copy["destination"], basename), env
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/
Dninja.py838 for to_copy in copies:
839 for path in to_copy["files"]:
845 os.path.join(to_copy["destination"], basename), env
/third_party/node/deps/v8/src/torque/
Dimplementation-visitor.cc2142 VisitResult ImplementationVisitor::GenerateCopy(const VisitResult& to_copy) { in GenerateCopy() argument
2143 if (to_copy.IsOnStack()) { in GenerateCopy()
2144 return VisitResult(to_copy.type(), in GenerateCopy()
2145 assembler().Peek(to_copy.stack_range(), to_copy.type())); in GenerateCopy()
2147 return to_copy; in GenerateCopy()
Dimplementation-visitor.h719 VisitResult GenerateCopy(const VisitResult& to_copy);

12