HomeSort by relevance Sort by last modified time
    Searched refs:with (Results 201 - 225 of 16881) sorted by null

1 2 3 4 5 6 7 891011>>

  /cts/tests/tests/provider/src/android/provider/cts/contacts/
ContactsContract_StructuredPhoneticName.java 5 * you may not use this file except in compliance with the License.
58 // Setup: contact with only phonetic name
60 .with(RawContacts.ACCOUNT_TYPE, "test_account")
61 .with(RawContacts.ACCOUNT_NAME, "test_name")
64 .with(StructuredName.PHONETIC_FAMILY_NAME, "phonetic name")
84 .with(RawContacts.ACCOUNT_TYPE, "test_account")
85 .with(RawContacts.ACCOUNT_NAME, "test_name")
88 .with(StructuredName.GIVEN_NAME, "name")
94 .with(RawContacts.ACCOUNT_TYPE, "test_account")
95 .with(RawContacts.ACCOUNT_NAME, "test_name"
    [all...]
ContactsContract_GroupMembershipTest.java 5 * you may not use this file except in compliance with the License.
54 .with(GroupMembership.GROUP_ROW_ID, group.getId())
64 .with(RawContacts.ACCOUNT_TYPE, "test_type")
65 .with(RawContacts.ACCOUNT_NAME, "test_name")
68 .with(Groups.SOURCE_ID, "test_source_id")
69 .with(Groups.ACCOUNT_TYPE, "test_type")
70 .with(Groups.ACCOUNT_NAME, "test_name")
73 .with(GroupMembership.GROUP_SOURCE_ID, "test_source_id")
84 .with(RawContacts.ACCOUNT_TYPE, "test_type")
85 .with(RawContacts.ACCOUNT_NAME, "test_name"
    [all...]
  /libcore/luni/src/test/java/libcore/java/time/
YearMonthTest.java 5 * you may not use this file except in compliance with the License.
45 assertEquals(YearMonth.of(1000, Month.JANUARY), ym.with(ChronoField.YEAR, 1000));
46 assertEquals(YearMonth.of(-1, Month.JANUARY), ym.with(ChronoField.YEAR, -1));
47 assertEquals(YearMonth.of(2000, Month.FEBRUARY), ym.with(ChronoField.MONTH_OF_YEAR, 2));
49 bceYm.with(ChronoField.MONTH_OF_YEAR, 12));
50 assertSame(ym, ym.with(ChronoField.ERA, IsoEra.CE.getValue()));
51 assertSame(bceYm, bceYm.with(ChronoField.ERA, IsoEra.BCE.getValue()));
53 assertEquals(bceYm, ym.with(ChronoField.ERA, IsoEra.BCE.getValue()));
54 assertEquals(ym, bceYm.with(ChronoField.ERA, IsoEra.CE.getValue()));
55 assertEquals(YearMonth.of(1, Month.JANUARY), ym.with(ChronoField.YEAR_OF_ERA, 1))
    [all...]
  /external/tensorflow/tensorflow/python/estimator/
model_fn_test.py 4 # you may not use this file except in compliance with the License.
51 with ops.Graph().as_default(), self.test_session():
59 with ops.Graph().as_default(), self.test_session():
80 with ops.Graph().as_default(), self.test_session():
81 with self.assertRaisesRegexp(TypeError, 'loss must be Tensor'):
89 with ops.Graph().as_default(), self.test_session():
96 with ops.Graph().as_default(), self.test_session():
97 with self.assertRaisesRegexp(ValueError, 'Missing loss'):
102 with ops.Graph().as_default(), self.test_session():
103 with self.assertRaisesRegexp(ValueError, 'Loss must be scalar')
    [all...]
  /external/llvm/test/MC/Mips/mips1/
invalid-mips3-wrong-error.s 9 ldc2 $8,-21181($at) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: expected memory with 16-bit signed offset
10 ldc2 $20,-1024($s2) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: expected memory with 16-bit signed offset
13 ll $v0,-7321($s2) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: expected memory with 9-bit signed offset
14 sc $15,18904($s3) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: expected memory with 9-bit signed offset
15 scd $15,-8243($sp) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: expected memory with 9-bit signed offset
16 sdc2 $20,23157($s2) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: expected memory with 16-bit signed offset
17 sdc2 $20,-1024($s2) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: expected memory with 16-bit signed offset
invalid-mips4-wrong-error.s 11 ldc2 $8,-21181($at) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: expected memory with 16-bit signed offset
12 ldc2 $20,-1024($s2) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: expected memory with 16-bit signed offset
15 ll $v0,-7321($s2) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: expected memory with 9-bit signed offset
16 sc $15,18904($s3) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: expected memory with 9-bit signed offset
17 scd $15,-8243($sp) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: expected memory with 9-bit signed offset
18 sdc2 $20,23157($s2) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: expected memory with 16-bit signed offset
19 sdc2 $20,-1024($s2) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: expected memory with 16-bit signed offset
  /external/python/cpython3/Lib/test/test_importlib/import_/
test___package__.py 38 with self.mock_modules('pkg.__init__', 'pkg.fake') as importer:
39 with util.import_state(meta_path=[importer]):
53 with warnings.catch_warnings():
60 with self.assertWarns(ImportWarning):
65 with warnings.catch_warnings():
78 with self.assertWarns(ImportWarning):
84 with self.assertRaises(SystemError):
89 with self.assertRaises(TypeError):
119 Import will set it as needed to help with the transition to relying on
132 with self.mock_modules('top_level') as mock
    [all...]
test_caching.py 27 with util.uncache('some_module'):
35 with util.uncache(name):
37 with self.assertRaises(ImportError) as cm:
66 with self.create_mock('module') as mock:
67 with util.import_state(meta_path=[mock]):
74 with self.create_mock('pkg.__init__', 'pkg.module') as importer:
75 with util.import_state(meta_path=[importer]):
84 with self.create_mock('pkg.__init__', 'pkg.module') as importer:
85 with util.import_state(meta_path=[importer]):
  /external/tensorflow/tensorflow/compiler/tests/
clustering_test.py 4 # you may not use this file except in compliance with the License.
41 with self.test_session():
42 with self.test_scope():
53 with self.test_session():
54 with ops.device(CPU_DEVICE):
57 with self.test_scope():
71 with self.test_session() as sess:
72 with ops.device(CPU_DEVICE):
74 with self.test_scope():
76 with ops.device(CPU_DEVICE)
    [all...]
  /external/tensorflow/tensorflow/contrib/slim/python/slim/nets/
inception_v2.py 4 # you may not use this file except in compliance with the License.
81 with variable_scope.variable_scope(scope, 'InceptionV2', [inputs]):
82 with arg_scope(
144 with variable_scope.variable_scope(end_point):
145 with variable_scope.variable_scope('Branch_0'):
148 with variable_scope.variable_scope('Branch_1'):
156 with variable_scope.variable_scope('Branch_2'):
166 with variable_scope.variable_scope('Branch_3'):
179 with variable_scope.variable_scope(end_point):
180 with variable_scope.variable_scope('Branch_0')
    [all...]
  /external/chromium-trace/catapult/devil/devil/android/sdk/
adb_wrapper_test.py 7 Unit tests for some APIs with conditional logic in adb_wrapper.py
16 with devil_env.SysPath(devil_env.PYMOCK_PATH):
32 with self._MockRunDeviceAdbCmd('Verity already disabled on /system'):
36 with self._MockRunDeviceAdbCmd(
42 with self._MockRunDeviceAdbCmd('Verity already enabled on /system'):
46 with self._MockRunDeviceAdbCmd(
52 with self._MockRunDeviceAdbCmd('error: closed'):
57 with self._MockRunDeviceAdbCmd('error: closed'):
  /tools/test/connectivity/acts/framework/tests/
acts_adb_test.py 6 # you may not use this file except in compliance with the License.
40 with mock.patch('acts.libs.proc.job.run', return_value=mock_job):
41 with self.assertRaises(adb.AdbError):
48 with mock.patch('acts.libs.proc.job.run', return_value=mock_job):
49 with self.assertRaises(adb.AdbError):
55 with mock.patch('acts.libs.proc.job.run', return_value=mock_job):
61 with mock.patch('acts.libs.proc.job.run', return_value=mock_job):
67 with mock.patch('acts.libs.proc.job.run', return_value=mock_job):
  /prebuilts/go/darwin-x86/test/
loopbce.go 8 for i := range a { // ERROR "Induction variable with minimum 0 and increment 1$"
16 for i := range a { // ERROR "Induction variable with minimum 0 and increment 1$"
25 for i := range a { // ERROR "Induction variable with minimum 0 and increment 1$"
34 for _, i := range a { // ERROR "Induction variable with minimum 0 and increment 1"
42 for i := 1; i < len(a); i++ { // ERROR "Induction variable with minimum 1 and increment 1$"
50 for i := 0; i < len(a); i += 2 { // ERROR "Induction variable with minimum 0 and increment 2$"
58 for i := -10; i < len(a); i += 2 { // ERROR "Induction variable with minimum -10 and increment 2$"
65 for i := range a { // ERROR "Induction variable with minimum 0 and increment 1$"
73 for i := 0; i < len(a); i++ { // ERROR "Induction variable with minimum 0 and increment 1$"
81 for i := 0; len(a) > i; i++ { // ERROR "Induction variable with minimum 0 and increment 1$
    [all...]
  /prebuilts/go/linux-x86/test/
loopbce.go 8 for i := range a { // ERROR "Induction variable with minimum 0 and increment 1$"
16 for i := range a { // ERROR "Induction variable with minimum 0 and increment 1$"
25 for i := range a { // ERROR "Induction variable with minimum 0 and increment 1$"
34 for _, i := range a { // ERROR "Induction variable with minimum 0 and increment 1"
42 for i := 1; i < len(a); i++ { // ERROR "Induction variable with minimum 1 and increment 1$"
50 for i := 0; i < len(a); i += 2 { // ERROR "Induction variable with minimum 0 and increment 2$"
58 for i := -10; i < len(a); i += 2 { // ERROR "Induction variable with minimum -10 and increment 2$"
65 for i := range a { // ERROR "Induction variable with minimum 0 and increment 1$"
73 for i := 0; i < len(a); i++ { // ERROR "Induction variable with minimum 0 and increment 1$"
81 for i := 0; len(a) > i; i++ { // ERROR "Induction variable with minimum 0 and increment 1$
    [all...]
  /external/icu/icu4c/source/test/intltest/
numbertest_api.cpp 86 NumberFormatter::with(),
99 u"Basic with Negative Sign",
100 NumberFormatter::with(),
110 NumberFormatter::with().notation(Notation::scientific()),
124 NumberFormatter::with().notation(Notation::engineering()),
138 NumberFormatter::with().notation(
153 NumberFormatter::with().notation(Notation::scientific().withMinExponentDigits(2)),
167 NumberFormatter::with().notation(Notation::scientific()),
176 NumberFormatter::with().notation(Notation::compactShort()),
190 NumberFormatter::with().notation(Notation::compactLong())
    [all...]
  /external/python/cpython3/Lib/test/
test_lzma.py 30 with self.assertRaises(ValueError):
35 with self.assertRaises(TypeError):
37 # Cannot specify a memory limit with FILTER_RAW.
38 with self.assertRaises(ValueError):
40 # Can only specify a custom filter chain with FILTER_RAW.
42 with self.assertRaises(ValueError):
44 with self.assertRaises(ValueError):
65 with self.assertRaises(ValueError):
67 with self.assertRaises(ValueError):
69 with self.assertRaises(ValueError)
    [all...]
  /external/python/cpython3/Lib/unittest/test/testmock/
testwith.py 17 with patch('%s.something' % __name__, sentinel.Something2):
24 with patch('%s.something' % __name__, sentinel.Something2):
35 with patch('%s.something' % __name__) as mock_something:
46 with patch.object(Foo, 'something'):
52 with catch_warnings(record=True):
53 with patch('%s.something' % __name__) as mock_something, patch('%s.something_else' % __name__) as mock_something_else:
63 with patch('%s.something' % __name__, sentinel.Patched) as mock_something:
75 with mock as m:
84 with self.assertRaises(TypeError):
85 with mock
    [all...]
  /external/tensorflow/tensorflow/contrib/kernel_methods/python/
losses_test.py 4 # you may not use this file except in compliance with the License.
35 with self.test_session():
38 with self.assertRaises(ValueError):
43 with self.test_session():
46 with self.assertRaises(ValueError):
51 with self.test_session():
55 with self.assertRaises(ValueError):
60 with self.test_session():
63 with self.assertRaises(ValueError):
68 with self.test_session()
    [all...]
  /external/iptables/extensions/
libip6t_REJECT.c 16 enum ip6t_reject_with with; member in struct:reject_names
22 enum ip6t_reject_with with; member in struct:reject_names_xlate
68 "--reject-with type drop input packet and send back\n"
75 {.name = "reject-with", .id = O_REJECT_WITH, .type = XTTYPE_STRING},
84 reject->with = IP6T_ICMP6_PORT_UNREACH;
99 reject->with = reject_table[i].with;
114 if (reject_table[i].with == reject->with)
116 printf(" reject-with %s", reject_table[i].name)
    [all...]
libipt_REJECT.c 23 enum ipt_reject_with with; member in struct:reject_names
29 enum ipt_reject_with with; member in struct:reject_names_xlate
77 "--reject-with type drop input packet and send back\n"
86 {.name = "reject-with", .id = O_REJECT_WITH, .type = XTTYPE_STRING},
95 reject->with = IPT_ICMP_PORT_UNREACHABLE;
110 reject->with = reject_table[i].with;
116 fprintf(stderr, "--reject-with echo-reply no longer"
130 if (reject_table[i].with == reject->with)
    [all...]
  /external/chromium-trace/catapult/devil/devil/android/
device_utils_test.py 31 with devil_env.SysPath(devil_env.PYMOCK_PATH):
91 with self.assertRaises(ValueError):
93 with self.assertRaises(ValueError):
103 with mock.patch('devil.devil_env._Environment.LocalPath',
105 with self.assertCall(
121 with self.assertCalls(
288 with self.assertCalls(
296 with self.assertCall(self.call.adb.GetState(), 'device'):
300 with self.assertCall(self.call.adb.GetState(), 'offline'):
304 with self.assertCall(self.call.adb.GetState(), self.CommandError())
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/json/tests/
test_recursion.py 72 with self.assertRaises(RuntimeError):
74 with self.assertRaises(RuntimeError):
76 with self.assertRaises(RuntimeError):
79 with self.assertRaises(RuntimeError):
81 with self.assertRaises(RuntimeError):
83 with self.assertRaises(RuntimeError):
91 with self.assertRaises(RuntimeError):
93 with self.assertRaises(RuntimeError):
103 with self.assertRaises(RuntimeError):
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/json/tests/
test_recursion.py 72 with self.assertRaises(RuntimeError):
74 with self.assertRaises(RuntimeError):
76 with self.assertRaises(RuntimeError):
79 with self.assertRaises(RuntimeError):
81 with self.assertRaises(RuntimeError):
83 with self.assertRaises(RuntimeError):
91 with self.assertRaises(RuntimeError):
93 with self.assertRaises(RuntimeError):
103 with self.assertRaises(RuntimeError):
  /external/python/cpython2/Lib/json/tests/
test_recursion.py 72 with self.assertRaises(RuntimeError):
74 with self.assertRaises(RuntimeError):
76 with self.assertRaises(RuntimeError):
79 with self.assertRaises(RuntimeError):
81 with self.assertRaises(RuntimeError):
83 with self.assertRaises(RuntimeError):
91 with self.assertRaises(RuntimeError):
93 with self.assertRaises(RuntimeError):
103 with self.assertRaises(RuntimeError):
  /external/tensorflow/tensorflow/contrib/distributions/python/kernel_tests/bijectors/
absolute_value_test.py 4 # you may not use this file except in compliance with the License.
37 with self.test_session() as sess:
59 with self.test_session():
60 with self.assertRaisesRegexp(ValueError, "event_ndims.*was not 0"):
64 with self.test_session() as sess:
67 with self.assertRaisesOpError("event_ndims was not 0"):
72 with self.test_session() as sess:
74 with self.assertRaisesOpError("y was negative"):
78 with self.test_session() as sess:
80 with self.assertRaisesOpError("y was negative")
    [all...]

Completed in 1163 milliseconds

1 2 3 4 5 6 7 891011>>