Home
last modified time | relevance | path

Searched refs:cnt (Results 1 - 4 of 4) sorted by relevance

/vendor/hisilicon/hispark_pegasus/demo/histreaming_client_demo/
H A Dapp_demo_histreaming.c54 int tmplen = strlen(p), cnt = 0; in StringToHex() local
56 while (cnt < (tmplen / HIGH_NUM)) { in StringToHex()
59 out[cnt] = (((high & 0x0f) << HIGH_NUM4) | (low & 0x0f)); in StringToHex()
61 cnt ++; in StringToHex()
64 out[cnt] = ((*p > HIGH_ASCII) && ((*p <= 'F') || (*p <= 'f'))) ? *p - HIGH_NUM2 - HIGH_NUM3 : *p - HIGH_NUM2; in StringToHex()
/vendor/hisilicon/hispark_pegasus/demo/histreaming_demo/
H A Dapp_demo_config.c464 void SetBeepStatus(int cnt, unsigned char beepStatus, unsigned char beep) in SetBeepStatus() argument
468 if ((cnt % BEEP_ONE_SECOND_INTERVAL) == DEFAULT_TYPE) { in SetBeepStatus()
473 if ((cnt % BEEP_HALF_SECOND_INTERVAL) == DEFAULT_TYPE) { in SetBeepStatus()
478 if ((cnt % BEEP_QUARTER_SECOND_INTERVAL) == DEFAULT_TYPE) { in SetBeepStatus()
/vendor/hisilicon/hispark_pegasus/demo/oc_demo/
H A Dapp_demo_config.c492 void SetBeepStatus(int cnt, unsigned char beepStatus, unsigned char beep) in SetBeepStatus() argument
496 if ((cnt % BEEP_ONE_SECOND_INTERVAL) == DEFAULT_TYPE) { in SetBeepStatus()
501 if ((cnt % BEEP_HALF_SECOND_INTERVAL) == DEFAULT_TYPE) { in SetBeepStatus()
506 if ((cnt % BEEP_QUARTER_SECOND_INTERVAL) == DEFAULT_TYPE) { in SetBeepStatus()
/vendor/hisilicon/hispark_pegasus/demo/traffic_light_demo/
H A Dapp_demo_config.c464 void SetBeepStatus(int cnt, unsigned char beepStatus, unsigned char beep) in SetBeepStatus() argument
468 if ((cnt % BEEP_ONE_SECOND_INTERVAL) == DEFAULT_TYPE) { in SetBeepStatus()
473 if ((cnt % BEEP_HALF_SECOND_INTERVAL) == DEFAULT_TYPE) { in SetBeepStatus()
478 if ((cnt % BEEP_QUARTER_SECOND_INTERVAL) == DEFAULT_TYPE) { in SetBeepStatus()

Completed in 8 milliseconds