OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ProtobufOnceType
(Results
1 - 3
of
3
) sorted by null
/external/protobuf/src/google/protobuf/stubs/
once.h
41
// * A type called
ProtobufOnceType
.
43
//
ProtobufOnceType
. This is the only legal way to declare such a variable.
46
// * A function GogoleOnceInit(
ProtobufOnceType
* once, void (*init_func)()).
47
// This function, when invoked multiple times given the same
ProtobufOnceType
88
struct LIBPROTOBUF_EXPORT
ProtobufOnceType
{
89
ProtobufOnceType
();
90
~
ProtobufOnceType
();
98
::google::protobuf::
ProtobufOnceType
NAME
100
inline void GoogleOnceInit(
ProtobufOnceType
* once, void (*init_func)()) {
109
typedef pthread_once_t
ProtobufOnceType
;
[
all
...]
once.cc
59
ProtobufOnceType
::~
ProtobufOnceType
()
65
ProtobufOnceType
::
ProtobufOnceType
() {
70
void
ProtobufOnceType
::Init(void (*init_func)()) {
once_unittest.cc
55
// Since
ProtobufOnceType
is only allowed to be allocated in static storage,
56
// each test must use a different pair of
ProtobufOnceType
objects which it
58
void SetOnces(
ProtobufOnceType
* once,
ProtobufOnceType
* recursive_once) {
158
ProtobufOnceType
* once_;
159
ProtobufOnceType
* recursive_once_;
Completed in 52 milliseconds