Home
last modified time | relevance | path

Searched refs:ASSERT (Results 1 – 25 of 40) sorted by relevance

12

/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/platform/src/
H A Dlist.c35 ASSERT(list); in ListGetFirstNodeInt()
55 ASSERT(list); in ListFreeNode()
56 ASSERT(node); in ListFreeNode()
70 ASSERT(list); in ListClear()
91 ASSERT(list); in ListGetSize()
97 ASSERT(list); in ListAddFirst()
98 ASSERT(data); in ListAddFirst()
110 ASSERT(list); in ListAddLast()
111 ASSERT(data); in ListAddLast()
123 ASSERT(list); in ListForEachData()
[all …]
H A Dqueue.c94 ASSERT(queue); in QueueEnqueue()
95 ASSERT(data); in QueueEnqueue()
107 ASSERT(queue); in QueueTryEnqueue()
108 ASSERT(data); in QueueTryEnqueue()
125 ASSERT(queue); in QueueDequeue()
143 ASSERT(queue); in QueueTryDequeue()
164 ASSERT(queue); in QueueGetEnqueueFd()
170 ASSERT(queue); in QueueGetDequeueFd()
176 ASSERT(queue); in QueueFlush()
188 ASSERT(queue); in QueueIsEmpty()
[all …]
H A Dpacket.c180 ASSERT(pkt); in PacketHead()
186 ASSERT(pkt); in PacketTail()
192 ASSERT(pkt); in PacketContinuousPayload()
236 ASSERT(pkt); in PacketPayloadSize()
335 ASSERT(pkt); in PacketPayloadRead()
336 ASSERT(dst); in PacketPayloadRead()
352 ASSERT(pkt); in PacketPayloadWrite()
353 ASSERT(src); in PacketPayloadWrite()
369 ASSERT(pkt); in PacketSize()
381 ASSERT(pkt); in PacketRead()
[all …]
H A Dmutex.c53 ASSERT(mutex); in MutexLock()
59 ASSERT(mutex); in MutexUnlock()
65 ASSERT(mutex); in MutexTryLock()
H A Devent.c57 ASSERT(event); in EventSet()
72 ASSERT(event); in EventClear()
99 ASSERT(event); in EventWait()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/jskitsimpl/distributedkvstore/src/
H A Djs_util.cpp162 ASSERT(isArray, "not an array", napi_invalid_arg); in GetValue()
513 ASSERT((status == napi_ok), "invalid buffer", status); in SetValue()
520 ASSERT((status == napi_ok), "invalid buffer", status); in SetValue()
552 ASSERT((status == napi_ok), "invalid buffer", status); in SetValue()
559 ASSERT((status == napi_ok), "invalid buffer", status); in SetValue()
591 ASSERT((status == napi_ok), "invalid buffer", status); in SetValue()
598 ASSERT((status == napi_ok), "invalid buffer", status); in SetValue()
774 ASSERT(isArray, "not array", napi_invalid_arg); in GetValue()
861 ASSERT(isArray, "not array", napi_invalid_arg); in GetValue()
925 ASSERT(isArray, "not array", napi_invalid_arg); in GetValue()
[all …]
H A Djs_schema.cpp109 ASSERT(schema != nullptr, "getSchema nullptr!", nullptr); in GetRootNode()
153 ASSERT(schema != nullptr, "schema is nullptr!", nullptr); in GetMode()
180 ASSERT(schema != nullptr, "schema is nullptr!", nullptr); in GetSkip()
207 ASSERT(schema != nullptr, "getSchema nullptr!", nullptr); in GetIndexes()
H A Djs_const_properties.cpp28 ASSERT(status == napi_ok, "int32_t to napi_value failed!", status); in SetNamedProperty()
30 ASSERT(status == napi_ok, "napi_set_named_property failed!", status); in SetNamedProperty()
H A Djs_field_node.cpp154 ASSERT(fieldNode != nullptr, "fieldNode is nullptr!", nullptr); in GetDefaultValue()
183 ASSERT(fieldNode != nullptr, "fieldNode is nullptr!", nullptr); in GetNullable()
211 ASSERT(fieldNode != nullptr, "fieldNode is nullptr!", nullptr); in GetValueType()
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/js/napi/common/src/
H A Djs_sendable_utils.cpp126 ASSERT(status == napi_ok, "napi_get_all_property_names failed", nullptr); in ToSendableObject()
129 ASSERT(status == napi_ok, "napi_get_array_length failed", nullptr); in ToSendableObject()
136 ASSERT(status == napi_ok, "napi_get_element failed", nullptr); in ToSendableObject()
140 ASSERT(status == napi_ok, "napi_get_named_property failed", nullptr); in ToSendableObject()
154 ASSERT(status == napi_ok, "napi_get_array_length failed", nullptr); in ToSendableArray()
161 ASSERT(status == napi_ok, "napi_get_element failed", nullptr); in ToSendableArray()
163 ASSERT(status == napi_ok, "napi_set_element failed", nullptr); in ToSendableArray()
175 ASSERT(status == napi_ok, "napi_get_typedarray_info failed", nullptr); in ToSendableTypedArray()
203 ASSERT(status == napi_ok, "napi_is_sendable failed", nullptr); in Convert2Sendable()
208 ASSERT(status == napi_ok, "napi_is_array failed", nullptr); in Convert2Sendable()
[all …]
H A Djs_utils.cpp618 ASSERT(status == napi_ok, "napi_get_array_length failed", nullptr); in ToJsObject()
625 ASSERT(status == napi_ok, "napi_get_element failed", nullptr); in ToJsObject()
643 ASSERT(status == napi_ok, "napi_get_array_length failed", nullptr); in ToJsArray()
650 ASSERT(status == napi_ok, "napi_get_element failed", nullptr); in ToJsArray()
652 ASSERT(status == napi_ok, "napi_set_element failed", nullptr); in ToJsArray()
674 ASSERT(status == napi_ok, "napi_create_arraybuffer failed", nullptr); in ToJsTypedArray()
684 ASSERT(status == napi_ok, "napi_create_typedarray failed", nullptr); in ToJsTypedArray()
692 ASSERT(status == napi_ok, "napi_typeof failed", nullptr); in Convert2JSValue()
698 ASSERT(status == napi_ok, "napi_is_sendable failed", nullptr); in Convert2JSValue()
704 ASSERT(status == napi_ok, "napi_is_array failed", nullptr); in Convert2JSValue()
[all …]
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/js/napi/relationalstore/src/
H A Dnapi_rdb_js_utils.cpp344 ASSERT(OK == status, "get encrypt failed.", napi_invalid_arg); in Convert2Value()
350 ASSERT(status == napi_ok, "get securityLevel failed", status); in Convert2Value()
353 ASSERT(OK == status, "get dataGroupId failed.", napi_invalid_arg); in Convert2Value()
359 ASSERT(OK == status, "get name failed.", napi_invalid_arg); in Convert2Value()
362 ASSERT(OK == status, "get customDir failed.", napi_invalid_arg); in Convert2Value()
368 ASSERT(OK == status, "get vector failed.", napi_invalid_arg); in Convert2Value()
374 ASSERT(OK == status, "get isReadOnly failed.", napi_invalid_arg); in Convert2Value()
377 ASSERT(OK == status, "get pluginLibs failed.", napi_invalid_arg); in Convert2Value()
380 ASSERT(OK == status, "get haMode failed.", napi_invalid_arg); in Convert2Value()
383 ASSERT(OK == status, "get cryptoParam failed.", napi_invalid_arg); in Convert2Value()
[all …]
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/platform/linux/
H A Dsemaphore_linux.c79 ASSERT(sem); in SemaphoreWait()
87 ASSERT(sem); in SemaphoreTryWait()
118 ASSERT(sem); in SemaphorePost()
125 ASSERT(sem); in SemaphoreTryPost()
155 ASSERT(sem); in SemaphoreGetfd()
H A Dthread_linux.c56 ASSERT(queue); in ReadyToRead()
101 ASSERT(thread); in ThreadIsSelf()
193 ASSERT(thread); in ThreadPostTask()
194 ASSERT(func); in ThreadPostTask()
207 ASSERT(thread); in ThreadGetReactor()
H A Dreactor_linux.c121 ASSERT(reactor); in ReactorStart()
177 ASSERT(reactor); in ReactorStop()
184 ASSERT(reactor); in ReactorRegister()
225 ASSERT(item); in ReactorUnregister()
H A Dalarm_linux.c162 ASSERT(alarm); in AlarmSet()
188 ASSERT(alarm); in AlarmCancel()
/ohos5.0/foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/
H A Dgraphic_assert.h46 #define ASSERT(cond) assert(cond) macro
48 #define ASSERT(cond)
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/platform/include/
H A Dplatform_def.h31 #define ASSERT(x) assert(x) macro
33 #define ASSERT(x) macro
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/base/
H A Dbase_def.h28 #define ASSERT(x) assert(x) macro
30 #define ASSERT(x) macro
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/common/
H A Dlog.h87 #define ASSERT(x) assert(x) macro
89 #define ASSERT(x) macro
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/jskitsimpl/distributedkvstore/include/
H A Dnapi_queue.h80 #define ASSERT(condition, message, retVal) \ macro
96 #define ASSERT_NULL(condition, message) ASSERT(condition, message, nullptr) \
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/js/napi/cloud_data/include/
H A Dnapi_queue.h87 #define ASSERT(condition, message, retVal) \ macro
103 #define ASSERT_NULL(condition, message) ASSERT(condition, message, nullptr)
/ohos5.0/foundation/arkui/napi/utils/
H A Dassert.h21 #define ASSERT assert macro
/ohos5.0/foundation/distributeddatamgr/udmf/interfaces/jskits/common/
H A Dnapi_queue.h88 #define ASSERT(condition, message, retVal) \ macro
112 #define ASSERT_NULL(condition, message) ASSERT(condition, message, nullptr)
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/js/napi/cloud_data/src/
H A Djs_const_properties.cpp31 ASSERT(status == napi_ok, "int32_t to napi_value failed!", status); in SetNamedProperty()
33 ASSERT(status == napi_ok, "napi_set_named_property failed!", status); in SetNamedProperty()

12