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

<<11121314151617181920>>

  /external/python/cpython2/Lib/test/
test_tk.py 12 with test_support.DirsOnSysPath(lib_tk_test):
16 with test_support.DirsOnSysPath(lib_tk_test):
test_ttk_textonly.py 10 with test_support.DirsOnSysPath(lib_tk_test):
14 with test_support.DirsOnSysPath(lib_tk_test):
  /external/python/cpython3/Doc/includes/
email-mime.py 22 with open(file, 'rb') as fp:
28 with smtplib.SMTP('localhost') as s:
  /external/python/cpython3/Lib/test/test_importlib/import_/
test_api.py 47 with self.assertRaises(ModuleNotFoundError):
52 with self.assertRaises(TypeError):
57 # PEP 328 did away with sys.module None entries and the ambiguity of
59 with self.assertRaises(ValueError):
67 with util.import_state(meta_path=[self.bad_finder_loader]):
68 with util.uncache(PKG_NAME):
78 with util.import_state(meta_path=[self.bad_finder_loader]):
79 with util.uncache(PKG_NAME):
81 with self.assertRaises(ImportError):
  /external/python/cpython3/Lib/test/test_tools/
test_pdeps.py 20 with tempfile.TemporaryDirectory() as tmpdir:
22 with open(fn, 'w') as stream:
27 # Issue #14492: this used to fail with an AttributeError.
  /external/python/cpython3/Tools/scripts/
crlf.py 2 "Replace CRLF with LF in argument files. Print names of changed files."
11 with open(filename, "rb") as f:
19 with open(filename, "wb") as f:
lfcr.py 3 "Replace LF with CRLF in argument files. Print names of changed files."
12 with open(filename, "rb") as f:
20 with open(filename, "wb") as f:
  /external/skia/gn/
gen_plist_ios.py 18 with open(os.path.join(out, app + '_Info.plist'), 'w') as f:
  /external/skia/infra/bots/recipes/
bundle_recipes.py 22 with api.git.env():
23 with api.context(cwd=skia_dir):
  /external/skia/tools/
milestone.py 42 with open(milestone_file, 'w') as o:
45 with open(milestone_file, 'r') as f:
  /external/skqp/gn/
gen_plist_ios.py 18 with open(os.path.join(out, app + '_Info.plist'), 'w') as f:
  /external/skqp/infra/bots/recipes/
bundle_recipes.py 22 with api.git.env():
23 with api.context(cwd=skia_dir):
  /external/skqp/tools/
milestone.py 42 with open(milestone_file, 'w') as o:
45 with open(milestone_file, 'r') as f:
  /external/tensorflow/tensorflow/contrib/learn/python/learn/datasets/
base_test.py 4 # you may not use this file except in compliance with the License.
32 with mock.patch.object(base, "time") as mock_time:
33 with mock.patch.object(base, "urllib") as mock_urllib:
47 with mock.patch.object(base, "time") as mock_time:
48 with mock.patch.object(base, "urllib") as mock_urllib:
57 with self.assertRaises(IOError):
68 with mock.patch.object(base, "time") as mock_time:
69 with mock.patch.object(base, "urllib") as mock_urllib:
73 with self.assertRaises(IOError):
  /external/tensorflow/tensorflow/core/lib/strings/
str_util.cc 4 you may not use this file except in compliance with the License.
93 // We are going to write the result to dest with its iterator. If our string
119 if (error) *error = "String cannot end with \\";
183 if (error) *error = "String cannot end with \\x";
284 // resulting string, and previous letter isn't replaced with an underscore,
291 // Initialize result with all '_'s. There is no string
  /external/tensorflow/tensorflow/python/data/kernel_tests/
shard_dataset_op_test.py 4 # you may not use this file except in compliance with the License.
31 with self.test_session() as sess:
34 with self.assertRaises(errors.OutOfRangeError):
43 with self.test_session() as sess:
46 with self.assertRaises(errors.OutOfRangeError):
53 with self.test_session() as sess:
56 with self.assertRaises(errors.OutOfRangeError):
60 with self.assertRaises(ValueError):
64 with self.assertRaises(ValueError):
68 with self.assertRaises(ValueError)
    [all...]
  /external/tensorflow/tensorflow/python/kernel_tests/
stage_op_test.py 4 # you may not use this file except in compliance with the License.
32 with ops.Graph().as_default() as G:
33 with ops.device('/cpu:0'):
36 with ops.device(test.gpu_device_name()):
44 with self.test_session(use_gpu=True, graph=G) as sess:
51 with ops.Graph().as_default() as G:
52 with ops.device('/cpu:0'):
55 with ops.device(test.gpu_device_name()):
63 with self.test_session(use_gpu=True, graph=G) as sess:
71 with ops.Graph().as_default() as G
    [all...]
string_to_hash_bucket_op_test.py 4 # you may not use this file except in compliance with the License.
30 with self.test_session():
38 with self.test_session():
50 with self.test_session():
58 with self.test_session():
69 with self.test_session():
76 with self.test_session():
87 with self.test_session():
89 with self.assertRaisesOpError('Key must have 2 elements'):
  /external/tensorflow/tensorflow/python/util/
tf_contextlib_test.py 4 # you may not use this file except in compliance with the License.
49 with test_yield_append_before_and_after_yield(x, 'before', ''):
54 with test_yield_append_before_and_after_yield(x, '', 'after'):
60 with test_yield_append_before_and_after_yield(x, 'before', 'after'):
61 with test_yield_append_before_and_after_yield(x, 'inner', 'outer'):
62 with test_yield_return_x_plus_1(1) as var:
68 with test_yield_append_before_and_after_yield(x, 1, 2):
70 with test_yield_append_before_and_after_yield(x, 3, 4):
75 with test_yield_return_x_plus_1(3) as result:
  /external/v8/src/inspector/build/
xxd.py 18 with open(input_filename) as input_file:
24 with open(output_filename, 'w') as output_file:
  /external/v8/tools/
concatenate-files.py 4 # Redistribution and use in source and binary forms, with or without
13 # with the distribution.
36 # us with an easy and uniform way of doing this on all platforms.
56 with open(filenames[-1], "wb") as target:
58 with open(filename, "rb") as current:
  /external/valgrind/gdbserver_tests/
nlgone_abrt.stdoutB.exp 5 Program terminated with signal SIGABRT, Aborted.
  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
test_ttk_textonly.py 10 with test_support.DirsOnSysPath(lib_tk_test):
14 with test_support.DirsOnSysPath(lib_tk_test):
  /prebuilts/gdb/linux-x86/lib/python2.7/test/
test_ttk_textonly.py 10 with test_support.DirsOnSysPath(lib_tk_test):
14 with test_support.DirsOnSysPath(lib_tk_test):
  /prebuilts/go/darwin-x86/test/fixedbugs/
bug427.go 11 // struct with four fields of basic type
14 // struct with five fields of basic type
17 // array with four elements
20 // array with five elements

Completed in 279 milliseconds

<<11121314151617181920>>