/asus-wl-520gu-7.0.1.45/src/router/iproute2/ip/ |
H A D | ipmaddr.c | 45 static int parse_hex(char *str, unsigned char *addr) argument 49 while (*str) { 51 if (str[1] == 0) 53 if (sscanf(str, "%02x", &tmp) != 1) 57 str += 2;
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/video/sti/ |
H A D | sticore.c | 254 sti_setup(char *str) argument 256 if (str) 257 strncpy (default_sti_path, str, sizeof (default_sti_path)); 277 static int __init sti_font_setup(char *str) argument 285 while (i<MAX_STI_ROMS && str && *str) { 286 if (*str>='0' && *str<='9') { 287 if ((x = strchr(str, 'x')) || (x = strchr(str, '*'))) { [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/init/ |
H A D | do_mounts.c | 41 static int __init no_initrd(char *str) argument 62 static int __init load_ramdisk(char *str) argument 64 rd_doload = simple_strtol(str,NULL,0) & 3; 69 static int __init readonly(char *str) argument 71 if (*str) 77 static int __init readwrite(char *str) argument 79 if (*str) 300 static int __init root_data_setup(char *str) argument 302 root_mount_data = str; 307 static int __init fs_names_setup(char *str) argument 445 prompt_ramdisk(char *str) argument 454 ramdisk_start_setup(char *str) argument [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/ppc/platforms/ |
H A D | residual.c | 610 char * str) 613 if (strlen(str)!=7) return 0; 614 if ( ( ((vendor>>10)&0x1f)+'A'-1 == str[0]) && 615 ( ((vendor>>5)&0x1f)+'A'-1 == str[1]) && 616 ( (vendor&0x1f)+'A'-1 == str[2]) && 617 (hexdigit[(Number>>12)&0x0f] == str[3]) && 618 (hexdigit[(Number>>8)&0x0f] == str[4]) && 619 (hexdigit[(Number>>4)&0x0f] == str[5]) && 620 (hexdigit[Number&0x0f] == str[6]) ) return 1; 608 same_DevID(unsigned short vendor, unsigned short Number, char * str) argument
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/s390/block/ |
H A D | xpram.c | 395 char *str = *strptr; local 398 while ( (*str == ',') && (i < maxl) ) { 399 str++; 400 ilist[i] = xpram_read_size(&str); 402 xpram_scan_to_next_comma(&str); 864 * str: substring of kernel parameter line that contains xprams 877 void xpram_setup (char *str, int *ints) argument 879 int xpram_setup (char *str) 882 devs = xpram_read_int(&str); 884 if ( xpram_read_size_list_tail(&str,dev [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/sound/emu10k1/ |
H A D | cardwo.c | 400 static void copy_block(void **dst, u32 str, u8 *src, u32 len) argument 406 pg = str / PAGE_SIZE; 407 pgoff = str % PAGE_SIZE; 431 static void copy_ilv_block(struct woinst *woinst, u32 str, u8 *src, u32 len) argument 438 pg = str / PAGE_SIZE; 439 pgoff = str % PAGE_SIZE; 463 static void fill_block(struct woinst *woinst, u32 str, u8 data, u32 len) argument 471 pg = str / PAGE_SIZE; 472 pgoff = str % PAGE_SIZE;
|
/asus-wl-520gu-7.0.1.45/src/router/ppp/pppd/ |
H A D | ccp.c | 199 char *str, *endp; local 201 str = *argv; 202 abits = rbits = strtol(str, &endp, 0); 203 if (endp != str && *endp == ',') { 204 str = endp + 1; 205 abits = strtol(str, &endp, 0); 207 if (*endp != 0 || endp == str) { 238 char *str, *endp; local 240 str = *argv; 241 abits = rbits = strtol(str, [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/arm/kernel/ |
H A D | traps.c | 63 static void dump_mem(const char *str, unsigned long bottom, unsigned long top) argument 68 printk("%s(0x%08lx to 0x%08lx)\n", str, bottom, top); 156 NORET_TYPE void die(const char *str, struct pt_regs *regs, int err) argument 163 printk("Internal error: %s: %x\n", str, err); 192 void die_if_kernel(const char *str, struct pt_regs *regs, int err) argument 197 die(str, regs, err);
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/media/video/ |
H A D | cpia_pp.c | 696 static int __init cpia_pp_setup(char *str) argument 698 if (!strncmp(str, "parport", 7)) { 699 int n = simple_strtoul(str + 7, NULL, 10); 703 LOG("too many ports, %s ignored.\n", str); 705 } else if (!strcmp(str, "auto")) { 707 } else if (!strcmp(str, "none")) {
|
/asus-wl-520gu-7.0.1.45/src/cfe/cfe/ui/ |
H A D | ui_command.c | 376 static void _dumpindented(char *str,int amt) argument 383 dupstr = strdup(str); 402 static void _dumpswitches(char *str) argument 410 switches = strdup(str); 722 static ui_token_t *make_token(char *str,int len) argument 726 memcpy(&(t->token),str,len); 882 static void cmd_append_tokens(queue_t *qb,char *str) argument 887 cmd_build_list(&explist,str);
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/irda/ |
H A D | parameters.c | 277 char str[33]; local 297 strncpy(str, buf+2, p.pl); 299 IRDA_DEBUG(2, __FUNCTION__ "(), str=0x%02x 0x%02x\n", (__u8) str[0], 300 (__u8) str[1]); 303 str[p.pl+1] = '\0'; 305 p.pv.c = str; /* Handler will need to take a copy */
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/scripts/cramfs/ |
H A D | cramfsck.c | 236 char *str; local 238 str = malloc(strlen(outbuffer) + strlen(path) + 5); 239 strcpy(str, path); 240 strncat(str, " -> ", 4); 241 strncat(str, outbuffer, size); 243 print_node('l', i, str);
|
/asus-wl-520gu-7.0.1.45/src/router/LPRng/src/common/ |
H A D | lpc.c | 148 char *str, *t; local 160 str = user_list.list[i]; 161 DEBUG2("lpc: checking '%s'", str ); 162 uid = strtol( str, &t, 10 ); 163 if( str == t || *t ){ 165 pw = getpwnam( str );
|
/asus-wl-520gu-7.0.1.45/src/router/busybox/ |
H A D | sed.c | 145 static int index_of_next_unescaped_regexp_delim(struct sed_cmd *sed_cmd, const char *str, int idx) argument 147 for ( ; str[idx]; idx++) { 148 if (str[idx] == sed_cmd->delimiter && str[idx-1] != '\\') 159 static int get_address(struct sed_cmd *sed_cmd, const char *str, int *linenum, regex_t **regex) argument 161 char *my_str = strdup(str);
|
/asus-wl-520gu-7.0.1.45/src/router/e2fsprogs-1.40.8/tests/progs/ |
H A D | test_rel.c | 39 const char *str, ext2_ino_t *ino) 43 *ino = strtoul(str, &tmp, 0); 45 com_err(request, 0, "Bad %s - %s", desc, str); 55 const char *str, blk_t *blk) 59 *blk = strtoul(str, &tmp, 0); 61 com_err(request, 0, "Bad %s - %s", desc, str); 38 parse_inode(const char *request, const char *desc, const char *str, ext2_ino_t *ino) argument 54 parse_block(const char *request, const char *desc, const char *str, blk_t *blk) argument
|
/asus-wl-520gu-7.0.1.45/src/router/infosvr/ |
H A D | infosvr.c | 326 void deCR(char *str)
argument 330 len = strlen(str);
333 if (*(str+i) == '\r' || *(str+i) == '\n', *(str+i) == '"')
335 *(str+i) = 0;
|
/asus-wl-520gu-7.0.1.45/src/router/wlconf/ |
H A D | wlconf.c | 409 struct {char *req; char *str;} mode[] = {{"wme_ac_sta", "sta"}, {"wme_ac_ap", "ap"}, member in struct:__anon12540 427 snprintf(nv, sizeof(nv), nv_name, prefix, mode[i].str, ac[j]); 499 snprintf(nv, sizeof(nv), nv_name, prefix, mode[2].str, ac[j]); 863 char var[80], *next, phy[] = "a", *str, *addr = NULL; local 1074 str = nvram_safe_get(strcat_r(prefix, "mode", tmp)); 1075 ap = (!strcmp(str, "") || !strcmp(str, "ap")); 1076 apsta = (!strcmp(str, "apsta") || 1077 ((!strcmp(str, "sta") || !strcmp(str, "we [all...] |
/asus-wl-520gu-7.0.1.45/src/shared/ |
H A D | bcmstdlib.c | 450 BCMROMFN(strchr)(const char *str, int c) argument 452 char *x = (char *)str; 462 BCMROMFN(strrchr)(const char *str, int c) argument 467 if (*str == (char) c) 468 save = (char*)(str); 469 } while (*str++ != '\0');
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/s390/char/ |
H A D | tape.c | 227 tape_split_parm_string (char *str) argument 229 char *tmp = str; 257 tape_parm_setup (char *str, int *ints) argument 263 strcat (tape_parm_string, str); 267 tape_parm_call_setup (char *str) argument 270 tape_parm_setup (str, &dummy); 280 tape_parm_strtoul (char *str, char **stra) argument 282 char *temp = str; 308 tape_parm_parse (char **str) argument 316 if (*str [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/net/ |
H A D | sb1250-mac.c | 2242 * SBMAC_PARSE_XDIGIT(str) 2247 * str - character 2253 static int sbmac_parse_xdigit(char str) argument 2257 if ((str >= '0') && (str <= '9')) 2258 digit = str - '0'; 2259 else if ((str >= 'a') && (str <= 'f')) 2260 digit = str - 'a' + 10; 2261 else if ((str > 2283 sbmac_parse_hwaddr(char *str, unsigned char *hwaddr) argument [all...] |
/asus-wl-520gu-7.0.1.45/src/cfe/cfe/arch/mips/cpu/sb1250/src/ |
H A D | dev_sb1250_ethernet.c | 1642 * SBETH_PARSE_XDIGIT(str) 1647 * str - character 1653 static int sbeth_parse_xdigit(char str) argument 1657 if ((str >= '0') && (str <= '9')) digit = str - '0'; 1658 else if ((str >= 'a') && (str <= 'f')) digit = str - 'a' + 10; 1659 else if ((str > 1679 sbeth_parse_hwaddr(char *str,uint8_t *hwaddr) argument [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/mips/sni/ |
H A D | pci.c | 176 pcibios_setup(char *str) argument 180 return str;
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/s390/kernel/ |
H A D | traps.c | 263 void die(const char * str, struct pt_regs * regs, long err) argument 268 printk("%s: %04lx\n", str, err & 0xffff); 275 static void inline do_trap(long interruption_code, int signr, char *str, argument 311 die(str, regs, interruption_code); 343 #define DO_ERROR(signr, str, name) \ 346 do_trap(interruption_code, signr, str, regs, NULL); \ 349 #define DO_ERROR_INFO(signr, str, name, sicode, siaddr) \ 357 do_trap(interruption_code, signr, str, regs, &info); \
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/sh/lib/ |
H A D | strlen.S | 44 cmp/str r3,r1
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/sparc/boot/ |
H A D | piggyback.c | 64 void die(char *str) argument 66 perror (str);
|