Home
last modified time | relevance | path

Searched refs:MAX_CAPABILITYDATA_LEN (Results 1 – 10 of 10) sorted by relevance

/ohos5.0/foundation/communication/dsoftbus/sdk/bus_center/service/src/
H A Dclient_bus_center.c104 ((info->dataLen > MAX_CAPABILITYDATA_LEN) || in PublishInfoCheck()
105 … (strnlen((char *)(info->capabilityData), MAX_CAPABILITYDATA_LEN) == MAX_CAPABILITYDATA_LEN))) { in PublishInfoCheck()
138 ((info->dataLen > MAX_CAPABILITYDATA_LEN) || in SubscribeInfoCheck()
139 … (strnlen((char *)(info->capabilityData), MAX_CAPABILITYDATA_LEN) == MAX_CAPABILITYDATA_LEN))) { in SubscribeInfoCheck()
/ohos5.0/foundation/communication/dsoftbus/tests/sdk/bus_center/unittest/
H A Dbus_center_sdk_publish_test.cpp138 testInfo.dataLen = MAX_CAPABILITYDATA_LEN + 1;
304 testInfo.capabilityData = (unsigned char *)SoftBusCalloc(MAX_CAPABILITYDATA_LEN);
306 (void)memset_s(testInfo.capabilityData, MAX_CAPABILITYDATA_LEN, 1, MAX_CAPABILITYDATA_LEN);
307 testInfo.dataLen = MAX_CAPABILITYDATA_LEN;
/ohos5.0/foundation/communication/dsoftbus/core/discovery/coap/nstackx_coap/src/
H A Ddisc_coap.c134 uint32_t dataLen = MAX_CAPABILITYDATA_LEN - 1; in DfxRecordCoapEnd()
153 char data[MAX_CAPABILITYDATA_LEN] = { 0 }; in DfxRecordCoapEnd()
154 …if (capabilityData != NULL && strncpy_s(data, MAX_CAPABILITYDATA_LEN, capabilityData, dataLen) == … in DfxRecordCoapEnd()
H A Ddisc_nstackx_adapter.c281 char *registerCapaData = (char *)SoftBusCalloc(MAX_CAPABILITYDATA_LEN); in DiscCoapRegisterCapabilityData()
/ohos5.0/foundation/communication/dsoftbus/interfaces/kits/common/
H A Dsoftbus_common.h138 #define MAX_CAPABILITYDATA_LEN 513 macro
/ohos5.0/foundation/communication/dsoftbus/core/frame/small/init/src/
H A Dbus_center_server_stub.c421 if (info.dataLen > 0 && info.dataLen < MAX_CAPABILITYDATA_LEN) { in ServerPublishLNN()
499 if (info.dataLen > 0 && info.dataLen < MAX_CAPABILITYDATA_LEN) { in ServerRefreshLNN()
/ohos5.0/foundation/communication/dsoftbus/core/discovery/ble/softbus_ble/src/
H A Ddisc_ble.c1168 info->capabilityData[pos] = (uint8_t *)SoftBusCalloc(MAX_CAPABILITYDATA_LEN); in RegisterCapability()
1173 … if (memcpy_s(info->capabilityData[pos], MAX_CAPABILITYDATA_LEN, custData, custDataLen) != EOK) { in RegisterCapability()
1296 uint32_t dataLen = MAX_CAPABILITYDATA_LEN - 1; in DfxRecordBleProcessEnd()
1309 char data[MAX_CAPABILITYDATA_LEN] = { 0 }; in DfxRecordBleProcessEnd()
1310 …if (capabilityData != NULL && strncpy_s(data, MAX_CAPABILITYDATA_LEN, capabilityData, dataLen) == … in DfxRecordBleProcessEnd()
/ohos5.0/foundation/communication/dsoftbus/core/discovery/manager/src/
H A Ddisc_manager.c419 if (info->dataLen > MAX_CAPABILITYDATA_LEN) { in CheckPublishInfo()
459 if (info->dataLen > MAX_CAPABILITYDATA_LEN) { in CheckSubscribeInfo()
/ohos5.0/foundation/communication/dsoftbus/core/frame/standard/init/src/
H A Dsoftbus_server_stub.cpp1385 if (info.dataLen > 0 && info.dataLen < MAX_CAPABILITYDATA_LEN) { in PublishLNNInner()
1445 if (info.dataLen > 0 && info.dataLen < MAX_CAPABILITYDATA_LEN) { in RefreshLNNInner()
/ohos5.0/foundation/communication/dsoftbus/tests/core/discovery/manager/unittest/
H A Ddisc_manager_test.cpp33 #define ERRO_CAPDATA_LEN (MAX_CAPABILITYDATA_LEN + 1)