Home
last modified time | relevance | path

Searched refs:shebang (Results 1 – 25 of 65) sorted by relevance

123

/third_party/python/Lib/distutils/command/
Dbuild_scripts.py107 shebang = b"#!" + executable + post_interp + b"\n"
114 shebang.decode('utf-8')
118 "from utf-8".format(shebang))
123 shebang.decode(encoding)
128 .format(shebang, encoding))
130 outf.write(shebang)
/third_party/node/deps/npm/node_modules/cmd-shim/lib/
Dindex.js51 const shebang = firstLine.match(shebangExpr) constant
52 if (!shebang) {
55 const vars = shebang[1] || ''
56 const prog = shebang[2]
57 const args = shebang[3] || ''
/third_party/rust/crates/proc-macro-error/proc-macro-error-attr/src/
Dparse.rs30 let shebang = match input.peek() { in parse_next_attr() localVariable
53 shebang, in parse_next_attr()
73 pub(crate) shebang: TokenTree, field
86 self.shebang.to_tokens(ts); in to_tokens()
/third_party/node/deps/npm/node_modules/cross-spawn/lib/
Dparse.js15 const shebang = parsed.file && readShebang(parsed.file);
17 if (shebang) {
19 parsed.command = shebang;
/third_party/node/test/fixtures/
Dutf8-bom-shebang-shebang.js1 #!shebang
2 #!shebang
Dutf8-shebang-bom.js1 #!shebang
/third_party/typescript/tests/baselines/reference/
Dshebang.symbols1 === tests/cases/compiler/shebang.ts ===
4 >foo : Symbol(foo, Decl(shebang.ts, 1, 3))
Dshebang.types1 === tests/cases/compiler/shebang.ts ===
/third_party/node/test/es-module/
Dtest-esm-basic-imports.mjs4 import * as okShebangNs from './test-esm-shebang.mjs';
6 import * as okShebangPercentNs from './test-esm-shebang%2emjs';
/third_party/rust/crates/syn/src/
Dfile.rs82 pub shebang: Option<String>,
97 shebang: None, in parse()
Dlib.rs967 let mut shebang = None; in parse_file() localVariable
972 shebang = Some(content[..idx].to_string()); in parse_file()
975 shebang = Some(content.to_string()); in parse_file()
982 file.shebang = shebang; in parse_file()
/third_party/python/Lib/test/test_tools/
Dtest_pathfix.py20 def pathfix(self, shebang, pathfix_flags, exitcode=0, stdout='', stderr='', argument
55 self.assertEqual(shebang, new_shebang)
/third_party/python/Lib/
Dzipapp.py49 shebang = b'#!' + interpreter.encode(shebang_encoding) + b'\n'
50 f.write(shebang)
/third_party/python/Doc/library/
Dzipapp.rst50 copied to the target archive (or the contents of its shebang line will be
139 a "shebang" line at the start of the archive. On POSIX, this will be
141 launcher. Omitting the *interpreter* results in no shebang line being
212 To replace the shebang line on an existing archive, create a modified archive
252 shebang line for users of Python 3.5, for example.
428 zip application format uses this ability to prepend a standard POSIX "shebang"
433 1. An optional shebang line, containing the characters ``b'#!'`` followed by an
435 name can be anything acceptable to the OS "shebang" processing, or the Python
443 If an application archive has a shebang line, it may have the executable bit set
Dvenv.rst77 environment; scripts installed into virtual environments have a "shebang"
80 ``PATH``. On Windows, "shebang" line processing is supported if you have the
/third_party/rust/crates/syn/examples/dump-syntax/
DREADME.md15 shebang: None,
/third_party/spirv-tools/tools/sva/
Dyarn.lock318 shebang-command "^1.2.0"
329 shebang-command "^1.2.0"
1452 shebang-command@^1.2.0:
1454 …resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-1.2.0.tgz#44aac65b695b033…
1457 shebang-regex "^1.0.0"
1459 shebang-regex@^1.0.0:
1461 …resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-1.0.0.tgz#da42f49740c0b42db2c…
/third_party/skia/third_party/externals/spirv-tools/tools/sva/
Dyarn.lock318 shebang-command "^1.2.0"
329 shebang-command "^1.2.0"
1452 shebang-command@^1.2.0:
1454 …resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-1.2.0.tgz#44aac65b695b033…
1457 shebang-regex "^1.0.0"
1459 shebang-regex@^1.0.0:
1461 …resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-1.0.0.tgz#da42f49740c0b42db2c…
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/tools/sva/
Dyarn.lock318 shebang-command "^1.2.0"
329 shebang-command "^1.2.0"
1452 shebang-command@^1.2.0:
1454 …resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-1.2.0.tgz#44aac65b695b033…
1457 shebang-regex "^1.0.0"
1459 shebang-regex@^1.0.0:
1461 …resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-1.0.0.tgz#da42f49740c0b42db2c…
/third_party/python/PC/
Dlauncher.c863 wchar_t *shebang; member
1067 for (vpp = builtin_virtual_paths; vpp->shebang; ++vpp) { in parse_shebang()
1068 plen = wcslen(vpp->shebang); in parse_shebang()
1069 if (wcsncmp(shebang_line, vpp->shebang, plen) == 0) { in parse_shebang()
1079 if (vpp->shebang == NULL) { in parse_shebang()
/third_party/skia/third_party/externals/freetype/src/tools/
Dupdate-copyright-year17 # the shebang, using the first `perl' program in the shell's path instead.]
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/asciidoctor-chunker/
DREADME.md14 …ps://github.com/wshito/asciidoctor-chunker/releases) The script contains shebang and can be invoke…
123 - `npm install --save-dev ava webpack webpack-cli webpack-shebang-plugin`
/third_party/python/Doc/using/
Dwindows.rst777 "shebang" line. Linux and other Unix like operating systems have native
783 To allow shebang lines in Python scripts to be portable between Unix and
802 shebang lines starting with ``/usr``.
816 The ``/usr/bin/env`` form of shebang line has one further special property.
821 Arguments in shebang lines
824 The shebang lines can also specify additional options to be passed to the
825 Python interpreter. For example, if you have a shebang line:
859 For example, a shebang line of ``#!python`` has no version qualifier, while
/third_party/typescript/src/compiler/
Dscanner.ts728 const shebang = shebangTriviaRegex.exec(text)![0]; constant
729 pos = pos + shebang.length;
763 const shebang = getShebang(text); constant
764 if (shebang) {
765 pos = shebang.length;
/third_party/python/Doc/tutorial/
Dinterpreter.rst153 :ref:`UNIX "shebang" line <tut-scripts>`. In this case, the encoding

123