/dports/audio/opencore-amr/opencore-amr-0.1.5/test/ |
H A D | wavwriter.c | 62 bytes_per_frame = ww->bits_per_sample/8*ww->channels; in write_header() 65 write_int16(ww, ww->channels); // Channels in write_header() 66 write_int32(ww, ww->sample_rate); // Samplerate in write_header() 69 write_int16(ww, ww->bits_per_sample); // Bits per sample in write_header() 77 memset(ww, 0, sizeof(*ww)); in wav_write_open() 80 free(ww); in wav_write_open() 88 write_header(ww, ww->data_length); in wav_write_open() 89 return ww; in wav_write_open() 95 free(ww); in wav_write_close() 99 write_header(ww, ww->data_length); in wav_write_close() [all …]
|
/dports/net-mgmt/ettercap/ettercap-0.8.3.1/src/interfaces/curses/widgets/ |
H A D | wdg_dynlist.c | 398 ww->top = ww->func(0, NULL, NULL, 0); in wdg_dynlist_refresh() 409 ww->current = ww->top; in wdg_dynlist_refresh() 413 ww->top = ww->func(0, NULL, NULL, 0); in wdg_dynlist_refresh() 457 ww->current = ww->top; in wdg_dynlist_refresh() 485 if (ww->current == ww->top) in wdg_dynlist_move() 500 if (ww->current == ww->bottom) in wdg_dynlist_move() 501 ww->top = ww->func(+1, ww->top, NULL, 0); in wdg_dynlist_move() 513 if (ww->current == ww->top) in wdg_dynlist_move() 529 ww->top = ww->func(+1, ww->top, NULL, 0); in wdg_dynlist_move() 530 ww->bottom = ww->func(+1, ww->bottom, NULL, 0); in wdg_dynlist_move() [all …]
|
H A D | wdg_file.c | 101 ww->x = 50; in wdg_create_file() 102 ww->y = 18; in wdg_create_file() 166 if (l != ww->y) l = ww->y; in wdg_file_redraw() 167 if (c != ww->x) c = ww->x; in wdg_file_redraw() 489 ww->items[ww->nitems - 1] = new_item(ww->namelist[i]->d_name, "root"); in wdg_file_menu_create() 499 ww->items[ww->nitems - 1] = new_item(ww->namelist[i]->d_name, "[...]"); in wdg_file_menu_create() 514 ww->items[ww->nitems - 1] = new_item(ww->namelist[i]->d_name, ""); in wdg_file_menu_create() 521 ww->items[ww->nitems] = NULL; in wdg_file_menu_create() 524 ww->m = new_menu(ww->items); in wdg_file_menu_create() 527 set_menu_format(ww->m, ww->y - 2, 1); in wdg_file_menu_create() [all …]
|
H A D | wdg_list.c | 110 while (ww->items && ww->items[i] != NULL) in wdg_list_destroy() 151 if (ww->win) { in wdg_list_redraw() 329 while (ww->items && ww->items[i] != NULL) in wdg_list_set_elements() 350 ww->items[ww->nitems] = NULL; in wdg_list_set_elements() 424 if (ww->menu || !ww->items || ww->nitems == 0) in wdg_list_menu_create() 428 ww->menu = new_menu(ww->items); in wdg_list_menu_create() 443 set_menu_win(ww->menu, ww->mwin); in wdg_list_menu_create() 456 set_current_item(ww->menu, ww->current); in wdg_list_menu_create() 476 ww->current = current_item(ww->menu); in wdg_list_menu_destroy() 555 ww->current = current_item(ww->menu); in wdg_list_refresh() [all …]
|
H A D | wdg_input.c | 149 if (l != ww->y + 2) l = ww->y + 2; in wdg_input_redraw() 150 if (c != ww->x + 2) c = ww->x + 2; in wdg_input_redraw() 449 ww->form = new_form(ww->fields); in wdg_input_form_create() 461 set_form_win(ww->form, ww->fwin); in wdg_input_form_create() 487 ww->y = y; in wdg_input_size() 509 ww->buffers[ww->nfields/2 - 1] = buf; in wdg_input_add() 510 ww->buffers[ww->nfields/2] = NULL; in wdg_input_add() 515 field_opts_off(ww->fields[ww->nfields - 2], O_ACTIVE); in wdg_input_add() 521 field_opts_off(ww->fields[ww->nfields - 1], O_WRAP); in wdg_input_add() 522 set_field_buffer(ww->fields[ww->nfields - 1], 0, buf); in wdg_input_add() [all …]
|
H A D | wdg_dialog.c | 106 werase(ww->sub); in wdg_dialog_destroy() 107 werase(ww->win); in wdg_dialog_destroy() 112 delwin(ww->sub); in wdg_dialog_destroy() 113 delwin(ww->win); in wdg_dialog_destroy() 169 if (ww->win) { in wdg_dialog_redraw() 172 werase(ww->win); in wdg_dialog_redraw() 212 wprintw(ww->sub, ww->text); in wdg_dialog_redraw() 302 werase(ww->win); in wdg_dialog_border() 399 for (p = ww->text; p < ww->text + wwtextlen; p++) { in wdg_dialog_get_size() 452 wprintw(ww->sub, "%s", ww->buttons[i].label); in wdg_dialog_buttons() [all …]
|
H A D | wdg_scroll.c | 36 #define WDG_PAD_REFRESH(ww, c, l, x, y) pnoutrefresh(ww->sub, ww->y_scroll + 1, 0, y + 1, x + 1, y … argument 86 werase(ww->sub); in wdg_scroll_destroy() 87 werase(ww->win); in wdg_scroll_destroy() 91 delwin(ww->sub); in wdg_scroll_destroy() 92 delwin(ww->win); in wdg_scroll_destroy() 123 if (ww->win) { in wdg_scroll_redraw() 160 if ((ww->sub = newpad(ww->y_max, c - 2)) == NULL) in wdg_scroll_redraw() 168 wmove(ww->sub, ww->y_scroll + 1, 0); in wdg_scroll_redraw() 334 werase(ww->sub); in wdg_scroll_erase() 389 wmove(ww->sub, ww->y_scroll + 1, 0); in wdg_scroll_set_lines() [all …]
|
H A D | wdg_menu.c | 108 werase(ww->menu); in wdg_menu_destroy() 128 delwin(ww->menu); in wdg_menu_destroy() 155 if (ww->menu) { in wdg_menu_redraw() 389 if (TAILQ_FIRST(&ww->menu_list) == TAILQ_END(&ww->menu_list)) { in wdg_menu_add() 406 if (ww->focus_unit != TAILQ_LAST(&ww->menu_list, menu_head)) in wdg_menu_move() 407 ww->focus_unit = TAILQ_NEXT(ww->focus_unit, next); in wdg_menu_move() 411 if (ww->focus_unit != TAILQ_FIRST(&ww->menu_list)) in wdg_menu_move() 536 ww->focus_unit->m = new_menu(ww->focus_unit->items); in wdg_menu_open() 539 set_menu_format(ww->focus_unit->m, ww->focus_unit->nitems, 1); in wdg_menu_open() 562 set_menu_win(ww->focus_unit->m, ww->focus_unit->win); in wdg_menu_open() [all …]
|
H A D | wdg_compound.c | 101 werase(ww->win); in wdg_compound_destroy() 105 delwin(ww->win); in wdg_compound_destroy() 150 if (ww->win) { in wdg_compound_redraw() 153 werase(ww->win); in wdg_compound_redraw() 154 touchwin(ww->win); in wdg_compound_redraw() 175 redrawwin(ww->win); in wdg_compound_redraw() 301 ww->focused = TAILQ_PREV(ww->focused, wtail, next); in wdg_compound_move() 311 ww->focused = TAILQ_NEXT(ww->focused, next); in wdg_compound_move() 343 return ww->focused->wdg->get_msg(ww->focused->wdg, key, mouse); in wdg_compound_dispatch() 363 box(ww->win, 0, 0); in wdg_compound_border() [all …]
|
H A D | wdg_window.c | 79 werase(ww->sub); in wdg_window_destroy() 80 werase(ww->win); in wdg_window_destroy() 85 delwin(ww->sub); in wdg_window_destroy() 86 delwin(ww->win); in wdg_window_destroy() 117 if (ww->win) { in wdg_window_redraw() 120 werase(ww->win); in wdg_window_redraw() 121 touchwin(ww->win); in wdg_window_redraw() 151 werase(ww->sub); in wdg_window_redraw() 162 redrawwin(ww->sub); in wdg_window_redraw() 163 redrawwin(ww->win); in wdg_window_redraw() [all …]
|
H A D | wdg_percentage.c | 81 werase(ww->sub); in wdg_percentage_destroy() 82 werase(ww->win); in wdg_percentage_destroy() 87 delwin(ww->sub); in wdg_percentage_destroy() 88 delwin(ww->win); in wdg_percentage_destroy() 137 if (ww->win) { in wdg_percentage_redraw() 140 werase(ww->win); in wdg_percentage_redraw() 171 werase(ww->sub); in wdg_percentage_redraw() 182 redrawwin(ww->sub); in wdg_percentage_redraw() 183 redrawwin(ww->win); in wdg_percentage_redraw() 274 box(ww->win, 0, 0); in wdg_percentage_border() [all …]
|
H A D | wdg_panel.c | 83 werase(W(ww->sub)); in wdg_panel_destroy() 84 werase(W(ww->win)); in wdg_panel_destroy() 87 win = W(ww->win); in wdg_panel_destroy() 88 sub = W(ww->sub); in wdg_panel_destroy() 89 del_panel(ww->win); in wdg_panel_destroy() 90 del_panel(ww->sub); in wdg_panel_destroy() 126 if (ww->win) { in wdg_panel_redraw() 129 werase(W(ww->win)); in wdg_panel_redraw() 140 replace_panel(ww->win, W(ww->win)); in wdg_panel_redraw() 146 replace_panel(ww->sub, W(ww->sub)); in wdg_panel_redraw() [all …]
|
/dports/irc/undernet-ircu/ircu2.10.12.19/ircd/ |
H A D | whowas.c | 161 *ww->cprevnextp = ww->cnext; in whowas_clean() 165 ww->hnext->hprevnextp = ww->hprevnextp; in whowas_clean() 166 *ww->hprevnextp = ww->hnext; in whowas_clean() 169 ww->wnext->wprev = ww->wprev; in whowas_clean() 171 ww->wprev->wnext = ww->wnext; in whowas_clean() 233 memset(ww, 0, sizeof(*ww)); in whowas_alloc() 285 ww->cnext->cprevnextp = &ww->cnext; in add_history() 301 if ((ww->hnext = whowashash[ww->hashv])) in add_history() 302 ww->hnext->hprevnextp = &ww->hnext; in add_history() 303 ww->hprevnextp = &whowashash[ww->hashv]; in add_history() [all …]
|
/dports/graphics/qgis/qgis-3.22.3/tests/src/gui/ |
H A D | testqgsexternalresourcewidgetwrapper.cpp | 260 ww.initWidget( widget ); in testSetNullValues() 262 QVERIFY( ww.mLineEdit ); in testSetNullValues() 305 ww.setConfig( config ); in testUrlStorageExpression() 309 ww.setFeature( feat ); in testUrlStorageExpression() 326 ww.setFeature( feat ); in testUrlStorageExpression() 360 ww.setConfig( config ); in testLoadExternalDocument() 364 ww.setFeature( feat ); in testLoadExternalDocument() 550 ww.setFeature( feat ); in testLoadNullExternalDocument() 645 ww.setFeature( feat ); in testStoreExternalDocument() 738 ww.setFeature( feat ); in testStoreExternalDocumentError() [all …]
|
/dports/graphics/opendx/dx-4.4.4/src/uipp/widgets/ |
H A D | WorkspaceW.c | 1275 XDrawRectangles(XtDisplay(ww), XtWindow(ww), ww->workspace.bandGC, in RedisplayRectangle() 2507 XDrawRectangles(XtDisplay(ww), XtWindow(ww), ww->workspace.bandGC, in DrawRubberband() 4026 ww->workspace.max_x = ww->core.width - ww->workspace.max_x; in CreateSurrogate() 4028 ww->workspace.max_y = ww->core.height - ww->workspace.max_y; in CreateSurrogate() 4040 XDrawRectangles(XtDisplay(ww), XtWindow(ww), ww->workspace.badBandGC, in DrawSurrogate() 4043 XDrawRectangles(XtDisplay(ww), XtWindow(ww), ww->workspace.bandGC, in DrawSurrogate() 4660 XClearArea(XtDisplay(ww), XtWindow(ww), ww->workspace.expose_left, in XmCreateWorkspaceLine() 4814 XClearArea(XtDisplay(ww), XtWindow(ww), ww->workspace.expose_left, in XmDestroyWorkspaceLine() 5034 XDrawLines(XtDisplay(ww), XtWindow(ww), in RefreshLines() 5039 XDrawLines(XtDisplay(ww), XtWindow(ww), in RefreshLines() [all …]
|
/dports/science/teem/teem-1.11.0-src/src/ten/test/ |
H A D | cntr.c | 107 ww[ 0] = 1*1; ww[ 1] = 2*1; ww[ 2] = 2*1; ww[ 3] = 1*1; ww[ 4] = 2*1; ww[ 5] = 1*1; in main() 108 /* */ ww[ 6] = 2*2; ww[ 7] = 2*2; ww[ 8] = 1*2; ww[ 9] = 2*2; ww[10] = 1*2; in main() 109 /* */ ww[11] = 2*2; ww[12] = 1*2; ww[13] = 2*2; ww[14] = 1*2; in main() 110 /* */ ww[15] = 1*1; ww[16] = 2*1; ww[17] = 1*1; in main() 111 /* */ ww[18] = 2*2; ww[19] = 1*2; in main() 122 …[ 0]*ww[ 0]*t0[1]*t1[1] + cc[ 1]*ww[ 1]*t0[2]*t1[1] + cc[ 2]*ww[ 2]*t0[3]*t1[1] + cc[ 3]*ww[ 3]*t0… in main() 123 …[ 1]*ww[ 1]*t0[1]*t1[2] + cc[ 6]*ww[ 6]*t0[2]*t1[2] + cc[ 7]*ww[ 7]*t0[3]*t1[2] + cc[ 8]*ww[ 8]*t0… in main() 124 …[ 2]*ww[ 2]*t0[1]*t1[3] + cc[ 7]*ww[ 7]*t0[2]*t1[3] + cc[11]*ww[11]*t0[3]*t1[3] + cc[12]*ww[12]*t0… in main() 125 …[ 3]*ww[ 3]*t0[1]*t1[4] + cc[ 8]*ww[ 8]*t0[2]*t1[4] + cc[12]*ww[12]*t0[3]*t1[4] + cc[15]*ww[15]*t0… in main() 126 …[ 4]*ww[ 4]*t0[1]*t1[5] + cc[ 9]*ww[ 9]*t0[2]*t1[5] + cc[13]*ww[13]*t0[3]*t1[5] + cc[16]*ww[16]*t0… in main() [all …]
|
/dports/audio/klystrack/klystrack-1.7.6-make-fix-12-gfe6e746/src/ |
H A D | wavewriter.c | 9 ww->file = file; in ww_create() 10 ww->channels = channels; in ww_create() 15 fwrite("RIFF", 4, 1, ww->file); in ww_create() 17 ww->riffsize_pos = ftell(ww->file); in ww_create() 53 ww->chunksize_pos = ftell(ww->file); in ww_create() 58 return ww; in ww_create() 64 fwrite(buffer, samples * ww->channels * sizeof(Sint16), 1, ww->file); in ww_write() 73 fseek(ww->file, ww->riffsize_pos, SEEK_SET); in ww_finish() 78 fseek(ww->file, ww->chunksize_pos, SEEK_SET); in ww_finish() 81 fclose(ww->file); in ww_finish() [all …]
|
/dports/audio/spiralsynthmodular/spiralmodular-0.2.2/SpiralSound/Plugins/Widgets/ |
H A D | Fl_SevenSeg.cxx | 63 int ww = w()-4; in draw() local 88 draw_seg_a(xx,yy,ww,hh); in draw() 89 draw_seg_b(xx,yy,ww,hh); in draw() 90 draw_seg_c(xx,yy,ww,hh); in draw() 91 draw_seg_d(xx,yy,ww,hh); in draw() 92 draw_seg_e(xx,yy,ww,hh); in draw() 93 draw_seg_f(xx,yy,ww,hh); in draw() 96 draw_seg_b(xx,yy,ww,hh); in draw() 97 draw_seg_c(xx,yy,ww,hh); in draw() 100 draw_seg_a(xx,yy,ww,hh); in draw() [all …]
|
H A D | Fl_SevenSeg.fld | 69 int ww =w()-8; 72 fl_clip(xx,yy,ww,hh); 74 fl_rectf(xx,yy,ww,hh); 88 draw_seg_a(xx,yy,ww,hh); 89 draw_seg_b(xx,yy,ww,hh); 90 draw_seg_c(xx,yy,ww,hh); 91 draw_seg_d(xx,yy,ww,hh); 92 draw_seg_e(xx,yy,ww,hh); 93 draw_seg_f(xx,yy,ww,hh); 96 draw_seg_b(xx,yy,ww,hh); [all …]
|
/dports/graphics/grx/grx249/test/ |
H A D | colorops.c | 72 GrFramedBox(ww/4-1,wh/4-1,ww/4+ww+1,wh/4+wh+1,wdt,&icolors); in TESTFUNC() 74 GrSetClipBox(ww/4,wh/4,ww/4+ww,wh/4+wh); in TESTFUNC() 76 drawing(ww/4,wh/4,ww,wh,c,bg); in TESTFUNC() 80 ww, in TESTFUNC() 87 GrFramedBox(ww/4-1,wh/4-1,ww/4+ww+1,wh/4+wh+1,wdt,&icolors); in TESTFUNC() 88 drawing(ww/4,wh/4,ww,wh,c,bg); in TESTFUNC() 92 ww, in TESTFUNC() 99 GrFramedBox(ww/4-1,wh/4-1,ww/4+ww+1,wh/4+wh+1,wdt,&icolors); in TESTFUNC() 100 drawing(ww/4,wh/4,ww,wh,c,bg); in TESTFUNC() 111 GrFramedBox(ww/4-1,wh/4-1,ww/4+ww+1,wh/4+wh+1,wdt,&icolors); in TESTFUNC() [all …]
|
H A D | winclip.c | 26 int ww = (x / 2) - 10; in TESTFUNC() local 30 GrContext *w2 = GrCreateSubContext(15+ww,5,ww+ww+14,wh+4,NULL,NULL); in TESTFUNC() 32 GrContext *w4 = GrCreateSubContext(15+ww,15+wh,ww+ww+14,wh+wh+14,NULL,NULL); in TESTFUNC() 36 drawing(0,0,ww,wh,c,GrBlack()); in TESTFUNC() 37 GrBox(0,0,ww-1,wh-1,c); in TESTFUNC() 41 drawing(-ww/4,ww/3,ww,wh,c,GrBlack()); in TESTFUNC() 42 GrBox(0,0,ww-1,wh-1,c); in TESTFUNC() 46 drawing(ww/2,-wh/2,ww,wh,c,GrBlack()); in TESTFUNC() 47 GrBox(0,0,ww-1,wh-1,c); in TESTFUNC() 51 drawing(-ww/2,-wh/2,ww*2,wh*2,c,GrBlack()); in TESTFUNC() [all …]
|
H A D | blittest.c | 153 GrFramedBox(ww/4-1,wh/4-1,ww/4+ww+1,wh/4+wh+1,wdt,&icolors); in TESTFUNC() 155 GrSetClipBox(ww/4,wh/4,ww/4+ww,wh/4+wh); in TESTFUNC() 156 drawing(ww/4,wh/4,ww,wh,c,bg); in TESTFUNC() 188 GrFramedBox(ww/4-1,wh/4-1,ww/4+ww+1,wh/4+wh+1,wdt,&icolors); in TESTFUNC() 190 GrSetClipBox(ww/4,wh/4,ww/4+ww,wh/4+wh); in TESTFUNC() 191 drawing(ww/4,wh/4,ww,wh,c,bg); in TESTFUNC() 225 GrFramedBox(ww/4-1,wh/4-1,ww/4+ww+1,wh/4+wh+1,wdt,&icolors); in TESTFUNC() 227 GrSetClipBox(ww/4,wh/4,ww/4+ww,wh/4+wh); in TESTFUNC() 228 drawing(ww/4,wh/4,ww,wh,c,bg); in TESTFUNC() 285 GrFramedBox(ww/4-1,wh/4-1,ww/4+ww+1,wh/4+wh+1,wdt,&icolors); in TESTFUNC() [all …]
|
/dports/x11-wm/wayfire/wayfire-0.7.0/plugins/wobbly/ |
H A D | wobbly.c | 409 WobblyWindow *ww = surface->ww; in wobblyEnsureModel() local 516 WobblyWindow *ww = surface->ww; in wobbly_prepare_paint() local 553 WobblyWindow *ww = surface->ww; in wobbly_add_geometry() local 598 WobblyWindow *ww = surface->ww; in wobbly_resize() local 615 WobblyWindow *ww = surface->ww; in wobbly_move_notify() local 628 WobblyWindow *ww = surface->ww; in wobbly_slight_wobble() local 661 WobblyWindow *ww = surface->ww; in wobbly_set_top_anchor() local 670 WobblyWindow *ww = surface->ww; in wobbly_grab_notify() local 708 WobblyWindow *ww = surface->ww; in wobbly_ungrab_notify() local 738 surface->ww = ww; in wobbly_init() [all …]
|
/dports/x11-toolkits/p5-Prima/Prima-1.63/t/Widget/ |
H A D | Position.t | 11 my $ww = $window-> insert( Widget => 16 is( $ww-> left, 10, "create" ); 17 is( $ww-> bottom, 10, "create" ); 19 $ww-> origin( 30, 30); 21 is( $ww-> left, 30, "runtime" ); 32 $ww-> growMode( gm::GrowLoY); 37 $ww-> hide; 40 $ww-> origin(10,10); 45 $ww-> owner( $::application); 46 $ww-> owner( $window ); [all …]
|
/dports/graphics/qgis-ltr/qgis-3.16.16/tests/src/gui/ |
H A D | testqgsexternalresourcewidgetwrapper.cpp | 91 QWidget *widget = ww.createWidget( nullptr ); in test_setNullValues() 94 ww.initWidget( widget ); in test_setNullValues() 95 QVERIFY( ww.mQgsWidget ); in test_setNullValues() 96 QVERIFY( ww.mLineEdit ); in test_setNullValues() 100 ww.updateValues( QStringLiteral( "test" ) ); in test_setNullValues() 105 ww.updateValues( QVariant() ); in test_setNullValues() 129 ww.setConfig( config ); in testBlankAfterValue() 133 ww.setFeature( feat ); in testBlankAfterValue() 135 ww.initWidget( widget ); in testBlankAfterValue() 136 QVERIFY( ww.mQgsWidget ); in testBlankAfterValue() [all …]
|