Searched refs:MAX_PATHLEN (Results 1 – 3 of 3) sorted by relevance
/drivers/peripheral/usb/ddk/device/src/ |
D | adapter_if.c | 71 int32_t ret = strcpy_s(filePath, MAX_PATHLEN - 1, path); in GetFilePath() 78 ret = strcat_s(filePath, MAX_PATHLEN - 1, "/"); in GetFilePath() 85 ret = strcat_s(filePath, MAX_PATHLEN - 1, fileName); in GetFilePath() 120 char tmp[MAX_PATHLEN] = {0}; in IsDeviceDirExist() 121 int32_t ret = snprintf_s(tmp, MAX_PATHLEN, MAX_PATHLEN - 1, "%s/%s", CONFIGFS_DIR, deviceName); in IsDeviceDirExist() 154 char tmp[MAX_PATHLEN] = {0}; in UsbFnWriteProp() 161 …ret = snprintf_s(tmp, MAX_PATHLEN, MAX_PATHLEN - 1, "%s/%s/%s", CONFIGFS_DIR, deviceName, propName… in UsbFnWriteProp() 179 char tmp[MAX_PATHLEN] = {0}; in UsbFnWriteConfString() 180 char tmpPath[MAX_PATHLEN] = {0}; in UsbFnWriteConfString() 181 …ret = snprintf_s(tmp, MAX_PATHLEN, MAX_PATHLEN - 1, "%s/%s/configs/b.%d/strings/0x%x", CONFIGFS_DI… in UsbFnWriteConfString() [all …]
|
D | adapter_if_liteos.c | 478 char tmp[MAX_PATHLEN]; in UsbFnAdapterWriteFunctions() 479 if (memset_s(tmp, MAX_PATHLEN, 0, MAX_PATHLEN) != EOK) { in UsbFnAdapterWriteFunctions() 484 …snprintf_s(tmp, MAX_PATHLEN, MAX_PATHLEN - 1, "generic.%s", usbFnConfig->functions[iCount]->funcNa… in UsbFnAdapterWriteFunctions() 525 char tmp[MAX_PATHLEN]; in UsbFnAdapterWriteConfigs() 535 if (memset_s(tmp, MAX_PATHLEN, 0, MAX_PATHLEN) != EOK) { in UsbFnAdapterWriteConfigs() 539 int32_t ret = snprintf_s(tmp, MAX_PATHLEN, MAX_PATHLEN - 1, "b.%u", confVal); in UsbFnAdapterWriteConfigs() 650 char tmp[MAX_PATHLEN]; in UsbFnAdapterDelConfigs() 663 ret = snprintf_s(tmp, MAX_PATHLEN, MAX_PATHLEN - 1, "b.%u", confVal); in UsbFnAdapterDelConfigs()
|
/drivers/peripheral/usb/ddk/device/include/ |
D | adapter_if.h | 139 #define MAX_PATHLEN 128 macro
|