/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...] |
/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 {
|
/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...] |
/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...] |
/hardware/bsp/intel/peripheral/libupm/src/hmc5883l/ |
javaupm_hmc5883l.i | 8 %typemap(jni) int16_t* "jintArray" 9 %typemap(jstype) int16_t* "int[]" 10 %typemap(jtype) int16_t* "int[]" 12 %typemap(javaout) int16_t* { 16 %typemap(out) int16_t *coordinates {
|
/hardware/bsp/intel/peripheral/libupm/src/lol/ |
javaupm_lol.i | 7 %typemap(jni) unsigned char* "jbyteArray"; 8 %typemap(jtype) unsigned char* "byte[]"; 9 %typemap(jstype) unsigned char* "byte[]"; 11 %typemap(javaout) unsigned char* { 15 %typemap(out) unsigned char* {
|
/hardware/bsp/intel/peripheral/libupm/src/lsm303/ |
javaupm_lsm303.i | 8 %typemap(jni) int16_t* "jintArray" 9 %typemap(jstype) int16_t* "int[]" 10 %typemap(jtype) int16_t* "int[]" 12 %typemap(javaout) int16_t* { 16 %typemap(out) int16_t *getRawAccelData {
|
/hardware/bsp/intel/peripheral/libupm/src/lsm303d/ |
javaupm_lsm303d.i | 8 %typemap(jni) int16_t* "jintArray" 9 %typemap(jstype) int16_t* "int[]" 10 %typemap(jtype) int16_t* "int[]" 12 %typemap(javaout) int16_t* { 16 %typemap(out) int16_t *getRawAccelData {
|
/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...] |
/hardware/bsp/intel/peripheral/libupm/src/adxl335/ |
javaupm_adxl335.i | 13 %typemap(jni) float* "jfloatArray" 14 %typemap(jstype) float* "float[]" 15 %typemap(jtype) float* "float[]" 17 %typemap(javaout) float* { 21 %typemap(out) float *acceleration { 26 %typemap(jni) int* "jintArray" 27 %typemap(jstype) int* "int[]" 28 %typemap(jtype) int* "int[]" 30 %typemap(javaout) int* { 34 %typemap(out) int *values [all...] |
/hardware/bsp/intel/peripheral/libupm/src/adxl345/ |
javaupm_adxl345.i | 8 %typemap(jni) float* "jfloatArray" 9 %typemap(jstype) float* "float[]" 10 %typemap(jtype) float* "float[]" 12 %typemap(javaout) float* { 16 %typemap(out) float * { 23 %typemap(jni) int16_t* "jshortArray" 24 %typemap(jstype) int16_t* "short[]" 25 %typemap(jtype) int16_t* "short[]" 27 %typemap(javaout) int16_t* { 31 %typemap(out) int16_t *getRawValues [all...] |
/hardware/bsp/intel/peripheral/libupm/src/itg3200/ |
javaupm_itg3200.i | 8 %typemap(jni) float* "jfloatArray" 9 %typemap(jstype) float* "float[]" 10 %typemap(jtype) float* "float[]" 12 %typemap(javaout) float* { 16 %typemap(out) float *getRotation { 22 %typemap(jni) int16_t* "jintArray" 23 %typemap(jstype) int16_t* "int[]" 24 %typemap(jtype) int16_t* "int[]" 26 %typemap(javaout) int16_t* { 30 %typemap(out) int16_t *getRawValues [all...] |
/hardware/bsp/intel/peripheral/libupm/src/mma7660/ |
javaupm_mma7660.i | 18 %typemap(jni) float* "jfloatArray" 19 %typemap(jstype) float* "float[]" 20 %typemap(jtype) float* "float[]" 22 %typemap(javaout) float* { 26 %typemap(out) float *getAcceleration { 33 %typemap(jni) int* "jintArray" 34 %typemap(jstype) int* "int[]" 35 %typemap(jtype) int* "int[]" 37 %typemap(javaout) int* { 41 %typemap(out) int *getRawValues [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...] |