/third_party/glib/glib/ |
D | glib-init.c | 43 G_STATIC_ASSERT (CHAR_BIT == 8); 46 G_STATIC_ASSERT (sizeof (gpointer) == sizeof (GFunc)); 47 G_STATIC_ASSERT (G_ALIGNOF (gpointer) == G_ALIGNOF (GFunc)); 49 G_STATIC_ASSERT (sizeof (GFunc) == sizeof (GCompareDataFunc)); 50 G_STATIC_ASSERT (G_ALIGNOF (GFunc) == G_ALIGNOF (GCompareDataFunc)); 68 G_STATIC_ASSERT (sizeof (TestChar) == sizeof (int)); 69 G_STATIC_ASSERT (sizeof (TestShort) == sizeof (int)); 70 G_STATIC_ASSERT (sizeof (TestInt) == sizeof (int)); 71 G_STATIC_ASSERT (G_ALIGNOF (TestChar) == G_ALIGNOF (int)); 72 G_STATIC_ASSERT (G_ALIGNOF (TestShort) == G_ALIGNOF (int)); [all …]
|
D | gatomic.h | 103 G_STATIC_ASSERT (sizeof *(atomic) == sizeof (gint)); \ 111 G_STATIC_ASSERT (sizeof *(atomic) == sizeof (gint)); \ 120 G_STATIC_ASSERT (sizeof *(atomic) == sizeof (gpointer)); \ 128 G_STATIC_ASSERT (sizeof *(atomic) == sizeof (gpointer)); \ 137 G_STATIC_ASSERT (sizeof *(atomic) == sizeof (gpointer)); \ 145 G_STATIC_ASSERT (sizeof *(atomic) == sizeof (gpointer)); \ 155 G_STATIC_ASSERT (sizeof *(atomic) == sizeof (gint)); \ 161 G_STATIC_ASSERT (sizeof *(atomic) == sizeof (gint)); \ 168 G_STATIC_ASSERT (sizeof *(atomic) == sizeof (gint)); \ 174 G_STATIC_ASSERT (sizeof *(atomic) == sizeof (gint)); \ [all …]
|
D | grefcount.h | 59 G_STATIC_ASSERT (sizeof *(rc) == sizeof (grefcount)); \ 66 G_STATIC_ASSERT (sizeof *(rc) == sizeof (grefcount)); \ 75 G_STATIC_ASSERT (sizeof *(rc) == sizeof (grefcount)); \ 86 G_STATIC_ASSERT (sizeof *(rc) == sizeof (grefcount)); \ 93 G_STATIC_ASSERT (sizeof *(rc) == sizeof (gatomicrefcount)); \ 100 G_STATIC_ASSERT (sizeof *(rc) == sizeof (gatomicrefcount)); \ 107 G_STATIC_ASSERT (sizeof *(rc) == sizeof (gatomicrefcount)); \ 114 G_STATIC_ASSERT (sizeof *(rc) == sizeof (gatomicrefcount)); \
|
D | gbitlock.h | 56 G_STATIC_ASSERT (sizeof *(address) == sizeof (gpointer)); \ 62 G_STATIC_ASSERT (sizeof *(address) == sizeof (gpointer)); \ 68 G_STATIC_ASSERT (sizeof *(address) == sizeof (gpointer)); \
|
D | glib-unix.c | 36 G_STATIC_ASSERT (sizeof (ssize_t) == GLIB_SIZEOF_SSIZE_T); 37 G_STATIC_ASSERT (G_ALIGNOF (gssize) == G_ALIGNOF (ssize_t)); 39 G_STATIC_ASSERT (sizeof (GPid) == sizeof (pid_t)); 40 G_STATIC_ASSERT (G_ALIGNOF (GPid) == G_ALIGNOF (pid_t));
|
D | grcboxprivate.h | 54 G_STATIC_ASSERT (sizeof (GRcBox) == sizeof (GArcBox));
|
D | gmacros.h | 758 #define G_STATIC_ASSERT(expr) _Static_assert (expr, "Expression evaluates to false") macro 762 #define G_STATIC_ASSERT(expr) static_assert (expr, "Expression evaluates to false") macro 765 #define G_STATIC_ASSERT(expr) typedef char G_PASTE (_GStaticAssertCompileTimeAssertion_, __COUNTER_… macro 767 #define G_STATIC_ASSERT(expr) typedef char G_PASTE (_GStaticAssertCompileTimeAssertion_, __LINE__)[… macro
|
D | gmem.h | 122 G_STATIC_ASSERT (sizeof *(pp) == sizeof (gpointer)); \ 134 G_STATIC_ASSERT (sizeof *(pp) == sizeof (gpointer)); \
|
D | gtranslit.c | 71 G_STATIC_ASSERT(MAX_KEY_SIZE == 2); in compare_mapping_entry() 359 G_STATIC_ASSERT(MAX_KEY_SIZE == 2); in g_str_to_ascii()
|
D | gthread.h | 258 G_STATIC_ASSERT (sizeof *(location) == sizeof (gpointer)); \ 265 G_STATIC_ASSERT (sizeof *(location) == sizeof (gpointer)); \
|
D | gbitlock.c | 374 G_STATIC_ASSERT (G_BYTE_ORDER == G_LITTLE_ENDIAN || in g_futex_int_address()
|
D | gvariant.c | 2919 G_STATIC_ASSERT (sizeof (struct stack_iter) <= sizeof (GVariantIter)); 3178 G_STATIC_ASSERT (sizeof (struct stack_builder) <= sizeof (GVariantBuilder)); 3199 G_STATIC_ASSERT (sizeof (GVariantBuilder) == sizeof (gsize[16])); 3836 G_STATIC_ASSERT (sizeof (struct stack_dict) <= sizeof (GVariantDict)); 3856 G_STATIC_ASSERT (sizeof (GVariantDict) == sizeof (gsize[16])); 5031 G_STATIC_ASSERT (sizeof (gboolean) == sizeof (guint32)); 5032 G_STATIC_ASSERT (sizeof (gdouble) == sizeof (guint64));
|
D | gmain.h | 718 G_STATIC_ASSERT (sizeof *(tag_ptr) == sizeof (guint)); \
|
D | gtypes.h | 463 G_STATIC_ASSERT(sizeof (unsigned long long) == sizeof (guint64)); in _GLIB_CHECKED_ADD_U64()
|
/third_party/gstreamer/gstplugins_bad/sys/v4l2codecs/ |
D | gstv4l2codecvp9dec.c | 122 G_STATIC_ASSERT (sizeof (self->v4l2_vp9_frame.lf.ref_deltas) == in gst_v4l2_codec_vp9_dec_fill_lf_params() 124 G_STATIC_ASSERT (sizeof (self->v4l2_vp9_frame.lf.mode_deltas) == in gst_v4l2_codec_vp9_dec_fill_lf_params() 141 G_STATIC_ASSERT (sizeof (v4l2_segmentation->tree_probs) == in gst_v4l2_codec_vp9_dec_fill_seg_params() 143 G_STATIC_ASSERT (sizeof (v4l2_segmentation->pred_probs) == in gst_v4l2_codec_vp9_dec_fill_seg_params() 145 G_STATIC_ASSERT (sizeof (v4l2_segmentation->feature_data) == in gst_v4l2_codec_vp9_dec_fill_seg_params() 176 G_STATIC_ASSERT (sizeof (probs->tx8) == in gst_v4l2_codec_vp9_dec_fill_prob_updates() 178 G_STATIC_ASSERT (sizeof (probs->tx16) == in gst_v4l2_codec_vp9_dec_fill_prob_updates() 180 G_STATIC_ASSERT (sizeof (probs->tx32) == in gst_v4l2_codec_vp9_dec_fill_prob_updates() 182 G_STATIC_ASSERT (sizeof (probs->coef) == in gst_v4l2_codec_vp9_dec_fill_prob_updates() 184 G_STATIC_ASSERT (sizeof (probs->skip) == in gst_v4l2_codec_vp9_dec_fill_prob_updates() [all …]
|
/third_party/gstreamer/gstplugins_bad/sys/nvcodec/ |
D | gstnvvp9dec.c | 371 G_STATIC_ASSERT (G_N_ELEMENTS (vp9_params->mbRefLfDelta) == in gst_nv_vp9_dec_decode_picture() 373 G_STATIC_ASSERT (G_N_ELEMENTS (vp9_params->mbModeLfDelta) == in gst_nv_vp9_dec_decode_picture() 375 G_STATIC_ASSERT (G_N_ELEMENTS (vp9_params->mb_segment_tree_probs) == in gst_nv_vp9_dec_decode_picture() 377 G_STATIC_ASSERT (sizeof (vp9_params->mb_segment_tree_probs) == in gst_nv_vp9_dec_decode_picture() 379 G_STATIC_ASSERT (G_N_ELEMENTS (vp9_params->segment_pred_probs) == in gst_nv_vp9_dec_decode_picture() 381 G_STATIC_ASSERT (sizeof (vp9_params->segment_pred_probs) == in gst_nv_vp9_dec_decode_picture() 383 G_STATIC_ASSERT (G_N_ELEMENTS (vp9_params->refFrameSignBias) == in gst_nv_vp9_dec_decode_picture() 385 G_STATIC_ASSERT (sizeof (vp9_params->refFrameSignBias) == in gst_nv_vp9_dec_decode_picture() 387 G_STATIC_ASSERT (G_N_ELEMENTS (vp9_params->activeRefIdx) == in gst_nv_vp9_dec_decode_picture() 389 G_STATIC_ASSERT (G_N_ELEMENTS (vp9_params->segmentFeatureEnable) == in gst_nv_vp9_dec_decode_picture() [all …]
|
D | gstnvh265dec.c | 662 G_STATIC_ASSERT (sizeof (scaling_list->scaling_lists_4x4) == in gst_nv_h265_dec_start_picture() 664 G_STATIC_ASSERT (sizeof (scaling_list->scaling_lists_8x8) == in gst_nv_h265_dec_start_picture() 666 G_STATIC_ASSERT (sizeof (scaling_list->scaling_lists_16x16) == in gst_nv_h265_dec_start_picture() 668 G_STATIC_ASSERT (sizeof (scaling_list->scaling_lists_32x32) == in gst_nv_h265_dec_start_picture()
|
/third_party/glib/glib/tests/ |
D | macros.c | 27 G_STATIC_ASSERT (4 == 4); in test_assert_static() 56 G_STATIC_ASSERT (G_SIZEOF_MEMBER (struct { char a; int b; }, a) == sizeof (char)); in test_struct_sizeof_member()
|
/third_party/gstreamer/gstplugins_bad/sys/d3d11/ |
D | gstd3d11vp9dec.cpp | 568 G_STATIC_ASSERT (G_N_ELEMENTS (params->ref_frame_sign_bias) == in gst_d3d11_vp9_dec_copy_frame_refs() 570 G_STATIC_ASSERT (sizeof (params->ref_frame_sign_bias) == in gst_d3d11_vp9_dec_copy_frame_refs() 597 G_STATIC_ASSERT (G_N_ELEMENTS (params->ref_deltas) == in gst_d3d11_vp9_dec_copy_loop_filter_params() 599 G_STATIC_ASSERT (sizeof (params->ref_deltas) == in gst_d3d11_vp9_dec_copy_loop_filter_params() 604 G_STATIC_ASSERT (G_N_ELEMENTS (params->mode_deltas) == in gst_d3d11_vp9_dec_copy_loop_filter_params() 606 G_STATIC_ASSERT (sizeof (params->mode_deltas) == in gst_d3d11_vp9_dec_copy_loop_filter_params() 638 G_STATIC_ASSERT (G_N_ELEMENTS (params->stVP9Segments.tree_probs) == in gst_d3d11_vp9_dec_copy_segmentation_params() 640 G_STATIC_ASSERT (sizeof (params->stVP9Segments.tree_probs) == in gst_d3d11_vp9_dec_copy_segmentation_params() 645 G_STATIC_ASSERT (G_N_ELEMENTS (params->stVP9Segments.pred_probs) == in gst_d3d11_vp9_dec_copy_segmentation_params() 647 G_STATIC_ASSERT (sizeof (params->stVP9Segments.pred_probs) == in gst_d3d11_vp9_dec_copy_segmentation_params()
|
D | gstd3d11h265dec.cpp | 781 G_STATIC_ASSERT (sizeof (iq_matrix->ucScalingLists0) == in gst_d3d11_h265_dec_start_picture() 783 G_STATIC_ASSERT (sizeof (iq_matrix->ucScalingLists1) == in gst_d3d11_h265_dec_start_picture() 785 G_STATIC_ASSERT (sizeof (iq_matrix->ucScalingLists2) == in gst_d3d11_h265_dec_start_picture() 787 G_STATIC_ASSERT (sizeof (iq_matrix->ucScalingLists3) == in gst_d3d11_h265_dec_start_picture()
|
D | gstd3d11h264dec.cpp | 758 G_STATIC_ASSERT (sizeof (iq_matrix->bScalingLists4x4) == in gst_d3d11_h264_dec_start_picture() 763 G_STATIC_ASSERT (sizeof (iq_matrix->bScalingLists8x8[0]) == in gst_d3d11_h264_dec_start_picture()
|
/third_party/glib/gio/ |
D | gioprivate.h | 58 G_STATIC_ASSERT (G_IOV_MAX <= G_MAXINT);
|
/third_party/gstreamer/gstplugins_bad/gst/rtmp2/rtmp/ |
D | rtmphandshake.c | 81 G_STATIC_ASSERT (SIZE_RANDOM % 4 == 0); in handshake_random_data() 198 G_STATIC_ASSERT (SIZE_P1 == SIZE_P2); in create_c2()
|
D | rtmpclient.c | 279 G_STATIC_ASSERT (GST_RTMP_AUDIOCODECS == 4071); /* libavformat's magic number */ 299 G_STATIC_ASSERT (GST_RTMP_VIDEOCODECS == 252); /* libavformat's magic number */ 311 G_STATIC_ASSERT (GST_RTMP_VIDEOFUNCTION == 1); /* libavformat's magic number */
|
/third_party/gstreamer/gstplugins_bad/tests/check/elements/ |
D | mpegtsdemux.c | 119 G_STATIC_ASSERT (sizeof aac_ts % PACKETSIZE == 0); 153 G_STATIC_ASSERT (sizeof padding_ts == PACKETSIZE);
|