Searched refs:MAX_LEN (Results 1 – 2 of 2) sorted by relevance
/drivers/peripheral/usb/ddk/device/include/ |
D | usbfn_cfg_mgr.h | 99 #define MAX_LEN 64 macro 116 char name[MAX_LEN]; 117 char value[MAX_LEN];
|
/drivers/peripheral/usb/ddk/device/src/ |
D | usbfn_cfg_mgr.c | 1267 int32_t ret = snprintf_s(fnCfgPropMgr->name, MAX_LEN, MAX_LEN - 1, "%s", registInfo->name); in UsbFnCfgMgrRegisterProp() 1272 ret = snprintf_s(fnCfgPropMgr->value, MAX_LEN, MAX_LEN - 1, "%s", registInfo->value); in UsbFnCfgMgrRegisterProp() 1303 char tmp[MAX_LEN]; in UsbFnCfgMgrGetProp() 1304 if (snprintf_s(tmp, MAX_LEN, MAX_LEN - 1, "%x", val) < 0) { in UsbFnCfgMgrGetProp() 1368 int32_t ret = snprintf_s(fnCfgPropMgr->value, MAX_LEN, MAX_LEN - 1, "%s", value); in UsbFnCfgMgrSetProp()
|