Home
last modified time | relevance | path

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

12

/external/wpa_supplicant_8/src/utils/
Dbase64.c35 int line_len; in base64_encode() local
49 line_len = 0; in base64_encode()
58 line_len += 4; in base64_encode()
59 if (line_len >= 72) { in base64_encode()
61 line_len = 0; in base64_encode()
76 line_len += 4; in base64_encode()
79 if (line_len) in base64_encode()
Dwpa_debug.c395 const size_t line_len = 16; in _wpa_hexdump_ascii() local
439 llen = len > line_len ? line_len : len; in _wpa_hexdump_ascii()
443 for (i = llen; i < line_len; i++) in _wpa_hexdump_ascii()
452 for (i = llen; i < line_len; i++) in _wpa_hexdump_ascii()
472 llen = len > line_len ? line_len : len; in _wpa_hexdump_ascii()
476 for (i = llen; i < line_len; i++) in _wpa_hexdump_ascii()
485 for (i = llen; i < line_len; i++) in _wpa_hexdump_ascii()
/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_dumper.cc308 unsigned line_len; in EnumerateMappings() local
309 while (line_reader->GetNextLine(&line, &line_len)) { in EnumerateMappings()
336 line_reader->PopLine(line_len); in EnumerateMappings()
353 line_reader->PopLine(line_len); in EnumerateMappings()
390 line_reader->PopLine(line_len); in EnumerateMappings()
Dlinux_ptrace_dumper.cc173 unsigned line_len; in GetThreadInfoByIndex() local
177 while (line_reader->GetNextLine(&line, &line_len)) { in GetThreadInfoByIndex()
184 line_reader->PopLine(line_len); in GetThreadInfoByIndex()
/external/lldb/tools/driver/
DIOChannel.cpp338 int line_len = 0; in LibeditGetInput() local
346 const char *line = ::el_gets (m_edit_line, &line_len); in LibeditGetInput()
355 while (line_len > 0 && (line[line_len - 1] == '\n' || line[line_len - 1] == '\r')) in LibeditGetInput()
356 --line_len; in LibeditGetInput()
357 if (line_len > 0) in LibeditGetInput()
360 new_line.assign (line, line_len); // Omit the newline in LibeditGetInput()
373 …retval = (line_len == 0 ? IOChannel::eLibeditGetInputEOF : IOChannel::eLibeditGetInputResultError); in LibeditGetInput()
/external/linux-tools-perf/src/tools/perf/tests/
Dcode-reading.c37 static void read_objdump_line(const char *line, size_t line_len, void **buf, in read_objdump_line() argument
54 for (; i < line_len; i++) { in read_objdump_line()
59 if (i >= line_len || !isxdigit(line[i])) in read_objdump_line()
62 if (i >= line_len || !isxdigit(line[i])) in read_objdump_line()
66 if (i < line_len && line[i] && !isspace(line[i])) in read_objdump_line()
78 size_t line_len; in read_objdump_output() local
83 ret = getline(&line, &line_len, f); in read_objdump_output()
/external/selinux/libsemanage/src/
Dsemanage_store.c2444 size_t line_len, buf_remainder, i; in semanage_fc_sort() local
2485 line_len = line_end - line_buf + 1; in semanage_fc_sort()
2486 sanity_check = buf_remainder - line_len; in semanage_fc_sort()
2487 buf_remainder = buf_remainder - line_len; in semanage_fc_sort()
2495 if (line_len == 0 || line_len == 1) { in semanage_fc_sort()
2501 for (i = 0; i < line_len; i++) { in semanage_fc_sort()
2507 if (i >= line_len) { in semanage_fc_sort()
2534 while (i < line_len && (!isspace(line_buf[i]))) { in semanage_fc_sort()
2569 for (; i < line_len; i++) { in semanage_fc_sort()
2573 if (i == line_len) { in semanage_fc_sort()
[all …]
/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_db.c243 size_t line_len = 0; in db_init() local
287 while (getline(&line_buf, &line_len, filp) > 0) { in db_init()
Dlabel_x.c104 size_t line_len = 0; in init() local
144 while (getline(&line_buf, &line_len, fp) > 0 && in init()
Dselinux_config.c157 size_t line_len; in init_selinux_config() local
168 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()
Dbooleans.c95 size_t line_len; in hidden_def() local
105 while (getline(&line_buf, &line_len, cfg) != -1) { in hidden_def()
/external/chromium-trace/trace-viewer/build/
Dpresubmit_checks.py185 line_len = len(line)
186 if line_len <= file_maxlen:
192 if line_len > extra_maxlen:
/external/linux-tools-perf/src/tools/perf/util/
Dsymbol.c462 int line_len, len; in kallsyms__parse() local
466 line_len = getline(&line, &n, file); in kallsyms__parse()
467 if (line_len < 0 || !line) in kallsyms__parse()
470 line[--line_len] = '\0'; /* \n */ in kallsyms__parse()
475 if (len + 2 >= line_len) in kallsyms__parse()
481 len = line_len - len; in kallsyms__parse()
935 int line_len, len; in dso__load_perf_map() local
937 line_len = getline(&line, &n, file); in dso__load_perf_map()
938 if (line_len < 0) in dso__load_perf_map()
944 line[--line_len] = '\0'; /* \n */ in dso__load_perf_map()
[all …]
Dannotate.c769 size_t line_len; in symbol__parse_objdump_line() local
772 if (getline(&line, &line_len, file) < 0) in symbol__parse_objdump_line()
778 while (line_len != 0 && isspace(line[line_len - 1])) in symbol__parse_objdump_line()
779 line[--line_len] = '\0'; in symbol__parse_objdump_line()
1119 size_t line_len; in symbol__get_source_line() local
1143 if (getline(&path, &line_len, fp) < 0 || !line_len) in symbol__get_source_line()
1146 src_line->path = malloc(sizeof(char) * line_len + 1); in symbol__get_source_line()
Dmachine.c806 int line_len; in machine__create_modules() local
808 line_len = getline(&line, &n, file); in machine__create_modules()
809 if (line_len < 0) in machine__create_modules()
815 line[--line_len] = '\0'; /* \n */ in machine__create_modules()
Dsort.c255 size_t line_len; in hist_entry__srcline_snprintf() local
272 if (getline(&path, &line_len, fp) < 0 || !line_len) in hist_entry__srcline_snprintf()
/external/selinux/libselinux/utils/
Dsefcontext_compile.c20 size_t line_len; in process_file() local
31 while ((len = getline(&line_buf, &line_len, context_file)) != -1) { in process_file()
/external/lldb/examples/python/
Dsymbolication.py485 line_len = len(lines[-1])
486 if line_len < comment_column:
487 lines[-1] += ' ' * (comment_column - line_len)
/external/ltrace/sysdeps/linux-gnu/
Dproc.c98 size_t line_len = 0; in find_line_starting() local
100 if (getline(&line, &line_len, file) < 0) in find_line_starting()
/external/linux-tools-perf/src/tools/perf/ui/browsers/
Dannotate.c926 size_t line_len = strlen(pos->line); in symbol__tui_annotate() local
928 if (browser.b.width < line_len) in symbol__tui_annotate()
929 browser.b.width = line_len; in symbol__tui_annotate()
/external/skia/platform_tools/android/third_party/cpufeatures/
Dcpu-features.c364 cpulist_parse(CpuList* list, const char* line, int line_len) in cpulist_parse() argument
367 const char* end = p + line_len; in cpulist_parse()

12