Home
last modified time | relevance | path

Searched refs:line_len (Results 1 – 25 of 25) 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()
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/selinux/libsemanage/src/
Dsemanage_store.c2438 size_t line_len, buf_remainder, i; in semanage_fc_sort() local
2479 line_len = line_end - line_buf + 1; in semanage_fc_sort()
2480 sanity_check = buf_remainder - line_len; in semanage_fc_sort()
2481 buf_remainder = buf_remainder - line_len; in semanage_fc_sort()
2489 if (line_len == 0 || line_len == 1) { in semanage_fc_sort()
2495 for (i = 0; i < line_len; i++) { in semanage_fc_sort()
2501 if (i >= line_len) { in semanage_fc_sort()
2528 while (i < line_len && (!isspace(line_buf[i]))) { in semanage_fc_sort()
2563 for (; i < line_len; i++) { in semanage_fc_sort()
2567 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.c244 size_t line_len = 0; in db_init() local
295 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.c156 size_t line_len; in init_selinux_config() local
167 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()
Dlabel_file.c426 size_t line_len = 0; in process_file() local
495 while (getline(&line_buf, &line_len, fp) > 0) { in process_file()
/external/harfbuzz_ng/util/
Doptions.cc605 if (line_len == (unsigned int) -1) in get_line()
606 line_len = strlen (line); in get_line()
608 if (!line_len) { in get_line()
614 const char *p = (const char *) memchr (line, '\n', line_len); in get_line()
617 ret_len = line_len; in get_line()
619 line_len = 0; in get_line()
623 line_len -= ret_len + 1; in get_line()
Doptions.hh335 line_len = (unsigned int) -1; in text_options_t()
371 unsigned int line_len; member
/external/webrtc/webrtc/base/
Dlogging.cc465 size_t line_len = std::min(len, LINE_SIZE); in LogMultiline() local
466 for (size_t i = 0; i < line_len; ++i) { in LogMultiline()
476 udata += line_len; in LogMultiline()
477 len -= line_len; in LogMultiline()
/external/libselinux/utils/
Dsefcontext_compile.c26 size_t line_len = 0; in process_file() local
39 while (getline(&line_buf, &line_len, context_file) > 0) { in process_file()
/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/opencv3/3rdparty/libwebp/cpu-features/
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/libmicrohttpd/src/spdy2http/
Dproxy.c795 int line_len = strlen(name) + 3; //+ ": \0" in iterate_cb() local
800 if(i) line_len += 2; //", " in iterate_cb()
801 line_len += strlen(value[i]); in iterate_cb()
804 if(NULL == (line = malloc(line_len)))//no recovery in iterate_cb()
/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/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()
/external/libselinux/src/
Dlabel_file.c419 size_t line_len = 0; in process_file() local
482 while (getline(&line_buf, &line_len, fp) > 0) { in process_file()
/external/libevent/
Dhttp.c1768 size_t old_len, line_len; in evhttp_append_to_last_header() local
1774 line_len = strlen(line); in evhttp_append_to_last_header()
1776 newval = mm_realloc(header->value, old_len + line_len + 1); in evhttp_append_to_last_header()
1780 memcpy(newval + old_len, line, line_len + 1); in evhttp_append_to_last_header()