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

  /external/chromium_org/third_party/libphonenumber/src/phonenumbers/utf/
unicodetext.cc 207 repr_.append(first.it_, last.it_ - first.it_);
227 repr_.Copy(src.repr_.data_, src.repr_.size_);
232 repr_.Copy(buffer, byte_length);
235 repr_.size_ = ConvertToInterchangeValid(repr_.data_, byte_length);
242 repr_.Copy(buffer, byte_length);
251 repr_.TakeOwnershipOf(buffer, byte_length, byte_capacity);
254 repr_.size_ = ConvertToInterchangeValid(repr_.data_, byte_length)
    [all...]
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...]
test_logging.py 985 for (id_, repr_), ref in self._survivors.items():
987 dead.append(repr_)
    [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...]
test_logging.py 985 for (id_, repr_), ref in self._survivors.items():
987 dead.append(repr_)
    [all...]

Completed in 143 milliseconds