Home
last modified time | relevance | path

Searched refs:str_value (Results 1 – 15 of 15) sorted by relevance

/external/webrtc/talk/media/base/
Dcodec_unittest.cc243 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/
Ddbus_new_handlers_p2p.c117 if (os_strcmp(entry.str_value, "start_with_full") == 0) in wpas_dbus_handler_p2p_find()
119 else if (os_strcmp(entry.str_value, "social") == 0) in wpas_dbus_handler_p2p_find()
121 else if (os_strcmp(entry.str_value, "progressive") == 0) in wpas_dbus_handler_p2p_find()
325 pg_object_path = os_strdup(entry.str_value); in wpas_dbus_handler_p2p_group_add()
446 peer_object_path = os_strdup(entry.str_value); in wpas_dbus_handler_p2p_remove_client()
451 interface_addr = os_strdup(entry.str_value); in wpas_dbus_handler_p2p_remove_client()
530 peer_object_path = os_strdup(entry.str_value); in wpas_dbus_handler_p2p_connect()
552 if (os_strcmp(entry.str_value, "pbc") == 0) in wpas_dbus_handler_p2p_connect()
554 else if (os_strcmp(entry.str_value, "pin") == 0) in wpas_dbus_handler_p2p_connect()
556 else if (os_strcmp(entry.str_value, "display") == 0) in wpas_dbus_handler_p2p_connect()
[all …]
Ddbus_old_handlers.c117 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()
885 size = os_strlen(entry.str_value); in wpas_dbus_iface_set_network()
894 entry.str_value); in wpas_dbus_iface_set_network()
898 value = os_strdup(entry.str_value); in wpas_dbus_iface_set_network()
1142 opensc_engine_path = os_strdup(entry.str_value); in wpas_dbus_iface_set_smartcard_modules()
1149 pkcs11_engine_path = os_strdup(entry.str_value); in wpas_dbus_iface_set_smartcard_modules()
1156 pkcs11_module_path = os_strdup(entry.str_value); in wpas_dbus_iface_set_smartcard_modules()
Ddbus_dict_helpers.c864 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()
Ddbus_dict_helpers.h123 char *str_value; member
Ddbus_new_handlers.c216 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()
552 driver = os_strdup(entry.str_value); in wpas_dbus_handler_create_interface()
559 ifname = os_strdup(entry.str_value); in wpas_dbus_handler_create_interface()
566 confname = os_strdup(entry.str_value); in wpas_dbus_handler_create_interface()
573 bridge_ifname = os_strdup(entry.str_value); in wpas_dbus_handler_create_interface()
/external/chromium-trace/catapult/third_party/webtest/webtest/
Dlint.py453 str_value = to_string(value)
454 assert not bad_header_value_re.search(str_value), (
456 % (str_value, bad_header_value_re.search(str_value).group(0)))
/external/libnfc-nci/halimpl/bcm2079x/adaptation/
Dconfig.cpp44 const char* str_value() const {return m_str_value.c_str();} in str_value() function in CNfcParam
411 memcpy(pValue, pParam->str_value(), len); in getValue()
486 ALOGD("%s found %s=%s\n", __func__, p_name, (*it)->str_value()); in find()
678 const unsigned char* p = (const unsigned char*)pParam->str_value(); in GetNumValue()
/external/libnfc-nci/src/adaptation/
Dconfig.cpp44 const char* str_value() const {return m_str_value.c_str();} in str_value() function in CNfcParam
426 memcpy(pValue, pParam->str_value(), len); in getValue()
501 ALOGD("%s found %s=%s\n", __func__, p_name, (*it)->str_value()); in find()
693 const unsigned char* p = (const unsigned char*)pParam->str_value(); in GetNumValue()
/external/libnfc-nci/halimpl/pn54x/utils/
DphNxpConfig.cpp77 const char* str_value() const {return m_str_value.c_str();} in str_value() function in CNfcParam
482 memcpy(pValue, pParam->str_value(), pParam->str_len()); in getValue()
499 memcpy(pValue, pParam->str_value(), pParam->str_len()); in getValue()
584 NXPLOG_EXTNS_D("%s found %s=%s\n", __func__, p_name, (*it)->str_value()); in find()
933 const unsigned char* p = (const unsigned char*)pParam->str_value(); in GetNxpNumValue()
/external/libbrillo/brillo/
Dkey_value_store_unittest.cc119 string str_value; in TEST_F() local
120 EXPECT_TRUE(store_.GetString("DONT_SHOUT", &str_value)); in TEST_F()
/external/libchrome/base/trace_event/
Dtrace_event_unittest.cc2084 std::string str_value; in TEST_F() local
2085 EXPECT_TRUE(args_dict->GetString("str", &str_value)); in TEST_F()
2086 EXPECT_STREQ("string value 1", str_value.c_str()); in TEST_F()
2103 EXPECT_TRUE(args_dict->GetString("str", &str_value)); in TEST_F()
2104 EXPECT_STREQ("string value 2", str_value.c_str()); in TEST_F()
2149 std::string str_value; in TEST_F() local
2203 EXPECT_TRUE(args_dict->GetString("float_infinity", &str_value)); in TEST_F()
2204 EXPECT_STREQ("Infinity", str_value.c_str()); in TEST_F()
2209 EXPECT_TRUE(args_dict->GetString("float_neg_infinity", &str_value)); in TEST_F()
2210 EXPECT_STREQ("-Infinity", str_value.c_str()); in TEST_F()
[all …]
/external/libchrome/base/test/
Dtrace_event_analyzer.cc255 std::string str_value; in Evaluate() local
256 bool is_str = GetAsString(event, &str_value); in Evaluate()
258 return !str_value.empty(); in Evaluate()
/external/chromium-trace/catapult/third_party/WebOb/webob/
Drequest.py1067 str_value = str(value)
1068 env['HTTP_CACHE_CONTROL'] = str_value
1069 env['webob._cache_control'] = (str_value, value)
/external/v8/test/cctest/
Dtest-api.cc5507 String::Utf8Value str_value(try_catch->Exception()); in CheckUncle() local
5508 CHECK_EQ(0, strcmp(*str_value, "uncle?")); in CheckUncle()