Home
last modified time | relevance | path

Searched refs:key_value_pairs (Results 1 – 16 of 16) sorted by relevance

/external/chromium_org/remoting/client/
Dserver_log_entry_client_unittest.cc27 std::map<std::string, std::string> key_value_pairs; in TEST() local
28 key_value_pairs["role"] = "client"; in TEST()
29 key_value_pairs["event-name"] = "session-state"; in TEST()
30 key_value_pairs["session-state"] = "connected"; in TEST()
32 ASSERT_TRUE(VerifyStanza(key_value_pairs, keys, stanza.get(), &error)) in TEST()
41 std::map<std::string, std::string> key_value_pairs; in TEST() local
42 key_value_pairs["role"] = "client"; in TEST()
43 key_value_pairs["event-name"] = "session-state"; in TEST()
44 key_value_pairs["session-state"] = "connection-failed"; in TEST()
45 key_value_pairs["connection-error"] = "host-is-offline"; in TEST()
[all …]
/external/chromium_org/remoting/host/
Dserver_log_entry_host_unittest.cc22 std::map<std::string, std::string> key_value_pairs; in TEST() local
23 key_value_pairs["role"] = "host"; in TEST()
24 key_value_pairs["event-name"] = "session-state"; in TEST()
25 key_value_pairs["session-state"] = "connected"; in TEST()
27 ASSERT_TRUE(VerifyStanza(key_value_pairs, keys, stanza.get(), &error)) in TEST()
35 std::map<std::string, std::string> key_value_pairs; in TEST() local
36 key_value_pairs["role"] = "host"; in TEST()
37 key_value_pairs["event-name"] = "heartbeat"; in TEST()
39 ASSERT_TRUE(VerifyStanza(key_value_pairs, keys, stanza.get(), &error)) in TEST()
48 std::map<std::string, std::string> key_value_pairs; in TEST() local
[all …]
/external/chromium_org/remoting/signaling/
Dserver_log_entry_unittest.cc57 const std::map<std::string, std::string>& key_value_pairs, in VerifyStanza() argument
72 key_value_pairs.find(key); in VerifyStanza()
73 if (iter == key_value_pairs.end()) { in VerifyStanza()
86 int attr_count_expected = key_value_pairs.size() + keys.size(); in VerifyStanza()
Dserver_log_entry_unittest.h31 const std::map<std::string, std::string>& key_value_pairs,
/external/chromium_org/base/process/
Dinternal_linux.cc110 std::vector<StringPair> key_value_pairs; in ParseProcStat() local
111 SplitStringIntoKeyValuePairs(contents, ' ', '\n', &key_value_pairs); in ParseProcStat()
112 for (size_t i = 0; i < key_value_pairs.size(); ++i) { in ParseProcStat()
113 const StringPair& key_value_pair = key_value_pairs[i]; in ParseProcStat()
/external/chromium_org/base/strings/
Dstring_split.cc150 StringPairs* key_value_pairs) { in SplitStringIntoKeyValuePairs() argument
151 key_value_pairs->clear(); in SplitStringIntoKeyValuePairs()
169 key_value_pairs->push_back(make_pair(key, value)); in SplitStringIntoKeyValuePairs()
Dstring_split.h44 StringPairs* key_value_pairs);
/external/chromium_org/third_party/cython/src/Cython/Compiler/
DInterpreter.py58 for item in optdict.key_value_pairs:
DAnalysedTreeTransforms.py45 rhs=DictNode(pos, key_value_pairs=self.tests))
DParseTreeTransforms.py853 key_value_pairs = []
855 for keyvalue in kwds.key_value_pairs:
861 key_value_pairs.append(keyvalue)
862 if not key_value_pairs:
865 kwds.key_value_pairs = key_value_pairs
913 return optname, dict([(key.value, value) for key, value in kwds.key_value_pairs])
DExprNodes.py4299 items += kwds.key_value_pairs
4300 self.key_value_pairs = items
4996 for arg in kwargs.key_value_pairs:
5005 for decl_arg, arg in zip(unmatched_args, kwargs.key_value_pairs):
5019 if len(kwargs.key_value_pairs) > matched_kwargs_count:
5022 for i, arg in enumerate(kwargs.key_value_pairs) ])
5072 for arg in kwargs.key_value_pairs:
6722 return cls(pos, key_value_pairs=[
6727 item.constant_result for item in self.key_value_pairs])
6731 for item in self.key_value_pairs]
[all …]
DParsing.py487 pos, key_value_pairs = keyword_args)
963 return ExprNodes.DictNode(pos, key_value_pairs = [])
1009 return ExprNodes.DictNode(pos, key_value_pairs=items)
1013 return ExprNodes.DictNode(pos, key_value_pairs = [])
2146 key_value_pairs = [
DNodes.py1055 if self.keyword_args and self.keyword_args.key_value_pairs:
1089 if len(self.positional_args) > 1 or self.keyword_args.key_value_pairs:
4006 for i, item in list(enumerate(keyword_args.key_value_pairs))[::-1]:
4014 del keyword_args.key_value_pairs[i]
4017 pos, keyword_args=keyword_args and keyword_args.key_value_pairs or [],
4019 elif keyword_args.key_value_pairs:
4053 self.dict = ExprNodes.DictNode(pos, key_value_pairs=[])
4468 for var, type_node in kwds.key_value_pairs:
4581 for member, type_node in kwds.key_value_pairs:
4587 if len(members) < len(kwds.key_value_pairs):
[all …]
DOptimize.py1656 return ExprNodes.DictNode(node.pos, key_value_pairs=[], constant_result={})
3603 node.pos, key_value_pairs=[], constant_result={})
/external/lldb/examples/python/
Dgdbremote.py439 key_value_pairs = string.split(self.str, ';')
440 for key_value_pair in key_value_pairs:
479 key_value_pairs = packet.get_key_value_pairs()
480 for key_value_pair in key_value_pairs:
529 key_value_pairs = packet.get_key_value_pairs()
530 for key_value_pair in key_value_pairs:
/external/chromium_org/third_party/cython/src/Cython/
DCodeWriter.py152 self.comma_separated_list(node.positional_args + node.keyword_args.key_value_pairs)