Home
last modified time | relevance | path

Searched refs:pd (Results 1 – 25 of 187) sorted by relevance

12345678

/third_party/ffmpeg/libavdevice/
Dpulse_audio_dec.c114 PulseData *pd = s->priv_data; in pulse_close() local
116 if (pd->mainloop) in pulse_close()
117 pa_threaded_mainloop_stop(pd->mainloop); in pulse_close()
119 if (pd->stream) in pulse_close()
120 pa_stream_unref(pd->stream); in pulse_close()
121 pd->stream = NULL; in pulse_close()
123 if (pd->context) { in pulse_close()
124 pa_context_disconnect(pd->context); in pulse_close()
125 pa_context_unref(pd->context); in pulse_close()
127 pd->context = NULL; in pulse_close()
[all …]
/third_party/pulseaudio/src/pulsecore/
Dpdispatch.c245 pa_pdispatch *pd; in pa_pdispatch_new() local
250 pd = pa_xnew0(pa_pdispatch, 1); in pa_pdispatch_new()
251 PA_REFCNT_INIT(pd); in pa_pdispatch_new()
252 pd->mainloop = mainloop; in pa_pdispatch_new()
253 pd->callback_table = table; in pa_pdispatch_new()
254 pd->n_commands = entries; in pa_pdispatch_new()
255 PA_LLIST_HEAD_INIT(struct reply_info, pd->replies); in pa_pdispatch_new()
256 pd->use_rtclock = use_rtclock; in pa_pdispatch_new()
258 return pd; in pa_pdispatch_new()
261 static void pdispatch_free(pa_pdispatch *pd) { in pdispatch_free() argument
[all …]
Dpdispatch.h35 typedef void (*pa_pdispatch_cb_t)(pa_pdispatch *pd, uint32_t command, uint32_t tag, pa_tagstruct *t…
36 typedef void (*pa_pdispatch_drain_cb_t)(pa_pdispatch *pd, void *userdata);
39 void pa_pdispatch_unref(pa_pdispatch *pd);
40 pa_pdispatch* pa_pdispatch_ref(pa_pdispatch *pd);
42 int pa_pdispatch_run(pa_pdispatch *pd, pa_packet *p, pa_cmsg_ancil_data *ancil_data, void *userdata…
44 void pa_pdispatch_register_reply(pa_pdispatch *pd, uint32_t tag, int timeout, pa_pdispatch_cb_t cal…
46 int pa_pdispatch_is_pending(pa_pdispatch *pd);
48 void pa_pdispatch_set_drain_callback(pa_pdispatch *pd, pa_pdispatch_drain_cb_t callback, void *user…
51 void pa_pdispatch_unregister_reply(pa_pdispatch *pd, void *userdata);
53 const pa_creds * pa_pdispatch_creds(pa_pdispatch *pd);
[all …]
Dnative-common.c38 int pa_common_command_register_memfd_shmid(pa_pstream *p, pa_pdispatch *pd, uint32_t version, in pa_common_command_register_memfd_shmid() argument
45 pa_assert(pd); in pa_common_command_register_memfd_shmid()
49 ancil = pa_pdispatch_take_ancil_data(pd); in pa_common_command_register_memfd_shmid()
/third_party/openssl/crypto/
Dparam_build.c55 OSSL_PARAM_BLD_DEF *pd = OPENSSL_zalloc(sizeof(*pd)); in param_push() local
57 if (pd == NULL) { in param_push()
61 pd->key = key; in param_push()
62 pd->type = type; in param_push()
63 pd->size = size; in param_push()
64 pd->alloc_blocks = ossl_param_bytes_to_blocks(alloc); in param_push()
65 if ((pd->secure = secure) != 0) in param_push()
66 bld->secure_blocks += pd->alloc_blocks; in param_push()
68 bld->total_blocks += pd->alloc_blocks; in param_push()
69 if (sk_OSSL_PARAM_BLD_DEF_push(bld->params, pd) <= 0) { in param_push()
[all …]
/third_party/openssl/providers/common/
Dprovider_util.c140 void ossl_prov_digest_reset(PROV_DIGEST *pd) in ossl_prov_digest_reset() argument
142 EVP_MD_free(pd->alloc_md); in ossl_prov_digest_reset()
143 pd->alloc_md = NULL; in ossl_prov_digest_reset()
144 pd->md = NULL; in ossl_prov_digest_reset()
146 ENGINE_finish(pd->engine); in ossl_prov_digest_reset()
148 pd->engine = NULL; in ossl_prov_digest_reset()
167 const EVP_MD *ossl_prov_digest_fetch(PROV_DIGEST *pd, OSSL_LIB_CTX *libctx, in ossl_prov_digest_fetch() argument
170 EVP_MD_free(pd->alloc_md); in ossl_prov_digest_fetch()
171 pd->md = pd->alloc_md = EVP_MD_fetch(libctx, mdname, propquery); in ossl_prov_digest_fetch()
173 return pd->md; in ossl_prov_digest_fetch()
[all …]
/third_party/skia/third_party/externals/microhttpd/src/testcurl/
Dtest_postform.c181 struct curl_httppost *pd; in testInternalPost() local
196 pd = make_form (); in testInternalPost()
197 curl_easy_setopt (c, CURLOPT_HTTPPOST, pd); in testInternalPost()
215 curl_formfree (pd); in testInternalPost()
220 curl_formfree (pd); in testInternalPost()
237 struct curl_httppost *pd; in testMultithreadedPost() local
252 pd = make_form (); in testMultithreadedPost()
253 curl_easy_setopt (c, CURLOPT_HTTPPOST, pd); in testMultithreadedPost()
271 curl_formfree (pd); in testMultithreadedPost()
276 curl_formfree (pd); in testMultithreadedPost()
[all …]
/third_party/ffmpeg/tools/
Dprobetest.c38 static void probe(AVProbeData *pd, int type, int p, int size) in probe() argument
52 score = fmt->read_probe(pd); in probe()
97 AVProbeData pd = { 0 }; in main() local
131 pd.buf = NULL; in main()
133 pd.buf_size = size; in main()
134 pd.buf = av_realloc(pd.buf, size + AVPROBE_PADDING_SIZE); in main()
135 pd.filename = ""; in main()
137 if (!pd.buf) { in main()
142 memset(pd.buf, 0, size + AVPROBE_PADDING_SIZE); in main()
150 init_put_bits(&pb, pd.buf, size); in main()
[all …]
/third_party/ffmpeg/libavformat/
Dformat.c128 ff_const59 AVInputFormat *av_probe_input_format3(ff_const59 AVProbeData *pd, int is_opened, in av_probe_input_format3() argument
131 AVProbeData lpd = *pd; in av_probe_input_format3()
205 ff_const59 AVInputFormat *av_probe_input_format2(ff_const59 AVProbeData *pd, int is_opened, int *sc… in av_probe_input_format2() argument
208 ff_const59 AVInputFormat *fmt = av_probe_input_format3(pd, is_opened, &score_ret); in av_probe_input_format2()
216 ff_const59 AVInputFormat *av_probe_input_format(ff_const59 AVProbeData *pd, int is_opened) in av_probe_input_format() argument
219 return av_probe_input_format2(pd, is_opened, &score); in av_probe_input_format()
226 AVProbeData pd = { filename ? filename : "" }; in av_probe_input_buffer2() local
247 pd.mime_type = (const char *)mime_type_opt; in av_probe_input_buffer2()
248 semi = pd.mime_type ? strchr(pd.mime_type, ';') : NULL; in av_probe_input_buffer2()
274 pd.buf_size = buf_offset - offset; in av_probe_input_buffer2()
[all …]
Dvapoursynth.c99 const AVPixFmtDescriptor *pd; in is_native_endian() local
102 pd = av_pix_fmt_desc_get(pixfmt); in is_native_endian()
103 return pd && (!!HAVE_BIGENDIAN == !!(pd->flags & AV_PIX_FMT_FLAG_BE)); in is_native_endian()
110 const AVPixFmtDescriptor *pd; in match_pixfmt() local
112 for (pd = av_pix_fmt_desc_next(NULL); pd; pd = av_pix_fmt_desc_next(pd)) { in match_pixfmt()
117 pixfmt = av_pix_fmt_desc_get_id(pd); in match_pixfmt()
119 if (pd->flags & (AV_PIX_FMT_FLAG_BAYER | AV_PIX_FMT_FLAG_ALPHA | in match_pixfmt()
123 if (pd->log2_chroma_w != vsf->subSamplingW || in match_pixfmt()
124 pd->log2_chroma_h != vsf->subSamplingH) in match_pixfmt()
128 if (is_rgb != !!(pd->flags & AV_PIX_FMT_FLAG_RGB)) in match_pixfmt()
[all …]
Dtxd.c34 static int txd_probe(const AVProbeData * pd) { in txd_probe() argument
35 if (AV_RL32(pd->buf ) == TXD_FILE && in txd_probe()
36 (AV_RL32(pd->buf+8) == TXD_MARKER || AV_RL32(pd->buf+8) == TXD_MARKER2)) in txd_probe()
/third_party/pulseaudio/src/pulse/
Dinternal.h257 void pa_command_request(pa_pdispatch *pd, uint32_t command, uint32_t tag, pa_tagstruct *t, void *us…
258 void pa_command_stream_killed(pa_pdispatch *pd, uint32_t command, uint32_t tag, pa_tagstruct *t, vo…
259 void pa_command_subscribe_event(pa_pdispatch *pd, uint32_t command, uint32_t tag, pa_tagstruct *t, …
260 void pa_command_overflow_or_underflow(pa_pdispatch *pd, uint32_t command, uint32_t tag, pa_tagstruc…
261 void pa_command_stream_suspended(pa_pdispatch *pd, uint32_t command, uint32_t tag, pa_tagstruct *t,…
262 void pa_command_stream_moved(pa_pdispatch *pd, uint32_t command, uint32_t tag, pa_tagstruct *t, voi…
263 void pa_command_stream_started(pa_pdispatch *pd, uint32_t command, uint32_t tag, pa_tagstruct *t, v…
264 void pa_command_stream_event(pa_pdispatch *pd, uint32_t command, uint32_t tag, pa_tagstruct *t, voi…
265 void pa_command_client_event(pa_pdispatch *pd, uint32_t command, uint32_t tag, pa_tagstruct *t, voi…
266 void pa_command_stream_buffer_attr(pa_pdispatch *pd, uint32_t command, uint32_t tag, pa_tagstruct *…
[all …]
/third_party/ffmpeg/libavcodec/
Dpngdec.c906 uint8_t *pd = p->data[0]; in handle_small_bpp() local
911 pd[8*i + k - 1] = (pd[i]>>8-k) & 1; in handle_small_bpp()
913 pd[8*i + 7]= pd[i] & 1; in handle_small_bpp()
914 pd[8*i + 6]= (pd[i]>>1) & 1; in handle_small_bpp()
915 pd[8*i + 5]= (pd[i]>>2) & 1; in handle_small_bpp()
916 pd[8*i + 4]= (pd[i]>>3) & 1; in handle_small_bpp()
917 pd[8*i + 3]= (pd[i]>>4) & 1; in handle_small_bpp()
918 pd[8*i + 2]= (pd[i]>>5) & 1; in handle_small_bpp()
919 pd[8*i + 1]= (pd[i]>>6) & 1; in handle_small_bpp()
920 pd[8*i + 0]= pd[i]>>7; in handle_small_bpp()
[all …]
Dvmdvideo.c142 unsigned char *pd; in rle_unpack() local
149 pd = dest; in rle_unpack()
153 *pd++ = bytestream2_get_byteu(&gb); in rle_unpack()
163 if (dest_end - pd < l || bytestream2_get_bytes_left(&gb) < l) in rle_unpack()
165 bytestream2_get_bufferu(&gb, pd, l); in rle_unpack()
166 pd += l; in rle_unpack()
168 if (dest_end - pd < 2*l || bytestream2_get_bytes_left(&gb) < 2) in rle_unpack()
172 AV_WN16(pd, run_val); in rle_unpack()
173 pd += 2; in rle_unpack()
/third_party/skia/third_party/externals/microhttpd/src/testzzuf/
Dtest_post_form.c174 struct curl_httppost *pd; in testInternalPost() local
193 pd = make_form (); in testInternalPost()
194 curl_easy_setopt (c, CURLOPT_HTTPPOST, pd); in testInternalPost()
208 curl_formfree (pd); in testInternalPost()
225 struct curl_httppost *pd; in testMultithreadedPost() local
244 pd = make_form (); in testMultithreadedPost()
245 curl_easy_setopt (c, CURLOPT_HTTPPOST, pd); in testMultithreadedPost()
259 curl_formfree (pd); in testMultithreadedPost()
284 struct curl_httppost *pd; in testExternalPost() local
312 pd = make_form (); in testExternalPost()
[all …]
/third_party/python/Lib/test/
Dtest_pulldom.py187 pd = SAX2DOMTestHelper(None, SAXExerciser(), 12)
188 self._test_thorough(pd)
192 pd = SAX2DOMTestHelper(None, SAX2DOMExerciser(), 12)
193 self._test_thorough(pd, False)
195 def _test_thorough(self, pd, before_root=True): argument
199 evt, node = next(pd)
205 evt, node = next(pd)
208 evt, node = next(pd)
213 evt, node = next(pd)
217 evt, node = next(pd)
[all …]
/third_party/openssl/providers/common/include/prov/
Dprovider_util.h66 const EVP_MD *ossl_prov_digest_fetch(PROV_DIGEST *pd, OSSL_LIB_CTX *libctx,
75 int ossl_prov_digest_load_from_params(PROV_DIGEST *pd,
80 void ossl_prov_digest_reset(PROV_DIGEST *pd);
86 const EVP_MD *ossl_prov_digest_md(const PROV_DIGEST *pd);
87 ENGINE *ossl_prov_digest_engine(const PROV_DIGEST *pd);
/third_party/pulseaudio/src/modules/
Dmodule-tunnel.c153 static void command_request(pa_pdispatch *pd, uint32_t command, uint32_t tag, pa_tagstruct *t, void…
154 static void command_started(pa_pdispatch *pd, uint32_t command, uint32_t tag, pa_tagstruct *t, void…
156 static void command_subscribe_event(pa_pdispatch *pd, uint32_t command, uint32_t tag, pa_tagstruct …
157 static void command_stream_killed(pa_pdispatch *pd, uint32_t command, uint32_t tag, pa_tagstruct *t…
158 static void command_overflow_or_underflow(pa_pdispatch *pd, uint32_t command, uint32_t tag, pa_tags…
159 static void command_suspended(pa_pdispatch *pd, uint32_t command, uint32_t tag, pa_tagstruct *t, vo…
160 static void command_moved(pa_pdispatch *pd, uint32_t command, uint32_t tag, pa_tagstruct *t, void *…
161 static void command_stream_or_client_event(pa_pdispatch *pd, uint32_t command, uint32_t tag, pa_tag…
162 static void command_stream_buffer_attr_changed(pa_pdispatch *pd, uint32_t command, uint32_t tag, pa…
246 static void command_stream_or_client_event(pa_pdispatch *pd, uint32_t command, uint32_t tag, pa_tag… in command_stream_or_client_event() argument
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DThreadLocal.cpp30 void **pd = reinterpret_cast<void**>(&data); in setInstance() local
31 *pd = const_cast<void*>(d); in setInstance()
34 void **pd = reinterpret_cast<void**>(&data); in getInstance() local
35 return *pd; in getInstance()
/third_party/cups-filters/filter/foomatic-rip/
Dpdf.c55 FILE *pd = popen(gscommand, "r"); in pdf_count_pages() local
56 if (!pd) in pdf_count_pages()
59 bytes = fread_or_die(output, 1, sizeof(output), pd); in pdf_count_pages()
60 pclose(pd); in pdf_count_pages()
147 FILE *pd = popen(gscommand, "r"); in pdf_extract_pages() local
148 if (!pd) in pdf_extract_pages()
150 pclose(pd); in pdf_extract_pages()
/third_party/cmsis/CMSIS/DSP/Source/MatrixFunctions/
Darm_mat_ldlt_f32.c94 arm_matrix_instance_f32 * pd, in arm_mat_ldlt_f32() argument
106 (pd->numRows != pd->numCols) || in arm_mat_ldlt_f32()
107 (pl->numRows != pd->numRows) ) in arm_mat_ldlt_f32()
311 pd->pData[d*n+d] = pl->pData[d*n+d]; in arm_mat_ldlt_f32()
371 arm_matrix_instance_f32 * pd, in arm_mat_ldlt_f32() argument
383 (pd->numRows != pd->numCols) || in arm_mat_ldlt_f32()
384 (pl->numRows != pd->numRows) ) in arm_mat_ldlt_f32()
484 pd->pData[d*n+d] = pl->pData[d*n+d]; in arm_mat_ldlt_f32()
Darm_mat_ldlt_f64.c80 arm_matrix_instance_f64 * pd, in arm_mat_ldlt_f64() argument
92 (pd->numRows != pd->numCols) || in arm_mat_ldlt_f64()
93 (pl->numRows != pd->numRows) ) in arm_mat_ldlt_f64()
193 pd->pData[d*n+d] = pl->pData[d*n+d]; in arm_mat_ldlt_f64()
/third_party/FreeBSD/lib/libc/stdlib/
Dqsort.c157 char *pa, *pb, *pc, *pd, *pl, *pm, *pn; in local_qsort() local
190 pc = pd = (char *)a + (n - 1) * es; in local_qsort()
203 swapfunc(pc, pd, es); in local_qsort()
204 pd -= es; in local_qsort()
227 d1 = MIN(pd - pc, pn - pd - es); in local_qsort()
231 d2 = pd - pc; in local_qsort()
/third_party/FreeBSD/sys/dev/usb/
Dusb_device.c1865 struct usb_fs_privdata* pd; in usb_make_dev() local
1870 pd = bsd_malloc(sizeof(struct usb_fs_privdata), M_USBDEV, in usb_make_dev()
1872 if (pd == NULL) in usb_make_dev()
1874 pd->bus_index = device_get_unit(udev->bus->bdev); in usb_make_dev()
1875 pd->dev_index = udev->device_index; in usb_make_dev()
1876 pd->ep_addr = ep; in usb_make_dev()
1877 pd->fifo_index = fi; in usb_make_dev()
1878 pd->mode = rwmode; in usb_make_dev()
1884 pd->bus_index, pd->dev_index, pd->ep_addr); in usb_make_dev()
1890 ret = strncpy_s(pd->cdev_name, sizeof(pd->cdev_name), buffer, strlen(buffer)); in usb_make_dev()
[all …]
/third_party/selinux/libsepol/src/
Dwrite.c455 struct policy_data *pd = ptr; in sens_write() local
456 struct policy_file *fp = pd->fp; in sens_write()
483 struct policy_data *pd = ptr; in cat_write() local
484 struct policy_file *fp = pd->fp; in cat_write()
723 struct policy_data *pd = ptr; in cond_write_bool() local
724 struct policy_file *fp = pd->fp; in cond_write_bool()
725 struct policydb *p = pd->p; in cond_write_bool()
926 struct policy_data *pd = ptr; in perm_write() local
927 struct policy_file *fp = pd->fp; in perm_write()
951 struct policy_data *pd = ptr; in common_write() local
[all …]

12345678