Home
last modified time | relevance | path

Searched refs:tofile (Results 1 – 19 of 19) sorted by relevance

/third_party/ffmpeg/tools/python/
Dconvert_from_tensorflow.py183 …ations[activation], in_channels, out_channels, filter_height, has_bias], dtype=np.uint32).tofile(f)
184 kernel.tofile(f)
200 np.array([input_operand_index, output_operand_index], dtype=np.uint32).tofile(f)
236 …self.conv_activations[activation], in_channels, out_channels, has_bias], dtype=np.uint32).tofile(f)
237 kernel.tofile(f)
251 np.array([input_operand_index, output_operand_index], dtype=np.uint32).tofile(f)
284 in_channels, out_channels, filter_height, has_bias], dtype=np.uint32).tofile(f)
285 kernel.tofile(f)
289 np.array([input_operand_index, output_operand_index], dtype=np.uint32).tofile(f)
296 np.array([self.op2code[node.op], block_size], dtype=np.uint32).tofile(f)
[all …]
/third_party/python/Tools/scripts/
Ddiff.py39 tofile = options.tofile
42 todate = file_mtime(tofile)
45 with open(tofile) as tf:
49 diff = difflib.unified_diff(fromlines, tolines, fromfile, tofile, fromdate, todate, n=n)
53 …diff = difflib.HtmlDiff().make_file(fromlines,tolines,fromfile,tofile,context=options.c,numlines=n)
55 diff = difflib.context_diff(fromlines, tolines, fromfile, tofile, fromdate, todate, n=n)
/third_party/musl/libc-test/src/functionalext/supplement/linux/
Dsendfile.c25 const char *tofile = "/data/tests/libc-test/src/tofile.txt"; variable
39 f = fopen(tofile, "w+"); in sendfile_0100()
47 int tofd = open(tofile, O_WRONLY | O_CREAT); in sendfile_0100()
61 f = fopen(tofile, "r"); in sendfile_0100()
71 remove(tofile); in sendfile_0100()
Dsplice.c25 const char *tofile = "/data/tests/libc-test/src/tofile.txt"; variable
40 int tofd = open(tofile, O_RDWR | O_CREAT); in splice_0100()
60 remove(tofile); in splice_0100()
/third_party/gettext/gettext-tools/misc/
Dconvert-archive.in81 tofile="$4"
82 test -n "$tofile" || tofile=`pwd`/archive.$to.tar.gz
254 dir) cat > "$tofile" ;;
255 dirgz) gzip -c -9 > "$tofile" ;;
256 dirbz2) bzip2 -c -9 > "$tofile" ;;
257 dirxz) xz -c -5 > "$tofile" ;;
319 | gzip -c -9 > "$tofile" \
362 | gzip -c -9 > "$tofile" \
/third_party/python/Lib/
Ddifflib.py1095 def unified_diff(a, b, fromfile='', tofile='', fromfiledate='', argument
1136 _check_types(a, b, fromfile, tofile, fromfiledate, tofiledate, lineterm)
1144 yield '+++ {}{}{}'.format(tofile, todate, lineterm)
1180 def context_diff(a, b, fromfile='', tofile='', argument
1224 _check_types(a, b, fromfile, tofile, fromfiledate, tofiledate, lineterm)
1233 yield '--- {}{}{}'.format(tofile, todate, lineterm)
1273 def diff_bytes(dfunc, a, b, fromfile=b'', tofile=b'', argument
1294 tofile = decode(tofile)
1299 lines = dfunc(a, b, fromfile, tofile, fromfiledate, tofiledate, n, lineterm)
/third_party/skia/third_party/externals/expat/expat/tests/
Dudiffer.py56 tofile=config.second))
/third_party/expat/tests/
Dudiffer.py56 tofile=config.second))
/third_party/mindspore/mindspore/lite/examples/export_models/models/
Dtrain_utils.py39 x.tofile(file)
/third_party/python/Doc/library/
Ddifflib.rst152 .. function:: context_diff(a, b, fromfile='', tofile='', fromfiledate='', tofiledate='', n=3, linet…
172 *tofile*, *fromfiledate*, and *tofiledate*. The modification times are normally
178 >>> sys.stdout.writelines(context_diff(s1, s2, fromfile='before.py', tofile='after.py'))
282 .. function:: unified_diff(a, b, fromfile='', tofile='', fromfiledate='', tofiledate='', n=3, linet…
303 *tofile*, *fromfiledate*, and *tofiledate*. The modification times are normally
310 >>> sys.stdout.writelines(unified_diff(s1, s2, fromfile='before.py', tofile='after.py'))
324 .. function:: diff_bytes(dfunc, a, b, fromfile=b'', tofile=b'', fromfiledate=b'', tofiledate=b'', n…
334 fromfile, tofile, fromfiledate, tofiledate, n, lineterm)``. The output of
Darray.rst217 the :meth:`tofile` method.)
223 .. method:: array.tofile(f)
/third_party/jsoncpp/.travis_scripts/
Drun-clang-format.py81 tofile='{}\t(reformatted)'.format(file),
/third_party/skia/third_party/externals/spirv-tools/test/tools/
Dexpect.py364 tofile='actual_output')))))
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/tools/
Dexpect.py364 tofile='actual_output')))))
/third_party/spirv-tools/test/tools/
Dexpect.py364 tofile='actual_output')))))
/third_party/skia/third_party/externals/angle2/src/tests/
Dcapture_replay_tests.py549 tofile=replay_file):
/third_party/python/Lib/test/
Dtest_array.py448 self.assertRaises(TypeError, a.tofile)
452 a.tofile(f)
/third_party/python/Doc/whatsnew/
D3.0.rst638 :meth:`tofile` instead. Also, the ``'c'`` typecode for array is
/third_party/python/Misc/
DHISTORY33274 methods are renamed to fromfile() and tofile().