Home
last modified time | relevance | path

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

12345678910>>...33

/external/libhevc/test/encoder/
Dmain.c274 sscanf(value, "%s", ps_ctxt->au1_in_file); in parse_argument()
279 sscanf(value, "%s", ps_ctxt->au1_out_file[0][0]); in parse_argument()
283 sscanf(value, "%d", &i4_value); in parse_argument()
291 sscanf(value, "%d", &i4_value); in parse_argument()
295 sscanf(value, "%d", &i4_value); in parse_argument()
300 sscanf(value, "%d", &i4_value); in parse_argument()
305 sscanf(value, "%d", &i4_value); in parse_argument()
310 sscanf(value, "%d", &i4_value); in parse_argument()
314 sscanf(value, "%d", &i4_value); in parse_argument()
318 sscanf(value, "%d", &i4_value); in parse_argument()
[all …]
/external/skia/src/gpu/gl/
DGrGLUtil.cpp36 int n = sscanf(versionString, "%d.%d", &major, &minor); in GrGLGetStandardInUseFromString()
43 n = sscanf(versionString, "OpenGL ES %d.%d (WebGL %d.%d", &esMajor, &esMinor, &major, &minor); in GrGLGetStandardInUseFromString()
50 n = sscanf(versionString, "OpenGL ES-%c%c %d.%d", profile, profile+1, &major, &minor); in GrGLGetStandardInUseFromString()
57 n = sscanf(versionString, "OpenGL ES %d.%d", &major, &minor); in GrGLGetStandardInUseFromString()
74 int n = sscanf(versionString, "%d.%d Mesa %d.%d", &major, &minor, &mesaMajor, &mesaMinor); in GrGLGetVersionFromString()
79 n = sscanf(versionString, "%d.%d", &major, &minor); in GrGLGetVersionFromString()
86 n = sscanf(versionString, "OpenGL ES %d.%d (WebGL %d.%d", &esMajor, &esMinor, &major, &minor); in GrGLGetVersionFromString()
92 n = sscanf(versionString, "OpenGL ES-%c%c %d.%d", profile, profile + 1, &major, &minor); in GrGLGetVersionFromString()
97 n = sscanf(versionString, "OpenGL ES %d.%d", &major, &minor); in GrGLGetVersionFromString()
116 int n = sscanf(versionString, "%d.%d", &major, &minor); in get_glsl_version()
[all …]
/external/igt-gpu-tools/overlay/
Dgpu-freq.c80 sscanf(s, "max GPU freq: %d MHz", &gf->max); in gpu_freq_init()
84 sscanf(s, "min GPU freq: %d MHz", &gf->min); in gpu_freq_init()
92 sscanf(s, "(RPN) frequency: %dMHz", &gf->rpn); in gpu_freq_init()
97 sscanf(s, "(RP1) frequency: %dMHz", &gf->rp1); in gpu_freq_init()
102 sscanf(s, "(RP0) frequency: %dMHz", &gf->rp0); in gpu_freq_init()
107 sscanf(s, "Max overclocked frequency: %dMHz", &gf->max); in gpu_freq_init()
145 sscanf(s, "current GPU freq: %d MHz", &gf->current); in gpu_freq_update()
150 sscanf(s, "RPNSWREQ: %dMHz", &gf->request); in gpu_freq_update()
154 sscanf(s, "CAGF: %dMHz", &gf->current); in gpu_freq_update()
Dgem-objects.c77 sscanf(b, "%ld [%ld]", in gem_objects_init()
126 sscanf(b, "%lu objects, %lu bytes", in gem_objects_update()
130 sscanf(b, "%*d [%*d] objects, %lu [%lu] bytes in gtt", in gem_objects_update()
165 sscanf(colon + 1, "%lu objects, %lu bytes", in gem_objects_update()
/external/ltp/lib/
Dparse_opts.c282 if (sscanf(ptr, "%i", &k) == 1) { in parse_opts()
307 if (sscanf(ptr, "%f", &ftmp) == 1 && ftmp >= 0.0) { in parse_opts()
323 if (sscanf(ptr, "%f", &ftmp) == 1 && ftmp >= 0.0) { in parse_opts()
343 if (sscanf(ptr, "%i", &k) == 1 && k >= 0) in parse_opts()
354 if (sscanf(ptr, "%i", &k) == 1 && k >= 0) in parse_opts()
365 if (sscanf(ptr, "%i", &k) == 1 && k >= 0) { in parse_opts()
375 if (sscanf(ptr, "%i", &k) == 1 && k >= 0) { in parse_opts()
385 if (sscanf(ptr, "%i", &k) == 1 && k >= 0) { in parse_opts()
395 if (sscanf(ptr, "%i", &k) == 1 && k >= 0) { in parse_opts()
405 if (sscanf(ptr, "%i", &k) == 1 && k >= 0) { in parse_opts()
[all …]
/external/mesa3d/src/intel/tools/
Daubinator_error_decode.c431 if (sscanf(line, "%m[^ ] command stream\n", &new_ring_name) > 0) { in read_data_file()
488 if (dashes && sscanf(dashes, "= 0x%08x %08x\n", &hi, &lo)) in read_data_file()
494 matched = sscanf(line, "%08x : %08x", &offset, &value); in read_data_file()
501 matched = sscanf(line, "PCI ID: 0x%04x\n", &reg); in read_data_file()
503 matched = sscanf(line, " PCI ID: 0x%04x\n", &reg); in read_data_file()
507 matched = sscanf(pci_id_start, "PCI ID: 0x%04x\n", &reg); in read_data_file()
523 matched = sscanf(line, " CTL: 0x%08x\n", &reg); in read_data_file()
531 matched = sscanf(line, " HEAD: 0x%08x\n", &reg); in read_data_file()
535 sscanf(line, " HEAD: 0x%08x [0x%08X]\n", &reg, &ring_head); in read_data_file()
536 sscanf(line, " TAIL: 0x%08x\n", &ring_tail); in read_data_file()
[all …]
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dcert-err34-c.c13 extern int sscanf(const char * restrict s, const char * restrict format, ...);
32 sscanf(in, "%d", &i); in f1()
36 sscanf(in, "%u", &ui); in f1()
44 sscanf(in, "%f", &f); // to float in f1()
48 sscanf(in, "%Le", &ld); in f1()
Dcert-err34-c.cpp8 extern int sscanf(const char * s, const char * format, ...);
17 using ::fscanf; using ::sscanf;
26 std::sscanf(in, "%d", &i); in f1()
/external/libavc/test/encoder/
Dmain.c513 sscanf(value, "%d", &ps_app_ctxt->u4_slice_mode); in parse_argument()
516 sscanf(value, "%d", &ps_app_ctxt->u4_slice_param); in parse_argument()
519 sscanf(value, "%s", ps_app_ctxt->ac_ip_fname); in parse_argument()
523 sscanf(value, "%s", ps_app_ctxt->ac_op_fname); in parse_argument()
527 sscanf(value, "%s", ps_app_ctxt->ac_recon_fname); in parse_argument()
531 sscanf(value, "%d", &ps_app_ctxt->u4_recon_enable); in parse_argument()
535 sscanf(value, "%s", ps_app_ctxt->ac_chksum_fname); in parse_argument()
539 sscanf(value, "%d", &ps_app_ctxt->u4_chksum_enable); in parse_argument()
543 sscanf(value, "%s", ps_app_ctxt->ac_mb_info_fname); in parse_argument()
547 sscanf(value, "%d", &ps_app_ctxt->u4_mb_info_type); in parse_argument()
[all …]
/external/iproute2/lib/
Dnames.c36 if (sscanf(p, "%x:%x %s\n", &maj, &min, name) == 3) { in read_id_name()
38 } else if (sscanf(p, "%x:%x %s #", &maj, &min, name) == 3) { in read_id_name()
40 } else if (sscanf(p, "0x%x %s\n", id, name) != 2 && in read_id_name()
41 sscanf(p, "0x%x %s #", id, name) != 2 && in read_id_name()
42 sscanf(p, "%d %s\n", id, name) != 2 && in read_id_name()
43 sscanf(p, "%d %s #", id, name) != 2) { in read_id_name()
/external/libpng/contrib/pngminus/
Dpnm2png.c209 sscanf (width_token, "%lu", &ul_width); in pnm2png()
212 sscanf (height_token, "%lu", &ul_height); in pnm2png()
227 sscanf (width_token, "%lu", &ul_width); in pnm2png()
230 sscanf (height_token, "%lu", &ul_height); in pnm2png()
233 sscanf (maxval_token, "%lu", &ul_maxval); in pnm2png()
254 sscanf (width_token, "%lu", &ul_width); in pnm2png()
257 sscanf (height_token, "%lu", &ul_height); in pnm2png()
260 sscanf (maxval_token, "%lu", &ul_maxval); in pnm2png()
298 sscanf (width_token, "%lu", &ul_alpha_width); in pnm2png()
303 sscanf (height_token, "%lu", &ul_alpha_height); in pnm2png()
[all …]
/external/skqp/tools/skiaserve/urlhandlers/
DCmdHandler.cpp37 sscanf(commands[1].c_str(), "%d", &n); in handle()
47 sscanf(commands[1].c_str(), "%d", &n); in handle()
55 sscanf(commands[1].c_str(), "%d", &n); in handle()
56 sscanf(commands[2].c_str(), "%d", &toggle); in handle()
DImgHandler.cpp37 sscanf(commands[1].c_str(), "%d", &n); in handle()
39 sscanf(commands[1].c_str(), "%d", &n); in handle()
40 sscanf(commands[2].c_str(), "%d", &m); in handle()
/external/igt-gpu-tools/tools/
Dintel_error_decode.c647 matched = sscanf(dashes, "= 0x%08x %08x\n", in read_data_file()
667 matched = sscanf(line, "%08x : %08x", &offset, &value); in read_data_file()
679 matched = sscanf(line, "PCI ID: 0x%04x\n", &reg); in read_data_file()
681 matched = sscanf(line, " PCI ID: 0x%04x\n", &reg); in read_data_file()
685 matched = sscanf(pci_id_start, "PCI ID: 0x%04x\n", &reg); in read_data_file()
695 matched = sscanf(line, " CTL: 0x%08x\n", &reg); in read_data_file()
699 matched = sscanf(line, " HEAD: 0x%08x\n", &reg); in read_data_file()
704 matched = sscanf(line, " ACTHD: 0x%08x\n", &reg); in read_data_file()
710 matched = sscanf(line, " PGTBL_ER: 0x%08x\n", &reg); in read_data_file()
714 matched = sscanf(line, " ERROR: 0x%08x\n", &reg); in read_data_file()
[all …]
/external/ltp/testcases/kernel/sched/eas/
Dtrace_parse.c130 if (sscanf(data, "state=%d cpu_id=%hd", &t->state, &t->cpu) in parse_event_data()
142 if (sscanf(data, "cpu=%d util=%d avg_cap=%d max_cap=%d", in parse_event_data()
154 if (sscanf(data, "cpu=%d util=%d max=%d freq=%d", in parse_event_data()
188 if (sscanf(tmp, "prev_pid=%hd prev_prio=%hd " in parse_event_data()
220 if (sscanf(tmp2, "next_pid=%hd next_prio=%hd", &t->next_pid, in parse_event_data()
242 if (sscanf(tmp, " pid=%hd prio=%hd target_cpu=%hd", &t->pid, in parse_event_data()
302 if (sscanf(&line[17], "%hd", &tr->pid) != 1) { in parse_trace_record()
324 if (sscanf(&line[field_start], "[%hd]", &tr->cpu) != 1) { in parse_trace_record()
374 } else if (sscanf(&line[idx], "%hx", &tr->preempt_depth) != 1) { in parse_trace_record()
388 if (sscanf(&line[idx], "%d.%d: ", &tr->ts.sec, in parse_trace_record()
[all …]
/external/toybox/toys/other/
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/skia/tools/skiaserve/urlhandlers/
DImgHandler.cpp37 sscanf(commands[1].c_str(), "%d", &n); in handle()
39 sscanf(commands[1].c_str(), "%d", &n); in handle()
40 sscanf(commands[2].c_str(), "%d", &m); in handle()
DCmdHandler.cpp40 sscanf(commands[1].c_str(), "%d", &n); in handle()
48 sscanf(commands[1].c_str(), "%d", &n); in handle()
49 sscanf(commands[2].c_str(), "%d", &toggle); in handle()
/external/tensorflow/tensorflow/core/platform/profile_utils/
Dcpu_utils.cc97 retval = sscanf(line.c_str(), "clock : %lfMHz", &cpu_freq); in GetCycleCounterFrequencyImpl()
100 retval = sscanf(line.c_str(), "bogomips per cpu: %lf", &cpu_freq); in GetCycleCounterFrequencyImpl()
102 retval = sscanf(line.c_str(), "BogoMIPS : %lf", &cpu_freq); in GetCycleCounterFrequencyImpl()
104 retval = sscanf(line.c_str(), "bogomips : %lf", &cpu_freq); in GetCycleCounterFrequencyImpl()
/external/mesa3d/src/compiler/glsl/
Dtest_optpass.cpp66 if (sscanf(optimization, "do_common_optimization ( %d ) ", &int_0) == 1) { in do_optimization()
90 } else if (sscanf(optimization, in do_optimization()
99 } else if (sscanf(optimization, "lower_if_to_cond_assign ( %d ) ", in do_optimization()
116 } else if (sscanf(optimization, "lower_instructions ( %d ) ", in do_optimization()
119 } else if (sscanf(optimization, "lower_variable_index_to_cond_assign " in do_optimization()
125 } else if (sscanf(optimization, "lower_quadop_vector ( %d ) ", in do_optimization()
/external/swiftshader/src/Main/
DSwiftConfig.cpp558 if(sscanf(post, "pixelShaderVersion=%d", &integer)) in parsePost()
562 else if(sscanf(post, "vertexShaderVersion=%d", &integer)) in parsePost()
566 else if(sscanf(post, "textureMemory=%d", &integer)) in parsePost()
570 else if(sscanf(post, "identifier=%d", &integer)) in parsePost()
574 else if(sscanf(post, "vertexRoutineCacheSize=%d", &integer)) in parsePost()
578 else if(sscanf(post, "pixelRoutineCacheSize=%d", &integer)) in parsePost()
582 else if(sscanf(post, "setupRoutineCacheSize=%d", &integer)) in parsePost()
586 else if(sscanf(post, "vertexCacheSize=%d", &integer)) in parsePost()
590 else if(sscanf(post, "textureSampleQuality=%d", &integer)) in parsePost()
594 else if(sscanf(post, "mipmapQuality=%d", &integer)) in parsePost()
[all …]
/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()
/external/llvm-project/lldb/unittests/Utility/
DTimerTest.cpp26 ASSERT_EQ(1, sscanf(ss.GetData(), "%lf sec for CAT1", &seconds)); in TEST()
46 ASSERT_EQ(1, sscanf(ss.GetData(), "%lf sec for CAT1", &seconds)); in TEST()
64 ASSERT_EQ(2, sscanf(ss.GetData(), in TEST()
99 6, sscanf(ss.GetData(), in TEST()
/external/iw/
Dvendor.c39 res = sscanf(argv[i], "0x%x", &data); in read_hex()
61 res = sscanf(argv[0], "0x%x", &oui); in handle_vendor()
65 res = sscanf(argv[1], "0x%x", &subcmd); in handle_vendor()
/external/f2fs-tools/fsck/
Dmain.c415 ret = sscanf(optarg, "%d", in f2fs_parse_options()
418 ret = sscanf(optarg, "%x", in f2fs_parse_options()
422 ret = sscanf(optarg, "%d~%d", in f2fs_parse_options()
427 ret = sscanf(optarg, "%d~%d", in f2fs_parse_options()
435 ret = sscanf(optarg, "%d~%d", in f2fs_parse_options()
441 ret = sscanf(optarg, "%d", in f2fs_parse_options()
444 ret = sscanf(optarg, "%x", in f2fs_parse_options()
481 ret = sscanf(optarg, "%"PRIu64"", in f2fs_parse_options()
484 ret = sscanf(optarg, "%"PRIx64"", in f2fs_parse_options()
492 ret = sscanf(optarg, "%"PRIu64"", in f2fs_parse_options()
[all …]

12345678910>>...33