/build/soong/python/ |
proto.go | 15 package python package 34 // Proto generated python files have an unknown package name in the path, so package the entire output directory
|
androidmk.go | 15 package python package
|
library.go | 15 package python package 17 // This file contains the module types for building Python library.
|
defaults.go | 15 package python package
|
builder.go | 15 package python package 17 // This file contains Ninja build actions for building Python program. 29 pctx = android.NewPackageContext("android/soong/python") 48 `echo "#!/usr/bin/env python" >${out}.prefix &&` + 58 `sed 's/ENTRY_POINT/$main/' build/soong/python/scripts/main.py >$out.main &&` + 61 CommandDeps: []string{"$mergeParCmd", "$parCmd", "build/soong/python/scripts/main.py"}, 102 Description: "host python archive", 120 Description: "embedded python archive", 131 Description: "embedded python archive",
|
installer.go | 15 package python package 23 // This file handles installing python executables into their final location
|
test.go | 15 package python package 22 // This file contains the module types for building Python test.
|
binary.go | 15 package python package 17 // This file contains the module types for building Python binary. 47 // false it will act much like the normal `python` executable, but with the sources and 63 stubTemplateHost = "build/soong/python/scripts/stub_template_host.txt" 129 panic(fmt.Errorf("unknown Python actualVersion: %q for module: %q.",
|
/external/protobuf/python/google/protobuf/pyext/ |
descriptor.h | 36 #include <Python.h> 42 namespace python { namespace in namespace:google::protobuf 51 // Wraps a Descriptor in a Python object. 53 // In any case, it must stay alive as long as the Python object. 71 // This function checks the parameter type; on error, return NULL with a Python 81 // Check that the calling Python code is the global scope of a _pb2.py module. 86 // stacklevel indicates which Python frame should be the _pb2.py module. 93 } // namespace python
|
python_protobuf.h | 33 // This module exposes the C proto inside the given Python proto, in 34 // case the Python proto is implemented with a C proto. 39 #include <Python.h> 46 namespace python { namespace in namespace:google::protobuf 48 // Return the pointer to the C proto inside the given Python proto, 49 // or NULL when this is not a Python proto implemented with a C proto. 53 } // namespace python
|
descriptor_database.h | 34 #include <Python.h> 40 namespace python { namespace in namespace:google::protobuf 61 // Python objects are not required to implement this method. 67 // The python object that implements the database. The reference is owned. 71 } // namespace python
|
descriptor_containers.h | 37 #include <Python.h> 47 namespace python { namespace in namespace:google::protobuf 97 } // namespace python
|
descriptor_database.cc | 31 // This file defines a C++ DescriptorDatabase, which wraps a Python Database 32 // and delegate all its operations to Python methods. 44 namespace python { namespace in namespace:google::protobuf 53 // Convert a Python object to a FileDescriptorProto pointer. 54 // Handles all kinds of Python errors, which are simply logged. 129 // Python DescriptorDatabases are not required to implement this method. 146 } // namespace python
|
descriptor_pool.h | 34 #include <Python.h> 43 namespace python { namespace in namespace:google::protobuf 51 // There is normally one pool per process. We make it a Python object only 52 // because it contains many Python references. 76 // Note: A C++ MessageFactory is different from the Python MessageFactory. 77 // The C++ one creates messages, when the Python one creates classes. 80 // Make our own mapping to retrieve Python classes from C++ descriptors. 83 // Python references to classes are owned by this PyDescriptorPool. 89 // Python objects are owned by the map. 103 // Registers a new Python class for the given message descriptor [all...] |
extension_dict.h | 37 #include <Python.h> 56 namespace python { namespace in namespace:google::protobuf 64 // proto tree. Every Python container class holds a 66 // Python object that references any part of the tree. 89 // Gets the number of extension values in this ExtensionDict as a python object. 133 } // namespace python
|
/external/tensorflow/tensorflow/lite/python/interpreter_wrapper/ |
numpy.cc | 17 #include "tensorflow/lite/python/interpreter_wrapper/numpy.h" 20 namespace python { namespace in namespace:tflite 24 } // namespace python
|
numpy.h | 43 // See also tensorflow/python/lib/core/numpy.h for a similar approach. 49 #include <Python.h> 55 namespace python { namespace in namespace:tflite 59 } // namespace python
|
/external/tensorflow/tensorflow/lite/testing/ |
string_util.h | 18 #include <Python.h> 23 namespace python { namespace in namespace:tflite::testing 25 // Take a python string array, convert it to TF Lite dynamic buffer format and 29 } // namespace python
|
string_util.cc | 21 #include "tensorflow/lite/python/interpreter_wrapper/numpy.h" 22 #include "tensorflow/lite/python/interpreter_wrapper/python_utils.h" 27 namespace python { namespace in namespace:tflite::testing 43 } // namespace python
|
/external/python/cpython2/Lib/curses/ |
has_key.py | 186 python = has_key(key) variable 187 if system != python: 188 L.append( 'Mismatch for key %s, system=%i, Python=%i' 189 % (_curses.keyname( key ), system, python) )
|
/external/python/cpython3/Lib/curses/ |
has_key.py | 186 python = has_key(key) variable 187 if system != python: 188 L.append( 'Mismatch for key %s, system=%i, Python=%i' 189 % (_curses.keyname( key ), system, python) )
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_popen.py | 1 #! /usr/bin/env python
13 # python -c "import sys;print sys.argv" {rest_of_commandline}
14 # This results in Python being spawned and printing the sys.argv list.
16 python = sys.executable
variable 20 cmd = '%s -c "import sys;print sys.argv" %s' % (python, cmdline)
|
/external/python/cpython2/Lib/test/ |
test_popen.py | 12 # python -c "import sys;print sys.argv" {rest_of_commandline} 13 # This results in Python being spawned and printing the sys.argv list. 15 python = sys.executable variable 19 cmd = '%s -c "import sys;print sys.argv" %s' % (python, cmdline)
|
/external/protobuf/python/google/protobuf/internal/ |
api_implementation.cc | 31 #include <Python.h> 35 namespace python { namespace in namespace:google::protobuf 38 // This is either 0 for python, 1 for CPP V1, 2 for CPP V2. 41 // PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python 73 "determine the default API implementation to use for Python proto2.\n" 127 } // namespace python
|
/external/python/cpython3/Lib/test/ |
test_popen.py | 12 # python -c "import sys;print(sys.argv)" {rest_of_commandline} 13 # This results in Python being spawned and printing the sys.argv list. 15 python = sys.executable variable 16 if ' ' in python: 17 python = '"' + python + '"' # quote embedded space for cmdline variable 23 cmd = cmd % (python, cmdline)
|