Lines Matching full:args
76 …race_dest_t dest, uint8_t cmd, void (*prep_args)(uint8_t *, void *), void *args, uint32_t args_len) in esp_apptrace_file_cmd_send() argument
90 prep_args(ptr + sizeof(hdr->cmd), args); in esp_apptrace_file_cmd_send()
128 esp_apptrace_fopen_args_t *args = priv; in esp_apptrace_fopen_args_prepare() local
130 memcpy(buf, args->path, args->path_len); in esp_apptrace_fopen_args_prepare()
131 memcpy(buf + args->path_len, args->mode, args->mode_len); in esp_apptrace_fopen_args_prepare()
168 esp_apptrace_fclose_args_t *args = priv; in esp_apptrace_fclose_args_prepare() local
170 memcpy(buf, &args->file, sizeof(args->file)); in esp_apptrace_fclose_args_prepare()
198 esp_apptrace_fwrite_args_t *args = priv; in esp_apptrace_fwrite_args_prepare() local
200 memcpy(buf, &args->file, sizeof(args->file)); in esp_apptrace_fwrite_args_prepare()
201 memcpy(buf + sizeof(args->file), args->buf, args->size); in esp_apptrace_fwrite_args_prepare()
237 esp_apptrace_fread_args_t *args = priv; in esp_apptrace_fread_args_prepare() local
239 memcpy(buf, &args->file, sizeof(args->file)); in esp_apptrace_fread_args_prepare()
240 memcpy(buf + sizeof(args->file), &args->size, sizeof(args->size)); in esp_apptrace_fread_args_prepare()
281 esp_apptrace_fseek_args_t *args = priv; in esp_apptrace_fseek_args_prepare() local
283 memcpy(buf, &args->file, sizeof(args->file)); in esp_apptrace_fseek_args_prepare()
284 memcpy(buf + sizeof(args->file), &args->offset, sizeof(args->offset)); in esp_apptrace_fseek_args_prepare()
285 memcpy(buf + sizeof(args->file) + sizeof(args->offset), &args->whence, sizeof(args->whence)); in esp_apptrace_fseek_args_prepare()
317 esp_apptrace_ftell_args_t *args = priv; in esp_apptrace_ftell_args_prepare() local
319 memcpy(buf, &args->file, sizeof(args->file)); in esp_apptrace_ftell_args_prepare()