Home
last modified time | relevance | path

Searched refs:ASSERT (Results 1 - 25 of 38) sorted by relevance

12

/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(lis 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(queu in QueueIsEmpty()
[all...]
H A Dmutex.c53 ASSERT(mutex); in MutexLock()
59 ASSERT(mutex); in MutexUnlock()
65 ASSERT(mutex); in MutexTryLock()
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(pk in PacketRead()
[all...]
H A Devent.c57 ASSERT(event); in EventSet()
72 ASSERT(event); in EventClear()
99 ASSERT(event); in EventWait()
/foundation/distributeddatamgr/kv_store/frameworks/jskitsimpl/distributedkvstore/src/
H A Djs_util.cpp127 ASSERT((status == napi_ok) && (type == napi_string), "invalid type", napi_invalid_arg); in GetValue()
162 ASSERT(isArray, "not an array", napi_invalid_arg); in GetValue()
166 ASSERT(statusMsg.status == napi_ok, "get_array length failed!", napi_invalid_arg); in GetValue()
168 ASSERT(length > 0, "check array length failed!", napi_invalid_arg); in GetValue()
173 ASSERT((item != nullptr) && (statusMsg.status == napi_ok), "no element", napi_invalid_arg); in GetValue()
176 ASSERT(statusMsg.status == napi_ok, "not a string", napi_invalid_arg); in GetValue()
186 ASSERT(status == napi_ok, "create array failed!", status); in SetValue()
192 ASSERT((status == napi_ok), "napi_set_element failed!", status); in SetValue()
280 ASSERT((statusMsg.status == napi_ok), "invalid type", statusMsg); in GetValue()
350 ASSERT((statusMs 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()
/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()
145 ASSERT(status == napi_ok, "napi_create_sendable_object_with_properties failed", nullptr); in ToSendableObject()
154 ASSERT(status == napi_ok, "napi_get_array_length failed", nullptr); in ToSendableArray()
157 ASSERT(status == napi_ok, "napi_create_sendable_array_with_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(statu in ToSendableTypedArray()
[all...]
H A Djs_utils.cpp615 ASSERT(status == napi_ok, "napi_get_all_property_names failed", nullptr); in ToJsObject()
618 ASSERT(status == napi_ok, "napi_get_array_length failed", nullptr); in ToJsObject()
625 ASSERT(status == napi_ok, "napi_get_element failed", nullptr); in ToJsObject()
629 ASSERT(status == napi_ok, "napi_get_named_property failed", nullptr); in ToJsObject()
634 ASSERT(status == napi_ok, "napi_create_object_with_properties failed", nullptr); in ToJsObject()
643 ASSERT(status == napi_ok, "napi_get_array_length failed", nullptr); in ToJsArray()
646 ASSERT(status == napi_ok, "napi_create_array_with_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()
664 ASSERT(statu in ToJsTypedArray()
[all...]
/foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/
H A Dgraphic_assert.h46 #define ASSERT(cond) assert(cond) macro
48 #define ASSERT(cond)
/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()
/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
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/relationalstore/src/
H A Dnapi_rdb_js_utils.cpp343 ASSERT(OK == status, "get encrypt failed.", napi_invalid_arg); in Convert2Value()
347 ASSERT(OK == status, "get securityLevel failed.", napi_invalid_arg); in Convert2Value()
349 ASSERT(status == napi_ok, "get securityLevel failed", status); in Convert2Value()
352 ASSERT(OK == status, "get dataGroupId failed.", napi_invalid_arg); in Convert2Value()
355 ASSERT(OK == status, "get autoCleanDirtyData failed.", napi_invalid_arg); in Convert2Value()
358 ASSERT(OK == status, "get name failed.", napi_invalid_arg); in Convert2Value()
361 ASSERT(OK == status, "get customDir failed.", napi_invalid_arg); in Convert2Value()
364 ASSERT(OK == status, "get isSearchable failed.", napi_invalid_arg); in Convert2Value()
367 ASSERT(OK == status, "get vector failed.", napi_invalid_arg); in Convert2Value()
370 ASSERT(O in Convert2Value()
[all...]
/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
/foundation/arkui/napi/utils/
H A Dassert.h21 #define ASSERT assert macro
/foundation/communication/bluetooth_service/services/bluetooth/common/
H A Dlog.h87 #define ASSERT(x) assert(x) macro
89 #define ASSERT(x) macro
/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) \
/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)
/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)
/foundation/communication/bluetooth_service/services/bluetooth/service/src/avrcp_tg/
H A Davrcp_tg_unit_info.cpp56 ASSERT(buffer != nullptr); in AssemblePacket()
/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()

Completed in 13 milliseconds

12