Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/src/utils/
Dbase64.c35 int line_len; in base64_encode() local
49 line_len = 0; in base64_encode()
56 line_len += 4; in base64_encode()
57 if (line_len >= 72) { in base64_encode()
59 line_len = 0; in base64_encode()
74 line_len += 4; in base64_encode()
77 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/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/perf-3.12.0/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/chromium_org/third_party/webrtc/overrides/webrtc/base/
Dlogging.cc201 size_t line_len = _min(len, LINE_SIZE); in LogMultiline() local
202 for (size_t i = 0; i < line_len; ++i) { in LogMultiline()
212 udata += line_len; in LogMultiline()
213 len -= line_len; in LogMultiline()
/external/linux-tools-perf/perf-3.12.0/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()
Dprobe-finder.c876 size_t line_len; in find_lazy_match_lines() local
886 while ((len = getline(&line, &line_len, fp)) > 0) { in find_lazy_match_lines()
/external/chromium_org/third_party/webrtc/base/
Dlogging.cc527 size_t line_len = _min(len, LINE_SIZE); in LogMultiline() local
528 for (size_t i = 0; i < line_len; ++i) { in LogMultiline()
538 udata += line_len; in LogMultiline()
539 len -= line_len; in LogMultiline()
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/devfs/
Dtty_node.cc132 size_t line_len = static_cast<size_t>(nl - input_buffer_.begin()) + 1; in Read() local
133 bytes_to_copy = std::min(bytes_to_copy, line_len); in Read()
/external/lldb/examples/python/
Dsymbolication.py485 line_len = len(lines[-1])
486 if line_len < comment_column:
487 lines[-1] += ' ' * (comment_column - line_len)
Dcrashlog.py233 line_len = len(line)
234 if line_len == 0:
/external/skia/platform_tools/android/third_party/cpufeatures/
Dcpu-features.c344 cpulist_parse(CpuList* list, const char* line, int line_len) in cpulist_parse() argument
347 const char* end = p + line_len; in cpulist_parse()
/external/chromium_org/third_party/skia/platform_tools/android/third_party/cpufeatures/
Dcpu-features.c344 cpulist_parse(CpuList* list, const char* line, int line_len) in cpulist_parse() argument
347 const char* end = p + line_len; in cpulist_parse()
/external/chromium_org/third_party/lcov/bin/
Dgenhtml3801 my $line_len = 0;
3811 if ($line_len + $block_len <= $br_field_width) {
3813 $line_len += $block_len;
3820 $line_len = $block_len;
3826 if ($line_len + $branch->[$BR_LEN] >= $br_field_width) {
3828 if (($line_len + 1 <= $br_field_width) &&
3836 $line_len = 0;
3840 $line_len += $branch->[$BR_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/perf-3.12.0/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()
Dhists.c1928 size_t line_len = strlen(ev_name) + 7; in __perf_evlist__tui_browse_hists() local
1930 if (menu.b.width < line_len) in __perf_evlist__tui_browse_hists()
1931 menu.b.width = line_len; in __perf_evlist__tui_browse_hists()
/external/chromium_org/third_party/libevent/
Dhttp.c1466 size_t old_len, line_len; in evhttp_append_to_last_header() local
1472 line_len = strlen(line); in evhttp_append_to_last_header()
1474 newval = realloc(header->value, old_len + line_len + 1); in evhttp_append_to_last_header()
1478 memcpy(newval + old_len, line, line_len + 1); in evhttp_append_to_last_header()