HomeSort by relevance Sort by last modified time
    Searched defs:repr_ (Results 1 - 3 of 3) sorted by null

  /external/chromium_org/third_party/libphonenumber/src/phonenumbers/utf/
unicodetext.h 150 bool empty() { return repr_.size_ == 0; } // Test if text is empty.
285 const char* utf8_data() const { return repr_.data_; }
286 int utf8_length() const { return repr_.size_; }
287 int utf8_capacity() const { return repr_.capacity_; }
354 Repr repr_; member in class:i18n::phonenumbers::UnicodeText
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_hash.py 147 # Each subclass should define a field "repr_", containing the repr() of
150 def get_hash_command(self, repr_):
151 return 'print(hash(%s))' % repr_
153 def get_hash(self, repr_, seed=None):
159 cmd_line = [sys.executable, '-c', self.get_hash_command(repr_)]
169 run1 = self.get_hash(self.repr_, seed='random')
170 run2 = self.get_hash(self.repr_, seed='random')
182 self.assertEqual(self.get_hash(self.repr_), known_hash_of_obj)
185 self.assertEqual(self.get_hash(self.repr_, seed=0), known_hash_of_obj)
200 self.assertEqual(self.get_hash(self.repr_, seed=42), h
203 repr_ = repr('abc') variable in class:StrHashRandomizationTests
209 repr_ = repr(u'abc') variable in class:UnicodeHashRandomizationTests
215 repr_ = 'buffer("abc")' variable in class:BufferHashRandomizationTests
225 repr_ = repr(datetime.date(1066, 10, 14)) variable in class:DatetimeDateTests
228 repr_ = repr(datetime.datetime(1, 2, 3, 4, 5, 6, 7)) variable in class:DatetimeDatetimeTests
231 repr_ = repr(datetime.time(0)) variable in class:DatetimeTimeTests
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_hash.py 147 # Each subclass should define a field "repr_", containing the repr() of
150 def get_hash_command(self, repr_):
151 return 'print(hash(%s))' % repr_
153 def get_hash(self, repr_, seed=None):
159 cmd_line = [sys.executable, '-c', self.get_hash_command(repr_)]
169 run1 = self.get_hash(self.repr_, seed='random')
170 run2 = self.get_hash(self.repr_, seed='random')
182 self.assertEqual(self.get_hash(self.repr_), known_hash_of_obj)
185 self.assertEqual(self.get_hash(self.repr_, seed=0), known_hash_of_obj)
200 self.assertEqual(self.get_hash(self.repr_, seed=42), h
203 repr_ = repr('abc') variable in class:StrHashRandomizationTests
209 repr_ = repr(u'abc') variable in class:UnicodeHashRandomizationTests
215 repr_ = 'buffer("abc")' variable in class:BufferHashRandomizationTests
225 repr_ = repr(datetime.date(1066, 10, 14)) variable in class:DatetimeDateTests
228 repr_ = repr(datetime.datetime(1, 2, 3, 4, 5, 6, 7)) variable in class:DatetimeDatetimeTests
231 repr_ = repr(datetime.time(0)) variable in class:DatetimeTimeTests
    [all...]

Completed in 65 milliseconds