Home
last modified time | relevance | path

Searched refs:string_value (Results 1 – 25 of 119) sorted by relevance

12345

/external/perfetto/test/trace_processor/
Dargs_string_filter_null.sql1 select string_value
3 where string_value = NULL
5 select string_value
7 where string_value != NULL
9 select string_value
11 where string_value < NULL
13 select string_value
15 where string_value <= NULL
17 select string_value
19 where string_value > NULL
[all …]
Dargs_string_is_not_null.sql1 select string_value
3 where string_value IS NOT NULL
Dargs_string_is_null.sql1 select string_value
3 where string_value IS NULL
/external/dynamic_depth/internal/xmpmeta/xml/
Ddeserializer_impl.cc220 string string_value; in ParseBoolean() local
221 if (!ReadStringProperty(node_, prefix, name, &string_value)) { in ParseBoolean()
224 return BoolStringToBool(string_value, value); in ParseBoolean()
229 string string_value; in ParseDouble() local
230 if (!ReadStringProperty(node_, prefix, name, &string_value)) { in ParseDouble()
233 *value = std::stod(string_value); in ParseDouble()
239 string string_value; in ParseInt() local
240 if (!ReadStringProperty(node_, prefix, name, &string_value)) { in ParseInt()
243 *value = std::stoi(string_value); // NOLINT in ParseInt()
249 string string_value; in ParseFloat() local
[all …]
/external/libbrillo/policy/tests/
Dlibpolicy_unittest.cc113 std::string string_value; in TEST() local
114 ASSERT_TRUE(policy.GetReleaseChannel(&string_value)); in TEST()
115 EXPECT_EQ("stable-channel", string_value); in TEST()
129 ASSERT_TRUE(policy.GetTargetVersionPrefix(&string_value)); in TEST()
130 EXPECT_EQ("42.0.", string_value); in TEST()
148 ASSERT_TRUE(policy.GetOpenNetworkConfiguration(&string_value)); in TEST()
149 EXPECT_EQ("{}", string_value); in TEST()
151 ASSERT_TRUE(policy.GetOwner(&string_value)); in TEST()
152 EXPECT_EQ("", string_value); in TEST()
174 ASSERT_TRUE(policy.GetAutoLaunchedKioskAppId(&string_value)); in TEST()
[all …]
/external/libbrillo/brillo/dbus/
Ddbus_param_writer_unittest.cc38 std::string string_value; in TEST() local
43 EXPECT_TRUE(PopValueFromReader(&reader, &string_value)); in TEST()
47 EXPECT_EQ("foo", string_value); in TEST()
93 std::string string_value; in TEST() local
98 EXPECT_TRUE(PopValueFromReader(&reader, &string_value)); in TEST()
102 EXPECT_EQ("bar", string_value); in TEST()
152 std::string string_value; in TEST() local
157 EXPECT_TRUE(PopValueFromReader(&reader, &string_value)); in TEST()
161 EXPECT_EQ("bar", string_value); in TEST()
/external/webrtc/talk/app/webrtc/
Dmediaconstraintsinterface.cc148 std::string string_value; in FindConstraint() local
152 if (constraints->GetMandatory().FindFirst(key, &string_value)) { in FindConstraint()
155 return rtc::FromString(string_value, value); in FindConstraint()
157 if (constraints->GetOptional().FindFirst(key, &string_value)) { in FindConstraint()
158 return rtc::FromString(string_value, value); in FindConstraint()
/external/toolchain-utils/cros_utils/
Dtabulator.py566 cell.string_value = ''
573 cell.string_value = '{0:.2f}'.format(cell.value)
576 cell.string_value = str(cell.value)
609 cell.string_value = '%0.2f' % float(cell.value)
637 cell.string_value = '%1.1f%s' % ((v / divisor), suffices[current - 1])
639 cell.string_value = str(cell.value)
650 cell.string_value = '%1.1f%%' % (float(cell.value) * 100)
668 cell.string_value = '%+1.1f%%' % ((float(cell.value) - 1) * 100)
682 cell.string_value = '%+1.1f%%' % ((cell.value - 1) * 100)
699 cell.string_value = '--'
[all …]
Dtabulator_test.py48 self.assertTrue(cell.string_value == '1.0K')
51 self.assertTrue(cell.string_value == '1.0M')
54 self.assertTrue(cell.string_value == '1.0G')
/external/libcxx/utils/google-benchmark/src/
Dcommandlineflags.cc97 const char* const string_value = getenv(env_var.c_str()); in BoolFromEnv() local
98 return string_value == nullptr ? default_value in BoolFromEnv()
99 : strcmp(string_value, "0") != 0; in BoolFromEnv()
107 const char* const string_value = getenv(env_var.c_str()); in Int32FromEnv() local
108 if (string_value == nullptr) { in Int32FromEnv()
114 if (!ParseInt32(std::string("Environment variable ") + env_var, string_value, in Int32FromEnv()
/external/google-benchmark/src/
Dcommandlineflags.cc97 const char* const string_value = getenv(env_var.c_str()); in BoolFromEnv() local
98 return string_value == nullptr ? default_value in BoolFromEnv()
99 : strcmp(string_value, "0") != 0; in BoolFromEnv()
107 const char* const string_value = getenv(env_var.c_str()); in Int32FromEnv() local
108 if (string_value == nullptr) { in Int32FromEnv()
114 if (!ParseInt32(std::string("Environment variable ") + env_var, string_value, in Int32FromEnv()
/external/tensorflow/tensorflow/tools/graph_transforms/
Dtransform_utils.cc641 string string_value; in GetOneInt32Parameter() local
642 TF_RETURN_IF_ERROR(GetOneStringParameter(name, "", &string_value)); in GetOneInt32Parameter()
643 if (!strings::safe_strto32(StringPiece(string_value), result)) { in GetOneInt32Parameter()
645 " argument as a number:", string_value); in GetOneInt32Parameter()
658 string string_value; in GetOneInt64Parameter() local
659 TF_RETURN_IF_ERROR(GetOneStringParameter(name, "", &string_value)); in GetOneInt64Parameter()
660 if (!strings::safe_strto64(StringPiece(string_value), result)) { in GetOneInt64Parameter()
662 " argument as a number:", string_value); in GetOneInt64Parameter()
675 string string_value; in GetOneFloatParameter() local
676 TF_RETURN_IF_ERROR(GetOneStringParameter(name, "", &string_value)); in GetOneFloatParameter()
[all …]
/external/python/apitools/samples/servicemanagement_sample/
Dmessages_test.py41 string_value=PROJECT_NAME)),
44 string_value=SERVICE_NAME)),
52 string_value=SERVICE_VERSION)
/external/libbrillo/brillo/
Dkey_value_store.cc105 string string_value; in GetBoolean() local
106 if (!GetString(key, &string_value)) in GetBoolean()
109 if (string_value == kTrueValue) { in GetBoolean()
112 } else if (string_value == kFalseValue) { in GetBoolean()
/external/libchrome/base/test/
Dtest_timeouts.cc28 std::string string_value(base::CommandLine::ForCurrentProcess()-> in InitializeTimeout() local
30 if (!base::StringToInt(string_value, &command_line_timeout)) { in InitializeTimeout()
31 LOG(FATAL) << "Timeout value \"" << string_value << "\" was parsed as " in InitializeTimeout()
/external/python/apitools/apitools/base/py/
Dextra_types_test.py53 extra_types.JsonValue(is_null=True, string_value='a'))
56 extra_types.JsonValue(integer_value=3, string_value='a'))
76 extra_types.JsonValue(string_value='four'),
104 value=extra_types.JsonValue(string_value='eleventeen')),
118 value = extra_types.JsonValue(string_value='abc')
/external/perfetto/src/trace_processor/
Dargs_table.cc86 const char* str = storage_->GetString(value.string_value).c_str(); in ReportResult()
129 ? predicate(storage_->GetString(arg.string_value).c_str()) in Filter()
157 const auto& f_str = storage_->GetString(arg_f.string_value); in CompareRefsAsc()
158 const auto& s_str = storage_->GetString(arg_s.string_value); in CompareRefsAsc()
/external/protobuf/python/google/protobuf/internal/
Djson_format_test.py67 message.string_value = 'foo'
120 string_value='test',
164 message.string_value = '&\n<\"\r>\b\t\f\\\001/\xe2\x80\xa8\xe2\x80\xa9'
166 message.string_value = '&\n<\"\r>\b\t\f\\\001/'
167 message.string_value += (b'\xe2\x80\xa8\xe2\x80\xa9').decode('utf-8')
180 string_value='foo')
332 message.string_value.value = ''
392 message.value.string_value = 'hello'
420 message.value.values.add().string_value = 'hello'
/external/protobuf/src/google/protobuf/
Dstruct.pb.cc660 this->string_value().data(), this->string_value().length(), in MergePartialFromCodedStream()
750 this->string_value().data(), this->string_value().length(), in SerializeWithCachedSizes()
754 3, this->string_value(), output); in SerializeWithCachedSizes()
794 this->string_value().data(), this->string_value().length(), in SerializeWithCachedSizesToArray()
799 3, this->string_value(), target); in SerializeWithCachedSizesToArray()
845 this->string_value()); in ByteSize()
905 set_string_value(from.string_value()); in MergeFrom()
1038 const ::std::string& Value::string_value() const { in string_value() function in google::protobuf::Value
1093 void Value::set_allocated_string_value(::std::string* string_value) { in set_allocated_string_value() argument
1098 if (string_value != NULL) { in set_allocated_string_value()
[all …]
/external/python/apitools/apitools/base/protorpclite/
Dtest_util.py297 string_value = messages.StringField(7, variant=messages.Variant.STRING) variable in OptionalMessage
328 string_value = messages.StringField(7, variable in RepeatedMessage
467 message.string_value = u'a string'
481 message.string_value = u'a string\u044f'
496 message.string_value = [u'a string\u044f', u'another string']
528 message.string_value = 'Latin'
/external/swiftshader/third_party/LLVM/utils/unittest/googletest/
Dgtest-port.cc709 const char* const string_value = posix::GetEnv(env_var.c_str()); in BoolFromGTestEnv() local
710 return string_value == NULL ? in BoolFromGTestEnv()
711 default_value : strcmp(string_value, "0") != 0; in BoolFromGTestEnv()
719 const char* const string_value = posix::GetEnv(env_var.c_str()); in Int32FromGTestEnv() local
720 if (string_value == NULL) { in Int32FromGTestEnv()
727 string_value, &result)) { in Int32FromGTestEnv()
/external/llvm/utils/unittest/googletest/src/
Dgtest-port.cc713 const char* const string_value = posix::GetEnv(env_var.c_str()); in BoolFromGTestEnv() local
714 return string_value == NULL ? in BoolFromGTestEnv()
715 default_value : strcmp(string_value, "0") != 0; in BoolFromGTestEnv()
723 const char* const string_value = posix::GetEnv(env_var.c_str()); in Int32FromGTestEnv() local
724 if (string_value == NULL) { in Int32FromGTestEnv()
731 string_value, &result)) { in Int32FromGTestEnv()
/external/google-breakpad/src/testing/gtest/src/
Dgtest-port.cc750 const char* const string_value = posix::GetEnv(env_var.c_str()); in BoolFromGTestEnv() local
751 return string_value == NULL ? in BoolFromGTestEnv()
752 default_value : strcmp(string_value, "0") != 0; in BoolFromGTestEnv()
760 const char* const string_value = posix::GetEnv(env_var.c_str()); in Int32FromGTestEnv() local
761 if (string_value == NULL) { in Int32FromGTestEnv()
768 string_value, &result)) { in Int32FromGTestEnv()
/external/tensorflow/tensorflow/contrib/proto/python/kernel_tests/
Dtest_example.proto38 repeated string string_value = 9; field
83 repeated string string_value = 9; field
119 optional string string_value = 9; field
133 optional string string_value = 1776; field
/external/tensorflow/tensorflow/contrib/checkpoint/python/
Dpython_state.py150 def deserialize(self, string_value): argument
152 string_file = BytesIO(string_value)

12345