Home
last modified time | relevance | path

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

12

/external/google-benchmark/src/
Dcommandlineflags.cc172 const char* const value_str = ParseFlagValue(str, flag, true); in ParseBoolFlag() local
175 if (value_str == nullptr) return false; in ParseBoolFlag()
178 *value = !(*value_str == '0' || *value_str == 'f' || *value_str == 'F'); in ParseBoolFlag()
184 const char* const value_str = ParseFlagValue(str, flag, false); in ParseInt32Flag() local
187 if (value_str == nullptr) return false; in ParseInt32Flag()
190 return ParseInt32(std::string("The value of flag --") + flag, value_str, in ParseInt32Flag()
196 const char* const value_str = ParseFlagValue(str, flag, false); in ParseDoubleFlag() local
199 if (value_str == nullptr) return false; in ParseDoubleFlag()
202 return ParseDouble(std::string("The value of flag --") + flag, value_str, in ParseDoubleFlag()
208 const char* const value_str = ParseFlagValue(str, flag, false); in ParseStringFlag() local
[all …]
/external/google-breakpad/src/testing/src/
Dgmock.cc94 const char* const value_str = ParseGoogleMockFlagValue(str, flag, true); in ParseGoogleMockBoolFlag() local
97 if (value_str == NULL) return false; in ParseGoogleMockBoolFlag()
100 *value = !(*value_str == '0' || *value_str == 'f' || *value_str == 'F'); in ParseGoogleMockBoolFlag()
112 const char* const value_str = ParseGoogleMockFlagValue(str, flag, false); in ParseGoogleMockStringFlag() local
115 if (value_str == NULL) return false; in ParseGoogleMockStringFlag()
118 *value = value_str; in ParseGoogleMockStringFlag()
/external/gmock/src/
Dgmock.cc94 const char* const value_str = ParseGoogleMockFlagValue(str, flag, true); in ParseGoogleMockBoolFlag() local
97 if (value_str == NULL) return false; in ParseGoogleMockBoolFlag()
100 *value = !(*value_str == '0' || *value_str == 'f' || *value_str == 'F'); in ParseGoogleMockBoolFlag()
112 const char* const value_str = ParseGoogleMockFlagValue(str, flag, false); in ParseGoogleMockStringFlag() local
115 if (value_str == NULL) return false; in ParseGoogleMockStringFlag()
118 *value = value_str; in ParseGoogleMockStringFlag()
/external/dbus/dbus/
Ddbus-marshal-recursive.c102 _dbus_marshal_read_uint32 (reader->value_str, in apply_and_free_fixups()
107 _dbus_marshal_set_uint32 ((DBusString*) reader->value_str, in apply_and_free_fixups()
149 const DBusString *value_str, in reader_init() argument
156 reader->value_str = value_str; in reader_init()
169 parent->value_str, in base_reader_recurse()
226 _dbus_string_get_const_data_len (reader->value_str, len_pos, 4)); in array_reader_get_array_len()
286 sig_len = _dbus_string_get_byte (sub->value_str, sub->value_pos); in variant_reader_recurse()
288 sub->type_str = sub->value_str; in variant_reader_recurse()
480 _dbus_marshal_skip_array (reader->value_str, in base_reader_next()
492 _dbus_marshal_skip_basic (reader->value_str, in base_reader_next()
[all …]
Ddbus-marshal-recursive.h49 const DBusString *value_str; /**< string containing values of block */ member
76 DBusString *value_str; /**< where to write values */ member
103 const DBusString *value_str,
143 DBusString *value_str,
147 DBusString *value_str,
157 DBusString *value_str,
Ddbus-marshal-byteswap.c230 DBusString *value_str, in _dbus_marshal_byteswap() argument
236 _dbus_assert (value_pos <= _dbus_string_get_length (value_str)); in _dbus_marshal_byteswap()
246 _dbus_string_get_data_len (value_str, value_pos, 0), in _dbus_marshal_byteswap()
Ddbus-marshal-header.c298 padding = _dbus_string_get_length (writer->value_str) - start; in write_basic_field()
329 _dbus_string_delete (writer->value_str, in write_basic_field()
331 _dbus_string_get_length (writer->value_str) - start - padding); in write_basic_field()
786 const DBusString *value_str; in load_and_validate_field() local
826 value_str = NULL; in load_and_validate_field()
841 &value_str, &value_pos); in load_and_validate_field()
862 value_str, str_data_pos)) in load_and_validate_field()
891 value_str, str_data_pos)) in load_and_validate_field()
926 len = _dbus_marshal_read_uint32 (value_str, value_pos, in load_and_validate_field()
934 if (!(*string_validation_func) (value_str, str_data_pos, len)) in load_and_validate_field()
Ddbus-marshal-byteswap.h34 DBusString *value_str,
Ddbus-marshal-basic.c753 DBusString value_str; in marshal_len_followed_by_bytes() local
766 _dbus_string_init_const_len (&value_str, value, value_len); in marshal_len_followed_by_bytes()
787 if (!_dbus_string_copy_len (&value_str, 0, value_len, in marshal_len_followed_by_bytes()
793 _dbus_assert (_dbus_string_equal_substring (&value_str, 0, value_len, in marshal_len_followed_by_bytes()
923 DBusString value_str; in marshal_1_octets_array() local
925 _dbus_string_init_const_len (&value_str, value, n_elements); in marshal_1_octets_array()
929 if (!_dbus_string_copy_len (&value_str, 0, n_elements, in marshal_1_octets_array()
Ddbus-marshal-validate.h126 const DBusString *value_str,
Ddbus-marshal-validate.c707 const DBusString *value_str, in _dbus_validate_body_with_reason() argument
718 _dbus_assert (value_pos <= _dbus_string_get_length (value_str) - len); in _dbus_validate_body_with_reason()
728 p = _dbus_string_get_const_data_len (value_str, value_pos, len); in _dbus_validate_body_with_reason()
/external/autotest/client/site_tests/accessibility_Sanity/
Daccessibility_Sanity.py38 value_str = 'true' if value else 'false'
45 ''' % (feature, value_str, feature)
48 poll_cmd = 'window.__result == %s;' % value_str
53 (feature, value_str)))
/external/libvncserver/libvncserver/
Dhttpd.c578 char *value_str; in parseParams() local
603 value_str = strchr(&param_request[1], '='); in parseParams()
604 if (value_str == NULL) { in parseParams()
607 *value_str++ = '\0'; in parseParams()
608 if (strlen(value_str) == 0) { in parseParams()
613 if (!validateString(param_request) || !validateString(value_str)) { in parseParams()
620 param_request, value_str); in parseParams()
/external/llvm/utils/lit/tests/Inputs/test-data/
Dlit.cfg27 for key,value_str in cfg.items('results'):
28 value = eval(value_str)
/external/webrtc/talk/app/webrtc/test/
Dfakeconstraints.h59 std::string value_str; in SetMandatory() local
60 if (mandatory_.FindFirst(key, &value_str)) { in SetMandatory()
/external/libchrome/base/process/
Dprocess_metrics_linux.cc73 const std::string& value_str = pairs[i].second; in ReadProcStatusAndGetFieldAsSizeT() local
76 value_str, " ", base::TRIM_WHITESPACE, base::SPLIT_WANT_ALL); in ReadProcStatusAndGetFieldAsSizeT()
114 const std::string& value_str = pairs[i].second; in ReadProcSchedAndGetFieldAsUint64() local
117 if (!StringToUint64(value_str, &value)) in ReadProcSchedAndGetFieldAsUint64()
275 const std::string& value_str = pairs[i].second; in GetIOCounters() local
287 bool converted = StringToUint64(value_str, target_counter); in GetIOCounters()
/external/protobuf/gtest/src/
Dgtest.cc4414 const char* const value_str = ParseFlagValue(str, flag, true); in UnitTestImpl() local
4417 if (value_str == NULL) return false; in UnitTestImpl()
4420 *value = !(*value_str == '0' || *value_str == 'f' || *value_str == 'F'); in UnitTestImpl()
4431 const char* const value_str = ParseFlagValue(str, flag, false); in UnitTestImpl() local
4434 if (value_str == NULL) return false; in UnitTestImpl()
4438 value_str, value); in UnitTestImpl()
4448 const char* const value_str = ParseFlagValue(str, flag, false); in UnitTestImpl() local
4451 if (value_str == NULL) return false; in UnitTestImpl()
4454 *value = value_str; in UnitTestImpl()
/external/google-breakpad/src/testing/gtest/src/
Dgtest.cc4632 const char* const value_str = ParseFlagValue(str, flag, true); in ParseBoolFlag() local
4635 if (value_str == NULL) return false; in ParseBoolFlag()
4638 *value = !(*value_str == '0' || *value_str == 'f' || *value_str == 'F'); in ParseBoolFlag()
4649 const char* const value_str = ParseFlagValue(str, flag, false); in ParseInt32Flag() local
4652 if (value_str == NULL) return false; in ParseInt32Flag()
4656 value_str, value); in ParseInt32Flag()
4666 const char* const value_str = ParseFlagValue(str, flag, false); in ParseStringFlag() local
4669 if (value_str == NULL) return false; in ParseStringFlag()
4672 *value = value_str; in ParseStringFlag()
/external/mesa3d/src/gtest/src/
Dgtest.cc4600 const char* const value_str = ParseFlagValue(str, flag, true); in ParseBoolFlag() local
4603 if (value_str == NULL) return false; in ParseBoolFlag()
4606 *value = !(*value_str == '0' || *value_str == 'f' || *value_str == 'F'); in ParseBoolFlag()
4617 const char* const value_str = ParseFlagValue(str, flag, false); in ParseInt32Flag() local
4620 if (value_str == NULL) return false; in ParseInt32Flag()
4624 value_str, value); in ParseInt32Flag()
4634 const char* const value_str = ParseFlagValue(str, flag, false); in ParseStringFlag() local
4637 if (value_str == NULL) return false; in ParseStringFlag()
4640 *value = value_str; in ParseStringFlag()
/external/llvm/utils/unittest/googletest/src/
Dgtest.cc4570 const char* const value_str = ParseFlagValue(str, flag, true); in ParseBoolFlag() local
4573 if (value_str == NULL) return false; in ParseBoolFlag()
4576 *value = !(*value_str == '0' || *value_str == 'f' || *value_str == 'F'); in ParseBoolFlag()
4587 const char* const value_str = ParseFlagValue(str, flag, false); in ParseInt32Flag() local
4590 if (value_str == NULL) return false; in ParseInt32Flag()
4594 value_str, value); in ParseInt32Flag()
4604 const char* const value_str = ParseFlagValue(str, flag, false); in ParseStringFlag() local
4607 if (value_str == NULL) return false; in ParseStringFlag()
4610 *value = value_str; in ParseStringFlag()
/external/gtest/src/
Dgtest.cc4717 const char* const value_str = ParseFlagValue(str, flag, true); in ParseBoolFlag() local
4720 if (value_str == NULL) return false; in ParseBoolFlag()
4723 *value = !(*value_str == '0' || *value_str == 'f' || *value_str == 'F'); in ParseBoolFlag()
4734 const char* const value_str = ParseFlagValue(str, flag, false); in ParseInt32Flag() local
4737 if (value_str == NULL) return false; in ParseInt32Flag()
4741 value_str, value); in ParseInt32Flag()
4751 const char* const value_str = ParseFlagValue(str, flag, false); in ParseStringFlag() local
4754 if (value_str == NULL) return false; in ParseStringFlag()
4757 *value = value_str; in ParseStringFlag()
/external/vulkan-validation-layers/tests/gtest-1.7.0/src/
Dgtest.cc4713 const char* const value_str = ParseFlagValue(str, flag, true); in ParseBoolFlag() local
4716 if (value_str == NULL) return false; in ParseBoolFlag()
4719 *value = !(*value_str == '0' || *value_str == 'f' || *value_str == 'F'); in ParseBoolFlag()
4730 const char* const value_str = ParseFlagValue(str, flag, false); in ParseInt32Flag() local
4733 if (value_str == NULL) return false; in ParseInt32Flag()
4737 value_str, value); in ParseInt32Flag()
4747 const char* const value_str = ParseFlagValue(str, flag, false); in ParseStringFlag() local
4750 if (value_str == NULL) return false; in ParseStringFlag()
4753 *value = value_str; in ParseStringFlag()
/external/webrtc/webrtc/base/
Dhttpbase.cc152 std::string value_str(value, vlen); in ProcessLine() local
154 if (sscanf(value_str.c_str(), "%u", &temp_size) != 1) { in ProcessLine()
/external/protobuf/gtest/fused-src/gtest/
Dgtest-all.cc5754 const char* const value_str = ParseFlagValue(str, flag, true); in UnitTestImpl() local
5757 if (value_str == NULL) return false; in UnitTestImpl()
5760 *value = !(*value_str == '0' || *value_str == 'f' || *value_str == 'F'); in UnitTestImpl()
5771 const char* const value_str = ParseFlagValue(str, flag, false); in UnitTestImpl() local
5774 if (value_str == NULL) return false; in UnitTestImpl()
5778 value_str, value); in UnitTestImpl()
5788 const char* const value_str = ParseFlagValue(str, flag, false); in UnitTestImpl() local
5791 if (value_str == NULL) return false; in UnitTestImpl()
5794 *value = value_str; in UnitTestImpl()
/external/chromium-trace/catapult/third_party/python_gflags/
Dgflags.py1799 value_str = _StrOrUnicode(value)
1802 value_str = value_str.lower()
1803 safe_value_str = _MakeXMLSafe(value_str)

12