Home
last modified time | relevance | path

Searched refs:copy_len (Results 1 – 13 of 13) sorted by relevance

/netbsd/external/mpl/dhcp/dist/omapip/
H A Dbuffer.c277 unsigned copy_len; in omapi_connection_copyin() local
314 copy_len = sizeof (buffer -> buf) - buffer -> tail; in omapi_connection_copyin()
316 copy_len = buffer -> head - buffer -> tail; in omapi_connection_copyin()
318 if (copy_len > (len - bytes_copied)) in omapi_connection_copyin()
319 copy_len = len - bytes_copied; in omapi_connection_copyin()
326 &bufp [bytes_copied], copy_len, in omapi_connection_copyin()
333 &bufp [bytes_copied], copy_len); in omapi_connection_copyin()
334 buffer -> tail += copy_len; in omapi_connection_copyin()
335 c -> out_bytes += copy_len; in omapi_connection_copyin()
336 bytes_copied += copy_len; in omapi_connection_copyin()
/netbsd/external/bsd/nsd/dist/
H A Dixfr.c335 copy_len = 1; in ixfr_write_rr_pkt()
338 copy_len = 2; in ixfr_write_rr_pkt()
341 copy_len = 4; in ixfr_write_rr_pkt()
349 copy_len = 1; in ixfr_write_rr_pkt()
354 copy_len = 4; in ixfr_write_rr_pkt()
357 copy_len = 16; in ixfr_write_rr_pkt()
360 copy_len = 8; in ixfr_write_rr_pkt()
376 copy_len += (rr[copy_len-1]&APL_LENGTH_MASK); in ixfr_write_rr_pkt()
382 copy_len = 4; in ixfr_write_rr_pkt()
390 if(copy_len) { in ixfr_write_rr_pkt()
[all …]
/netbsd/crypto/external/bsd/openssl.old/dist/crypto/kdf/
H A Dhkdf.c318 size_t copy_len; in HKDF_Expand() local
338 copy_len = (done_len + dig_len > okm_len) ? in HKDF_Expand()
342 memcpy(okm + done_len, prev, copy_len); in HKDF_Expand()
344 done_len += copy_len; in HKDF_Expand()
/netbsd/external/gpl3/gdb/dist/gdbserver/
H A Dmem-break.cc1926 int copy_offset, copy_len, buf_offset; in check_mem_read() local
1944 copy_len = end - start; in check_mem_read()
1951 copy_len); in check_mem_read()
1958 int copy_offset, copy_len, buf_offset; in check_mem_read() local
1979 copy_len = end - start; in check_mem_read()
2012 int copy_offset, copy_len, buf_offset; in check_mem_write() local
2032 copy_len = end - start; in check_mem_write()
2037 myaddr + buf_offset, copy_len); in check_mem_write()
2040 fast_tracepoint_jump_insn (jp) + copy_offset, copy_len); in check_mem_write()
2047 int copy_offset, copy_len, buf_offset; in check_mem_write() local
[all …]
/netbsd/external/gpl3/gdb.old/dist/gdbserver/
H A Dmem-break.cc1926 int copy_offset, copy_len, buf_offset; in check_mem_read() local
1944 copy_len = end - start; in check_mem_read()
1951 copy_len); in check_mem_read()
1958 int copy_offset, copy_len, buf_offset; in check_mem_read() local
1979 copy_len = end - start; in check_mem_read()
2012 int copy_offset, copy_len, buf_offset; in check_mem_write() local
2032 copy_len = end - start; in check_mem_write()
2037 myaddr + buf_offset, copy_len); in check_mem_write()
2040 fast_tracepoint_jump_insn (jp) + copy_offset, copy_len); in check_mem_write()
2047 int copy_offset, copy_len, buf_offset; in check_mem_write() local
[all …]
/netbsd/external/bsd/wpa/dist/src/utils/
H A Dos_unix.c718 size_t copy_len; in os_realloc() local
735 copy_len = a->len; in os_realloc()
736 if (copy_len > size) in os_realloc()
737 copy_len = size; in os_realloc()
738 os_memcpy(n, a + 1, copy_len); in os_realloc()
/netbsd/external/bsd/wpa/dist/src/eap_common/
H A Deap_teap_common.c198 size_t copy_len = msk_len; in eap_teap_derive_imck() local
201 if (copy_len > 32) in eap_teap_derive_imck()
202 copy_len = 32; in eap_teap_derive_imck()
203 os_memcpy(imsk, msk, copy_len); in eap_teap_derive_imck()
/netbsd/external/bsd/libarchive/dist/libarchive/
H A Darchive_read_support_format_lha.c84 int copy_len; member
2269 int copy_len = ds->copy_len, copy_pos = ds->copy_pos; in lzh_decode_blocks() local
2335 copy_len = c - (UCHAR_MAX + 1) + MINMATCH; in lzh_decode_blocks()
2344 ds->copy_len = copy_len; in lzh_decode_blocks()
2367 ds->copy_len = copy_len; in lzh_decode_blocks()
2387 l = copy_len; in lzh_decode_blocks()
2418 if (copy_len <= l) in lzh_decode_blocks()
2422 ds->copy_len = copy_len - l; in lzh_decode_blocks()
2428 if (copy_len <= l) in lzh_decode_blocks()
2431 copy_len -= l; in lzh_decode_blocks()
H A Darchive_read_support_format_cab.c69 int copy_len; member
2758 int c, copy_len = ds->copy_len, copy_pos = ds->copy_pos; in lzx_decode_blocks() local
2777 ds->copy_len = copy_len; in lzx_decode_blocks()
2852 copy_len = c + 7 + 2; in lzx_decode_blocks()
2854 copy_len = length_header + 2; in lzx_decode_blocks()
2855 if ((size_t)copy_len > block_bytes_avail) in lzx_decode_blocks()
2957 l = copy_len; in lzx_decode_blocks()
2984 if (copy_len <= l) in lzx_decode_blocks()
2987 copy_len -= l; in lzx_decode_blocks()
3003 ds->copy_len = copy_len; in lzx_decode_blocks()
/netbsd/external/mpl/dhcp/dist/common/
H A Dalloc.c1281 unsigned int copy_len = 0; in data_string_new() local
1299 copy_len = (len > 0 && src[len - 1] == 0) ? len - 1 : len; in data_string_new()
1302 if (!buffer_allocate(&(new_string->buffer), copy_len + 1, MDL)) { in data_string_new()
1308 if (copy_len > 0) { in data_string_new()
1309 memcpy(new_string->buffer->data, src, copy_len); in data_string_new()
1313 new_string->buffer->data[copy_len] = 0; in data_string_new()
1318 new_string->len = copy_len; in data_string_new()
/netbsd/crypto/external/bsd/openssl/dist/providers/implementations/kdfs/
H A Dhkdf.c536 size_t copy_len; in HKDF_Expand() local
557 copy_len = (dig_len > okm_len - done_len) ? in HKDF_Expand()
561 memcpy(okm + done_len, prev, copy_len); in HKDF_Expand()
563 done_len += copy_len; in HKDF_Expand()
/netbsd/sys/external/bsd/drm2/dist/drm/i915/gvt/
H A Dcmd_parser.c1701 unsigned long copy_len, offset; in copy_gma_to_hva() local
1714 copy_len = (end_gma - gma) >= (I915_GTT_PAGE_SIZE - offset) ? in copy_gma_to_hva()
1717 intel_gvt_hypervisor_read_gpa(vgpu, gpa, va + len, copy_len); in copy_gma_to_hva()
1719 len += copy_len; in copy_gma_to_hva()
1720 gma += copy_len; in copy_gma_to_hva()
/netbsd/external/mpl/dhcp/dist/client/
H A Ddhc6.c1717 int start_idx, copy_len; in dhc6_create_iaid() local
1732 copy_len = 4; in dhc6_create_iaid()
1735 copy_len = client->interface->hw_address.hlen; in dhc6_create_iaid()
1739 copy_len); in dhc6_create_iaid()