Home
last modified time | relevance | path

Searched refs:sscanf (Results 1 – 25 of 282) sorted by relevance

12345678910>>...12

/external/oprofile/libutil/
Dop_cpufreq.c39 if (sscanf(line, "cpu MHz : %lf", &fval) == 1) in op_cpu_frequency()
42 if (sscanf(line, "clock : %lfMHz", &fval) == 1) in op_cpu_frequency()
45 if (sscanf(line, "cycle frequency [Hz] : %lu", &uval) == 1) { in op_cpu_frequency()
50 if (sscanf(line, "Cpu0ClkTck : %lx", &uval) == 1) { in op_cpu_frequency()
55 if (sscanf(line, "BogoMIPS : %lu", &uval) == 1) { in op_cpu_frequency()
/external/libpng/contrib/pngminus/
Dpnm2png.c230 sscanf (width_token, "%lu", &width); in pnm2png()
232 sscanf (height_token, "%lu", &height); in pnm2png()
234 sscanf (maxval_token, "%lu", &maxval); in pnm2png()
251 sscanf (width_token, "%lu", &width); in pnm2png()
253 sscanf (height_token, "%lu", &height); in pnm2png()
255 sscanf (maxval_token, "%lu", &maxval); in pnm2png()
290 sscanf (width_token, "%lu", &alpha_width); in pnm2png()
294 sscanf (height_token, "%lu", &alpha_height); in pnm2png()
298 sscanf (maxval_token, "%lu", &maxval); in pnm2png()
521 sscanf ((const char *) token, "%lu", &ret_value); in get_value()
/external/iproute2/lib/
Drt_names.c51 if (sscanf(p, "0x%x %s\n", &id, namebuf) != 2 && in rtnl_hash_initialize()
52 sscanf(p, "0x%x %s #", &id, namebuf) != 2 && in rtnl_hash_initialize()
53 sscanf(p, "%d %s\n", &id, namebuf) != 2 && in rtnl_hash_initialize()
54 sscanf(p, "%d %s #", &id, namebuf) != 2) { in rtnl_hash_initialize()
89 if (sscanf(p, "0x%x %s\n", &id, namebuf) != 2 && in rtnl_tab_initialize()
90 sscanf(p, "0x%x %s #", &id, namebuf) != 2 && in rtnl_tab_initialize()
91 sscanf(p, "%d %s\n", &id, namebuf) != 2 && in rtnl_tab_initialize()
92 sscanf(p, "%d %s #", &id, namebuf) != 2) { in rtnl_tab_initialize()
/external/skia/src/gpu/gl/
DGrGLInterface.cpp31 int n = sscanf(versionString, "%d.%d", &major, &minor); in GrGLGetBindingInUseFromString()
38 n = sscanf(versionString, "OpenGL ES-%c%c %d.%d", profile, profile+1, in GrGLGetBindingInUseFromString()
46 n = sscanf(versionString, "OpenGL ES %d.%d", &major, &minor); in GrGLGetBindingInUseFromString()
61 int n = sscanf(versionString, "%d.%d", &major, &minor); in GrGLGetVersionFromString()
67 n = sscanf(versionString, "OpenGL ES-%c%c %d.%d", profile, profile+1, in GrGLGetVersionFromString()
73 n = sscanf(versionString, "OpenGL ES %d.%d", &major, &minor); in GrGLGetVersionFromString()
89 int n = sscanf(versionString, "%d.%d", &major, &minor); in GrGLGetGLSLVersionFromString()
94 n = sscanf(versionString, "OpenGL ES GLSL ES %d.%d", &major, &minor); in GrGLGetGLSLVersionFromString()
100 n = sscanf(versionString, "OpenGL ES GLSL %d.%d", &major, &minor); in GrGLGetGLSLVersionFromString()
/external/oprofile/daemon/liblegacy/
Dopd_parse_proc.c59 if (sscanf(line, "%lx-%lx", &start, &end) != 2) in opd_add_ascii_map()
66 if (sscanf(cp, "%lx", &offset) != 1) in opd_add_ascii_map()
185 if (sscanf(line, "Tgid: %u", &tgid) == 1) { in read_tgid()
212 if (sscanf(dirent->d_name, "%u", &pid) == 1) { in opd_get_ascii_procs()
Dopd_kernel.c58 sscanf(arg, "%lx,%lx", &kernel_start, &kernel_end); in opd_parse_kernel_range()
243 sscanf(line, "%lx", &mod->start); in opd_get_module_info()
244 sscanf(cp2, "%lu", &mod->end); in opd_get_module_info()
/external/quake/quake/src/WinQuake/
Dsnd_dos.cpp103 sscanf(param+1, "%x", &dsp_port); in GetBLASTER()
110 sscanf(param+1, "%d", &irq); in GetBLASTER()
117 sscanf(param+1, "%d", &low_dma); in GetBLASTER()
123 sscanf(param+1, "%d", &high_dma); in GetBLASTER()
129 sscanf(param+1, "%x", &mixer_port); in GetBLASTER()
137 sscanf(param+1, "%x", &mpu401_port); in GetBLASTER()
/external/webrtc/src/system_wrappers/source/
Dcpu_linux.cc125 if (sscanf(line, "%s ", firstWord) != 1) { in GetData()
137 if (sscanf(line, "%s %s %s %s %s ", in GetData()
155 if (sscanf(line, "%s %s %s %s %s ", firstWord, sUser, sNice, sSystem, in GetData()
191 if (sscanf(line, "%s ", firstWord) != 1) { in GetNumCores()
/external/bluetooth/glib/tests/
Dtype-test.c114 sscanf (string, FORMAT, &gi16t2, &gi32t2, &gu16t2, &gu32t2); in main()
126 sscanf (string, FORMAT64, &gi64t2, &gu64t2); in main()
136 sscanf (string, FORMATSIZE, &gsst2, &gst2); in main()
/external/blktrace/btt/
Dargs.c300 sscanf(optarg, "%lf", &range_delta); in handle_args()
354 sscanf(optarg, "%u", &interval); in handle_args()
359 sscanf(optarg, "%lf", &t_astart); in handle_args()
363 sscanf(optarg, "%lf", &t_aend); in handle_args()
/external/iproute2/ip/
Dipmaddr.c54 if (sscanf(str, "%02x", &tmp) != 1) in parse_hex()
100 sscanf(buf, "%d%s%d%d%s", &m.index, m.name, &m.users, &st, in read_dev_mcast()
141 sscanf(buf, "%d%s", &m.index, m.name); in read_igmp()
148 sscanf(buf, "%08x%d", (__u32*)&m.addr.data, &m.users); in read_igmp()
172 sscanf(buf, "%d%s%s%d", &m.index, m.name, hexa, &m.users); in read_igmp6()
Dipmroute.c67 if (sscanf(buf, "%d%s", &vifi, dev) < 2) in read_viftable()
98 if (sscanf(buf, "%x%x%d%u%u%u %[^\n]", in read_mroute_list()
137 if (sscanf(p, "%d:%d", &ovifi, &ottl)<2) { in read_mroute_list()
/external/iproute2/misc/
Dss.c261 if (sscanf(d->d_name, "%d%c", &pid, &crap) != 1) in user_ent_hash_build()
277 if (sscanf(d1->d_name, "%d%c", &fd, &crap) != 1) in user_ent_hash_build()
285 sscanf(lnk, "socket:[%u]", &ino); in user_ent_hash_build()
380 sscanf(buf, "%*s%d", ((int *)s) + i); in get_slabstat()
503 if (sscanf(buf, "%u %*d %s %u %s", &progn, proto, in init_service_resolver()
1191 sscanf(loc, "%x:%x", s.local.data, (unsigned*)&s.lport); in tcp_show_line()
1192 sscanf(rem, "%x:%x", s.remote.data, (unsigned*)&s.rport); in tcp_show_line()
1195 sscanf(loc, "%08x%08x%08x%08x:%x", in tcp_show_line()
1201 sscanf(rem, "%08x%08x%08x%08x:%x", in tcp_show_line()
1214 n = sscanf(data, "%x %x:%x %x:%x %x %d %d %u %d %llx %d %d %d %d %d %[^\n]\n", in tcp_show_line()
[all …]
/external/oprofile/daemon/
Dopd_kernel.c50 sscanf(arg, "%llx,%llx", &vmlinux_image.start, &vmlinux_image.end); in opd_create_vmlinux()
75 sscanf(arg, "%llx,%llx", &xen_image.start, &xen_image.end); in opd_create_xen()
178 ret = sscanf(line, "%256s %u %32s %4096s %32s %llx", in opd_reread_module_info()
/external/ppp/pppd/plugins/radius/
Ddict.c75 if (sscanf(buffer, "%s%s%d", dummystr, namestr, &value) != 3) { in rc_read_dictionary()
108 n = sscanf(buffer, "%s%s%s%s%s", dummystr, namestr, valstr, typestr, vendorstr); in rc_read_dictionary()
211 if (sscanf (buffer, "%s%s%s%s", dummystr, attrstr, in rc_read_dictionary()
268 if (sscanf (buffer, "%s%s", dummystr, namestr) != 2) in rc_read_dictionary()
/external/libpng/contrib/gregbook/
Dreadppm.c109 sscanf(ppmline, "%lu %lu", &width, &height); in readpng_init()
114 sscanf(ppmline, "%d", &maxval); in readpng_init()
/external/icu4c/test/letest/
Dxmlreader.cpp61 sscanf(number, "%x", &array[count++]); in getHexArray()
77 sscanf(number, "%x", &array[count]); in getHexArray()
107 sscanf(number, "%f", &array[count++]); in getFloatArray()
127 sscanf(number, "%f", &array[count]); in getFloatArray()
/external/qemu/
Dqemu-config.c512 rc = sscanf(str, "%63[^.].%63[^.].%63[^=]%n", group, id, arg, &offset); in qemu_set_option()
542 rc = sscanf(str, "%63[^.].%63[^=]%n", driver, property, &offset); in qemu_global_option()
615 if (sscanf(line, "[%63s \"%63[^\"]\"]", group, id) == 2) { in qemu_config_parse()
623 if (sscanf(line, "[%63[^]]]", group) == 1) { in qemu_config_parse()
631 if (sscanf(line, " %63s = \"%1023[^\"]\"", arg, value) == 2) { in qemu_config_parse()
Dqemu-sockets-android.c380 if (1 != sscanf(str,":%32[^,]%n",port,&pos)) { in inet_parse()
387 if (2 != sscanf(str,"[%64[^]]]:%32[^,]%n",addr,port,&pos)) { in inet_parse()
395 if (2 != sscanf(str,"%64[0-9.]:%32[^,]%n",addr,port,&pos)) { in inet_parse()
403 if (2 != sscanf(str,"%64[^:]:%32[^,]%n",addr,port,&pos)) { in inet_parse()
426 if (1 != sscanf(h+7,"%d",&socket_fd)) { in inet_parse()
/external/clang/test/Sema/
Dformat-strings-scanf.c13 int sscanf(const char * restrict, const char * restrict, ...) ;
67sscanf(buf, "%ld", i); // expected-warning{{format specifies type 'long *' but the argument has ty… in test_variants()
/external/qemu/distrib/jpeg-6b/
Dcjpeg.c297 if (sscanf(argv[argn], "%ld%c", &lval, &ch) < 1) in parse_switches()
334 if (sscanf(argv[argn], "%d", &quality) != 1) in parse_switches()
363 if (sscanf(argv[argn], "%ld%c", &lval, &ch) < 1) in parse_switches()
404 if (sscanf(argv[argn], "%d", &val) != 1) in parse_switches()
/external/jpeg/
Dcjpeg.c297 if (sscanf(argv[argn], "%ld%c", &lval, &ch) < 1) in parse_switches()
334 if (sscanf(argv[argn], "%d", &quality) != 1) in parse_switches()
363 if (sscanf(argv[argn], "%ld%c", &lval, &ch) < 1) in parse_switches()
404 if (sscanf(argv[argn], "%d", &val) != 1) in parse_switches()
/external/iproute2/tc/
Demp_ematch.l94 sscanf(yytext + 1, "%o", &res);
111 sscanf(yytext + 2, "%x", &res);
/external/qemu/slirp-android/
Dmisc.c20 if (sscanf(str, "%d.%d.%d.%d", &comp[0], &comp[1], &comp[2], &comp[3]) != 4) in inet_strtoip()
605 if (sscanf(buff, "%256s %256s", buff2, buff1) != 2) {
610 if (sscanf(buff1, "%d:%d", &lport, &fport) != 2) {
612 if (sscanf(buff1, "%d", &fport) != 1) {
618 if (sscanf(buff2, "%128[^:]:%128s", buff1, buff3) != 2) {
620 if (sscanf(buff2, "%256s", buff1) != 1) {
/external/qemu/slirp/
Dmisc.c641 if (sscanf(buff, "%256s %256s", buff2, buff1) != 2) {
646 if (sscanf(buff1, "%d:%d", &lport, &fport) != 2) {
648 if (sscanf(buff1, "%d", &fport) != 1) {
654 if (sscanf(buff2, "%128[^:]:%128s", buff1, buff3) != 2) {
656 if (sscanf(buff2, "%256s", buff1) != 1) {

12345678910>>...12