Home
last modified time | relevance | path

Searched refs:value_str (Results 1 – 25 of 36) sorted by relevance

12

/third_party/benchmark/src/
Dcommandlineflags.cc98 const char* const value_str = getenv(env_var.c_str()); in BoolFromEnv() local
99 return value_str == nullptr ? default_val : IsTruthyFlagValue(value_str); in BoolFromEnv()
104 const char* const value_str = getenv(env_var.c_str()); in Int32FromEnv() local
106 if (value_str == nullptr || in Int32FromEnv()
107 !ParseInt32(std::string("Environment variable ") + env_var, value_str, in Int32FromEnv()
116 const char* const value_str = getenv(env_var.c_str()); in DoubleFromEnv() local
118 if (value_str == nullptr || in DoubleFromEnv()
119 !ParseDouble(std::string("Environment variable ") + env_var, value_str, in DoubleFromEnv()
164 const char* const value_str = ParseFlagValue(str, flag, true); in ParseBoolFlag() local
167 if (value_str == nullptr) return false; in ParseBoolFlag()
[all …]
/third_party/pulseaudio/src/modules/
Dmodule-match.c104 char *token_end, *value_str; in load_rules() local
124 value_str = token_end + strspn(token_end, WHITESPACE); in load_rules()
132 if (!*value_str) { in load_rules()
137 if (pa_atou(value_str, &k) >= 0) in load_rules()
142 token_end = value_str + strcspn(value_str, WHITESPACE); in load_rules()
144 len = token_end - value_str; in load_rules()
145 if (len == (sizeof(UPDATE_REPLACE) - 1) && !strncmp(value_str, UPDATE_REPLACE, len)) in load_rules()
147 else if (len == (sizeof(UPDATE_MERGE) - 1) && !strncmp(value_str, UPDATE_MERGE, len)) in load_rules()
151 value_str = token_end + strspn(token_end, WHITESPACE); in load_rules()
153 if (!*value_str) { in load_rules()
[all …]
/third_party/googletest/googlemock/src/
Dgmock.cc100 const char* const value_str = ParseGoogleMockFlagValue(str, flag, true); in ParseGoogleMockBoolFlag() local
103 if (value_str == NULL) return false; in ParseGoogleMockBoolFlag()
106 *value = !(*value_str == '0' || *value_str == 'f' || *value_str == 'F'); in ParseGoogleMockBoolFlag()
119 const char* const value_str = ParseGoogleMockFlagValue(str, flag, false); in ParseGoogleMockStringFlag() local
122 if (value_str == NULL) return false; in ParseGoogleMockStringFlag()
125 *value = value_str; in ParseGoogleMockStringFlag()
132 const char* const value_str = ParseGoogleMockFlagValue(str, flag, true); in ParseGoogleMockIntFlag() local
135 if (value_str == NULL) return false; in ParseGoogleMockIntFlag()
139 value_str, value); in ParseGoogleMockIntFlag()
/third_party/json/benchmarks/thirdparty/benchmark/src/
Dcommandlineflags.cc163 const char* const value_str = ParseFlagValue(str, flag, true); in ParseBoolFlag() local
166 if (value_str == nullptr) return false; in ParseBoolFlag()
169 *value = IsTruthyFlagValue(value_str); in ParseBoolFlag()
175 const char* const value_str = ParseFlagValue(str, flag, false); in ParseInt32Flag() local
178 if (value_str == nullptr) return false; in ParseInt32Flag()
181 return ParseInt32(std::string("The value of flag --") + flag, value_str, in ParseInt32Flag()
187 const char* const value_str = ParseFlagValue(str, flag, false); in ParseDoubleFlag() local
190 if (value_str == nullptr) return false; in ParseDoubleFlag()
193 return ParseDouble(std::string("The value of flag --") + flag, value_str, in ParseDoubleFlag()
199 const char* const value_str = ParseFlagValue(str, flag, false); in ParseStringFlag() local
[all …]
/third_party/node/deps/icu-small/source/common/
Dlocalebuilder.cpp222 CharString value_str(value, status_); in setExtension() local
224 transform(value_str.data(), value_str.length()); in setExtension()
225 if (!value_str.isEmpty() && in setExtension()
226 !_isExtensionSubtags(key, value_str.data(), value_str.length())) { in setExtension()
239 extensions_->setKeywordValue(StringPiece(&key, 1), value_str.data(), in setExtension()
246 _setUnicodeExtensions(*extensions_, value_str, status_); in setExtension()
275 CharString value_str(value, status_); in addUnicodeLocaleAttribute() local
277 transform(value_str.data(), value_str.length()); in addUnicodeLocaleAttribute()
278 if (!ultag_isUnicodeLocaleAttribute(value_str.data(), value_str.length())) { in addUnicodeLocaleAttribute()
288 extensions_->setKeywordValue(kAttributeKey, value_str.data(), status_); in addUnicodeLocaleAttribute()
[all …]
/third_party/icu/icu4c/source/common/
Dlocalebuilder.cpp222 CharString value_str(value, status_); in setExtension() local
224 transform(value_str.data(), value_str.length()); in setExtension()
225 if (!value_str.isEmpty() && in setExtension()
226 !_isExtensionSubtags(key, value_str.data(), value_str.length())) { in setExtension()
239 extensions_->setKeywordValue(StringPiece(&key, 1), value_str.data(), in setExtension()
246 _setUnicodeExtensions(*extensions_, value_str, status_); in setExtension()
275 CharString value_str(value, status_); in addUnicodeLocaleAttribute() local
277 transform(value_str.data(), value_str.length()); in addUnicodeLocaleAttribute()
278 if (!ultag_isUnicodeLocaleAttribute(value_str.data(), value_str.length())) { in addUnicodeLocaleAttribute()
288 extensions_->setKeywordValue(kAttributeKey, value_str.data(), status_); in addUnicodeLocaleAttribute()
[all …]
/third_party/skia/third_party/externals/icu/source/common/
Dlocalebuilder.cpp222 CharString value_str(value, status_); in setExtension() local
224 transform(value_str.data(), value_str.length()); in setExtension()
225 if (!value_str.isEmpty() && in setExtension()
226 !_isExtensionSubtags(key, value_str.data(), value_str.length())) { in setExtension()
239 extensions_->setKeywordValue(StringPiece(&key, 1), value_str.data(), in setExtension()
246 _setUnicodeExtensions(*extensions_, value_str, status_); in setExtension()
275 CharString value_str(value, status_); in addUnicodeLocaleAttribute() local
277 transform(value_str.data(), value_str.length()); in addUnicodeLocaleAttribute()
278 if (!ultag_isUnicodeLocaleAttribute(value_str.data(), value_str.length())) { in addUnicodeLocaleAttribute()
288 extensions_->setKeywordValue(kAttributeKey, value_str.data(), status_); in addUnicodeLocaleAttribute()
[all …]
/third_party/gstreamer/gstreamer/gst/
Dgstdebugutils.c105 gchar *tmp, *value_str; in debug_dump_get_object_params() local
188 value_str = g_strescape (tmp, NULL); in debug_dump_get_object_params()
193 strlen (value_str) > PARAM_MAX_LENGTH) in debug_dump_get_object_params()
205 value_str); in debug_dump_get_object_params()
209 value_str, ellipses); in debug_dump_get_object_params()
215 g_free (value_str); in debug_dump_get_object_params()
370 gchar *value_str = gst_value_serialize (value); in string_append_field() local
373 if (value_str == NULL) { in string_append_field()
379 if (strlen (value_str) > 25) { in string_append_field()
383 value_str[25] = '\0'; in string_append_field()
[all …]
/third_party/glib/gio/tests/
Dgdbus-example-watch-proxy.c36 gchar *value_str; in print_properties() local
38 value_str = g_variant_print (value, TRUE); in print_properties()
39 g_print (" %s -> %s\n", key, value_str); in print_properties()
41 g_free (value_str); in print_properties()
68 gchar *value_str; in on_properties_changed() local
69 value_str = g_variant_print (value, TRUE); in on_properties_changed()
70 g_print (" %s -> %s\n", key, value_str); in on_properties_changed()
71 g_free (value_str); in on_properties_changed()
/third_party/grpc/src/core/lib/transport/
Dmetadata.cc69 char* value_str = grpc_slice_to_c_string(value); in grpc_mdelem_trace_ref() local
72 refcnt, refcnt + 1, key_str, value_str); in grpc_mdelem_trace_ref()
74 gpr_free(value_str); in grpc_mdelem_trace_ref()
83 char* value_str = grpc_slice_to_c_string(value); in grpc_mdelem_trace_unref() local
86 refcnt, refcnt - 1, key_str, value_str); in grpc_mdelem_trace_unref()
88 gpr_free(value_str); in grpc_mdelem_trace_unref()
160 char* value_str = grpc_slice_to_c_string(value()); in TraceAtStart() local
162 RefValue(), key_str, value_str); in TraceAtStart()
164 gpr_free(value_str); in TraceAtStart()
259 char* value_str = grpc_slice_to_c_string(md->value()); in grpc_mdctx_global_shutdown() local
[all …]
/third_party/gstreamer/gstplugins_bad/sys/bluez/
Dgstavdtputil.c544 GValue value_str = G_VALUE_INIT; in gst_avdtp_util_parse_aac_raw() local
570 g_value_init (&value_str, G_TYPE_STRING); in gst_avdtp_util_parse_aac_raw()
594 g_value_set_string (&value_str, "lc"); in gst_avdtp_util_parse_aac_raw()
595 gst_value_list_prepend_value (&list, &value_str); in gst_avdtp_util_parse_aac_raw()
598 g_value_set_string (&value_str, "ltp"); in gst_avdtp_util_parse_aac_raw()
599 gst_value_list_prepend_value (&list, &value_str); in gst_avdtp_util_parse_aac_raw()
602 g_value_set_string (&value_str, "ssr"); in gst_avdtp_util_parse_aac_raw()
603 gst_value_list_prepend_value (&list, &value_str); in gst_avdtp_util_parse_aac_raw()
606 gst_structure_set_value (structure, "base-profile", &value_str); in gst_avdtp_util_parse_aac_raw()
688 g_value_unset (&value_str); in gst_avdtp_util_parse_aac_raw()
/third_party/jerryscript/jerry-core/ext/
Dheapdump.c199 ecma_string_t* value_str = ecma_op_to_string(value); in DumpPropertyPair() local
200 LogStrObj(value_str); in DumpPropertyPair()
338 ecma_string_t* value_str = ecma_op_to_string(values[i]); in DumpInfoObject() local
339 LogStrObj(value_str); in DumpInfoObject()
/third_party/gstreamer/gstreamer/gst/parse/
Dgrammar.y241 gchar *value_str; member
265 g_free(set->value_str); in gst_parse_free_delayed_set()
272 static void gst_parse_add_delayed_set (GstElement *element, gchar *name, gchar *value_str) in gst_parse_add_delayed_set() argument
277 name, value_str); in gst_parse_add_delayed_set()
280 data->value_str = g_strdup(value_str); in gst_parse_add_delayed_set()
298 gst_parse_add_delayed_set(parent, sub_name, value_str); in gst_parse_add_delayed_set()
329 pspec->name, g_type_name (value_type), set->value_str); in gst_parse_new_child()
331 if (gst_value_deserialize (&v, set->value_str)) in gst_parse_new_child()
336 bin = gst_parse_bin_from_description_full (set->value_str, TRUE, NULL, in gst_parse_new_child()
353 gst_parse_add_delayed_set (GST_ELEMENT(child_proxy), set->name, set->value_str); in gst_parse_new_child()
Dgrammar.tab.c315 gchar *value_str; member
339 g_free(set->value_str); in gst_parse_free_delayed_set()
346 static void gst_parse_add_delayed_set (GstElement *element, gchar *name, gchar *value_str) in gst_parse_add_delayed_set() argument
351 name, value_str); in gst_parse_add_delayed_set()
354 data->value_str = g_strdup(value_str); in gst_parse_add_delayed_set()
372 gst_parse_add_delayed_set(parent, sub_name, value_str); in gst_parse_add_delayed_set()
403 pspec->name, g_type_name (value_type), set->value_str); in gst_parse_new_child()
405 if (gst_value_deserialize (&v, set->value_str)) in gst_parse_new_child()
410 bin = gst_parse_bin_from_description_full (set->value_str, TRUE, NULL, in gst_parse_new_child()
427 gst_parse_add_delayed_set (GST_ELEMENT(child_proxy), set->name, set->value_str); in gst_parse_new_child()
/third_party/gettext/libtextstyle/gnulib-local/lib/libcroco/
Dcr-declaration.c536 guchar *value_str = NULL; in cr_declaration_to_string() local
538 value_str = cr_term_to_string (a_this->value); in cr_declaration_to_string()
539 if (value_str) { in cr_declaration_to_string()
541 value_str); in cr_declaration_to_string()
542 g_free (value_str); in cr_declaration_to_string()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/
Dname_mapper.cpp301 auto value_str = value.str(); in ParseInstruction() local
304 for (auto& c : value_str) in ParseInstruction()
306 SaveName(result_id, NameForId(inst.type_id) + "_" + value_str); in ParseInstruction()
/third_party/flutter/skia/third_party/externals/spirv-tools/source/
Dname_mapper.cpp301 auto value_str = value.str(); in ParseInstruction() local
304 for (auto& c : value_str) in ParseInstruction()
306 SaveName(result_id, NameForId(inst.type_id) + "_" + value_str); in ParseInstruction()
/third_party/skia/third_party/externals/spirv-tools/source/
Dname_mapper.cpp301 auto value_str = value.str(); in ParseInstruction() local
304 for (auto& c : value_str) in ParseInstruction()
306 SaveName(result_id, NameForId(inst.type_id) + "_" + value_str); in ParseInstruction()
/third_party/node/src/
Dnode_env_var.cc229 Utf8Value value_str(isolate, value); in Set() local
230 if (*key_str != nullptr && key_str.length() > 0 && *value_str != nullptr) { in Set()
232 std::string(*value_str, value_str.length()); in Set()
Dnode_crypto_common.cc897 unsigned char* value_str; in GetX509NameObject() local
898 int value_str_size = ASN1_STRING_to_UTF8(&value_str, value); in GetX509NameObject()
905 reinterpret_cast<const char*>(value_str), in GetX509NameObject()
908 OPENSSL_free(value_str); in GetX509NameObject()
912 OPENSSL_free(value_str); in GetX509NameObject()
/third_party/uboot/u-boot-2020.01/drivers/ddr/fsl/
Dinteractive.c151 const char *value_str) in lowest_common_dimm_parameters_edit() argument
204 if (handle_option_table(options, n_opts, p, optname_str, value_str)) in lowest_common_dimm_parameters_edit()
219 const char *value_str) in fsl_ddr_dimm_parameters_edit() argument
314 if (handle_option_table(options, n_opts, p, optname_str, value_str)) in fsl_ddr_dimm_parameters_edit()
505 const char *value_str) in fsl_ddr_options_edit() argument
595 optname_str, value_str)) in fsl_ddr_options_edit()
696 const char *value_str) in fsl_ddr_regs_edit() argument
782 ctrl_num, regname, value_str); in fsl_ddr_regs_edit()
788 if (handle_option_table(options, n_opts, ddr, regname, value_str)) in fsl_ddr_regs_edit()
792 unsigned int value = simple_strtoul(value_str, NULL, 0); in fsl_ddr_regs_edit()
/third_party/protobuf/src/google/protobuf/util/internal/
Ddatapiece.cc54 inline Status InvalidArgument(StringPiece value_str) { in InvalidArgument() argument
55 return Status(util::error::INVALID_ARGUMENT, value_str); in InvalidArgument()
/third_party/grpc/src/core/ext/filters/client_channel/xds/
Dxds_api.cc419 std::string value_str; in AddNodeLogFields() local
421 value_str = absl::StrCat( in AddNodeLogFields()
425 value_str = "null_value: NULL_VALUE"; in AddNodeLogFields()
427 value_str = absl::StrCat("double_value: ", in AddNodeLogFields()
430 value_str = absl::StrCat("bool_value: ", in AddNodeLogFields()
433 value_str = "struct_value: <not printed>"; in AddNodeLogFields()
435 value_str = "list_value: <not printed>"; in AddNodeLogFields()
437 value_str = "<unknown>"; in AddNodeLogFields()
439 fields->emplace_back(absl::StrCat(" value { ", value_str, " }")); in AddNodeLogFields()
/third_party/gstreamer/gstplugins_bad/sys/applemedia/
Dvtenc.c949 gchar *value_str; in gst_vtenc_session_dump_property() local
951 value_str = gst_vtutil_object_to_string (prop_value); in gst_vtenc_session_dump_property()
952 GST_DEBUG_OBJECT (dpc->self, "%s = %s", name_str, value_str); in gst_vtenc_session_dump_property()
953 g_free (value_str); in gst_vtenc_session_dump_property()
/third_party/cares/test/gmock-1.8.0/
Dgmock-gtest-all.cc6503 const char* const value_str = ParseFlagValue(str, flag, true); in ParseBoolFlag() local
6506 if (value_str == NULL) return false; in ParseBoolFlag()
6509 *value = !(*value_str == '0' || *value_str == 'f' || *value_str == 'F'); in ParseBoolFlag()
6520 const char* const value_str = ParseFlagValue(str, flag, false); in ParseInt32Flag() local
6523 if (value_str == NULL) return false; in ParseInt32Flag()
6527 value_str, value); in ParseInt32Flag()
6537 const char* const value_str = ParseFlagValue(str, flag, false); in ParseStringFlag() local
6540 if (value_str == NULL) return false; in ParseStringFlag()
6543 *value = value_str; in ParseStringFlag()
12176 const char* const value_str = ParseGoogleMockFlagValue(str, flag, true); in ParseGoogleMockBoolFlag() local
[all …]

12