Home
last modified time | relevance | path

Searched refs:buf_state (Results 1 – 2 of 2) sorted by relevance

/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/contrib/oss-fuzz/
A Dlibpng_read_fuzzer.cc56 BufState* buf_state = nullptr; member
67 delete buf_state; in ~PngObjectHandler()
72 BufState* buf_state = static_cast<BufState*>(png_get_io_ptr(png_ptr)); in user_read_data() local
73 if (length > buf_state->bytes_left) { in user_read_data()
76 memcpy(data, buf_state->data, length); in user_read_data()
77 buf_state->bytes_left -= length; in user_read_data()
78 buf_state->data += length; in user_read_data()
127 png_handler.buf_state = new BufState(); in LLVMFuzzerTestOneInput()
128 png_handler.buf_state->data = data + kPngHeaderSize; in LLVMFuzzerTestOneInput()
129 png_handler.buf_state->bytes_left = size - kPngHeaderSize; in LLVMFuzzerTestOneInput()
[all …]
/AliOS-Things-master/components/ble_host/bt_host/host/
A Dsdp.c1683 struct net_buf_simple_state buf_state; in sdp_client_notify_result() local
1694 net_buf_simple_save(&session->rec_buf->b, &buf_state); in sdp_client_notify_result()
1707 net_buf_simple_restore(&session->rec_buf->b, &buf_state); in sdp_client_notify_result()

Completed in 7 milliseconds