Searched refs:buf_tmp (Results 1 – 3 of 3) sorted by relevance
/third_party/NuttX/drivers/usbdev/gadget/ |
D | composite_desc.c | 113 uint8_t *buf_tmp; in composite_mkcfgdesc_sub() local 119 buf_tmp = (uint8_t *)malloc(len); in composite_mkcfgdesc_sub() 120 if (buf_tmp == NULL) in composite_mkcfgdesc_sub() 125 ret = memcpy_s(buf_tmp, len, buf, USB_CONFIG_DESC_SIZE); in composite_mkcfgdesc_sub() 143 ret = memcpy_s(buf_tmp + new_config_len, (len + USB_CONFIG_DESC_SIZE - new_config_len), in composite_mkcfgdesc_sub() 153 ret = memcpy_s(buf, USB_COMP_EP0_BUFSIZ, buf_tmp, new_config_len); in composite_mkcfgdesc_sub() 158 free(buf_tmp); in composite_mkcfgdesc_sub() 163 free(buf_tmp); in composite_mkcfgdesc_sub() 178 uint8_t *buf_tmp = buf; in composite_mkcfgdesc() local 188 len = priv->device[i].compdesc.mkconfdesc(buf_tmp, &priv->device[i].compdesc.devinfo); in composite_mkcfgdesc() [all …]
|
/third_party/NuttX/drivers/usbdev/gadget/fconfig/src/ |
D | f_config.c | 302 uint8_t *buf_tmp = buf; in fconfig_mkcfgdesc() local 312 ret = memcpy_s(buf_tmp, USB_COMP_EP0_BUFSIZ, in fconfig_mkcfgdesc() 320 buf_tmp += len; in fconfig_mkcfgdesc() 345 ret = memcpy_s(buf_tmp, (USB_COMP_EP0_BUFSIZ - total_len), in fconfig_mkcfgdesc() 352 modify_string_index_bystrbase(buf_tmp, len, dev_string_num, func_strbase); in fconfig_mkcfgdesc() 354 buf_tmp += len; in fconfig_mkcfgdesc()
|
/third_party/quickjs/ |
D | quickjs.c | 11342 char buf_tmp[JS_DTOA_BUF_SIZE]; in js_ecvt() local 11352 buf_tmp, sizeof(buf_tmp)); in js_ecvt() 11353 if (strtod(buf_tmp, NULL) == d) { in js_ecvt() 11375 buf_tmp, sizeof(buf_tmp)); in js_ecvt() 11379 buf_tmp, sizeof(buf_tmp)); in js_ecvt() 11381 buf_tmp, sizeof(buf_tmp)); in js_ecvt() 11394 buf_tmp, sizeof(buf_tmp)); in js_ecvt()
|