Home
last modified time | relevance | path

Searched refs:_flag (Results 1 – 2 of 2) sorted by relevance

/AliOS-Things-master/components/py_engine/engine/extmod/uasyncio/
A Devent.py45 self._flag = 0
49 return self._flag * flags
53 self._flag = 1
56 if not self._flag:
58 self._flag = 0
/AliOS-Things-master/components/ble_host/bt_host/port/include/misc/
A Dutil.h309 #define COND_CODE_1(_flag, _if_1_code, _else_code) \ argument
310 Z_COND_CODE_1(_flag, _if_1_code, _else_code)
312 #define Z_COND_CODE_1(_flag, _if_1_code, _else_code) \ argument
313 __COND_CODE(_XXXX##_flag, _if_1_code, _else_code)
332 #define IF_ENABLED(_flag, _code) \ argument
333 COND_CODE_1(_flag, _code, ())
420 #define COND_CODE_0(_flag, _if_0_code, _else_code) \ argument
421 Z_COND_CODE_0(_flag, _if_0_code, _else_code)
423 #define Z_COND_CODE_0(_flag, _if_0_code, _else_code) \ argument
424 __COND_CODE(_ZZZZ##_flag, _if_0_code, _else_code)

Completed in 6 milliseconds