Searched refs:nbytes (Results 1 - 25 of 873) sorted by relevance

1234567891011>>

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/include/rts/
H A Dcrc.h46 #define APPEND_CRC8(pbytes, nbytes) \
48 uint8 tmp = crc8(pbytes, nbytes, CRC8_INIT_VALUE) ^ 0xff; \
49 (pbytes)[(nbytes)] = tmp; \
50 (nbytes) += 1; \
53 #define APPEND_CRC16(pbytes, nbytes) \
55 uint16 tmp = crc16(pbytes, nbytes, CRC16_INIT_VALUE) ^ 0xffff; \
56 (pbytes)[(nbytes) + 0] = (tmp >> 0) & 0xff; \
57 (pbytes)[(nbytes) + 1] = (tmp >> 8) & 0xff; \
58 (nbytes) += 2; \
61 #define APPEND_CRC32(pbytes, nbytes) \
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/gdb/gdb/testsuite/gdb.base/
H A Dinterrupt.c9 int nbytes; local
17 nbytes = read (0, &x, 1);
18 if (nbytes < 0)
25 else if (nbytes == 0)
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/gdb/gdb/testsuite/gdb.base/
H A Dinterrupt.c9 int nbytes; local
17 nbytes = read (0, &x, 1);
18 if (nbytes < 0)
25 else if (nbytes == 0)
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/gdb/gdb/testsuite/gdb.base/
H A Dinterrupt.c9 int nbytes; local
17 nbytes = read (0, &x, 1);
18 if (nbytes < 0)
25 else if (nbytes == 0)
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/libgcrypt-1.5.1/random/
H A Drndhw.c46 unsigned int nbytes, status; local
55 nbytes = 0;
56 while (nbytes < 64)
73 nbytes += (status & 0x1f);
88 if (nbytes)
90 (*add) ((void*)buffer, nbytes, origin);
91 wipememory (buffer, nbytes);
93 return nbytes;
127 size_t nbytes = 0; local
134 nbytes
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/libgcrypt-1.5.1/random/
H A Drndhw.c46 unsigned int nbytes, status; local
55 nbytes = 0;
56 while (nbytes < 64)
73 nbytes += (status & 0x1f);
88 if (nbytes)
90 (*add) ((void*)buffer, nbytes, origin);
91 wipememory (buffer, nbytes);
93 return nbytes;
127 size_t nbytes = 0; local
134 nbytes
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/libgcrypt-1.5.1/random/
H A Drndhw.c46 unsigned int nbytes, status; local
55 nbytes = 0;
56 while (nbytes < 64)
73 nbytes += (status & 0x1f);
88 if (nbytes)
90 (*add) ((void*)buffer, nbytes, origin);
91 wipememory (buffer, nbytes);
93 return nbytes;
127 size_t nbytes = 0; local
134 nbytes
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/quagga/lib/
H A Dnetwork.c27 /* Read nbytes from fd and store into ptr. */
29 readn (int fd, u_char *ptr, int nbytes) argument
34 nleft = nbytes;
50 return nbytes - nleft;
53 /* Write nbytes from ptr to fd. */
55 writen(int fd, const u_char *ptr, int nbytes) argument
60 nleft = nbytes;
72 return nbytes - nleft;
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/quagga/lib/
H A Dnetwork.c27 /* Read nbytes from fd and store into ptr. */
29 readn (int fd, u_char *ptr, int nbytes) argument
34 nleft = nbytes;
50 return nbytes - nleft;
53 /* Write nbytes from ptr to fd. */
55 writen(int fd, const u_char *ptr, int nbytes) argument
60 nleft = nbytes;
72 return nbytes - nleft;
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/quagga/lib/
H A Dnetwork.c27 /* Read nbytes from fd and store into ptr. */
29 readn (int fd, u_char *ptr, int nbytes) argument
34 nleft = nbytes;
50 return nbytes - nleft;
53 /* Write nbytes from ptr to fd. */
55 writen(int fd, const u_char *ptr, int nbytes) argument
60 nleft = nbytes;
72 return nbytes - nleft;
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/pci/hotplug/
H A Drpadlpar_sysfs.c33 const char *buf, size_t nbytes)
39 if (nbytes >= MAX_DRC_NAME_LEN)
42 memcpy(drc_name, buf, nbytes);
46 end = &drc_name[nbytes];
53 return nbytes;
64 const char *buf, size_t nbytes)
70 if (nbytes >= MAX_DRC_NAME_LEN)
73 memcpy(drc_name, buf, nbytes);
77 end = &drc_name[nbytes];
84 return nbytes;
32 add_slot_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t nbytes) argument
62 remove_slot_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t nbytes) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/pci/hotplug/
H A Drpadlpar_sysfs.c33 const char *buf, size_t nbytes)
39 if (nbytes >= MAX_DRC_NAME_LEN)
42 memcpy(drc_name, buf, nbytes);
46 end = &drc_name[nbytes];
53 return nbytes;
64 const char *buf, size_t nbytes)
70 if (nbytes >= MAX_DRC_NAME_LEN)
73 memcpy(drc_name, buf, nbytes);
77 end = &drc_name[nbytes];
84 return nbytes;
32 add_slot_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t nbytes) argument
62 remove_slot_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t nbytes) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/db-4.8.30/db/
H A Ddb_dup.c23 __db_ditem_nolog(dbc, pagep, indx, nbytes)
26 u_int32_t indx, nbytes;
53 memmove(from + nbytes, from, inp[indx] - HOFFSET(pagep));
54 HOFFSET(pagep) += nbytes;
60 inp[cnt] += nbytes;
78 __db_ditem(dbc, pagep, indx, nbytes)
81 u_int32_t indx, nbytes;
91 ldbt.size = nbytes;
94 (u_int32_t)indx, nbytes, &ldbt, NULL, &LSN(pagep))) != 0)
99 return (__db_ditem_nolog(dbc, pagep, indx, nbytes));
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/db-4.8.30/db/
H A Ddb_dup.c23 __db_ditem_nolog(dbc, pagep, indx, nbytes)
26 u_int32_t indx, nbytes;
53 memmove(from + nbytes, from, inp[indx] - HOFFSET(pagep));
54 HOFFSET(pagep) += nbytes;
60 inp[cnt] += nbytes;
78 __db_ditem(dbc, pagep, indx, nbytes)
81 u_int32_t indx, nbytes;
91 ldbt.size = nbytes;
94 (u_int32_t)indx, nbytes, &ldbt, NULL, &LSN(pagep))) != 0)
99 return (__db_ditem_nolog(dbc, pagep, indx, nbytes));
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/db-4.8.30/db/
H A Ddb_dup.c23 __db_ditem_nolog(dbc, pagep, indx, nbytes)
26 u_int32_t indx, nbytes;
53 memmove(from + nbytes, from, inp[indx] - HOFFSET(pagep));
54 HOFFSET(pagep) += nbytes;
60 inp[cnt] += nbytes;
78 __db_ditem(dbc, pagep, indx, nbytes)
81 u_int32_t indx, nbytes;
91 ldbt.size = nbytes;
94 (u_int32_t)indx, nbytes, &ldbt, NULL, &LSN(pagep))) != 0)
99 return (__db_ditem_nolog(dbc, pagep, indx, nbytes));
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/staging/rtl8192u/ieee80211/
H A Dscatterwalk.c33 void *scatterwalk_whichbuf(struct scatter_walk *walk, unsigned int nbytes, void *scratch) argument
35 if (nbytes <= walk->len_this_page &&
36 (((unsigned long)walk->data) & (PAGE_CACHE_SIZE - 1)) + nbytes <=
43 static void memcpy_dir(void *buf, void *sgdata, size_t nbytes, int out) argument
46 memcpy(sgdata, buf, nbytes);
48 memcpy(buf, sgdata, nbytes);
106 size_t nbytes, int out)
109 while (nbytes > walk->len_this_page) {
112 nbytes -= walk->len_this_page;
119 memcpy_dir(buf, walk->data, nbytes, ou
105 scatterwalk_copychunks(void *buf, struct scatter_walk *walk, size_t nbytes, int out) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/staging/rtl8192u/ieee80211/
H A Dscatterwalk.c33 void *scatterwalk_whichbuf(struct scatter_walk *walk, unsigned int nbytes, void *scratch) argument
35 if (nbytes <= walk->len_this_page &&
36 (((unsigned long)walk->data) & (PAGE_CACHE_SIZE - 1)) + nbytes <=
43 static void memcpy_dir(void *buf, void *sgdata, size_t nbytes, int out) argument
46 memcpy(sgdata, buf, nbytes);
48 memcpy(buf, sgdata, nbytes);
106 size_t nbytes, int out)
109 while (nbytes > walk->len_this_page) {
112 nbytes -= walk->len_this_page;
119 memcpy_dir(buf, walk->data, nbytes, ou
105 scatterwalk_copychunks(void *buf, struct scatter_walk *walk, size_t nbytes, int out) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/expat-2.0.1/xmlwf/
H A Dreadfilemap.c48 size_t nbytes; local
67 nbytes = sb.st_size;
68 /* malloc will return NULL with nbytes == 0, handle files with size 0 */
69 if (nbytes == 0) {
75 p = malloc(nbytes);
81 n = read(fd, p, nbytes);
88 if (n != nbytes) {
94 processor(p, nbytes, name, arg);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/expat-2.0.1/xmlwf/
H A Dreadfilemap.c48 size_t nbytes; local
67 nbytes = sb.st_size;
68 /* malloc will return NULL with nbytes == 0, handle files with size 0 */
69 if (nbytes == 0) {
75 p = malloc(nbytes);
81 n = read(fd, p, nbytes);
88 if (n != nbytes) {
94 processor(p, nbytes, name, arg);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/expat-2.0.1/xmlwf/
H A Dreadfilemap.c48 size_t nbytes; local
67 nbytes = sb.st_size;
68 /* malloc will return NULL with nbytes == 0, handle files with size 0 */
69 if (nbytes == 0) {
75 p = malloc(nbytes);
81 n = read(fd, p, nbytes);
88 if (n != nbytes) {
94 processor(p, nbytes, name, arg);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.5.8/source4/heimdal/lib/roken/
H A Dnet_read.c47 net_read (int fd, void *buf, size_t nbytes) argument
51 size_t rem = nbytes;
70 return nbytes;
H A Dnet_write.c47 net_write (int fd, const void *buf, size_t nbytes) argument
51 size_t rem = nbytes;
68 return nbytes;
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.5.8/source4/heimdal/lib/roken/
H A Dnet_read.c47 net_read (int fd, void *buf, size_t nbytes) argument
51 size_t rem = nbytes;
70 return nbytes;
H A Dnet_write.c47 net_write (int fd, const void *buf, size_t nbytes) argument
51 size_t rem = nbytes;
68 return nbytes;
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.5.8/source4/heimdal/lib/roken/
H A Dnet_read.c47 net_read (int fd, void *buf, size_t nbytes) argument
51 size_t rem = nbytes;
70 return nbytes;

Completed in 181 milliseconds

1234567891011>>