/third_party/python/Lib/ |
D | zipapp.py | 46 def _write_file_prefix(f, interpreter): argument 48 if interpreter: 49 shebang = b'#!' + interpreter.encode(shebang_encoding) + b'\n' 53 def _copy_archive(archive, new_archive, interpreter=None): argument 65 _write_file_prefix(dst, interpreter) 72 if interpreter and isinstance(new_archive, str): 76 def create_archive(source, target=None, interpreter=None, main=None, argument 106 _copy_archive(source, target, interpreter) 135 _write_file_prefix(fd, interpreter) 146 if interpreter and not hasattr(target, 'write'): [all …]
|
/third_party/boost/libs/function_types/example/ |
D | interpreter_example.cpp | 33 example::interpreter interpreter; in main() local 35 interpreter.register_function("echo", & echo); in main() 36 interpreter.register_function("add", & add); in main() 37 interpreter.register_function("repeat", & repeat); in main() 46 interpreter.parse_input(line); in main()
|
D | interpreter.hpp | 59 class interpreter class 83 class interpreter::token_parser 128 struct interpreter::invoker 138 interpreter::invoker<Function, next_iter_type, To>::apply in apply() 144 struct interpreter::invoker<Function,To,To> 157 interpreter::register_function(std::string const & name, Function f) in register_function() 165 void interpreter::parse_input(std::string const & text) const in parse_input()
|
/third_party/python/Mac/PythonLauncher/ |
D | FileSettings.m | 71 interpreter = [source->interpreter retain]; 122 interpreter = [@"no default found" retain]; 127 interpreter = NULL; 132 interpreter = [filename retain]; 136 if (interpreter == NULL) 137 interpreter = [@"no default found" retain]; 181 interpreter = [[source interpreter] retain]; 197 interpreter, @"interpreter", 218 value = [dict objectForKey: @"interpreter"]; 219 if (value) interpreter = [value retain]; [all …]
|
D | PreferencesWindowController.m | 30 [interpreter reloadData]; 31 [interpreter setStringValue: [settings interpreter]]; 76 - (NSString *) interpreter { return [interpreter stringValue];}; method
|
D | FileSettings.h | 12 - (NSString *) interpreter; 27 NSString *interpreter; // The pathname of the interpreter to use variable
|
D | MyDocument.m | 51 [interpreter setStringValue: [settings interpreter]]; 152 - (NSString *) interpreter { return [interpreter stringValue];}; method
|
/third_party/python/Lib/test/ |
D | test_zipapp.py | 196 zipapp.create_archive(str(source), str(target), interpreter='python') 207 zipapp.create_archive(str(source), target, interpreter='python') 216 zipapp.create_archive(str(source), str(target), interpreter='python') 234 zipapp.create_archive(str(source), str(target), interpreter='python') 236 zipapp.create_archive(str(target), str(new_target), interpreter='python2.7') 246 zipapp.create_archive(str(source), str(target), interpreter='python') 248 zipapp.create_archive(str(target), new_target, interpreter='python2.7') 259 zipapp.create_archive(source, target1, interpreter='python') 260 zipapp.create_archive(target1, target2, interpreter='python2.7') 270 zipapp.create_archive(str(source), temp_archive, interpreter='python') [all …]
|
/third_party/python/Doc/tutorial/ |
D | interactive.rst | 7 Some versions of the Python interpreter support editing of the current input 20 :ref:`automatically enabled <rlcompleter-config>` at interpreter startup so 29 The history will be available again during the next interactive interpreter 39 interpreter; however, some wishes are left: It would be nice if the proper 41 token is required next). The completion mechanism might use the interpreter's 45 One alternative enhanced interactive interpreter that has been around for quite 54 .. _bpython: https://www.bpython-interpreter.org/
|
D | interpreter.rst | 13 The Python interpreter is usually installed as :file:`/usr/local/bin/python3.10` 21 to the shell. [#]_ Since the choice of the directory where the interpreter lives 32 Windows) at the primary prompt causes the interpreter to exit with a zero exit 33 status. If that doesn't work, you can exit the interpreter by typing the 36 The interpreter's line-editing features include interactive editing, history 46 The interpreter operates somewhat like the Unix shell: when called with standard 51 A second way of starting the interpreter is ``python -c command [arg] ...``, 73 When known to the interpreter, the script name and additional arguments 82 *module* are not consumed by the Python interpreter's option processing but 91 When commands are read from a tty, the interpreter is said to be in *interactive [all …]
|
D | index.rst | 13 The Python interpreter and the extensive standard library are freely available 19 The Python interpreter is easily extended with new functions and data types 25 interpreter handy for hands-on experience, but all examples are self-contained, 46 interpreter.rst
|
/third_party/mesa3d/src/gallium/tools/trace/ |
D | dump_state.py | 114 def __init__(self, interpreter): argument 115 self.interpreter = interpreter 147 self.result = self.interpreter.lookup_object(node.address) 153 def __init__(self, interpreter): argument 154 self.interpreter = interpreter 165 return Screen(self.interpreter) 184 def __init__(self, interpreter): argument 185 Dispatcher.__init__(self, interpreter) 191 return Context(self.interpreter) 209 self.interpreter.unregister_object(resource) [all …]
|
/third_party/python/Doc/c-api/ |
D | init.rst | 225 Initializing and finalizing the interpreter 244 Initialize the Python interpreter. In an application embedding Python, 270 Return true (nonzero) when the Python interpreter has been initialized, false 281 allocated by the Python interpreter. This is a no-op when called for a second 288 An application that has loaded the Python interpreter from a dynamically 298 memory allocated by the Python interpreter may not be freed (if you find a leak, 344 interpreter has already been initialized). 357 the first time, if it is called at all. It tells the interpreter the value 361 the Python run-time libraries relative to the interpreter executable. The 365 interpreter will change the contents of this storage. [all …]
|
/third_party/wayland-ivi-extension/ivi-layermanagement-examples/LayerManagerControl/src/ |
D | main.cpp | 25 ExpressionInterpreter interpreter; in main() local 45 if (CommandSuccess != interpreter.interpretCommand(userCommand)) in main() 47 cerr << "Interpreter error: " << interpreter.getLastError() << endl; in main()
|
/third_party/python/Doc/library/ |
D | code.rst | 13 build applications which provide an interactive interpreter prompt. 18 This class deals with parsing and interpreter state (the user's namespace); it 28 Closely emulate the behavior of the interactive Python interpreter. This class 39 use as the default namespace for the interpreter loop. The :meth:`interact` 50 This function is useful for programs that want to emulate Python's interpreter 54 function *almost* always makes the same decision as the real interpreter main 77 Compile and run some source in the interpreter. Arguments are the same as for 120 because it is within the interpreter object implementation. The output is 140 interpreter objects as well as the following additions. 147 banner similar to the one printed by the standard Python interpreter, followed [all …]
|
D | zipapp.rst | 17 Python code, which can be :ref:`executed directly by the Python interpreter 67 .. cmdoption:: -p <interpreter>, --python=<interpreter> 69 Add a ``#!`` line to the archive specifying *interpreter* as the command 93 Display the interpreter embedded in the archive, for diagnostic purposes. In 110 .. function:: create_archive(source, target=None, interpreter=None, main=None, filter=None, compres… 120 the target (modifying it to reflect the value given for the *interpreter* 137 The *interpreter* argument specifies the name of the Python 138 interpreter with which the archive will be executed. It is written as 141 launcher. Omitting the *interpreter* results in no shebang line being 142 written. If an interpreter is specified, and the target is a [all …]
|
D | custominterp.rst | 8 Python's interactive interpreter. If you want a Python interpreter that
|
/third_party/python/Doc/reference/ |
D | toplevel_components.rst | 8 .. index:: single: interpreter 10 The Python interpreter can get its input from a number of sources: from a script 28 While a language specification need not prescribe how the language interpreter 43 The interpreter may also be invoked in interactive mode; in this case, it does 55 A complete program can be passed to the interpreter 58 or standard input is a tty device, the interpreter enters interactive mode;
|
/third_party/python/Doc/extending/ |
D | embedding.rst | 22 Python interpreter, while if you embed Python, the main program may have nothing 24 the Python interpreter to run some Python code. 27 the things this main program has to do is initialize the Python interpreter. At 30 call the interpreter from any part of the application. 32 There are several different ways to call the interpreter: you can pass a string 79 :c:func:`Py_Initialize` to inform the interpreter about paths to Python run-time 80 libraries. Next, the Python interpreter is initialized with 83 the interpreter down, followed by the end of the program. In a real program, 127 understood. Since these aspects do not differ from extending the interpreter, 137 section about the very high level interface, the Python interpreter does not [all …]
|
D | index.rst | 8 interpreter with new modules. Those modules can not only define new functions 10 to embed the Python interpreter in another application, for use as an extension 12 they can be loaded dynamically (at run time) into the interpreter, if the 66 interpreter as the main application, it is desirable to instead embed
|
/third_party/boost/boost/lexical_cast/ |
D | lexical_cast_old.hpp | 162 detail::lexical_stream<Target, Source, traits> interpreter; in lexical_cast() local 165 if(!(interpreter << arg && interpreter >> result)) in lexical_cast()
|
/third_party/python/Lib/test/leakers/ |
D | README.txt | 2 The idea is that you can import these modules while in the interpreter 4 the interpreter was built in debug mode. If the total ref count 17 Here's an example interpreter session for test_gestalt which still leaks:
|
/third_party/boost/tools/build/example/make/ |
D | jamroot.jam | 8 feature.feature example.python.interpreter : : free ; 10 toolset.flags do-something PYTHON : <example.python.interpreter> ;
|
/third_party/boost/tools/build/src/tools/ |
D | python.jam | 76 # - cmd-or-prefix: Preferably, a command that invokes a Python interpreter. 444 # Assume "python-cmd" invokes a python interpreter and invoke it to extract all 524 # If the interpreter was found in a directory called "PCBuild" or 527 # the default root is the directory where the interpreter was found. 557 # The version of the python interpreter to use. 559 feature.feature python.interpreter : : free ; 561 toolset.flags python.capture-output PYTHON : <python.interpreter> ; 571 # interpreter. prefix is expected to be a native path. 615 # be entered concurrently (unless they explicitly give up the interpreter lock). 709 local interpreter-cmd ; [all …]
|
/third_party/python/PC/ |
D | crtlicense.txt | 20 Redistribution of the Windows binary build of the Python interpreter 38 Python interpreter. The redistribution of the Python interpreter and
|