Searched refs:n_bytes (Results 1 - 25 of 30) sorted by relevance

12

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/transmission/libevent-2.0.20-stable/
H A Devutil_rand.c81 int n_bytes = 4 - (((ev_uintptr_t)b) & 3);
82 memcpy(b, &u, n_bytes);
83 b += n_bytes;
84 n -= n_bytes;
H A Diocp-internal.h177 ev_uintptr_t key, ev_uint32_t n_bytes);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/ieee1394/
H A Ddma.c28 int dma_prog_region_alloc(struct dma_prog_region *prog, unsigned long n_bytes, argument
32 n_bytes = PAGE_ALIGN(n_bytes);
34 prog->n_pages = n_bytes >> PAGE_SHIFT;
36 prog->kvirt = pci_alloc_consistent(dev, n_bytes, &prog->bus_addr);
79 int dma_region_alloc(struct dma_region *dma, unsigned long n_bytes, argument
85 n_bytes = PAGE_ALIGN(n_bytes);
87 dma->n_pages = n_bytes >> PAGE_SHIFT;
89 dma->kvirt = vmalloc_32(n_bytes);
[all...]
H A Ddma.h39 int dma_prog_region_alloc(struct dma_prog_region *prog, unsigned long n_bytes,
71 int dma_region_alloc(struct dma_region *dma, unsigned long n_bytes,
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/dbus-1.6.8/dbus/
H A Ddbus-sysdeps.c507 int n_bytes)
514 n_bytes);
520 while (i < n_bytes)
535 * Fills n_bytes of the given buffer with random bytes.
538 * @param n_bytes the number of bytes in buffer to write to
542 int n_bytes)
548 _dbus_generate_pseudorandom_bytes_buffer (buffer, n_bytes);
552 if (!_dbus_generate_random_bytes (&str, n_bytes))
555 _dbus_generate_pseudorandom_bytes_buffer (buffer, n_bytes);
559 _dbus_string_copy_to_buffer (&str, buffer, n_bytes);
506 _dbus_generate_pseudorandom_bytes_buffer(char *buffer, int n_bytes) argument
541 _dbus_generate_random_bytes_buffer(char *buffer, int n_bytes) argument
573 _dbus_generate_random_ascii(DBusString *str, int n_bytes) argument
[all...]
H A Ddbus-sysdeps.h359 int n_bytes);
361 int n_bytes);
363 int n_bytes);
365 int n_bytes);
H A Ddbus-internals.c569 * @param n_bytes number of bytes to copy
574 size_t n_bytes)
578 copy = dbus_malloc (n_bytes);
582 memcpy (copy, mem, n_bytes);
573 _dbus_memdup(const void *mem, size_t n_bytes) argument
H A Ddbus-string.h107 int n_bytes,
H A Ddbus-sysdeps-unix.c2761 int n_bytes)
2768 if (!_dbus_string_lengthen (str, n_bytes))
2771 p = _dbus_string_get_data_len (str, old_len, n_bytes);
2773 _dbus_generate_pseudorandom_bytes_buffer (p, n_bytes);
2783 * @param n_bytes the number of random bytes to append to string
2788 int n_bytes)
2805 return _dbus_generate_pseudorandom_bytes (str, n_bytes);
2809 if (_dbus_read (fd, str, n_bytes) != n_bytes)
2813 return _dbus_generate_pseudorandom_bytes (str, n_bytes);
2760 _dbus_generate_pseudorandom_bytes(DBusString *str, int n_bytes) argument
2787 _dbus_generate_random_bytes(DBusString *str, int n_bytes) argument
[all...]
H A Ddbus-string.c557 * @param n_bytes number of bytes
564 int n_bytes,
570 _dbus_assert (n_bytes >= 0);
572 if (n_bytes == 0)
575 if (!open_gap (n_bytes, real, i))
578 memset (real->str + i, byte, n_bytes);
562 _dbus_string_insert_bytes(DBusString *str, int i, int n_bytes, unsigned char byte) argument
H A Ddbus-internals.h222 size_t n_bytes);
H A Ddbus-sysdeps-win.c1966 * @param n_bytes the number of random bytes to append to string
1971 int n_bytes)
1979 if (!_dbus_string_lengthen (str, n_bytes))
1982 p = _dbus_string_get_data_len (str, old_len, n_bytes);
1987 if (!CryptGenRandom (hprov, n_bytes, p))
1970 _dbus_generate_random_bytes(DBusString *str, int n_bytes) argument
/netgear-R7000-V1.0.7.12_1.2.5/src/router/busybox-1.x/coreutils/
H A Dod_bloaty.c261 print_s_char(size_t n_bytes, const char *block, const char *fmt_string) argument
263 while (n_bytes--) {
271 print_char(size_t n_bytes, const char *block, const char *fmt_string) argument
273 while (n_bytes--) {
281 print_s_short(size_t n_bytes, const char *block, const char *fmt_string) argument
283 n_bytes /= sizeof(signed short);
284 while (n_bytes--) {
292 print_short(size_t n_bytes, const char *block, const char *fmt_string) argument
294 n_bytes /= sizeof(unsigned short);
295 while (n_bytes
303 print_int(size_t n_bytes, const char *block, const char *fmt_string) argument
317 print_long(size_t n_bytes, const char *block, const char *fmt_string) argument
332 print_long_long(size_t n_bytes, const char *block, const char *fmt_string) argument
344 print_float(size_t n_bytes, const char *block, const char *fmt_string) argument
355 print_double(size_t n_bytes, const char *block, const char *fmt_string) argument
366 print_long_double(size_t n_bytes, const char *block, const char *fmt_string) argument
381 print_named_ascii(size_t n_bytes, const char *block, const char *unused_fmt_string ATTRIBUTE_UNUSED) argument
420 print_ascii(size_t n_bytes, const char *block, const char *unused_fmt_string ATTRIBUTE_UNUSED) argument
870 dump_hexl_mode_trailer(size_t n_bytes, const char *block) argument
893 write_block(off_t current_offset, size_t n_bytes, const char *prev_block, const char *curr_block) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavcodec/
H A Dbmpenc.c70 int n_bytes_image, n_bytes_per_row, n_bytes, i, n, hsize; local
113 n_bytes = n_bytes_image + hsize;
114 if(n_bytes>buf_size) {
115 av_log(avctx, AV_LOG_ERROR, "buf size too small (need %d, got %d)\n", n_bytes, buf_size);
120 bytestream_put_le32(&buf, n_bytes); // BITMAPFILEHEADER.bfSize
154 return n_bytes;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavcodec/
H A Dbmpenc.c74 int n_bytes_image, n_bytes_per_row, n_bytes, i, n, hsize, ret; local
120 n_bytes = n_bytes_image + hsize;
121 if ((ret = ff_alloc_packet2(avctx, pkt, n_bytes)) < 0)
126 bytestream_put_le32(&buf, n_bytes); // BITMAPFILEHEADER.bfSize
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/spi/
H A Ddw_spi.c48 u8 n_bytes; /* current is a 1/2/4 byte op */ member in struct:chip_data
186 u8 n_bytes = dws->n_bytes; local
192 dws->tx += n_bytes;
200 u8 n_bytes = dws->n_bytes; local
205 dws->rx += n_bytes;
375 left = (dws->tx_end - dws->tx) / dws->n_bytes;
468 dws->n_bytes = chip->n_bytes;
[all...]
H A Dspi_bfin5xx.c97 u8 n_bytes; member in struct:driver_data
110 u8 n_bytes; member in struct:chip_data
240 u8 n_bytes = drv_data->n_bytes; local
248 drv_data->tx += n_bytes;
260 u8 n_bytes = drv_data->n_bytes; local
268 drv_data->rx += n_bytes;
684 drv_data->n_bytes = 1;
695 drv_data->n_bytes
[all...]
H A Dpxa2xx_spi.c150 u8 n_bytes; member in struct:driver_data
163 u8 n_bytes; member in struct:chip_data
225 u8 n_bytes = drv_data->n_bytes; local
232 drv_data->tx += n_bytes;
240 u8 n_bytes = drv_data->n_bytes; local
245 drv_data->rx += n_bytes;
950 drv_data->n_bytes = chip->n_bytes;
[all...]
H A Damba-pl022.c393 * @n_bytes: how many bytes(power of 2) reqd for a given data width of client
408 u8 n_bytes; member in struct:chip_data
679 pl022->rx += (pl022->cur_chip->n_bytes);
701 pl022->tx += (pl022->cur_chip->n_bytes);
728 pl022->rx += (pl022->cur_chip->n_bytes);
874 residue = pl022->cur_transfer->len % pl022->cur_chip->n_bytes;
880 pl022->cur_chip->n_bytes);
1598 chip->n_bytes = 1;
1603 chip->n_bytes = 2;
1609 chip->n_bytes
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/staging/lirc/
H A Dlirc_sasem.c77 size_t n_bytes, loff_t *pos);
361 size_t n_bytes, loff_t *pos)
382 if (n_bytes <= 0 || n_bytes > SASEM_DATA_BUF_SZ) {
388 data_buf = memdup_user(buf, n_bytes);
392 memcpy(context->tx.data_buf, data_buf, n_bytes);
395 for (i = n_bytes; i < SASEM_DATA_BUF_SZ; ++i)
449 return (!retval) ? n_bytes : retval;
360 vfd_write(struct file *file, const char *buf, size_t n_bytes, loff_t *pos) argument
H A Dlirc_imon.c67 size_t n_bytes, loff_t *pos);
375 size_t n_bytes, loff_t *pos)
400 if (n_bytes <= 0 || n_bytes > IMON_DATA_BUF_SZ - 3) {
406 data_buf = memdup_user(buf, n_bytes);
412 memcpy(context->tx.data_buf, data_buf, n_bytes);
415 for (i = n_bytes; i < IMON_DATA_BUF_SZ - 3; ++i)
453 return (!retval) ? n_bytes : retval;
374 vfd_write(struct file *file, const char *buf, size_t n_bytes, loff_t *pos) argument
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openvpn-2.3.1/src/openvpn/
H A Dssl_common.h179 counter_type n_bytes; /* how many bytes sent/recvd since last key exchange */ member in struct:key_state
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/media/IR/
H A Dimon.c79 size_t n_bytes, loff_t *pos);
83 size_t n_bytes, loff_t *pos);
804 size_t n_bytes, loff_t *pos)
828 if (n_bytes <= 0 || n_bytes > 32) {
834 if (copy_from_user(ictx->tx.data_buf, buf, n_bytes)) {
840 for (i = n_bytes; i < 32; ++i)
876 return (!retval) ? n_bytes : retval;
893 size_t n_bytes, loff_t *pos)
912 if (n_bytes !
803 vfd_write(struct file *file, const char *buf, size_t n_bytes, loff_t *pos) argument
892 lcd_write(struct file *file, const char *buf, size_t n_bytes, loff_t *pos) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/spi/
H A Ddw_spi.h127 u8 n_bytes; /* current is a 1/2 bytes op */ member in struct:dw_spi
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/usb/class/
H A Dusbtmc.c510 unsigned long int n_bytes; local
558 n_bytes = roundup(12 + this_part, 4);
559 memset(buffer + 12 + this_part, 0, n_bytes - (12 + this_part));
565 buffer, n_bytes,
569 n_bytes -= actual;
570 } while (n_bytes);

Completed in 306 milliseconds

12