Searched refs:valstr (Results 1 – 7 of 7) sorted by relevance
/external/ppp/pppd/plugins/radius/ |
D | util.c | 33 void rc_str2tm (char *valstr, struct tm *tm) in rc_str2tm() argument 40 if (strncmp (months[i], valstr, 3) == 0) in rc_str2tm() 48 tm->tm_mday = atoi (&valstr[4]); in rc_str2tm() 51 tm->tm_year = atoi (&valstr[7]) - 1900; in rc_str2tm()
|
D | dict.c | 41 char valstr[AUTH_ID_LEN]; in rc_read_dictionary() local 108 n = sscanf(buffer, "%s%s%s%s%s", dummystr, namestr, valstr, typestr, vendorstr); in rc_read_dictionary() 136 if (!isdigit (*valstr)) in rc_read_dictionary() 143 value = atoi (valstr); in rc_read_dictionary() 212 namestr, valstr) != 4) in rc_read_dictionary() 239 if (!isdigit (*valstr)) in rc_read_dictionary() 246 value = atoi (valstr); in rc_read_dictionary()
|
D | avpair.c | 526 char valstr[AUTH_ID_LEN]; in rc_avpair_parse() local 578 rc_fieldcpy (valstr, &buffer); in rc_avpair_parse() 600 strcpy (pair->strvalue, valstr); in rc_avpair_parse() 601 pair->lvalue = strlen(valstr); in rc_avpair_parse() 605 if (isdigit (*valstr)) in rc_avpair_parse() 607 pair->lvalue = atoi (valstr); in rc_avpair_parse() 611 if ((dval = rc_dict_findval (valstr)) in rc_avpair_parse() 614 error("rc_avpair_parse: unknown attribute value: %s", valstr); in rc_avpair_parse() 630 pair->lvalue = rc_get_ipaddr(valstr); in rc_avpair_parse() 639 rc_str2tm (valstr, tm); in rc_avpair_parse()
|
/external/toybox/toys/pending/ |
D | dhcp.c | 392 char *option, *valstr, *grp, *tp; in strtoopt() local 426 valstr = strtok(NULL, "\n"); in strtoopt() 427 if (!valstr) error_exit("option %s has no value defined.\n", option); in strtoopt() 428 dbg(" value : %-20s \n ", valstr); in strtoopt() 433 convtmp = strtou32(valstr); in strtoopt() 434 if (convtmp < 0) error_exit("Invalid/wrong formated number %s", valstr); in strtoopt() 441 convtmp = strtou32(valstr); in strtoopt() 442 if (convtmp < 0) error_exit("Invalid/malformed number %s", valstr); in strtoopt() 449 convtmp = strtou32(valstr); in strtoopt() 450 if (convtmp < 0) error_exit("Invalid/malformed number %s", valstr); in strtoopt() [all …]
|
D | dhcpd.c | 390 char *option, *valstr, *grp, *tp; in strtoopt() local 425 if (!(valstr = strtok(NULL, " \t"))) { in strtoopt() 429 dbg(" value : %-20s : ", valstr); in strtoopt() 434 strtou32(valstr, &convtmp); in strtoopt() 440 strtou32(valstr, &convtmp); in strtoopt() 446 strtou32(valstr, &convtmp); in strtoopt() 452 striptovar(valstr, options_list[count].val); in strtoopt() 455 options_list[count].len = strlen(valstr); in strtoopt() 456 options_list[count].val = strdup(valstr); in strtoopt() 459 while(valstr){ in strtoopt() [all …]
|
/external/iputils/Modules/ |
D | pg3.c | 553 char name[16], valstr[32]; in proc_pg_write() local 641 char *v = valstr; in proc_pg_write() 644 len = strn_len(&buffer[i], sizeof(valstr)-1); in proc_pg_write() 645 memset(valstr, 0, sizeof(valstr)); in proc_pg_write() 646 strncpy(valstr, &buffer[i], len); in proc_pg_write()
|
/external/valgrind/coregrind/ |
D | m_libcproc.c | 117 HChar *valstr = VG_(malloc)("libcproc.es.1", len + VG_(strlen)(val) + 2); in VG_() local 120 VG_(sprintf)(valstr, "%s=%s", varname, val); in VG_() 124 *cpp = valstr; in VG_() 131 env[0] = valstr; in VG_() 142 *cpp++ = valstr; in VG_()
|