Home
last modified time | relevance | path

Searched refs:str (Results 1 - 17 of 17) sorted by relevance

/vendor/hisilicon/hispark_taurus_linux/hals/utils/sys_param/
H A Dhal_sys_param.c34 static char str[STR_MAX] = {0}; in HalGetSerial() local
35 if (strlen(str) > 0) { in HalGetSerial()
36 return str; in HalGetSerial()
51 str[j] = strOrigin[i]; in HalGetSerial()
55 str[j] = '\0'; in HalGetSerial()
56 return str; in HalGetSerial()
/vendor/hisilicon/hispark_taurus/hals/utils/sys_param/
H A Dhal_sys_param.c67 static int32_t Getcid(char * str, int strlength) in Getcid() argument
69 if (str == NULL) { in Getcid()
86 if (strncpy_s(str, strlength, digitalCid, strlen(digitalCid)) != EOK) { in Getcid()
94 static char str[STR_MAX] = {0}; in HalGetSerial() local
95 if (strlen(str) > 0) { in HalGetSerial()
96 return str; in HalGetSerial()
98 if (Getcid(str, STR_MAX) != CID_OK) { in HalGetSerial()
101 return str; in HalGetSerial()
/vendor/hisilicon/hispark_taurus_mini_system/hals/utils/sys_param/
H A Dhal_sys_param.c69 static int32_t Getcid(char * str, int strlength) in Getcid() argument
71 if (str == NULL) { in Getcid()
80 if (strncpy_s(str, strlength, digitalCid, strlen(digitalCid)) != EOK) { in Getcid()
88 static char str[STR_MAX] = {0}; in HalGetSerial() local
89 if (strlen(str) > 0) { in HalGetSerial()
90 return str; in HalGetSerial()
92 if (Getcid(str, STR_MAX) != CID_OK) { in HalGetSerial()
95 return str; in HalGetSerial()
/vendor/hisilicon/hispark_pegasus/demo/environment_test_demo/
H A Doled_ssd1306.c189 void OledShowString(uint8_t x, uint8_t y, const char* str, Font font) in OledShowString() argument
194 if (str == NULL) { in OledShowString()
199 while (str[j]) { in OledShowString()
200 OledShowChar(x, y, str[j], font); in OledShowString()
H A Doled_ssd1306.h47 void OledShowString(uint8_t x, uint8_t y, const char* str, Font font);
/vendor/hisilicon/hispark_pegasus/demo/hello_world_demo/
H A Doled_ssd1306.c190 void OledShowString(uint8_t x, uint8_t y, const char* str, Font font) in OledShowString() argument
195 if (str == NULL) { in OledShowString()
200 while (str[j]) { in OledShowString()
201 OledShowChar(b, d, str[j], font); in OledShowString()
H A Doled_ssd1306.h44 void OledShowString(uint8_t x, uint8_t y, const char* str, Font font);
/vendor/hisilicon/hispark_pegasus/demo/histreaming_demo/
H A Dapp_demo_get_mac_addr.c37 @param hi_u8* str:Number of converted character types
39 hi_u8 hex2str(hi_u8 hex_byte, hi_u8* str) in hex2str() argument
42 hi_u8 *dataStr = str; in hex2str()
/vendor/hisilicon/hispark_pegasus/demo/environment_demo/
H A Dapp_demo_i2c_oled.h26 unsigned char *FloatToString(double d, unsigned char *str);
/vendor/hisilicon/hispark_pegasus/demo/samart_environmental_monitoring_system_demo/environment/
H A Doled_ssd1306.h46 void OledShowString(uint8_t x, uint8_t y, const char* str, Font font);
/vendor/hisilicon/hispark_pegasus/demo/oledplayer_demo/oled/
H A Dgif2imgs.py35 im.save(os.path.join(outdir, 'frame' + str(i) + '.png'))
H A Dimg2code.py53 cv2.imwrite(os.path.join('debug', str(frameCount) + '.png'), frame)
54 cv2.imwrite(os.path.join('debug', str(frameCount) + '-bin.png'), binary)
/vendor/hisilicon/hispark_pegasus/demo/ssd1306_demo/
H A Dgif2imgs.py35 im.save(os.path.join(outdir, 'frame' + str(i) + '.png'))
H A Dimg2code.py54 cv2.imwrite(os.path.join('debug', str(frameCount) + '.png'), frame)
55 cv2.imwrite(os.path.join('debug', str(frameCount) + '-bin.png'), binary)
/vendor/hisilicon/hispark_pegasus/demo/histreaming_client_demo/
H A Dapp_demo_histreaming.c50 int StringToHex(char *str, unsigned char *out, unsigned int *outlen) in StringToHex() argument
52 char *p = str; in StringToHex()
/vendor/ohemu/qemu_riscv32_mini_system_demo/tests/ui/
H A Dui_image_test.cpp209 const char *str = "鸿蒙轻量级GUI"; in GetView() local
210 qrcode->SetQrcodeInfo(str); in GetView()
/vendor/hisilicon/hispark_pegasus/demo/robot_demo/robot_car/ssd1306/
H A Dssd1306.h154 char ssd1306_DrawString(char* str, FontDef Font, SSD1306_COLOR color);

Completed in 5 milliseconds