/external/python/cpython2/Lib/test/ |
D | test_traceback.py | 154 str_value = "String Value" 155 err = traceback.format_exception_only(str_type, str_value) 157 self.assertEqual(err[0], str_type + ': ' + str_value + '\n') 165 str_value = '<unprintable %s object>' % X.__name__ 166 self.assertEqual(err[0], X.__name__ + ': ' + str_value + '\n')
|
/external/libcxx/test/std/experimental/filesystem/class.path/path.member/path.native.obs/ |
D | c_str.pass.cpp | 32 const std::string str_value = value; in main() local 40 assert(p.c_str() == str_value); in main()
|
/external/webrtc/talk/media/base/ |
D | codec_unittest.cc | 243 std::string str_value; in TEST_F() local 244 EXPECT_TRUE(codec.GetParam("a", &str_value)); in TEST_F() 245 EXPECT_EQ("1", str_value); in TEST_F() 246 EXPECT_TRUE(codec.GetParam("b", &str_value)); in TEST_F() 247 EXPECT_EQ("x", str_value); in TEST_F() 248 EXPECT_FALSE(codec.GetParam("c", &str_value)); in TEST_F()
|
/external/wpa_supplicant_8/wpa_supplicant/dbus/ |
D | dbus_new_handlers_p2p.c | 130 if (os_strcmp(entry.str_value, "start_with_full") == 0) in wpas_dbus_handler_p2p_find() 132 else if (os_strcmp(entry.str_value, "social") == 0) in wpas_dbus_handler_p2p_find() 134 else if (os_strcmp(entry.str_value, "progressive") == 0) in wpas_dbus_handler_p2p_find() 342 pg_object_path = os_strdup(entry.str_value); in wpas_dbus_handler_p2p_group_add() 463 peer_object_path = os_strdup(entry.str_value); in wpas_dbus_handler_p2p_remove_client() 468 interface_addr = os_strdup(entry.str_value); in wpas_dbus_handler_p2p_remove_client() 547 peer_object_path = os_strdup(entry.str_value); in wpas_dbus_handler_p2p_connect() 569 if (os_strcmp(entry.str_value, "pbc") == 0) in wpas_dbus_handler_p2p_connect() 571 else if (os_strcmp(entry.str_value, "pin") == 0) in wpas_dbus_handler_p2p_connect() 573 else if (os_strcmp(entry.str_value, "display") == 0) in wpas_dbus_handler_p2p_connect() [all …]
|
D | dbus_old_handlers.c | 117 driver = os_strdup(entry.str_value); in wpas_dbus_global_add_interface() 124 driver_param = os_strdup(entry.str_value); in wpas_dbus_global_add_interface() 131 confname = os_strdup(entry.str_value); in wpas_dbus_global_add_interface() 138 bridge_ifname = os_strdup(entry.str_value); in wpas_dbus_global_add_interface() 875 size = os_strlen(entry.str_value); in wpas_dbus_iface_set_network() 884 entry.str_value); in wpas_dbus_iface_set_network() 888 value = os_strdup(entry.str_value); in wpas_dbus_iface_set_network() 1131 opensc_engine_path = os_strdup(entry.str_value); in wpas_dbus_iface_set_smartcard_modules() 1138 pkcs11_engine_path = os_strdup(entry.str_value); in wpas_dbus_iface_set_smartcard_modules() 1145 pkcs11_module_path = os_strdup(entry.str_value); in wpas_dbus_iface_set_smartcard_modules()
|
D | dbus_dict_helpers.c | 864 entry->str_value = os_strdup(v); in _wpa_dbus_dict_fill_value_from_variant() 865 if (entry->str_value == NULL) in _wpa_dbus_dict_fill_value_from_variant() 872 entry->str_value = os_strdup(v); in _wpa_dbus_dict_fill_value_from_variant() 873 if (entry->str_value == NULL) in _wpa_dbus_dict_fill_value_from_variant() 1037 os_free(entry->str_value); in wpa_dbus_dict_entry_clear()
|
D | dbus_dict_helpers.h | 123 char *str_value; member
|
D | dbus_new_handlers.c | 216 size = os_strlen(entry.str_value); in set_network_properties() 226 entry.str_value); in set_network_properties() 230 value = os_strdup(entry.str_value); in set_network_properties() 573 driver = os_strdup(entry.str_value); in wpas_dbus_handler_create_interface() 580 ifname = os_strdup(entry.str_value); in wpas_dbus_handler_create_interface() 587 confname = os_strdup(entry.str_value); in wpas_dbus_handler_create_interface() 594 bridge_ifname = os_strdup(entry.str_value); in wpas_dbus_handler_create_interface()
|
/external/libbrillo/brillo/ |
D | key_value_store_unittest.cc | 119 string str_value; in TEST_F() local 120 EXPECT_TRUE(store_.GetString("DONT_SHOUT", &str_value)); in TEST_F()
|
/external/libchrome/base/trace_event/ |
D | trace_event_unittest.cc | 2188 std::string str_value; in TEST_F() local 2189 EXPECT_TRUE(args_dict->GetString("str", &str_value)); in TEST_F() 2190 EXPECT_STREQ("string value 1", str_value.c_str()); in TEST_F() 2207 EXPECT_TRUE(args_dict->GetString("str", &str_value)); in TEST_F() 2208 EXPECT_STREQ("string value 2", str_value.c_str()); in TEST_F() 2268 std::string str_value; in TEST_F() local 2322 EXPECT_TRUE(args_dict->GetString("float_infinity", &str_value)); in TEST_F() 2323 EXPECT_STREQ("Infinity", str_value.c_str()); in TEST_F() 2328 EXPECT_TRUE(args_dict->GetString("float_neg_infinity", &str_value)); in TEST_F() 2329 EXPECT_STREQ("-Infinity", str_value.c_str()); in TEST_F() [all …]
|
/external/libchrome/base/test/ |
D | trace_event_analyzer.cc | 285 std::string str_value; in Evaluate() local 286 bool is_str = GetAsString(event, &str_value); in Evaluate() 288 return !str_value.empty(); in Evaluate()
|
/external/protobuf/src/google/protobuf/util/internal/testdata/ |
D | default_value.proto | 93 string str_value = 112; field
|
/external/fmtlib/fmt/ |
D | format.h | 1944 const char *str_value = value ? "true" : "false"; 1945 Arg::StringValue<char> str = { str_value, std::strlen(str_value) }; 2739 const StrChar *str_value = s.value; 2742 if (!str_value) { 2749 write_str(str_value, str_size, spec);
|