Home
last modified time | relevance | path

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

12

/third_party/curl/lib/
Dhttp1.c63 if(parser->line_len) { in trim_line()
64 if(parser->line[parser->line_len - 1] == '\n') in trim_line()
65 --parser->line_len; in trim_line()
66 if(parser->line_len) { in trim_line()
67 if(parser->line[parser->line_len - 1] == '\r') in trim_line()
68 --parser->line_len; in trim_line()
78 if(parser->line_len > parser->max_line_len) { in trim_line()
97 parser->line_len = line_end - buf + 1; in detect_line()
99 return (ssize_t)parser->line_len; in detect_line()
110 parser->line_len = 0; in next_line()
[all …]
Ddynhds.c214 const char *line, size_t line_len) in Curl_dynhds_h1_add_line() argument
222 if(!line || !line_len) in Curl_dynhds_h1_add_line()
231 while(line_len && ISBLANK(line[0])) { in Curl_dynhds_h1_add_line()
233 --line_len; in Curl_dynhds_h1_add_line()
235 if(!line_len) in Curl_dynhds_h1_add_line()
238 e2 = entry_append(e, line, line_len); in Curl_dynhds_h1_add_line()
246 p = memchr(line, ':', line_len); in Curl_dynhds_h1_add_line()
252 for(i = namelen + 1; i < line_len; ++i, ++p) { in Curl_dynhds_h1_add_line()
257 valuelen = line_len - i; in Curl_dynhds_h1_add_line()
Dhttp1.h44 size_t line_len; member
Ddynhds.h166 const char *line, size_t line_len);
/third_party/vk-gl-cts/external/vulkan-docs/src/config/
Dtilde_open_block.rb31 line_len = line.length
32 if line_len <= 4
34 tl = line_len
44 if tl < 4 || tl == line_len
52 elsif %(#{tip}#{tip[-1..-1] * (line_len - tl)}) == line
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/
Dbase64.c29 int line_len; in base64_gen_encode() local
46 line_len = 0; in base64_gen_encode()
53 line_len += 4; in base64_gen_encode()
54 if (add_pad && line_len >= 72) { in base64_gen_encode()
56 line_len = 0; in base64_gen_encode()
73 line_len += 4; in base64_gen_encode()
76 if (add_pad && line_len) in base64_gen_encode()
Dwpa_debug.c520 const size_t line_len = 16; in _wpa_hexdump_ascii()
570 llen = len > line_len ? line_len : len; in _wpa_hexdump_ascii()
574 for (i = llen; i < line_len; i++) in _wpa_hexdump_ascii()
583 for (i = llen; i < line_len; i++) in _wpa_hexdump_ascii()
603 llen = len > line_len ? line_len : len; in _wpa_hexdump_ascii()
607 for (i = llen; i < line_len; i++) in _wpa_hexdump_ascii()
616 for (i = llen; i < line_len; i++) in _wpa_hexdump_ascii()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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.c709 const size_t line_len = 16; in _wpa_hexdump_ascii()
757 llen = len > line_len ? line_len : len; in _wpa_hexdump_ascii()
761 for (i = llen; i < line_len; i++) in _wpa_hexdump_ascii()
770 for (i = llen; i < line_len; i++) in _wpa_hexdump_ascii()
793 llen = len > line_len ? line_len : len; in _wpa_hexdump_ascii()
797 for (i = llen; i < line_len; i++) in _wpa_hexdump_ascii()
806 for (i = llen; i < line_len; i++) in _wpa_hexdump_ascii()
/third_party/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
305 while (getline(&line_buf, &line_len, filp) > 0) { in db_init()
Dbooleans.c96 size_t line_len; in selinux_boolean_sub() local
106 while (getline(&line_buf, &line_len, cfg) != -1) { in selinux_boolean_sub()
Dselinux_config.c161 size_t line_len; in init_selinux_config() local
172 while ((len = getline(&line_buf, &line_len, fp)) > 0) { in init_selinux_config()
Dget_context_list.c138 size_t line_len = 0, usercon_len; in get_context_user() local
167 while ((len = getline(&line, &line_len, fp)) > 0) { in get_context_user()
/third_party/skia/third_party/externals/tint/src/diagnostic/
Dformatter.cc202 auto line_len = line.size(); in format() local
221 for (size_t i = start; (i < end) && (i < line_len); i++) { in format()
235 state.repeat('^', num_glyphs(rng.begin.column, line_len + 1)); in format()
241 state.repeat('^', num_glyphs(1, line_len + 1)); in format()
/third_party/rust/crates/codespan/codespan-lsp/src/
Dlib.rs81 let line_len = line.len(); in character_to_line_offset() localVariable
90 return Ok(line_len - chars_off - ch_off); in character_to_line_offset()
98 Ok(line_len) in character_to_line_offset()
/third_party/ffmpeg/libavcodec/
Dtwinvq.c582 const uint8_t line_len[2], int length_div, in permutate_in_line()
587 for (i = 0; i < line_len[0]; i++) { in permutate_in_line()
593 i == line_len[1]) { in permutate_in_line()
621 const uint8_t line_len[2], int length_div) in transpose_perm()
627 for (j = 0; j < line_len[i >= length_div]; j++) in transpose_perm()
/third_party/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()
/third_party/skia/third_party/externals/microhttpd/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()
/third_party/gstreamer/gstplugins_base/gst/subparse/
Dgstsubparse.c477 int line_len; in get_next_line() local
493 line_len = line_end - self->textbuf->str; in get_next_line()
494 line = g_strndup (self->textbuf->str, line_len); in get_next_line()
496 line_len + (have_r ? 2 : 1)); in get_next_line()
/third_party/python/Modules/_io/
Dtextio.c2155 Py_ssize_t line_len; in _textiowrapper_readline() local
2202 line_len = PyUnicode_GET_LENGTH(line); in _textiowrapper_readline()
2209 ptr + kind * line_len, in _textiowrapper_readline()
2246 if (endpos < line_len) { in _textiowrapper_readline()
2247 remaining = PyUnicode_Substring(line, endpos, line_len); in _textiowrapper_readline()
/third_party/python/Lib/
Dargparse.py346 line_len = len(prefix) - 1
348 line_len = len(indent) - 1
350 if line_len + 1 + len(part) > text_width and line:
353 line_len = len(indent) - 1
355 line_len += len(part) + 1
/third_party/python/Parser/
Dtokenizer.c1099 Py_ssize_t line_len = strcspn(tok->line_start, "\n"); in _syntaxerror_range() local
1100 if (line_len != tok->cur - tok->line_start) { in _syntaxerror_range()
1102 errtext = PyUnicode_DecodeUTF8(tok->line_start, line_len, in _syntaxerror_range()

12