/prebuilts/misc/common/swig/include/2.0.11/lua/ |
lua_fnptr.i | 4 * SWIG Library file containing the main typemap code to support Lua modules. 47 // the actual typemap 48 %typemap(in,checkfn="lua_isfunction") SWIGLUA_FN 72 Note: the typemap does not check that the object is in fact a function, 119 %typemap(in) SWIGLUA_REF 122 %typemap(out) SWIGLUA_REF
|
factory.i | 17 %typemap(out) Method {
|
/prebuilts/misc/common/swig/include/2.0.11/ocaml/ |
typecheck.i | 155 %typemap(throws) int, 164 %typemap(throws) SWIGTYPE CLASS { 169 %typemap(throws) SWIGTYPE { 174 %typemap(throws) char * {
|
/prebuilts/misc/common/swig/include/2.0.11/typemaps/ |
factory.swg | 82 %typemap(out) Method {
|
cdata.swg | 18 %typemap(out,noblock=1,fragment="SWIG_FromCharPtrAndSize") SWIGCDATA { 21 %typemap(in) (const void *indata, size_t inlen) = (char *STRING, size_t SIZE);
|
/external/selinux/libsepol/include/sepol/policydb/ |
expand.h | 38 * to expand base into itself (i.e. base == out); the typemap for 49 policydb_t * out, uint32_t * typemap, uint32_t * boolmap, 61 uint32_t * typemap); 62 extern int expand_convert_type_set(policydb_t * p, uint32_t * typemap,
|
/external/tpm2/generator/ |
structure_generator_test.py | 27 typemap = {'INT': typedef} 29 typedef2.OutputMarshalImpl(out_file, marshalled_types, typemap) 41 typemap = {'UINT16': typedef} 43 constant.OutputMarshalImpl(out_file, marshalled_types, typemap) 56 typemap = {'UINT16': typedef} 58 attributeStruct.OutputMarshalImpl(out_file, marshalled_types, typemap) 72 typemap = {'UINT16': typedef} 74 interface.OutputMarshalImpl(out_file, marshalled_types, typemap) 99 typemap = { 105 struct.OutputMarshalImpl(out_file, marshalled_types, typemap) [all...] |
structure_generator.py | 203 def OutputMarshal(self, out_file, typemap): 208 typemap: A dict mapping type names to the corresponding object. 220 typemap[self.field_type].OutputMarshalCall(out_file, self) 222 def OutputUnmarshal(self, out_file, typemap): 227 typemap: A dict mapping type names to the corresponding object. 239 typemap[self.field_type].OutputUnmarshalCall(out_file, self) 306 def _GetBaseType(self, out_file, marshalled_types, typemap): 320 typemap: A dict mapping type names to the corresponding object. 331 typemap[base_type].OutputMarshalImpl( 332 out_file, marshalled_types, typemap) [all...] |
command_generator.py | 409 def OutputMarshalFunction(self, out_file, typemap): 414 typemap: A dict mapping type names to the corresponding object. 427 typemap[handle['type']].OutputMarshalCall( 435 typemap[parameter['type']].OutputMarshalCall( 440 def OutputUnmarshalFunction(self, out_file, typemap): 445 typemap: A dict mapping type names to the corresponding object. 462 typemap[parameter['type']].OutputUnmarshalCall( 588 def _OutputHandleProcess(commands, typemap): 593 typemap: A dict mapping type names to the corresponding object. 604 if typemap[handle['type']].HasConditional() [all...] |
/external/tensorflow/tensorflow/python/client/ |
tf_session.i | 115 %typemap(in) (const char* target) { 127 %typemap(out) const char* TF_OperationName { 132 %typemap(out) const char* TF_OperationOpType { 137 %typemap(out) int64_t { 149 %typemap(out) std::vector<TF_Operation*> tensorflow::TF_OperationGetControlInputs_wrapper { 167 %typemap(out) std::vector<const char*> 185 %typemap(out) std::vector<TF_Output> tensorflow::GetOperationInputs { 203 %typemap(out) std::vector<string> 222 %typemap(in) const tensorflow::NameVector& ( 271 %typemap(in, numinputs=0) tensorflow::PyObjectVector* out_values [all...] |
/prebuilts/misc/common/swig/include/2.0.11/guile/ |
list-vector.i | 41 by this typemap becomes the return value of the Scheme wrapper. 59 %typemap(in, doc="$NAME is a vector of " #SCM_TYPE " values") 76 %typemap(in, doc="$NAME is a list of " #SCM_TYPE " values") 98 %typemap(check) (int VECTORLENINPUT, C_TYPE *VECTORINPUT), 106 %typemap(freearg) (int VECTORLENINPUT, C_TYPE *VECTORINPUT), 122 %typemap(in,numinputs=0) (int *VECTORLENOUTPUT, C_TYPE **VECTOROUTPUT) 138 %typemap(argout, doc="$NAME (a vector of " #SCM_TYPE " values)") 153 %typemap(argout, doc="$NAME (a list of " #SCM_TYPE " values)") 170 %typemap(freearg) 221 %typemap(freearg) [all...] |
/external/libmojo/mojo/public/tools/bindings/ |
generate_type_mappings.py | 5 """Generates a JSON typemap from its command-line arguments and dependencies. 7 Each typemap should be specified in an command-line argument of the form 8 key=value, with an argument of "--start-typemap" preceding each typemap. 11 generate_type_mappings.py --output=foo.typemap --start-typemap \\ 15 generates a foo.typemap containing 31 generate_type_mappings.py --dependency foo.typemap --output=bar.typemap \\ 32 --start-typemap public_headers=bar.h traits_headers=bar_traits.h \ [all...] |
/prebuilts/misc/common/swig/include/2.0.11/allegrocl/ |
allegrocl.swg | 10 %typemap(lin,numinputs=1) SWIGTYPE "(cl::let (($out $in))\n $body)"; 12 %typemap(lout) bool, char, unsigned char, signed char, 18 %typemap(lout) void "$body"; 20 %typemap(lout) SWIGTYPE[ANY], SWIGTYPE *, 28 %typemap(lout) SWIGTYPE "(cl::let* ((address $body)\n (new-inst (cl::make-instance '$lclass :foreign-address address)))\n (cl::unless (cl::zerop address)\n (excl:schedule-finalization new-inst #'$ldestructor))\n (cl::setq ACL_ffresult new-inst))"; 30 %typemap(lout) SWIGTYPE[ANY], SWIGTYPE *, SWIGTYPE &, SWIGTYPE 36 %typemap(lisptype) bool, const bool "cl:boolean"; 37 %typemap(lisptype) char, const char "cl:character"; 38 %typemap(lisptype) unsigned char, const unsigned char "cl:integer"; 39 %typemap(lisptype) signed char, const signed char "cl:integer" [all...] |
/prebuilts/misc/common/swig/include/2.0.11/ |
constraints.i | 80 %typemap(check SWIGCSHARPCANTHROW) 100 %typemap(check SWIGCSHARPCANTHROW) 120 %typemap(check SWIGCSHARPCANTHROW) 140 %typemap(check SWIGCSHARPCANTHROW) 160 %typemap(check SWIGCSHARPCANTHROW) 180 %typemap(check SWIGCSHARPCANTHROW) 191 %typemap(check SWIGCSHARPCANTHROW) 202 %typemap(check SWIGCSHARPCANTHROW) 213 %typemap(check SWIGCSHARPCANTHROW)
|
swig.swg | 199 typemap code by hand. Alternatively, you can use the 205 Now, using a typemap 207 %typemap(check) int direction { 350 /* Set up the typemap for handling new return strings */ 353 %typemap(newfree) char * "delete [] $1;"; 355 %typemap(newfree) char * "free($1);"; 358 /* Default typemap for handling char * members */ 361 %typemap(memberin) char * { 370 %typemap(memberin,warning=SWIGWARN_TYPEMAP_CHARLEAK_MSG) const char * { 378 %typemap(globalin) char * [all...] |
std_except.i | 34 %typemap(throws,noblock=1) Exception {
|
/prebuilts/misc/common/swig/include/2.0.11/octave/ |
std_common.i | 36 instantiations required using %template). The STL containers define the 'front' method and the typemap 37 below is used whenever the front method is wrapped returning an enum. This typemap simply picks up the 38 standard enum typemap, but additionally drags in a fragment containing the traits_asval and traits_from 61 %typemap(out, fragment="SWIG_Traits_enum_"{Type}) const enum SWIGTYPE& front %{$typemap(out, const enum SWIGTYPE&)%}
|
/prebuilts/misc/common/swig/include/2.0.11/php/ |
phppointers.i | 2 %typemap(in) TYPE *REF ($*1_ltype tmp), 16 %typemap(argout) TYPE *REF,
|
utils.i | 72 %typemap(in) TYPE 76 %typemap(in) const TYPE & ($*1_ltype temp) 81 %typemap(directorout) TYPE 85 %typemap(directorout) const TYPE & ($*1_ltype temp)
|
/prebuilts/misc/common/swig/include/2.0.11/python/ |
std_common.i | 38 instantiations required using %template). The STL containers define the 'front' method and the typemap 39 below is used whenever the front method is wrapped returning an enum. This typemap simply picks up the 40 standard enum typemap, but additionally drags in a fragment containing the traits_asval and traits_from 63 %typemap(out, fragment="SWIG_Traits_enum_"{Type}) const enum SWIGTYPE& front %{$typemap(out, const enum SWIGTYPE&)%}
|
/prebuilts/misc/common/swig/include/2.0.11/r/ |
std_common.i | 37 instantiations required using %template). The STL containers define the 'front' method and the typemap 38 below is used whenever the front method is wrapped returning an enum. This typemap simply picks up the 39 standard enum typemap, but additionally drags in a fragment containing the traits_asval and traits_from 62 %typemap(out, fragment="SWIG_Traits_enum_"{Type}) const enum SWIGTYPE& front %{$typemap(out, const enum SWIGTYPE&)%}
|
std_vector.i | 510 %typemap("rtypecheck") std::vector<double>, std::vector<double> const, std::vector<double> const& 512 %typemap("rtype") std::vector<double> "numeric" 513 %typemap("scoercein") std::vector<double>, std::vector<double> const, std::vector<double> const& ""; 517 %typemap("rtypecheck") std::vector<float>, std::vector<float> const, std::vector<float> const& 519 %typemap("rtype") std::vector<float> "numeric" 520 %typemap("scoercein") std::vector<double>, std::vector<float> const, std::vector<float> const& ""; 524 %typemap("rtypecheck") std::vector<bool> , std::vector<bool> const, std::vector<bool> const& 526 %typemap("rtype") std::vector<bool> "logical" 527 %typemap("scoercein") std::vector<bool> , std::vector<bool> const, std::vector<bool> const& "$input = as.logical($input);"; 531 %typemap("rtypecheck") std::vector<int> , std::vector<int> const, std::vector<int> const [all...] |
/prebuilts/misc/common/swig/include/2.0.11/ruby/ |
std_common.i | 39 instantiations required using %template). The STL containers define the 'front' method and the typemap 40 below is used whenever the front method is wrapped returning an enum. This typemap simply picks up the 41 standard enum typemap, but additionally drags in a fragment containing the traits_asval and traits_from 64 %typemap(out, fragment="SWIG_Traits_enum_"{Type}) const enum SWIGTYPE& front %{$typemap(out, const enum SWIGTYPE&)%}
|
/system/tpm/trunks/generator/ |
generator.py | 310 def OutputForward(self, out_file, defined_types, typemap): 320 typemap: A dict mapping type names to the corresponding object. 322 self.Output(out_file, defined_types, typemap) 324 def Output(self, out_file, defined_types, typemap): 333 typemap: A dict mapping type names to the corresponding object. 339 typemap[self.old_type].OutputForward(out_file, defined_types, typemap) 344 def OutputSerialize(self, out_file, serialized_types, typemap): 351 typemap: A dict mapping type names to the corresponding object. 356 typemap[self.old_type].OutputSerialize(out_file, serialized_types [all...] |
/external/tensorflow/tensorflow/compiler/xla/python/ |
local_computation_builder.i | 155 %typemap(in) const ComputationDataHandle& (ComputationDataHandle temp) { 164 %typemap(out) ComputationDataHandle { 168 %typemap(out) StatusOr<xla::swig::CompiledLocalComputation*> { 173 $typemap(out, xla::swig::CompiledLocalComputation*) 181 %typemap(out) StatusOr< std::unique_ptr<Literal> > { 191 %typemap(out) StatusOr<xla::swig::LocalComputation*> { 196 $typemap(out, xla::swig::LocalComputation*) 204 %typemap(out) StatusOr<Shape> { 213 %typemap(out) Status { 224 %typemap(in) tensorflow::gtl::ArraySlice<int64 [all...] |