Home
last modified time | relevance | path

Searched refs:name (Results 1 - 25 of 103) sorted by relevance

12345

/Couchbase_C_Client_v3.0/src/tracing/
H A Dspan.cc89 void lcbtrace_span_add_tag_str_nocopy(lcbtrace_SPAN *span, const char *name, const char *value) in lcbtrace_span_add_tag_str_nocopy() argument
91 if (!span || name == nullptr || value == nullptr) { in lcbtrace_span_add_tag_str_nocopy()
94 span->add_tag(name, 0, value, 0); in lcbtrace_span_add_tag_str_nocopy()
98 void lcbtrace_span_add_tag_str(lcbtrace_SPAN *span, const char *name, const char *value) in lcbtrace_span_add_tag_str() argument
100 if (!span || name == nullptr || value == nullptr) { in lcbtrace_span_add_tag_str()
103 span->add_tag(name, 1, value, 1); in lcbtrace_span_add_tag_str()
107 void lcbtrace_span_add_tag_uint64(lcbtrace_SPAN *span, const char *name, uint64_t value) in lcbtrace_span_add_tag_uint64() argument
109 if (!span || name == nullptr) { in lcbtrace_span_add_tag_uint64()
112 span->add_tag(name, 1, value); in lcbtrace_span_add_tag_uint64()
116 void lcbtrace_span_add_tag_double(lcbtrace_SPAN *span, const char *name, doubl argument
125 lcbtrace_span_add_tag_bool(lcbtrace_SPAN *span, const char *name, int value) lcbtrace_span_add_tag_bool() argument
231 lcbtrace_span_get_tag_str(lcbtrace_SPAN *span, const char *name, char **value, size_t *nvalue) lcbtrace_span_get_tag_str() argument
254 lcbtrace_span_get_tag_uint64(lcbtrace_SPAN *span, const char *name, uint64_t *value) lcbtrace_span_get_tag_uint64() argument
276 lcbtrace_span_get_tag_double(lcbtrace_SPAN *span, const char *name, double *value) lcbtrace_span_get_tag_double() argument
298 lcbtrace_span_get_tag_bool(lcbtrace_SPAN *span, const char *name, int *value) lcbtrace_span_get_tag_bool() argument
320 lcbtrace_span_has_tag(lcbtrace_SPAN *span, const char *name) lcbtrace_span_has_tag() argument
623 add_tag(const char *name, int copy_key, const char *value, int copy_value) add_tag() argument
630 add_tag(const char *name, const std::string &value) add_tag() argument
637 add_tag(const char *name, int copy_key, const char *value, size_t value_len, int copy_value) add_tag() argument
669 add_tag(const char *name, int copy, uint64_t value) add_tag() argument
693 add_tag(const char *name, int copy, double value) add_tag() argument
711 add_tag(const char *name, int copy, bool value) add_tag() argument
[all...]
H A Dtracing-internal.h34 void lcbtrace_span_add_tag_str_nocopy(lcbtrace_SPAN *span, const char *name, const char *value);
55 void add_tag(const char *name, const std::string &value);
56 void add_tag(const char *name, int copy, const char *value, int copy_value);
57 void add_tag(const char *name, int copy_key, const char *value, size_t value_len, int copy_value);
58 void add_tag(const char *name, int copy, uint64_t value);
59 void add_tag(const char *name, int copy, double value);
60 void add_tag(const char *name, int copy, bool value);
/Couchbase_C_Client_v3.0/contrib/cJSON/
H A DcJSON.h80 char *string; /* The item's name string, if this item is the
151 #define cJSON_AddNullToObject(object,name) cJSON_AddItemToObject(object, name, cJSON_CreateNull())
152 #define cJSON_AddTrueToObject(object,name) cJSON_AddItemToObject(object, name, cJSON_CreateTrue())
153 #define cJSON_AddFalseToObject(object,name) cJSON_AddItemToObject(object, name, cJSON_CreateFalse())
154 #define cJSON_AddNumberToObject(object,name,n) cJSON_AddItemToObject(object, name, cJSON_CreateNumber(n))
155 #define cJSON_AddStringToObject(object,name,
[all...]
/Couchbase_C_Client_v3.0/example/analytics/
H A DcJSON.h80 char *string; /* The item's name string, if this item is the
151 #define cJSON_AddNullToObject(object,name) cJSON_AddItemToObject(object, name, cJSON_CreateNull())
152 #define cJSON_AddTrueToObject(object,name) cJSON_AddItemToObject(object, name, cJSON_CreateTrue())
153 #define cJSON_AddFalseToObject(object,name) cJSON_AddItemToObject(object, name, cJSON_CreateFalse())
154 #define cJSON_AddNumberToObject(object,name,n) cJSON_AddItemToObject(object, name, cJSON_CreateNumber(n))
155 #define cJSON_AddStringToObject(object,name,
[all...]
/Couchbase_C_Client_v3.0/example/analytics-deferred/
H A DcJSON.h80 char *string; /* The item's name string, if this item is the
151 #define cJSON_AddNullToObject(object,name) cJSON_AddItemToObject(object, name, cJSON_CreateNull())
152 #define cJSON_AddTrueToObject(object,name) cJSON_AddItemToObject(object, name, cJSON_CreateTrue())
153 #define cJSON_AddFalseToObject(object,name) cJSON_AddItemToObject(object, name, cJSON_CreateFalse())
154 #define cJSON_AddNumberToObject(object,name,n) cJSON_AddItemToObject(object, name, cJSON_CreateNumber(n))
155 #define cJSON_AddStringToObject(object,name,
[all...]
/Couchbase_C_Client_v3.0/example/analytics-ingest/
H A DcJSON.h80 char *string; /* The item's name string, if this item is the
151 #define cJSON_AddNullToObject(object,name) cJSON_AddItemToObject(object, name, cJSON_CreateNull())
152 #define cJSON_AddTrueToObject(object,name) cJSON_AddItemToObject(object, name, cJSON_CreateTrue())
153 #define cJSON_AddFalseToObject(object,name) cJSON_AddItemToObject(object, name, cJSON_CreateFalse())
154 #define cJSON_AddNumberToObject(object,name,n) cJSON_AddItemToObject(object, name, cJSON_CreateNumber(n))
155 #define cJSON_AddStringToObject(object,name,
[all...]
/Couchbase_C_Client_v3.0/example/minimal/
H A DcJSON.h80 char *string; /* The item's name string, if this item is the
151 #define cJSON_AddNullToObject(object,name) cJSON_AddItemToObject(object, name, cJSON_CreateNull())
152 #define cJSON_AddTrueToObject(object,name) cJSON_AddItemToObject(object, name, cJSON_CreateTrue())
153 #define cJSON_AddFalseToObject(object,name) cJSON_AddItemToObject(object, name, cJSON_CreateFalse())
154 #define cJSON_AddNumberToObject(object,name,n) cJSON_AddItemToObject(object, name, cJSON_CreateNumber(n))
155 #define cJSON_AddStringToObject(object,name,
[all...]
/Couchbase_C_Client_v3.0/example/tracing/
H A DcJSON.h80 char *string; /* The item's name string, if this item is the
151 #define cJSON_AddNullToObject(object,name) cJSON_AddItemToObject(object, name, cJSON_CreateNull())
152 #define cJSON_AddTrueToObject(object,name) cJSON_AddItemToObject(object, name, cJSON_CreateTrue())
153 #define cJSON_AddFalseToObject(object,name) cJSON_AddItemToObject(object, name, cJSON_CreateFalse())
154 #define cJSON_AddNumberToObject(object,name,n) cJSON_AddItemToObject(object, name, cJSON_CreateNumber(n))
155 #define cJSON_AddStringToObject(object,name,
[all...]
H A Dotel_tracing.cc71 static void *start_span(lcbtrace_TRACER *tracer, const char *name, void *parent) in start_span() argument
79 ot_span->span = ot_tracer->StartSpan(name, opt); in start_span()
93 static void add_tag_string(void *span, const char *name, const char *value, size_t value_len) in add_tag_string() argument
98 static_cast<otel_span *>(span)->span->SetAttribute(name, val); in add_tag_string()
101 static void add_tag_uint64(void *span, const char *name, uint64_t value) in add_tag_uint64() argument
103 static_cast<otel_span *>(span)->span->SetAttribute(name, value); in add_tag_uint64()
/Couchbase_C_Client_v3.0/src/capi/
H A Dcmd_query.hh235 lcb_STATUS scope(std::string name) in scope()
237 scope_ = std::move(name); in scope()
342 lcb_STATUS option(const char *name, std::size_t name_len, const char *value, std::size_t value_len) in option()
344 if (name == nullptr || value == nullptr) { in option()
351 root_[std::string(name, name_len)] = json_value; in option()
355 lcb_STATUS option(const std::string &name, const char *value, std::size_t value_len) in option()
357 if (name.empty() || value == nullptr) { in option()
364 root_[name] = json_value; in option()
368 lcb_STATUS option_array(const std::string &name, const char *value, std::size_t value_len) in option_array()
370 if (name in option_array()
[all...]
H A Dcmd_analytics.hh135 lcb_STATUS scope(std::string name) in scope()
137 scope_name_ = std::move(name); in scope()
196 lcb_STATUS option(const char *name, std::size_t name_len, const char *value, std::size_t value_len) in option()
198 if (name == nullptr || value == nullptr) { in option()
205 root_[std::string(name, name_len)] = json_value; in option()
209 lcb_STATUS option_array(const std::string &name, const char *value, std::size_t value_len) in option_array()
211 if (name.empty() || value == nullptr) { in option_array()
221 root_[name] = json_value; in option_array()
225 lcb_STATUS option_array_append(const std::string &name, const char *value, std::size_t value_len) in option_array_append()
227 if (name in option_array_append()
[all...]
H A Dcmd_view.hh52 static std::string name = LCBTRACE_OP_VIEW; in operation_name() local
53 return name; in operation_name()
122 lcb_STATUS design_document_name(const char *name, std::size_t name_len) in design_document_name()
124 if (name == nullptr || name_len == 0) { in design_document_name()
127 design_document_name_.assign(name, name_len); in design_document_name()
136 lcb_STATUS view_name(const char *name, std::size_t name_len) in view_name()
138 if (name == nullptr || name_len == 0) { in view_name()
141 view_name_.assign(name, name_len); in view_name()
H A Dcmd_http.hh53 void set_header(const std::string &name, const std::string &value) in set_header()
55 headers_.emplace(name, value); in set_header()
/Couchbase_C_Client_v3.0/include/libcouchbase/
H A Dtracing.h83 void *(*start_span)(struct lcbtrace_TRACER *tracer, const char *name, void *parent);
86 void (*add_tag_string)(void *span, const char *name, const char *value, size_t value_len);
87 void (*add_tag_uint64)(void *span, const char *name, uint64_t value);
407 * Bucket name
409 #define LCBTRACE_TAG_DB_INSTANCE "db.name"
440 #define LCBTRACE_TAG_LOCAL_ADDRESS "net.host.name"
451 #define LCBTRACE_TAG_PEER_ADDRESS "net.peer.name"
533 * @param name name of the tag
541 lcb_STATUS lcbtrace_span_get_tag_str(lcbtrace_SPAN *span, const char *name, cha
[all...]
/Couchbase_C_Client_v3.0/contrib/gtest-1.8.1/src/
H A Dgtest-typed-test.cc14 // * Neither the name of Google Inc. nor the names of its
72 const std::string& name = *name_it; in VerifyRegisteredTestNames() local
73 if (tests.count(name) != 0) { in VerifyRegisteredTestNames()
74 errors << "Test " << name << " is listed more than once.\n"; in VerifyRegisteredTestNames() local
82 if (name == it->first) { in VerifyRegisteredTestNames()
89 tests.insert(name); in VerifyRegisteredTestNames()
91 errors << "No test named " << name in VerifyRegisteredTestNames() local
H A Dgtest-filepath.cc14 // * Neither the name of Google Inc. nor the names of its
264 const char* const name = pathname_.c_str(); in IsAbsolutePath() local
267 ((name[0] >= 'a' && name[0] <= 'z') || in IsAbsolutePath()
268 (name[0] >= 'A' && name[0] <= 'Z')) && in IsAbsolutePath()
269 name[1] == ':' && in IsAbsolutePath()
270 IsPathSeparator(name[2]); in IsAbsolutePath()
272 return IsPathSeparator(name[0]); in IsAbsolutePath()
341 // If input name ha
[all...]
/Couchbase_C_Client_v3.0/src/
H A Dcrypto.cc36 void lcbcrypto_register(lcb_INSTANCE *instance, const char *name, lcbcrypto_PROVIDER *provider) in lcbcrypto_register() argument
39 lcb_log(LOGARGS(instance, ERROR), "Unsupported version for \"%s\" crypto provider, ignoring", name); in lcbcrypto_register() local
42 auto old = instance->crypto->find(name); in lcbcrypto_register()
47 (*instance->crypto)[name] = provider; in lcbcrypto_register()
50 void lcbcrypto_unregister(lcb_INSTANCE *instance, const char *name) in lcbcrypto_unregister() argument
52 auto old = instance->crypto->find(name); in lcbcrypto_unregister()
115 if (field->name == nullptr) { in lcbcrypto_encrypt_fields()
116 lcb_log(LOGARGS(instance, WARN), "field name cannot be nullptr"); in lcbcrypto_encrypt_fields()
126 if (jdoc.isMember(field->name)) { in lcbcrypto_encrypt_fields()
151 std::string contents = Json::FastWriter().write(jdoc[field->name]); in lcbcrypto_encrypt_fields()
260 std::string name = prefix + field->name; lcbcrypto_decrypt_fields() local
[all...]
/Couchbase_C_Client_v3.0/src/metrics/
H A Dcaching_meter.cc32 static const lcbmetrics_VALUERECORDER *mcm_find_value_recorder(const lcbmetrics_METER *wrapper, const char *name, in mcm_find_value_recorder() argument
40 return meter->findValueRecorder(name, tags, ntags); in mcm_find_value_recorder()
66 const lcbmetrics_VALUERECORDER *CachingMeter::findValueRecorder(const char *name, const lcbmetrics_TAG *tags, in findValueRecorder() argument
70 lkpNameBuilder << name << ";"; in findValueRecorder() local
81 auto recorder = base_->value_recorder_(base_, name, tags, ntags); in findValueRecorder()
H A Dlogging_meter.cc34 static const lcbmetrics_VALUERECORDER *mlm_find_value_recorder(const lcbmetrics_METER *wrapper, const char *name, in mlm_find_value_recorder() argument
42 return meter->findValueRecorder(name, tags, ntags); in mlm_find_value_recorder()
112 const lcbmetrics_VALUERECORDER *LoggingMeter::findValueRecorder(const char *name, const lcbmetrics_TAG *tags, in findValueRecorder() argument
115 if (strcmp(name, METRICS_OPS_METER_NAME) != 0) { in findValueRecorder()
/Couchbase_C_Client_v3.0/tests/ioserver/
H A Dssl_connection.cc92 X509_NAME *name = X509_get_subject_name(x509); in genCertificate() local
93 X509_NAME_add_entry_by_txt(name, "C", MBSTRING_ASC, (unsigned char *)"CA", -1, -1, 0); in genCertificate()
94 X509_NAME_add_entry_by_txt(name, "O", MBSTRING_ASC, (unsigned char *)"MyCompany Inc.", -1, -1, 0); in genCertificate()
95 X509_NAME_add_entry_by_txt(name, "CN", MBSTRING_ASC, (unsigned char *)"localhost", -1, -1, 0); in genCertificate()
96 X509_set_issuer_name(x509, name); in genCertificate()
/Couchbase_C_Client_v3.0/tools/
H A Dcbc-handlers.h40 explicit Handler(const char *name);
67 explicit GetHandler(const char *name = "get") in GetHandler()
68 : Handler(name), o_replica("replica"), o_exptime("expiry"), o_durability("durability"), o_scope("scope"), in GetHandler()
107 explicit TouchHandler(const char *name = "touch") : Handler(name), o_exptime("expiry"), o_durability("durability") in TouchHandler()
128 explicit SetHandler(const char *name = "create") in SetHandler()
129 : Handler(name), o_flags("flags"), o_exp("expiry"), o_add("add"), o_persist("persist-to"), in SetHandler()
407 explicit ArithmeticHandler(const char *name) in ArithmeticHandler() argument
408 : Handler(name), o_initial("initial"), o_delta("delta"), o_expiry("expiry"), o_durability("durability"), in ArithmeticHandler()
608 explicit HttpBaseHandler(const char *name) argument
661 RbacHandler(const char *name) RbacHandler() argument
774 std::string name; global() member in cbc::UserDeleteHandler
825 std::string name; global() member in cbc::UserUpsertHandler
[all...]
/Couchbase_C_Client_v3.0/
H A Dconfigure.pl133 my ($name, $vfmt, $desc, $deflfmt, $vref) = @$optdesc;
134 my $go_key = $name;
146 my ($name, $vfmt, $desc, $fmt, $deflref) = @$optdesc;
147 printf(" --%-20s", $name);
148 if (length($name) > 18) {
/Couchbase_C_Client_v3.0/tests/
H A Dcheck-all.cc206 std::string setupExecutable(const std::string &name) const in setupExecutable()
209 ss << testdir << PATHSEP << name; in setupExecutable() local
214 std::string setupCommandline(const std::string &name) const in setupCommandline()
222 ss << setupExecutable(name); in setupCommandline()
361 static void setPluginEnvironment(const std::string &name)
364 if (name != "default") {
365 v = name.c_str();
369 fprintf(stderr, "%s=%s ... ", PLUGIN_ENV_VAR, name.c_str());
419 Process(std::string plugin, std::string name, std::string exe, std::string cmd, const TestConfiguration &config)
421 testName(std::move(name)), verbos
[all...]
/Couchbase_C_Client_v3.0/cmake/
H A Dconfigure133 my ($name, $vfmt, $desc, $deflfmt, $vref) = @$optdesc;
134 my $go_key = $name;
146 my ($name, $vfmt, $desc, $fmt, $deflref) = @$optdesc;
147 printf(" --%-20s", $name);
148 if (length($name) > 18) {
/Couchbase_C_Client_v3.0/tests/mocksupport/
H A Dprocutil.c61 argv = clisplit(proc->name); in spawn_process_impl()
63 fprintf(stderr, "Couldn't split arguments: %s\n", proc->name); in spawn_process_impl()
211 success = CreateProcess(NULL, /* name */ in spawn_process_impl()
212 (char *)proc->name, /* commandline */ in spawn_process_impl()
223 fprintf(stderr, "Couldn't spawn '%s'. [%d]\n", proc->name, (int)GetLastError()); in spawn_process_impl()
286 rv = system(proc->name); in create_process()

Completed in 52 milliseconds

12345