Home
last modified time | relevance | path

Searched refs:to_copy (Results 1 - 25 of 26) sorted by relevance

12

/third_party/jerryscript/jerry-core/ecma/builtin-objects/
H A 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 in ecma_builtin_number_prototype_helper_to_string() local
[all...]
/third_party/ffmpeg/libavformat/
H A Drtpdec_qdm2.c157 unsigned int id, len, type, to_copy; in qdm2_parse_subpacket() local
175 to_copy = FFMIN(len + (p - &buf[1]), 0x800 - qdm->len[id]); in qdm2_parse_subpacket()
176 memcpy(&qdm->buf[id][qdm->len[id]], buf + 1, to_copy); in qdm2_parse_subpacket()
177 qdm->len[id] += to_copy; in qdm2_parse_subpacket()
189 int to_copy, n, res, include_csum; in qdm2_restore_block() local
220 to_copy = FFMIN(qdm->len[n], pkt->size - (p - pkt->data)); in qdm2_restore_block()
221 memcpy(p, qdm->buf[n], to_copy); in qdm2_restore_block()
H A Dasync.c193 int fifo_space, to_copy; in async_buffer_task() local
231 to_copy = FFMIN(4096, fifo_space); in async_buffer_task()
232 ret = ring_write(ring, h, to_copy); in async_buffer_task()
349 int fifo_size, to_copy; in async_read_internal() local
355 to_copy = FFMIN(to_read, fifo_size); in async_read_internal()
356 if (to_copy > 0) { in async_read_internal()
357 ring_read(ring, dest, to_copy); in async_read_internal()
359 dest = (uint8_t *)dest + to_copy; in async_read_internal()
360 c->logical_pos += to_copy; in async_read_internal()
361 to_read -= to_copy; in async_read_internal()
[all...]
/third_party/skia/infra/bots/assets/chromebook_x86_64_gles/
H A 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/
H A 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/
H A 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/
H A 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/deps/v8/third_party/inspector_protocol/
H A 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/node/tools/inspector_protocol/
H A 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/
H A 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/elfutils/src/
H A 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 in do_oper_delete()
[all...]
/third_party/mesa3d/src/util/perf/
H A 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/
H A 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/
H A 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/
H A Dscan.c3283 const u8 *to_copy; in wpas_mac_addr_rand_scan_get_mask() local
3289 to_copy = wpa_s->mac_addr_scan; in wpas_mac_addr_rand_scan_get_mask()
3291 to_copy = wpa_s->mac_addr_sched_scan; in wpas_mac_addr_rand_scan_get_mask()
3293 to_copy = wpa_s->mac_addr_pno; in wpas_mac_addr_rand_scan_get_mask()
3301 os_memcpy(mask, to_copy + ETH_ALEN, ETH_ALEN); in wpas_mac_addr_rand_scan_get_mask()
/third_party/node/deps/v8/third_party/zlib/contrib/minizip/
H A 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/src/
H A 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/skia/third_party/externals/zlib/contrib/minizip/
H A 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/zlib/contrib/minizip/
H A Dzip.c245 unsigned char* to_copy; in add_data_in_datablock() local
265 to_copy = &(ldi->data[ldi->filled_in_this_block]); in add_data_in_datablock()
268 *(to_copy+i) = *(from_copy+i); in add_data_in_datablock()
/third_party/node/tools/gyp/pylib/gyp/generator/
H A 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/
H A 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/python/Modules/
H A D_testcapimodule.c2334 PyObject *from, *to, *to_copy; in unicode_copycharacters() local
2342 if (!(to_copy = PyUnicode_New(PyUnicode_GET_LENGTH(to), in unicode_copycharacters()
2346 if (PyUnicode_Fill(to_copy, 0, PyUnicode_GET_LENGTH(to_copy), 0U) < 0) { in unicode_copycharacters()
2347 Py_DECREF(to_copy); in unicode_copycharacters()
2351 if ((copied = PyUnicode_CopyCharacters(to_copy, to_start, from, in unicode_copycharacters()
2353 Py_DECREF(to_copy); in unicode_copycharacters()
2357 return Py_BuildValue("(Nn)", to_copy, copied); in unicode_copycharacters()
/third_party/node/deps/v8/src/torque/
H A 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()
H A Dimplementation-visitor.h719 VisitResult GenerateCopy(const VisitResult& to_copy);
/third_party/python/Python/
H A Dcompile.c9072 basicblock *to_copy = last->i_target; in extend_block() local
9073 if (basicblock_has_lineno(to_copy)) { in extend_block()
9078 for (int i = 0; i < to_copy->b_iused; i++) { in extend_block()
9083 bb->b_instr[index] = to_copy->b_instr[i]; in extend_block()

Completed in 61 milliseconds

12