/vendor/hisilicon/hispark_taurus/hals/utils/token/ |
H A D | hal_token.c | 78 static int32_t GetTokenFileSize(const char* path, const char* fileName, uint32_t* result)
in GetTokenFileSize() argument 80 if (path == NULL || fileName == NULL || result == NULL) {
in GetTokenFileSize() 84 char* filePath = GenTokenFilePath(path, fileName);
in GetTokenFileSize() 110 static int32_t ReadTokenFile(const char* path, const char* fileName, char* buffer, uint32_t bufferLen)
in ReadTokenFile() argument 112 if (path == NULL || fileName == NULL || buffer == NULL || bufferLen == 0) {
in ReadTokenFile() 117 if (GetTokenFileSize(path, fileName, &fileSize) != 0 || fileSize > bufferLen) {
in ReadTokenFile() 121 char* filePath = GenTokenFilePath(path, fileName);
in ReadTokenFile() 147 static int32_t WriteTokenFile(const char* path, const char* fileName, const char* data, uint32_t dataLen)
in WriteTokenFile() argument 149 if (path == NULL || fileName == NULL || data == NULL || dataLen == 0) {
in WriteTokenFile() 153 char* formatPath = realpath(path, NUL in WriteTokenFile() 179 ReadTokenRawData(const char* path, const char* fileName, char* buffer, uint32_t bufferLen) ReadTokenRawData() argument 193 WriteTokenRawData(const char* path, const char* fileName, const char* data, uint32_t dataLen) WriteTokenRawData() argument 207 ReadTokenWithFlag(const char* path, const char* fileName, char* TokenWithFlag, uint32_t len) ReadTokenWithFlag() argument 243 WriteTokenWithFlag(const char* path, const char* fileName, const char* TokenWithFlag, uint32_t len) WriteTokenWithFlag() argument [all...] |
/vendor/hisilicon/hispark_taurus_linux/hals/utils/token/ |
H A D | hal_token.c | 78 static int32_t GetTokenFileSize(const char* path, const char* fileName, uint32_t* result)
in GetTokenFileSize() argument 80 if (path == NULL || fileName == NULL || result == NULL) {
in GetTokenFileSize() 84 char* filePath = GenTokenFilePath(path, fileName);
in GetTokenFileSize() 110 static int32_t ReadTokenFile(const char* path, const char* fileName, char* buffer, uint32_t bufferLen)
in ReadTokenFile() argument 112 if (path == NULL || fileName == NULL || buffer == NULL || bufferLen == 0) {
in ReadTokenFile() 117 if (GetTokenFileSize(path, fileName, &fileSize) != 0 || fileSize > bufferLen) {
in ReadTokenFile() 121 char* filePath = GenTokenFilePath(path, fileName);
in ReadTokenFile() 147 static int32_t WriteTokenFile(const char* path, const char* fileName, const char* data, uint32_t dataLen)
in WriteTokenFile() argument 149 if (path == NULL || fileName == NULL || data == NULL || dataLen == 0) {
in WriteTokenFile() 153 char* formatPath = realpath(path, NUL in WriteTokenFile() 179 ReadTokenRawData(const char* path, const char* fileName, char* buffer, uint32_t bufferLen) ReadTokenRawData() argument 193 WriteTokenRawData(const char* path, const char* fileName, const char* data, uint32_t dataLen) WriteTokenRawData() argument 207 ReadTokenWithFlag(const char* path, const char* fileName, char* TokenWithFlag, uint32_t len) ReadTokenWithFlag() argument 243 WriteTokenWithFlag(const char* path, const char* fileName, const char* TokenWithFlag, uint32_t len) WriteTokenWithFlag() argument [all...] |
/vendor/hisilicon/hispark_taurus_mini_system/hals/utils/token/ |
H A D | hal_token.c | 78 static int32_t GetTokenFileSize(const char* path, const char* fileName, uint32_t* result)
in GetTokenFileSize() argument 80 if (path == NULL || fileName == NULL || result == NULL) {
in GetTokenFileSize() 84 char* filePath = GenTokenFilePath(path, fileName);
in GetTokenFileSize() 110 static int32_t ReadTokenFile(const char* path, const char* fileName, char* buffer, uint32_t bufferLen)
in ReadTokenFile() argument 112 if (path == NULL || fileName == NULL || buffer == NULL || bufferLen == 0) {
in ReadTokenFile() 117 if (GetTokenFileSize(path, fileName, &fileSize) != 0 || fileSize > bufferLen) {
in ReadTokenFile() 121 char* filePath = GenTokenFilePath(path, fileName);
in ReadTokenFile() 147 static int32_t WriteTokenFile(const char* path, const char* fileName, const char* data, uint32_t dataLen)
in WriteTokenFile() argument 149 if (path == NULL || fileName == NULL || data == NULL || dataLen == 0) {
in WriteTokenFile() 153 char* formatPath = realpath(path, NUL in WriteTokenFile() 179 ReadTokenRawData(const char* path, const char* fileName, char* buffer, uint32_t bufferLen) ReadTokenRawData() argument 193 WriteTokenRawData(const char* path, const char* fileName, const char* data, uint32_t dataLen) WriteTokenRawData() argument 207 ReadTokenWithFlag(const char* path, const char* fileName, char* TokenWithFlag, uint32_t len) ReadTokenWithFlag() argument 243 WriteTokenWithFlag(const char* path, const char* fileName, const char* TokenWithFlag, uint32_t len) WriteTokenWithFlag() argument [all...] |
/vendor/hisilicon/hispark_pegasus/demo/oledplayer_demo/oled/ |
H A D | img2code.py | 53 cv2.imwrite(os.path.join('debug', str(frameCount) + '.png'), frame) 54 cv2.imwrite(os.path.join('debug', str(frameCount) + '-bin.png'), binary) 73 imgFile = os.path.split(imgPath)[-1] 75 codeFile = os.path.join(outdir, imgBase + '.c') 76 if not os.path.exists(outdir):
|
H A D | gif2imgs.py | 28 if not os.path.exists(outdir): 35 im.save(os.path.join(outdir, 'frame' + str(i) + '.png'))
|
/vendor/hisilicon/hispark_pegasus/demo/ssd1306_demo/ |
H A D | img2code.py | 54 cv2.imwrite(os.path.join('debug', str(frameCount) + '.png'), frame) 55 cv2.imwrite(os.path.join('debug', str(frameCount) + '-bin.png'), binary) 74 imgFile = os.path.split(imgPath)[-1] 76 codeFile = os.path.join(outdir, imgBase + '.c') 77 if not os.path.exists(outdir):
|
H A D | gif2imgs.py | 28 if not os.path.exists(outdir): 35 im.save(os.path.join(outdir, 'frame' + str(i) + '.png'))
|
/vendor/hisilicon/hispark_aries/hals/security/permission_lite/ |
H A D | hal_pms.c | 191 bool HalIsValidPath(const char *path)
in HalIsValidPath() argument 193 if (path == NULL) {
in HalIsValidPath() 197 if (strlen(path) > PATH_MAX || NULL == realpath(path, resolvedPath)) {
in HalIsValidPath() 201 stat(path, &buf);
in HalIsValidPath()
|
/vendor/hisilicon/hispark_taurus/hals/security/permission_lite/ |
H A D | hal_pms.c | 191 bool HalIsValidPath(const char *path)
in HalIsValidPath() argument 193 if (path == NULL) {
in HalIsValidPath() 197 if (strlen(path) > PATH_MAX || NULL == realpath(path, resolvedPath)) {
in HalIsValidPath() 201 stat(path, &buf);
in HalIsValidPath()
|
/vendor/hisilicon/hispark_taurus_linux/hals/security/permission_lite/ |
H A D | hal_pms.c | 191 bool HalIsValidPath(const char *path)
in HalIsValidPath() argument 193 if (path == NULL) {
in HalIsValidPath() 197 if (strlen(path) > PATH_MAX || NULL == realpath(path, resolvedPath)) {
in HalIsValidPath() 201 stat(path, &buf);
in HalIsValidPath()
|
/vendor/hisilicon/hispark_taurus_mini_system/hals/security/permission_lite/ |
H A D | hal_pms.c | 191 bool HalIsValidPath(const char *path)
in HalIsValidPath() argument 193 if (path == NULL) {
in HalIsValidPath() 197 if (strlen(path) > PATH_MAX || NULL == realpath(path, resolvedPath)) {
in HalIsValidPath() 201 stat(path, &buf);
in HalIsValidPath()
|
/vendor/ohemu/qemu_small_system_demo/hals/security/permission_lite/ |
H A D | hal_pms.c | 193 bool HalIsValidPath(const char *path)
in HalIsValidPath() argument 195 if (path == NULL) {
in HalIsValidPath() 199 if (strlen(path) > PATH_MAX || NULL == realpath(path, resolvedPath)) {
in HalIsValidPath() 203 stat(path, &buf);
in HalIsValidPath()
|
/vendor/hihope/dayu210/bluetooth/src/ |
H A D | upio.c | 139 char path[64]; in init_rfkill() local 144 if (snprintf_s(path, sizeof(path), sizeof(path), "/sys/class/rfkill/rfkill%d/type", id) < 0) { in init_rfkill() 148 int fd = open(path, O_RDONLY); in init_rfkill() 151 path, strerror(errno), errno); in init_rfkill() 425 * certain time already due to heavy downstream path flow. in upio_set()
|
/vendor/hihope/rk3568/bluetooth/src/ |
H A D | upio.c | 139 char path[64]; in init_rfkill() local 144 if (snprintf_s(path, sizeof(path), sizeof(path), "/sys/class/rfkill/rfkill%d/type", id) < 0) { in init_rfkill() 148 fd = open(path, O_RDONLY); in init_rfkill() 151 path, strerror(errno), errno); in init_rfkill() 425 * certain time already due to heavy downstream path flow. in upio_set()
|
/vendor/hisilicon/hispark_pegasus/demo/coap_demo/ |
H A D | coap_client.c | 137 coap_add_option(request, COAP_OPTION_URI_PATH, uri.path.length, uri.path.s); in CoapClientSendMsg()
|
/vendor/ohemu/qemu_arm_linux_headless/ |
H A D | qemu_run.sh | 31 -e, --exec image_path images path, including: zImage-dtb, ramdisk.img, system.img, vendor.img, userdata.img
|
/vendor/ohemu/qemu_arm_linux_min/ |
H A D | qemu_run.sh | 31 -e, --exec image_path images path, including: zImage-dtb, ramdisk.img, system.img, vendor.img, userdata.img
|
/vendor/ohemu/qemu_arm64_linux_min/ |
H A D | qemu_run.sh | 31 -e, --exec image_path images path, including: zImage-dtb, ramdisk.img, system.img, vendor.img, userdata.img
|
/vendor/ohemu/qemu_loongarch64_linux_min/ |
H A D | qemu_run.sh | 31 -e, --exec image_path images path, including: zImage-dtb, ramdisk.img, system.img, vendor.img, userdata.img
|
/vendor/ohemu/qemu_x86_64_linux_min/ |
H A D | qemu_run.sh | 31 -e, --exec image_path images path, including: zImage-dtb, ramdisk.img, system.img, vendor.img, userdata.img
|