/AliOS-Things-master/components/linkkit/external/nghttp2/ |
A D | nghttp2_frame.c | 72 frame->nva = nva; in nghttp2_frame_headers_init() 74 frame->cat = cat; in nghttp2_frame_headers_init() 98 (void)frame; in nghttp2_frame_priority_free() 111 (void)frame; in nghttp2_frame_rst_stream_free() 119 frame->niv = niv; in nghttp2_frame_settings_init() 120 frame->iv = iv; in nghttp2_frame_settings_init() 155 memset(frame->opaque_data, 0, sizeof(frame->opaque_data)); in nghttp2_frame_ping_init() 161 (void)frame; in nghttp2_frame_ping_free() 194 (void)frame; in nghttp2_frame_window_update_free() 219 (void)frame; in nghttp2_frame_data_free() [all …]
|
A D | nghttp2_frame.h | 147 int nghttp2_frame_unpack_headers_payload(nghttp2_headers *frame, 177 nghttp2_rst_stream *frame); 259 nghttp2_push_promise *frame, 290 void nghttp2_frame_unpack_ping_payload(nghttp2_ping *frame, 318 void nghttp2_frame_unpack_goaway_payload(nghttp2_goaway *frame, 334 int nghttp2_frame_unpack_goaway_payload2(nghttp2_goaway *frame, 410 void nghttp2_frame_priority_free(nghttp2_priority *frame); 415 void nghttp2_frame_rst_stream_free(nghttp2_rst_stream *frame); 448 void nghttp2_frame_ping_free(nghttp2_ping *frame); 471 void nghttp2_frame_extension_free(nghttp2_extension *frame); [all …]
|
A D | nghttp2_session.c | 863 frame = &item->frame; in nghttp2_session_add_item() 1016 frame = &item->frame; in nghttp2_session_add_rst_stream() 2015 frame = &item->frame; in session_prep_frame() 2578 frame = &item->frame; in session_after_frame_sent1() 2862 frame = &item->frame; in session_after_frame_sent2() 2934 frame = &item->frame; in session_call_send_data() 3077 frame->hd.length, frame->hd.type, frame->hd.flags, in nghttp2_session_mem_send_internal() 6913 frame = &item->frame; in nghttp2_session_add_ping() 6968 frame = &item->frame; in nghttp2_session_add_goaway() 7006 frame = &item->frame; in nghttp2_session_add_window_update() [all …]
|
A D | nghttp2_outbound_item.c | 41 nghttp2_frame *frame; in nghttp2_outbound_item_free() local 47 frame = &item->frame; in nghttp2_outbound_item_free() 49 switch (frame->hd.type) { in nghttp2_outbound_item_free() 51 nghttp2_frame_data_free(&frame->data); in nghttp2_outbound_item_free() 54 nghttp2_frame_headers_free(&frame->headers, mem); in nghttp2_outbound_item_free() 57 nghttp2_frame_priority_free(&frame->priority); in nghttp2_outbound_item_free() 60 nghttp2_frame_rst_stream_free(&frame->rst_stream); in nghttp2_outbound_item_free() 69 nghttp2_frame_ping_free(&frame->ping); in nghttp2_outbound_item_free() 72 nghttp2_frame_goaway_free(&frame->goaway, mem); in nghttp2_outbound_item_free() 84 nghttp2_frame_extension_free(&frame->ext); in nghttp2_outbound_item_free() [all …]
|
A D | nghttp2_submit.c | 118 frame = &item->frame; in submit_headers_shared() 233 nghttp2_frame *frame; in nghttp2_submit_priority() local 260 frame = &item->frame; in nghttp2_submit_priority() 328 nghttp2_frame *frame; in nghttp2_submit_push_promise() local 360 frame = &item->frame; in nghttp2_submit_push_promise() 514 nghttp2_frame *frame; in nghttp2_submit_altsvc() local 568 frame = &item->frame; in nghttp2_submit_altsvc() 667 nghttp2_frame *frame; in nghttp2_submit_data() local 685 frame = &item->frame; in nghttp2_submit_data() 723 nghttp2_frame *frame; in nghttp2_submit_extension() local [all …]
|
A D | nghttp2_session.h | 128 nghttp2_frame frame; member 620 nghttp2_frame *frame, 636 nghttp2_frame *frame); 651 nghttp2_frame *frame); 689 nghttp2_frame *frame); 707 nghttp2_frame *frame); 722 nghttp2_frame *frame); 737 nghttp2_frame *frame); 750 nghttp2_frame *frame); 765 nghttp2_frame *frame); [all …]
|
A D | nghttp2_http.h | 51 nghttp2_frame *frame, nghttp2_hd_nv *nv, 59 nghttp2_frame *frame); 73 nghttp2_frame *frame); 95 nghttp2_frame *frame);
|
/AliOS-Things-master/components/oss/src/model/ |
A D | SelectObjectRequest.cc | 80 memcpy(frame->header + frame->header_len, ptr, copy); in selectObjectDepackFrame() 81 frame->header_len += copy; in selectObjectDepackFrame() 94 frame->payload_crc32 = CRC32::CalcCRC(frame->init_crc32, frame->header + 12, 8); in selectObjectDepackFrame() 100 int copy = (frame->payload_remains > remain) ? remain : frame->payload_remains; in selectObjectDepackFrame() 102 type = frame->header[1]; in selectObjectDepackFrame() 110 frame->payload_crc32 = CRC32::CalcCRC(frame->payload_crc32, ptr, copy); in selectObjectDepackFrame() 115 if (frame->tail_len < 4) { in selectObjectDepackFrame() 118 memcpy(frame->tail + frame->tail_len, ptr, copy); in selectObjectDepackFrame() 119 frame->tail_len += copy; in selectObjectDepackFrame() 150 int32_t copy = sizeof(frame->end_frame) - frame->end_frame_size; in selectObjectTransferContent() [all …]
|
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/api/wifi/ |
A D | wifi_promisc.c | 270 if(frame) { in promisc_callback() 271 frame->prev = NULL; in promisc_callback() 272 frame->next = NULL; in promisc_callback() 275 frame->len = len; in promisc_callback() 317 return frame; in retrieve_frame() 343 if(frame) { in promisc_test() 395 if(frame) { in promisc_callback_all() 396 frame->prev = NULL; in promisc_callback_all() 397 frame->next = NULL; in promisc_callback_all() 413 frame->len = len; in promisc_callback_all() [all …]
|
/AliOS-Things-master/components/py_engine/tests/misc/ |
A D | sys_settrace_features.py | 10 def print_stacktrace(frame, level=0): argument 13 print_stacktrace(frame.f_back, level) 21 frame.f_globals["__name__"], 22 frame.f_code.co_name, 25 frame.f_lineno, 29 if frame.f_back: 36 def trace_tick(self, frame, event, arg): argument 38 print_stacktrace(frame) 48 __prof__.trace_tick(frame, event, arg) 57 __prof__.trace_tick(frame, event, arg) [all …]
|
A D | sys_settrace_loop.py | 12 def print_stacktrace(frame, level=0): argument 18 frame.f_globals["__name__"], 19 frame.f_code.co_name, 21 "sys_settrace_" + frame.f_code.co_filename.split("sys_settrace_")[-1], 22 frame.f_lineno, 26 if frame.f_back: 27 print_stacktrace(frame.f_back, level + 1) 33 def trace_tick_handler(frame, event, arg): argument 37 print_stacktrace(frame)
|
A D | sys_settrace_generator.py | 12 def print_stacktrace(frame, level=0): argument 18 frame.f_globals["__name__"], 19 frame.f_code.co_name, 21 "sys_settrace_" + frame.f_code.co_filename.split("sys_settrace_")[-1], 22 frame.f_lineno, 26 if frame.f_back: 27 print_stacktrace(frame.f_back, level + 1) 33 def trace_tick_handler(frame, event, arg): argument 37 print_stacktrace(frame)
|
/AliOS-Things-master/components/websocket/src/ |
A D | rws_socketpriv.c | 54 if (frame == NULL) in rws_socket_send_ping_priv() 73 if (frame) { in rws_socket_inform_recvd_frames() 79 s->on_recvd_bin(s, frame->data, (unsigned int)frame->data_size, frame->is_finished); in rws_socket_inform_recvd_frames() 84 …s->on_recvd_text(s, (const char *)frame->data, (unsigned int)frame->data_size, frame->is_finished… in rws_socket_inform_recvd_frames() 89 s->on_recvd_bin(s, frame->data, (unsigned int)frame->data_size, frame->is_finished); in rws_socket_inform_recvd_frames() 316 if (frame) { in rws_socket_last_unfin_recvd_frame_by_opcode() 333 } else if (frame->data && frame->data_size) { in rws_socket_process_bin_or_text_frame() 335 } else if (frame->data_size == 0 && frame->is_finished) { in rws_socket_process_bin_or_text_frame() 423 if (frame) { in rws_socket_idle_send() 483 rws_socket_send(s, frame->data, frame->data_size); in rws_socket_send_disconnect() [all …]
|
A D | rws_frame.c | 43 _rws_frame * frame = NULL; in rws_frame_create_with_recv_data() local 80 frame = rws_frame_create(); in rws_frame_create_with_recv_data() 82 frame->opcode = opcode; in rws_frame_create_with_recv_data() 92 return frame; in rws_frame_create_with_recv_data() 113 return frame; in rws_frame_create_with_recv_data() 219 frame += f->header_size; in rws_frame_fill_with_send_data() 225 *frame = *frame ^ mask[index & 0x3]; in rws_frame_fill_with_send_data() 226 frame++; in rws_frame_fill_with_send_data() 259 frame += f->header_size; in litews_frame_fill_with_send_bin_data() 267 *frame = *frame ^ mask[index & 0x3]; in litews_frame_fill_with_send_bin_data() [all …]
|
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/demux/ |
A D | demux.c | 190 frame->next_ = NULL; in AddFrame() 301 *frame = (Frame*)WebPSafeCalloc(1ULL, sizeof(**frame)); in NewFrame() 314 Frame* frame; in ParseAnimationFrame() local 328 if (frame->width_ * (uint64_t)frame->height_ >= MAX_IMAGE_AREA) { in ParseAnimationFrame() 395 Frame* frame; in ParseSingleImage() local 403 frame = (Frame*)WebPSafeCalloc(1ULL, sizeof(*frame)); in ParseSingleImage() 570 if (frame->width_ <= 0 || frame->height_ <= 0) return 0; in IsValidSimpleFormat() 579 if (frame->x_offset_ != 0 || frame->y_offset_ != 0) { in CheckFrameBounds() 586 if (frame->x_offset_ < 0 || frame->y_offset_ < 0) return 0; in CheckFrameBounds() 587 if (frame->width_ + frame->x_offset_ > canvas_width) return 0; in CheckFrameBounds() [all …]
|
/AliOS-Things-master/components/py_engine/modules/video/ |
A D | videocamera.c | 39 camera_obj->frame = NULL; in video_camera_new() 61 if (camera_obj->frame == NULL) { in video_camera_open() 62 camera_obj->frame = m_new_obj(isp_frame_t); in video_camera_open() 63 if (camera_obj->frame) { in video_camera_open() 87 if (camera_obj->frame) { in video_camera_close() 89 py_video_camera_frame_release(camera_obj->frame); in video_camera_close() 98 m_del_obj(isp_frame_t, camera_obj->frame); in video_camera_close() 99 camera_obj->frame = NULL; in video_camera_close() 157 return MP_OBJ_FROM_PTR(camera_obj->frame); in video_camera_capture() 166 isp_frame_t *frame; in video_camera_save() local [all …]
|
A D | videoplayer.c | 37 camera_obj->frame = NULL; in video_player_new() 59 if (camera_obj->frame == NULL) { in video_player_open() 60 camera_obj->frame = m_new_obj(isp_frame_t); in video_player_open() 61 if (camera_obj->frame) { in video_player_open() 63 memset(camera_obj->frame, 0, sizeof(isp_frame_t)); in video_player_open() 97 if (camera_obj->frame) { in video_player_close() 101 m_del_obj(isp_frame_t, camera_obj->frame); in video_player_close() 102 camera_obj->frame = NULL; in video_player_close() 134 return MP_OBJ_FROM_PTR(camera_obj->frame); in video_player_stop() 142 isp_frame_t *frame; in video_player_save() local [all …]
|
/AliOS-Things-master/components/SDL2/src/video/alios/ |
A D | SDL_AliOS_video.c | 122 uint8_t *frame; in AliOS_VideoInit() local 126 frame = malloc(mode.w*mode.h*2); in AliOS_VideoInit() 129 uint8_t *frame; in AliOS_VideoInit() local 133 frame = malloc(mode.w*mode.h*2); in AliOS_VideoInit() 158 memset(frame, 0xffff, mode.w*mode.h*2); in AliOS_VideoInit() 159 hal_lcd->lcd_frame_draw(frame); in AliOS_VideoInit() 160 free(frame); in AliOS_VideoInit() 164 memset(frame, 0xffff, mode.w*mode.h*2); in AliOS_VideoInit() 165 hal_lcd->lcd_frame_draw(frame); in AliOS_VideoInit() 166 free(frame); in AliOS_VideoInit()
|
/AliOS-Things-master/components/linkkit/http2/ |
A D | iotx_http2.c | 142 switch (frame->hd.type) { in on_frame_send_callback() 147 frame->hd.stream_id); in on_frame_send_callback() 162 frame->goaway.error_code); in on_frame_send_callback() 177 frame->hd.type, frame->hd.flags); in on_frame_send_callback() 216 frame->hd.stream_id); in on_frame_recv_callback() 227 switch (frame->hd.type) { in on_frame_recv_callback() 245 frame->goaway.error_code); in on_frame_recv_callback() 265 frame->hd.type, frame->hd.flags); in on_frame_recv_callback() 393 switch (frame->hd.type) { in on_header_callback() 403 frame->hd.stream_id, (int)frame->headers.cat, name, namelen, in on_header_callback() [all …]
|
/AliOS-Things-master/components/ucamera/src/ |
A D | ucamera_service.c | 59 frame_buffer_t *frame = NULL; in ucamera_service_get_frame() local 66 frame = dev->camera_get_frame(dev); in ucamera_service_get_frame() 67 return frame; in ucamera_service_get_frame() 73 int ucamera_service_save_frame(frame_buffer_t *frame, const char *path) in ucamera_service_save_frame() argument 82 if (fwrite(frame->buf, frame->len, 1, jpeg_file) < 1) { in ucamera_service_save_frame()
|
/AliOS-Things-master/hardware/chip/rtl872xd/hal/ |
A D | wifi_port_ref.c | 583 uint8_t *frame = (uint8_t *)data; in wifi_sniffer_handler() local 593 frame[0], frame[1], frame[2], frame[3]); in wifi_sniffer_handler() 595 frame[4], frame[5], frame[6], frame[7], frame[8], frame[9]); in wifi_sniffer_handler() 597 frame[10], frame[11], frame[12], frame[13], frame[14], frame[15]); in wifi_sniffer_handler() 599 frame[16], frame[17], frame[18], frame[19], frame[20], frame[21]); in wifi_sniffer_handler() 600 printf(" %02x %02x\n", frame[22], frame[23]); in wifi_sniffer_handler() 604 promisc_cb(frame, data_len, NULL); in wifi_sniffer_handler() 606 uint8_t type = frame[0] & 0xFC; in wifi_sniffer_handler() 609 mgnt_frame_cb(frame, data_len, NULL); in wifi_sniffer_handler()
|
/AliOS-Things-master/hardware/chip/haas1000/hal/ |
A D | wifi_port.c | 631 uint8_t *frame = (uint8_t *)data; in wifi_sniffer_handler() local 641 frame[0], frame[1], frame[2], frame[3]); in wifi_sniffer_handler() 643 frame[4], frame[5], frame[6], frame[7], frame[8], frame[9]); in wifi_sniffer_handler() 645 frame[10], frame[11], frame[12], frame[13], frame[14], frame[15]); in wifi_sniffer_handler() 647 frame[16], frame[17], frame[18], frame[19], frame[20], frame[21]); in wifi_sniffer_handler() 648 printf(" %02x %02x\n", frame[22], frame[23]); in wifi_sniffer_handler() 652 promisc_cb(frame, data_len, NULL); in wifi_sniffer_handler() 654 uint8_t type = frame[0] & 0xFC; in wifi_sniffer_handler() 657 mgnt_frame_cb(frame, data_len, NULL); in wifi_sniffer_handler()
|
/AliOS-Things-master/components/SDL2/test/ |
A D | teststreaming.c | 60 int frame; variable 70 void UpdateTexture(SDL_Texture *texture, int frame) in UpdateTexture() argument 83 src = MooseFrames[frame]; in UpdateTexture() 112 frame = (frame + 1) % MOOSEFRAMES_COUNT; in loop() 113 UpdateTexture(MooseTexture, frame); in loop() 174 frame = 0; in main()
|
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/imageio/ |
A D | wicdec.c | 130 IWICBitmapFrameDecode* const frame, in ExtractICCP() argument 136 IFS(IWICBitmapFrameDecode_GetColorContexts(frame, 0, NULL, &count)); in ExtractICCP() 147 IFS(IWICBitmapFrameDecode_GetColorContexts(frame, in ExtractICCP() 186 IWICBitmapFrameDecode* const frame, in ExtractMetadata() argument 189 const HRESULT hr = ExtractICCP(factory, frame, &metadata->iccp); in ExtractMetadata() 209 IWICBitmapFrameDecode* const frame, in HasAlpha() argument 262 IWICBitmapFrameDecode* frame = NULL; in ReadPictureWithWIC() local 305 IFS(IWICBitmapDecoder_GetFrame(decoder, 0, &frame)); in ReadPictureWithWIC() 306 IFS(IWICBitmapFrameDecode_GetPixelFormat(frame, &src_pixel_format)); in ReadPictureWithWIC() 367 hr = ExtractMetadata(factory, frame, metadata); in ReadPictureWithWIC() [all …]
|
/AliOS-Things-master/components/ucamera/example/ |
A D | ucamera_example.c | 22 frame_buffer_t *frame = NULL; in ucamera_comp_example() local 42 frame = ucamera_service_get_frame(); in ucamera_comp_example() 43 if (!frame) { in ucamera_comp_example() 51 ret = ucamera_service_save_frame(frame, CAPTURED_IMAGE); in ucamera_comp_example()
|