/external/libbrillo/policy/tests/ |
D | libpolicy_unittest.cc | 114 std::string string_value; in TEST() local 115 ASSERT_TRUE(policy.GetReleaseChannel(&string_value)); in TEST() 116 ASSERT_EQ("stable-channel", string_value); in TEST() 130 ASSERT_TRUE(policy.GetTargetVersionPrefix(&string_value)); in TEST() 131 ASSERT_EQ("42.0.", string_value); in TEST() 139 ASSERT_TRUE(policy.GetOpenNetworkConfiguration(&string_value)); in TEST() 140 ASSERT_EQ("{}", string_value); in TEST() 142 ASSERT_TRUE(policy.GetOwner(&string_value)); in TEST() 143 ASSERT_EQ("", string_value); in TEST() 177 std::string string_value; in TEST() local [all …]
|
/external/libbrillo/brillo/dbus/ |
D | dbus_param_writer_unittest.cc | 38 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()
|
D | data_serialization_unittest.cc | 198 std::string string_value; in TEST() local 212 EXPECT_TRUE(PopValueFromReader(&reader, &string_value)); in TEST() 226 EXPECT_EQ("string", string_value); in TEST() 294 std::string string_value; in TEST() local 310 EXPECT_TRUE(PopVariantValueFromReader(&reader, &string_value)); in TEST() 326 EXPECT_EQ("data", string_value); in TEST() 359 Any string_value; in TEST() local 373 EXPECT_TRUE(PopValueFromReader(&reader, &string_value)); in TEST() 387 EXPECT_EQ("data", string_value.Get<std::string>()); in TEST()
|
/external/webrtc/talk/app/webrtc/ |
D | mediaconstraintsinterface.cc | 148 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/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/ |
D | webapp_test_util.py | 46 if request.string_value: 47 request.string_value = '+%s' % request.string_value 243 if request.string_value: 244 request.string_value = '+%s' % request.string_value 249 return test_util.OptionalMessage(string_value=self.__message) 253 request.string_value = '+%s' % request.string_value
|
D | end2end_test.py | 37 self.assertEquals(test_util.OptionalMessage(string_value='+blar'), 38 self.stub.optional_message(string_value='blar')) 51 self.assertEquals(test_util.OptionalMessage(string_value='uninitialized'), 53 self.assertEquals(test_util.OptionalMessage(string_value='initialized'),
|
D | protobuf_test.py | 67 proto.string_value = u'a string' 81 proto.string_value = u'a string\u044f' 102 proto.string_value.append(u'a string\u044f') 103 proto.string_value.append(u'another string') 160 proto.string_value = u'Latin'
|
D | test_util.py | 291 string_value = messages.StringField(7, variant=messages.Variant.STRING) variable in OptionalMessage 327 string_value = messages.StringField(7, variable in RepeatedMessage 468 message.string_value = u'a string' 482 message.string_value = u'a string\u044f' 497 message.string_value = [u'a string\u044f', u'another string'] 529 message.string_value = 'Latin'
|
D | protourlencode_test.py | 100 self.assertEquals('a string', message.string_value) 134 self.assertTrue('hello', message.sub_message.sub_message.string_value) 164 message.sub_message.sub_messages[1].string_value) 177 self.assertEquals(['hi', 'dups overwrite'], message.string_value)
|
D | protorpc_test.proto | 46 optional string string_value = 7; field 69 repeated string string_value = 7; field
|
/external/google-benchmark/src/ |
D | commandlineflags.cc | 107 const char* const string_value = GetEnv(env_var.c_str()); in BoolFromEnv() local 108 return string_value == nullptr ? default_value : strcmp(string_value, "0") != 0; in BoolFromEnv() 116 const char* const string_value = GetEnv(env_var.c_str()); in Int32FromEnv() local 117 if (string_value == nullptr) { in Int32FromEnv() 123 if (!ParseInt32(std::string("Environment variable ") + env_var, string_value, in Int32FromEnv()
|
/external/libbrillo/brillo/ |
D | key_value_store.cc | 105 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/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/wsgi/ |
D | service_test.py | 72 self.stub.optional_message(string_value='alternate-protocol') 85 self.stub.optional_message, string_value='alternate-protocol') 89 self.stub.optional_message(string_value='alternate-protocol') 194 self.assertEquals('service', response.string_value) 197 self.assertEquals('other-service', response.string_value)
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/apitools/apitools/base/py/ |
D | extra_types_test.py | 38 extra_types.JsonValue(is_null=True, string_value='a')) 41 extra_types.JsonValue(integer_value=3, string_value='a')) 61 extra_types.JsonValue(string_value='four'), 89 value=extra_types.JsonValue(string_value='eleventeen')), 103 value = extra_types.JsonValue(string_value='abc')
|
/external/protobuf/gtest/src/ |
D | gtest-port.cc | 674 const char* const string_value = posix::GetEnv(env_var.c_str()); in BoolFromGTestEnv() local 675 return string_value == NULL ? in BoolFromGTestEnv() 676 default_value : strcmp(string_value, "0") != 0; in BoolFromGTestEnv() 684 const char* const string_value = posix::GetEnv(env_var.c_str()); in Int32FromGTestEnv() local 685 if (string_value == NULL) { in Int32FromGTestEnv() 692 string_value, &result)) { in Int32FromGTestEnv()
|
/external/libchrome/base/trace_event/ |
D | trace_event_memory_overhead.cc | 80 const StringValue* string_value = nullptr; in AddValue() local 81 value.GetAsString(&string_value); in AddValue() 83 AddString(string_value->GetString()); in AddValue()
|
D | trace_event_argument.cc | 269 const StringValue* string_value; in SetBaseValueWithCopiedName() local 270 value.GetAsString(&string_value); in SetBaseValueWithCopiedName() 271 SetStringWithCopiedName(name, string_value->GetString()); in SetBaseValueWithCopiedName() 323 const StringValue* string_value; in AppendBaseValue() local 324 value.GetAsString(&string_value); in AppendBaseValue() 325 AppendString(string_value->GetString()); in AppendBaseValue()
|
/external/mesa3d/src/gtest/src/ |
D | gtest-port.cc | 709 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/ |
D | gtest-port.cc | 713 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/libchrome/base/test/ |
D | test_timeouts.cc | 46 std::string string_value(base::CommandLine::ForCurrentProcess()-> in InitializeTimeout() local 49 base::StringToInt(string_value, &timeout); in InitializeTimeout()
|
/external/google-breakpad/src/testing/gtest/src/ |
D | gtest-port.cc | 750 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/gtest/src/ |
D | gtest-port.cc | 799 const char* const string_value = posix::GetEnv(env_var.c_str()); in BoolFromGTestEnv() local 800 return string_value == NULL ? in BoolFromGTestEnv() 801 default_value : strcmp(string_value, "0") != 0; in BoolFromGTestEnv() 809 const char* const string_value = posix::GetEnv(env_var.c_str()); in Int32FromGTestEnv() local 810 if (string_value == NULL) { in Int32FromGTestEnv() 817 string_value, &result)) { in Int32FromGTestEnv()
|
/external/webrtc/webrtc/base/ |
D | bind_unittest.cc | 133 const std::string string_value("test string"); in TEST() local 134 EXPECT_EQ(string_value, Bind(&MethodBindTester::Identity<std::string>, in TEST() 135 &object, string_value)()); in TEST()
|
/external/libchrome/base/ |
D | values_unittest.cc | 73 std::string string_value; in TEST() local 81 ASSERT_FALSE(mixed_list->GetString(2, &string_value)); in TEST() 82 ASSERT_EQ("", string_value); in TEST() 97 ASSERT_TRUE(mixed_list->GetString(3, &string_value)); in TEST() 98 ASSERT_EQ("foo", string_value); in TEST() 154 const StringValue* string_value = NULL; in TEST() local 157 ASSERT_TRUE(narrow_value->GetAsString(&string_value)); in TEST() 160 ASSERT_EQ(string_value->GetString(), narrow); in TEST() 164 ASSERT_TRUE(utf16_value->GetAsString(&string_value)); in TEST() 167 ASSERT_EQ(string_value->GetString(), narrow); in TEST() [all …]
|
/external/vulkan-validation-layers/tests/gtest-1.7.0/src/ |
D | gtest-port.cc | 1151 const char* const string_value = posix::GetEnv(env_var.c_str()); in BoolFromGTestEnv() local 1152 return string_value == NULL ? in BoolFromGTestEnv() 1153 default_value : strcmp(string_value, "0") != 0; in BoolFromGTestEnv() 1161 const char* const string_value = posix::GetEnv(env_var.c_str()); in Int32FromGTestEnv() local 1162 if (string_value == NULL) { in Int32FromGTestEnv() 1169 string_value, &result)) { in Int32FromGTestEnv()
|