Classes | Namespaces | Macros | Functions | Variables
common.cc File Reference
#include <google/protobuf/stubs/common.h>
#include <atomic>
#include <errno.h>
#include <sstream>
#include <stdio.h>
#include <vector>
#include <google/protobuf/stubs/callback.h>
#include <google/protobuf/stubs/logging.h>
#include <google/protobuf/stubs/mutex.h>
#include <google/protobuf/stubs/once.h>
#include <google/protobuf/stubs/status.h>
#include <google/protobuf/stubs/stringpiece.h>
#include <google/protobuf/stubs/strutil.h>
#include <google/protobuf/stubs/int128.h>
#include <google/protobuf/port_def.inc>
Include dependency graph for common.cc:

Go to the source code of this file.

Classes

struct  google::protobuf.internal::ShutdownData
 

Namespaces

 google
 
 google::protobuf
 
 google.protobuf.internal
 

Macros

#define DECLARE_STREAM_OPERATOR(TYPE, FORMAT)
 
#define GOOGLE_PROTOBUF_MIN_LOG_LEVEL   LOGLEVEL_INFO
 

Functions

void google.protobuf.internal::DefaultLogHandler (LogLevel level, const char *filename, int line, const string &message)
 
void PROTOBUF_EXPORT google::protobuf::DoNothing ()
 
uint32 google::protobuf::ghtonl (uint32 x)
 
void google.protobuf.internal::NullLogHandler (LogLevel, const char *, int, const string &)
 
void google.protobuf.internal::OnShutdown (void(*func)())
 
void google.protobuf.internal::OnShutdownRun (void(*f)(const void *), const void *arg)
 
static void google.protobuf.internal::RunZeroArgFunc (const void *arg)
 
LogHandler * google::protobuf::SetLogHandler (LogHandler *new_func)
 
void google::protobuf::ShutdownProtobufLibrary ()
 
void google.protobuf.internal::VerifyVersion (int headerVersion, int minLibraryVersion, const char *filename)
 
string google.protobuf.internal::VersionString (int version)
 

Variables

static LogHandler * google.protobuf.internal::log_handler_ = &DefaultLogHandler
 
static std::atomic< int > google.protobuf.internal::log_silencer_count_ = ATOMIC_VAR_INIT(0)
 

Macro Definition Documentation

◆ DECLARE_STREAM_OPERATOR

#define DECLARE_STREAM_OPERATOR (   TYPE,
  FORMAT 
)
Value:
/* 128 bytes should be big enough for any of the primitive */ \
/* values which we print with this, but well use snprintf() */ \
/* anyway to be extra safe. */ \
char buffer[128]; \
snprintf(buffer, sizeof(buffer), FORMAT, value); \
/* Guard against broken MSVC snprintf(). */ \
buffer[sizeof(buffer)-1] = '\0'; \
message_ += buffer; \
return *this; \
}

Definition at line 217 of file common.cc.

◆ GOOGLE_PROTOBUF_MIN_LOG_LEVEL

#define GOOGLE_PROTOBUF_MIN_LOG_LEVEL   LOGLEVEL_INFO

Definition at line 122 of file common.cc.

LogMessage
zmq::operator<<
std::ostream & operator<<(std::ostream &os, const message_t &msg)
Definition: zmq.hpp:2792
buffer
GLuint buffer
Definition: glcorearb.h:2939
buffer
Definition: buffer_processor.h:43
TYPE
#define TYPE(u, l)
Definition: php/ext/google/protobuf/upb.c:8510
value
GLsizei const GLfloat * value
Definition: glcorearb.h:3093


libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:02