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

123456789

/openwrt/package/devel/perf/musl-include/
H A Dstring.h8 gnu_strerror_r(int err, char *buf, size_t buflen) argument
10 if (strerror_r(err, buf, buflen))
12 return buf;
/openwrt/target/linux/adm5120/files-3.18/arch/mips/adm5120/prom/
H A Dprom_read.h18 static inline u16 prom_read_le16(void *buf) argument
20 u8 *p = buf;
25 static inline u32 prom_read_le32(void *buf) argument
27 u8 *p = buf;
33 static inline u16 prom_read_be16(void *buf) argument
35 u8 *p = buf;
40 static inline u32 prom_read_be32(void *buf) argument
42 u8 *p = buf;
H A Drouterboot.c29 static int __init routerboot_load_hs(u8 *buf, u16 buflen) argument
38 if (prom_read_le32(buf) != RB_MAGIC_HARD)
42 buf += 4;
46 id = prom_read_le16(buf);
47 buf += 2;
52 len = prom_read_le16(buf);
53 buf += 2;
61 rb_hs.bios_ver = (char *)buf;
64 rb_hs.name = (char *)buf;
67 rb_hs.mem_size = prom_read_le32(buf);
[all...]
/openwrt/tools/include/
H A Dgetline.h50 char *buf; local
51 buf = fgetln(fp, &len);
53 char buf[512]; local
54 fgets(buf, sizeof(buf), fp);
55 len = strlen(buf);
57 if (buf == NULL)
68 memcpy(*outbuf, buf, len);
/openwrt/target/linux/generic/files/fs/yaffs2/
H A Dyaffs_nameval.h22 int nval_set(char *xb, int xb_size, const YCHAR * name, const char *buf,
24 int nval_get(const char *xb, int xb_size, const YCHAR * name, char *buf,
26 int nval_list(const char *xb, int xb_size, char *buf, int bsize);
/openwrt/target/linux/ar71xx/files/arch/mips/ath79/
H A Dnvram.c19 char *ath79_nvram_find_var(const char *name, const char *buf, unsigned buf_len) argument
31 return memchr(buf, (int) *name, buf_len);
33 last = (char *) buf + buf_len - len;
34 for (cur = (char *) buf; cur <= last; cur++)
44 char *buf; local
49 buf = vmalloc(nvram_len);
50 if (!buf)
53 memcpy(buf, nvram, nvram_len);
54 buf[nvram_len - 1] = '\0';
56 mac_str = ath79_nvram_find_var(name, buf, nvram_le
[all...]
H A Dnvram.h14 char *ath79_nvram_find_var(const char *name, const char *buf,
H A Drouterboot.c29 static u32 get_u32(void *buf) argument
31 u8 *p = buf;
37 static u16 get_u16(void *buf) argument
39 u8 *p = buf;
45 routerboot_find_magic(u8 *buf, unsigned int buflen, u32 *offset, bool hard) argument
52 magic = get_u32(buf + cur);
65 routerboot_find_tag(u8 *buf, unsigned int buflen, u16 tag_id, argument
75 magic = get_u32(buf);
82 buf += 4;
91 buf
186 void *buf; local
306 rb_ext_wlan_data_read(struct file *filp, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t off, size_t count) argument
[all...]
H A Drouterboot.h29 int routerboot_find_tag(u8 *buf, unsigned int buflen, u16 tag_id,
31 int routerboot_find_magic(u8 *buf, unsigned int buflen, u32 *offset, bool hard);
50 routerboot_find_tag(u8 *buf, unsigned int buflen, u16 tag_id, argument
57 routerboot_find_magic(u8 *buf, unsigned int buflen, u32 *offset, bool hard) argument
/openwrt/package/kernel/lantiq/ltq-hcd/src/
H A Difxusb_ctl.c243 static ssize_t procfs_version_show(char *buf, char **start, off_t offset, int count, int *eof, void *data) argument
245 return sprintf( buf, "%s\n",IFXUSB_VERSION );
249 static ssize_t sysfs_version_show( struct device *_dev, struct device_attribute *attr,char *buf) argument
251 static ssize_t sysfs_version_show( struct device *_dev, char *buf)
254 return sprintf( buf, "%s\n",IFXUSB_VERSION );
271 static ssize_t procfs_dbglevel_show(char *buf, char **start, off_t offset, int count, int *eof, void *data) argument
274 return sprintf( buf, "%08X\n",h_dbg_lvl );
276 return sprintf( buf, "%08X\n",d_dbg_lvl );
282 char buf[10]; local
285 if (copy_from_user(buf,
298 sysfs_dbglevel_show( struct device *_dev, struct device_attribute *attr,char *buf) argument
316 char buf[10]; local
354 procfs_dump_params_show_1(char *buf, char **start, off_t offset, int count, int *eof, void *data) argument
359 procfs_dump_params_show_2(char *buf, char **start, off_t offset, int count, int *eof, void *data) argument
366 sysfs_dump_params_show_1( struct device *_dev, struct device_attribute *attr,char *buf) argument
377 sysfs_dump_params_show_2( struct device *_dev, struct device_attribute *attr,char *buf) argument
397 procfs_dump_params_show(char *buf, char **start, off_t offset, int count, int *eof, void *data) argument
404 sysfs_dump_params_show( struct device *_dev, struct device_attribute *attr,char *buf) argument
425 mode_show_1(char *buf) argument
433 mode_show_2(char *buf) argument
441 procfs_mode_show_1(char *buf, char **start, off_t offset, int count, int *eof, void *data) argument
445 procfs_mode_show_2(char *buf, char **start, off_t offset, int count, int *eof, void *data) argument
451 sysfs_mode_show_1( struct device *_dev, struct device_attribute *attr,char *buf) argument
462 sysfs_mode_show_2( struct device *_dev, struct device_attribute *attr,char *buf) argument
471 mode_show(char *buf) argument
485 procfs_mode_show(char *buf, char **start, off_t offset, int count, int *eof, void *data) argument
490 sysfs_mode_show( struct device *_dev, struct device_attribute *attr,char *buf) argument
513 bandwidth_hs_show_1(char *buf) argument
517 bandwidth_fs_show_1(char *buf) argument
521 bandwidth_ls_show_1(char *buf) argument
558 bandwidth_hs_show_2(char *buf) argument
562 bandwidth_fs_show_2(char *buf) argument
566 bandwidth_ls_show_2(char *buf) argument
603 procfs_bandwidth_hs_show_1(char *buf, char **start, off_t offset, int count, int *eof, void *data) argument
607 procfs_bandwidth_fs_show_1(char *buf, char **start, off_t offset, int count, int *eof, void *data) argument
611 procfs_bandwidth_ls_show_1(char *buf, char **start, off_t offset, int count, int *eof, void *data) argument
617 char buf[10]; local
628 char buf[10]; local
639 char buf[10]; local
648 procfs_bandwidth_hs_show_2(char *buf, char **start, off_t offset, int count, int *eof, void *data) argument
652 procfs_bandwidth_fs_show_2(char *buf, char **start, off_t offset, int count, int *eof, void *data) argument
656 procfs_bandwidth_ls_show_2(char *buf, char **start, off_t offset, int count, int *eof, void *data) argument
662 char buf[10]; local
673 char buf[10]; local
684 char buf[10]; local
695 sysfs_bandwidth_hs_show_1( struct device *_dev, struct device_attribute *attr,char *buf) argument
708 char buf[10]; local
720 sysfs_bandwidth_fs_show_1( struct device *_dev, struct device_attribute *attr,char *buf) argument
733 char buf[10]; local
745 sysfs_bandwidth_ls_show_1( struct device *_dev, struct device_attribute *attr,char *buf) argument
758 char buf[10]; local
770 sysfs_bandwidth_hs_show_2( struct device *_dev, struct device_attribute *attr,char *buf) argument
783 char buf[10]; local
795 sysfs_bandwidth_fs_show_2( struct device *_dev, struct device_attribute *attr,char *buf) argument
808 char buf[10]; local
820 sysfs_bandwidth_ls_show_2( struct device *_dev, struct device_attribute *attr,char *buf) argument
833 char buf[10]; local
844 bandwidth_hs_show(char *buf) argument
848 bandwidth_fs_show(char *buf) argument
852 bandwidth_ls_show(char *buf) argument
889 procfs_bandwidth_hs_show(char *buf, char **start, off_t offset, int count, int *eof, void *data) argument
893 procfs_bandwidth_fs_show(char *buf, char **start, off_t offset, int count, int *eof, void *data) argument
897 procfs_bandwidth_ls_show(char *buf, char **start, off_t offset, int count, int *eof, void *data) argument
903 char buf[10]; local
914 char buf[10]; local
925 char buf[10]; local
936 sysfs_bandwidth_hs_show( struct device *_dev, struct device_attribute *attr,char *buf) argument
949 char buf[10]; local
961 sysfs_bandwidth_fs_show( struct device *_dev, struct device_attribute *attr,char *buf) argument
974 char buf[10]; local
986 sysfs_bandwidth_ls_show( struct device *_dev, struct device_attribute *attr,char *buf) argument
999 char buf[10]; local
1014 pkt_count_limit_bi_show_1(char *buf) argument
1018 pkt_count_limit_bo_show_1(char *buf) argument
1032 pkt_count_limit_bi_show_2(char *buf) argument
1036 pkt_count_limit_bo_show_2(char *buf) argument
1050 procfs_pkt_count_limit_bi_show_1(char *buf, char **start, off_t offset, int count, int *eof, void *data) argument
1054 procfs_pkt_count_limit_bo_show_1(char *buf, char **start, off_t offset, int count, int *eof, void *data) argument
1060 char buf[10]; local
1071 char buf[10]; local
1080 procfs_pkt_count_limit_bi_show_2(char *buf, char **start, off_t offset, int count, int *eof, void *data) argument
1084 procfs_pkt_count_limit_bo_show_2(char *buf, char **start, off_t offset, int count, int *eof, void *data) argument
1090 char buf[10]; local
1101 char buf[10]; local
1112 sysfs_pkt_count_limit_bi_show_1( struct device *_dev, struct device_attribute *attr,char *buf) argument
1125 char buf[10]; local
1137 sysfs_pkt_count_limit_bo_show_1( struct device *_dev, struct device_attribute *attr,char *buf) argument
1150 char buf[10]; local
1162 sysfs_pkt_count_limit_bi_show_2( struct device *_dev, struct device_attribute *attr,char *buf) argument
1175 char buf[10]; local
1187 sysfs_pkt_count_limit_bo_show_2( struct device *_dev, struct device_attribute *attr,char *buf) argument
1200 char buf[10]; local
1211 pkt_count_limit_bi_show(char *buf) argument
1215 pkt_count_limit_bo_show(char *buf) argument
1229 procfs_pkt_count_limit_bi_show(char *buf, char **start, off_t offset, int count, int *eof, void *data) argument
1233 procfs_pkt_count_limit_bo_show(char *buf, char **start, off_t offset, int count, int *eof, void *data) argument
1239 char buf[10]; local
1250 char buf[10]; local
1261 sysfs_pkt_count_limit_bi_show( struct device *_dev, struct device_attribute *attr,char *buf) argument
1274 char buf[10]; local
1286 sysfs_pkt_count_limit_bo_show( struct device *_dev, struct device_attribute *attr,char *buf) argument
1299 char buf[10]; local
1316 buspower_show_1(char *buf) argument
1327 buspower_show_2(char *buf) argument
1338 procfs_buspower_show_1(char *buf, char **start, off_t offset, int count, int *eof, void *data) argument
1344 char buf[10]; local
1353 procfs_buspower_show_2(char *buf, char **start, off_t offset, int count, int *eof, void *data) argument
1359 char buf[10]; local
1370 sysfs_buspower_show_1( struct device *_dev, struct device_attribute *attr,char *buf) argument
1383 char buf[10]; local
1395 sysfs_buspower_show_2( struct device *_dev, struct device_attribute *attr,char *buf) argument
1408 char buf[10]; local
1419 buspower_show(char *buf) argument
1430 procfs_buspower_show(char *buf, char **start, off_t offset, int count, int *eof, void *data) argument
1436 char buf[10]; local
1446 sysfs_buspower_show( struct device *_dev, struct device_attribute *attr,char *buf) argument
1459 char buf[10]; local
1477 bussuspend_show_1(char *buf) argument
1483 bussuspend_show_2(char *buf) argument
1490 procfs_bussuspend_show_1(char *buf, char **start, off_t offset, int count, int *eof, void *data) argument
1494 procfs_bussuspend_show_2(char *buf, char **start, off_t offset, int count, int *eof, void *data) argument
1499 sysfs_bussuspend_show_1( struct device *_dev, struct device_attribute *attr,char *buf) argument
1508 sysfs_bussuspend_show_2( struct device *_dev, struct device_attribute *attr,char *buf) argument
1517 bussuspend_show(char *buf) argument
1523 procfs_bussuspend_show(char *buf, char **start, off_t offset, int count, int *eof, void *data) argument
1529 sysfs_bussuspend_show( struct device *_dev, struct device_attribute *attr,char *buf) argument
1544 busconnected_show_1(char *buf) argument
1550 busconnected_show_2(char *buf) argument
1557 procfs_busconnected_show_1(char *buf, char **start, off_t offset, int count, int *eof, void *data) argument
1561 procfs_busconnected_show_2(char *buf, char **start, off_t offset, int count, int *eof, void *data) argument
1566 sysfs_busconnected_show_1( struct device *_dev, struct device_attribute *attr,char *buf) argument
1575 sysfs_busconnected_show_2( struct device *_dev, struct device_attribute *attr,char *buf) argument
1584 busconnected_show(char *buf) argument
1590 procfs_busconnected_show(char *buf, char **start, off_t offset, int count, int *eof, void *data) argument
1596 sysfs_busconnected_show( struct device *_dev, struct device_attribute *attr,char *buf) argument
1611 connectspeed_show_1(char *buf) argument
1620 connectspeed_show_2(char *buf) argument
1630 procfs_connectspeed_show_1(char *buf, char **start, off_t offset, int count, int *eof, void *data) argument
1634 procfs_connectspeed_show_2(char *buf, char **start, off_t offset, int count, int *eof, void *data) argument
1639 sysfs_connectspeed_show_1( struct device *_dev, struct device_attribute *attr,char *buf) argument
1648 sysfs_connectspeed_show_2( struct device *_dev, struct device_attribute *attr,char *buf) argument
1657 connectspeed_show(char *buf) argument
1667 procfs_connectspeed_show(char *buf, char **start, off_t offset, int count, int *eof, void *data) argument
1673 sysfs_connectspeed_show( struct device *_dev, struct device_attribute *attr,char *buf) argument
1692 devspeed_show(char *buf) argument
1702 procfs_devspeed_show(char *buf, char **start, off_t offset, int count, int *eof, void *data) argument
1708 sysfs_devspeed_show( struct device *_dev, struct device_attribute *attr,char *buf) argument
1717 enumspeed_show(char *buf) argument
1727 procfs_enumspeed_show(char *buf, char **start, off_t offset, int count, int *eof, void *data) argument
1733 sysfs_enumspeed_show( struct device *_dev, struct device_attribute *attr,char *buf) argument
1760 procfs_dump_reg_show_1(char *buf, char **start, off_t offset, int count, int *eof, void *data) argument
1765 procfs_dump_reg_show_2(char *buf, char **start, off_t offset, int count, int *eof, void *data) argument
1771 sysfs_dump_reg_show_1( struct device *_dev, struct device_attribute *attr,char *buf) argument
1781 sysfs_dump_reg_show_2( struct device *_dev, struct device_attribute *attr,char *buf) argument
1800 procfs_dump_reg_show(char *buf, char **start, off_t offset, int count, int *eof, void *data) argument
1806 sysfs_dump_reg_show( struct device *_dev, struct device_attribute *attr,char *buf) argument
1836 procfs_dump_spram_show_1(char *buf, char **start, off_t offset, int count, int *eof, void *data) argument
1841 procfs_dump_spram_show_2(char *buf, char **start, off_t offset, int count, int *eof, void *data) argument
1847 sysfs_dump_spram_show_1( struct device *_dev, struct device_attribute *attr,char *buf) argument
1858 sysfs_dump_spram_show_2( struct device *_dev, struct device_attribute *attr,char *buf) argument
1877 procfs_dump_spram_show(char *buf, char **start, off_t offset, int count, int *eof, void *data) argument
1883 sysfs_dump_spram_show( struct device *_dev, struct device_attribute *attr,char *buf) argument
1904 procfs_dump_host_state_show_1(char *buf, char **start, off_t offset, int count, int *eof, void *data) argument
1909 procfs_dump_host_state_show_2(char *buf, char **start, off_t offset, int count, int *eof, void *data) argument
1915 sysfs_dump_host_state_show_1( struct device *_dev, struct device_attribute *attr,char *buf) argument
1925 sysfs_dump_host_state_show_2( struct device *_dev, struct device_attribute *attr,char *buf) argument
1935 procfs_dump_host_state_show(char *buf, char **start, off_t offset, int count, int *eof, void *data) argument
1941 sysfs_dump_host_state_show( struct device *_dev, struct device_attribute *attr,char *buf) argument
2023 char buf[10]; local
2039 char buf[10]; local
2051 char buf[10]; local
2067 char buf[10]; local
2082 char buf[10]; local
2098 char buf[10]; local
2127 probe_host_2_show(char *buf) argument
2136 probe_host_1_show(char *buf) argument
2147 char buf[10]; local
2156 procfs_probe_host_2_show(char *buf, char **start, off_t offset, int count, int *eof, void *data) argument
2161 sysfs_probe_host_2_show( struct device *_dev, struct device_attribute *attr,char *buf) argument
2174 char buf[10]; local
2186 char buf[10]; local
2195 procfs_probe_host_1_show(char *buf, char **start, off_t offset, int count, int *eof, void *data) argument
2200 sysfs_probe_host_1_show( struct device *_dev, struct device_attribute *attr,char *buf) argument
2213 char buf[10]; local
2226 probe_host_show(char *buf) argument
2237 char buf[10]; local
2246 procfs_probe_host_show(char *buf, char **start, off_t offset, int count, int *eof, void *data) argument
2251 sysfs_probe_host_show( struct device *_dev, struct device_attribute *attr,char *buf) argument
2264 char buf[10]; local
2330 char buf[10]; local
2345 char buf[10]; local
2358 probe_device_show(char *buf) argument
2381 char buf[10]; local
2390 procfs_probe_device_show(char *buf, char **start, off_t offset, int count, int *eof, void *data) argument
2395 sysfs_probe_device_show( struct device *_dev, struct device_attribute *attr,char *buf) argument
2408 char buf[10]; local
2423 autoprobe_timer2_val_show(char *buf) argument
2429 char buf[10]; local
2439 procfs_autoprobe_timer2_val_show(char *buf, char **start, off_t offset, int count, int *eof, void *data) argument
2444 sysfs_autoprobe_timer2_val_show( struct device *_dev, struct device_attribute *attr,char *buf) argument
2457 char buf[10]; local
2468 autoprobe_timer1_val_show(char *buf) argument
2474 char buf[10]; local
2484 procfs_autoprobe_timer1_val_show(char *buf, char **start, off_t offset, int count, int *eof, void *data) argument
2489 sysfs_autoprobe_timer1_val_show( struct device *_dev, struct device_attribute *attr,char *buf) argument
2502 char buf[10]; local
2513 probe_timer2_val_show(char *buf) argument
2519 char buf[10]; local
2529 procfs_probe_timer2_val_show(char *buf, char **start, off_t offset, int count, int *eof, void *data) argument
2534 sysfs_probe_timer2_val_show( struct device *_dev, struct device_attribute *attr,char *buf) argument
2547 char buf[10]; local
2558 probe_timer1_val_show(char *buf) argument
2564 char buf[10]; local
2574 procfs_probe_timer1_val_show(char *buf, char **start, off_t offset, int count, int *eof, void *data) argument
2579 sysfs_probe_timer1_val_show( struct device *_dev, struct device_attribute *attr,char *buf) argument
2592 char buf[10]; local
2607 autoprobe_timer_val_show(char *buf) argument
2613 char buf[10]; local
2623 procfs_autoprobe_timer_val_show(char *buf, char **start, off_t offset, int count, int *eof, void *data) argument
2628 sysfs_autoprobe_timer_val_show( struct device *_dev, struct device_attribute *attr,char *buf) argument
2641 char buf[10]; local
2651 probe_timer_val_show(char *buf) argument
2657 char buf[10]; local
2667 procfs_probe_timer_val_show(char *buf, char **start, off_t offset, int count, int *eof, void *data) argument
2672 sysfs_probe_timer_val_show( struct device *_dev, struct device_attribute *attr,char *buf) argument
2685 char buf[10]; local
2702 autoprobe_timer_val_show(char *buf) argument
2708 char buf[10]; local
2718 procfs_autoprobe_timer_val_show(char *buf, char **start, off_t offset, int count, int *eof, void *data) argument
2723 sysfs_autoprobe_timer_val_show( struct device *_dev, struct device_attribute *attr,char *buf) argument
2736 char buf[10]; local
2746 probe_timer_val_show(char *buf) argument
2752 char buf[10]; local
2762 procfs_probe_timer_val_show(char *buf, char **start, off_t offset, int count, int *eof, void *data) argument
2767 sysfs_probe_timer_val_show( struct device *_dev, struct device_attribute *attr,char *buf) argument
2780 char buf[10]; local
[all...]
/openwrt/tools/firmware-utils/src/
H A Dairlink.c154 uint32_t crc32(uchar * buf, uint32_t len) argument
161 s0 = (s0 >> 8) ^ crctab[(uchar) (s0 & 0xFF) ^ buf[i]];
243 uchar *buf = malloc(len); local
244 read(fd, buf, len);
248 if (ntohl(*((uint32_t *) buf)) == MagicS) {
251 buf[0x10] = len & 0xff;
252 buf[0x11] = (len >> 8) & 0xff;
253 buf[0x12] = (len >> 16) & 0xff;
254 buf[0x13] = (len >> 24) & 0xff;
256 write(fd, buf
[all...]
H A Dmd5.h55 UINT4 buf[4]; /* scratch buffer */ member in struct:__anon279
H A Dmkmerakifw.c124 void writel(unsigned char *buf, size_t offset, uint32_t value) argument
127 memcpy(buf + offset, &value, sizeof(uint32_t));
137 unsigned char *buf; local
219 buf = malloc(buflen);
220 if (buf == NULL) {
224 memset(buf, PADDING_BYTE, buflen);
227 kernel = buf + HDR_LENGTH;
231 writel(buf, HDR_OFF_MAGIC1, board->magic);
232 writel(buf, HDR_OFF_MAGIC2, board->magic);
233 writel(buf, HDR_OFF_FILLE
[all...]
H A Dadd_header.c22 * The add_header utility used by various vendors preprends the buf
24 * model id + reserved space for CRC32 + buf, then replaces the reserved
58 static uint32_t crc32buf(unsigned char *buf, size_t len) argument
62 for (; len; len--, buf++)
63 crc = crc32[(uint8_t)crc ^ *buf] ^ (crc >> BPB);
84 off_t len; // of original buf
89 unsigned char *buf; // pointer to prefix + copy of original buf local
115 buf = malloc(buflen);
116 memcpy(buf,
[all...]
/openwrt/target/linux/adm5120/image/lzma-loader/src/
H A Dprintf.c49 char buf[LP_MAX_BUF]; local
132 length = PrintNum(buf, num, 2, 0, width, ladjust, padc, 0);
133 OUTPUT(arg, buf, length);
147 length = PrintNum(buf, num, 10, negFlag, width, ladjust, padc, 0);
148 OUTPUT(arg, buf, length);
158 length = PrintNum(buf, num, 8, 0, width, ladjust, padc, 0);
159 OUTPUT(arg, buf, length);
169 length = PrintNum(buf, num, 10, 0, width, ladjust, padc, 0);
170 OUTPUT(arg, buf, length);
179 length = PrintNum(buf, nu
224 PrintChar(char * buf, char c, int length, int ladjust) argument
240 PrintString(char * buf, char* s, int length, int ladjust) argument
259 PrintNum(char * buf, unsigned long u, int base, int negFlag, int length, int ladjust, char padc, int upcase) argument
[all...]
/openwrt/target/linux/ar71xx/image/lzma-loader/src/
H A Dprintf.c49 char buf[LP_MAX_BUF]; local
132 length = PrintNum(buf, num, 2, 0, width, ladjust, padc, 0);
133 OUTPUT(arg, buf, length);
147 length = PrintNum(buf, num, 10, negFlag, width, ladjust, padc, 0);
148 OUTPUT(arg, buf, length);
158 length = PrintNum(buf, num, 8, 0, width, ladjust, padc, 0);
159 OUTPUT(arg, buf, length);
169 length = PrintNum(buf, num, 10, 0, width, ladjust, padc, 0);
170 OUTPUT(arg, buf, length);
179 length = PrintNum(buf, nu
224 PrintChar(char * buf, char c, int length, int ladjust) argument
240 PrintString(char * buf, char* s, int length, int ladjust) argument
259 PrintNum(char * buf, unsigned long u, int base, int negFlag, int length, int ladjust, char padc, int upcase) argument
[all...]
/openwrt/target/linux/brcm63xx/image/lzma-loader/src/
H A Dprintf.c49 char buf[LP_MAX_BUF]; local
132 length = PrintNum(buf, num, 2, 0, width, ladjust, padc, 0);
133 OUTPUT(arg, buf, length);
147 length = PrintNum(buf, num, 10, negFlag, width, ladjust, padc, 0);
148 OUTPUT(arg, buf, length);
158 length = PrintNum(buf, num, 8, 0, width, ladjust, padc, 0);
159 OUTPUT(arg, buf, length);
169 length = PrintNum(buf, num, 10, 0, width, ladjust, padc, 0);
170 OUTPUT(arg, buf, length);
179 length = PrintNum(buf, nu
224 PrintChar(char * buf, char c, int length, int ladjust) argument
240 PrintString(char * buf, char* s, int length, int ladjust) argument
259 PrintNum(char * buf, unsigned long u, int base, int negFlag, int length, int ladjust, char padc, int upcase) argument
[all...]
/openwrt/target/linux/generic/image/lzma-loader/src/
H A Dprint.c44 char buf[LP_MAX_BUF]; local
127 length = PrintNum(buf, num, 2, 0, width, ladjust, padc, 0);
128 OUTPUT(arg, buf, length);
142 length = PrintNum(buf, num, 10, negFlag, width, ladjust, padc, 0);
143 OUTPUT(arg, buf, length);
153 length = PrintNum(buf, num, 8, 0, width, ladjust, padc, 0);
154 OUTPUT(arg, buf, length);
164 length = PrintNum(buf, num, 10, 0, width, ladjust, padc, 0);
165 OUTPUT(arg, buf, length);
174 length = PrintNum(buf, nu
219 PrintChar(char * buf, char c, int length, int ladjust) argument
235 PrintString(char * buf, char* s, int length, int ladjust) argument
254 PrintNum(char * buf, unsigned long u, int base, int negFlag, int length, int ladjust, char padc, int upcase) argument
[all...]
/openwrt/target/linux/lantiq/image/lzma-loader/src/
H A Dprintf.c49 char buf[LP_MAX_BUF]; local
132 length = PrintNum(buf, num, 2, 0, width, ladjust, padc, 0);
133 OUTPUT(arg, buf, length);
147 length = PrintNum(buf, num, 10, negFlag, width, ladjust, padc, 0);
148 OUTPUT(arg, buf, length);
158 length = PrintNum(buf, num, 8, 0, width, ladjust, padc, 0);
159 OUTPUT(arg, buf, length);
169 length = PrintNum(buf, num, 10, 0, width, ladjust, padc, 0);
170 OUTPUT(arg, buf, length);
179 length = PrintNum(buf, nu
224 PrintChar(char * buf, char c, int length, int ladjust) argument
240 PrintString(char * buf, char* s, int length, int ladjust) argument
259 PrintNum(char * buf, unsigned long u, int base, int negFlag, int length, int ladjust, char padc, int upcase) argument
[all...]
/openwrt/target/linux/ramips/image/lzma-loader/src/
H A Dprintf.c49 char buf[LP_MAX_BUF]; local
132 length = PrintNum(buf, num, 2, 0, width, ladjust, padc, 0);
133 OUTPUT(arg, buf, length);
147 length = PrintNum(buf, num, 10, negFlag, width, ladjust, padc, 0);
148 OUTPUT(arg, buf, length);
158 length = PrintNum(buf, num, 8, 0, width, ladjust, padc, 0);
159 OUTPUT(arg, buf, length);
169 length = PrintNum(buf, num, 10, 0, width, ladjust, padc, 0);
170 OUTPUT(arg, buf, length);
179 length = PrintNum(buf, nu
224 PrintChar(char * buf, char c, int length, int ladjust) argument
240 PrintString(char * buf, char* s, int length, int ladjust) argument
259 PrintNum(char * buf, unsigned long u, int base, int negFlag, int length, int ladjust, char padc, int upcase) argument
[all...]
/openwrt/package/system/mtd/src/
H A Dcrc32.h19 static inline unsigned int crc32buf(char *buf, size_t len) argument
21 return crc32(0xFFFFFFFF, buf, len);
H A Dmd5.h55 UINT4 buf[4]; /* scratch buffer */ member in struct:__anon104
/openwrt/scripts/flashing/
H A Djungo-image.py67 buf = tn.read_until("Returned 0", 3)
68 if not buf:
70 elif buf.find('rev 0') > 0:
78 buf = tn.read_until("Returned 0", 3)
79 if buf:
80 i = buf.find('mtd0:')
82 return int(buf[i+6:].split()[0],16)
85 buf = tn.read_until("Returned 0", 3)
86 i = buf.rfind('Range ')
88 return int(buf[
222 buf = tn.read_until("Username: ", 3) variable
227 buf = tn.read_until("Password: ", 3) variable
233 buf = tn.read_until("> ", 3) variable
265 buf = tn.read_until("Returned 0",5) variable
271 buf = tn.read_until("Returned 0",10) variable
274 buf = tn.read_until("Download completed successfully",20) variable
[all...]
/openwrt/package/network/services/ead/src/tinysrp/
H A Dt_getpass.c55 t_getpass (buf, maxlen, prompt)
56 char *buf;
69 fgets(buf, maxlen, stdin) == NULL) {
73 cp = buf + strlen(buf) - 1;
152 if (fgets (buf, maxlen, fp) == buf) {
153 if ((cp = strchr (buf, '\n')))
156 buf[maxlen - 1] = '\0';
162 else buf[
[all...]
/openwrt/package/network/utils/maccalc/src/
H A Dmain.c28 static int parse_mac(const char *mac_str, unsigned char *buf) argument
33 &buf[0], &buf[1], &buf[2], &buf[3], &buf[4], &buf[5]);
41 static void print_mac(unsigned char *buf) argument
44 buf[0], buf[
128 read_safe(int fd, void *buf, size_t count) argument
[all...]

Completed in 129 milliseconds

123456789