Home
last modified time | relevance | path

Searched refs:th (Results 1 – 25 of 72) sorted by relevance

123

/AliOS-Things-master/components/py_engine/adapter/haas510/
A Dmpthreadport.c80 for (thread_t *th = thread; th != NULL; th = th->next) { in mp_thread_gc_others() local
89 gc_collect_root(th->stack_addr, th->stack_len); in mp_thread_gc_others()
98 for (thread_t *th = thread; th != NULL; th = th->next) { in mp_thread_get_state() local
110 for (thread_t *th = thread; th != NULL; th = th->next) { in mp_thread_set_state() local
121 for (thread_t *th = thread; th != NULL; th = th->next) { in mp_thread_start() local
140 if (th == NULL) { in mp_thread_create_ex()
158 th->ready = 0; in mp_thread_create_ex()
159 th->arg = arg; in mp_thread_create_ex()
163 thread = th; in mp_thread_create_ex()
174 for (thread_t *th = thread; th != NULL; th = th->next) { in mp_thread_finish() local
[all …]
/AliOS-Things-master/components/py_engine/adapter/haas600/
A Dmpthreadport.c80 for (thread_t *th = thread; th != NULL; th = th->next) { in mp_thread_gc_others() local
89 gc_collect_root(th->stack_addr, th->stack_len); in mp_thread_gc_others()
98 for (thread_t *th = thread; th != NULL; th = th->next) { in mp_thread_get_state() local
110 for (thread_t *th = thread; th != NULL; th = th->next) { in mp_thread_set_state() local
121 for (thread_t *th = thread; th != NULL; th = th->next) { in mp_thread_start() local
140 if (th == NULL) { in mp_thread_create_ex()
158 th->ready = 0; in mp_thread_create_ex()
159 th->arg = arg; in mp_thread_create_ex()
163 thread = th; in mp_thread_create_ex()
174 for (thread_t *th = thread; th != NULL; th = th->next) { in mp_thread_finish() local
[all …]
/AliOS-Things-master/components/py_engine/adapter/haas/
A Dmpthreadport.c82 for (thread_t *th = thread; th != NULL; th = th->next) { in mp_thread_gc_others() local
91 gc_collect_root(th->stack_addr, th->stack_len); in mp_thread_gc_others()
101 for (thread_t *th = thread; th != NULL; th = th->next) { in mp_thread_get_state() local
115 for (thread_t *th = thread; th != NULL; th = th->next) { in mp_thread_set_state() local
127 for (thread_t *th = thread; th != NULL; th = th->next) { in mp_thread_start() local
146 if (th == NULL) { in mp_thread_create_ex()
177 th->ready = 0; in mp_thread_create_ex()
178 th->arg = arg; in mp_thread_create_ex()
182 thread = th; in mp_thread_create_ex()
195 for (thread_t *th = thread; th != NULL; th = th->next) { in mp_thread_finish() local
[all …]
/AliOS-Things-master/components/littlevgl/src/lv_themes/
A Dlv_theme.c56 void lv_theme_set_current(lv_theme_t * th) in lv_theme_set_current() argument
59 current_theme = th; in lv_theme_set_current()
63 memcpy(&current_theme->group, &th->group, sizeof(th->group)); in lv_theme_set_current()
70 uint32_t style_num = sizeof(th->style) / sizeof(lv_style_t *); /*Number of styles in a theme*/ in lv_theme_set_current()
85 lv_style_t ** th_style = (lv_style_t **)&th->style; in lv_theme_set_current()
93 memcpy(&current_theme.group, &th->group, sizeof(th->group)); in lv_theme_set_current()
/AliOS-Things-master/components/lwip/lwip2.0.0/netif/ppp/
A Dvj.c168 struct tcp_hdr *th; in vj_compress_tcp() local
196 hlen = ilen + TCPH_HDRLEN(th); in vj_compress_tcp()
298 || (TCPH_HDRLEN(th) > 5 && BCMP(th + 1, oth + 1, (TCPH_HDRLEN(th) - 5) << 2))) { in vj_compress_tcp()
308 if (TCPH_FLAGS(th) & TCP_URG) { in vj_compress_tcp()
504 struct tcp_hdr *th; in vj_uncompress_tcp() local
544 TCPH_SET_FLAG(th, TCP_PSH); in vj_uncompress_tcp()
564 th->seqno = lwip_htonl(tmp); in vj_uncompress_tcp()
570 DECODEU(th->urgp); in vj_uncompress_tcp()
575 DECODES(th->wnd); in vj_uncompress_tcp()
578 DECODEL(th->ackno); in vj_uncompress_tcp()
[all …]
/AliOS-Things-master/components/SDL2/test/
A Dtestautomation_render.c369 int taccess, tw, th; in render_testBlit() local
390 rect.h = th; in render_testBlit()
439 int taccess, tw, th; in render_testBlitColor() local
458 rect.h = th; in render_testBlitColor()
513 int taccess, tw, th; in render_testBlitAlpha() local
535 rect.h = th; in render_testBlitAlpha()
587 int taccess, tw, th; in _testBlitBlendMode() local
600 rect.h = th; in _testBlitBlendMode()
642 int taccess, tw, th; in render_testBlitBlend() local
665 rect.h = th; in render_testBlitBlend()
[all …]
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/libtiff/
A Dtif_tile.c295 TIFFDefaultTileSize(TIFF* tif, uint32* tw, uint32* th) in TIFFDefaultTileSize() argument
297 (*tif->tif_deftilesize)(tif, tw, th); in TIFFDefaultTileSize()
301 _TIFFDefaultTileSize(TIFF* tif, uint32* tw, uint32* th) in _TIFFDefaultTileSize() argument
306 if (*(int32*) th < 1) in _TIFFDefaultTileSize()
307 *th = 256; in _TIFFDefaultTileSize()
311 if (*th & 0xf) in _TIFFDefaultTileSize()
312 *th = TIFFroundup_32(*th, 16); in _TIFFDefaultTileSize()
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/tools/
A Dtiffinfo.c302 uint32 tw=0, th=0, w=0, h=0; in TIFFReadContigTileData() local
308 TIFFGetField(tif, TIFFTAG_TILELENGTH, &th); in TIFFReadContigTileData()
309 if ( rowsize == 0 || th > (size_t) (tilesize / rowsize) ) in TIFFReadContigTileData()
315 for (row = 0; row < h; row += th) { in TIFFReadContigTileData()
321 ShowTile(row, col, (tsample_t) -1, buf, th, rowsize); in TIFFReadContigTileData()
337 uint32 tw=0, th=0, w=0, h=0; in TIFFReadSeparateTileData() local
344 TIFFGetField(tif, TIFFTAG_TILELENGTH, &th); in TIFFReadSeparateTileData()
346 if ( rowsize == 0 || th > (size_t) (tilesize / rowsize) ) in TIFFReadSeparateTileData()
352 for (row = 0; row < h; row += th) { in TIFFReadSeparateTileData()
359 ShowTile(row, col, s, buf, th, rowsize); in TIFFReadSeparateTileData()
/AliOS-Things-master/components/littlevgl/src/lv_objx/
A Dlv_cb.c89 lv_theme_t * th = lv_theme_get_current(); in lv_cb_create() local
90 if(th) { in lv_cb_create()
91 lv_cb_set_style(new_cb, LV_CB_STYLE_BG, th->style.cb.bg); in lv_cb_create()
92 lv_cb_set_style(new_cb, LV_CB_STYLE_BOX_REL, th->style.cb.box.rel); in lv_cb_create()
93 lv_cb_set_style(new_cb, LV_CB_STYLE_BOX_PR, th->style.cb.box.pr); in lv_cb_create()
94 lv_cb_set_style(new_cb, LV_CB_STYLE_BOX_TGL_REL, th->style.cb.box.tgl_rel); in lv_cb_create()
95 lv_cb_set_style(new_cb, LV_CB_STYLE_BOX_TGL_PR, th->style.cb.box.tgl_pr); in lv_cb_create()
96 lv_cb_set_style(new_cb, LV_CB_STYLE_BOX_INA, th->style.cb.box.ina); in lv_cb_create()
A Dlv_kb.c133 lv_theme_t * th = lv_theme_get_current(); in lv_kb_create() local
134 if(th) { in lv_kb_create()
135 lv_kb_set_style(new_kb, LV_KB_STYLE_BG, th->style.kb.bg); in lv_kb_create()
136 lv_kb_set_style(new_kb, LV_KB_STYLE_BTN_REL, th->style.kb.btn.rel); in lv_kb_create()
137 lv_kb_set_style(new_kb, LV_KB_STYLE_BTN_PR, th->style.kb.btn.pr); in lv_kb_create()
138 lv_kb_set_style(new_kb, LV_KB_STYLE_BTN_TGL_REL, th->style.kb.btn.tgl_rel); in lv_kb_create()
139 lv_kb_set_style(new_kb, LV_KB_STYLE_BTN_TGL_PR, th->style.kb.btn.tgl_pr); in lv_kb_create()
140 lv_kb_set_style(new_kb, LV_KB_STYLE_BTN_INA, th->style.kb.btn.ina); in lv_kb_create()
A Dlv_sw.c87 lv_theme_t * th = lv_theme_get_current(); in lv_sw_create() local
88 if(th) { in lv_sw_create()
89 lv_sw_set_style(new_sw, LV_SW_STYLE_BG, th->style.sw.bg); in lv_sw_create()
90 lv_sw_set_style(new_sw, LV_SW_STYLE_INDIC, th->style.sw.indic); in lv_sw_create()
91 lv_sw_set_style(new_sw, LV_SW_STYLE_KNOB_OFF, th->style.sw.knob_off); in lv_sw_create()
92 lv_sw_set_style(new_sw, LV_SW_STYLE_KNOB_ON, th->style.sw.knob_on); in lv_sw_create()
A Dlv_mbox.c104 lv_theme_t * th = lv_theme_get_current(); in lv_mbox_create() local
105 if(th) { in lv_mbox_create()
106 lv_mbox_set_style(new_mbox, LV_MBOX_STYLE_BG, th->style.mbox.bg); in lv_mbox_create()
149 lv_theme_t * th = lv_theme_get_current(); in lv_mbox_add_btns() local
150 if(th) { in lv_mbox_add_btns()
151 lv_mbox_set_style(mbox, LV_MBOX_STYLE_BTN_BG, th->style.mbox.btn.bg); in lv_mbox_add_btns()
152 lv_mbox_set_style(mbox, LV_MBOX_STYLE_BTN_REL, th->style.mbox.btn.rel); in lv_mbox_add_btns()
153 lv_mbox_set_style(mbox, LV_MBOX_STYLE_BTN_PR, th->style.mbox.btn.pr); in lv_mbox_add_btns()
A Dlv_win.c98 lv_theme_t * th = lv_theme_get_current(); in lv_win_create() local
99 if(th) { in lv_win_create()
100 lv_win_set_style(new_win, LV_WIN_STYLE_BG, th->style.win.bg); in lv_win_create()
101 lv_win_set_style(new_win, LV_WIN_STYLE_SB, th->style.win.sb); in lv_win_create()
102 lv_win_set_style(new_win, LV_WIN_STYLE_HEADER, th->style.win.header); in lv_win_create()
103 lv_win_set_style(new_win, LV_WIN_STYLE_CONTENT, th->style.win.content); in lv_win_create()
104 lv_win_set_style(new_win, LV_WIN_STYLE_BTN_REL, th->style.win.btn.rel); in lv_win_create()
105 lv_win_set_style(new_win, LV_WIN_STYLE_BTN_PR, th->style.win.btn.pr); in lv_win_create()
A Dlv_led.c80 lv_theme_t * th = lv_theme_get_current(); in lv_led_create() local
81 if(th) { in lv_led_create()
82 lv_led_set_style(new_led, LV_LED_STYLE_MAIN, th->style.led); in lv_led_create()
A Dlv_spinbox.c86 lv_theme_t * th = lv_theme_get_current(); in lv_spinbox_create() local
87 if(th) { in lv_spinbox_create()
88 lv_spinbox_set_style(new_spinbox, LV_SPINBOX_STYLE_BG, th->style.spinbox.bg); in lv_spinbox_create()
89 lv_spinbox_set_style(new_spinbox, LV_SPINBOX_STYLE_CURSOR, th->style.spinbox.cursor); in lv_spinbox_create()
90 lv_spinbox_set_style(new_spinbox, LV_SPINBOX_STYLE_SB, th->style.spinbox.sb); in lv_spinbox_create()
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/contrib/pds/
A Dtif_imageiter.c266 uint32 tw, th; in gtTileContig() local
277 TIFFGetField(tif, TIFFTAG_TILELENGTH, &th); in gtTileContig()
279 for (row = 0; row < h; row += th) { in gtTileContig()
280 nrow = (row + th > h ? h - row : th); in gtTileContig()
314 uint32 tw, th; in gtTileSeparate() local
338 TIFFGetField(tif, TIFFTAG_TILELENGTH, &th); in gtTileSeparate()
340 for (row = 0; row < h; row += th) { in gtTileSeparate()
341 nrow = (row + th > h ? h - row : th); in gtTileSeparate()
/AliOS-Things-master/components/py_engine/tests/thread/
A Dmutate_set.py11 def th(n, lo, hi): function
31 _thread.start_new_thread(th, (50, i * 500, (i + 1) * 500))
A Dthread_qstr1.py18 def th(base, n): function
35 _thread.start_new_thread(th, (i * n_qstr_per_thread, n_qstr_per_thread))
A Dmutate_dict.py11 def th(n, lo, hi): function
36 _thread.start_new_thread(th, (30, i * 300, (i + 1) * 300))
A Dmutate_bytearray.py11 def th(n, lo, hi): function
34 _thread.start_new_thread(th, (n_repeat, i * 256 // n_thread, (i + 1) * 256 // n_thread))
A Dmutate_list.py11 def th(n, lo, hi): function
37 _thread.start_new_thread(th, (4, i * 60, (i + 1) * 60))
A Dmutate_instance.py18 def th(n, lo, hi): function
37 _thread.start_new_thread(th, (n_repeat, i * n_range, (i + 1) * n_range))
/AliOS-Things-master/components/littlevgl/src/lv_core/
A Dlv_group.c32 static void refresh_theme(lv_group_t * g, lv_theme_t * th);
510 lv_theme_t * th = lv_theme_get_current(); in lv_group_report_style_mod() local
513 refresh_theme(group, th); in lv_group_report_style_mod()
520 refresh_theme(i, th); in lv_group_report_style_mod()
615 static void refresh_theme(lv_group_t * g, lv_theme_t * th) in refresh_theme() argument
619 if(th) { in refresh_theme()
620 if(th->group.style_mod_xcb) g->style_mod_cb = th->group.style_mod_xcb; in refresh_theme()
621 if(th->group.style_mod_edit_xcb) g->style_mod_edit_cb = th->group.style_mod_edit_xcb; in refresh_theme()
/AliOS-Things-master/components/amp/engine/quickjs_engine/addons/libc/
A Dquickjs_libc.c2121 if (th->link.prev) { in unlink_timer()
2123 th->link.prev = th->link.next = NULL; in unlink_timer()
2130 js_free_rt(rt, th); in free_timer()
2138 if (th) { in js_os_timer_finalizer()
2150 if (th) { in js_os_timer_mark()
2162 JSOSTimer *th; in js_os_setTimeout() local
2176 th = js_mallocz(ctx, sizeof(*th)); in js_os_setTimeout()
2177 if (!th) { in js_os_setTimeout()
2181 th->has_object = TRUE; in js_os_setTimeout()
2185 JS_SetOpaque(obj, th); in js_os_setTimeout()
[all …]
/AliOS-Things-master/components/amp/engine/quickjs_engine/quickjs/
A Dquickjs-libc.c1907 if (th->link.prev) { in unlink_timer()
1909 th->link.prev = th->link.next = NULL; in unlink_timer()
1916 js_free_rt(rt, th); in free_timer()
1924 if (th) { in js_os_timer_finalizer()
1935 if (th) { in js_os_timer_mark()
1947 JSOSTimer *th; in js_os_setTimeout() local
1958 th = js_mallocz(ctx, sizeof(*th)); in js_os_setTimeout()
1959 if (!th) { in js_os_setTimeout()
1963 th->has_object = TRUE; in js_os_setTimeout()
1967 JS_SetOpaque(obj, th); in js_os_setTimeout()
[all …]

Completed in 56 milliseconds

123