/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/ltp/testcases/kernel/controllers/cpuset/cpuset_lib/ |
D | cpuinfo.c | 33 char *istr = NULL, *valstr = NULL, *saveptr = NULL; in get_cpu_baseinfo() local 62 valstr = strchr(saveptr, ':'); in get_cpu_baseinfo() 63 if (valstr == NULL) in get_cpu_baseinfo() 65 valstr++; in get_cpu_baseinfo() 66 sscanf(valstr, " %d\n", &data); in get_cpu_baseinfo()
|
/external/toybox/toys/pending/ |
D | dhcp.c | 389 char *option, *valstr, *grp, *tp; in strtoopt() local 423 valstr = strtok(NULL, "\n"); in strtoopt() 424 if (!valstr) error_exit("option %s has no value defined.\n", option); in strtoopt() 425 dbg(" value : %-20s \n ", valstr); in strtoopt() 430 convtmp = strtou32(valstr); in strtoopt() 431 if (convtmp < 0) error_exit("Invalid/wrong formated number %s", valstr); in strtoopt() 438 convtmp = strtou32(valstr); in strtoopt() 439 if (convtmp < 0) error_exit("Invalid/malformed number %s", valstr); in strtoopt() 446 convtmp = strtou32(valstr); in strtoopt() 447 if (convtmp < 0) error_exit("Invalid/malformed number %s", valstr); in strtoopt() [all …]
|
D | dhcpd.c | 544 char *option, *valstr, *grp, *tp; in strtoopt() local 579 if (!(valstr = strtok(NULL, " \t"))) { in strtoopt() 583 dbg(" value : %-20s : ", valstr); in strtoopt() 588 strtou32(valstr, &convtmp); in strtoopt() 594 strtou32(valstr, &convtmp); in strtoopt() 600 strtou32(valstr, &convtmp); in strtoopt() 606 striptovar(valstr, options_list[count].val); in strtoopt() 609 options_list[count].len = strlen(valstr); in strtoopt() 610 options_list[count].val = strdup(valstr); in strtoopt() 613 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/gflags/src/ |
D | util.h | 341 inline bool SafeGetEnv(const char *varname, std::string &valstr) 347 valstr = val; 352 valstr = val;
|
D | gflags.cc | 1367 std::string valstr; in GetFromEnv() local 1368 if (SafeGetEnv(varname, valstr)) { in GetFromEnv() 1370 if (!ifv.ParseFrom(valstr.c_str())) { in GetFromEnv() 1372 varname, valstr.c_str()); in GetFromEnv()
|
/external/libcups/cups/ |
D | testdest.c | 649 char valstr[256]; in show_supported() local 651 snprintf(valstr, sizeof(valstr), "%d", val); in show_supported() 652 …mString(option, ippGetInteger(attr, i)), cupsLocalizeDestValue(http, dest, dinfo, option, valstr)); in show_supported()
|