/third_party/python/Lib/ |
D | textwrap.py | 200 def _handle_long_word(self, reversed_chunks, cur_line, cur_len, width): argument 226 cur_line.append(chunk[:end]) 232 elif not cur_line: 233 cur_line.append(reversed_chunks.pop()) 273 cur_line = [] 295 cur_line.append(chunks.pop()) 305 self._handle_long_word(chunks, cur_line, cur_len, width) 306 cur_len = sum(map(len, cur_line)) 309 if self.drop_whitespace and cur_line and cur_line[-1].strip() == '': 310 cur_len -= len(cur_line[-1]) [all …]
|
/third_party/cups-filters/filter/ |
D | urftopdf.cpp | 282 unsigned cur_line = 0; in decode_raster() local 305 dprintf("l%06d : line_repeat EOF at %lu\n", cur_line, lseek(fd, 0, SEEK_CUR)); in decode_raster() 311 dprintf("l%06d : next actions for %d lines\n", cur_line, line_repeat); in decode_raster() 320 … dprintf("p%06dl%06d : packbit_code EOF at %lu\n", pos, cur_line, lseek(fd, 0, SEEK_CUR)); in decode_raster() 324 …dprintf("p%06dl%06d: Raster code %02X='%d'.\n", pos, cur_line, (uint8_t)packbit_code, packbit_code… in decode_raster() 328 dprintf("\tp%06dl%06d : blank rest of line.\n", pos, cur_line); in decode_raster() 340 … dprintf("p%06dl%06d : pixel repeat EOF at %lu\n", pos, cur_line, lseek(fd, 0, SEEK_CUR)); in decode_raster() 344 dprintf("\tp%06dl%06d : Repeat pixel '", pos, cur_line); in decode_raster() 361 dprintf("\tp%06dl%06d : Forced end of line for pixel repeat.\n", pos, cur_line); in decode_raster() 371 dprintf("\tp%06dl%06d : Copy %d verbatim pixels.\n", pos, cur_line, n); in decode_raster() [all …]
|
D | rastertopdf.cpp | 1199 unsigned cur_line = 0; in convert_raster() local 1229 pdf_set_line(info, cur_line, conversion_function(PixelBuffer, buff, width)); in convert_raster() 1230 ++cur_line; in convert_raster() 1232 while(cur_line < height); in convert_raster()
|
/third_party/ffmpeg/libavcodec/ |
D | ttmlenc.c | 48 AVBPrint cur_line = { 0 }; in ttml_text_cb() local 51 av_bprint_init(&cur_line, len, AV_BPRINT_SIZE_UNLIMITED); in ttml_text_cb() 53 av_bprint_append_data(&cur_line, text, len); in ttml_text_cb() 54 if (!av_bprint_is_complete(&cur_line)) { in ttml_text_cb() 57 av_bprint_finalize(&cur_line, NULL); in ttml_text_cb() 62 av_bprint_escape(buffer, cur_line.str, NULL, AV_ESCAPE_MODE_XML, in ttml_text_cb() 65 av_bprint_finalize(&cur_line, NULL); in ttml_text_cb()
|
/third_party/python/Parser/ |
D | pegen_errors.c | 250 char *cur_line = p->tok->fp_interactive ? p->tok->interactive_src_start : p->tok->str; in get_error_line_from_tokenizer_buffers() local 251 assert(cur_line != NULL); in get_error_line_from_tokenizer_buffers() 254 cur_line = strchr(cur_line, '\n') + 1; in get_error_line_from_tokenizer_buffers() 258 if ((next_newline = strchr(cur_line, '\n')) == NULL) { // This is the last line in get_error_line_from_tokenizer_buffers() 259 next_newline = cur_line + strlen(cur_line); in get_error_line_from_tokenizer_buffers() 261 return PyUnicode_DecodeUTF8(cur_line, next_newline - cur_line, "replace"); in get_error_line_from_tokenizer_buffers()
|
D | pegen.c | 438 char *cur_line = p->tok->fp_interactive ? p->tok->interactive_src_start : p->tok->str; in get_error_line() local 439 assert(cur_line != NULL); in get_error_line() 442 cur_line = strchr(cur_line, '\n') + 1; in get_error_line() 446 if ((next_newline = strchr(cur_line, '\n')) == NULL) { // This is the last line in get_error_line() 447 next_newline = cur_line + strlen(cur_line); in get_error_line() 449 return PyUnicode_DecodeUTF8(cur_line, next_newline - cur_line, "replace"); in get_error_line()
|
/third_party/python/Lib/distutils/ |
D | fancy_getopt.py | 393 cur_line = [] # list of chunks (to-be-joined) 399 cur_line.append(chunks[0]) 404 if cur_line and cur_line[-1][0] == ' ': 405 del cur_line[-1] 413 cur_line.append(chunks[0][0:width]) 424 lines.append(''.join(cur_line))
|
/third_party/gn/src/gn/ |
D | tokenizer.cc | 165 int cur_line = 1; in ByteOffsetOfNthLine() local 169 cur_line++; in ByteOffsetOfNthLine() 170 if (cur_line == n) in ByteOffsetOfNthLine()
|
/third_party/libffi/testsuite/lib/ |
D | libffi.exp | 438 while { [gets $fd cur_line]>=0 } { 439 if [string match "*$pattern*" $cur_line] then {
|
/third_party/flutter/skia/third_party/externals/libwebp/src/dsp/ |
D | dsp.h | 657 uint8_t* cur_line, int width);
|
/third_party/skia/third_party/externals/libwebp/src/dsp/ |
D | dsp.h | 705 uint8_t* cur_line, int width);
|
/third_party/libbpf/src/ |
D | libbpf.c | 7414 char *prev_line, *cur_line, *next_line; local 7424 for (i = 0; i < max_last_line_cnt; i++, next_line = cur_line) { 7425 cur_line = find_prev_line(buf, next_line); 7426 if (!cur_line) 7430 if (str_has_pfx(cur_line, "invalid func unknown#195896080\n")) { 7431 prev_line = find_prev_line(buf, cur_line); 7436 prev_line, cur_line, next_line); 7438 } else if (str_has_pfx(cur_line, "invalid func unknown#"MAP_LDIMM64_POISON_PFX)) { 7439 prev_line = find_prev_line(buf, cur_line); 7444 prev_line, cur_line, next_line);
|