Searched refs:n_to_copy (Results 1 - 6 of 6) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libunistring-0.9.3/tests/unistr/
H A Dtest-strnlen.h48 size_t n_to_copy = (n <= length ? n : length + 1); local
52 copy = (UNIT *) page_boundary - n_to_copy;
53 for (i = 0; i < n_to_copy; i++)
H A Dtest-stpncpy.h67 size_t n_to_copy = (n <= length ? n : length + 1); local
71 copy = (UNIT *) page_boundary - n_to_copy;
72 for (i = 0; i < n_to_copy; i++)
H A Dtest-strncpy.h67 size_t n_to_copy = (n <= length ? n : length + 1); local
71 copy = (UNIT *) page_boundary - n_to_copy;
72 for (i = 0; i < n_to_copy; i++)
H A Dtest-strncat.h78 size_t n_to_copy = (n <= length ? n : length + 1); local
82 copy = (UNIT *) page_boundary - n_to_copy;
83 for (i = 0; i < n_to_copy; i++)
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libevent-1.4.14b-stable/
H A Dbuffer.c261 unsigned int i, n_to_copy, n_to_drain; local
320 n_to_copy = start_of_eol - data;
323 if ((line = malloc(n_to_copy+1)) == NULL) {
328 memcpy(line, data, n_to_copy);
329 line[n_to_copy] = '\0';
333 *n_read_out = (size_t)n_to_copy;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/transmission/libevent-2.0.20-stable/
H A Dbuffer.c1496 size_t n_to_copy=0, extra_drain=0; local
1508 n_to_copy = it.pos;
1510 if ((line = mm_malloc(n_to_copy+1)) == NULL) {
1515 evbuffer_remove(buffer, line, n_to_copy);
1516 line[n_to_copy] = '\0';
1524 *n_read_out = result ? n_to_copy : 0;

Completed in 90 milliseconds