Home
last modified time | relevance | path

Searched refs:arg_strings (Results 1 – 5 of 5) sorted by relevance

/external/python/cpython2/Lib/
Dargparse.py123 arg_strings = []
125 arg_strings.append(repr(arg))
127 arg_strings.append('%s=%r' % (name, value))
128 return '%s(%s)' % (type_name, ', '.join(arg_strings))
1075 arg_strings = values[1:]
1096 subnamespace, arg_strings = parser.parse_known_args(arg_strings, None)
1100 if arg_strings:
1102 getattr(namespace, _UNRECOGNIZED_ARGS_ATTR).extend(arg_strings)
1742 def _parse_known_args(self, arg_strings, namespace): argument
1745 arg_strings = self._read_args_from_files(arg_strings)
[all …]
/external/python/cpython3/Lib/
Dargparse.py120 arg_strings = []
123 arg_strings.append(repr(arg))
126 arg_strings.append('%s=%r' % (name, value))
130 arg_strings.append('**%s' % repr(star_args))
131 return '%s(%s)' % (type_name, ', '.join(arg_strings))
1111 arg_strings = values[1:]
1133 subnamespace, arg_strings = parser.parse_known_args(arg_strings, None)
1137 if arg_strings:
1139 getattr(namespace, _UNRECOGNIZED_ARGS_ATTR).extend(arg_strings)
1771 def _parse_known_args(self, arg_strings, namespace): argument
[all …]
/external/libchrome/base/test/
Dtrace_event_analyzer.cc107 arg_strings[it.key()] = str; in SetFromJSON()
128 const auto it = arg_strings.find(name); in GetArgAsString()
129 if (it != arg_strings.end()) { in GetArgAsString()
157 return (arg_strings.find(name) != arg_strings.end()); in HasStringArg()
572 the_event->arg_strings.find(string_); in GetMemberValueAsString()
573 if (str_i == the_event->arg_strings.end()) in GetMemberValueAsString()
843 raw_events_[i].arg_strings.insert( in MergeAssociatedEventArgs()
844 other->arg_strings.begin(), in MergeAssociatedEventArgs()
845 other->arg_strings.end()); in MergeAssociatedEventArgs()
886 this_event.arg_strings.find("name"); in ParseMetadata()
[all …]
Dtrace_event_analyzer_unittest.cc105 event.arg_strings["string"] = str; in TEST_F()
141 event.arg_strings["str"] = "the string"; in TEST_F()
153 other.arg_strings["str2"] = "the string 2"; in TEST_F()
172 (Query::EventArg("str") == Query::String(event.arg_strings["str"])); in TEST_F()
186 (Query::OtherArg("str2") == Query::String(other.arg_strings["str2"])); in TEST_F()
Dtrace_event_analyzer.h172 std::map<std::string, std::string> arg_strings; member