/dports/math/kfr/kfr-4.2.1/include/kfr/io/ |
H A D | tostring.hpp | 78 constexpr size_t number_width = 9; variable 86 std::string str = as_string(fmt<'g', number_width, number_precision>(x)); in fmtvalue() 87 if (str.size() > number_width) in fmtvalue() 88 str = as_string(fmt<'g', number_width, number_precision_short>(x)); in fmtvalue() 95 std::string restr = as_string(fmt<'g', number_width, number_precision>(x.real())); in fmtvalue() 96 if (restr.size() > number_width) in fmtvalue() 97 restr = as_string(fmt<'g', number_width, number_precision_short>(x.real())); in fmtvalue() 100 if (imstr.size() > number_width) in fmtvalue() 103 return restr + (x.imag() < T(0) ? "-" : "+") + padleft(number_width, imstr + "j"); in fmtvalue() 109 return as_string(fmtwidth<number_width>(representation<T>::get(x))); in fmtvalue()
|
/dports/databases/pspg/pspg-5.3.4/src/ |
H A D | pspg.c | 105 static int number_width(int num); 507 int startx = number_width(desc->maxy) + 2; in create_layout_dimensions() 1215 number_width(int num) in number_width() function 1292 int w = number_width(opts->watch_time); in print_status() 1349 number_width(desc->columns), desc->columns, in print_status() 1381 number_width(desc->columns), desc->columns, in print_status() 1420 number_width(desc->maxx), desc->maxx, in print_status() 1422 number_width(desc->last_row), desc->last_row + 1, in print_status() 1430 number_width(desc->maxx), desc->maxx, in print_status() 1432 number_width(smaxy), cursor_row - first_row, in print_status() [all …]
|
/dports/graphics/opendx/dx-4.4.4/src/uipp/widgets/ |
H A D | Stepper.c | 72 Dimension number_width, number_height; member 524 loc.number_width = (new->stepper.num_digits * 6) + 4; in Initialize() 537 loc.number_width = new->core.width; in Initialize() 540 XtSetArg(wargs[3], XmNwidth, loc.number_width); in Initialize() 566 XtSetArg(wargs[2], XmNwidth, loc.number_width); in Initialize() 927 loc->number_width = reply.width; in ComputeLayout() 942 loc->number_width = (sw->stepper.num_digits * 6) + 4; in ComputeLayout() 964 loc->number_x = midpt - (loc->number_width/2); in ComputeLayout() 987 loc->field_width = loc->number_width; in ComputeLayout() 988 loc->arrow_width = loc->number_width; in ComputeLayout() [all …]
|
/dports/misc/gnuls/coreutils-8.30/src/ |
H A D | wc.c | 69 static int number_width; variable 166 printf (format_int, number_width, umaxtostr (lines, buf)); in write_counts() 171 printf (format_int, number_width, umaxtostr (words, buf)); in write_counts() 176 printf (format_int, number_width, umaxtostr (chars, buf)); in write_counts() 181 printf (format_int, number_width, umaxtostr (bytes, buf)); in write_counts() 186 printf (format_int, number_width, umaxtostr (linelength, buf)); in write_counts() 788 number_width = compute_number_width (nfiles, fstatus); in main()
|
H A D | pr.c | 661 static int number_width; variable 1261 number_width = (chars_per_number in init_parameters() 1264 number_width = chars_per_number + 1; in init_parameters() 1269 chars_used_by_number = number_width; in init_parameters() 1395 h_next = h + chars_per_column + number_width; in init_funcs() 2029 i = number_width - chars_per_number; in add_line_number() 2048 input_position += number_width; in add_line_number()
|
/dports/sysutils/coreutils/coreutils-8.32/src/ |
H A D | wc.c | 69 static int number_width; variable 184 printf (format_int, number_width, umaxtostr (lines, buf)); in write_counts() 189 printf (format_int, number_width, umaxtostr (words, buf)); in write_counts() 194 printf (format_int, number_width, umaxtostr (chars, buf)); in write_counts() 199 printf (format_int, number_width, umaxtostr (bytes, buf)); in write_counts() 204 printf (format_int, number_width, umaxtostr (linelength, buf)); in write_counts() 809 number_width = compute_number_width (nfiles, fstatus); in main()
|
H A D | pr.c | 662 static int number_width; variable 1262 number_width = (chars_per_number in init_parameters() 1265 number_width = chars_per_number + 1; in init_parameters() 1270 chars_used_by_number = number_width; in init_parameters() 1396 h_next = h + chars_per_column + number_width; in init_funcs() 2030 i = number_width - chars_per_number; in add_line_number() 2049 input_position += number_width; in add_line_number()
|
/dports/games/supertuxkart/SuperTuxKart-1.2-src/src/states_screens/ |
H A D | race_gui_overworld.cpp | 318 int number_width = (points <= 9) ? small_width : in drawTrophyPoints() local 322 pos.UpperLeftCorner.X -= int(0.5f*size + number_width*0.5f); in drawTrophyPoints() 328 pos.UpperLeftCorner.X += int(0.5f*size + number_width*0.5f); in drawTrophyPoints() 332 if (next_unlock_points < 9) number_width = small_width; in drawTrophyPoints() 333 else if (next_unlock_points <99) number_width = middle_width; in drawTrophyPoints() 334 else number_width = large_width; in drawTrophyPoints() 344 pos.UpperLeftCorner.X -= int(2*size + number_width*0.5f); in drawTrophyPoints()
|
/dports/math/octave-forge-interval/interval-3.2.0/src/ |
H A D | intervaltotext.cc | 65 uint16_t number_width; member 88 .number_width = 0, 188 layout.number_width = atol (width.c_str ()); in parse_conversion_specifier() 336 if (layout.number_width > 0) in prepare_format_string() 344 format_string << layout.number_width; in prepare_format_string() 442 if (layout.number_width > formatted_number.length ()) in pad_number_width() 445 formatted_number.resize (layout.number_width, ' '); in pad_number_width() 448 layout.number_width - formatted_number.length (), ' '); in pad_number_width()
|
/dports/misc/vifm/vifm-0.11/src/ui/ |
H A D | fileview.c | 69 int number_width; /* Whether to draw line numbers. */ member 343 int number_width = 0; in draw_left_column() local 356 number_width = calculate_number_width(view, in draw_left_column() 358 lcol_width -= number_width; in draw_left_column() 363 number_width); in draw_left_column() 478 .total_width = number_width + width, in print_column() 479 .number_width = number_width, in print_column() 488 fill_column(view, i, top, number_width + width, offset); in print_column() 950 cdt->number_width = cdt->view->real_num_width; in compute_and_draw_cell() 1120 prefix_len = padding + cdt->number_width + extra_prefix; in column_line_print() [all …]
|
H A D | fileview.h | 149 int number_width; /* Width of line number column (0 when disabled). */
|
/dports/devel/srecord/srecord-1.64/srecord/output/file/ |
H A D | fastload.cc | 86 number_width(unsigned long n) in number_width() function 101 int width = number_width(n); in put_command()
|
/dports/games/xpuzzletama/xpuzzletama/ |
H A D | xtama_init.c | 368 nlength = number_width / Byte * number_height ; 372 for ( x = 0 ; x < number_width / Byte ; x ++ , l ++){ 375 if ( number_xbm[ii][ y * number_width / Byte + x ] & 389 number_width * 4 , number_height * 4 ) ;
|
/dports/editors/dte/dte-cae7c45ea5a563c022001a54d1eee71c268f62b4/src/util/ |
H A D | strtonum.h | 9 int number_width(long n) CONST_FN;
|
H A D | strtonum.c | 7 int number_width(long n) in number_width() function
|
/dports/net-p2p/bazarr/bazarr-1.0.2/libs/rich/ |
H A D | markdown.py | 290 number_width = len(str(last_number)) + 2 291 render_options = options.update(width=options.max_width - number_width) 296 padding = Segment(" " * number_width, number_style) 297 numeral = Segment(f"{number}".rjust(number_width - 1) + " ", number_style)
|
/dports/textproc/py-rich/rich-10.16.1/rich/ |
H A D | markdown.py | 291 number_width = len(str(last_number)) + 2 292 render_options = options.update(width=options.max_width - number_width) 297 padding = Segment(" " * number_width, number_style) 298 numeral = Segment(f"{number}".rjust(number_width - 1) + " ", number_style)
|
/dports/devel/godot-tools/godot-3.2.3-stable/editor/ |
H A D | editor_spin_slider.cpp | 233 int number_width = get_size().width - sb->get_minimum_size().width - string_width - sep; in _notification() local 238 number_width -= updown->get_width(); in _notification() 265 …nt, Vector2(Math::round(sb->get_offset().x + string_width + sep), vofs), numstr, fc, number_width); in _notification()
|
/dports/devel/godot/godot-3.2.3-stable/editor/ |
H A D | editor_spin_slider.cpp | 233 int number_width = get_size().width - sb->get_minimum_size().width - string_width - sep; in _notification() local 238 number_width -= updown->get_width(); in _notification() 265 …nt, Vector2(Math::round(sb->get_offset().x + string_width + sep), vofs), numstr, fc, number_width); in _notification()
|
/dports/devel/upp/upp/uppsrc/TextDiffCtrl/ |
H A D | TextCtrl.cpp | 11 number_width = 0; in TextCompareCtrl() 279 int n_width = show_line_number ? number_width : 0; in Paint() 396 number_width = 5 * ni.GetAveWidth(); in SetFont() 408 int n_width = show_line_number ? number_width : 0; in Layout()
|
/dports/math/vtk9/VTK-9.1.0/ThirdParty/ioss/vtkioss/ |
H A D | Ioss_VariableType.C | 193 size_t width = Ioss::Utils::number_width(size); in factory() 309 size_t width = Ioss::Utils::number_width(ncomp); in numeric_label()
|
/dports/deskutils/calibre/calibre-src-5.34.0/src/calibre/gui2/dialogs/ |
H A D | template_dialog_code_widget.py | 65 self.number_width = max(map(lambda x:w.width(str(x)), range(10))) 71 return self.number_width * (digits+1)
|
/dports/math/snns/SNNSv4.3/xgui/iconsXgui/ |
H A D | number.xbm | 1 #define number_width 80
|
/dports/editors/dte/dte-cae7c45ea5a563c022001a54d1eee71c268f62b4/test/ |
H A D | util.c | 347 EXPECT_EQ(number_width(0), 1); in test_number_width() 348 EXPECT_EQ(number_width(-1), 2); in test_number_width() 349 EXPECT_EQ(number_width(420), 3); in test_number_width() 350 EXPECT_EQ(number_width(2147483647), 10); in test_number_width() 351 EXPECT_EQ(number_width(-2147483647), 11); in test_number_width()
|
/dports/editors/vim/vim-8.2.3745/src/proto/ |
H A D | screen.pro | 55 int number_width(win_T *wp);
|