/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/ppc/boot/utils/ |
H A D | mktree.c | 36 char tmpbuf[IMGBLK]; variable 97 if (read(in_fd, tmpbuf, IMGBLK) != IMGBLK) { 103 if ((*(uint *)tmpbuf) != htonl(0x7f454c46)) { 123 if (read(in_fd, tmpbuf, IMGBLK) < 0) { 127 cp = (uint *)tmpbuf; 128 for (i=0; i<sizeof(tmpbuf)/sizeof(uint); i++) 130 if (write(out_fd, tmpbuf, sizeof(tmpbuf)) != sizeof(tmpbuf)) {
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/sunrpc/ |
H A D | sysctl.c | 64 char tmpbuf[20], *p, c; local 84 if (left > sizeof(tmpbuf) - 1) 86 copy_from_user(tmpbuf, p, left); 87 tmpbuf[left] = '\0'; 89 for (p = tmpbuf, value = 0; '0' <= *p && *p <= '9'; p++, left--) 103 len = sprintf(tmpbuf, "%d", *(unsigned int *) table->data); 106 copy_to_user(buffer, tmpbuf, len);
|
/asus-wl-520gu-7.0.1.45/src/tools/upnp/upnp/ |
H A D | ssdp.c | 136 char tmpbuf[100]; local 143 snprintf(tmpbuf, sizeof(tmpbuf), "%s::upnp:rootdevice", pdev->udn); 146 ssdp_packet( upkt, SSDP_REPLY, st, tmpbuf, location(pdev, pif), SSDP_REFRESH); 183 char tmpbuf[100]; local 189 snprintf(tmpbuf, sizeof(tmpbuf), "%s::%s", pdev->udn, pdev->template->type); 192 ssdp_packet( upkt, SSDP_REPLY, pdev->template->type, tmpbuf, 212 char tmpbuf[100]; local 230 snprintf(tmpbuf, sizeo 330 char tmpbuf[100], svctype[100]; local [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/media/video/ |
H A D | c-qcam.c | 364 char tmpbuf[BUFSZ]; local 413 t = qcam_read_bytes(q, tmpbuf, s); 418 if (__copy_to_user(buf+outptr, tmpbuf, sz)) 444 l = qcam_read_bytes(q, tmpbuf, 3); 447 } while (l && (tmpbuf[0] == 0x7e || tmpbuf[1] == 0x7e || tmpbuf[2] == 0x7e)); 449 if (tmpbuf[0] != 0xe || tmpbuf[1] != 0x0 || tmpbuf[ [all...] |
/asus-wl-520gu-7.0.1.45/src/router/rc/ |
H A D | btnsetup.c | 246 char tmpbuf[256]; local 248 tmpbuf[size] = 0; 249 memcpy(tmpbuf, value, size); 250 nvram_set(nvram_name, tmpbuf); 300 char tmpbuf[256]; local 306 strcpy(tmpbuf, nvram_safe_get("wl_ssid")); 307 memcpy(pkt->WSetting.SSID, tmpbuf, sizeof(pkt->WSetting.SSID)); 316 sprintf(tmpbuf, "wl_key%d", pkt->WSetting.DefaultKey); 317 strcpy(pkt->WSetting.Key, nvram_safe_get(tmpbuf)); 327 sprintf(tmpbuf, "wl_ke 379 char tmpbuf[256]; local 971 char tmpbuf[INFO_PDU_LENGTH]; local 1017 tmpbuf); local 1201 tmpbuf); local [all...] |
/asus-wl-520gu-7.0.1.45/src/router/rc.orig/ |
H A D | btnsetup.c | 246 char tmpbuf[256]; local 248 tmpbuf[size] = 0; 249 memcpy(tmpbuf, value, size); 250 nvram_set(nvram_name, tmpbuf); 300 char tmpbuf[256]; local 306 strcpy(tmpbuf, nvram_safe_get("wl_ssid")); 307 memcpy(pkt->WSetting.SSID, tmpbuf, sizeof(pkt->WSetting.SSID)); 316 sprintf(tmpbuf, "wl_key%d", pkt->WSetting.DefaultKey); 317 strcpy(pkt->WSetting.Key, nvram_safe_get(tmpbuf)); 327 sprintf(tmpbuf, "wl_ke 379 char tmpbuf[256]; local 962 char tmpbuf[INFO_PDU_LENGTH]; local 1008 tmpbuf); local 1192 tmpbuf); local [all...] |
/asus-wl-520gu-7.0.1.45/src/router/library/libiconv-1.8/extras/ |
H A D | iconv_string.c | 71 char tmpbuf[tmpbufsize]; local 75 char* outptr = tmpbuf; 88 count += outptr-tmpbuf; 91 char* outptr = tmpbuf; 100 count += outptr-tmpbuf;
|
/asus-wl-520gu-7.0.1.45/src/router/nvram/ |
H A D | nvram_linux.c | 242 char tmpbuf[1024]; 244 strcpy(tmpbuf, buf); 250 ret = ioctl(nvram_fd, NVRAM_MAGIC, tmpbuf); 255 printf("output: %s\n", tmpbuf); 266 char tmpbuf[1024]; local 272 if (count > sizeof(tmpbuf)) 275 strcpy(tmpbuf, buf); 282 ret = ioctl(nvram_fd, NVRAM_MAGIC, tmpbuf); 291 strcpy(nvram_xfr_buf, tmpbuf);
|
/asus-wl-520gu-7.0.1.45/src/router/infosvr/ |
H A D | packet.c | 482 char tmpbuf[INFO_PDU_LENGTH]; local 484 tid = PackCmdHdr(tmpbuf, NET_CMD_ID_EZPROBE, mac, password); 487 if (klen) Encrypt(klen, key, tmpbuf, INFO_PDU_LENGTH, pdubuf); 488 else memcpy(pdubuf, tmpbuf, INFO_PDU_LENGTH); 490 memcpy(pdubuf, tmpbuf, INFO_PDU_LENGTH); 498 char tmpbuf[INFO_PDU_LENGTH]; local 501 if (klen) Decrypt(klen, key, pdubuf, INFO_PDU_LENGTH, tmpbuf); 502 else memcpy(tmpbuf, pdubuf, INFO_PDU_LENGTH); 504 memcpy(tmpbuf, pdubuf, INFO_PDU_LENGTH); 518 char tmpbuf[INFO_PDU_LENGT local 536 char tmpbuf[INFO_PDU_LENGTH]; local [all...] |
/asus-wl-520gu-7.0.1.45/src/router/samba/source/nsswitch/ |
H A D | winbind_nss_aix.c | 288 char *tmpbuf; local 308 tmpbuf = list_alloc(&list, num_gids*12); 309 if (!tmpbuf) { 314 idx += sprintf(tmpbuf+idx, "%u,", gid_list[i]); 316 idx += sprintf(tmpbuf+idx, "%u", gid_list[i]); 320 return tmpbuf;
|
/asus-wl-520gu-7.0.1.45/src/router/samba/source/lib/ |
H A D | util_str.c | 98 static uint16 tmpbuf[sizeof(pstring)]; variable 389 push_ucs2(NULL, tmpbuf, p, sizeof(tmpbuf), STR_TERMINATE); 390 string_replace_w(tmpbuf, UCS2_CHAR(oldc), UCS2_CHAR(newc)); 391 pull_ucs2(NULL, p, tmpbuf, -1, sizeof(tmpbuf), STR_TERMINATE); 531 push_ucs2(NULL, tmpbuf,s, sizeof(tmpbuf), STR_TERMINATE); 532 for(ptr=tmpbuf;*ptr;ptr++) 545 push_ucs2(NULL, tmpbuf, [all...] |
H A D | charcnv.c | 786 pstring tmpbuf; local 793 pstrcpy(tmpbuf, src); 794 strupper_m(tmpbuf); 795 src = tmpbuf; 984 pstring tmpbuf; local 991 pstrcpy(tmpbuf, src); 992 strupper_m(tmpbuf); 993 src = tmpbuf;
|
/asus-wl-520gu-7.0.1.45/src/router/busybox/ |
H A D | syslogd.c | 458 RESERVE_BB_BUFFER(tmpbuf, BUFSIZE + 1); 460 char *p = tmpbuf; 462 n_read = read (conn, tmpbuf, BUFSIZE ); 464 while (p < tmpbuf + n_read) { 473 tmpbuf[ n_read - 1 ] = '\0'; 501 RELEASE_BB_BUFFER (tmpbuf);
|
/asus-wl-520gu-7.0.1.45/src/router/samba/source/registry/ |
H A D | reg_db.c | 173 char *buffer, *tmpbuf; local 200 if ((tmpbuf = Realloc( buffer, len*2 )) == NULL) { 205 buffer = tmpbuf;
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/coda/ |
H A D | sysctl.c | 357 char tmpbuf[80]; local 371 tmplen += sprintf(tmpbuf,"%s %9d %10ld %10ld", 379 len += sprintf(buffer + len, "%-79s\n", tmpbuf);
|
/asus-wl-520gu-7.0.1.45/src/router/e2fsprogs-1.40.8/intl/ |
H A D | vasnprintf.c | 271 CHAR_T tmpbuf[700]; local 485 if (tmp_length <= sizeof (tmpbuf) / sizeof (CHAR_T)) 486 tmp = tmpbuf; 838 if (tmp != tmpbuf)
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/mips/brcm-boards/bcm947xx/ |
H A D | nvram_linux.c | 91 char tmpbuf[1024]; variable 785 char *name = tmpbuf; 794 if (strncmp(tmpbuf, NLS_NVRAM_U2C, strlen(NLS_NVRAM_U2C))==0) 796 asusnls_u2c(tmpbuf); 800 asusnls_c2u(tmpbuf); 804 strcpy(tmpbuf, ""); 805 // printk("nvram xfr 2: %s\n", tmpbuf); 808 if (copy_to_user(buf, tmpbuf, strlen(tmpbuf)+1)) 813 // printk("nvram xfr 3: %s\n", tmpbuf); [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/ipv4/ |
H A D | raw.c | 626 static void get_raw_sock(struct sock *sp, char *tmpbuf, int i) argument 633 sprintf(tmpbuf, "%4d: %08X:%04X %08X:%04X" 648 char tmpbuf[129]; local 665 get_raw_sock(sk, tmpbuf, i); 666 len += sprintf(buffer + len, "%-127s\n", tmpbuf);
|
H A D | tcp_ipv4.c | 2066 static void get_openreq(struct sock *sk, struct open_request *req, char *tmpbuf, int i, int uid) argument 2070 sprintf(tmpbuf, "%4d: %08X:%04X %08X:%04X" 2090 static void get_tcp_sock(struct sock *sp, char *tmpbuf, int i) argument 2116 sprintf(tmpbuf, "%4d: %08X:%04X %08X:%04X" 2131 static void get_timewait_sock(struct tcp_tw_bucket *tw, char *tmpbuf, int i) argument 2145 sprintf(tmpbuf, "%4d: %08X:%04X %08X:%04X" 2158 char tmpbuf[TMPSZ+1]; local 2184 get_tcp_sock(sk, tmpbuf, num); 2185 len += sprintf(buffer+len, "%-*s\n", TMPSZ-1, tmpbuf); 2205 get_openreq(sk, req, tmpbuf, nu [all...] |
H A D | udp.c | 1035 static void get_udp_sock(struct sock *sp, char *tmpbuf, int i) argument 1044 sprintf(tmpbuf, "%4d: %08X:%04X %08X:%04X" 1059 char tmpbuf[129]; local 1076 get_udp_sock(sk, tmpbuf, i); 1077 len += sprintf(buffer+len, "%-127s\n", tmpbuf);
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/ipv6/ |
H A D | tcp_ipv6.c | 1862 static void get_openreq6(struct sock *sk, struct open_request *req, char *tmpbuf, int i, int uid) argument 1872 sprintf(tmpbuf, 1893 static void get_tcp6_sock(struct sock *sp, char *tmpbuf, int i) argument 1919 sprintf(tmpbuf, 1940 static void get_timewait6_sock(struct tcp_tw_bucket *tw, char *tmpbuf, int i) argument 1954 sprintf(tmpbuf, 1974 char tmpbuf[LINE_LEN+2]; local 2004 get_tcp6_sock(sk, tmpbuf, num); 2005 len += sprintf(buffer+len, LINE_FMT, tmpbuf); 2023 get_openreq6(sk, req, tmpbuf, nu [all...] |
H A D | raw.c | 835 static void get_raw6_sock(struct sock *sp, char *tmpbuf, int i) argument 844 sprintf(tmpbuf, 865 char tmpbuf[LINE_LEN+2]; local 887 get_raw6_sock(sk, tmpbuf, i); 888 len += sprintf(buffer+len, LINE_FMT, tmpbuf);
|
H A D | udp.c | 913 static void get_udp6_sock(struct sock *sp, char *tmpbuf, int i) argument 922 sprintf(tmpbuf, 943 char tmpbuf[LINE_LEN+2]; local 965 get_udp6_sock(sk, tmpbuf, i); 966 len += sprintf(buffer+len, LINE_FMT, tmpbuf);
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/sparc64/solaris/ |
H A D | timod.c | 631 char *tmpbuf; local 801 tmpbuf = ctl_buf + sizeof(udi); 805 tmpbuf = NULL; 815 error = sys_recvfrom(fd, data_buf, data_maxlen, 0, (struct sockaddr*)tmpbuf, ctl_len);
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/isdn/hisax/ |
H A D | config.c | 702 static u_char tmpbuf[HISAX_STATUS_BUFSIZE]; variable 717 p = tmpbuf; 724 len = p - tmpbuf; 725 p = tmpbuf; 758 sprintf(tmpbuf, "kstack %s %lx use %ld\n", current->comm, 760 len = strlen(tmpbuf); 761 for (p = tmpbuf, i = len; i > 0; i--, p++) {
|