Home
last modified time | relevance | path

Searched refs:NSTACKX_MAX_DEVICE_NAME_LEN (Results 1 - 5 of 5) sorted by relevance

/foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl/interface/
H A Dnstackx.h27 #define NSTACKX_MAX_DEVICE_NAME_LEN 64 macro
89 char deviceName[NSTACKX_MAX_DEVICE_NAME_LEN];
112 char name[NSTACKX_MAX_DEVICE_NAME_LEN];
/foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl/include/
H A Dnstackx_device.h120 char deviceName[NSTACKX_MAX_DEVICE_NAME_LEN];
/foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl/core/
H A Dnstackx_device_local.c473 char backupDevName[NSTACKX_MAX_DEVICE_NAME_LEN] = {0}; in ConfigureLocalDeviceName()
479 if (strncpy_s(g_localDevice.deviceInfo.deviceName, NSTACKX_MAX_DEVICE_NAME_LEN, in ConfigureLocalDeviceName()
480 localDeviceName, NSTACKX_MAX_DEVICE_NAME_LEN - 1) != EOK) { in ConfigureLocalDeviceName()
482 if (strcpy_s(g_localDevice.deviceInfo.deviceName, NSTACKX_MAX_DEVICE_NAME_LEN, backupDevName) != EOK) { in ConfigureLocalDeviceName()
H A Dnstackx_common.c969 char *dupDevName = (char *)malloc(sizeof(char) * NSTACKX_MAX_DEVICE_NAME_LEN); in NSTACKX_RegisterDeviceName()
973 if (strncpy_s(dupDevName, NSTACKX_MAX_DEVICE_NAME_LEN, devName, strlen(devName)) != EOK) { in NSTACKX_RegisterDeviceName()
/foundation/communication/dsoftbus/core/discovery/coap/nstackx_coap/src/
H A Ddisc_nstackx_adapter.c543 if (CalculateMbsTruncateSize((const char *)localDevName, NSTACKX_MAX_DEVICE_NAME_LEN - 1, &truncateLen) in DiscCoapUpdateDevName()

Completed in 6 milliseconds