Home
last modified time | relevance | path

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

12345678910>>...14

/external/skia/src/gpu/gl/
DGrGLUtil.cpp74 int n = sscanf(versionString, "%d.%d", &major, &minor); in GrGLGetStandardInUseFromString()
81 n = sscanf(versionString, "OpenGL ES-%c%c %d.%d", profile, profile+1, &major, &minor); in GrGLGetStandardInUseFromString()
88 n = sscanf(versionString, "OpenGL ES %d.%d", &major, &minor); in GrGLGetStandardInUseFromString()
101 int n = sscanf(versionString, "%d.%d Mesa %d.%d", &major, &minor, &mesaMajor, &mesaMinor); in GrGLIsMesaFromVersionString()
105 …int n = sscanf(versionString, "OpenGL ES %d.%d Mesa %d.%d", &major, &minor, &mesaMajor, &mesaMinor… in GrGLIsMesaFromVersionString()
125 int n = sscanf(versionString, "%d.%d Mesa %d.%d", &major, &minor, &mesaMajor, &mesaMinor); in GrGLGetVersionFromString()
130 n = sscanf(versionString, "%d.%d", &major, &minor); in GrGLGetVersionFromString()
136 n = sscanf(versionString, "OpenGL ES-%c%c %d.%d", profile, profile+1, in GrGLGetVersionFromString()
142 n = sscanf(versionString, "OpenGL ES %d.%d", &major, &minor); in GrGLGetVersionFromString()
158 int n = sscanf(versionString, "%d.%d", &major, &minor); in GrGLGetGLSLVersionFromString()
[all …]
/external/libavc/test/encoder/
Dmain.c509 sscanf(value, "%d", &ps_app_ctxt->u4_slice_mode); in parse_argument()
512 sscanf(value, "%d", &ps_app_ctxt->u4_slice_param); in parse_argument()
515 sscanf(value, "%s", ps_app_ctxt->ac_ip_fname); in parse_argument()
519 sscanf(value, "%s", ps_app_ctxt->ac_op_fname); in parse_argument()
523 sscanf(value, "%s", ps_app_ctxt->ac_recon_fname); in parse_argument()
527 sscanf(value, "%d", &ps_app_ctxt->u4_recon_enable); in parse_argument()
531 sscanf(value, "%s", ps_app_ctxt->ac_chksum_fname); in parse_argument()
535 sscanf(value, "%d", &ps_app_ctxt->u4_chksum_enable); in parse_argument()
539 sscanf(value, "%s", ps_app_ctxt->ac_mb_info_fname); in parse_argument()
543 sscanf(value, "%d", &ps_app_ctxt->u4_mb_info_type); in parse_argument()
[all …]
/external/libnfc-nci/halimpl/pn54x/log/
DphNxpLog.c61 sscanf (valueStr, "%lu", &num); in phNxpLog_SetGlobalLogLevel()
92 sscanf (valueStr, "%lu", &num); in phNxpLog_SetHALLogLevel()
120 sscanf (valueStr, "%lu", &num); in phNxpLog_SetExtnsLogLevel()
148 sscanf (valueStr, "%lu", &num); in phNxpLog_SetTmlLogLevel()
176 sscanf (valueStr, "%lu", &num); in phNxpLog_SetDnldLogLevel()
208 sscanf (valueStr, "%lu", &num); in phNxpLog_SetNciTxLogLevel()
/external/libpng/contrib/pngminus/
Dpnm2png.c232 sscanf (width_token, "%lu", &ul_width); in pnm2png()
235 sscanf (height_token, "%lu", &ul_height); in pnm2png()
249 sscanf (width_token, "%lu", &ul_width); in pnm2png()
252 sscanf (height_token, "%lu", &ul_height); in pnm2png()
255 sscanf (maxval_token, "%lu", &ul_maxval); in pnm2png()
274 sscanf (width_token, "%lu", &ul_width); in pnm2png()
277 sscanf (height_token, "%lu", &ul_height); in pnm2png()
280 sscanf (maxval_token, "%lu", &ul_maxval); in pnm2png()
316 sscanf (width_token, "%lu", &ul_alpha_width); in pnm2png()
321 sscanf (height_token, "%lu", &ul_alpha_height); in pnm2png()
[all …]
/external/f2fs-tools/fsck/
Dmain.c96 ret = sscanf(optarg, "%d", in f2fs_parse_options()
99 ret = sscanf(optarg, "%x", in f2fs_parse_options()
103 ret = sscanf(optarg, "%d~%d", in f2fs_parse_options()
108 ret = sscanf(optarg, "%d~%d", in f2fs_parse_options()
114 ret = sscanf(optarg, "%d", in f2fs_parse_options()
117 ret = sscanf(optarg, "%x", in f2fs_parse_options()
/external/toybox/toys/other/
Dlsusb.c33 if (sscanf(toybuf, "BUSNUM=%u\n", &busnum) in list_device()
34 || sscanf(toybuf, "DEVNUM=%u\n", &devnum) in list_device()
35 || sscanf(toybuf, "PRODUCT=%x/%x/", &pid, &vid)) count++; in list_device()
Dpmap.c64 count = sscanf(line, "%llx-%llx %s %*s %*s %*s %n", in pmap_main()
78 if (0<sscanf(line, "Pss: %lld", &pss) in pmap_main()
79 || 0<sscanf(line, "Private_Dirty: %lld", &dirty) in pmap_main()
80 || 0<sscanf(line, "Swap: %lld", &swap)) xx++; in pmap_main()
/external/mesa3d/src/glsl/
Dtest_optpass.cpp65 if (sscanf(optimization, "do_common_optimization ( %d , %d ) ", in do_optimization()
92 } else if (sscanf(optimization, in do_optimization()
101 } else if (sscanf(optimization, "lower_if_to_cond_assign ( %d ) ", in do_optimization()
120 } else if (sscanf(optimization, "lower_instructions ( %d ) ", in do_optimization()
125 } else if (sscanf(optimization, "lower_variable_index_to_cond_assign " in do_optimization()
130 } else if (sscanf(optimization, "lower_quadop_vector ( %d ) ", in do_optimization()
/external/iproute2/lib/
Drt_names.c55 if (sscanf(p, "0x%x %s\n", &id, namebuf) != 2 && in rtnl_hash_initialize()
56 sscanf(p, "0x%x %s #", &id, namebuf) != 2 && in rtnl_hash_initialize()
57 sscanf(p, "%d %s\n", &id, namebuf) != 2 && in rtnl_hash_initialize()
58 sscanf(p, "%d %s #", &id, namebuf) != 2) { in rtnl_hash_initialize()
93 if (sscanf(p, "0x%x %s\n", &id, namebuf) != 2 && in rtnl_tab_initialize()
94 sscanf(p, "0x%x %s #", &id, namebuf) != 2 && in rtnl_tab_initialize()
95 sscanf(p, "%d %s\n", &id, namebuf) != 2 && in rtnl_tab_initialize()
96 sscanf(p, "%d %s #", &id, namebuf) != 2) { in rtnl_tab_initialize()
/external/libcap-ng/libcap-ng-0.7/utils/
Dnetcap.c89 sscanf(buf, "%d (%15c", &ppid, cmd); in collect_process_info()
90 sscanf(tmp+2, "%c %d", &state, &ppid); in collect_process_info()
125 sscanf(buf, "Uid: %d %d", in collect_process_info()
271 sscanf(buf, "%d: %64[0-9A-Fa-f]:%X %64[0-9A-Fa-f]:%X %X " in read_tcp()
305 sscanf(buf, "%d: %64[0-9A-Fa-f]:%X %64[0-9A-Fa-f]:%X %X " in read_udp()
339 sscanf(buf, "%d: %64[0-9A-Fa-f]:%X %64[0-9A-Fa-f]:%X %X " in read_raw()
374 sscanf(buf, "%16s: %256s\n", ifc, more); in get_interface()
409 sscanf(buf, "%lX %u %u %X %u %u %u %u %lu %256s\n", in read_packet()
Dpscap.c101 sscanf(buf, "%d (%15c", &ppid, cmd); in main()
102 sscanf(tmp+2, "%c %d", &state, &ppid); in main()
137 sscanf(buf, "Uid: %d %d", in main()
/external/toybox/toys/pending/
Dtop.c118 sscanf(close_paren + 1, " %c %d %*d %*d %*d %*d %*d %*d %*d %*d %*d " in read_stat()
136 if (sscanf(toybuf, "Uid: %u", &(proc->uid)) == 1) break; in read_status()
369 count = sscanf(line, "%llx-%llx %s %*s %*s %*s %n", in read_smaps()
380 if (0<sscanf(line, "Private_Clean: %lld", &val)) prvcl += val; in read_smaps()
381 if (0<sscanf(line, "Private_Dirty: %lld", &val)) prvdr += val; in read_smaps()
382 if (0<sscanf(line, "Shared_Dirty: %lld", &val)) shrdr += val; in read_smaps()
383 if (0<sscanf(line, "Shared_Clean: %lld", &val)) shrcl += val; in read_smaps()
471 sscanf(buff,"%*s %lu\n",&meminfo_cached); in print_header()
473 sscanf(buff,"%*s %lu\n",&anon); in print_header()
475 sscanf(buff,"%*s %lu\n",&meminfo_mapped); in print_header()
[all …]
/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()
192 if (sscanf(line, "%s ", firstWord) != 1) { in GetNumCores()
/external/toybox/toys/posix/
Dtouch.c64 sscanf(s, ".%lu%n", &ts->tv_nsec, &len);
80 if (s && *s=='.' && sscanf(s, ".%2u%n", &(tm.tm_sec), &len) == 1) {
81 sscanf(s += len, "%lu%n", &ts->tv_nsec, &len);
Ddate.c61 sscanf(str, "%2u%2u%2u%2u%n", &tm->tm_mon, &tm->tm_mday, &tm->tm_hour,
73 sscanf(str, "%u%n", &year, &len);
88 sscanf(str, ".%u%n", &tm->tm_sec, &len);
/external/libpcap/
Dpcap-usb-linux.c179 if (sscanf(&name[3], "%d", &n) == 0) in usb_findalldevs()
200 if (sscanf(&name[len+1], "%d", &n) != 1) in usb_findalldevs()
359 if (sscanf(handle->opt.source, USB_IFACE"%d", &handlep->bus_index) != 1) in usb_activate()
504 ret = sscanf(string, "%x %d %c %c%c:%d:%d %s%n", &tag, &timestamp, &etype, in usb_read_linux()
563 ret = sscanf(status, "%d", &dummy); in usb_read_linux()
571 ret = sscanf(string, "%s %s %s %s %s%n", str1, str2, str3, str4, in usb_read_linux()
596 ret = sscanf(string, " %d%n", &urb_len, &cnt); in usb_read_linux()
615 if (sscanf(string, " %c", &urb_tag) != 1) in usb_read_linux()
726 ntok = sscanf(ptr, "%s%n", token, &cnt); in usb_stats_linux()
732 ret = sscanf(ptr, "%d", &stats->ps_drop); in usb_stats_linux()
[all …]
/external/mesa3d/src/gallium/state_trackers/xvmc/tests/
Dxvmc_bench.c81 if (sscanf(argv[++i], "%u", &config->input_width) != 1) in ParseArgs()
86 if (sscanf(argv[++i], "%u", &config->input_height) != 1) in ParseArgs()
91 if (sscanf(argv[++i], "%u", &config->output_width) != 1) in ParseArgs()
96 if (sscanf(argv[++i], "%u", &config->output_height) != 1) in ParseArgs()
139 if (sscanf(argv[++i], "%u", &config->reps) != 1) in ParseArgs()
/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()
144 sscanf(buf, "%d%s", &m.index, m.name); in read_igmp()
151 sscanf(buf, "%08x%d", (__u32*)&m.addr.data, &m.users); in read_igmp()
175 sscanf(buf, "%d%s%s%d", &m.index, m.name, hexa, &m.users); in read_igmp6()
Dipmroute.c69 if (sscanf(buf, "%d%s", &vifi, dev) < 2) in read_viftable()
103 if (sscanf(buf, "%x%x%d%u%u%u %[^\n]", in read_mroute_list()
142 if (sscanf(p, "%d:%d", &ovifi, &ottl)<2) { in read_mroute_list()
/external/fio/exp/
Dexpression-parser.l133 rc = sscanf(yytext, "%lf", &dval);
148 rc = sscanf(yytext, "%x", &intval);
163 rc = sscanf(yytext, "%d", &intval);
/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/iproute2/misc/
Dss.c263 if (sscanf(d->d_name, "%d%c", &pid, &crap) != 1) in user_ent_hash_build()
280 if (sscanf(d1->d_name, "%d%c", &fd, &crap) != 1) in user_ent_hash_build()
293 sscanf(lnk, "socket:[%u]", &ino); in user_ent_hash_build()
388 sscanf(buf, "%*s%d", ((int *)s) + i); in get_slabstat()
511 if (sscanf(buf, "%u %*d %s %u %s", &progn, proto, in init_service_resolver()
1200 sscanf(loc, "%x:%x", s.local.data, (unsigned*)&s.lport); in tcp_show_line()
1201 sscanf(rem, "%x:%x", s.remote.data, (unsigned*)&s.rport); in tcp_show_line()
1204 sscanf(loc, "%08x%08x%08x%08x:%x", in tcp_show_line()
1210 sscanf(rem, "%08x%08x%08x%08x:%x", in tcp_show_line()
1223 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/icu/icu4c/source/test/perf/leperf/
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/icu/icu4c/source/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()

12345678910>>...14