/AliOS-Things-master/components/py_engine/tests/basics/ |
A D | generator_pend_throw.py | 7 g = gen() variable 10 g.pend_throw 17 print(next(g)) 31 g = gen() variable 34 next(g) 41 next(g) 47 next(g) 90 g = gen() variable 91 next(g) 97 g = gen() variable [all …]
|
A D | gen_yield_from_close.py | 13 g = gen2() variable 14 print(next(g)) 15 print(next(g)) 16 g.close() 46 g = gen4() variable 50 g.close() 79 g = gen6() variable 83 g.close() 96 g = gen7() variable 109 g.close() [all …]
|
A D | generator_throw.py | 6 g = gen() variable 7 print(next(g)) 20 g = gen() variable 21 print(next(g)) 36 g = gen() variable 37 print(next(g)) 41 g = gen() variable 42 print(next(g)) 46 g = gen() variable 47 print(next(g)) [all …]
|
A D | generator_close.py | 6 g = gen1() variable 7 print(g.close()) 9 next(g) 14 g = gen1() variable 18 next(g) 24 g = gen1() variable 28 next(g) 43 g = gen2() variable 44 next(g) 55 g = gen3() variable [all …]
|
A D | gen_yield_from_throw.py | 12 g = gen2() variable 13 print(next(g)) 16 print(next(g)) 21 g = gen2() variable 22 print(next(g)) 25 print(next(g)) 30 g = gen2() variable 31 print(next(g)) 34 print(next(g)) 48 g = gen2() variable [all …]
|
A D | gen_yield_from_throw3.py | 18 g = gen() variable 19 print(next(g)) 20 g.close() 23 g = gen() variable 24 print(next(g)) 28 g = gen() variable 29 print(next(g)) 44 g = gen2() variable 45 print(next(g)) 52 g = gen2() variable [all …]
|
A D | generator_send.py | 7 g = f() variable 9 g.send(1) 13 print(g.send(None)) 14 print(g.send(100)) 15 print(g.send(200)) 26 g = f2() variable 27 g.send(None) 28 g.send(1) 29 g.send(1) 31 g.send(1) [all …]
|
A D | generator_pep479.py | 7 g = gen() variable 8 print(next(g)) 10 next(g) 16 next(g) 24 g = gen() variable 25 print(next(g)) 27 g.throw(StopIteration) 35 g = gen() variable 36 print(next(g)) 38 g.throw(StopIteration)
|
A D | generator_exc.py | 21 g = gen2() variable 22 print(next(g)) 24 print(next(g)) 29 print(next(g)) 45 g = gen3() variable 46 print(next(g)) 47 print(next(g)) 48 print("out of throw:", g.throw(ValueError)) 49 print(next(g)) 51 print("out of throw2:", g.throw(ValueError))
|
A D | builtin_next_arg2.py | 17 g = gen() variable 18 print(next(g, 42)) 19 print(next(g, 43)) 20 print(next(g, 44)) 32 g = Gen() variable 33 print(next(g, 44)) 34 print(next(g, 45))
|
A D | gen_yield_from_throw2.py | 17 g = gen2() variable 18 print(next(g)) 19 print(g.throw(GeneratorExit)) 22 g = gen2() variable 23 print(next(g)) 24 print(g.throw(GeneratorExit()))
|
A D | scope_implicit.py | 5 def g(): function 8 return g 13 def g(): function 18 return g 24 def g(): function 27 g()
|
A D | scope.py | 15 def g(): function 19 g() 26 def g(): function 31 return g 37 def g(): function 42 return g
|
/AliOS-Things-master/components/SDL2/src/video/ |
A D | SDL_blit.h | 71 Uint8 r, g, b, a; member 123 #define RGB_FROM_PIXEL(Pixel, fmt, r, g, b) \ argument 126 g = SDL_expand_byte[fmt->Gloss][((Pixel&fmt->Gmask)>>fmt->Gshift)]; \ 129 #define RGB_FROM_RGB565(Pixel, r, g, b) \ argument 132 g = SDL_expand_byte[2][((Pixel&0x07E0)>>5)]; \ 135 #define RGB_FROM_RGB555(Pixel, r, g, b) \ argument 138 g = SDL_expand_byte[3][((Pixel&0x03E0)>>5)]; \ 141 #define RGB_FROM_RGB888(Pixel, r, g, b) \ argument 144 g = ((Pixel&0xFF00)>>8); \ 178 #define DISEMBLE_RGB(buf, bpp, fmt, Pixel, r, g, b) \ argument [all …]
|
/AliOS-Things-master/components/littlevgl/src/lv_misc/ |
A D | lv_color.c | 52 uint8_t r, g, b; in lv_color_hsv_to_rgb() local 58 g = v; in lv_color_hsv_to_rgb() 73 g = t; in lv_color_hsv_to_rgb() 78 g = v; in lv_color_hsv_to_rgb() 83 g = v; in lv_color_hsv_to_rgb() 88 g = q; in lv_color_hsv_to_rgb() 93 g = p; in lv_color_hsv_to_rgb() 98 g = p; in lv_color_hsv_to_rgb() 119 rgbMin = r < g ? (r < b ? r : b) : (g < b ? g : b); in lv_color_rgb_to_hsv() 120 rgbMax = r > g ? (r > b ? r : b) : (g > b ? g : b); in lv_color_rgb_to_hsv() [all …]
|
/AliOS-Things-master/components/littlevgl/src/lv_core/ |
A D | lv_group.c | 159 if(g == NULL) return; in lv_group_remove_obj() 165 … if(lv_ll_get_head(&g->obj_ll) == g->obj_focus && lv_ll_get_tail(&g->obj_ll) == g->obj_focus) { in lv_group_remove_obj() 166 (*g->obj_focus)->signal_cb(*g->obj_focus, LV_SIGNAL_DEFOCUS, NULL); in lv_group_remove_obj() 178 g->obj_focus = NULL; in lv_group_remove_obj() 183 LV_LL_READ(g->obj_ll, i) in lv_group_remove_obj() 225 if(g == NULL) return; in lv_group_focus_obj() 237 (*g->obj_focus)->signal_cb(*g->obj_focus, LV_SIGNAL_DEFOCUS, NULL); in lv_group_focus_obj() 246 (*g->obj_focus)->signal_cb(*g->obj_focus, LV_SIGNAL_FOCUS, NULL); in lv_group_focus_obj() 247 if(g->focus_cb) g->focus_cb(g); in lv_group_focus_obj() 532 g->wrap = 1; in lv_group_refocus() [all …]
|
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/tests/ |
A D | pngstest | 24 g= 27 test "$gamma" = "linear" && g="$f";; 30 test "$gamma" = "sRGB" && g="$f";; 33 test "$gamma" = "1.8" && g="$f";; 36 test "$gamma" = "none" && g="$f";; 39 case "$g" in 44 test "$alpha" = "alpha" && args="$args $g";; 47 test "$alpha" = "tRNS" -o "$alpha" = "none" && args="$args $g";; 50 test "$alpha" = "opaque" -o "$alpha" = "none" && args="$args $g";;
|
/AliOS-Things-master/components/py_engine/tests/micropython/ |
A D | heapalloc_yield_from.py | 11 def gen(g): argument 12 yield from g 15 g = gen(sub_gen(4)) variable 17 print(next(g)) 18 print(next(g)) 35 g = gen(G()) variable 37 print(next(g)) 38 print(next(g))
|
A D | native_closure.py | 9 def g(): function 13 return g 22 def g(): function 26 return g 37 def g(z): function 40 return g
|
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/contrib/libtests/ |
A D | pngstest.c | 1207 out->g = in->g; in gpc_noop() 1223 out->g = in->g; in gpc_nop8() 1242 out->g = in->g; in gpc_nop6() 1285 out->g = in->g; in gpc_bckc() 1367 out->g = ilinear(in->g); in gpc_lin() 1403 out->g = ilineara(in->g, in->a); in gpc_pre() 1439 out->g = ilineara(in->g, in->a); in gpc_preq() 1524 out->g = ilinear_g22(in->g); in gpc_Lin() 1695 out->g = isRGB(in->g); in gpc_sRGB() 1881 out->g = isRGB(in->g); in gpc_cb16() [all …]
|
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/dsp/ |
A D | upsampling_mips_dsp_r2.c | 51 int r, g, b; in YuvToRgb() local 54 rgb[1] = g; in YuvToRgb() 58 int r, g, b; in YuvToBgr() local 61 bgr[1] = g; in YuvToBgr() 65 int r, g, b; in YuvToRgb565() local 81 int r, g, b; in YuvToRgba4444() local 103 int r, g, b; in YuvToArgb() local 107 argb[2] = g; in YuvToArgb() 113 int r, g, b; in YuvToBgra() local 116 bgra[1] = g; in YuvToBgra() [all …]
|
/AliOS-Things-master/components/SDL2/src/render/software/ |
A D | SDL_blendfillrect.c | 31 SDL_BlendMode blendMode, Uint8 r, Uint8 g, Uint8 b, Uint8 a) in SDL_BlendFillRect_RGB555() argument 135 SDL_BlendMode blendMode, Uint8 r, Uint8 g, Uint8 b, Uint8 a) in SDL_BlendFillRect_RGB() argument 218 SDL_BlendMode blendMode, Uint8 r, Uint8 g, Uint8 b, Uint8 a) in SDL_BlendFillRect() argument 244 g = DRAW_MUL(g, a); in SDL_BlendFillRect() 252 return SDL_BlendFillRect_RGB555(dst, rect, blendMode, r, g, b, a); in SDL_BlendFillRect() 258 return SDL_BlendFillRect_RGB565(dst, rect, blendMode, r, g, b, a); in SDL_BlendFillRect() 277 return SDL_BlendFillRect_RGB(dst, rect, blendMode, r, g, b, a); in SDL_BlendFillRect() 279 return SDL_BlendFillRect_RGBA(dst, rect, blendMode, r, g, b, a); in SDL_BlendFillRect() 285 SDL_BlendMode blendMode, Uint8 r, Uint8 g, Uint8 b, Uint8 a) in SDL_BlendFillRects() argument 304 g = DRAW_MUL(g, a); in SDL_BlendFillRects() [all …]
|
A D | SDL_blendpoint.c | 31 Uint8 g, Uint8 b, Uint8 a) in SDL_BlendPoint_RGB555() argument 57 Uint8 g, Uint8 b, Uint8 a) in SDL_BlendPoint_RGB565() argument 83 Uint8 g, Uint8 b, Uint8 a) in SDL_BlendPoint_RGB888() argument 109 Uint8 r, Uint8 g, Uint8 b, Uint8 a) in SDL_BlendPoint_ARGB8888() argument 135 Uint8 g, Uint8 b, Uint8 a) in SDL_BlendPoint_RGB() argument 186 Uint8 g, Uint8 b, Uint8 a) in SDL_BlendPoint_RGBA() argument 218 Uint8 g, Uint8 b, Uint8 a) in SDL_BlendPoint() argument 238 g = DRAW_MUL(g, a); in SDL_BlendPoint() 271 return SDL_BlendPoint_RGB(dst, x, y, blendMode, r, g, b, a); in SDL_BlendPoint() 300 g = DRAW_MUL(g, a); in SDL_BlendPoints() [all …]
|
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/contrib/testpngs/ |
A D | makepngs.sh | 47 for g in none sRGB linear 1.8 53 mpg "$g" "$c" "$b" 54 mptrans "$g" "$c" "$b" 58 mpg "$g" palette 8 59 mptrans "$g" palette 8 65 mpg "$g" "$c" "$b" 69 mptrans "$g" "$c" "$b"
|
/AliOS-Things-master/components/SDL2/src/gfx/ |
A D | SDL_gfxPrimitives.h | 100 Sint16 y2, Uint8 r, Uint8 g, Uint8 b, Uint8 a); 124 Uint8 width, Uint8 r, Uint8 g, Uint8 b, Uint8 a); 135 Uint8 r, Uint8 g, Uint8 b, Uint8 a); 141 Sint16 rad, Uint8 r, Uint8 g, Uint8 b, Uint8 a); 147 Sint16 rad, Uint8 r, Uint8 g, Uint8 b, Uint8 a); 185 Uint8 r, Uint8 g, Uint8 b, Uint8 a); 191 Uint8 r, Uint8 g, Uint8 b, Uint8 a); 197 Uint8 r, Uint8 g, Uint8 b, Uint8 a); 203 int n, Uint8 r, Uint8 g, Uint8 b, Uint8 a); 209 int n, Uint8 r, Uint8 g, Uint8 b, Uint8 a); [all …]
|