#include <gc_aligned_alloc.h>
#include <stdlib.h>
#include <stdexcept>
+#include <string.h>
// custom deleter of anything that can be freed with "free"
class free_deleter {
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
+#include <string.h>
static const size_t CACHE_LINE_SIZE = 128;
#include <stdio.h>
#include <time.h>
#include <errno.h>
+#include <string.h>
#include <malloc.h>
#include <stdio.h>
#include <stdlib.h> // random, posix_memalign
#include <algorithm>
+#include <string.h>
typedef boost::shared_ptr<void> void_sptr;
#include <gr_firdes.h>
#include <iostream>
+#include <string.h>
gr_fft_filter_ccc_sptr gr_make_fft_filter_ccc (int decimation, const std::vector<gr_complex> &taps)
{
#include <gr_firdes.h>
#include <iostream>
+#include <string.h>
gr_fft_filter_fff_sptr gr_make_fft_filter_fff (int decimation, const std::vector<float> &taps)
{
#include <cppunit/TestAssert.h>
#include <random.h>
#include <malloc16.h>
+#include <string.h>
using std::vector;
#include <cppunit/TestAssert.h>
#include <random.h>
#include <malloc16.h>
+#include <string.h>
using std::vector;
#include <gr_types.h>
#include <cppunit/TestAssert.h>
#include <random.h>
+#include <string.h>
using std::vector;
#include <cmath>
#include <cppunit/TestAssert.h>
#include <random.h>
+#include <string.h>
using std::vector;
#include <gr_io_signature.h>
#include <assert.h>
#include <stdexcept>
+#include <string.h>
//define ALIGN_ADVANCED_IMPLEMENTATION to have an alternative implementation of the align algoritm which exactly follows the align_interval spec.
//It is more resource intensive, less tested and probably not needed
#include <gr_bin_statistics_f.h>
#include <gr_io_signature.h>
+#include <string.h>
gr_bin_statistics_f_sptr
gr_make_bin_statistics_f(unsigned int vlen,
#include <stdlib.h>
#include <algorithm>
+#include <stdio.h>
+#include <string.h>
static const int HEADER_SIZE = 4096;
static const int HEADER_MAGIC = 0xEB021026;
#include <gr_delay.h>
#include <gr_io_signature.h>
+#include <string.h>
gr_delay_sptr
gr_make_delay (size_t itemsize, int delay)
#include <gr_io_signature.h>
#include <string.h>
#include <stdexcept>
+#include <string.h>
static const int PAD_VAL = 0xAA;
#include <gr_io_signature.h>
#include <gri_fft.h>
#include <math.h>
+#include <string.h>
gr_fft_vcc_sptr
gr_make_fft_vcc (int fft_size, bool forward,const std::vector<float> &window, bool shift)
#include <gr_io_signature.h>
#include <gri_fft.h>
#include <math.h>
+#include <string.h>
gr_fft_vcc_sptr
gr_make_fft_vcc_fftw (int fft_size, bool forward, const std::vector<float> &window, bool shift)
#include <gri_fft.h>
#include <math.h>
#include <stdexcept>
+#include <string.h>
// FIXME after this is working, change to use native real to complex fft.
#include <gr_io_signature.h>
#include <cstdio>
#include <stdexcept>
+#include <string.h>
#define VERBOSE 0
#endif
#include <gr_head.h>
#include <gr_io_signature.h>
+#include <string.h>
gr_head::gr_head (size_t sizeof_stream_item, int nitems)
: gr_sync_block ("head",
#include <gr_keep_one_in_n.h>
#include <gr_io_signature.h>
+#include <string.h>
gr_keep_one_in_n_sptr
gr_make_keep_one_in_n (size_t item_size, int n)
template<unsigned int k> static inline int gr_log2_const() { assert(0); return 0; }
-template<> static inline int gr_log2_const<1>() { return 0; }
-template<> static inline int gr_log2_const<2>() { return 1; }
-template<> static inline int gr_log2_const<4>() { return 2; }
-template<> static inline int gr_log2_const<8>() { return 3; }
-template<> static inline int gr_log2_const<16>() { return 4; }
-template<> static inline int gr_log2_const<32>() { return 5; }
-template<> static inline int gr_log2_const<64>() { return 6; }
-template<> static inline int gr_log2_const<128>() { return 7; }
-template<> static inline int gr_log2_const<256>() { return 8; }
-template<> static inline int gr_log2_const<512>() { return 9; }
-template<> static inline int gr_log2_const<1024>(){ return 10; }
+template<> inline int gr_log2_const<1>() { return 0; }
+template<> inline int gr_log2_const<2>() { return 1; }
+template<> inline int gr_log2_const<4>() { return 2; }
+template<> inline int gr_log2_const<8>() { return 3; }
+template<> inline int gr_log2_const<16>() { return 4; }
+template<> inline int gr_log2_const<32>() { return 5; }
+template<> inline int gr_log2_const<64>() { return 6; }
+template<> inline int gr_log2_const<128>() { return 7; }
+template<> inline int gr_log2_const<256>() { return 8; }
+template<> inline int gr_log2_const<512>() { return 9; }
+template<> inline int gr_log2_const<1024>(){ return 10; }
#endif /* INCLUDED_GR_LOG2_CONST_H */
#include <gr_null_source.h>
#include <gr_io_signature.h>
+#include <string.h>
gr_null_source::gr_null_source (size_t sizeof_stream_item)
: gr_sync_block ("null_source",
#include <gr_ofdm_bpsk_mapper.h>
#include <gr_io_signature.h>
#include <stdexcept>
+#include <string.h>
gr_ofdm_bpsk_mapper_sptr
gr_make_ofdm_bpsk_mapper (unsigned int msgq_limit,
#include <cstdio>
#include <stdexcept>
#include <iostream>
+#include <string.h>
#define VERBOSE 0
#include <gr_io_signature.h>
#include <stdexcept>
#include <iostream>
+#include <string.h>
gr_ofdm_insert_preamble_sptr
gr_make_ofdm_insert_preamble(int fft_length,
#include <gr_ofdm_mapper_bcv.h>
#include <gr_io_signature.h>
#include <stdexcept>
+#include <string.h>
gr_ofdm_mapper_bcv_sptr
gr_make_ofdm_mapper_bcv (const std::vector<gr_complex> &constellation, unsigned int msgq_limit,
#include <gr_ofdm_qam_mapper.h>
#include <gr_io_signature.h>
#include <stdexcept>
+#include <string.h>
gr_ofdm_qam_mapper_sptr
gr_make_ofdm_qam_mapper (unsigned int msgq_limit,
#include <gr_ofdm_qpsk_mapper.h>
#include <gr_io_signature.h>
#include <stdexcept>
+#include <string.h>
gr_ofdm_qpsk_mapper_sptr
gr_make_ofdm_qpsk_mapper (unsigned int msgq_limit,
#include <fcntl.h>
#include <stdexcept>
#include <gr_count_bits.h>
+#include <string.h>
#define VERBOSE 0
#include <gr_peak_detector2_fb.h>
#include <gr_io_signature.h>
+#include <string.h>
gr_peak_detector2_fb_sptr
gr_make_peak_detector2_fb (float threshold_factor_rise,
#include <gr_repeat.h>
#include <gr_io_signature.h>
+#include <string.h>
gr_repeat_sptr
gr_make_repeat(size_t itemsize, int interp)
#include <assert.h>
#include <stdexcept>
#include <gr_count_bits.h>
+#include <string.h>
static const int THRESHOLD = 3;
#include <gr_io_signature.h>
#include <assert.h>
#include <stdexcept>
+#include <string.h>
gr_simple_framer_sptr
#endif
#include <gr_skiphead.h>
#include <gr_io_signature.h>
+#include <string.h>
gr_skiphead::gr_skiphead (size_t itemsize, size_t nitems_to_skip)
: gr_block ("skiphead",
#include <gr_stream_mux.h>
#include <gr_io_signature.h>
+#include <string.h>
#define VERBOSE 0
#include <gr_stream_to_streams.h>
#include <gr_io_signature.h>
+#include <string.h>
gr_stream_to_streams_sptr
gr_make_stream_to_streams (size_t item_size, size_t nstreams)
#include <gr_stream_to_vector.h>
#include <gr_io_signature.h>
+#include <string.h>
gr_stream_to_vector_sptr
gr_make_stream_to_vector (size_t item_size, size_t nitems_per_block)
#include <gr_streams_to_stream.h>
#include <gr_io_signature.h>
+#include <string.h>
gr_streams_to_stream_sptr
gr_make_streams_to_stream (size_t item_size, size_t nstreams)
#include <gr_streams_to_vector.h>
#include <gr_io_signature.h>
+#include <string.h>
gr_streams_to_vector_sptr
gr_make_streams_to_vector (size_t item_size, size_t nstreams)
#include <gr_io_signature.h>
#include <stdexcept>
#include <iostream>
+#include <string.h>
gr_test_sptr gr_make_test (const std::string &name,
int min_inputs, int max_inputs, unsigned int sizeof_input_item,
#include <errno.h>
#include <stdio.h>
#include <math.h>
+#include <string.h>
#ifdef HAVE_TIME_H
#include <time.h>
#endif
#include <gr_vector_to_stream.h>
#include <gr_io_signature.h>
+#include <string.h>
gr_vector_to_stream_sptr
gr_make_vector_to_stream (size_t item_size, size_t nitems_per_block)
#include <gr_vector_to_streams.h>
#include <gr_io_signature.h>
+#include <string.h>
gr_vector_to_streams_sptr
gr_make_vector_to_streams (size_t item_size, size_t nstreams)
#include "malloc16.h"
#include <string.h>
+#include <strings.h>
void *malloc16Align(int size){
void *p;
#include <gr_io_signature.h>
#include <assert.h>
#include <iostream>
+#include <string.h>
@SPTR_NAME@
gr_make_@BASE_NAME@ (const std::vector<@O_TYPE@> &symbol_table, const int D)
#include <@NAME@.h>
#include <gr_io_signature.h>
+#include <string.h>
@SPTR_NAME@
gr_make_@BASE_NAME@ (float threshold_factor_rise,
#include <sys/stat.h>
#include <fcntl.h>
#include <stdexcept>
+#include <stdio.h>
gr_file_descriptor_sink::gr_file_descriptor_sink (size_t itemsize, int fd)
#include <sys/stat.h>
#include <fcntl.h>
#include <stdexcept>
+#include <stdio.h>
+#include <string.h>
gr_file_descriptor_source::gr_file_descriptor_source (size_t itemsize,
#include <sys/stat.h>
#include <fcntl.h>
#include <stdexcept>
+#include <stdio.h>
// win32 (mingw/msvc) specific
#ifdef HAVE_IO_H
#include <sys/stat.h>
#include <fcntl.h>
#include <stdexcept>
+#include <stdio.h>
// win32 (mingw/msvc) specific
#ifdef HAVE_IO_H
#include <sys/stat.h>
#include <fcntl.h>
#include <stdexcept>
+#include <string.h>
// public constructor that returns a shared_ptr
#include <sys/stat.h>
#include <fcntl.h>
#include <stdexcept>
+#include <string.h>
// public constructor that returns a shared_ptr
#include <stdexcept>
#if defined(HAVE_SOCKET)
#include <netdb.h>
+#include <stdio.h>
typedef void* optval_t;
#else
#define SHUT_RDWR 2
#include <gr_io_signature.h>
#include <stdexcept>
#include <errno.h>
+#include <stdio.h>
+#include <string.h>
#if defined(HAVE_SOCKET)
#include <netdb.h>
typedef void* optval_t;
#include <stdarg.h>
#include <stdexcept>
#include <boost/weak_ptr.hpp>
+#include <string.h>
/*
#endif
#include <string.h>
+#include <strings.h>
#define NULL ((void *)0)
#define min(a,b) ((a) < (b) ? (a) : (b))
* May be used under the terms of the GNU General Public License (GPL)
*/
#include <string.h>
+#include <strings.h>
#ifdef FIXED
#include "fixed.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <strings.h>
#ifdef FIXED
#include "fixed.h"
#include <gr_dispatcher.h>
#include <math.h>
#include <errno.h>
+#include <stdio.h>
#ifdef HAVE_SELECT
# ifdef HAVE_SYS_SELECT_H
#include <assert.h>
#include <stdexcept>
#include <unistd.h>
+#include <stdio.h>
#ifdef HAVE_IO_H
#include <io.h>
#include <gr_local_sighandler.h>
#include <stdexcept>
#include <stdio.h>
+#include <string.h>
gr_local_sighandler::gr_local_sighandler (int signum,
#endif
#include <gr_message.h>
#include <assert.h>
+#include <string.h>
static long s_ncurrently_allocated = 0;
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
+#include <string.h>
#ifdef MKDIR_TAKES_ONE_ARG
#elif defined(HAVE_PTHREAD_SETSCHEDPARAM)
#include <pthread.h>
+#include <stdio.h>
gr_rt_status_t
gr_enable_realtime_scheduling()
#include <gr_scheduler_thread.h>
#include <iostream>
+#include <stdio.h>
#ifdef HAVE_SIGNAL_H
#include <signal.h>
#include <stdexcept>
#include <gr_preferences.h>
#include <stdio.h>
+#include <string.h>
#include <gr_local_sighandler.h>
// all the factories we know about
#include <gr_pagesize.h>
#include <gr_tmp_path.h>
-
gr_vmcircbuf_mmap_tmpfile::gr_vmcircbuf_mmap_tmpfile (int size)
: gr_vmcircbuf (size)
{
#include <unistd.h>
#include <gr_nco.h>
#include <gr_fxpt_nco.h>
+#include <string.h>
#define ITERATIONS 20000000
#define BLOCK_SIZE (10 * 1000) // fits in cache
#include <unistd.h>
#include <gr_vco.h>
#include <gr_fxpt_vco.h>
+#include <string.h>
#define ITERATIONS 5000000
#define BLOCK_SIZE (10 * 1000) // fits in cache
#include <atsc_bit_timing_loop.h>
#include <gr_io_signature.h>
#include <atsc_consts.h>
+#include <string.h>
// Input rate changed from 20MHz to 19.2 to support usrp at 3 * 6.4MHz
float input_rate = 19.2e6;
#include <atsci_reed_solomon.h>
#include <assert.h>
+#include <string.h>
extern "C" {
#include "rs.h"
* the Free Software Foundation, Inc., 51 Franklin Street,
* Boston, MA 02110-1301, USA.
*/
+#include <string>
+#include <string.h>
+
#ifndef _ATSC_SLIDING_CORRELATOR_H_
#define _ATSC_SLIDING_CORRELATOR_H_
-#include <string>
-
extern const unsigned char atsc_pn511[511];
extern const unsigned char atsc_pn63[63];
#include <assert.h>
#include <atsci_diag_output.h>
#include <gr_math.h>
+#include <stdio.h>
/*
* ----------------------------------------------------------------
#include <atsci_trellis_encoder.h>
#include <assert.h>
#include <stdio.h>
+#include <string.h>
static const int DIBITS_PER_BYTE = 4;
#include <stdio.h>
#include <cmath>
#include "atsci_viterbi_mux.cc"
+#include <string.h>
/* How many separate Trellis encoders / Viterbi decoders run in parallel */
#include <interleaver_fifo.h>
#include <string.h>
+#include <strings.h>
/*!
* \brief template class for interleaver fifo
#include <cppunit/TestAssert.h>
#include <qa_atsci_data_interleaver.h>
+#include <string.h>
/*!
#include <cppunit/TestAssert.h>
#include <assert.h>
#include <iostream>
+#include <string.h>
using std::cerr;
using std::endl;
#include <atsci_fake_single_viterbi.h>
#include <qa_atsci_fake_single_viterbi.h>
#include <random.h>
+#include <string.h>
static const int NTRIALS = 50;
#include <qa_atsci_randomizer.h>
#include <cppunit/TestAssert.h>
+#include <string.h>
static unsigned int expected_initial_states[] = {
0x018f,
#include <stdio.h>
#include <atsci_reed_solomon.h>
#include <qa_atsci_reed_solomon.h>
+#include <string.h>
static const int NROOTS = 20;
#include <atsci_single_viterbi.h>
#include <qa_atsci_single_viterbi.h>
#include <random.h>
+#include <string.h>
static const int NTRIALS = 50;
#include <string.h>
#include <stdlib.h>
#include <time.h>
+#include <string.h>
#define NELEM(x) (sizeof (x) / sizeof (x[0]))
#include <stdexcept>
#include <gri_portaudio.h>
#include <omnithread.h>
+#include <string.h>
#define LOGGING 0 // define to 0 or 1
#include <stdexcept>
#include <gri_portaudio.h>
#include <omnithread.h>
+#include <string.h>
#define LOGGING 0 // define to 0 or 1
#include <cvsd_decode_bs.h>
#include <gr_io_signature.h>
+#include <limits.h>
/*
* Create a new instance of cvsd_decode_bs and return
#include <cvsd_encode_sb.h>
#include <gr_io_signature.h>
+#include <limits.h>
/*
* Create a new instance of cvsd_encode_sb and return
#include <math.h>
#include <assert.h>
#include <stdexcept>
+#include <string.h>
#define MIN_FFT_SIZE 32
#include "private.h"
#include "gsm.h"
#include "proto.h"
+#include <string.h>
/*
* 4.2 FIXED POINT IMPLEMENTATION OF THE RPE-LTP CODER
#include "gsm.h"
#include "private.h"
#include "proto.h"
+#include <strings.h>
gsm gsm_create P0()
{
#include <fstream>
#include <stdexcept>
#include <cmath>
+#include <stdlib.h>
#include "base.h"
#include "fsm.h"
#define INCLUDED_TRELLIS_FSM_H
#include <vector>
+#include <iosfwd>
/*!
* \brief FSM class
#include <trellis_permutation.h>
#include <gr_io_signature.h>
#include <iostream>
+#include <string.h>
trellis_permutation_sptr
trellis_make_permutation (int K, const std::vector<int> &TABLE, int SYMS_PER_BLOCK, size_t NBYTES_INOUT)
#include <stdio.h>
#include <iostream>
#include <stdexcept>
+#include <string.h>
#include <stdio.h>
#include <iostream>
#include <stdexcept>
+#include <string.h>
#include "pmt_int.h"
#include <stdio.h>
#include <pmt_pool.h>
+#include <string.h>
static const int CACHE_LINE_SIZE = 64; // good guess
#include "usrp_prims.h"
#include "usrp_spi_defs.h"
+#include <string.h>
char *prog_name;
#include <qa_inband_packet_prims.h>
#include <cppunit/TestAssert.h>
#include <stdio.h>
+#include <string.h>
#include <usrp_inband_usb_packet.h> // will change on gigabit crossover
typedef usrp_inband_usb_packet transport_pkt;
#endif
#include <stdio.h>
+#include <string.h>
#include <iostream>
#include <usrp_inband_usb_packet.h>
#include <mb_mblock.h>
#include <usrp_bytesex.h>
#include <iostream>
#include <stdio.h>
+#include <string.h>
bool usrp_inband_usb_packet::align32()
{
#include <fpga_regs_common.h>
#include "usrp_standard.h"
#include <stdio.h>
+#include <string.h>
#include <ui_nco.h>
#include <fstream>
#include <mb_class_registry.h>
#include <vector>
#include <usrp_usb_interface.h>
+#include <string.h>
#include <symbols_usrp_server_cs.h>
#include <symbols_usrp_channel.h>
#include <symbols_usrp_rx.h>
#include <symbols_usrp_low_level_cs.h>
#include <symbols_usrp_interface_cs.h>
+
static pmt_t s_shutdown = pmt_intern("%shutdown");
typedef usrp_inband_usb_packet transport_pkt; // makes conversion to gigabit easy
#include <usb.h>
#include <assert.h>
#include <stdexcept>
+#include <string.h>
static const int MAX_BLOCK_SIZE = fusb_sysconfig::max_block_size();
static const int DEFAULT_BLOCK_SIZE = MAX_BLOCK_SIZE;
#include <assert.h>
#include <math.h>
#include <ad9862.h>
+#include <string.h>
using namespace ad9862;
#include <usrp_local_sighandler.h>
#include <stdexcept>
#include <stdio.h>
+#include <string.h>
usrp_local_sighandler::usrp_local_sighandler (int signum,
void (*new_handler)(int))
static char *default_fpga_filename = "std_2rxhb_2tx.rbf";
#include "std_paths.h"
+#include <stdio.h>
static char *
find_file (const char *filename, int hw_rev)
#endif
#include <stdio.h>
+#include <string.h>
/* Comment out all this code if we are using the GNU C Library, and are not
actually compiling the library itself. This code is part of the GNU C