Home
last modified time | relevance | path

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

12

/external/grpc-grpc/test/cpp/qps/
Djson_run_localhost_scenarios.bzl3str_value": "latency", "name": "grpc.optimization_target"}]}, "client_config": {"security_params":…
Dqps_json_driver_scenarios.bzl3str_value": "throughput", "name": "grpc.optimization_target"}, {"int_value": 1, "name": "grpc.mini…
Dserver.h131 channel_arg.str_value()); in ApplyConfigToBuilder()
/external/tensorflow/tensorflow/core/util/
Dactivation_mode.cc23 Status GetActivationModeFromString(const string& str_value, in GetActivationModeFromString() argument
25 if (str_value == "None") { in GetActivationModeFromString()
27 } else if (str_value == "Sigmoid") { in GetActivationModeFromString()
29 } else if (str_value == "Relu") { in GetActivationModeFromString()
31 } else if (str_value == "Relu6") { in GetActivationModeFromString()
33 } else if (str_value == "ReluX") { in GetActivationModeFromString()
35 } else if (str_value == "Tanh") { in GetActivationModeFromString()
37 } else if (str_value == "BandPass") { in GetActivationModeFromString()
40 return errors::NotFound(str_value, " is not an allowed activation mode"); in GetActivationModeFromString()
Dpadding.cc26 string str_value; in GetNodeAttr() local
27 TF_RETURN_IF_ERROR(GetNodeAttr(node_def, attr_name, &str_value)); in GetNodeAttr()
28 if (str_value == "SAME") { in GetNodeAttr()
30 } else if (str_value == "VALID") { in GetNodeAttr()
32 } else if (str_value == "EXPLICIT") { in GetNodeAttr()
35 return errors::NotFound(str_value, " is not an allowed padding type"); in GetNodeAttr()
Dmirror_pad_mode.cc26 string str_value; in GetNodeAttr() local
27 TF_RETURN_IF_ERROR(GetNodeAttr(node_def, attr_name, &str_value)); in GetNodeAttr()
28 if (str_value == "REFLECT") { in GetNodeAttr()
30 } else if (str_value == "SYMMETRIC") { in GetNodeAttr()
33 return errors::NotFound(str_value, " is not an allowed padding mode."); in GetNodeAttr()
Denv_var.cc35 string str_value = str_util::Lowercase(tf_env_var_val); in ReadBoolFromEnvVar() local
36 if (str_value == "0" || str_value == "false") { in ReadBoolFromEnvVar()
39 } else if (str_value == "1" || str_value == "true") { in ReadBoolFromEnvVar()
Dactivation_mode.h41 Status GetActivationModeFromString(const string& str_value,
/external/u-boot/cmd/
Dbinop.c59 char *str_value; in read_from_env_var() local
61 str_value = getenv(varname); in read_from_env_var()
62 if (str_value) in read_from_env_var()
63 decode_hexstring(str_value, result); in read_from_env_var()
/external/python/cpython2/Lib/test/
Dtest_traceback.py154 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/input.output/filesystems/class.path/path.member/path.native.obs/
Dc_str.pass.cpp31 const std::string str_value = value; in main() local
39 assert(p.c_str() == str_value); in main()
/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/adhd/cras/src/tests/
Ddbus_test.cc206 const char *str_value; in MatchMessageArgs() local
207 dbus_message_iter_get_basic(&iter, &str_value); in MatchMessageArgs()
208 if (strcmp(str_value, arg.string_value.c_str()) != 0) in MatchMessageArgs()
244 const char *str_value = arg.string_value.c_str(); in AppendArgsToMessage() local
245 dbus_message_iter_append_basic(&struct_iter, arg.type, &str_value); in AppendArgsToMessage()
287 const char *str_value = vit->c_str(); in AppendArgsToMessage() local
288 dbus_message_iter_append_basic(&array_iter, arg.type, &str_value); in AppendArgsToMessage()
297 const char *str_value = arg.string_value.c_str(); in AppendArgsToMessage() local
298 dbus_message_iter_append_basic(&iter, arg.type, &str_value); in AppendArgsToMessage()
/external/wpa_supplicant_8/wpa_supplicant/dbus/
Ddbus_new_handlers_p2p.c130 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()
345 pg_object_path = os_strdup(entry.str_value); in wpas_dbus_handler_p2p_group_add()
466 peer_object_path = os_strdup(entry.str_value); in wpas_dbus_handler_p2p_remove_client()
471 interface_addr = os_strdup(entry.str_value); in wpas_dbus_handler_p2p_remove_client()
552 peer_object_path = os_strdup(entry.str_value); in wpas_dbus_handler_p2p_connect()
574 if (os_strcmp(entry.str_value, "pbc") == 0) in wpas_dbus_handler_p2p_connect()
576 else if (os_strcmp(entry.str_value, "pin") == 0) in wpas_dbus_handler_p2p_connect()
578 else if (os_strcmp(entry.str_value, "display") == 0) in wpas_dbus_handler_p2p_connect()
[all …]
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.c224 size = os_strlen(entry.str_value); in set_network_properties()
234 entry.str_value); in set_network_properties()
238 value = os_strdup(entry.str_value); in set_network_properties()
581 driver = os_strdup(entry.str_value); in wpas_dbus_handler_create_interface()
588 ifname = os_strdup(entry.str_value); in wpas_dbus_handler_create_interface()
595 confname = os_strdup(entry.str_value); in wpas_dbus_handler_create_interface()
602 bridge_ifname = os_strdup(entry.str_value); in wpas_dbus_handler_create_interface()
2391 if (hwaddr_aton(entry.str_value, peer)) { in wpas_dbus_handler_tdls_channel_switch()
2394 entry.str_value); in wpas_dbus_handler_tdls_channel_switch()
/external/scapy/scapy/asn1/
Dasn1.py289 str_value = None
291 str_value = value
302 if not str_value:
303 str_value = plain_str(value)
305 if any(c for c in str_value if c not in ["0", "1"]):
313 padded_value = str_value + ("0" * unused_bits)
/external/tensorflow/tensorflow/contrib/cloud/python/ops/
Dbigquery_reader_ops_test.py224 int_value, str_value = sess.run(
229 self.assertEqual(str_value.shape, (1, 1))
231 string_col = str_value[0][0]
/external/tensorflow/tensorflow/contrib/session_bundle/
Dexporter.py329 str_value = path_tensor.op.get_attr("value").string_val
330 if len(str_value) != 1:
332 return str_value[0]
/external/libbrillo/brillo/
Dkey_value_store_unittest.cc120 string str_value; in TEST_F() local
121 EXPECT_TRUE(store_.GetString("DONT_SHOUT", &str_value)); in TEST_F()
/external/perfetto/protos/perfetto/trace/ftrace/
Dgeneric.proto28 string str_value = 3; field
/external/tensorflow/tensorflow/core/platform/cloud/
Dcurl_http_request.cc397 string str_value(value); in HeaderCallback() local
398 str_util::StripTrailingWhitespace(&str_value); in HeaderCallback()
399 that->response_headers_[string(name)] = str_value; in HeaderCallback()
/external/adhd/cras/src/server/
Dcras_alsa_ucm.c146 const char *str_value; in get_int() local
151 rc = get_var(mgr, var, dev, verb, &str_value); in get_int()
154 *value = atoi(str_value); in get_int()
155 free((void *)str_value); in get_int()
/external/protobuf/src/google/protobuf/util/internal/testdata/
Ddefault_value.proto93 string str_value = 112; field

12