/haiku-fatelf/headers/private/system/arch/x86/ |
H A D | apm_defs.h | 18 int32 percent; member in struct:apm_battery_info
|
/haiku-fatelf/src/apps/soundrecorder/ |
H A D | DrawingTidbits.h | 19 ShiftComponent(uchar component, float percent) argument 21 // change the color by <percent>, make sure we aren't rounding 23 if (percent >= 1) 24 return (uchar)(component * (2 - percent)); 26 return (uchar)(255 - percent * (255 - component));
|
H A D | DrawingTidbits.cpp | 16 ShiftColor(rgb_color color, float percent) argument 19 ShiftComponent(color.red, percent), 20 ShiftComponent(color.green, percent), 21 ShiftComponent(color.blue, percent),
|
/haiku-fatelf/src/apps/networkstatus/ |
H A D | RadioView.h | 21 void SetPercent(int32 percent); 29 static void Draw(BView* view, BRect rect, int32 percent, 49 static void _SetColor(BView* view, int32 percent, 51 static bool _IsDisabled(int32 percent, int32 index,
|
H A D | RadioView.cpp | 39 RadioView::SetPercent(int32 percent) argument 41 if (percent < 0) 42 percent = 0; 43 if (percent > 100) 44 percent = 100; 46 if (percent == fPercent) 49 fPercent = percent; 91 RadioView::Draw(BView* view, BRect rect, int32 percent, int32 maxCount) argument 101 _SetColor(view, percent, 0, i, count); 227 RadioView::_SetColor(BView* view, int32 percent, int3 argument 244 _IsDisabled(int32 percent, int32 index, int32 count) argument [all...] |
/haiku-fatelf/src/apps/sudoku/ |
H A D | SudokuGenerator.h | 26 void _Progress(BMessenger progress, const char* text, float percent);
|
H A D | ProgressWindow.cpp | 129 float percent; local 130 if (message->FindFloat("percent", &percent) == B_OK) 131 fStatusBar->Update(percent - fStatusBar->CurrentValue());
|
H A D | SudokuGenerator.cpp | 46 float percent) 51 update.AddFloat("percent", percent); 45 _Progress(BMessenger progress, const char* text, float percent) argument
|
/haiku-fatelf/src/apps/showimage/ |
H A D | ProgressWindow.cpp | 122 float percent; local 123 if (message->FindFloat("percent", &percent) == B_OK) 124 fStatusBar->Update(percent - fStatusBar->CurrentValue());
|
/haiku-fatelf/src/system/kernel/arch/x86/32/ |
H A D | apm.cpp | 223 info->percent = regs.ecx & 0xff; 224 if (info->percent > 100 || info->percent < 0) 225 info->percent = -1; 227 info->time_left = info->percent >= 0 ? (int32)(regs.edx & 0xffff) : -1;
|
/haiku-fatelf/src/apps/activitymonitor/ |
H A D | DataSource.cpp | 878 int64 percent = int64(1000.0 * (active - fPreviousActive) local 880 if (percent < 0) 881 percent = 0; 882 if (percent > 1000) 883 percent = 1000; 888 return percent; 1027 int64 percent = int64(1000.0 * (active - fPreviousActive) local 1029 if (percent < 0) 1030 percent = 0; 1031 if (percent > 100 [all...] |
/haiku-fatelf/src/bin/less/ |
H A D | jump.c | 112 jump_percent(percent, fraction) 113 int percent; 132 pos = percent_pos(len, percent, fraction);
|
H A D | os.c | 273 percent_pos(pos, percent, fraction) 275 int percent; 278 /* Change percent (parts per 100) to perden (parts per NUM_FRAC_DENOM). */ 279 long perden = (percent * (NUM_FRAC_DENOM / 100)) + (fraction / 100);
|
/haiku-fatelf/src/apps/powerstatus/ |
H A D | PowerStatusView.cpp | 189 int32 percent = fPercent; local 190 if (percent > 100) 191 percent = 100; 192 else if (percent < 0 || !fHasBattery) 193 percent = 0; 195 if (percent > 0) { 200 if (fHasBattery && percent > 0) 201 empty.left += empty.Width() * percent / 100.0; 206 fHasBattery && percent > 0 213 if (percent < [all...] |
H A D | APMDriverInterface.cpp | 86 info->capacity = apmInfo.percent;
|
/haiku-fatelf/src/libs/ncurses/progs/ |
H A D | dump_entry.c | 431 int percent = 0; local 439 percent = 0; 443 percent = 1; 448 if (percent) { 449 percent = 0; 473 if (percent) { 474 percent = 0; 487 if (percent && params) { 493 percent = 0; 496 percent [all...] |
/haiku-fatelf/src/kits/tracker/ |
H A D | Pose.cpp | 60 int32 percent 64 if (volume->FreeBytes() < 20 * 1024 * 1024 && percent < 10) 65 return -2 - percent; 66 return percent; 321 int32 percent = CalcFreeSpace(volume); local 322 if (fPercent != percent) { 323 if (percent > 100) 326 fPercent = percent; 859 int32 percent = fPercent > -1 ? fPercent : -2 - fPercent; local 860 int32 barPos = int32(barHeight * percent / 100. [all...] |
/haiku-fatelf/src/apps/mediaplayer/media_node_framework/ |
H A D | NodeManager.h | 74 virtual void SetVolume(float percent);
|
H A D | PlaybackManager.h | 90 virtual void SetVolume(float percent) = 0;
|
/haiku-fatelf/src/apps/mediaplayer/ |
H A D | MainWin.h | 103 void _ResizeWindow(int percent,
|
H A D | MainWin.cpp | 1196 int percent = _CurrentVideoSizeInPercent(); local 1203 if (percent == 100) 1756 int percent = _CurrentVideoSizeInPercent(); local 1757 int newSize = percent * (100 + percentDiff) / 100; 1763 if (newSize != percent) { 1772 MainWin::_ResizeWindow(int percent, bool useNoVideoWidth, bool stayOnScreen) argument 1779 videoWidth = (videoWidth * percent) / 100; 1780 videoHeight = (videoHeight * percent) / 100;
|
/haiku-fatelf/src/bin/coreutils/src/ |
H A D | csplit.c | 1271 bool percent = false; local 1284 if (percent) 1287 percent = true; 1299 if (! percent)
|
H A D | shred.c | 521 int percent = (size == 0 local 534 percent);
|
/haiku-fatelf/src/tools/docbook/libxslt/libxslt/ |
H A D | numbers.c | 872 * else treat percent/per-mille as special cases, 880 if (xsltUTF8Charcmp(*format, self->percent) == 0) { 959 * delayed_multiplier allows a 'trailing' percent or 1015 * First we process the +ve pattern to get percent / permille, 1027 * a little messy because of the percent/per-mille - if that 1060 } else if (xsltUTF8Charcmp(the_format, self->percent) == 0) { 1099 } else if (xsltUTF8Charcmp(the_format, self->percent) == 0) { 1174 * Flag changes interpretation of percent/permille 1190 if ( (xsltUTF8Charcmp(the_format, (self)->percent) == 0) ||
|
/haiku-fatelf/src/add-ons/input_server/filters/shortcut_catcher/ |
H A D | CommandActuators.cpp | 1340 // Find the percent part, if any 1341 char* percent = strchr(temp, '%'); local 1342 if (percent) { 1344 char* beginNum = percent - 1; 1357 while (beginNum <= percent)
|