/third_party/mindspore/tests/st/graph_kernel/model/ |
D | test_split.py | 58 gb = model.GraphBuilder() 59 with gb.graph_scope("main"): 60 a = gb.tensor([10240, 16], "float32", name="a") 61 b = gb.emit("Abs", a, 'b') 62 c = gb.emit("Abs", b, 'c') 63 d = gb.emit("Abs", c, 'd') 64 gb.emit('Add', [b, d], 'e') 65 return gb.get()[0] 70 gb = model.GraphBuilder() 71 with gb.graph_scope("main"): [all …]
|
/third_party/ffmpeg/libavcodec/ |
D | hevc_sei.c | 31 static int decode_nal_sei_decoded_picture_hash(HEVCSEIPictureHash *s, GetBitContext *gb) in decode_nal_sei_decoded_picture_hash() argument 37 hash_type = get_bits(gb, 8); in decode_nal_sei_decoded_picture_hash() 43 s->md5[cIdx][i] = get_bits(gb, 8); in decode_nal_sei_decoded_picture_hash() 46 skip_bits(gb, 16); in decode_nal_sei_decoded_picture_hash() 49 skip_bits(gb, 32); in decode_nal_sei_decoded_picture_hash() 55 static int decode_nal_sei_mastering_display_info(HEVCSEIMasteringDisplay *s, GetBitContext *gb) in decode_nal_sei_mastering_display_info() argument 60 s->display_primaries[i][0] = get_bits(gb, 16); in decode_nal_sei_mastering_display_info() 61 s->display_primaries[i][1] = get_bits(gb, 16); in decode_nal_sei_mastering_display_info() 64 s->white_point[0] = get_bits(gb, 16); in decode_nal_sei_mastering_display_info() 65 s->white_point[1] = get_bits(gb, 16); in decode_nal_sei_mastering_display_info() [all …]
|
D | golomb.h | 55 static inline int get_ue_golomb(GetBitContext *gb) in get_ue_golomb() argument 60 buf = show_bits_long(gb, 32); in get_ue_golomb() 64 skip_bits_long(gb, ff_golomb_vlc_len[buf]); in get_ue_golomb() 70 skip_bits_long(gb, 32 - log); in get_ue_golomb() 79 OPEN_READER(re, gb); in get_ue_golomb() 80 UPDATE_CACHE(re, gb); in get_ue_golomb() 81 buf = GET_CACHE(re, gb); in get_ue_golomb() 85 LAST_SKIP_BITS(re, gb, ff_golomb_vlc_len[buf]); in get_ue_golomb() 86 CLOSE_READER(re, gb); in get_ue_golomb() 91 LAST_SKIP_BITS(re, gb, 32 - log); in get_ue_golomb() [all …]
|
D | h264_sei.c | 65 GetBitContext gb; in ff_h264_sei_process_picture_timing() local 67 init_get_bits(&gb, h->payload, h->payload_size_bits); in ff_h264_sei_process_picture_timing() 71 h->cpb_removal_delay = get_bits_long(&gb, sps->cpb_removal_delay_length); in ff_h264_sei_process_picture_timing() 72 h->dpb_output_delay = get_bits_long(&gb, sps->dpb_output_delay_length); in ff_h264_sei_process_picture_timing() 77 h->pic_struct = get_bits(&gb, 4); in ff_h264_sei_process_picture_timing() 86 if (get_bits(&gb, 1)) { /* clock_timestamp_flag */ in ff_h264_sei_process_picture_timing() 90 h->ct_type |= 1 << get_bits(&gb, 2); in ff_h264_sei_process_picture_timing() 91 skip_bits(&gb, 1); /* nuit_field_based_flag */ in ff_h264_sei_process_picture_timing() 92 counting_type = get_bits(&gb, 5); /* counting_type */ in ff_h264_sei_process_picture_timing() 93 full_timestamp_flag = get_bits(&gb, 1); in ff_h264_sei_process_picture_timing() [all …]
|
D | dca_exss.c | 26 asset->xll_size = get_bits(&s->gb, s->exss_size_nbits) + 1; in parse_xll_parameters() 29 if (asset->xll_sync_present = get_bits1(&s->gb)) { in parse_xll_parameters() 33 skip_bits(&s->gb, 4); in parse_xll_parameters() 36 xll_delay_nbits = get_bits(&s->gb, 5) + 1; in parse_xll_parameters() 39 asset->xll_delay_nframes = get_bits_long(&s->gb, xll_delay_nbits); in parse_xll_parameters() 42 asset->xll_sync_offset = get_bits(&s->gb, s->exss_size_nbits); in parse_xll_parameters() 52 asset->lbr_size = get_bits(&s->gb, 14) + 1; in parse_lbr_parameters() 55 if (get_bits1(&s->gb)) in parse_lbr_parameters() 57 skip_bits(&s->gb, 2); in parse_lbr_parameters() 62 int i, j, drc_present, descr_size, descr_pos = get_bits_count(&s->gb); in parse_descriptor() [all …]
|
D | mpeg4audio.c | 33 static int parse_config_ALS(GetBitContext *gb, MPEG4AudioConfig *c, void *logctx) in parse_config_ALS() argument 35 if (get_bits_left(gb) < 112) in parse_config_ALS() 38 if (get_bits_long(gb, 32) != MKBETAG('A','L','S','\0')) in parse_config_ALS() 43 c->sample_rate = get_bits_long(gb, 32); in parse_config_ALS() 51 skip_bits_long(gb, 32); in parse_config_ALS() 55 c->channels = get_bits(gb, 16) + 1; in parse_config_ALS() 84 static inline int get_object_type(GetBitContext *gb) in get_object_type() argument 86 int object_type = get_bits(gb, 5); in get_object_type() 88 object_type = 32 + get_bits(gb, 6); in get_object_type() 92 static inline int get_sample_rate(GetBitContext *gb, int *index) in get_sample_rate() argument [all …]
|
D | dynamic_hdr10_plus.c | 33 GetBitContext gbc, *gb = &gbc; in ff_parse_itu_t_t35_to_dynamic_hdr10_plus() local 39 ret = init_get_bits8(gb, data, size); in ff_parse_itu_t_t35_to_dynamic_hdr10_plus() 43 s->application_version = get_bits(gb, 8); in ff_parse_itu_t_t35_to_dynamic_hdr10_plus() 45 if (get_bits_left(gb) < 2) in ff_parse_itu_t_t35_to_dynamic_hdr10_plus() 47 s->num_windows = get_bits(gb, 2); in ff_parse_itu_t_t35_to_dynamic_hdr10_plus() 53 if (get_bits_left(gb) < ((19 * 8 + 1) * (s->num_windows - 1))) in ff_parse_itu_t_t35_to_dynamic_hdr10_plus() 61 (AVRational){get_bits(gb, 16), 1}; in ff_parse_itu_t_t35_to_dynamic_hdr10_plus() 63 (AVRational){get_bits(gb, 16), 1}; in ff_parse_itu_t_t35_to_dynamic_hdr10_plus() 65 (AVRational){get_bits(gb, 16), 1}; in ff_parse_itu_t_t35_to_dynamic_hdr10_plus() 67 (AVRational){get_bits(gb, 16), 1}; in ff_parse_itu_t_t35_to_dynamic_hdr10_plus() [all …]
|
D | pcm-bluray.c | 132 GetByteContext gb; in pcm_bluray_decode_frame() local 148 bytestream2_init(&gb, src, buf_size); in pcm_bluray_decode_frame() 172 bytestream2_get_buffer(&gb, dst16, buf_size); in pcm_bluray_decode_frame() 175 *dst16++ = bytestream2_get_be16u(&gb); in pcm_bluray_decode_frame() 180 *dst32++ = bytestream2_get_be24u(&gb) << 8; in pcm_bluray_decode_frame() 192 bytestream2_get_buffer(&gb, dst16, avctx->channels * 2); in pcm_bluray_decode_frame() 197 *dst16++ = bytestream2_get_be16u(&gb); in pcm_bluray_decode_frame() 200 bytestream2_skip(&gb, 2); in pcm_bluray_decode_frame() 206 *dst32++ = bytestream2_get_be24u(&gb) << 8; in pcm_bluray_decode_frame() 208 bytestream2_skip(&gb, 3); in pcm_bluray_decode_frame() [all …]
|
D | hevc_ps.c | 119 int ff_hevc_decode_short_term_rps(GetBitContext *gb, AVCodecContext *avctx, in ff_hevc_decode_short_term_rps() argument 130 rps_predict = get_bits1(gb); in ff_hevc_decode_short_term_rps() 140 unsigned int delta_idx = get_ue_golomb_long(gb) + 1; in ff_hevc_decode_short_term_rps() 152 delta_rps_sign = get_bits1(gb); in ff_hevc_decode_short_term_rps() 153 abs_delta_rps = get_ue_golomb_long(gb) + 1; in ff_hevc_decode_short_term_rps() 162 int used = rps->used[k] = get_bits1(gb); in ff_hevc_decode_short_term_rps() 165 use_delta_flag = get_bits1(gb); in ff_hevc_decode_short_term_rps() 222 rps->num_negative_pics = get_ue_golomb_long(gb); in ff_hevc_decode_short_term_rps() 223 nb_positive_pics = get_ue_golomb_long(gb); in ff_hevc_decode_short_term_rps() 235 delta_poc = get_ue_golomb_long(gb) + 1; in ff_hevc_decode_short_term_rps() [all …]
|
D | h264_ps.c | 107 static inline int decode_hrd_parameters(GetBitContext *gb, void *logctx, in decode_hrd_parameters() argument 111 cpb_count = get_ue_golomb_31(gb) + 1; in decode_hrd_parameters() 118 get_bits(gb, 4); /* bit_rate_scale */ in decode_hrd_parameters() 119 get_bits(gb, 4); /* cpb_size_scale */ in decode_hrd_parameters() 121 get_ue_golomb_long(gb); /* bit_rate_value_minus1 */ in decode_hrd_parameters() 122 get_ue_golomb_long(gb); /* cpb_size_value_minus1 */ in decode_hrd_parameters() 123 get_bits1(gb); /* cbr_flag */ in decode_hrd_parameters() 125 sps->initial_cpb_removal_delay_length = get_bits(gb, 5) + 1; in decode_hrd_parameters() 126 sps->cpb_removal_delay_length = get_bits(gb, 5) + 1; in decode_hrd_parameters() 127 sps->dpb_output_delay_length = get_bits(gb, 5) + 1; in decode_hrd_parameters() [all …]
|
D | sheervideo.c | 40 void (*decode_frame)(AVCodecContext *avctx, AVFrame *p, GetBitContext *gb); 43 static void decode_ca4i(AVCodecContext *avctx, AVFrame *p, GetBitContext *gb) in decode_ca4i() argument 55 if (get_bits1(gb)) { in decode_ca4i() 57 dst_a[x] = get_bits(gb, 10); in decode_ca4i() 58 dst_y[x] = get_bits(gb, 10); in decode_ca4i() 59 dst_u[x] = get_bits(gb, 10); in decode_ca4i() 60 dst_v[x] = get_bits(gb, 10); in decode_ca4i() 68 a = get_vlc2(gb, s->vlc[1].table, SHEER_VLC_BITS, 2); in decode_ca4i() 69 y = get_vlc2(gb, s->vlc[0].table, SHEER_VLC_BITS, 2); in decode_ca4i() 70 u = get_vlc2(gb, s->vlc[1].table, SHEER_VLC_BITS, 2); in decode_ca4i() [all …]
|
D | tiff_common.c | 43 unsigned ff_tget_short(GetByteContext *gb, int le) in ff_tget_short() argument 45 return le ? bytestream2_get_le16(gb) : bytestream2_get_be16(gb); in ff_tget_short() 49 unsigned ff_tget_long(GetByteContext *gb, int le) in ff_tget_long() argument 51 return le ? bytestream2_get_le32(gb) : bytestream2_get_be32(gb); in ff_tget_long() 55 double ff_tget_double(GetByteContext *gb, int le) in ff_tget_double() argument 57 av_alias64 i = { .u64 = le ? bytestream2_get_le64(gb) : bytestream2_get_be64(gb)}; in ff_tget_double() 62 unsigned ff_tget(GetByteContext *gb, int type, int le) in ff_tget() argument 65 case TIFF_BYTE: return bytestream2_get_byte(gb); in ff_tget() 66 case TIFF_SHORT: return ff_tget_short(gb, le); in ff_tget() 67 case TIFF_LONG: return ff_tget_long(gb, le); in ff_tget() [all …]
|
D | dfa.c | 56 static int decode_copy(GetByteContext *gb, uint8_t *frame, int width, int height) in decode_copy() argument 60 if (bytestream2_get_buffer(gb, frame, size) != size) in decode_copy() 65 static int decode_tsw1(GetByteContext *gb, uint8_t *frame, int width, int height) in decode_tsw1() argument 74 segments = bytestream2_get_le32(gb); in decode_tsw1() 75 offset = bytestream2_get_le32(gb); in decode_tsw1() 82 if (bytestream2_get_bytes_left(gb) < 2) in decode_tsw1() 85 bitbuf = bytestream2_get_le16u(gb); in decode_tsw1() 91 v = bytestream2_get_le16(gb); in decode_tsw1() 99 *frame++ = bytestream2_get_byte(gb); in decode_tsw1() 100 *frame++ = bytestream2_get_byte(gb); in decode_tsw1() [all …]
|
D | fmvc.c | 41 GetByteContext gb; member 54 static int decode_type2(GetByteContext *gb, PutByteContext *pb) in decode_type2() argument 59 while (bytestream2_get_bytes_left(gb) > 0) { in decode_type2() 62 while (bytestream2_get_bytes_left(gb) > 0) { in decode_type2() 65 if (bytestream2_peek_byte(gb) > 17) { in decode_type2() 66 len = bytestream2_get_byte(gb) - 17; in decode_type2() 69 bytestream2_put_byte(pb, bytestream2_get_byte(gb)); in decode_type2() 72 opcode = bytestream2_peek_byte(gb); in decode_type2() 76 bytestream2_put_byte(pb, bytestream2_get_byte(gb)); in decode_type2() 79 opcode = bytestream2_peek_byte(gb); in decode_type2() [all …]
|
D | dca.c | 91 int ff_dca_parse_core_frame_header(DCACoreFrameHeader *h, GetBitContext *gb) in ff_dca_parse_core_frame_header() argument 93 if (get_bits_long(gb, 32) != DCA_SYNCWORD_CORE_BE) in ff_dca_parse_core_frame_header() 96 h->normal_frame = get_bits1(gb); in ff_dca_parse_core_frame_header() 97 h->deficit_samples = get_bits(gb, 5) + 1; in ff_dca_parse_core_frame_header() 101 h->crc_present = get_bits1(gb); in ff_dca_parse_core_frame_header() 102 h->npcmblocks = get_bits(gb, 7) + 1; in ff_dca_parse_core_frame_header() 106 h->frame_size = get_bits(gb, 14) + 1; in ff_dca_parse_core_frame_header() 110 h->audio_mode = get_bits(gb, 6); in ff_dca_parse_core_frame_header() 114 h->sr_code = get_bits(gb, 4); in ff_dca_parse_core_frame_header() 118 h->br_code = get_bits(gb, 5); in ff_dca_parse_core_frame_header() [all …]
|
D | intelh263dec.c | 31 if (get_bits_left(&s->gb) == 64) { /* special dummy frames */ in ff_intel_h263_decode_picture_header() 36 if (get_bits(&s->gb, 22) != 0x20) { in ff_intel_h263_decode_picture_header() 40 s->picture_number = get_bits(&s->gb, 8); /* picture timestamp */ in ff_intel_h263_decode_picture_header() 42 if (check_marker(s->avctx, &s->gb, "after picture_number") != 1) { in ff_intel_h263_decode_picture_header() 45 if (get_bits1(&s->gb) != 0) { in ff_intel_h263_decode_picture_header() 49 skip_bits1(&s->gb); /* split screen off */ in ff_intel_h263_decode_picture_header() 50 skip_bits1(&s->gb); /* camera off */ in ff_intel_h263_decode_picture_header() 51 skip_bits1(&s->gb); /* freeze picture release off */ in ff_intel_h263_decode_picture_header() 53 format = get_bits(&s->gb, 3); in ff_intel_h263_decode_picture_header() 60 s->pict_type = AV_PICTURE_TYPE_I + get_bits1(&s->gb); in ff_intel_h263_decode_picture_header() [all …]
|
D | mpeg4videodec.c | 129 int bits_count = get_bits_count(&s->gb); in mpeg4_is_resync() 130 int v = show_bits(&s->gb, 16); in mpeg4_is_resync() 139 skip_bits(&s->gb, 8 + s->pict_type); in mpeg4_is_resync() 141 v = show_bits(&s->gb, 16); in mpeg4_is_resync() 144 if (bits_count + 8 >= s->gb.size_in_bits) { in mpeg4_is_resync() 154 GetBitContext gb = s->gb; in mpeg4_is_resync() local 156 skip_bits(&s->gb, 1); in mpeg4_is_resync() 157 align_get_bits(&s->gb); in mpeg4_is_resync() 160 if (get_bits1(&s->gb)) in mpeg4_is_resync() 163 mb_num = get_bits(&s->gb, mb_num_bits); in mpeg4_is_resync() [all …]
|
D | ituh263dec.c | 80 s->gb.size_in_bits, 1-s->no_rounding, in ff_h263_show_pict_info() 145 mb_pos = get_bits(&s->gb, ff_mba_length[i]); in ff_h263_decode_mba() 162 val = show_bits(&s->gb, 16); in h263_decode_gob_header() 167 skip_bits(&s->gb, 16); /* Drop the zeros */ in h263_decode_gob_header() 168 left= get_bits_left(&s->gb); in h263_decode_gob_header() 172 if(get_bits1(&s->gb)) break; /* Seek the '1' bit */ in h263_decode_gob_header() 178 if(check_marker(s->avctx, &s->gb, "before MBA")==0) in h263_decode_gob_header() 184 if(check_marker(s->avctx, &s->gb, "after MBA")==0) in h263_decode_gob_header() 187 s->qscale = get_bits(&s->gb, 5); /* SQUANT */ in h263_decode_gob_header() 188 if(check_marker(s->avctx, &s->gb, "after SQUANT")==0) in h263_decode_gob_header() [all …]
|
D | atrac3plus.c | 126 static int num_coded_units(GetBitContext *gb, Atrac3pChanParams *chan, in num_coded_units() argument 129 chan->fill_mode = get_bits(gb, 2); in num_coded_units() 133 chan->num_coded_vals = get_bits(gb, 5); in num_coded_units() 141 chan->split_point = get_bits(gb, 2) + (chan->ch_num << 1) + 1; in num_coded_units() 226 #define UNPACK_SF_VQ_SHAPE(gb, dst, num_vals) \ argument 227 start_val = get_bits((gb), 6); \ 228 unpack_vq_shape(start_val, &atrac3p_sf_shapes[get_bits((gb), 6)][0], \ 240 static int decode_channel_wordlen(GetBitContext *gb, Atrac3pChanUnitCtx *ctx, in decode_channel_wordlen() argument 251 switch (get_bits(gb, 2)) { /* switch according to coding mode */ in decode_channel_wordlen() 254 chan->qu_wordlen[i] = get_bits(gb, 3); in decode_channel_wordlen() [all …]
|
D | snappy.c | 34 static int64_t bytestream2_get_levarint(GetByteContext *gb) in bytestream2_get_levarint() argument 41 tmp = bytestream2_get_byte(gb); in bytestream2_get_levarint() 51 static int snappy_literal(GetByteContext *gb, uint8_t *p, int size, int val) in snappy_literal() argument 57 len += bytestream2_get_le32(gb); in snappy_literal() 60 len += bytestream2_get_le24(gb); in snappy_literal() 63 len += bytestream2_get_le16(gb); in snappy_literal() 66 len += bytestream2_get_byte(gb); in snappy_literal() 75 bytestream2_get_buffer(gb, p, len); in snappy_literal() 96 static int snappy_copy1(GetByteContext *gb, uint8_t *start, uint8_t *p, in snappy_copy1() argument 100 unsigned int off = bytestream2_get_byte(gb) | (val & 0x38) << 5; in snappy_copy1() [all …]
|
D | mlp_parse.c | 86 int ff_mlp_read_major_sync(void *log, MLPHeaderInfo *mh, GetBitContext *gb) in ff_mlp_read_major_sync() argument 91 av_assert1(get_bits_count(gb) == 0); in ff_mlp_read_major_sync() 93 header_size = mlp_get_major_sync_size(gb->buffer, gb->size_in_bits >> 3); in ff_mlp_read_major_sync() 94 if (header_size < 0 || gb->size_in_bits < header_size << 3) { in ff_mlp_read_major_sync() 99 checksum = ff_mlp_checksum16(gb->buffer, header_size - 2); in ff_mlp_read_major_sync() 100 if (checksum != AV_RL16(gb->buffer+header_size-2)) { in ff_mlp_read_major_sync() 105 if (get_bits(gb, 24) != 0xf8726f) /* Sync words */ in ff_mlp_read_major_sync() 108 mh->stream_type = get_bits(gb, 8); in ff_mlp_read_major_sync() 112 mh->group1_bits = mlp_quants[get_bits(gb, 4)]; in ff_mlp_read_major_sync() 113 mh->group2_bits = mlp_quants[get_bits(gb, 4)]; in ff_mlp_read_major_sync() [all …]
|
/third_party/ffmpeg/libavformat/ |
D | hevc.c | 126 static void hvcc_parse_ptl(GetBitContext *gb, in hvcc_parse_ptl() argument 135 general_ptl.profile_space = get_bits(gb, 2); in hvcc_parse_ptl() 136 general_ptl.tier_flag = get_bits1(gb); in hvcc_parse_ptl() 137 general_ptl.profile_idc = get_bits(gb, 5); in hvcc_parse_ptl() 138 general_ptl.profile_compatibility_flags = get_bits_long(gb, 32); in hvcc_parse_ptl() 139 general_ptl.constraint_indicator_flags = get_bits64(gb, 48); in hvcc_parse_ptl() 140 general_ptl.level_idc = get_bits(gb, 8); in hvcc_parse_ptl() 144 sub_layer_profile_present_flag[i] = get_bits1(gb); in hvcc_parse_ptl() 145 sub_layer_level_present_flag[i] = get_bits1(gb); in hvcc_parse_ptl() 150 skip_bits(gb, 2); // reserved_zero_2bits[i] in hvcc_parse_ptl() [all …]
|
D | av1.c | 123 static inline void uvlc(GetBitContext *gb) in uvlc() argument 127 while (get_bits_left(gb)) { in uvlc() 128 if (get_bits1(gb)) in uvlc() 136 skip_bits_long(gb, leading_zeros); in uvlc() 139 static int parse_color_config(AV1SequenceParameters *seq_params, GetBitContext *gb) in parse_color_config() argument 142 int high_bitdepth = get_bits1(gb); in parse_color_config() 144 twelve_bit = get_bits1(gb); in parse_color_config() 151 seq_params->monochrome = get_bits1(gb); in parse_color_config() 153 seq_params->color_description_present_flag = get_bits1(gb); in parse_color_config() 155 seq_params->color_primaries = get_bits(gb, 8); in parse_color_config() [all …]
|
/third_party/gstreamer/gstplugins_bad/gst/gaudieffects/ |
D | gstgaussblur.c | 116 static gboolean make_gaussian_kernel (GstGaussianBlur * gb, float sigma); 117 static void gaussian_smooth (GstGaussianBlur * gb, guint8 * image, 166 GstGaussianBlur *gb = GST_GAUSSIANBLUR (filter); in gst_gaussianblur_set_info() local 169 gb->width = GST_VIDEO_INFO_WIDTH (in_info); in gst_gaussianblur_set_info() 170 gb->height = GST_VIDEO_INFO_HEIGHT (in_info); in gst_gaussianblur_set_info() 173 gb->stride = GST_VIDEO_INFO_COMP_STRIDE (in_info, 0); in gst_gaussianblur_set_info() 174 n_elems = gb->stride * gb->height; in gst_gaussianblur_set_info() 175 gb->tempim = g_malloc (sizeof (gfloat) * n_elems); in gst_gaussianblur_set_info() 181 gst_gaussianblur_init (GstGaussianBlur * gb) in gst_gaussianblur_init() argument 183 gb->sigma = (gfloat) DEFAULT_SIGMA; in gst_gaussianblur_init() [all …]
|
/third_party/boost/libs/multiprecision/test/ |
D | test_cpp_bin_float.cpp | 349 good_type gb = ldexp(good_type(0.99), -std::numeric_limits<good_type>::digits); in test_special_cases() local 350 BOOST_CHECK_EQUAL(good_type(test_type(a - b)), good_type(ga - gb)); in test_special_cases() 351 BOOST_CHECK_EQUAL(good_type(test_type(b - a)), good_type(gb - ga)); in test_special_cases() 352 BOOST_CHECK_EQUAL(good_type(test_type(a + b)), good_type(ga + gb)); in test_special_cases() 353 BOOST_CHECK_EQUAL(good_type(test_type(b + a)), good_type(gb + ga)); in test_special_cases() 355 BOOST_CHECK_EQUAL(good_type(test_type(a - -b)), good_type(ga - -gb)); in test_special_cases() 356 BOOST_CHECK_EQUAL(good_type(test_type(b - -a)), good_type(gb - -ga)); in test_special_cases() 357 BOOST_CHECK_EQUAL(good_type(test_type(a + -b)), good_type(ga + -gb)); in test_special_cases() 358 BOOST_CHECK_EQUAL(good_type(test_type(b + -a)), good_type(gb + -ga)); in test_special_cases() 360 BOOST_CHECK_EQUAL(good_type(test_type(-a - b)), good_type(-ga - gb)); in test_special_cases() [all …]
|