Searched refs:buf (Results 1 - 25 of 2374) sorted by relevance

1234567891011>>

/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/ppc/xmon/
H A Dsetjmp.c11 xmon_setjmp(long *buf) argument
17 : : "r" (buf));
22 xmon_longjmp(long *buf, int val) argument
30 : : "r" (buf), "r" (val));
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/ppc64/xmon/
H A Dsetjmp.c13 xmon_setjmp(long *buf) /* NOTE: assert(sizeof(buf) > 184) */ argument
39 " : : "r" (buf));
44 xmon_longjmp(long *buf, int val) argument
75 " : : "r" (buf), "r" (val));
/asus-wl-520gu-7.0.1.45/src/router/www/asus/
H A Dstrip.c6 char buf[1024], *ptr; local
13 while(fgets(buf, sizeof(buf), fp))
15 if (buf[0]=='\r' || buf[0]=='\n')
18 if(strstr(buf, "meta") && strstr(buf, "charset"))
24 for(i=strlen(buf)-1;i>=0;i--)
26 if (buf[i]=='\r'||buf[
[all...]
/asus-wl-520gu-7.0.1.45/src/router/rp-l2tp/
H A Dauth.c30 * buf -- buffer in which to place 16-byte response
41 unsigned char buf[16])
50 MD5Final(buf, &ctx);
52 buf[0], buf[1], buf[2], buf[3], buf[4], buf[5], buf[
37 l2tp_auth_gen_response(uint16_t msg_type, char const *secret, unsigned char const *challenge, size_t chal_len, unsigned char buf[16]) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/router/samba/source/include/
H A Dbyteorder.h57 #define CVAL(buf,pos) (((unsigned char *)(buf))[pos])
58 #define PVAL(buf,pos) ((unsigned)CVAL(buf,pos))
59 #define SVAL(buf,pos) (PVAL(buf,pos)|PVAL(buf,(pos)+1)<<8)
74 SVAL(buf,pos) - extract a 2 byte SMB value
75 IVAL(buf,pos) - extract a 4 byte SMB value
76 SVALS(buf,po
[all...]
/asus-wl-520gu-7.0.1.45/src/router/pppd/pppd/plugins/radius/radiusclient/lib/
H A Dstrerror.c32 static char buf[32]; local
37 sprintf(buf, "unknown error: %d", errno);
38 return buf;
/asus-wl-520gu-7.0.1.45/src/router/pppd.mppe/pppd/plugins/radius/radiusclient/lib/
H A Dstrerror.c32 static char buf[32]; local
37 sprintf(buf, "unknown error: %d", errno);
38 return buf;
/asus-wl-520gu-7.0.1.45/src/router/busybox/libbb/
H A Dxreadlink.c20 char *buf = NULL; local
24 buf = xrealloc(buf, bufsize += GROWBY);
25 readsize = readlink(path, buf, bufsize); /* 1st try */
33 buf[readsize] = '\0';
35 return buf;
H A Dtime_string.c43 static char buf[26]; local
49 strcpy(buf, &str[4]);
50 buf[12] = '\0';
53 strcpy(&buf[7], &str[20]);
54 buf[11] = '\0';
57 return buf;
/asus-wl-520gu-7.0.1.45/src/router/dproxy/
H A Ddns_decode.h7 * This function assumes that buf points to an encoded name.
11 void dns_decode_name(char *name, char **buf);
13 * Decodes the raw packet in buf to create a rr. Assumes buf points to the
17 * RETURNS: the amount that buf should be incremented
19 void dns_decode_rr(struct dns_rr *rr, char **buf,int is_question,char *header);
22 * A raw packet pointed to by buf is decoded in the assumed to be alloced
26 int dns_decode_message(struct dns_message *m, char **buf);
/asus-wl-520gu-7.0.1.45/src/router/rc/
H A Ddns_decode.h7 * This function assumes that buf points to an encoded name.
11 void dns_decode_name(char *name, char **buf);
13 * Decodes the raw packet in buf to create a rr. Assumes buf points to the
17 * RETURNS: the amount that buf should be incremented
19 void dns_decode_rr(struct dns_rr *rr, char **buf,int is_question,char *header);
22 * A raw packet pointed to by buf is decoded in the assumed to be alloced
26 int dns_decode_message(struct dns_message *m, char **buf);
/asus-wl-520gu-7.0.1.45/src/router/rc.orig/
H A Ddns_decode.h7 * This function assumes that buf points to an encoded name.
11 void dns_decode_name(char *name, char **buf);
13 * Decodes the raw packet in buf to create a rr. Assumes buf points to the
17 * RETURNS: the amount that buf should be incremented
19 void dns_decode_rr(struct dns_rr *rr, char **buf,int is_question,char *header);
22 * A raw packet pointed to by buf is decoded in the assumed to be alloced
26 int dns_decode_message(struct dns_message *m, char **buf);
/asus-wl-520gu-7.0.1.45/src/router/samba/source/libsmb/
H A Dclioplock.c31 pstring buf; local
34 cli->outbuf = buf;
36 memset(buf,'\0',smb_size);
37 set_message(buf,8,0,True);
39 SCVAL(buf,smb_com,SMBlockingX);
40 SSVAL(buf,smb_tid, cli->cnum);
42 SSVAL(buf,smb_vwv0,0xFF);
43 SSVAL(buf,smb_vwv1,0);
44 SSVAL(buf,smb_vwv2,fnum);
46 SSVAL(buf,smb_vwv
[all...]
/asus-wl-520gu-7.0.1.45/src/router/samba/source/smbwrapper/
H A Drealcalls.c25 int real_utime(const char *name, struct utimbuf *buf) argument
29 tv[0].tv_sec = buf->actime;
31 tv[1].tv_sec = buf->modtime;
41 struct utimbuf buf; local
43 buf.actime = tv[0].tv_sec;
44 buf.modtime = tv[1].tv_sec;
46 return real_utime(name, &buf);
/asus-wl-520gu-7.0.1.45/src/cfe/cfe/zlib/
H A Dadler32.c14 #define DO1(buf,i) {s1 += buf[i]; s2 += s1;}
15 #define DO2(buf,i) DO1(buf,i); DO1(buf,i+1);
16 #define DO4(buf,i) DO2(buf,i); DO2(buf,i+2);
17 #define DO8(buf,i) DO4(buf,
[all...]
/asus-wl-520gu-7.0.1.45/src/router/busybox/
H A Dpwd.c35 static char *buf; local
37 buf = xgetcwd(buf);
39 if (buf != NULL) {
40 puts(buf);
H A Dreadlink.c32 char *buf = NULL; local
39 buf = xreadlink(argv[1]);
40 if (!buf)
42 puts(buf);
44 free(buf);
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/bridge/
H A Dbr_stp_bpdu.c76 unsigned char buf[38]; local
78 buf[0] = 0x42;
79 buf[1] = 0x42;
80 buf[2] = 0x03;
81 buf[3] = 0;
82 buf[4] = 0;
83 buf[5] = 0;
84 buf[6] = BPDU_TYPE_CONFIG;
85 buf[7] = (bpdu->topology_change ? 0x01 : 0) |
87 buf[
121 unsigned char buf[7]; local
138 unsigned char *buf; local
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/scsi/pcmcia/
H A Dnsp_io.h69 void *buf,
72 insb(BaseAddr + Register, buf, count);
76 void *buf,
79 //DEBUG(0, __FUNCTION__ "() buf=0x%p, count=0x%lx\n", buf, count);
80 nsp_multi_read_1(base, FIFODATA, buf, count);
88 void *buf,
91 insw(BaseAddr + Register, buf, count);
95 void *buf,
98 //DEBUG(0, __FUNCTION__ "() buf
67 nsp_multi_read_1(unsigned int BaseAddr, unsigned int Register, void *buf, unsigned long count) argument
75 nsp_fifo8_read(unsigned int base, void *buf, unsigned long count) argument
86 nsp_multi_read_2(unsigned int BaseAddr, unsigned int Register, void *buf, unsigned long count) argument
94 nsp_fifo16_read(unsigned int base, void *buf, unsigned long count) argument
105 nsp_multi_read_4(unsigned int BaseAddr, unsigned int Register, void *buf, unsigned long count) argument
113 nsp_fifo32_read(unsigned int base, void *buf, unsigned long count) argument
124 nsp_multi_write_1(unsigned int BaseAddr, unsigned int Register, void *buf, unsigned long count) argument
132 nsp_fifo8_write(unsigned int base, void *buf, unsigned long count) argument
142 nsp_multi_write_2(unsigned int BaseAddr, unsigned int Register, void *buf, unsigned long count) argument
150 nsp_fifo16_write(unsigned int base, void *buf, unsigned long count) argument
160 nsp_multi_write_4(unsigned int BaseAddr, unsigned int Register, void *buf, unsigned long count) argument
168 nsp_fifo32_write(unsigned int base, void *buf, unsigned long count) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/router/library/libiconv-1.8/lib/
H A Ddec_hanyu.h44 unsigned char buf[2]; local
46 buf[0] = s[2]-0x80; buf[1] = s[3]-0x80;
47 ret = cns11643_3_mbtowc(conv,pwc,buf,2);
54 unsigned char buf[2]; local
55 buf[0] = c-0x80; buf[1] = c2-0x80;
56 return cns11643_1_mbtowc(conv,pwc,buf,2);
58 unsigned char buf[2]; local
59 buf[
70 unsigned char buf[3]; local
[all...]
/asus-wl-520gu-7.0.1.45/src/router/iproute2/include/
H A Drt_names.h4 const char* rtnl_rtprot_n2a(int id, char *buf, int len);
5 const char* rtnl_rtscope_n2a(int id, char *buf, int len);
6 const char* rtnl_rttable_n2a(int id, char *buf, int len);
7 const char* rtnl_rtrealm_n2a(int id, char *buf, int len);
8 const char* rtnl_dsfield_n2a(int id, char *buf, int len);
15 const char *inet_proto_n2a(int proto, char *buf, int len);
16 int inet_proto_a2n(char *buf);
19 const char * ll_type_n2a(int type, char *buf, int len);
21 const char *ll_addr_n2a(unsigned char *addr, int alen, int type, char *buf, int blen);
24 const char * ll_proto_n2a(unsigned short id, char *buf, in
[all...]
/asus-wl-520gu-7.0.1.45/src/cfe/cfe/net/
H A Dnet_tcpbuf.c61 * tmb_init(buf)
66 * buf - modulo buffer structure
72 void tmb_init(tcpmodbuf_t *buf) argument
74 buf->tmb_addptr = 0;
75 buf->tmb_remptr = 0;
76 buf->tmb_len = 0;
80 * tmb_adjust(buf,amt)
86 * buf - modulo buffer structure
94 void tmb_adjust(tcpmodbuf_t *buf,int amt) argument
96 buf
114 tmb_alloc(tcpmodbuf_t *buf,int size) argument
137 tmb_free(tcpmodbuf_t *buf) argument
158 tmb_copyin(tcpmodbuf_t *tmb,uint8_t *buf,int len,int update) argument
211 tmb_copyout(tcpmodbuf_t *tmb,uint8_t *buf,int len,int update) argument
264 tmb_copyout2(tcpmodbuf_t *tmb,uint8_t *buf,int offset,int len) argument
[all...]
H A Dnet_dns.c115 ebuf_t *buf; local
137 buf = udp_alloc();
139 ebuf_append_u16_be(buf,id);
140 ebuf_append_u16_be(buf,(DNS_FLG_QUERY | DNS_OPCODE_QUERY | DNS_FLG_RD));
141 ebuf_append_u16_be(buf,1); /* one question */
142 ebuf_append_u16_be(buf,0); /* no answers */
143 ebuf_append_u16_be(buf,0); /* no server resource records */
144 ebuf_append_u16_be(buf,0); /* no additional records */
154 ebuf_append_u8(buf,(tok-ptr));
155 ebuf_append_bytes(buf,pt
[all...]
/asus-wl-520gu-7.0.1.45/src/router/library/libupnp-1.2.1/ixml/src/
H A Dixml.c41 copy_with_escape( INOUT ixml_membuf * buf,IN char *p ) argument
54 ixml_membuf_append_str( buf, "&lt;" );
58 ixml_membuf_append_str( buf, "&gt;" );
62 ixml_membuf_append_str( buf, "&amp;" );
66 ixml_membuf_append_str( buf, "&apos;" );
70 ixml_membuf_append_str( buf, "&quot;" );
74 ixml_membuf_append( buf, &p[i] );
87 IN ixml_membuf * buf )
101 copy_with_escape( buf, nodeValue );
105 ixml_membuf_append_str( buf, nodeValu
118 ( nodeptr ), buf ); local
154 ( nodeptr ), buf ); local
168 ( nodeptr ), buf ); local
235 buf ); local
306 buf ); local
364 ixml_membuf *buf = &memBuf; local
387 ixml_membuf *buf = &memBuf; local
[all...]
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-m68k/
H A Dparport.h14 #define insl(port,buf,len) isa_insb(port,buf,(len)<<2)
15 #define outsl(port,buf,len) isa_outsb(port,buf,(len)<<2)

Completed in 357 milliseconds

1234567891011>>