Searched refs:__eq__ (Results 1 - 25 of 84) sorted by relevance

1234

/external/chromium_org/mojo/public/tools/bindings/pylib/mojom/parse/
H A Dast.py7 # Note: For convenience of testing, you probably want to define __eq__() methods
20 def __eq__(self, other): member in class:NodeBase
53 def __eq__(self, other): member in class:NodeListBase
54 return super(NodeListBase, self).__eq__(other) and \
105 def __eq__(self, other): member in class:Attribute
106 return super(Attribute, self).__eq__(other) and \
130 def __eq__(self, other): member in class:Const
131 return super(Const, self).__eq__(other) and \
144 def __eq__(self, other): member in class:Enum
145 return super(Enum, self).__eq__(othe
159 def __eq__(self, other): member in class:EnumValue
179 def __eq__(self, other): member in class:Import
200 def __eq__(self, other): member in class:Interface
220 def __eq__(self, other): member in class:Method
245 def __eq__(self, other): member in class:Module
263 def __eq__(self, other): member in class:Mojom
282 def __eq__(self, other): member in class:Ordinal
299 def __eq__(self, other): member in class:Parameter
322 def __eq__(self, other): member in class:Struct
343 def __eq__(self, other): member in class:StructField
[all...]
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/style/
H A Derror_handlers_unittest.py83 """Test the __eq__() method for the return value of True."""
87 self.assertTrue(handler1.__eq__(handler2))
90 """Test the __eq__() method for the return value of False."""
102 self.assertTrue(handler.__eq__(make_handler()))
105 self.assertFalse(handler.__eq__(make_handler(configuration=None)))
106 self.assertFalse(handler.__eq__(make_handler(file_path='bar.txt')))
107 self.assertFalse(handler.__eq__(make_handler(increment_error_count=None)))
108 self.assertFalse(handler.__eq__(make_handler(line_numbers=[50])))
H A Dfilter_unittest.py31 # On Testing __eq__() and __ne__():
34 # assertNotEquals() to test __eq__() or __ne__(). We do this to be
40 # negation of __eq__() or __ne__(), which are not necessarily
46 # false. Accordingly, when defining __eq__(), one should
104 """Test __eq__ equality function."""
110 # __eq__() and __ne__().
111 self.assertTrue(filter1.__eq__(filter2))
112 self.assertFalse(filter1.__eq__(filter3))
121 # __eq__() and __ne__().
178 """Test __eq__ metho
[all...]
H A Doptparser_unittest.py230 """Test __eq__ equality function."""
231 self.assertTrue(ProcessorOptions().__eq__(ProcessorOptions()))
244 self.assertTrue(options.__eq__(ProcessorOptions()))
246 self.assertFalse(options.__eq__(ProcessorOptions(filter_rules=["+"])))
247 self.assertFalse(options.__eq__(ProcessorOptions(git_commit="commit")))
248 self.assertFalse(options.__eq__(ProcessorOptions(is_verbose=True)))
249 self.assertFalse(options.__eq__(ProcessorOptions(min_confidence=2)))
250 self.assertFalse(options.__eq__(ProcessorOptions(output_format="vs7")))
H A Dfilter.py85 def __eq__(self, other): member in class:_CategoryFilter
91 # Python does not automatically deduce from __eq__().
177 def __eq__(self, other): member in class:FilterConfiguration
190 # Python does not automatically deduce this from __eq__().
191 return not self.__eq__(other)
H A Derror_handlers.py90 def __eq__(self, other): member in class:DefaultStyleErrorHandler
105 # Python does not automatically deduce __ne__ from __eq__.
106 return not self.__eq__(other)
H A Doptparser.py173 def __eq__(self, other): member in class:CommandOptionValues
192 # Python does not automatically deduce this from __eq__().
193 return not self.__eq__(other)
/external/fonttools/Lib/fontTools/misc/
H A Dpy23.py61 return not self.__eq__(other)
62 def __eq__(self, other): member in class:.Tag
63 return str.__eq__(self, self.transcode(other))
/external/fonttools/Tools/fontTools/misc/
H A Dpy23.py61 return not self.__eq__(other)
62 def __eq__(self, other): member in class:.Tag
63 return str.__eq__(self, self.transcode(other))
/external/fonttools/Lib/fontTools/ttLib/tables/
H A DDefaultTable.py43 return not self.__eq__(other)
44 def __eq__(self, other): member in class:DefaultTable
/external/fonttools/Tools/fontTools/ttLib/tables/
H A DDefaultTable.py43 return not self.__eq__(other)
44 def __eq__(self, other): member in class:DefaultTable
/external/llvm/utils/lit/lit/
H A DShCommands.py9 def __eq__(self, other): member in class:Command
48 def __eq__(self, other): member in class:Pipeline
75 def __eq__(self, other): member in class:Seq
/external/chromium_org/chrome/common/extensions/docs/server2/
H A Dapi_schema_graph.py22 def __eq__(self, other): member in class:LookupResult
251 def __eq__(self, other): member in class:_GraphNode
252 # _GraphNode inherits __eq__() from dict, which will not take annotation
254 return dict.__eq__(self, other)
336 def __eq__(self, other): member in class:APISchemaGraph
H A Dfile_system.py62 def __eq__(self, other): member in class:StatInfo
220 def __eq__(self, other): member in class:FileSystem
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/models/
H A Dtest_results.py61 def __eq__(self, other): member in class:TestResult
/external/chromium_org/third_party/protobuf/python/google/protobuf/
H A Dmessage.py75 def __eq__(self, other_msg): member in class:Message
/external/protobuf/python/google/protobuf/
H A Dmessage.py70 def __eq__(self, other_msg): member in class:Message
/external/chromium_org/mojo/public/tools/bindings/pylib/mojom_tests/parse/
H A Dast_unittest.py34 def __eq__(self, other): member in class:_TestNode
35 return super(_TestNode, self).__eq__(other) and self.value == other.value
48 # Test |__eq__()|; this is only used for testing, where we want to do
55 # Check that |__ne__()| just defers to |__eq__()| properly.
66 # |NodeBase|'s |__eq__()| should compare types (and a subclass's |__eq__()|
71 # Also test |__eq__()| directly.
/external/chromium_org/third_party/simplejson/
H A Dordered_dict.py112 def __eq__(self, other): member in class:OrderedDict
116 return dict.__eq__(self, other)
/external/protobuf/python/google/protobuf/internal/
H A Dcontainers.py72 # The concrete classes should define __eq__.
165 def __eq__(self, other): member in class:RepeatedScalarFieldContainer
237 def __eq__(self, other): member in class:RepeatedCompositeFieldContainer
/external/qemu/scripts/
H A Dordereddict.py116 def __eq__(self, other): member in class:OrderedDict
124 return dict.__eq__(self, other)
/external/chromium_org/tools/find_runtime_symbols/
H A Dstatic_symbols.py68 def __eq__(self, other): member in class:Procedure
74 return not self.__eq__(other)
97 def __eq__(self, other): member in class:ElfSection
111 return not self.__eq__(other)
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/coverage/
H A Dcodeunit.py82 def __eq__(self, other): return self.name == other.name member in class:CodeUnit
/external/chromium_org/third_party/google_appengine_cloudstorage/cloudstorage/
H A Dapi_utils.py161 def __eq__(self, other): member in class:RetryParams
167 return not self.__eq__(other)
/external/chromium_org/third_party/protobuf/python/google/protobuf/internal/
H A Dcontainers.py72 # The concrete classes should define __eq__.
176 def __eq__(self, other): member in class:RepeatedScalarFieldContainer
262 def __eq__(self, other): member in class:RepeatedCompositeFieldContainer

Completed in 4316 milliseconds

1234