/AliOS-Things-master/components/SDL2/include/ |
A D | SDL_assert.h | 165 # define SDL_assert(condition) SDL_disabled_assert(condition) argument 166 # define SDL_assert_release(condition) SDL_disabled_assert(condition) argument 167 # define SDL_assert_paranoid(condition) SDL_disabled_assert(condition) argument 169 # define SDL_assert(condition) SDL_disabled_assert(condition) argument 170 # define SDL_assert_release(condition) SDL_enabled_assert(condition) argument 173 # define SDL_assert(condition) SDL_enabled_assert(condition) argument 174 # define SDL_assert_release(condition) SDL_enabled_assert(condition) argument 177 # define SDL_assert(condition) SDL_enabled_assert(condition) argument 178 # define SDL_assert_release(condition) SDL_enabled_assert(condition) argument 179 # define SDL_assert_paranoid(condition) SDL_enabled_assert(condition) argument [all …]
|
/AliOS-Things-master/components/drivers/core/base/include/drivers/ |
A D | bug.h | 11 #define BUG_ON(condition) do { \ argument 12 if (unlikely(condition)) { \ 19 if(condition) { \ 24 #define WARN_ON(condition) ({\ argument 25 int __ret = !!(condition); \ 32 #define WARN_ON_ONCE(condition) ({\ argument 34 __ret = !!(condition); \ 40 #define WARN(condition, fmt, ...) ({\ argument 42 __ret = !!(condition); \ 49 if(condition) { \ [all …]
|
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/utils/ |
A D | thread_utils.c | 134 (void)condition; in pthread_cond_destroy() 136 ok &= (CloseHandle(condition->waiting_sem_) != 0); in pthread_cond_destroy() 137 ok &= (CloseHandle(condition->received_sem_) != 0); in pthread_cond_destroy() 138 ok &= (CloseHandle(condition->signal_event_) != 0); in pthread_cond_destroy() 146 InitializeConditionVariable(condition); in pthread_cond_init() 151 if (condition->waiting_sem_ == NULL || in pthread_cond_init() 152 condition->received_sem_ == NULL || in pthread_cond_init() 153 condition->signal_event_ == NULL) { in pthread_cond_init() 154 pthread_cond_destroy(condition); in pthread_cond_init() 164 WakeConditionVariable(condition); in pthread_cond_signal() [all …]
|
/AliOS-Things-master/components/jsoncpp/include/json/ |
A D | assertions.h | 23 #define JSON_ASSERT(condition) \ argument 25 if (!(condition)) { \ 40 #define JSON_ASSERT(condition) assert(condition) argument 54 #define JSON_ASSERT_MESSAGE(condition, message) \ argument 56 if (!(condition)) { \
|
/AliOS-Things-master/components/SDL2/test/ |
A D | testhaptic.c | 174 efx[nefx].condition.length = 5000; in main() 176 efx[nefx].condition.right_sat[i] = 0xFFFF; in main() 177 efx[nefx].condition.left_sat[i] = 0xFFFF; in main() 193 efx[nefx].condition.length = 5000; in main() 195 efx[nefx].condition.right_sat[i] = 0xFFFF; in main() 196 efx[nefx].condition.left_sat[i] = 0xFFFF; in main() 211 efx[nefx].condition.length = 5000; in main() 213 efx[nefx].condition.right_sat[i] = 0xFFFF; in main() 214 efx[nefx].condition.left_sat[i] = 0xFFFF; in main() 230 efx[nefx].condition.length = 5000; in main() [all …]
|
/AliOS-Things-master/hardware/chip/haas1000/drivers/net/ |
A D | net_debug.h | 38 #define BUILD_BUG_ON(condition) argument 40 #define WARN_ON(condition) \ argument 42 int __ret_warn_on = !!(condition); \ 51 #define WARN(condition, format...) ({ \ argument 52 int __ret_warn_on = !!(condition); \ 64 #define WARN_ON_ONCE(condition) ({ \ argument 66 int __ret_warn_once = !!(condition); \
|
/AliOS-Things-master/components/SDL2/src/haptic/linux/ |
A D | SDL_syshaptic.c | 845 condition = &src->condition; in SDL_SYS_ToFFEffect() 870 dest->u.condition[0].left_saturation = condition->left_sat[0]; in SDL_SYS_ToFFEffect() 871 dest->u.condition[0].right_coeff = condition->right_coeff[0]; in SDL_SYS_ToFFEffect() 872 dest->u.condition[0].left_coeff = condition->left_coeff[0]; in SDL_SYS_ToFFEffect() 873 dest->u.condition[0].deadband = condition->deadband[0]; in SDL_SYS_ToFFEffect() 874 dest->u.condition[0].center = condition->center[0]; in SDL_SYS_ToFFEffect() 877 dest->u.condition[1].left_saturation = condition->left_sat[1]; in SDL_SYS_ToFFEffect() 878 dest->u.condition[1].right_coeff = condition->right_coeff[1]; in SDL_SYS_ToFFEffect() 879 dest->u.condition[1].left_coeff = condition->left_coeff[1]; in SDL_SYS_ToFFEffect() 880 dest->u.condition[1].deadband = condition->deadband[1]; in SDL_SYS_ToFFEffect() [all …]
|
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/third_party/ruy/cmake/ |
A D | bazel_to_cmake.py | 72 condition = '' 77 condition = 'CMAKE_SYSTEM_NAME STREQUAL Windows' 79 … condition = 'CMAKE_SYSTEM_PROCESSOR STREQUAL ppc64 OR CMAKE_SYSTEM_PROCESSOR STREQUAL ppc64le' 81 … condition = 'CMAKE_SYSTEM_PROCESSOR STREQUAL s390 OR CMAKE_SYSTEM_PROCESSOR STREQUAL s390x' 83 condition = 'CMAKE_SYSTEM_NAME STREQUAL Fuchsia' 85 condition = 'CMAKE_SYSTEM_PROCESSOR STREQUAL arm' 90 condition = '(CMAKE_BUILD_TYPE STREQUAL Debug) OR MSVC' 92 …condition = '(CMAKE_SYSTEM_PROCESSOR STREQUAL x86_64 OR CMAKE_SYSTEM_PROCESSOR STREQUAL amd64) AND… 94 condition = 'MSVC' 96 condition = '${RUY_PROFILER}'
|
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/third_party/ruy/ruy/ |
A D | check_macros.h | 71 inline void CheckImpl(bool condition, const char* file, int line, 73 if (!condition) { 102 #define RUY_CHECK_IMPL(macro, condition) \ 103 ruy::check_macros::CheckImpl(condition, __FILE__, __LINE__, #macro, \ 104 #condition) 110 #define RUY_CHECK(condition) RUY_CHECK_IMPL(RUY_CHECK, condition) 129 #define RUY_DCHECK(condition) \ 130 if (RUY_DCHECK_IS_ENABLED) RUY_CHECK(condition)
|
A D | wait.cc | 22 void Wait(const std::function<bool()>& condition, const Duration& spin_duration, in Wait() argument 25 if (condition()) { in Wait() 33 if (condition()) { in Wait() 41 condvar->wait(lock, condition); in Wait()
|
A D | check_macros_test.cc | 22 #define TEST_CONDITION_FOR_FAMILY(family, vacuously_succeeds, condition) \ argument 24 if (vacuously_succeeds || (condition)) { \ 25 RUY_##family(condition); \ 38 #define TEST_CONDITION(condition) \ argument 40 TEST_CONDITION_FOR_FAMILY(CHECK, false, condition); \ 47 #define TEST_CONDITION(condition) \ 49 TEST_CONDITION_FOR_FAMILY(CHECK, false, condition); \ 50 TEST_CONDITION_FOR_FAMILY(DCHECK, false, condition); \
|
A D | blocking_counter.cc | 43 const auto& condition = [this]() { in Wait() local 46 ruy::Wait(condition, spin_duration, &count_cond_, &count_mutex_); in Wait()
|
A D | wait_test.cc | 80 const auto& condition = [&value, &end_value]() { in WaitTest() local 83 ruy::Wait(condition, spin_duration, &condvar, &mutex); in WaitTest()
|
A D | wait.h | 63 void Wait(const std::function<bool()>& condition, const Duration& spin_duration,
|
A D | thread_pool.cc | 125 const auto& condition = [this]() { in ThreadFuncImpl() local 129 Wait(condition, spin_duration_, &state_cond_, &state_mutex_); in ThreadFuncImpl()
|
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/kernels/internal/ |
A D | compatibility.h | 23 #define TFLITE_DCHECK(condition) (condition) ? (void)0 : TFLITE_ASSERT_FALSE argument 52 #define TFLITE_CHECK(condition) (condition) ? (void)0 : TFLITE_ABORT argument
|
/AliOS-Things-master/hardware/chip/haas1000/drivers/utils/heap/ |
A D | multi_heap_platform.h | 43 inline static void multi_heap_assert(bool condition, const char *format, int line, intptr_t address) in multi_heap_assert() argument 50 if(!condition) { in multi_heap_assert() 57 (void) condition; in multi_heap_assert()
|
/AliOS-Things-master/components/freetype/include/internal/ |
A D | ftdebug.h | 195 #define FT_ASSERT( condition ) \ argument 198 if ( !( condition ) ) \ 211 #define FT_ASSERT( condition ) do { } while ( 0 ) argument
|
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/experimental/mlir/testing/op_tests/ |
A D | tensor_list_dynamic_shape.py | 49 condition = lambda i, _: i < parameters["num_elements"] function 58 _, tensor_list = tf.while_loop(condition, loop_body, init_state)
|
/AliOS-Things-master/components/SDL2/src/haptic/darwin/ |
A D | SDL_syshaptic.c | 942 hap_condition = &src->condition; in SDL_SYS_ToFFEFFECT() 944 condition = SDL_malloc(sizeof(FFCONDITION) * dest->cAxes); in SDL_SYS_ToFFEFFECT() 945 if (condition == NULL) { in SDL_SYS_ToFFEFFECT() 948 SDL_memset(condition, 0, sizeof(FFCONDITION)); in SDL_SYS_ToFFEFFECT() 952 condition[i].lOffset = CONVERT(hap_condition->center[i]); in SDL_SYS_ToFFEFFECT() 953 condition[i].lPositiveCoefficient = in SDL_SYS_ToFFEFFECT() 955 condition[i].lNegativeCoefficient = in SDL_SYS_ToFFEFFECT() 957 condition[i].dwPositiveSaturation = in SDL_SYS_ToFFEFFECT() 959 condition[i].dwNegativeSaturation = in SDL_SYS_ToFFEFFECT() 961 condition[i].lDeadBand = CCONVERT(hap_condition->deadband[i] / 2); in SDL_SYS_ToFFEFFECT() [all …]
|
/AliOS-Things-master/components/SDL2/src/haptic/windows/ |
A D | SDL_dinputhaptic.c | 752 hap_condition = &src->condition; in SDL_SYS_ToDIEFFECT() 753 condition = SDL_malloc(sizeof(DICONDITION) * dest->cAxes); in SDL_SYS_ToDIEFFECT() 754 if (condition == NULL) { in SDL_SYS_ToDIEFFECT() 757 SDL_memset(condition, 0, sizeof(DICONDITION)); in SDL_SYS_ToDIEFFECT() 761 condition[i].lOffset = CONVERT(hap_condition->center[i]); in SDL_SYS_ToDIEFFECT() 762 condition[i].lPositiveCoefficient = in SDL_SYS_ToDIEFFECT() 764 condition[i].lNegativeCoefficient = in SDL_SYS_ToDIEFFECT() 766 condition[i].dwPositiveSaturation = in SDL_SYS_ToDIEFFECT() 768 condition[i].dwNegativeSaturation = in SDL_SYS_ToDIEFFECT() 770 condition[i].lDeadBand = CCONVERT(hap_condition->deadband[i] / 2); in SDL_SYS_ToDIEFFECT() [all …]
|
/AliOS-Things-master/hardware/chip/haas1000/drivers/services/ble_stack/ble_ip/ |
A D | arch.h | 145 void assert_err(const char *condition, const char * file, int line);
|
/AliOS-Things-master/components/SDL2/src/hidapi/mac/ |
A D | hid.c | 119 pthread_cond_t condition; member 150 pthread_cond_init(&dev->condition, NULL); in new_hid_device() 202 pthread_cond_destroy(&dev->condition); in free_hid_device() 636 pthread_cond_signal(&dev->condition); in hid_report_callback() 704 pthread_cond_broadcast(&dev->condition); in read_thread() 938 res = cond_wait(dev, &dev->condition, &dev->mutex); in hid_read_timeout() 960 res = cond_timedwait(dev, &dev->condition, &dev->mutex, &ts); in hid_read_timeout()
|
/AliOS-Things-master/components/SDL2/src/hidapi/libusb/ |
A D | hid.c | 157 SDL_cond *condition; member 178 dev->condition = SDL_CreateCond(); in new_hid_device() 188 SDL_DestroyCond(dev->condition); in free_hid_device() 805 SDL_CondSignal(dev->condition); in read_callback() 909 SDL_CondBroadcast(dev->condition); in read_thread() 1208 SDL_CondWait(dev->condition, dev->mutex); in hid_read_timeout() 1219 res = SDL_CondWaitTimeout(dev->condition, dev->mutex, milliseconds); in hid_read_timeout()
|
/AliOS-Things-master/components/SDL2/src/ |
A D | SDL_assert.c | 107 item->condition, item->function, item->filename, in SDL_GenerateAssertionReport() 179 data->condition); in SDL_PromptAssertion()
|