Home
last modified time | relevance | path

Searched refs:stream (Results 1 – 25 of 50) sorted by relevance

12

/hal_espressif-2.7.6/components/bt/host/bluedroid/hci/
Dhci_packet_parser.c48 …uint8_t *stream = read_command_complete_header(response, HCI_READ_BUFFER_SIZE, 7 /* bytes after */… in parse_read_buffer_size_response() local
49 assert(stream != NULL); in parse_read_buffer_size_response()
50 STREAM_TO_UINT16(*acl_data_size_ptr, stream); in parse_read_buffer_size_response()
51 STREAM_TO_UINT8(*sco_data_size_ptr, stream); in parse_read_buffer_size_response()
52 STREAM_TO_UINT16(*acl_buffer_count_ptr, stream); in parse_read_buffer_size_response()
53 STREAM_TO_UINT16(*sco_buffer_count_ptr, stream); in parse_read_buffer_size_response()
62 …uint8_t *stream = read_command_complete_header(response, HCI_READ_LOCAL_VERSION_INFO, 8 /* bytes a… in parse_read_local_version_info_response() local
63 assert(stream != NULL); in parse_read_local_version_info_response()
64 STREAM_TO_UINT8(bt_version->hci_version, stream); in parse_read_local_version_info_response()
65 STREAM_TO_UINT16(bt_version->hci_revision, stream); in parse_read_local_version_info_response()
[all …]
Dhci_packet_factory.c48 uint8_t *stream; in make_set_c2h_flow_control() local
50 BT_HDR *packet = make_command(HCI_SET_HC_TO_HOST_FLOW_CTRL, parameter_size, &stream); in make_set_c2h_flow_control()
52 UINT8_TO_STREAM(stream, enable); in make_set_c2h_flow_control()
58 uint8_t *stream; in make_set_adv_report_flow_control() local
60 BT_HDR *packet = make_command(HCI_VENDOR_BLE_SET_ADV_FLOW_CONTROL, parameter_size, &stream); in make_set_adv_report_flow_control()
62 UINT8_TO_STREAM(stream, enable); in make_set_adv_report_flow_control()
63 UINT16_TO_STREAM(stream, num); in make_set_adv_report_flow_control()
64 UINT16_TO_STREAM(stream, lost_threshold); in make_set_adv_report_flow_control()
70 uint8_t *stream; in make_host_buffer_size() local
72 BT_HDR *packet = make_command(HCI_HOST_BUFFER_SIZE, parameter_size, &stream); in make_host_buffer_size()
[all …]
Dpacket_fragmenter.c75 uint8_t *stream = packet->data + packet->offset; in fragment_and_dispatch() local
99 STREAM_TO_UINT16(continuation_handle, stream); in fragment_and_dispatch()
103 UINT16_TO_STREAM(stream, max_data_size); in fragment_and_dispatch()
111 stream = packet->data + packet->offset; in fragment_and_dispatch()
112 UINT16_TO_STREAM(stream, continuation_handle); in fragment_and_dispatch()
113 UINT16_TO_STREAM(stream, remaining_length - HCI_ACL_PREAMBLE_SIZE); in fragment_and_dispatch()
141 uint8_t *stream = packet->data + packet->offset; in reassemble_and_dispatch() local
146 STREAM_TO_UINT16(handle, stream); in reassemble_and_dispatch()
147 STREAM_TO_UINT16(acl_length, stream); in reassemble_and_dispatch()
148 STREAM_TO_UINT16(l2cap_length, stream); in reassemble_and_dispatch()
[all …]
Dhci_hal_h4.c184 uint8_t *stream = packet->data + packet->offset; in hci_packet_complete() local
187 STREAM_TO_UINT8(type, stream); in hci_packet_complete()
189 STREAM_TO_UINT16(handle, stream); in hci_packet_complete()
246 uint8_t *stream = packet->data + packet->offset; in hci_hal_h4_hdl_rx_packet() local
256 STREAM_TO_UINT8(type, stream); in hci_hal_h4_hdl_rx_packet()
262 STREAM_TO_UINT8(len, stream); in hci_hal_h4_hdl_rx_packet()
284 stream += hdr_size - 2; in hci_hal_h4_hdl_rx_packet()
285 STREAM_TO_UINT16(length, stream); in hci_hal_h4_hdl_rx_packet()
287 stream += hdr_size - 1; in hci_hal_h4_hdl_rx_packet()
288 STREAM_TO_UINT8(length, stream); in hci_hal_h4_hdl_rx_packet()
Dhci_layer.c243 uint8_t *stream; in transmit_command() local
250 stream = command->data + command->offset; in transmit_command()
251 STREAM_TO_UINT16(wait_entry->opcode, stream); in transmit_command()
275 uint8_t *stream = command->data + command->offset; in transmit_command_futured() local
276 STREAM_TO_UINT16(wait_entry->opcode, stream); in transmit_command_futured()
425 uint8_t *stream = packet->data + packet->offset; in filter_incoming_event() local
429 STREAM_TO_UINT8(event_code, stream); in filter_incoming_event()
430 STREAM_SKIP_UINT8(stream); // Skip the parameter total length field in filter_incoming_event()
435 STREAM_TO_UINT8(hci_host_env.command_credits, stream); in filter_incoming_event()
436 STREAM_TO_UINT16(opcode, stream); in filter_incoming_event()
[all …]
/hal_espressif-2.7.6/components/app_trace/gcov/
Dgcov_rtio.c172 int gcov_rtio_fclose(void *stream) in gcov_rtio_fclose() argument
175 return esp_apptrace_fclose(ESP_APPTRACE_DEST_TRAX, stream); in gcov_rtio_fclose()
178 size_t gcov_rtio_fread(void *ptr, size_t size, size_t nmemb, void *stream) in gcov_rtio_fread() argument
181 size_t sz = esp_apptrace_fread(ESP_APPTRACE_DEST_TRAX, ptr, size, nmemb, stream); in gcov_rtio_fread()
186 size_t gcov_rtio_fwrite(const void *ptr, size_t size, size_t nmemb, void *stream) in gcov_rtio_fwrite() argument
189 return esp_apptrace_fwrite(ESP_APPTRACE_DEST_TRAX, ptr, size, nmemb, stream); in gcov_rtio_fwrite()
192 int gcov_rtio_fseek(void *stream, long offset, int whence) in gcov_rtio_fseek() argument
194 int ret = esp_apptrace_fseek(ESP_APPTRACE_DEST_TRAX, stream, offset, whence); in gcov_rtio_fseek()
195 ESP_EARLY_LOGV(TAG, "%s(%p %ld %d) = %d", __FUNCTION__, stream, offset, whence, ret); in gcov_rtio_fseek()
199 long gcov_rtio_ftell(void *stream) in gcov_rtio_ftell() argument
[all …]
/hal_espressif-2.7.6/components/app_trace/
Dhost_file_io.c182 int esp_apptrace_fclose(esp_apptrace_dest_t dest, void *stream) in esp_apptrace_fclose() argument
186 cmd_args.file = stream; in esp_apptrace_fclose()
213 …apptrace_fwrite(esp_apptrace_dest_t dest, const void *ptr, size_t size, size_t nmemb, void *stream) in esp_apptrace_fwrite() argument
217 ESP_EARLY_LOGV(TAG, "esp_apptrace_fwrite f %p l %d", stream, size*nmemb); in esp_apptrace_fwrite()
225 cmd_args.file = stream; in esp_apptrace_fwrite()
252 …_t esp_apptrace_fread(esp_apptrace_dest_t dest, void *ptr, size_t size, size_t nmemb, void *stream) in esp_apptrace_fread() argument
256 ESP_EARLY_LOGV(TAG, "esp_apptrace_fread f %p l %d", stream, size*nmemb); in esp_apptrace_fread()
263 cmd_args.file = stream; in esp_apptrace_fread()
297 int esp_apptrace_fseek(esp_apptrace_dest_t dest, void *stream, long offset, int whence) in esp_apptrace_fseek() argument
301 ESP_EARLY_LOGV(TAG, "esp_apptrace_fseek f %p o 0x%lx w %d", stream, offset, whence); in esp_apptrace_fseek()
[all …]
/hal_espressif-2.7.6/components/app_trace/include/
Desp_app_trace.h198 int esp_apptrace_fclose(esp_apptrace_dest_t dest, void *stream);
212 …pptrace_fwrite(esp_apptrace_dest_t dest, const void *ptr, size_t size, size_t nmemb, void *stream);
226 …t esp_apptrace_fread(esp_apptrace_dest_t dest, void *ptr, size_t size, size_t nmemb, void *stream);
239 int esp_apptrace_fseek(esp_apptrace_dest_t dest, void *stream, long offset, int whence);
250 int esp_apptrace_ftell(esp_apptrace_dest_t dest, void *stream);
/hal_espressif-2.7.6/components/sdmmc/
Dsdmmc_common.c256 void sdmmc_card_print_info(FILE* stream, const sdmmc_card_t* card) in sdmmc_card_print_info() argument
261 fprintf(stream, "Name: %s\n", card->cid.name); in sdmmc_card_print_info()
272 fprintf(stream, "Type: %s\n", type); in sdmmc_card_print_info()
274 fprintf(stream, "Speed: %d kHz\n", card->max_freq_khz); in sdmmc_card_print_info()
276 fprintf(stream, "Speed: %d MHz%s\n", card->max_freq_khz / 1000, in sdmmc_card_print_info()
279 …fprintf(stream, "Size: %lluMB\n", ((uint64_t) card->csd.capacity) * card->csd.sector_size / (1024 … in sdmmc_card_print_info()
282 fprintf(stream, "CSD: ver=%d, sector_size=%d, capacity=%d read_bl_len=%d\n", in sdmmc_card_print_info()
287 fprintf(stream, "SCR: sd_spec=%d, bus_width=%d\n", card->scr.sd_spec, card->scr.bus_width); in sdmmc_card_print_info()
/hal_espressif-2.7.6/components/esp_pm/
Dpm_locks.c158 esp_err_t esp_pm_dump_locks(FILE* stream) in esp_pm_dump_locks() argument
171 fprintf(stream, "Time: %lld\n", cur_time); in esp_pm_dump_locks()
174 fprintf(stream, "Lock stats:\n"); in esp_pm_dump_locks()
204 fputs(line, stream); in esp_pm_dump_locks()
208 esp_pm_impl_dump_stats(stream); in esp_pm_dump_locks()
/hal_espressif-2.7.6/examples/bluetooth/bluedroid/classic_bt/a2dp_sink/
DREADME.md9 This is the demo of API implementing Advanced Audio Distribution Profile to receive an audio stream.
11 …oth legacy profile A2DP for audio stream reception, AVRCP for media information notifications, and…
61 …ic with an APP will result in the transmission of audio stream. The transmitting of audio stream w…
75stream is transmitted to A2DP sink and then decoded into PCM samples as output. The PCM data forma…
/hal_espressif-2.7.6/components/bt/host/bluedroid/stack/btu/
Dbtu_hcif.c443 uint8_t *stream = p_buf->data + p_buf->offset; in btu_hcif_send_cmd() local
446 STREAM_TO_UINT16(opcode, stream); in btu_hcif_send_cmd()
482 uint8_t *stream = p_buf->data + p_buf->offset; in btu_hcif_send_cmd_sync() local
485 STREAM_TO_UINT16(opcode, stream); in btu_hcif_send_cmd_sync()
1157 …uint8_t *stream = hack->response->data + hack->response->offset + 3; // 2 to skip the event header… in btu_hcif_command_complete_evt_on_task() local
1158 STREAM_TO_UINT16(opcode, stream); in btu_hcif_command_complete_evt_on_task()
1162 stream, in btu_hcif_command_complete_evt_on_task()
1174 uint8_t *stream = response->data + response->offset + 3; in btu_hcif_command_complete_evt() local
1175 STREAM_TO_UINT16(opcode, stream); in btu_hcif_command_complete_evt()
1178 adv_data_status = *stream; in btu_hcif_command_complete_evt()
[all …]
/hal_espressif-2.7.6/tools/catch/
Dcatch.hpp3396 virtual std::ostream& stream() const = 0;
3438 virtual std::ostream& stream() const = 0;
3447 virtual std::ostream& stream() const CATCH_OVERRIDE;
3457 virtual std::ostream& stream() const CATCH_OVERRIDE;
3468 virtual std::ostream& stream() const CATCH_OVERRIDE;
3584 virtual std::ostream& stream() const { return m_stream->stream(); } in stream() function in Catch::Config
5072 : m_stream( &_fullConfig->stream() ), m_fullConfig( _fullConfig ) {} in ReporterConfig()
5077 std::ostream& stream() const { return *m_stream; } in stream() function
5879 StreamRedirect( std::ostream& stream, std::string& targetString ) in StreamRedirect() argument
5880 : m_stream( stream ), in StreamRedirect()
[all …]
/hal_espressif-2.7.6/examples/bluetooth/bluedroid/classic_bt/a2dp_source/
DREADME.md9 …smit audio stream. Application can take advantage of this example to implement portable audio play…
83 * For current stage, the supported audio codec in ESP32 A2DP is SBC. SBC audio stream is encoded fr…
84 * The raw PCM media stream in the example is generated by a sequence of random number, so the sound…
/hal_espressif-2.7.6/components/esp_pm/include/
Desp_pm.h188 esp_err_t esp_pm_dump_locks(FILE* stream);
/hal_espressif-2.7.6/components/esp_timer/include/
Desp_timer.h229 esp_err_t esp_timer_dump(FILE* stream);
/hal_espressif-2.7.6/docs/en/api-reference/bluetooth/
Desp_a2dp.rst16 … be discovered and connected by A2DP source device and receive the audio stream from remote device…
/hal_espressif-2.7.6/components/esp_timer/test/
Dtest_esp_timer.c81 FILE* stream = fmemopen(stream_str, sizeof(stream_str), "r+"); variable
82 TEST_ESP_OK(esp_timer_dump(stream));
88 fflush(stream);
89 fseek(stream, 0, SEEK_SET);
92 TEST_ASSERT_NOT_NULL(fgets(line, sizeof(line), stream));
109 fclose(stream);
/hal_espressif-2.7.6/tools/esp_app_trace/espytrace/
Dsysview.py1200 for stream in obj.stream_procs.values():
1201 json_event_ids[stream.name] = stream.event_ids
1204 for stream in obj.stream_procs.values():
1205 if stream.event_supported(e):
1284 stream = self.root_proc.get_trace_stream(0, SysViewTraceDataParser.STREAMID_HEAP)
1285 self.event_ids = {'alloc': stream.events_off, 'free': stream.events_off + 1}
/hal_espressif-2.7.6/examples/protocols/asio/ssl_client_server/main/
Dasio_ssl_main.cpp111 asio::ssl::stream<tcp::socket> socket_;
166 asio::ssl::stream<tcp::socket> socket_;
/hal_espressif-2.7.6/components/expat/
Dexpat.rst6 It is a stream-oriented parser in which an application registers handlers for things the parser mig…
/hal_espressif-2.7.6/components/sdmmc/include/
Dsdmmc_cmd.h46 void sdmmc_card_print_info(FILE* stream, const sdmmc_card_t* card);
/hal_espressif-2.7.6/tools/
Didf.py63 def print_warning(message, stream=None): argument
64 stream = stream or sys.stderr
66 print(message, file=stream)
114 print_warning(e.output.decode('utf-8', 'ignore'), stream=sys.stderr)
/hal_espressif-2.7.6/examples/bluetooth/bluedroid/coex/a2dp_gatts_coex/
DREADME.md10 … demo implements Advanced Audio Distribution Profile to receive an audio stream. After the program…
/hal_espressif-2.7.6/components/esp_timer/src/
Desp_timer.c474 esp_err_t esp_timer_dump(FILE* stream) in esp_timer_dump() argument
522 fputs(print_buf, stream); in esp_timer_dump()

12