Home
last modified time | relevance | path

Searched refs:passValue (Results 1 – 3 of 3) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_tcl.py448 def passValue(value): function
451 self.assertEqual(passValue(True), True if self.wantobjects else '1')
452 self.assertEqual(passValue(False), False if self.wantobjects else '0')
453 self.assertEqual(passValue('string'), 'string')
454 self.assertEqual(passValue('string\xbd'), 'string\xbd')
455 self.assertEqual(passValue('string\xe2\x82\xac'), u'string\u20ac')
456 self.assertEqual(passValue(u'string'), u'string')
457 self.assertEqual(passValue(u'string\xbd'), u'string\xbd')
458 self.assertEqual(passValue(u'string\u20ac'), u'string\u20ac')
459 self.assertEqual(passValue('str\x00ing'), 'str\x00ing')
[all …]
/external/python/cpython3/Lib/test/
Dtest_tcl.py425 def passValue(value): function
428 self.assertEqual(passValue(True), True if self.wantobjects else '1')
429 self.assertEqual(passValue(False), False if self.wantobjects else '0')
430 self.assertEqual(passValue('string'), 'string')
431 self.assertEqual(passValue('string\u20ac'), 'string\u20ac')
432 self.assertEqual(passValue('str\x00ing'), 'str\x00ing')
433 self.assertEqual(passValue('str\x00ing\xbd'), 'str\x00ing\xbd')
434 self.assertEqual(passValue('str\x00ing\u20ac'), 'str\x00ing\u20ac')
435 self.assertEqual(passValue(b'str\x00ing'),
437 self.assertEqual(passValue(b'str\xc0\x80ing'),
[all …]
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
DMembersInjectorGenerator.java290 boolean passValue) {
296 passValue ? frameworkTypeUsageStatement(fieldSnippet, dependency.kind()) : fieldSnippet);