Home
last modified time | relevance | path

Searched refs:is_black (Results 1 – 25 of 62) sorted by relevance

123

/dports/graphics/py-pyglet/pyglet-1.5.21/pyglet/gui/
H A Dninepatch.py79 def is_black(self, x, y): member in _PixelData
122 if pixel_data.is_black(x, height - 1):
129 if pixel_data.is_black(x, height - 1):
136 if pixel_data.is_black(0, y):
143 if pixel_data.is_black(0, y):
151 if pixel_data.is_black(x, 0):
156 if pixel_data.is_black(x, 0):
161 if pixel_data.is_black(width - 1, y):
166 if pixel_data.is_black(width - 1, y):
/dports/audio/zrythm/zrythm-1.0.0-alpha.26.0.13/src/gui/widgets/
H A Dpiano_keyboard.c54 bool is_black = in G_DEFINE_TYPE() local
63 is_black ? in G_DEFINE_TYPE()
103 bool is_black = in piano_keyboard_draw_cb() local
106 if (is_black) in piano_keyboard_draw_cb()
128 bool is_black = in piano_keyboard_draw_cb() local
131 if (!is_black) in piano_keyboard_draw_cb()
/dports/graphics/zbar/zbar-0.23.90/zbar/
H A Dsqcode.c138 static bool is_black(zbar_image_t *img, int x, int y) in is_black() function
156 if (!is_black(img, start_x, start_y)) { in sq_scan_shape()
173 if (is_black(img, x, y0 - 1)) { in sq_scan_shape()
178 if (is_black(img, x, y0 + height)) { in sq_scan_shape()
184 if (is_black(img, x0 - 1, y)) { in sq_scan_shape()
189 if (is_black(img, x0 + width, y)) { in sq_scan_shape()
217 if (!is_black(img, x, y)) in sq_scan_shape()
244 if (is_black(img, x, y)) { in find_left_dot()
260 if (is_black(img, x, y)) { in find_right_dot()
276 if (is_black(img, x, y)) { in find_bottom_dot()
[all …]
/dports/audio/soundtracker/soundtracker-1.0.2.1/app/
H A Dclavier.c220 key_info->is_black = TRUE;
235 key_info->is_black = FALSE;
248 key_info->is_black = FALSE;
279 if (!ki->is_black) {
288 if (i > 0 && (ki->is_black)) {
302 gboolean is_black = clavier->key_info[keynum].is_black;
318 (is_black ? black_pos : white_pos) - clavier->fonth);
324 buf, len, (is_black ? this->upper_right_x : this->lower_right_x)
326 is_black ? black_pos : white_pos);
394 if (clavier->key_info[i].is_black) {
[all …]
/dports/biology/stringtie/stringtie-2.1.1/SuperReads_RNA/global-1/SuperReadsR/include/
H A Drb_tree.hpp169 if(!is_black(m_root)) in is_consistent()
184 bool res = DEREF(n).parent == NIL ? is_black(n) : (!is_red(n) || !is_red(DEREF(n).parent)); in is_consistent()
187 if(is_black(n)) in is_consistent()
207 bool is_black(const_node_pointer np) const { in is_black() function in red_black::basic_tree
211 return !is_black(np); in is_red()
441 if(is_black(y)) in remove()
448 while(x != m_root && is_black(x)) { in delete_fixup()
459 if(is_black(DEREF(w).left) && is_black(DEREF(w).right)) { // Case 2 in delete_fixup()
464 if(is_black(DEREF(w).right)) { // Case 3 in delete_fixup()
487 if(is_black(DEREF(w).right) && is_black(DEREF(w).left)) { // Case 2 in delete_fixup()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/media/cast/test/utility/
H A Dbarcode.cc89 bool is_black = true; in DecodeBarCodeRows() local
98 if (is_black ? value > kBlackThreshold : value < kWhiteThreshold) { in DecodeBarCodeRows()
99 is_black = !is_black; in DecodeBarCodeRows()
/dports/games/supertux2/SuperTux-v0.6.3-Source/src/scripting/
H A Ddisplay_effect.cpp45 DisplayEffect::is_black() const in is_black() function in scripting::DisplayEffect
48 return object.is_black(); in is_black()
H A Ddisplay_effect.hpp50 bool is_black() const;
/dports/audio/gnome-music/gnome-music-41.0/subprojects/gfm/
H A Dgtkrbtree.c327 is_black (GtkRbNode *node_or_null) in is_black() function
433 while (node != tree->root && is_black (node)) in gtk_rb_tree_remove_node_fixup()
446 if (is_black (w->left) && is_black (w->right)) in gtk_rb_tree_remove_node_fixup()
453 if (is_black (w->right)) in gtk_rb_tree_remove_node_fixup()
477 if (is_black (w->right) && is_black (w->left)) in gtk_rb_tree_remove_node_fixup()
484 if (is_black (w->left)) in gtk_rb_tree_remove_node_fixup()
757 if (is_black (y)) in gtk_rb_tree_remove()
/dports/x11-toolkits/gtk40/gtk-4.4.1/gtk/
H A Dgtkrbtree.c327 is_black (GtkRbNode *node_or_null) in is_black() function
431 while (node != tree->root && is_black (node)) in gtk_rb_tree_remove_node_fixup()
445 if (is_black (w->left) && is_black (w->right)) in gtk_rb_tree_remove_node_fixup()
452 if (is_black (w->right)) in gtk_rb_tree_remove_node_fixup()
477 if (is_black (w->right) && is_black (w->left)) in gtk_rb_tree_remove_node_fixup()
484 if (is_black (w->left)) in gtk_rb_tree_remove_node_fixup()
757 if (is_black (y)) in gtk_rb_tree_remove()
/dports/games/cataclysm-dda-tiles/Cataclysm-DDA-0.F/src/
H A Dsdl_utils.h58 inline bool is_black( const SDL_Color &color ) in is_black() function
73 if( is_black( color ) ) { in color_pixel_grayscale()
111 if( is_black( color ) ) { in color_pixel_darken()
128 if( is_black( color ) ) { in color_pixel_mixer()
/dports/games/cataclysm-dda/Cataclysm-DDA-0.F/src/
H A Dsdl_utils.h58 inline bool is_black( const SDL_Color &color ) in is_black() function
73 if( is_black( color ) ) { in color_pixel_grayscale()
111 if( is_black( color ) ) { in color_pixel_darken()
128 if( is_black( color ) ) { in color_pixel_mixer()
/dports/www/geckodriver/mozilla-central-e9783a644016aa9b317887076618425586730d73/testing/geckodriver/cargo-crates/webrender-0.60.0/res/
H A Dcs_border_segment.glsl108 vec4 mod_color(vec4 color, bool is_black, bool lighter) {
115 if (is_black) {
131 bool is_black = color.rgb == vec3(0.0, 0.0, 0.0);
135 result[0] = mod_color(color, is_black, true);
136 result[1] = mod_color(color, is_black, false);
139 result[0] = mod_color(color, is_black, false);
140 result[1] = mod_color(color, is_black, true);
/dports/devel/cdecl/cdecl-cdecl-11.9/src/
H A Dred_black.c123 static inline bool is_black( rb_node_t const *node ) { in is_black() function
224 while ( is_black( node ) ) { in rb_tree_repair_node()
234 if ( is_black( sibling ) ) { in rb_tree_repair_node()
331 if ( is_black( y ) ) in rb_tree_delete()
/dports/www/firefox-esr/firefox-91.8.0/gfx/wr/webrender/res/
H A Dcs_border_segment.glsl112 vec4 mod_color(vec4 color, bool is_black, bool lighter) {
119 if (is_black) {
135 bool is_black = color.rgb == vec3(0.0, 0.0, 0.0);
139 result[0] = mod_color(color, is_black, true);
140 result[1] = mod_color(color, is_black, false);
143 result[0] = mod_color(color, is_black, false);
144 result[1] = mod_color(color, is_black, true);
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/wr/webrender/res/
H A Dcs_border_segment.glsl112 vec4 mod_color(vec4 color, bool is_black, bool lighter) {
119 if (is_black) {
135 bool is_black = color.rgb == vec3(0.0, 0.0, 0.0);
139 result[0] = mod_color(color, is_black, true);
140 result[1] = mod_color(color, is_black, false);
143 result[0] = mod_color(color, is_black, false);
144 result[1] = mod_color(color, is_black, true);
/dports/www/firefox/firefox-99.0/gfx/wr/webrender/res/
H A Dcs_border_segment.glsl114 vec4 mod_color(vec4 color, bool is_black, bool lighter) {
121 if (is_black) {
137 bool is_black = color.rgb == vec3(0.0, 0.0, 0.0);
141 result[0] = mod_color(color, is_black, true);
142 result[1] = mod_color(color, is_black, false);
145 result[0] = mod_color(color, is_black, false);
146 result[1] = mod_color(color, is_black, true);
/dports/mail/thunderbird/thunderbird-91.8.0/gfx/wr/webrender/res/
H A Dcs_border_segment.glsl112 vec4 mod_color(vec4 color, bool is_black, bool lighter) {
119 if (is_black) {
135 bool is_black = color.rgb == vec3(0.0, 0.0, 0.0);
139 result[0] = mod_color(color, is_black, true);
140 result[1] = mod_color(color, is_black, false);
143 result[0] = mod_color(color, is_black, false);
144 result[1] = mod_color(color, is_black, true);
/dports/math/yices/yices-2.6.2/tests/unit/
H A Dtest_rba_buffers.c84 static inline bool is_black(rba_buffer_t *b, uint32_t x) { in is_black() function
94 good = is_black(b, x); in check_colors()
140 assert(is_black(b, x)); in is_balanced()
149 if (is_black(b, x)) { in is_balanced()
/dports/net-im/tkabber-plugins/tkabber-plugins-1.1.2/renju/
H A Drenju.tcl750 ![is_black $flags(position,turn)]} {
771 if {[is_black $flags(our_color)]} {
1167 if {[is_black $mover]} {
1210 set mover [expr {[is_black $color] ? "b" : "w"}]
1237 set mover [expr {[is_black $color] ? "b" : "w"}]
1276 set mover [expr {[is_black $color] ? "b" : "w"}]
1333 set mover [expr {[is_black $color] ? "b" : "w"}]
1393 set me [expr {[is_black $color] ? "b" : "w"}]
1394 set opp [expr {[is_black $color] ? "w" : "b"}]
1404 if {![is_black $color]} {
[all …]
/dports/devel/libgee06/libgee-0.6.8/gee/
H A Dtreemap.vala150 private bool is_black (Node<K, V>? n) {
277 if (is_black (node.left) && is_black (node.left.left)) {
294 if (node.left != null && is_black (left) && is_black (left.left)) {
314 if (is_black (r) && r != null && is_black (r.left)) {
335 if (is_black (node.left) && is_red (node.right)) {
/dports/math/yices/yices-2.6.2/src/terms/
H A Dbalanced_arith_buffers.c171 static inline bool is_black(rba_buffer_t *b, uint32_t p) { in is_black() function
229 assert(is_parent_node(b, q, p) && is_red(b, p) && is_black(b, b->root)); in rba_balance_after_add()
233 assert(is_black(b, r)); in rba_balance_after_add()
296 assert(is_parent_node(b, q, p) && is_black(b, b->root)); in rba_balance_after_delete()
305 assert(is_black(b, p) && p == b->child[q][i] && r == b->child[q][1 - i]); in rba_balance_after_delete()
321 assert(is_black(b, r) && is_black(b, p) && in rba_balance_after_delete()
327 if (is_black(b, s) && is_black(b, t)) { in rba_balance_after_delete()
341 if (is_black(b, t)) { in rba_balance_after_delete()
356 assert(is_black(b, p) && is_black(b, r) && is_red(b, t) && in rba_balance_after_delete()
373 assert(is_black(b, b->root)); in rba_balance_after_delete()
[all …]
/dports/games/supertux2/SuperTux-v0.6.3-Source/src/object/
H A Ddisplay_effect.hpp42 bool is_black() const;
/dports/multimedia/opentoonz/opentoonz-1.5.0/toonz/sources/stdfx/
H A Digs_median_filter.cpp13 is_black, /* 必要か?????? */ enumerator
120 case igs::median_filter::is_black: /* 必要か?????? */ in position()
320 type = igs::median_filter::is_black; in convert()
/dports/audio/ardour6/Ardour-6.8.0/gtk2_ardour/
H A Dpianokeyboard.cc608 APianoKeyboard::is_black (int key) const in is_black() function in APianoKeyboard
653 if (!is_black (note)) { in recompute_dimensions()
658 if (!is_black (note)) { in recompute_dimensions()
676 if (is_black (note)) { in recompute_dimensions()

123