/prebuilts/misc/common/swig/include/2.0.11/modula3/ |
typemaps.i | 4 * Pointer and reference handling typemap library 14 %typemap(ctype) bool *, bool & "bool *" 15 %typemap(ctype) char & "char *" 16 %typemap(ctype) signed char *, signed char & "signed char *" 17 %typemap(ctype) unsigned char *, unsigned char & "unsigned short *" 18 %typemap(ctype) short *, short & "short *" 19 %typemap(ctype) unsigned short *, unsigned short & "unsigned short *" 20 %typemap(ctype) int *, int & "int *" 21 %typemap(ctype) unsigned int *, unsigned int & "unsigned int *" 22 %typemap(ctype) long *, long & "long * [all...] |
modula3.swg | 10 * The ctype typemap contains the C type used in the signature of C wrappers for C++ functions. 11 * The m3rawtype typemap contains the M3 type used in the raw interface. 12 * The m3rawintype typemap contains the M3 type used as function argument. 13 * The m3rawrettype typemap contains the M3 type used as return value. 14 * The m3wraptype typemap contains the M3 type used in the M3 type wrapper classes and module class. */ 17 %typemap(ctype) bool, const bool & "bool" 18 %typemap(ctype) char, const char & "char" 19 %typemap(ctype) signed char, const signed char & "signed char" 20 %typemap(ctype) unsigned char, const unsigned char & "unsigned short" 21 %typemap(ctype) short, const short & "short [all...] |
/prebuilts/misc/common/swig/include/2.0.11/d/ |
dvoid.swg | 7 %typemap(ctype) void "void" 8 %typemap(imtype) void "void" 9 %typemap(dtype, cprimitive="1") void "void" 11 %typemap(out, null="") void "" 12 %typemap(ddirectorin) void "$winput" 13 %typemap(ddirectorout) void "$dcall" 14 %typemap(directorin) void "" 16 %typemap(dout, excode=SWIGEXCODE) void {
|
denums.swg | 12 %typemap(ctype) enum SWIGTYPE "int" 13 %typemap(imtype) enum SWIGTYPE "int" 14 %typemap(dtype, cprimitive="1") enum SWIGTYPE "$dclassname" 18 %typemap(in) enum SWIGTYPE %{ $1 = ($1_ltype)$input; %} 19 %typemap(out) enum SWIGTYPE %{ $result = $1; %} 21 %typemap(directorout) enum SWIGTYPE %{ $result = ($1_ltype)$input; %} 22 %typemap(directorin) enum SWIGTYPE "$input = $1;" 23 %typemap(ddirectorin) enum SWIGTYPE "cast($dclassname)$winput" 24 %typemap(ddirectorout) enum SWIGTYPE "cast(int)$dcall" 26 %typemap(din) enum SWIGTYPE "cast(int)$dinput [all...] |
std_except.i | 19 %typemap(throws, canthrow=1) std::bad_exception "SWIG_DSetPendingException(SWIG_DException, $1.what());\n return $null;" 20 %typemap(throws, canthrow=1) std::domain_error "SWIG_DSetPendingException(SWIG_DException, $1.what());\n return $null;" 21 %typemap(throws, canthrow=1) std::exception "SWIG_DSetPendingException(SWIG_DException, $1.what());\n return $null;" 22 %typemap(throws, canthrow=1) std::invalid_argument "SWIG_DSetPendingException(SWIG_DIllegalArgumentException, $1.what());\n return $null;" 23 %typemap(throws, canthrow=1) std::length_error "SWIG_DSetPendingException(SWIG_DNoSuchElementException, $1.what());\n return $null;" 24 %typemap(throws, canthrow=1) std::logic_error "SWIG_DSetPendingException(SWIG_DException, $1.what());\n return $null;" 25 %typemap(throws, canthrow=1) std::out_of_range "SWIG_DSetPendingException(SWIG_DNoSuchElementException, $1.what());\n return $null;" 26 %typemap(throws, canthrow=1) std::overflow_error "SWIG_DSetPendingException(SWIG_DException, $1.what());\n return $null;" 27 %typemap(throws, canthrow=1) std::range_error "SWIG_DSetPendingException(SWIG_DException, $1.what());\n return $null;" 28 %typemap(throws, canthrow=1) std::runtime_error "SWIG_DSetPendingException(SWIG_DException, $1.what()); (…) [all...] |
dswigtype.swg | 7 %typemap(ctype) SWIGTYPE "void *" 8 %typemap(imtype) SWIGTYPE "void*" 9 %typemap(dtype) SWIGTYPE "$&dclassname" 11 %typemap(ctype) SWIGTYPE [] "void *" 12 %typemap(imtype) SWIGTYPE [] "void*" 13 %typemap(dtype) SWIGTYPE [] "$dclassname" 15 %typemap(ctype) SWIGTYPE * "void *" 16 %typemap(imtype) SWIGTYPE * "void*" 17 %typemap(dtype, nativepointer="$dtype") SWIGTYPE * "$dclassname" 19 %typemap(ctype) SWIGTYPE & "void * [all...] |
/prebuilts/misc/common/swig/include/2.0.11/clisp/ |
clisp.swg | 12 %typemap(in) void "NIL"; 14 %typemap(in) char "character"; 15 %typemap(in) char * "ffi:c-string"; 16 %typemap(in) unsigned char "ffi:uchar"; 17 %typemap(in) signed char "ffi:char"; 19 %typemap(in) short "ffi:short"; 20 %typemap(in) signed short "ffi:short"; 21 %typemap(in) unsigned short "ffi:ushort"; 23 %typemap(in) int "ffi:int"; 24 %typemap(in) signed int "ffi:int" [all...] |
/prebuilts/misc/common/swig/include/2.0.11/tcl/ |
tclresult.i | 25 %typemap(out) int Tcl_Result {
|
tclinterp.i | 14 %typemap(in,numinputs=0) Tcl_Interp *interp {
|
/prebuilts/misc/common/swig/include/2.0.11/csharp/ |
enumsimple.swg | 11 %typemap(ctype) const enum SWIGTYPE & "int" 12 %typemap(imtype) const enum SWIGTYPE & "int" 13 %typemap(cstype) const enum SWIGTYPE & "int" 15 %typemap(in) const enum SWIGTYPE & ($*1_ltype temp) 18 %typemap(out) const enum SWIGTYPE & %{ $result = *$1; %} 20 %typemap(directorout,warning=SWIGWARN_TYPEMAP_THREAD_UNSAFE_MSG) const enum SWIGTYPE & 23 %typemap(directorin) const enum SWIGTYPE & "$input = $1;" 24 %typemap(csdirectorin) const enum SWIGTYPE & "$iminput" 25 %typemap(csdirectorout) const enum SWIGTYPE & "$cscall" 29 %typemap(throws, canthrow=1) const enum SWIGTYPE [all...] |
std_except.i | 19 %typemap(throws, canthrow=1) std::bad_exception "SWIG_CSharpSetPendingException(SWIG_CSharpApplicationException, $1.what());\n return $null;" 20 %typemap(throws, canthrow=1) std::domain_error "SWIG_CSharpSetPendingException(SWIG_CSharpApplicationException, $1.what());\n return $null;" 21 %typemap(throws, canthrow=1) std::exception "SWIG_CSharpSetPendingException(SWIG_CSharpApplicationException, $1.what());\n return $null;" 22 %typemap(throws, canthrow=1) std::invalid_argument "SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentException, $1.what(), \"\");\n return $null;" 23 %typemap(throws, canthrow=1) std::length_error "SWIG_CSharpSetPendingException(SWIG_CSharpIndexOutOfRangeException, $1.what());\n return $null;" 24 %typemap(throws, canthrow=1) std::logic_error "SWIG_CSharpSetPendingException(SWIG_CSharpApplicationException, $1.what());\n return $null;" 25 %typemap(throws, canthrow=1) std::out_of_range "SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, $1.what());\n return $null;" 26 %typemap(throws, canthrow=1) std::overflow_error "SWIG_CSharpSetPendingException(SWIG_CSharpOverflowException, $1.what());\n return $null;" 27 %typemap(throws, canthrow=1) std::range_error "SWIG_CSharpSetPendingException(SWIG_CSharpIndexOutOfRangeException, $1.what());\n return $null;" 28 %typemap(throws, canthrow=1) std::runtime_error "SWIG_CSharpSetPendingException(SWIG_CSharpApplicationE (…) [all...] |
arrays_csharp.i | 58 %typemap(ctype) CTYPE INPUT[] "CTYPE*" 59 %typemap(cstype) CTYPE INPUT[] "CSTYPE[]" 60 %typemap(imtype, inattributes="[In, MarshalAs(UnmanagedType.LPArray)]") CTYPE INPUT[] "CSTYPE[]" 61 %typemap(csin) CTYPE INPUT[] "$csinput" 63 %typemap(in) CTYPE INPUT[] "$1 = $input;" 64 %typemap(freearg) CTYPE INPUT[] "" 65 %typemap(argout) CTYPE INPUT[] "" 69 %typemap(ctype) CTYPE OUTPUT[] "CTYPE*" 70 %typemap(cstype) CTYPE OUTPUT[] "CSTYPE[]" 71 %typemap(imtype, inattributes="[Out, MarshalAs(UnmanagedType.LPArray)]") CTYPE OUTPUT[] "CSTYPE[] [all...] |
enums.swg | 9 %typemap(ctype) const enum SWIGTYPE & "int" 10 %typemap(imtype) const enum SWIGTYPE & "int" 11 %typemap(cstype) const enum SWIGTYPE & "$*csclassname" 13 %typemap(in) const enum SWIGTYPE & ($*1_ltype temp) 16 %typemap(out) const enum SWIGTYPE & %{ $result = *$1; %} 18 %typemap(directorout,warning=SWIGWARN_TYPEMAP_THREAD_UNSAFE_MSG) const enum SWIGTYPE & 21 %typemap(directorin) const enum SWIGTYPE & "$input = $1;" 22 %typemap(csdirectorin) const enum SWIGTYPE & "($*csclassname)$iminput" 23 %typemap(csdirectorout) const enum SWIGTYPE & "(int)$cscall" 27 %typemap(throws, canthrow=1) const enum SWIGTYPE [all...] |
/prebuilts/misc/common/swig/include/2.0.11/java/ |
enumsimple.swg | 11 %typemap(jni) const enum SWIGTYPE & "jint" 12 %typemap(jtype) const enum SWIGTYPE & "int" 13 %typemap(jstype) const enum SWIGTYPE & "int" 15 %typemap(in) const enum SWIGTYPE & ($*1_ltype temp) 18 %typemap(out) const enum SWIGTYPE & %{ $result = (jint)*$1; %} 20 %typemap(directorout,warning=SWIGWARN_TYPEMAP_THREAD_UNSAFE_MSG) const enum SWIGTYPE & 23 %typemap(directorin, descriptor="I") const enum SWIGTYPE & "$input = (jint)$1;" 24 %typemap(javadirectorin) const enum SWIGTYPE & "$jniinput" 25 %typemap(javadirectorout) const enum SWIGTYPE & "$javacall" 29 %typemap(throws) const enum SWIGTYPE [all...] |
enumtypeunsafe.swg | 11 %typemap(jni) const enum SWIGTYPE & "jint" 12 %typemap(jtype) const enum SWIGTYPE & "int" 13 %typemap(jstype) const enum SWIGTYPE & "int" 15 %typemap(in) const enum SWIGTYPE & ($*1_ltype temp) 18 %typemap(out) const enum SWIGTYPE & %{ $result = (jint)*$1; %} 20 %typemap(directorout,warning=SWIGWARN_TYPEMAP_THREAD_UNSAFE_MSG) const enum SWIGTYPE & 23 %typemap(directorin, descriptor="I") const enum SWIGTYPE & "$input = (jint)$1;" 24 %typemap(javadirectorin) const enum SWIGTYPE & "$jniinput" 25 %typemap(javadirectorout) const enum SWIGTYPE & "$javacall" 29 %typemap(throws) const enum SWIGTYPE [all...] |
std_except.i | 19 %typemap(throws) std::bad_exception "SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, $1.what());\n return $null;" 20 %typemap(throws) std::domain_error "SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, $1.what());\n return $null;" 21 %typemap(throws) std::exception "SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, $1.what());\n return $null;" 22 %typemap(throws) std::invalid_argument "SWIG_JavaThrowException(jenv, SWIG_JavaIllegalArgumentException, $1.what());\n return $null;" 23 %typemap(throws) std::length_error "SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, $1.what());\n return $null;" 24 %typemap(throws) std::logic_error "SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, $1.what());\n return $null;" 25 %typemap(throws) std::out_of_range "SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, $1.what());\n return $null;" 26 %typemap(throws) std::overflow_error "SWIG_JavaThrowException(jenv, SWIG_JavaArithmeticException, $1.what());\n return $null;" 27 %typemap(throws) std::range_error "SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, $1.what());\n return $null;" 28 %typemap(throws) std::runtime_error "SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, $1.what() (…) [all...] |
/prebuilts/misc/common/swig/include/2.0.11/ruby/ |
typemaps.i | 16 The SWIG typemap library provides a language independent mechanism for 72 %typemap(in) type *INPUT($*1_ltype temp), type &INPUT($*1_ltype temp) 77 %typemap(typecheck) type *INPUT = type; 78 %typemap(typecheck) type &INPUT = type; 142 %typemap(in,numinputs=0) type *OUTPUT($*1_ltype temp), type &OUTPUT($*1_ltype temp) "$1 = &temp;"; 143 %typemap(argout, fragment="output_helper") type *OUTPUT, type &OUTPUT { 164 %typemap(in,numinputs=0) bool *OUTPUT(bool temp), bool &OUTPUT(bool temp) "$1 = &temp;"; 165 %typemap(argout, fragment="output_helper") bool *OUTPUT, bool &OUTPUT { 223 %typemap(in) int *INOUT = int *INPUT; 224 %typemap(in) short *INOUT = short *INPUT [all...] |
/prebuilts/misc/common/swig/include/2.0.11/allegrocl/ |
longlongs.i | 4 * Typemap addition for support of 'long long' type and 'unsigned long long 11 %typemap(ctype) long long, unsigned long long "$1_ltype"; 12 %typemap(out) long long, unsigned long long "$result = $1;"; 14 %typemap(ffitype) long long ":nat"; 15 %typemap(ffitype) unsigned long long ":unsigned-nat"; 17 %typemap(lout) long long, unsigned long long " #+64bit (cl::setq ACL_ffresult $body)"; 20 %typemap(out) long long, unsigned long long "$result = &$1;"; 21 %typemap(ffitype) long long "(:struct (l1 :long) (l2 :long))"; 23 %typemap(ffitype) unsigned long long "(:struct (l1 :unsigned-long) (l2 :unsigned-long))"; 25 %typemap(lout) long long [all...] |
/prebuilts/misc/common/swig/include/2.0.11/lua/ |
std_except.i | 30 %typemap(throws) std::bad_exception "SWIG_exception(SWIG_RuntimeError, $1.what());" 31 %typemap(throws) std::domain_error "SWIG_exception(SWIG_ValueError, $1.what());" 32 %typemap(throws) std::exception "SWIG_exception(SWIG_SystemError, $1.what());" 33 %typemap(throws) std::invalid_argument "SWIG_exception(SWIG_ValueError, $1.what());" 34 %typemap(throws) std::length_error "SWIG_exception(SWIG_IndexError, $1.what());" 35 %typemap(throws) std::logic_error "SWIG_exception(SWIG_RuntimeError, $1.what());" 36 %typemap(throws) std::out_of_range "SWIG_exception(SWIG_IndexError, $1.what());" 37 %typemap(throws) std::overflow_error "SWIG_exception(SWIG_OverflowError, $1.what());" 38 %typemap(throws) std::range_error "SWIG_exception(SWIG_IndexError, $1.what());" 39 %typemap(throws) std::runtime_error "SWIG_exception(SWIG_RuntimeError, $1.what()); [all...] |
/prebuilts/misc/common/swig/include/2.0.11/perl5/ |
typemaps.i | 4 * The SWIG typemap library provides a language independent mechanism for 59 %typemap(in) type *INPUT(type temp), type &INPUT(type temp) { 63 %typemap(typecheck) type *INPUT = type; 64 %typemap(typecheck) type &INPUT = type; 78 %typemap(in) bool *INPUT(bool temp), bool &INPUT(bool temp) { 82 %typemap(typecheck) bool *INPUT = bool; 83 %typemap(typecheck) bool &INPUT = bool; 85 %typemap(in) long long *INPUT($*1_ltype temp), long long &INPUT($*1_ltype temp) { 89 %typemap(typecheck) long long *INPUT = long long; 90 %typemap(typecheck) long long &INPUT = long long [all...] |
/prebuilts/misc/common/swig/include/2.0.11/chicken/ |
typemaps.i | 98 // T_OUTPUT typemap (and helper function) to return multiple argouts as 107 %typemap(in) type_ *INPUT($*1_ltype temp), type_ &INPUT($*1_ltype temp) 114 %typemap(typecheck) type_ *INPUT = type_; 115 %typemap(typecheck) type_ &INPUT = type_; 117 %typemap(in, numinputs=0) type_ *OUTPUT($*1_ltype temp), type_ &OUTPUT($*1_ltype temp) 122 %typemap(argout) type_ *OUTPUT, type_ &OUTPUT 132 %typemap(argout) type_ *OUTPUT, type_ &OUTPUT 223 %typemap(in) int *INOUT = int *INPUT; 224 %typemap(in) enum SWIGTYPE *INOUT = enum SWIGTYPE *INPUT; 225 %typemap(in) short *INOUT = short *INPUT [all...] |
/prebuilts/misc/common/swig/include/2.0.11/cffi/ |
cffi.swg | 8 %typemap(cin) void ":void"; 10 %typemap(cin) char ":char"; 11 %typemap(cin) char * ":string"; 12 %typemap(cin) unsigned char ":unsigned-char"; 13 %typemap(cin) signed char ":char"; 15 %typemap(cin) short ":short"; 16 %typemap(cin) signed short ":short"; 17 %typemap(cin) unsigned short ":unsigned-short"; 19 %typemap(cin) int ":int"; 20 %typemap(cin) signed int ":int" [all...] |
/prebuilts/misc/common/swig/include/2.0.11/go/ |
std_except.i | 19 %typemap(throws) std::bad_exception %{_swig_gopanic($1.what());%} 20 %typemap(throws) std::domain_error %{_swig_gopanic($1.what());%} 21 %typemap(throws) std::exception %{_swig_gopanic($1.what());%} 22 %typemap(throws) std::invalid_argument %{_swig_gopanic($1.what());%} 23 %typemap(throws) std::length_error %{_swig_gopanic($1.what());%} 24 %typemap(throws) std::logic_error %{_swig_gopanic($1.what());%} 25 %typemap(throws) std::out_of_range %{_swig_gopanic($1.what());%} 26 %typemap(throws) std::overflow_error %{_swig_gopanic($1.what());%} 27 %typemap(throws) std::range_error %{_swig_gopanic($1.what());%} 28 %typemap(throws) std::runtime_error %{_swig_gopanic($1.what());% [all...] |
go.swg | 9 %typemap(gotype) bool, const bool & "bool" 10 %typemap(gotype) char, const char & "byte" 11 %typemap(gotype) signed char, const signed char & "int8" 12 %typemap(gotype) unsigned char, const unsigned char & "byte" 13 %typemap(gotype) short, const short & "int16" 14 %typemap(gotype) unsigned short, const unsigned short & "uint16" 15 %typemap(gotype) int, const int & "int" 16 %typemap(gotype) unsigned int, const unsigned int & "uint" 18 %typemap(gotype) long, const long & "int32" 19 %typemap(gotype) unsigned long, const unsigned long & "uint32 [all...] |
/external/selinux/libselinux/src/ |
selinuxswig_ruby.i | 16 %typemap(argout) (security_id_t * sid) { 22 %typemap(in,numinputs=0) security_id_t *(security_id_t temp) { 26 %typemap(in,noblock=1,numinputs=0) char ** (char * temp = 0) { 29 %typemap(freearg,match="in") char ** ""; 30 %typemap(argout,noblock=1) char ** { 37 %typemap(in,noblock=1,numinputs=0) char ** (char * temp = 0) { 40 %typemap(freearg,match="in") char ** ""; 41 %typemap(argout,noblock=1) char ** {
|