/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/contrib/stream/ |
A D | tiffstream.cpp | 95 istr = ts->m_inStream; in read() 97 istr = ts->m_ioStream; in read() 100 int remain = ts->m_streamLength - ts->tell(fd); in read() 111 if(ts->m_outStream != NULL) { in write() 112 ostr = ts->m_outStream; in write() 114 ostr = ts->m_ioStream; in write() 134 if(ts->m_inStream != NULL) { in close() 135 ts->m_inStream = NULL; in close() 138 ts->m_outStream = NULL; in close() 141 ts->m_ioStream = NULL; in close() [all …]
|
/AliOS-Things-master/components/amp_adapter/platform/linux/peripheral/ |
A D | aos_hal_timer.c | 44 struct itimerspec ts; in aos_hal_timer_start() local 53 ts.it_interval.tv_sec = tim->config.period / 1000000; in aos_hal_timer_start() 57 ts.it_interval.tv_sec = 0;; in aos_hal_timer_start() 58 ts.it_interval.tv_nsec = 0; in aos_hal_timer_start() 62 ts.it_value.tv_sec = tim->config.period / 1000000; in aos_hal_timer_start() 70 struct itimerspec ts; in aos_hal_timer_stop() local 78 ts.it_interval.tv_sec = 0; in aos_hal_timer_stop() 79 ts.it_interval.tv_nsec = 0; in aos_hal_timer_stop() 82 ts.it_value.tv_sec = 0; in aos_hal_timer_stop() 83 ts.it_value.tv_nsec = 0; in aos_hal_timer_stop() [all …]
|
/AliOS-Things-master/components/amp_adapter/platform/linux/ |
A D | aos_system.c | 193 struct timespec ts; in aos_sem_wait() local 199 ts.tv_nsec += nsec; in aos_sem_wait() 201 ts.tv_nsec %= 1000000000; in aos_sem_wait() 202 ts.tv_sec += sec; in aos_sem_wait() 204 return sem_timedwait(*sem, &ts); in aos_sem_wait() 355 struct itimerspec ts; in aos_timer_start() local 384 struct itimerspec ts; in aos_timer_stop() local 395 ts.it_interval.tv_sec = 0; in aos_timer_stop() 396 ts.it_interval.tv_nsec = 0; in aos_timer_stop() 399 ts.it_value.tv_sec = 0; in aos_timer_stop() [all …]
|
/AliOS-Things-master/components/py_engine/engine/extmod/uasyncio/ |
A D | funcs.py | 57 ts = [core._promote_to_task(aw) for aw in aws] 58 for i in range(len(ts)): 68 ts[i] = await ts[i] 71 ts[i] = er 74 return ts
|
/AliOS-Things-master/components/lwip/lwip2.0.0/netif/ppp/ |
A D | eap.c | 431 struct t_server *ts; in eap_figure_next_state() local 446 if (ts != NULL) { in eap_figure_next_state() 447 t_serverclose(ts); in eap_figure_next_state() 571 t_serverclose(ts); in eap_figure_next_state() 589 t_serverclose(ts); in eap_figure_next_state() 606 t_serverclose(ts); in eap_figure_next_state() 740 MEMCPY(outp, ts->s.data, ts->s.len); in eap_send_request() 743 if (ts->g.len == 1 && ts->g.data[0] == 2) { in eap_send_request() 747 MEMCPY(outp, ts->g.data, ts->g.len); in eap_send_request() 753 MEMCPY(outp, ts->n.data, ts->n.len); in eap_send_request() [all …]
|
/AliOS-Things-master/components/amp/engine/quickjs_engine/addons/libc/ |
A D | quickjs_libc.c | 714 if (!ts->recv_pipe && ++ts->eval_script_recurse == 1) { in js_evalScript() 724 if (!ts->recv_pipe && --ts->eval_script_recurse == 0) { in js_evalScript() 763 if (!ts->recv_pipe && ++ts->eval_script_recurse == 1) { in js_evalScript_m() 773 if (!ts->recv_pipe && --ts->eval_script_recurse == 0) { in js_evalScript_m() 2107 return (uint64_t)ts.tv_sec * 1000 + (ts.tv_nsec / 1000000); in get_time_ms() 2233 if (list_empty(&ts->os_rw_handlers) && list_empty(&ts->os_timers)) { in js_os_poll() 3926 if (ts->recv_pipe && ts->send_pipe) { in js_os_init() 4014 ts = malloc(sizeof(*ts)); in js_std_init_handlers() 4015 if (!ts) { in js_std_init_handlers() 4019 memset(ts, 0, sizeof(*ts)); in js_std_init_handlers() [all …]
|
/AliOS-Things-master/components/amp/engine/quickjs_engine/quickjs/ |
A D | quickjs-libc.c | 686 if (!ts->recv_pipe && ++ts->eval_script_recurse == 1) { in js_evalScript() 695 if (!ts->recv_pipe && --ts->eval_script_recurse == 0) { in js_evalScript() 1893 return (uint64_t)ts.tv_sec * 1000 + (ts.tv_nsec / 1000000); in get_time_ms() 2013 if (list_empty(&ts->os_rw_handlers) && list_empty(&ts->os_timers)) in js_os_poll() 2182 if (list_empty(&ts->os_rw_handlers) && list_empty(&ts->os_timers) && in js_os_poll() 3172 JSThreadState *ts; in worker_func() local 3579 if (ts->recv_pipe && ts->send_pipe) { in js_os_init() 3662 ts = malloc(sizeof(*ts)); in js_std_init_handlers() 3663 if (!ts) { in js_std_init_handlers() 3667 memset(ts, 0, sizeof(*ts)); in js_std_init_handlers() [all …]
|
/AliOS-Things-master/components/uvoice/internal/ |
A D | uvoice_linux.h | 301 struct timespec ts; in os_sem_wait() local 304 ts.tv_sec = tt.tv_sec + timeout / 1000; in os_sem_wait() 305 ts.tv_nsec = tt.tv_usec * 1000 + (timeout % 1000) * 1000 * 1000; in os_sem_wait() 306 ts.tv_sec += ts.tv_nsec / (1000 * 1000 * 1000); in os_sem_wait() 307 ts.tv_nsec %= (1000 * 1000 * 1000); in os_sem_wait() 310 return sem_timedwait(sem, &ts); in os_sem_wait()
|
/AliOS-Things-master/components/py_engine/engine/py/ |
A D | modthread.c | 162 mp_state_thread_t ts; in thread_entry() local 163 mp_thread_set_state(&ts); in thread_entry() 165 mp_stack_set_top(&ts + 1); // need to include ts in root-pointer scan in thread_entry() 178 ts.mp_pending_exception = MP_OBJ_NULL; in thread_entry() 192 DEBUG_printf("[thread] start ts=%p args=%p stack=%p\n", &ts, &args, MP_STATE_THREAD(stack_top)); in thread_entry() 213 DEBUG_printf("[thread] finish ts=%p\n", &ts); in thread_entry()
|
/AliOS-Things-master/components/py_engine/tests/extmod/ |
A D | uasyncio_lock.py | 77 ts = [None] 78 asyncio.create_task(task_cancel(0, lock, ts)) 79 ts[0] = asyncio.create_task(task_cancel(1, lock))
|
/AliOS-Things-master/components/ble_host/bt_host/host/ |
A D | monitor.c | 104 struct bt_monitor_ts32 *ts; in encode_hdr() local 109 ts = (void *)hdr->ext; in encode_hdr() 110 ts->type = BT_MONITOR_TS32; in encode_hdr() 111 ts->ts32 = timestamp; in encode_hdr() 112 hdr->hdr_len = sizeof(*ts); in encode_hdr()
|
/AliOS-Things-master/components/lwip/lwip2.0.0/apps/snmp/ |
A D | snmp_traps.c | 64 u32_t ts; member 193 MIB2_COPY_SYSUPTIME_TO(&trap_msg.ts); in snmp_send_trap() 313 snmp_asn1_enc_u32t_cnt(trap->ts, &len); in snmp_trap_header_sum() 440 snmp_asn1_enc_s32t_cnt(trap->ts, &tlv.value_len); in snmp_trap_header_enc() 442 snmp_asn1_enc_s32t(pbuf_stream, tlv.value_len, trap->ts); in snmp_trap_header_enc()
|
/AliOS-Things-master/components/SDL2/src/hidapi/android/ |
A D | hid.cpp | 343 static uint64_t get_timespec_ms( const struct timespec &ts ) in get_timespec_ms() argument 345 return (uint64_t)ts.tv_sec * 1000 + ts.tv_nsec / 1000000; in get_timespec_ms() 454 struct timespec ts, endtime; in BOpen() local 455 clock_gettime( CLOCK_REALTIME, &ts ); in BOpen() 456 endtime = ts; in BOpen() 465 while ( m_bIsWaitingForOpen && get_timespec_ms( ts ) < get_timespec_ms( endtime ) ); in BOpen() 645 struct timespec ts, endtime; in GetFeatureReport() local 646 clock_gettime( CLOCK_REALTIME, &ts ); in GetFeatureReport() 647 endtime = ts; in GetFeatureReport() 656 while ( m_bIsWaitingForFeatureReport && get_timespec_ms( ts ) < get_timespec_ms( endtime ) ); in GetFeatureReport()
|
/AliOS-Things-master/components/SDL2/src/hidapi/mac/ |
A D | hid.c | 949 struct timespec ts; in hid_read_timeout() local 952 TIMEVAL_TO_TIMESPEC(&tv, &ts); in hid_read_timeout() 953 ts.tv_sec += milliseconds / 1000; in hid_read_timeout() 954 ts.tv_nsec += (milliseconds % 1000) * 1000000; in hid_read_timeout() 955 if (ts.tv_nsec >= 1000000000L) { in hid_read_timeout() 956 ts.tv_sec++; in hid_read_timeout() 957 ts.tv_nsec -= 1000000000L; in hid_read_timeout() 960 res = cond_timedwait(dev, &dev->condition, &dev->mutex, &ts); in hid_read_timeout()
|
/AliOS-Things-master/components/jsoncpp/example/ |
A D | CMakeLists.txt | 1 #vim: et ts =4 sts = 4 sw = 4 tw = 0
|
/AliOS-Things-master/components/jsoncpp/src/test_lib_json/ |
A D | CMakeLists.txt | 1 # vim: et ts=4 sts=4 sw=4 tw=0
|
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/api/wifi/rtw_wpa_supplicant/src/utils/ |
A D | os.h | 123 struct os_reltime *ts, in os_reltime_expired() argument 128 os_reltime_sub(now, ts, &age); in os_reltime_expired()
|
/AliOS-Things-master/hardware/chip/haas1000/drivers/net/lwip/src/include/lwip/ |
A D | snmp.h | 122 (netif)->ts = 0; \
|
/AliOS-Things-master/components/lwip/lwip2.0.0/include/lwip/ |
A D | snmp.h | 122 (netif)->ts = 0; \
|
/AliOS-Things-master/components/SDL2/src/locale/macosx/ |
A D | SDL_syslocale.m | 75 /* vi: set ts=4 sw=4 expandtab: */
|
/AliOS-Things-master/components/SDL2/src/video/cocoa/ |
A D | SDL_cocoaclipboard.m | 103 /* vi: set ts=4 sw=4 expandtab: */
|
/AliOS-Things-master/components/SDL2/src/video/uikit/ |
A D | SDL_uikitclipboard.m | 111 /* vi: set ts=4 sw=4 expandtab: */
|
A D | SDL_uikitevents.m | 75 /* vi: set ts=4 sw=4 expandtab: */
|
/AliOS-Things-master/components/SDL2/src/file/cocoa/ |
A D | SDL_rwopsbundlesupport.m | 62 /* vi: set ts=4 sw=4 expandtab: */
|
/AliOS-Things-master/components/SDL2/src/power/uikit/ |
A D | SDL_syspower.m | 113 /* vi: set ts=4 sw=4 expandtab: */
|