/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/os_windows/ |
H A D | os_getenv.c | 29 _TCHAR *tname, tbuf[1024]; 53 * The declared size of the tbuf buffer limits the maximum environment 56 * malloc the tbuf memory. 58 ret = GetEnvironmentVariable(tname, tbuf, sizeof(tbuf)); 79 if (ret > (int)sizeof(tbuf)) 82 FROM_TSTRING(env, tbuf, p, ret);
|
H A D | os_errno.c | 114 _TCHAR tbuf[MAX_TMPBUF_LEN]; local 119 memset(tbuf, 0, sizeof(_TCHAR)*MAX_TMPBUF_LEN); 122 0, tbuf, maxlen-1, NULL); 124 if (WideCharToMultiByte(CP_UTF8, 0, tbuf, -1,
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/kernel/ |
H A D | io.c | 30 u8 *tbuf = buf; local 39 *tbuf++ = tmp; 47 const u8 *tbuf = buf; local 53 *port = *tbuf++; 61 u16 *tbuf = buf; local 70 *tbuf++ = tmp; 78 const u16 *tbuf = buf; local 84 *port = *tbuf++; 92 u32 *tbuf = buf; local 101 *tbuf 109 const u32 *tbuf = buf; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.0/etc/papd/ |
H A D | printcap.c | 68 * BUG: Should use a "last" pointer in tbuf, so that searching 95 static char *tbuf; variable 111 tbuf = bp; 116 if (bp != tbuf) { 124 if (bp == tbuf) { 135 if (bp == tbuf) 140 if (bp >= tbuf+BUFSIZ) { 181 tbuf = bp; 272 char *holdtbuf = tbuf; 275 p = tbuf [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/etc/papd/ |
H A D | printcap.c | 68 * BUG: Should use a "last" pointer in tbuf, so that searching 95 static char *tbuf; variable 111 tbuf = bp; 116 if (bp != tbuf) { 124 if (bp == tbuf) { 135 if (bp == tbuf) 140 if (bp >= tbuf+BUFSIZ) { 181 tbuf = bp; 272 char *holdtbuf = tbuf; 275 p = tbuf [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/dccp/ |
H A D | probe.c | 56 char tbuf[256]; local 68 len = sprintf(tbuf, "%lu.%06lu ", 71 len += vscnprintf(tbuf+len, sizeof(tbuf)-len, fmt, args); 74 kfifo_put(dccpw.fifo, tbuf, len); 129 unsigned char *tbuf; local 137 tbuf = vmalloc(len); 138 if (!tbuf) 146 cnt = kfifo_get(dccpw.fifo, tbuf, len); 147 error = copy_to_user(buf, tbuf, cn [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv4/ |
H A D | tcp_probe.c | 69 char tbuf[256]; local 75 len = sprintf(tbuf, "%lu.%09lu ", 77 len += vscnprintf(tbuf+len, sizeof(tbuf)-len, fmt, args); 80 kfifo_put(tcpw.fifo, tbuf, len); 129 unsigned char *tbuf; local 137 tbuf = vmalloc(len); 138 if (!tbuf) 146 cnt = kfifo_get(tcpw.fifo, tbuf, len); 147 error = copy_to_user(buf, tbuf, cn [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/char/ |
H A D | n_hdlc.c | 141 struct n_hdlc_buf *tbuf; member in struct:n_hdlc 250 kfree(n_hdlc->tbuf); 358 struct n_hdlc_buf *tbuf; local 377 tbuf = n_hdlc->tbuf; 378 if (!tbuf) 379 tbuf = n_hdlc_buf_get(&n_hdlc->tx_buf_list); 381 while (tbuf) { 384 __FILE__,__LINE__,tbuf,tbuf 622 struct n_hdlc_buf *tbuf; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/flac-1.2.1/src/share/utf8/ |
H A D | iconvert.c | 64 char tbuf[2048]; local 173 ob = tbuf; 174 obl = sizeof(tbuf); 184 outlen += ob - tbuf; 185 ob = tbuf; 186 obl = sizeof(tbuf); 193 outlen += ob - tbuf; 195 ob = tbuf; 196 obl = sizeof(tbuf); 199 outlen += ob - tbuf; [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/libgcrypt-1.5.0/cipher/ |
H A D | kdf.c | 135 char *tbuf; /* Buffer for T; ptr into SBUF, size is HLEN. */ local 163 tbuf = sbuf + saltlen + 4; 164 ubuf = tbuf + hlen; 196 memcpy (tbuf, ubuf, hlen); 203 tbuf[i] ^= ubuf[i]; 207 memcpy (dk, tbuf, r); 210 memcpy (dk, tbuf, hlen);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/ipc/ |
H A D | msg.c | 352 struct msqid64_ds tbuf; local 354 if (copy_from_user(&tbuf, buf, sizeof(tbuf))) 357 out->qbytes = tbuf.msg_qbytes; 358 out->uid = tbuf.msg_perm.uid; 359 out->gid = tbuf.msg_perm.gid; 360 out->mode = tbuf.msg_perm.mode; 444 struct msqid64_ds tbuf; local 452 memset(&tbuf, 0, sizeof(tbuf)); [all...] |
H A D | shm.c | 494 struct shmid64_ds tbuf; local 496 if (copy_from_user(&tbuf, buf, sizeof(tbuf))) 499 out->uid = tbuf.shm_perm.uid; 500 out->gid = tbuf.shm_perm.gid; 501 out->mode = tbuf.shm_perm.mode; 646 struct shmid64_ds tbuf; local 648 memset(&tbuf, 0, sizeof(tbuf)); 670 kernel_to_ipc64_perm(&shp->shm_perm, &tbuf [all...] |
H A D | sem.c | 597 struct semid64_ds tbuf; local 603 memset(&tbuf,0,sizeof(tbuf)); 619 kernel_to_ipc64_perm(&sma->sem_perm, &tbuf.sem_perm); 620 tbuf.sem_otime = sma->sem_otime; 621 tbuf.sem_ctime = sma->sem_ctime; 622 tbuf.sem_nsems = sma->sem_nsems; 624 if (copy_semid_to_user (arg.buf, &tbuf, version)) 757 struct semid64_ds tbuf; local 758 memset(&tbuf, 827 struct semid64_ds tbuf; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/mtd/ubi/ |
H A D | cdev.c | 209 void *tbuf; local 235 tbuf = kmalloc(tbuf_size, GFP_KERNEL); 236 if (!tbuf) 251 err = ubi_eba_read_leb(ubi, vol_id, lnum, tbuf, off, len, 0); 264 err = copy_to_user(buf, tbuf, len); 274 kfree(tbuf); 293 char *tbuf; local 323 tbuf = kmalloc(tbuf_size, GFP_KERNEL); 324 if (!tbuf) 335 err = copy_from_user(tbuf, bu [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/openssl/crypto/objects/ |
H A D | obj_dat.c | 441 char tbuf[DECIMAL_SIZE(i)+DECIMAL_SIZE(l)+2]; local 467 BIO_snprintf(tbuf,sizeof tbuf,"%d.%lu",i,l); 468 i=strlen(tbuf); 469 BUF_strlcpy(buf,tbuf,buf_len); 478 BIO_snprintf(tbuf,sizeof tbuf,".%lu",l); 479 i=strlen(tbuf); 481 BUF_strlcpy(buf,tbuf,buf_len);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/usb/core/ |
H A D | devio.c | 625 unsigned char *tbuf; local 634 if (!(tbuf = (unsigned char *)__get_free_page(GFP_KERNEL))) 639 free_page((unsigned long)tbuf); 650 ctrl.wValue, ctrl.wIndex, tbuf, ctrl.wLength, tmo); 656 printk("%02x ", (unsigned char)(tbuf)[j]); 659 if (copy_to_user(ctrl.data, tbuf, i)) { 660 free_page((unsigned long)tbuf); 666 if (copy_from_user(tbuf, ctrl.data, ctrl.wLength)) { 667 free_page((unsigned long)tbuf); 679 printk("%02x ", (unsigned char)(tbuf)[ 703 unsigned char *tbuf; local [all...] |
H A D | message.c | 759 unsigned char *tbuf; local 768 tbuf = kmalloc(256, GFP_KERNEL); 769 if (!tbuf) 774 err = usb_string_sub(dev, 0, 0, tbuf); 786 dev->string_langid = tbuf[2] | (tbuf[3]<< 8); 793 err = usb_string_sub(dev, dev->string_langid, index, tbuf); 801 if (tbuf[u+1]) /* high byte */ 804 buf[idx++] = tbuf[u]; 809 if (tbuf[ [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/ |
H A D | wd33c93.c | 2053 char tbuf[128]; local 2123 sprintf(tbuf, "\nVersion %s - %s. Compiled %s %s", 2125 strcat(bp, tbuf); 2128 sprintf(tbuf, "\nclock_freq=%02x no_sync=%02x no_dma=%d" 2131 strcat(bp, tbuf); 2134 sprintf(tbuf, "\t%02x", hd->sync_xfer[x]); 2135 strcat(bp, tbuf); 2139 sprintf(tbuf, "\t%02x", hd->sync_stat[x]); 2140 strcat(bp, tbuf); 2147 sprintf(tbuf, "\ [all...] |
H A D | in2000.c | 2045 char tbuf[128]; local 2099 sprintf(tbuf, "\nVersion %s - %s. Compiled %s %s", IN2000_VERSION, IN2000_DATE, __DATE__, __TIME__); 2100 strcat(bp, tbuf); 2103 sprintf(tbuf, "\ndip_switch=%02x: irq=%d io=%02x floppy=%s sync/DOS5=%s", (hd->dip_switch & 0x7f), instance->irq, hd->io_base, (hd->dip_switch & 0x40) ? "Yes" : "No", (hd->dip_switch & 0x20) ? "Yes" : "No"); 2104 strcat(bp, tbuf); 2107 sprintf(tbuf, "\t%02x", hd->sync_xfer[x]); 2108 strcat(bp, tbuf); 2112 sprintf(tbuf, "\t%02x", hd->sync_stat[x]); 2113 strcat(bp, tbuf); 2120 sprintf(tbuf, "\ [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/vmstat/proc/ |
H A D | sysinfo.c | 180 char tbuf[32]; local 186 sprintf(tbuf, "/proc/%s/stat", ent->d_name); 188 fd = open(tbuf, O_RDONLY, 0); 190 memset(tbuf, '\0', sizeof tbuf); // didn't feel like checking read() 191 read(fd, tbuf, sizeof tbuf - 1); // need 32 byte buffer at most 194 cp = strrchr(tbuf, ')');
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/lock/ |
H A D | lock_stat.c | 449 char tbuf[64]; local 450 if (strftime(tbuf, sizeof(tbuf), 453 tbuf, (u_long)lrp->next_timeout.tv_nsec); 525 char tbuf[64]; local 526 if (strftime(tbuf, sizeof(tbuf), 529 tbuf, (u_long)lip->tx_expire.tv_nsec); 542 char tbuf[64]; local 543 if (strftime(tbuf, [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/media/video/ |
H A D | w9966.c | 818 unsigned char *tbuf; local 839 tbuf = kmalloc(W9966_RBUFFER, GFP_KERNEL); 840 if (tbuf == NULL) { 849 if (parport_read(cam->pport, tbuf, tsize) < tsize) { 853 if (copy_to_user(dest, tbuf, tsize) != 0) { 864 kfree(tbuf);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.0/etc/afpd/ |
H A D | catsearch.c | 431 size_t tbuf =0; local 449 ret = getdirparams(vol, c1.dbitmap, path, path->d_dir, p , &tbuf ); 453 ret = getfilparams ( vol, c1.fbitmap, path, path->d_dir, p, &tbuf); 460 if ((tbuf & 1)) { 462 tbuf++; 466 resultsize = htons(tbuf); 468 *buf += tbuf + 4; 471 **buf = tbuf; 472 *buf += tbuf + 2;
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/etc/afpd/ |
H A D | catsearch.c | 417 size_t tbuf =0; local 435 ret = getdirparams(vol, c1.dbitmap, path, path->d_dir, p , &tbuf ); 439 ret = getfilparams ( vol, c1.fbitmap, path, path->d_dir, p, &tbuf); 446 if ((tbuf & 1)) { 448 tbuf++; 452 resultsize = htons(tbuf); 454 *buf += tbuf + 4; 457 **buf = tbuf; 458 *buf += tbuf + 2;
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/openssl-0.9.8e/crypto/objects/ |
H A D | obj_dat.c | 444 char tbuf[DECIMAL_SIZE(i)+DECIMAL_SIZE(l)+2]; local 566 BIO_snprintf(tbuf,sizeof tbuf,".%lu",l); 567 i=strlen(tbuf); 570 BUF_strlcpy(buf,tbuf,buf_len);
|