#undef dout_prefix
#define dout_prefix *_dout << "auth: "
-using namespace std;
-
int KeyRing::from_ceph_context(CephContext *cct)
{
const md_config_t *conf = cct->_conf;
#include <sys/utsname.h>
#include <iostream>
#include <string>
-using namespace std;
#include "common/config.h"
#include "common/errno.h"
#include <iostream>
#include <string>
-using namespace std;
#include "include/ceph_features.h"
#include "include/compat.h"
#include <iostream>
#include <string>
-using namespace std;
#include "common/config.h"
#include "include/ceph_features.h"
#include <sys/stat.h>
#include <iostream>
#include <string>
-using namespace std;
#include "common/config.h"
#include <iostream>
#include <sstream>
-using namespace std;
#include "common/config.h"
typedef boost::icl::interval<uint64_t>::type barrier_interval;
-using namespace std;
/*
* we keep count of uncommitted writes on the inode, so that
#include "Readahead.h"
-using namespace std;
Readahead::Readahead()
: m_trigger_requests(10),
#include "common/address_helper.h"
#include "boost/regex.hpp"
-using namespace std;
// decode strings like "tcp://<host>:<port>"
int entity_addr_from_url(entity_addr_t *addr /* out */, const char *url)
#include "include/uuid.h"
#include "blkdev.h"
-using namespace std;
#ifdef __linux__
#include <linux/fs.h>
#include <fstream>
#include <include/types.h>
-using namespace std;
using namespace json_spirit;
#define dout_subsys ceph_subsys_rgw
#include "json_spirit/json_spirit.h"
#include "common/debug.h"
-using namespace std;
/**
* Given a cmddesc like "foo baz name=bar,type=CephString",
#define dout_subsys ceph_subsys_
-using namespace std;
namespace ceph {
::decode(s.arg2, p);
}
-using namespace std;
class CrushWrapper {
public:
// magic value used by OSDMap for a "default" fallback choose_args, used if
#include "crush/CrushWrapper.h"
#include "osd/osd_types.h"
-using namespace std;
const unsigned ErasureCode::SIMD_ALIGN = 32;
#include "common/debug.h"
#include "ErasureCodeJerasure.h"
-using namespace std;
extern "C" {
#include "jerasure.h"
#define CEPH_DISTRIBUTION_H
#include <vector>
-using namespace std;
class Distribution {
vector<float> p;
#include <iosfwd>
#include <string>
#include <vector>
-using namespace std;
#include "buffer.h"
#include "encoding.h"
*/
#include <map>
-using namespace std;
//typedef int T;
#include <iostream>
#include <iomanip>
-using namespace std;
#include "include/unordered_map.h"
#include <stdlib.h>
#include <iterator>
-using namespace std;
using ceph::bufferlist;
bool index_data::is_timed_out(utime_t now, utime_t timeout) const {
#include <sstream>
#include <stdarg.h>
-using namespace std;
using ceph::bufferlist;
enum {
#include "include/encoding.h"
#include "key_value_store/kv_flat_btree_async.h"
-using namespace std;
using ceph::bufferlist;
struct assert_size_args {
#include <blkid/blkid.h>
#include <libudev.h>
-using namespace std;
const static int POLL_TIMEOUT=120000;
#include "perfglue/heap_profiler.h"
-using namespace std;
#include "common/config.h"
#include "include/assert.h"
#include <list>
#include <iostream>
-using namespace std;
#include "common/config.h"
#include "OSDHealthMetricCollector.h"
-using namespace std;
ostream& operator<<(ostream& os,
const OSDHealthMetricCollector::DaemonKey& daemon) {
#include <map>
#include <set>
-using namespace std;
#include "include/ceph_features.h"
#include "include/types.h"
#define CEPH_MON_ELECTOR_H
#include <map>
-using namespace std;
#include "include/types.h"
#include "include/Context.h"
#include <map>
#include <set>
-using namespace std;
#include "include/types.h"
#include "PaxosService.h"
#include <map>
#include <set>
-using namespace std;
#include "include/types.h"
#include "mds/FSMap.h"
#include <map>
#include <set>
-using namespace std;
#include "include/types.h"
#include "msg/Messenger.h"
#include <map>
#include <set>
-using namespace std;
#include "include/types.h"
#include "common/simple_cache.hpp"
#endif
#include <iostream>
-using namespace std;
#include "include/types.h"
#define CEPH_MESSENGER_H
#include <map>
-using namespace std;
#include "Message.h"
#include "Dispatcher.h"
#include <list>
#include <mutex>
#include <map>
-using namespace std;
#include "auth/AuthSessionHandler.h"
#include "common/ceph_time.h"
#include <map>
#include <mutex>
-using namespace std;
#include "include/types.h"
#include "include/xlist.h"
#include <list>
#include <map>
-using namespace std;
#include "include/types.h"
#include "include/xlist.h"
#include <atomic>
#include <fstream>
-using namespace std;
#include <boost/scoped_ptr.hpp>
#include <map>
#include <memory>
#include "include/memory.h"
-using namespace std;
#include "include/unordered_map.h"
#include <map>
#include "include/memory.h"
#include "include/btree_map.h"
-using namespace std;
// forward declaration
class CephContext;
#include <stack>
#include <string>
#include <tuple>
-using namespace std;
//#define DEBUG_RECOVERY_OIDS // track set of recovering oids explicitly, to find counting bugs
//#define PG_DEBUG_REFS // track provenance of pg refs, helpful for finding leaks
#include "osd_types.h"
#include "os/ObjectStore.h"
#include <list>
-using namespace std;
#define PGLOG_INDEXED_OBJECTS (1 << 0)
#define PGLOG_INDEXED_CALLER_OPS (1 << 1)
#include "messages/MOSDOp.h"
#include "osd/OSDMap.h"
-using namespace std;
class Context;
class Messenger;
#define dout_context g_ceph_context
-using namespace std;
using namespace rbd_replay;
extern "C"
#define dout_context g_ceph_context
-using namespace std;
using namespace rbd_replay;
namespace {
#define dout_context g_ceph_context
using namespace rbd_replay;
-using namespace std;
namespace {
#include "ImageNameMap.hpp"
-using namespace std;
using namespace rbd_replay;
#define dout_subsys ceph_subsys_rgw
-using namespace std;
void RGWAccessControlList::_add_grant(ACLGrant *grant)
{
#define dout_subsys ceph_subsys_rgw
-using namespace std;
#define RGW_URI_ALL_USERS "http://acs.amazonaws.com/groups/global/AllUsers"
#define dout_subsys ceph_subsys_rgw
-using namespace std;
#define SWIFT_PERM_READ RGW_PERM_READ_OBJS
#define SWIFT_PERM_WRITE RGW_PERM_WRITE_OBJS
#include "rgw_role.h"
#include "rgw_reshard.h"
-using namespace std;
#define dout_context g_ceph_context
#define dout_subsys ceph_subsys_rgw
#define BUCKET_TAG_TIMEOUT 30
-using namespace std;
static RGWMetadataHandler *bucket_meta_handler = NULL;
static RGWMetadataHandler *bucket_instance_meta_handler = NULL;
#define dout_subsys ceph_subsys_rgw
-using namespace std;
int ObjectCache::get(string& name, ObjectCacheInfo& info, uint32_t mask, rgw_cache_entry_info *cache_info)
{
#define dout_context g_ceph_context
#define dout_subsys ceph_subsys_rgw
-using namespace std;
void RGWCORSRule::dump_origins() {
unsigned num_origins = allowed_origins.size();
#define dout_context g_ceph_context
#define dout_subsys ceph_subsys_rgw
-using namespace std;
void RGWCORSRule_S3::to_xml(XMLFormatter& f) {
#include "common/ceph_json.h"
#include "rgw_es_query.h"
-using namespace std;
int main(int argc, char *argv[])
{
#include "rgw_common.h"
#include "rgw_es_query.h"
-using namespace std;
#define dout_context g_ceph_context
#define dout_subsys ceph_subsys_rgw
#define dout_context g_ceph_context
#define dout_subsys ceph_subsys_rgw
-using namespace std;
using namespace librados;
static string gc_oid_prefix = "gc";
#define dout_subsys ceph_subsys_rgw
-using namespace std;
void dump_array(JSONObj *obj)
{
"COMPLETE"
};
-using namespace std;
using namespace librados;
bool LCRule::valid()
#define dout_subsys ceph_subsys_rgw
-using namespace std;
bool LCExpiration_S3::xml_end(const char * el) {
LCDays_S3 *lc_days = static_cast<LCDays_S3 *>(find_first("Days"));
#define dout_subsys ceph_subsys_rgw
-using namespace std;
static sig_t sighandler_alrm;
#define dout_subsys ceph_subsys_rgw
-using namespace std;
bool RGWMultiPart::xml_end(const char *el)
#define dout_subsys ceph_subsys_rgw
-using namespace std;
bool RGWMultiDelObject::xml_end(const char *el)
#define dout_subsys ceph_subsys_rgw
-using namespace std;
int main(int argc, char **argv) {
RGWMultiXMLParser parser;
#include <sstream>
#include <string>
-using namespace std;
#include "auth/Crypto.h"
#include <sstream>
#include <string>
-using namespace std;
#include "auth/Crypto.h"
#define dout_context g_ceph_context
#define dout_subsys ceph_subsys_rgw
-using namespace std;
using namespace librados;
using ceph::crypto::MD5;
using boost::optional;
#include <string>
-using namespace std;
#include "common/config.h"
#include "common/Formatter.h"
#define dout_context g_ceph_context
#define dout_subsys ceph_subsys_rgw
-using namespace std;
static string notify_oid_prefix = "notify";
static string *notify_oids = NULL;
const string reshard_lock_name = "reshard_process";
const string bucket_instance_lock_name = "bucket_instance_lock";
-using namespace std;
#define RESHARD_SHARD_WINDOW 64
#define RESHARD_MAX_AIO 128
#define dout_subsys ceph_subsys_rgw
-using namespace std;
const string RGWRole::role_name_oid_prefix = "role_names.";
const string RGWRole::role_oid_prefix = "roles.";
#include "rgw_sync_trace.h"
#include "rgw_rados.h"
-using namespace std;
#define dout_context g_ceph_context
#define dout_subsys ceph_subsys_rgw_sync
#define dout_subsys ceph_subsys_rgw
-using namespace std;
using ceph::crypto::MD5;
using namespace librados;
using namespace boost;
#include "rgw_usage.h"
#include "rgw_formats.h"
-using namespace std;
static void dump_usage_categories_info(Formatter *formatter, const rgw_usage_log_entry& entry, map<string, bool> *categories)
#define dout_subsys ceph_subsys_rgw
-using namespace std;
static RGWMetadataHandler *user_meta_handler = NULL;
#include "include/types.h"
#include "rgw_website.h"
-using namespace std;
bool RGWBWRoutingRuleCondition::check_key_condition(const string& key) {
#define dout_subsys ceph_subsys_rgw
-using namespace std;
XMLObjIter::
XMLObjIter()
#include "os/bluestore/BlueStore.h"
#endif
-using namespace std;
class StoreTool
{
#include "crush/CrushCompiler.h"
namespace po = boost::program_options;
-using namespace std;
class TraceIter {
int fd;
#include "include/util.h"
namespace po = boost::program_options;
-using namespace std;
#ifdef INTERNAL_TEST
CompatSet get_test_compat_set() {
#include "kv/KeyValueDB.h"
namespace po = boost::program_options;
-using namespace std;
int main(int argc, char **argv) {
po::options_description desc("Allowed options");
#define dout_context g_ceph_context
#define dout_subsys ceph_subsys_crush
-using namespace std;
const char *infn = "stdin";
#include "include/str_list.h"
#include "mon/MonMap.h"
-using namespace std;
void usage()
{
#include "global/global_init.h"
#include "osd/OSDMap.h"
-using namespace std;
void usage()
{