Home
last modified time | relevance | path

Searched refs:mtype (Results 1 – 25 of 51) sorted by relevance

123

/third_party/ltp/testcases/kernel/syscalls/ipc/msgrcv/
Dmsgrcv08.c32 static long mtype = 121; variable
36 long mtype; member
45 TEST(msgrcv(queue_id, &rcv_buf, sizeof(rcv_buf.mtext), -mtype, IPC_NOWAIT | MSG_NOERROR)); in verify_msgrcv()
51 if (rcv_buf.mtype != mtype) { in verify_msgrcv()
52 tst_res(TFAIL, "found mtype %ld, expected %ld", rcv_buf.mtype, mtype); in verify_msgrcv()
/third_party/python/Tools/c-analyzer/c_analyzer/
Danalyze.py265 for member, mtype in zip(decl.members, typedeps):
272 mtype = typespec
275 mtype = typespec
277 elif mtype is None:
279 mtype, = [d for d in types
288 mtype, = found
290 status = 'okay' if types.get(mtype) else 'oops'
291 if mtype is _SKIPPED:
293 mtype = '<skipped>'
294 elif isinstance(mtype, FuncPtr):
[all …]
/third_party/mesa3d/src/mesa/math/
Dm_debug_norm.c196 static int test_norm_function( normal_func func, int mtype, long *cycles ) in test_norm_function() argument
216 scale = 1.0F + rnd () * norm_scale_types[mtype]; in test_norm_function()
220 switch ( norm_templates[mtype][i * 4 + j] ) { in test_norm_function()
277 if ( norm_normalize_types[mtype] == 0 ) { in test_norm_function()
311 if ( norm_normalize_types[mtype] != 0 ) { in test_norm_function()
336 int mtype; in _math_test_all_normal_transform_functions() local
357 for ( mtype = 0 ; mtype < 8 ; mtype++ ) { in _math_test_all_normal_transform_functions()
358 normal_func func = _mesa_normal_tab[norm_types[mtype]]; in _math_test_all_normal_transform_functions()
359 long *cycles = &benchmark_tab[mtype]; in _math_test_all_normal_transform_functions()
361 if ( test_norm_function( func, mtype, cycles ) == 0 ) { in _math_test_all_normal_transform_functions()
[all …]
Dm_debug_xform.c168 int mtype, unsigned long *cycles ) in test_transform_function() argument
186 mat->type = mtypes[mtype]; in test_transform_function()
195 switch ( templates[mtype][i * 4 + j] ) { in test_transform_function()
281 int psize, mtype; in _math_test_all_transform_functions() local
310 for ( mtype = 0 ; mtype < 7 ; mtype++ ) { in _math_test_all_transform_functions()
312 transform_func func = _mesa_transform_tab[psize][mtypes[mtype]]; in _math_test_all_transform_functions()
313 unsigned long *cycles = &(benchmark_tab[psize-1][mtype]); in _math_test_all_transform_functions()
315 if ( test_transform_function( func, psize, mtype, cycles ) == 0 ) { in _math_test_all_transform_functions()
318 psize, mstrings[mtype], description ); in _math_test_all_transform_functions()
323 printf(" %li\t", benchmark_tab[psize-1][mtype] ); in _math_test_all_transform_functions()
[all …]
/third_party/ffmpeg/libavcodec/
Dh261enc.c246 h->mtype = 0; in ff_h261_encode_mb()
274 h->mtype++; in ff_h261_encode_mb()
277 h->mtype += 3; in ff_h261_encode_mb()
279 h->mtype += 3; in ff_h261_encode_mb()
281 h->mtype++; in ff_h261_encode_mb()
282 av_assert1(h->mtype > 1); in ff_h261_encode_mb()
286 h->mtype++; in ff_h261_encode_mb()
291 ff_h261_mtype_bits[h->mtype], in ff_h261_encode_mb()
292 ff_h261_mtype_code[h->mtype]); in ff_h261_encode_mb()
294 h->mtype = ff_h261_mtype_map[h->mtype]; in ff_h261_encode_mb()
[all …]
Dh261dec.c212 h->mtype &= ~MB_TYPE_H261_FIL; in h261_decode_mb_skipped()
389 h->mtype = get_vlc2(&s->gb, h261_mtype_vlc.table, H261_MTYPE_VLC_BITS, 2); in h261_decode_mb()
390 if (h->mtype < 0) { in h261_decode_mb()
392 h->mtype); in h261_decode_mb()
395 av_assert0(h->mtype < FF_ARRAY_ELEMS(ff_h261_mtype_map)); in h261_decode_mb()
396 h->mtype = ff_h261_mtype_map[h->mtype]; in h261_decode_mb()
399 if (IS_QUANT(h->mtype)) in h261_decode_mb()
402 s->mb_intra = IS_INTRA4x4(h->mtype); in h261_decode_mb()
405 if (IS_16X16(h->mtype)) { in h261_decode_mb()
428 if (HAS_CBP(h->mtype)) in h261_decode_mb()
[all …]
/third_party/musl/libc-test/src/functional/
Dpthread_mutex.c28 static int test_relock(int mtype) in test_relock() argument
41 T(pthread_mutexattr_settype(&ma, mtype)); in test_relock()
74 static int test_unlock(int mtype) in test_unlock() argument
85 T(pthread_mutexattr_settype(&ma, mtype)); in test_unlock()
94 static int test_unlock_other(int mtype) in test_unlock_other() argument
105 T(pthread_mutexattr_settype(&ma, mtype)); in test_unlock_other()
Dpthread_mutex_pi.c28 static int test_relock(int mtype) in test_relock() argument
41 T(pthread_mutexattr_settype(&ma, mtype)); in test_relock()
75 static int test_unlock(int mtype) in test_unlock() argument
86 T(pthread_mutexattr_settype(&ma, mtype)); in test_unlock()
96 static int test_unlock_other(int mtype) in test_unlock_other() argument
107 T(pthread_mutexattr_settype(&ma, mtype)); in test_unlock_other()
/third_party/gstreamer/gstplugins_good/gst/rtp/
Dgstrtph261pay.c94 guint32 mtype; member
431 decode_mtype (GstBitReader * br, guint * mtype) in decode_mtype() argument
440 *mtype = mtype_table[i][3]; in decode_mtype()
486 decode_tcoeff (GstBitReader * br, guint mtype) in decode_tcoeff() argument
493 if (mtype & MTYPE_INTER) { in decode_tcoeff()
610 if ((ret = decode_mtype (br, &mb->mtype)) != PARSE_OK) in parse_mb()
614 (mb->mtype & MTYPE_INTER) != 0, (mb->mtype & MTYPE_MC) != 0, in parse_mb()
615 (mb->mtype & MTYPE_FIL) != 0, (mb->mtype & MTYPE_MQUANT) != 0, in parse_mb()
616 (mb->mtype & MTYPE_MVD) != 0, (mb->mtype & MTYPE_CBP) != 0, in parse_mb()
617 (mb->mtype & MTYPE_TCOEFF) != 0); in parse_mb()
[all …]
/third_party/FreeBSD/sys/kern/
Dsubr_kobj.c241 struct malloc_type *mtype, in kobj_create() argument
249 obj = bsd_malloc(cls->size, mtype, mflags | M_ZERO); in kobj_create()
302 kobj_delete(kobj_t obj, struct malloc_type *mtype) in kobj_delete() argument
322 if (mtype) in kobj_delete()
323 bsd_free(obj, mtype); in kobj_delete()
/third_party/ltp/testcases/kernel/containers/sysvipc/
Dmesgq_nstest.c47 long int mtype; /* type of received/sent message */ member
62 n, msg.mtype, n, msg.mtext); in mesgq_read()
135 msg.mtype = 5; in main()
Dmsg_comm.c46 long mtype; member
75 m.mtype = 1; in chld1_msg()
117 m.mtype = 2; in chld2_msg()
/third_party/ltp/libs/libltpipc/
Dlibipc.c114 m_buf->mtype = 1; in init_buf()
116 m_buf->mtype = type; in init_buf()
/third_party/gstreamer/gstplugins_bad/sys/mediafoundation/
Dgstmfsourcereader.cpp202 GstMFStreamMediaType *mtype; in gst_mf_enum_media_type_from_source_reader() local
226 mtype = g_new0 (GstMFStreamMediaType, 1); in gst_mf_enum_media_type_from_source_reader()
228 mtype->media_type = media_type.Detach (); in gst_mf_enum_media_type_from_source_reader()
229 mtype->stream_index = i; in gst_mf_enum_media_type_from_source_reader()
230 mtype->media_type_index = j; in gst_mf_enum_media_type_from_source_reader()
231 mtype->caps = caps; in gst_mf_enum_media_type_from_source_reader()
236 list = g_list_prepend (list, mtype); in gst_mf_enum_media_type_from_source_reader()
326 GstMFStreamMediaType *mtype = (GstMFStreamMediaType *) iter->data; in gst_mf_source_reader_open() local
328 gst_caps_append (self->supported_caps, gst_caps_copy (mtype->caps)); in gst_mf_source_reader_open()
/third_party/gstreamer/gstplugins_bad/ext/hls/
Dm3u8.c1303 #define GST_HLS_MEDIA_TYPE_NAME(mtype) gst_hls_media_type_get_name(mtype) argument
1305 gst_hls_media_type_get_name (GstHLSMediaType mtype) in gst_hls_media_type_get_name() argument
1311 if (mtype < 0 || mtype >= GST_HLS_N_MEDIA_TYPES) in gst_hls_media_type_get_name()
1314 return nicks[mtype]; in gst_hls_media_type_get_name()
1343 media->mtype = GST_HLS_MEDIA_TYPE_INVALID; in gst_m3u8_parse_media()
1348 media->mtype = gst_m3u8_get_hls_media_type_from_string (v); in gst_m3u8_parse_media()
1377 if (media->mtype == GST_HLS_MEDIA_TYPE_INVALID) in gst_m3u8_parse_media()
1386 if (media->mtype == GST_HLS_MEDIA_TYPE_CLOSED_CAPTIONS) in gst_m3u8_parse_media()
1390 GST_HLS_MEDIA_TYPE_NAME (media->mtype), media->group_id, media->name, in gst_m3u8_parse_media()
1686 if (media_groups[media->mtype] == NULL) { in gst_hls_master_playlist_new_from_data()
[all …]
Dm3u8.h161 GstHLSMediaType mtype; member
179 const gchar * gst_hls_media_type_get_name (GstHLSMediaType mtype);
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_broadcast/
D2-3.c148 int mtype; member
207 if (td->mtype == PTHREAD_MUTEX_RECURSIVE) { in child()
215 if (td->mtype == PTHREAD_MUTEX_ERRORCHECK) { in child()
371 td->mtype = scenarii[scenar].m_type; in main()
/third_party/openssl/doc/man3/
DSSL_CTX_dane_enable.pod18 uint8_t mtype, uint8_t ord);
21 uint8_t mtype, unsigned const char *data, size_t dlen);
24 uint8_t *mtype, unsigned const char **data,
49 The B<mtype> argument specifies a DANE TLSA matching type and the B<md>
126 B<selector>, B<mtype> and B<data> parameters is updated to the corresponding
201 uint8_t usage, selector, mtype;
228 /* set usage, selector, mtype, data, len */
245 ret = SSL_dane_tlsa_add(ssl, usage, selector, mtype, data, len);
308 (void) SSL_get0_dane_tlsa(ssl, &usage, &selector, &mtype, NULL, NULL);
309 printf("DANE TLSA %d %d %d %s at depth %d\n", usage, selector, mtype,
/third_party/FreeBSD/sys/sys/
Dkobj.h202 struct malloc_type *mtype,
214 void kobj_delete(kobj_t obj, struct malloc_type *mtype);
/third_party/openssl/test/
Ddanetest.c250 static uint8_t mtype; in tlsa_import_rr() local
255 { &mtype, "mtype", checked_uint8 }, in tlsa_import_rr()
271 ret = SSL_dane_tlsa_add(ssl, usage, selector, mtype, data, len); in tlsa_import_rr()
/third_party/openssl/ssl/
Dssl_lib.c118 uint8_t mtype; member
161 mdevp[dane_mds[i].mtype] = md; in dane_ctx_enable()
162 mdord[dane_mds[i].mtype] = dane_mds[i].ord; in dane_ctx_enable()
231 if (SSL_dane_tlsa_add(to, t->usage, t->selector, t->mtype, in ssl_dane_dup()
239 const EVP_MD *md, uint8_t mtype, uint8_t ord) in dane_mtype_set() argument
243 if (mtype == DANETLS_MATCHING_FULL && md != NULL) { in dane_mtype_set()
248 if (mtype > dctx->mdmax) { in dane_mtype_set()
251 int n = ((int)mtype) + 1; in dane_mtype_set()
268 for (i = dctx->mdmax + 1; i < mtype; ++i) { in dane_mtype_set()
273 dctx->mdmax = mtype; in dane_mtype_set()
[all …]
/third_party/gstreamer/gstplugins_bad/tests/examples/msdk/
Dtest-roi.c67 GstNavigationMessageType mtype = gst_navigation_message_get_type (msg); in cb_msg() local
72 if (mtype != GST_NAVIGATION_MESSAGE_EVENT) in cb_msg()
/third_party/ltp/include/
Dipcmsg.h49 long mtype; member
/third_party/musl/porting/liteos_m/kernel/include/sys/
Dmsg.h44 long mtype; member
/third_party/musl/ndk_musl_include/sys/
Dmsg.h44 long mtype; member

123