Home
last modified time | relevance | path

Searched refs:line_len (Results 1 – 25 of 44) sorted by relevance

12

/external/python/cpython2/Tools/compiler/
Dregrtest.py33 line_len = 10
38 line_len = line_len + len(file) + 1
39 if line_len > 75:
41 line_len = len(source) + 9
59 line_len = 10
/external/google-breakpad/src/client/linux/minidump_writer/
Dproc_cpuinfo_reader.h57 unsigned line_len; in GetNextField() local
65 if (!line_reader_.GetNextLine(&line, &line_len)) in GetNextField()
68 pop_count_ = static_cast<int>(line_len); in GetNextField()
70 const char* line_end = line + line_len; in GetNextField()
77 char* sep = static_cast<char*>(my_memchr(line, ':', line_len)); in GetNextField()
Dlinux_ptrace_dumper.cc217 unsigned line_len; in GetThreadInfoByIndex() local
221 while (line_reader->GetNextLine(&line, &line_len)) { in GetThreadInfoByIndex()
228 line_reader->PopLine(line_len); in GetThreadInfoByIndex()
Dlinux_dumper.cc566 unsigned line_len; in EnumerateMappings() local
567 while (line_reader->GetNextLine(&line, &line_len)) { in EnumerateMappings()
600 line_reader->PopLine(line_len); in EnumerateMappings()
621 line_reader->PopLine(line_len); in EnumerateMappings()
/external/blktrace/iowatcher/
Dplot.c66 static int line_len = 1024; variable
361 snprintf(line, line_len, "<rect x=\"%d\" y=\"%d\" width=\"%d\" " in setup_axis()
369 snprintf(line, line_len, "<rect x=\"%d\" y=\"%d\" width=\"%d\" " in setup_axis()
385 snprintf(line, line_len, "<svg x=\"%d\" y=\"%d\">\n", plot->start_x_offset, plot->start_y_offset); in setup_axis()
416 snprintf(line, line_len, "<rect x=\"%d\" y=\"%d\" width=\"%d\" " in setup_axis_spindle()
424 snprintf(line, line_len, "<rect x=\"%d\" y=\"%d\" width=\"%d\" " in setup_axis_spindle()
440 snprintf(line, line_len, "<svg x=\"%d\" y=\"%d\">\n", plot->start_x_offset, plot->start_y_offset); in setup_axis_spindle()
460 …snprintf(line, line_len, "<rect x=\"0\" y=\"%d\" width=\"%d\" height=\"%d\" fill=\"white\" stroke=… in set_plot_title()
465 snprintf(line, line_len, "<text x=\"%d\" y=\"%d\" font-family=\"%s\" font-size=\"%d\" " in set_plot_title()
526 …snprintf(line, line_len, "<rect x=\"%d\" y=\"%d\" width=\"2\" height=\"%d\" style=\"stroke:none;fi… in set_xticks()
[all …]
Dmpstat.c39 int line_len = 1024; variable
184 snprintf(line, line_len, "%s.mpstat", trace_name); in guess_filename()
195 snprintf(line, line_len, "%s.mpstat", tmp); in guess_filename()
215 snprintf(line, line_len, "%s.mpstat", guess_filename(trace_name)); in read_mpstat()
Dmain.c49 static int line_len = 1024; variable
972 snprintf(line, line_len, " CPU %d\n", i - 1); in plot_cpu()
1047 snprintf(line, line_len, "find %s -name \\*.svg | xargs -I{} -n 1 -P 8 rsvg-convert -o {}.png {}", in convert_movie_files()
1055 snprintf(line, line_len, "ffmpeg -r 20 -y -i %s/%%10d-%s.svg.png -b:v 250k " in mencode_movie()
1064 snprintf(line, line_len, "png2theora -o %s %s/%%010d-%s.svg.png", in tencode_movie()
1087 snprintf(line, line_len, "rm %s/*", movie_dir); in cleanup_movie()
1090 snprintf(line, line_len, "rmdir %s", movie_dir); in cleanup_movie()
1125 snprintf(line, line_len, "%s/%010d-%s.svg", movie_dir, i, output_filename); in plot_io_movie()
1639 snprintf(line, line_len, "%s.dump", path); in main()
1649 snprintf(line, line_len, "%s.mpstat", path); in main()
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
DTensorFFT.h218 Index line_len = m_dimensions[dim];
219 eigen_assert(line_len >= 1);
220 ComplexScalar* line_buf = (ComplexScalar*)m_device.allocate(sizeof(ComplexScalar) * line_len);
221 const bool is_power_of_two = isPowerOfTwo(line_len);
222 const Index good_composite = is_power_of_two ? 0 : findGoodComposite(line_len);
223 const Index log_len = is_power_of_two ? getLog2(line_len) : getLog2(good_composite);
227 …is_power_of_two ? NULL : (ComplexScalar*)m_device.allocate(sizeof(ComplexScalar) * (line_len + 1));
234 if (line_len > 1) {
235 const RealScalar pi_over_len(EIGEN_PI / line_len);
239 if (line_len > 2) {
[all …]
/external/wpa_supplicant_8/src/utils/
Dbase64.c32 int line_len; in base64_gen_encode() local
49 line_len = 0; in base64_gen_encode()
56 line_len += 4; in base64_gen_encode()
57 if ((add_pad & BASE64_LF) && line_len >= 72) { in base64_gen_encode()
59 line_len = 0; in base64_gen_encode()
76 line_len += 4; in base64_gen_encode()
79 if ((add_pad & BASE64_LF) && line_len) in base64_gen_encode()
Dwpa_debug.c402 const size_t line_len = 16; in _wpa_hexdump_ascii() local
450 llen = len > line_len ? line_len : len; in _wpa_hexdump_ascii()
454 for (i = llen; i < line_len; i++) in _wpa_hexdump_ascii()
463 for (i = llen; i < line_len; i++) in _wpa_hexdump_ascii()
486 llen = len > line_len ? line_len : len; in _wpa_hexdump_ascii()
490 for (i = llen; i < line_len; i++) in _wpa_hexdump_ascii()
499 for (i = llen; i < line_len; i++) in _wpa_hexdump_ascii()
/external/selinux/libselinux/src/
Dselinux_check_securetty_context.c13 size_t line_len = 0; in selinux_check_securetty_context() local
22 while ((len = getline(&line, &line_len, fp)) != -1) { in selinux_check_securetty_context()
Dlabel_media.c77 size_t line_len = 0; in init() local
117 while (getline(&line_buf, &line_len, fp) > 0 && in init()
Dlabel_x.c104 size_t line_len = 0; in init() local
144 while (getline(&line_buf, &line_len, fp) > 0 && in init()
Dlabel_db.c244 size_t line_len = 0; in db_init() local
300 while (getline(&line_buf, &line_len, filp) > 0) { in db_init()
Dbooleans.c97 size_t line_len; in selinux_boolean_sub() local
107 while (getline(&line_buf, &line_len, cfg) != -1) { in selinux_boolean_sub()
Dselinux_config.c159 size_t line_len; in init_selinux_config() local
170 while ((len = getline(&line_buf, &line_len, fp)) > 0) { in init_selinux_config()
Dget_context_list.c165 size_t line_len = 0; in get_context_order() local
188 while ((len = getline(&line, &line_len, fp)) > 0) { in get_context_order()
/external/selinux/libsemanage/src/
Dsemanage_store.c2532 size_t line_len, buf_remainder, i; in semanage_fc_sort() local
2573 line_len = line_end - line_buf + 1; in semanage_fc_sort()
2574 sanity_check = buf_remainder - line_len; in semanage_fc_sort()
2575 buf_remainder = buf_remainder - line_len; in semanage_fc_sort()
2583 if (line_len == 0 || line_len == 1) { in semanage_fc_sort()
2589 for (i = 0; i < line_len; i++) { in semanage_fc_sort()
2595 if (i >= line_len) { in semanage_fc_sort()
2622 while (i < line_len && (!isspace(line_buf[i]))) { in semanage_fc_sort()
2657 for (; i < line_len; i++) { in semanage_fc_sort()
2661 if (i == line_len) { in semanage_fc_sort()
[all …]
/external/igt-gpu-tools/tools/
Digt_stats.c42 size_t line_len = 0; in statify() local
45 while (getline(&line, &line_len, file) != -1) { in statify()
/external/harfbuzz_ng/util/
Doptions.cc747 line_len = text_len; in get_line()
749 if (line_len == (unsigned int) -1) in get_line()
750 line_len = strlen (line); in get_line()
752 if (!line_len) { in get_line()
758 const char *p = (const char *) memchr (line, '\n', line_len); in get_line()
761 ret_len = line_len; in get_line()
763 line_len = 0; in get_line()
767 line_len -= ret_len + 1; in get_line()
Doptions.hh520 line_len = (unsigned int) -1; in text_options_t()
558 unsigned int line_len; member
/external/perfetto/src/base/
Dlogging.cc117 size_t line_len = in LogMessage() local
123 size_t fname_max = sizeof(file_and_line) - line_len - 2; // 2 = ':' + '\0'. in LogMessage()
/external/igt-gpu-tools/runner/
Djob_list.c199 size_t line_len = 0; in job_list_from_test_list() local
212 if (getline(&line, &line_len, f) == -1) { in job_list_from_test_list()
507 size_t line_len = 0; in read_job_list() local
520 while ((read = getline(&line, &line_len, f))) { in read_job_list()
/external/selinux/libselinux/utils/
Dsefcontext_compile.c37 size_t line_len = 0; in process_file() local
50 while (getline(&line_buf, &line_len, context_file) > 0) { in process_file()
/external/llvm-project/lldb/examples/python/
Dsymbolication.py590 line_len = len(lines[-1])
591 if line_len < comment_column:
592 lines[-1] += ' ' * (comment_column - line_len)

12