Home
last modified time | relevance | path

Searched refs:line_len (Results 1 – 24 of 24) 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/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_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/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/selinux/libsemanage/src/
Dsemanage_store.c2481 size_t line_len, buf_remainder, i; in semanage_fc_sort() local
2522 line_len = line_end - line_buf + 1; in semanage_fc_sort()
2523 sanity_check = buf_remainder - line_len; in semanage_fc_sort()
2524 buf_remainder = buf_remainder - line_len; in semanage_fc_sort()
2532 if (line_len == 0 || line_len == 1) { in semanage_fc_sort()
2538 for (i = 0; i < line_len; i++) { in semanage_fc_sort()
2544 if (i >= line_len) { in semanage_fc_sort()
2571 while (i < line_len && (!isspace(line_buf[i]))) { in semanage_fc_sort()
2606 for (; i < line_len; i++) { in semanage_fc_sort()
2610 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_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
298 while (getline(&line_buf, &line_len, filp) > 0) { in db_init()
Dselinux_config.c158 size_t line_len; in init_selinux_config() local
169 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.c94 size_t line_len; in selinux_boolean_sub() local
104 while (getline(&line_buf, &line_len, cfg) != -1) { in selinux_boolean_sub()
Dlabel_file.c102 size_t line_len; in process_text_file() local
106 while (getline(&line_buf, &line_len, fp) > 0) { in process_text_file()
/external/harfbuzz_ng/util/
Doptions.cc671 if (line_len == (unsigned int) -1) in get_line()
672 line_len = strlen (line); in get_line()
674 if (!line_len) { in get_line()
680 const char *p = (const char *) memchr (line, '\n', line_len); in get_line()
683 ret_len = line_len; in get_line()
685 line_len = 0; in get_line()
689 line_len -= ret_len + 1; in get_line()
Doptions.hh341 line_len = (unsigned int) -1; in text_options_t()
377 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/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/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/python/cpython2/Lib/
Dargparse.py340 line_len = len(prefix) - 1
342 line_len = len(indent) - 1
344 if line_len + 1 + len(part) > text_width and line:
347 line_len = len(indent) - 1
349 line_len += len(part) + 1
/external/python/cpython2/Modules/_io/
Dtextio.c1708 Py_ssize_t line_len; in _textiowrapper_readline() local
1752 line_len = PyUnicode_GET_SIZE(line); in _textiowrapper_readline()
1756 ptr + start, ptr + line_len, &consumed); in _textiowrapper_readline()
1792 if (endpos < line_len) { in _textiowrapper_readline()
1794 ptr + endpos, line_len - endpos); in _textiowrapper_readline()
/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()