Home
last modified time | relevance | path

Searched refs:valstr (Results 1 – 6 of 6) sorted by relevance

/external/ppp/pppd/plugins/radius/
Dutil.c33 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()
Ddict.c41 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()
Davpair.c526 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/chromium_org/third_party/yasm/source/patched-yasm/libyasm/tests/
Dleb128_test.c78 char *valstr = yasm__xstrdup(test->input); in run_output_test() local
79 yasm_intnum *intn = yasm_intnum_create_hex(valstr); in run_output_test()
84 yasm_xfree(valstr); in run_output_test()
128 char *valstr = yasm__xstrdup(test->input); in run_input_test() local
129 yasm_intnum *intn = yasm_intnum_create_hex(valstr); in run_input_test()
133 yasm_xfree(valstr); in run_input_test()
/external/iputils/Modules/
Dpg3.c553 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/main/coregrind/
Dm_libcproc.c117 HChar *valstr = VG_(arena_malloc)(VG_AR_CORE, "libcproc.es.1", in VG_() local
121 VG_(sprintf)(valstr, "%s=%s", varname, val); in VG_()
125 *cpp = valstr; in VG_()
132 env[0] = valstr; in VG_()
144 *cpp++ = valstr; in VG_()