/curl/src/ |
H A D | terminal.c | 47 unsigned int width = 0; in get_terminal_columns() local 54 width = (unsigned int)num; in get_terminal_columns() 58 if(!width) { in get_terminal_columns() 86 width = (unsigned int)cols; in get_terminal_columns() 88 if(!width) in get_terminal_columns() 89 width = 79; in get_terminal_columns() 90 return width; /* 79 for unknown, might also be tiny or enormous */ in get_terminal_columns()
|
H A D | tool_cb_prg.c | 75 int check = bar->width - 2; in fly() 78 DEBUGASSERT(bar->width <= MAX_BARLENGTH); in fly() 80 memset(&buf[1], ' ', bar->width); in fly() 81 buf[bar->width + 1] = '\0'; in fly() 100 if(bar->bar >= (bar->width - 6)) { in fly() 102 bar->bar = bar->width - 6; in fly() 125 bar->width = MAX_BARLENGTH; in update_width() 127 bar->width = (int)cols; in update_width() 129 bar->width = MIN_BARLENGTH; in update_width() 207 barwidth = bar->width - 7; in tool_progress_cb()
|
H A D | tool_msgs.c | 49 size_t width = (get_terminal_columns() - strlen(prefix)); in voutf() local 65 if(len > width) { in voutf() 66 size_t cut = width-1; in voutf() 74 cut = width-1; in voutf()
|
H A D | tool_cb_dbg.c | 254 unsigned int width = 0x10; in dump() local 258 width = 0x40; in dump() 263 for(i = 0; i < size; i += width) { in dump() 269 for(c = 0; c < width; c++) in dump() 276 for(c = 0; (c < width) && (i + c < size); c++) { in dump() 281 i += (c + 2 - width); in dump() 291 i += (c + 3 - width); in dump()
|
H A D | tool_cb_prg.h | 35 int width; member
|
H A D | tool_help.c | 138 static void get_categories_list(unsigned int width) in get_categories_list() argument 146 if(col + len + 1 < width) in get_categories_list() 152 else if(col + len + 2 < width) { in get_categories_list()
|
/curl/lib/ |
H A D | mprintf.c | 224 int width; in parsefmt() local 518 if(usedinput[width/8] & (1 << (width&7))) in parsefmt() 528 usedinput[width/8] |= (unsigned char)(1 << (width&7)); in parsefmt() 569 optr->width = width; in parsefmt() 719 width = (int)input[optr->width].val.nums; in formatf() 726 width = -width; in formatf() 732 width = optr->width; in formatf() 826 --width; in formatf() 839 --width; in formatf() 953 width = optr->width; in formatf() [all …]
|
/curl/docs/examples/ |
H A D | multi-debugcallback.c | 43 unsigned int width = 0x10; in dump() local 47 width = 0x40; in dump() 52 for(i = 0; i < size; i += width) { in dump() 58 for(c = 0; c < width; c++) in dump() 65 for(c = 0; (c < width) && (i + c < size); c++) { in dump() 69 i += (c + 2 - width); in dump() 77 i += (c + 3 - width); in dump()
|
H A D | debug.c | 43 unsigned int width = 0x10; in dump() local 47 width = 0x40; in dump() 52 for(i = 0; i < size; i += width) { in dump() 58 for(c = 0; c < width; c++) in dump() 65 for(c = 0; (c < width) && (i + c < size); c++) { in dump() 69 i += (c + 2 - width); in dump() 77 i += (c + 3 - width); in dump()
|
H A D | http2-download.c | 59 unsigned int width = 0x10; in dump() local 63 width = 0x40; in dump() 68 for(i = 0; i < size; i += width) { in dump() 74 for(c = 0; c < width; c++) in dump() 81 for(c = 0; (c < width) && (i + c < size); c++) { in dump() 85 i += (c + 2 - width); in dump() 93 i += (c + 3 - width); in dump()
|
H A D | http2-serverpush.c | 47 unsigned int width = 0x10; in dump() local 51 width = 0x40; in dump() 56 for(i = 0; i < size; i += width) { in dump() 62 for(c = 0; c < width; c++) in dump() 69 for(c = 0; (c < width) && (i + c < size); c++) { in dump() 73 i += (c + 2 - width); in dump() 81 i += (c + 3 - width); in dump()
|
H A D | http2-upload.c | 88 unsigned int width = 0x10; in dump() local 92 width = 0x40; in dump() 97 for(i = 0; i < size; i += width) { in dump() 103 for(c = 0; c < width; c++) in dump() 110 for(c = 0; (c < width) && (i + c < size); c++) { in dump() 114 i += (c + 2 - width); in dump() 122 i += (c + 3 - width); in dump()
|
/curl/tests/libtest/ |
H A D | testtrace.c | 42 unsigned int width = 0x10; in libtest_debug_dump() local 46 width = 0x40; in libtest_debug_dump() 51 for(i = 0; i < size; i += width) { in libtest_debug_dump() 57 for(c = 0; c < width; c++) in libtest_debug_dump() 64 for(c = 0; (c < width) && (i + c < size); c++) { in libtest_debug_dump() 69 i += (c + 2 - width); in libtest_debug_dump() 78 i += (c + 3 - width); in libtest_debug_dump()
|
H A D | lib552.c | 45 unsigned int width = 0x10; in dump() local 49 width = 0x40; in dump() 53 for(i = 0; i < size; i += width) { in dump() 59 for(c = 0; c < width; c++) in dump() 66 for(c = 0; (c < width) && (i + c < size); c++) { in dump() 70 i += (c + 2 - width); in dump() 78 i += (c + 3 - width); in dump()
|
/curl/tests/unit/ |
H A D | unit1398.c | 39 int width = 3; variable 45 rc = curl_msnprintf(output, 4, "%.*s", width, buf); 50 rc = curl_msnprintf(output, 4, "%.*s", width, str); 54 width = 2; 56 rc = curl_msnprintf(output, 4, "%.*s", width, buf);
|
/curl/tests/http/clients/ |
H A D | h2-serverpush.c | 46 unsigned int width = 0x10; in dump() local 50 width = 0x40; in dump() 55 for(i = 0; i < size; i += width) { in dump() 61 for(c = 0; c < width; c++) in dump() 68 for(c = 0; (c < width) && (i + c < size); c++) { in dump() 72 i += (c + 2 - width); in dump() 80 i += (c + 3 - width); in dump()
|
H A D | ws-data.c | 54 unsigned int width = 0x10; in dump() local 58 width = 0x40; in dump() 63 for(i = 0; i < size; i += width) { in dump() 69 for(c = 0; c < width; c++) in dump() 76 for(c = 0; (c < width) && (i + c < size); c++) { in dump() 80 i += (c + 2 - width); in dump() 88 i += (c + 3 - width); in dump()
|
/curl/docs/libcurl/ |
H A D | curl_free.md | 43 char *width = curl_getenv("COLUMNS"); 44 if(width) { 46 curl_free(width);
|
H A D | curl_getenv.md | 41 char *width = curl_getenv("COLUMNS"); 42 if(width) { 44 curl_free(width);
|
H A D | curl_mprintf.md | 82 or more *flags*, an optional minimum *field width*, an optional 89 width and Precision below) and each conversion specifier asks for the next 96 curl_mprintf("%*d", width, num); 100 curl_mprintf("%2$*1$d", width, num); 142 # Field width 145 minimum field width. If the converted value has fewer characters than the 146 field width, it gets padded with spaces on the left (or right, if the 149 width is given in the next argument, or in the *m-th* argument, 150 respectively, which must be of type int. A negative field width is taken as 151 a '-' flag followed by a positive field width. In no case does a nonexistent [all …]
|
/curl/docs/libcurl/opts/ |
H A D | CURLOPT_DEBUGFUNCTION.md | 118 unsigned int width = 0x10; 123 for(i = 0; i < size; i += width) { 127 for(c = 0; c < width; c++) { 135 for(c = 0; (c < width) && (i + c < size); c++) {
|
/curl/tests/data/ |
H A D | test1148 | 56 # Check that the progress finished at 100% and has the right bar width.
|
/curl/tests/server/ |
H A D | sockfilt.c | 362 ssize_t width = 0; in lograw() local 369 width += 2; in lograw() 375 width += 2; in lograw() 382 width++; in lograw() 388 if(width > 60) { in lograw() 390 width = 0; in lograw() 395 if(width) in lograw()
|
H A D | mqttd.c | 192 ssize_t width = 0; in loghex() local 197 width += 2; in loghex() 201 if(width) in loghex()
|
/curl/scripts/ |
H A D | managen | 102 my $width = $colwidth - ($lvl * $indent); 108 my $inject = $width - $w; 146 my $width = $colwidth - ($lvl * $indent); 152 if(($w + $l + $spaces) >= $width) {
|