Home
last modified time | relevance | path

Searched refs:p_buf (Results 1 – 15 of 15) sorted by relevance

/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/netinet/
Dsctp_crc32.c545 const unsigned char *p_buf, in sctp_crc32c_sb8_64_bit() argument
558 crc = sctp_crc_tableil8_o32[(crc ^ *p_buf++) & 0x000000FF] ^ in sctp_crc32c_sb8_64_bit()
562 crc ^= *p_buf++; in sctp_crc32c_sb8_64_bit()
563 crc ^= (*p_buf++) << 8; in sctp_crc32c_sb8_64_bit()
564 crc ^= (*p_buf++) << 16; in sctp_crc32c_sb8_64_bit()
565 crc ^= (*p_buf++) << 24; in sctp_crc32c_sb8_64_bit()
567 crc ^= *(const uint32_t *) p_buf; in sctp_crc32c_sb8_64_bit()
568 p_buf += 4; in sctp_crc32c_sb8_64_bit()
578 crc ^= sctp_crc_tableil8_o56[*p_buf++]; in sctp_crc32c_sb8_64_bit()
579 crc ^= sctp_crc_tableil8_o48[*p_buf++]; in sctp_crc32c_sb8_64_bit()
[all …]
/third_party/gstreamer/gstplugins_good/tests/check/elements/
Dapev2mux.c203 GstBuffer ** p_buf) in got_buffer() argument
216 if (*p_buf == NULL || (off + map.size) > gst_buffer_get_size (*p_buf)) { in got_buffer()
221 if (*p_buf) { in got_buffer()
224 gst_buffer_map (*p_buf, &pmap, GST_MAP_READ); in got_buffer()
226 gst_buffer_unmap (*p_buf, &pmap); in got_buffer()
229 if (*p_buf) in got_buffer()
230 gst_buffer_unref (*p_buf); in got_buffer()
231 *p_buf = newbuf; in got_buffer()
233 gst_buffer_fill (*p_buf, off, map.data, map.size); in got_buffer()
Did3v2mux.c288 GstBuffer ** p_buf) in got_buffer() argument
301 if (*p_buf == NULL || (off + map.size) > gst_buffer_get_size (*p_buf)) { in got_buffer()
306 if (*p_buf) { in got_buffer()
309 gst_buffer_map (*p_buf, &pmap, GST_MAP_READ); in got_buffer()
311 gst_buffer_unmap (*p_buf, &pmap); in got_buffer()
315 if (*p_buf) in got_buffer()
316 gst_buffer_unref (*p_buf); in got_buffer()
317 *p_buf = newbuf; in got_buffer()
319 gst_buffer_fill (*p_buf, off, map.data, map.size); in got_buffer()
Dvideocrop.c508 GstBuffer **p_buf = data; in buffer_probe_cb() local
511 gst_buffer_replace (p_buf, buf); in buffer_probe_cb()
/third_party/ffmpeg/libavformat/
Dspdifdec.c116 int ff_spdif_probe(const uint8_t *p_buf, int buf_size, enum AVCodecID *codec) in ff_spdif_probe() argument
118 const uint8_t *buf = p_buf; in ff_spdif_probe()
119 const uint8_t *probe_end = p_buf + FFMIN(2 * SPDIF_MAX_OFFSET, buf_size - 1); in ff_spdif_probe()
139 if (buf + 4 + AV_AAC_ADTS_HEADER_SIZE > p_buf + buf_size) in ff_spdif_probe()
143 probe_end = FFMIN(buf + SPDIF_MAX_OFFSET, p_buf + buf_size - 1); in ff_spdif_probe()
148 if (buf + offset >= p_buf + buf_size) in ff_spdif_probe()
Dspdif.h63 int ff_spdif_probe(const uint8_t *p_buf, int buf_size, enum AVCodecID *codec);
/third_party/gstreamer/gstplugins_bad/tests/check/elements/
Did3mux.c331 GstBuffer ** p_buf) in got_buffer() argument
345 if (*p_buf == NULL || (off + size) > gst_buffer_get_size (*p_buf)) { in got_buffer()
350 if (*p_buf) { in got_buffer()
353 gst_buffer_map (*p_buf, &pmap, GST_MAP_READ); in got_buffer()
355 gst_buffer_unmap (*p_buf, &pmap); in got_buffer()
359 if (*p_buf) in got_buffer()
360 gst_buffer_unref (*p_buf); in got_buffer()
361 *p_buf = newbuf; in got_buffer()
363 gst_buffer_fill (*p_buf, off, map.data, size); in got_buffer()
/third_party/ltp/testcases/lib/
Dtst_net_vars.c464 char *p_buf = buf; in get_ipv4_network() local
480 sprintf(p_buf, i < prefix ? ".%d" : "%d", byte); in get_ipv4_network()
481 p_buf += strlen(p_buf); in get_ipv4_network()
/third_party/gstreamer/gstreamer/tests/check/libs/
Dbasesrc.c790 GstBuffer ** p_buf) in test_src_create() argument
795 fail_if (*p_buf != NULL); in test_src_create()
810 *p_buf = buf; in test_src_create()
941 GstBuffer ** p_buf) in time_src_create() argument
953 *p_buf = gst_buffer_new (); in time_src_create()
954 GST_BUFFER_PTS (*p_buf) = src->segment->position; in time_src_create()
955 GST_BUFFER_DURATION (*p_buf) = GST_SECOND; in time_src_create()
/third_party/gstreamer/gstplugins_base/tests/check/elements/
Dplaybin.c665 gst_red_video_src_create (GstPushSrc * src, GstBuffer ** p_buf) in gst_red_video_src_create() argument
680 *p_buf = buf; in gst_red_video_src_create()
777 gst_codec_src_create (GstPushSrc * src, GstBuffer ** p_buf) in gst_codec_src_create() argument
784 *p_buf = buf; in gst_codec_src_create()
Dplaybin-complex.c128 gst_caps_src_create (GstPushSrc * psrc, GstBuffer ** p_buf) in gst_caps_src_create() argument
159 *p_buf = buf; in gst_caps_src_create()
/third_party/python/Lib/multiprocessing/
Dshared_memory.py167 p_buf = _winapi.MapViewOfFile(
176 size = _winapi.VirtualQuerySize(p_buf)
/third_party/gstreamer/gstplugins_good/gst/matroska/
Dmatroska-read-common.c2850 offset, guint size, GstBuffer ** p_buf, guint8 ** bytes) in gst_matroska_read_common_peek_bytes() argument
2862 if (p_buf) in gst_matroska_read_common_peek_bytes()
2863 *p_buf = gst_buffer_copy_region (common->cached_buffer, in gst_matroska_read_common_peek_bytes()
2893 if (p_buf) in gst_matroska_read_common_peek_bytes()
2894 *p_buf = gst_buffer_copy_region (common->cached_buffer, in gst_matroska_read_common_peek_bytes()
2914 if (p_buf) in gst_matroska_read_common_peek_bytes()
2915 *p_buf = NULL; in gst_matroska_read_common_peek_bytes()
2928 if (p_buf) in gst_matroska_read_common_peek_bytes()
2929 *p_buf = NULL; in gst_matroska_read_common_peek_bytes()
2935 if (p_buf) in gst_matroska_read_common_peek_bytes()
[all …]
Dmatroska-read-common.h151 common, guint64 offset, guint size, GstBuffer ** p_buf, guint8 ** bytes);
/third_party/gstreamer/gstreamer/tests/check/elements/
Dfakesink.c901 oob_source_create (GstPushSrc * src, GstBuffer ** p_buf) in oob_source_create() argument
903 *p_buf = gst_buffer_new (); in oob_source_create()