APM:Libraries
|
Go to the source code of this file.
Functions | |
int | vsnprintf (char *str, size_t size, const char *fmt, va_list ap) |
int | snprintf (char *str, size_t size, const char *fmt,...) |
int | vasprintf (char **strp, const char *fmt, va_list ap) |
int | asprintf (char **strp, const char *fmt,...) |
int | vprintf (const char *fmt, va_list arg) |
int | printf (const char *fmt,...) |
int | scanf (const char *fmt,...) |
int | sscanf (const char *buf, const char *fmt,...) |
int | vsscanf (const char *buf, const char *s, va_list ap) |
void * | malloc (size_t size) |
void * | calloc (size_t nmemb, size_t size) |
void | free (void *ptr) |
Variables | |
int(* | vprintf_console_hook )(const char *fmt, va_list arg) |
int asprintf | ( | char ** | strp, |
const char * | fmt, | ||
... | |||
) |
Definition at line 91 of file stdio.c.
Referenced by Linux::PWM_Sysfs::_generate_duty_path(), Linux::PWM_Sysfs_Bebop::_generate_duty_path(), Linux::PWM_Sysfs::_generate_enable_path(), Linux::PWM_Sysfs_Bebop::_generate_enable_path(), Linux::PWM_Sysfs::_generate_export_path(), Linux::PWM_Sysfs::_generate_period_path(), Linux::PWM_Sysfs_Bebop::_generate_period_path(), Linux::PWM_Sysfs::_generate_polarity_path(), HALSITL::SITL_State::_parse_command_line(), SITL::JSBSim::create_templates(), Linux::I2CDeviceManager::get_device(), VRBRAIN::I2CDevice::I2CDevice(), PX4::I2CDevice::I2CDevice(), ChibiOS::I2CDevice::I2CDevice(), Linux::Led_Sysfs::init(), Linux::RCInput_Navio2::open_channel(), SITL::JSBSim::send_servos(), AnalogSource_Navio2::set_channel(), SITL::FlightAxis::soap_request(), VRBRAIN::SPIDevice::SPIDevice(), PX4::SPIDevice::SPIDevice(), ChibiOS::SPIDevice::SPIDevice(), and SITL::JSBSim::start_JSBSim().
void* calloc | ( | size_t | nmemb, |
size_t | size | ||
) |
Definition at line 76 of file malloc.c.
Referenced by Linux::OpticalFlow_Onboard::_run_optflow(), Linux::VideoIn::allocate_buffers(), AuxiliaryBus::AuxiliaryBus(), ByteBuffer::ByteBuffer(), AC_PolyFence_loader::create_point_array(), fdevopen(), AP_GPS::handle_gps_rtcm_data(), DataFlash_MAVLink::Init(), AP_SmartRTL::init(), AP_InertialSensor::BatchSampler::init(), ChibiOS::Util::malloc_type(), PX4::PX4Util::malloc_type(), VRBRAIN::VRBRAINUtil::malloc_type(), AP_HAL::Util::malloc_type(), Linux::Memory_table::Memory_table(), DataFlash_Class::msg_fmt_for_name(), new_file_descriptor(), operator new(), operator new[](), ByteBuffer::set_size(), CompassCalibrator::set_status(), AccelCalibrator::set_status(), ChibiOS::Util::try_alloc_from_ccm_ram(), and vasprintf().
void free | ( | void * | ptr | ) |
Definition at line 81 of file malloc.c.
Referenced by HALSITL::SITL_State::_gps_nmea_printf(), Linux::UARTDriver::_parseDevicePath(), Linux::OpticalFlow_Onboard::_run_optflow(), HALSITL::SITL_State::_set_param_default(), BM_Crop8bpp(), BM_YuyvToGrey(), SITL::FlightAxis::exchange_data(), free_file_descriptor(), VRBRAIN::VRBRAINUtil::free_type(), PX4::PX4Util::free_type(), F4Light::Util::free_type(), AP_HAL::Util::free_type(), Linux::I2CDeviceManager::get_device(), Linux::PWM_Sysfs_Base::init(), Linux::Led_Sysfs::init(), AP_SmartRTL::init(), AP_InertialSensor::BatchSampler::init(), AP_Param::load_embedded_param_defaults(), DataFlash_Class::msg_fmt_for_name(), new_file_descriptor(), Linux::RCInput_Navio2::open_channel(), operator delete(), operator delete[](), SITL::Aircraft::parse_home(), AP_Param::parse_param_line(), AP_BoardConfig::px4_start_driver(), SITL::JSBSim::send_servos(), AnalogSource_Navio2::set_channel(), ByteBuffer::set_size(), CompassCalibrator::set_status(), AccelCalibrator::set_status(), SITL::FlightAxis::soap_request(), AuxiliaryBus::~AuxiliaryBus(), ByteBuffer::~ByteBuffer(), PX4::I2CDevice::~I2CDevice(), VRBRAIN::I2CDevice::~I2CDevice(), ChibiOS::I2CDevice::~I2CDevice(), Linux::Memory_table::~Memory_table(), Linux::PWM_Sysfs_Base::~PWM_Sysfs_Base(), VRBRAIN::SPIDevice::~SPIDevice(), PX4::SPIDevice::~SPIDevice(), and ChibiOS::SPIDevice::~SPIDevice().
void* malloc | ( | size_t | size | ) |
Definition at line 61 of file malloc.c.
Referenced by BM_Crop8bpp(), BM_YuyvToGrey(), calloc(), F4Light::Util::malloc_type(), ChibiOS::DeviceBus::register_periodic_callback(), and F4Light::SPIDevice::transfer().
int snprintf | ( | char * | str, |
size_t | size, | ||
const char * | fmt, | ||
... | |||
) |
Definition at line 64 of file stdio.c.
Referenced by Linux::GPIO_Sysfs::_export_pin(), HALSITL::SITL_State::_gps_nmea_printf(), Linux::GPIO_Sysfs::_open_pin_value(), Linux::GPIO_Sysfs::_pinMode(), VRBRAIN::VRBRAINScheduler::_storage_thread(), PX4::PX4Scheduler::_storage_thread(), HALSITL::SITL_State::_update_gps_nmea(), VRBRAIN::DeviceBus::bus_thread(), PX4::DeviceBus::bus_thread(), PX4::PX4_I2C::do_transfer(), VRBRAIN::VRBRAIN_I2C::do_transfer(), AP_ADSB::get_encoded_callsign_null_char(), GCS_MAVLINK::init(), Linux::I2CBus::open(), Linux::SPIBus::open(), ChibiOS::DeviceBus::register_periodic_callback(), Linux::SPIDevice::register_periodic_callback(), Linux::I2CDevice::register_periodic_callback(), AP_Proximity_LightWareSF40C::send_request_for_distance(), AP_ADSB::set_callsign(), AP_Proximity_LightWareSF40C::set_forward_direction(), SITL::ADSB_Vehicle::update(), Display::update_battery(), Display::update_gps(), Display::update_mode(), and Display::update_text().
int sscanf | ( | const char * | buf, |
const char * | fmt, | ||
... | |||
) |
Definition at line 136 of file stdio.c.
Referenced by Linux::UtilRPI::_check_rpi_version(), dsm_decode(), Linux::I2CDeviceManager::get_device(), main(), and AP_Proximity_LightWareSF40C::process_reply().
int vasprintf | ( | char ** | strp, |
const char * | fmt, | ||
va_list | ap | ||
) |
Definition at line 76 of file stdio.c.
Referenced by HALSITL::SITL_State::_gps_nmea_printf(), asprintf(), fprintf(), and SITL::FlightAxis::soap_request().
int vprintf | ( | const char * | fmt, |
va_list | arg | ||
) |
Definition at line 100 of file stdio.c.
Referenced by AP_HAL::panic().
int vsnprintf | ( | char * | str, |
size_t | size, | ||
const char * | fmt, | ||
va_list | ap | ||
) |
Definition at line 34 of file stdio.c.
Referenced by AP_HAL::Util::snprintf(), snprintf(), and vasprintf().
int vsscanf | ( | const char * | buf, |
const char * | s, | ||
va_list | ap | ||
) |
int(* vprintf_console_hook) (const char *fmt, va_list arg) |
Definition at line 111 of file stdio.c.
Referenced by ChibiOS::UARTDriver::begin(), and printf().