/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Linq.Expressions/tests/DelegateType/ |
H A D | ActionTypeTests.cs | 28 Type funcType = Expression.GetActionType(typeArgs); in SuccessfulGetActionType() 31 Assert.Equal(typeof(Action), funcType); in SuccessfulGetActionType() 45 Type funcType; in SuccessfulTryGetActionType() 49 Assert.Equal(typeof(Action), funcType); in SuccessfulTryGetActionType() 62 Type funcType = Expression.GetActionType(typeArgs); in SuccessfulGetActionTypeOpenGeneric() 64 Assert.Null(funcType.FullName); in SuccessfulGetActionTypeOpenGeneric() 65 Assert.Equal(typeArgs, funcType.GetGenericArguments()); in SuccessfulGetActionTypeOpenGeneric() 71 Type funcType; in SuccessfulTryGetActionTypeWithOpenGeneric() 74 Assert.Null(funcType.FullName); in SuccessfulTryGetActionTypeWithOpenGeneric() 75 Assert.Equal(typeArgs, funcType.GetGenericArguments()); in SuccessfulTryGetActionTypeWithOpenGeneric() [all …]
|
H A D | FuncTypeTests.cs | 26 Type funcType = Expression.GetFuncType(typeArgs); in SuccessfulGetFuncType() 28 Assert.Equal(typeArgs, funcType.GetGenericArguments()); in SuccessfulGetFuncType() 34 Type funcType; in SuccessfulTryGetFuncType() 37 Assert.Equal(typeArgs, funcType.GetGenericArguments()); in SuccessfulTryGetFuncType() 44 Type funcType = Expression.GetFuncType(typeArgs); in SuccessfulGetFuncTypeOpenGeneric() 45 Assert.Equal("Func`" + typeArgs.Length, funcType.Name); in SuccessfulGetFuncTypeOpenGeneric() 46 Assert.Null(funcType.FullName); in SuccessfulGetFuncTypeOpenGeneric() 47 Assert.Equal(typeArgs, funcType.GetGenericArguments()); in SuccessfulGetFuncTypeOpenGeneric() 53 Type funcType; in SuccessfulTryGetFuncTypeWithOpenGeneric() 56 Assert.Null(funcType.FullName); in SuccessfulTryGetFuncTypeWithOpenGeneric() [all …]
|
H A D | GetDelegateTypeTests.cs | 33 Type funcType = Expression.GetDelegateType(typeArgs); in SuccessfulGetFuncType() 34 Assert.StartsWith("System.Func`" + typeArgs.Length, funcType.FullName); in SuccessfulGetFuncType() 35 Assert.Equal(typeArgs, funcType.GetGenericArguments()); in SuccessfulGetFuncType() 43 Assert.Equal(typeArgs, funcType.GetGenericArguments()); in SuccessfulGetActionType() 99 Type funcType = Expression.GetDelegateType(typeArgs); in SuccessfulGetFuncTypeOpenGeneric() 100 Assert.Equal("Func`" + typeArgs.Length, funcType.Name); in SuccessfulGetFuncTypeOpenGeneric() 101 Assert.Null(funcType.FullName); in SuccessfulGetFuncTypeOpenGeneric() 102 Assert.Equal(typeArgs, funcType.GetGenericArguments()); in SuccessfulGetFuncTypeOpenGeneric() 109 Assert.Equal("Action`" + typeArgs.Length, funcType.Name); in SuccessfulGetActionTypeOpenGeneric() 110 Assert.Null(funcType.FullName); in SuccessfulGetActionTypeOpenGeneric() [all …]
|
/dports/math/sleef/sleef-3.5.0/src/libm/ |
H A D | mkrename_gnuabi.c | 37 mangledisa, wdp, vparameterStrDP[funcList[i].funcType], funcList[i].name); in main() 39 mangledisa, wdp, vparameterStrDP[funcList[i].funcType], funcList[i].name); in main() 41 mangledisa, wdp, vparameterStrDP[funcList[i].funcType], funcList[i].name); in main() 45 mangledisa, wdp, vparameterStrDP[funcList[i].funcType], funcList[i].name); in main() 48 mangledisa, wdp, vparameterStrDP[funcList[i].funcType], funcList[i].name); in main() 51 mangledisa, wdp, vparameterStrDP[funcList[i].funcType], funcList[i].name); in main() 61 mangledisa, wdp, vparameterStrDP[funcList[i].funcType], funcList[i].name); in main() 71 mangledisa, wsp, vparameterStrSP[funcList[i].funcType], funcList[i].name); in main() 73 mangledisa, wsp, vparameterStrSP[funcList[i].funcType], funcList[i].name); in main() 75 mangledisa, wsp, vparameterStrSP[funcList[i].funcType], funcList[i].name); in main() [all …]
|
H A D | mkalias.c | 90 returnType[funcList[i].funcType], in main() 92 argType0[funcList[i].funcType], in main() 97 returnType[funcList[i].funcType], in main() 99 argType0[funcList[i].funcType], in main() 115 returnType[funcList[i].funcType], vectorcc, in main() 117 argType1[funcList[i].funcType], in main() 119 argType2[funcList[i].funcType] in main() 123 returnType[funcList[i].funcType], vectorcc, in main() 125 argType1[funcList[i].funcType], in main() 127 argType2[funcList[i].funcType] in main()
|
/dports/devel/wasm3/wasm3-0.5.0/source/ |
H A D | m3_bind.c | 32 IM3FuncType funcType = NULL; in SignatureToFuncType() local 51 _ (AllocFuncType (& funcType, (u32) maxNumTypes)); in SignatureToFuncType() 53 u8 * typelist = funcType->types; in SignatureToFuncType() 79 … _throwif ("malformed signature; return count overflow", funcType->numRets >= maxNumTypes); in SignatureToFuncType() 80 funcType->numRets++; in SignatureToFuncType() 85 …_throwif ("malformed signature; arg count overflow", (u32)(funcType->numRets) + funcType->numArgs … in SignatureToFuncType() 86 funcType->numArgs++; in SignatureToFuncType() 94 m3_Free (funcType); in SignatureToFuncType() 96 * o_functionType = funcType; in SignatureToFuncType() 110 if (not AreFuncTypesEqual (ftype, i_function->funcType)) in ValidateSignature() [all …]
|
/dports/devel/pycharm-pro/pycharm-2020.2.3/plugins/python/helpers/pydev/pydevd_attach_to_process/common/ |
H A D | py_utils.hpp | 55 #define DEFINE_PROC_NO_CHECK(func, funcType, funcNameStr, errorCode) \ argument 56 funcType func=reinterpret_cast<funcType>(GetProcAddress(module, funcNameStr)); 58 #define DEFINE_PROC(func, funcType, funcNameStr, errorCode) \ argument 59 DEFINE_PROC_NO_CHECK(func, funcType, funcNameStr, errorCode); \ 68 #define DEFINE_PROC_NO_CHECK(func, funcType, funcNameStr, errorCode) \ argument 69 funcType func; *(void**)(&func) = dlsym(module, funcNameStr); 71 #define DEFINE_PROC(func, funcType, funcNameStr, errorCode) \ argument 72 DEFINE_PROC_NO_CHECK(func, funcType, funcNameStr, errorCode); \
|
/dports/devel/bit/bit-1.1.2/vendor/github.com/thoas/go-funk/ |
H A D | transform.go | 101 funcType := funcValue.Type() 103 if funcType.NumIn() != 1 || funcType.NumOut() == 0 || funcType.NumOut() > 2 { 110 if !arrElemType.ConvertibleTo(funcType.In(0)) { 114 if funcType.NumOut() == 1 { 130 if funcType.NumOut() == 2 { 132 collectionType := reflect.MapOf(funcType.Out(0), funcType.Out(1)) 150 funcType := funcValue.Type() 152 if funcType.NumIn() != 2 || funcType.NumOut() == 0 || funcType.NumOut() > 2 { 157 if funcType.NumOut() == 1 { 176 if funcType.NumOut() == 2 { [all …]
|
H A D | reduce.go | 50 funcType := reflect.FuncOf(in, out, false) 52 reduceFunc = reflect.MakeFunc(funcType, func(args []reflect.Value) []reflect.Value { 70 funcType := funcValue.Type() 73 if accType.ConvertibleTo(funcType.In(0)) { 74 accValue = accValue.Convert(funcType.In(0)) 78 if sliceElemType.ConvertibleTo(funcType.In(1)) { 79 arrElementValue = arrElementValue.Convert(funcType.In(1))
|
H A D | scan.go | 19 funcType = funcValue.Type() 30 if !arrElemType.ConvertibleTo(funcType.In(0)) { 48 if !keyType.ConvertibleTo(funcType.In(0)) { 52 if !valueType.ConvertibleTo(funcType.In(1)) { 73 funcType = funcValue.Type() 84 if !arrElemType.ConvertibleTo(funcType.In(0)) { 102 if !keyType.ConvertibleTo(funcType.In(0)) { 106 if !valueType.ConvertibleTo(funcType.In(1)) {
|
/dports/java/eclipse-pydev/eclipse-pydev-8.2.0/plugins/org.python.pydev.core_8.2.0.202102211157/pysrc/pydevd_attach_to_process/common/ |
H A D | py_utils.hpp | 58 #define DEFINE_PROC_NO_CHECK(func, funcType, funcNameStr, errorCode) \ argument 59 funcType func=reinterpret_cast<funcType>(GetProcAddress(module, funcNameStr)); 61 #define DEFINE_PROC(func, funcType, funcNameStr, errorCode) \ argument 62 DEFINE_PROC_NO_CHECK(func, funcType, funcNameStr, errorCode); \ 71 #define DEFINE_PROC_NO_CHECK(func, funcType, funcNameStr, errorCode) \ argument 72 funcType func; *(void**)(&func) = dlsym(module, funcNameStr); 74 #define DEFINE_PROC(func, funcType, funcNameStr, errorCode) \ argument 75 DEFINE_PROC_NO_CHECK(func, funcType, funcNameStr, errorCode); \
|
/dports/devel/py-debugpy/debugpy-1.5.1/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/common/ |
H A D | py_utils.hpp | 61 #define DEFINE_PROC_NO_CHECK(func, funcType, funcNameStr, errorCode) \ argument 62 funcType func=reinterpret_cast<funcType>(GetProcAddress(module, funcNameStr)); 64 #define DEFINE_PROC(func, funcType, funcNameStr, errorCode) \ argument 65 DEFINE_PROC_NO_CHECK(func, funcType, funcNameStr, errorCode); \ 74 #define DEFINE_PROC_NO_CHECK(func, funcType, funcNameStr, errorCode) \ argument 75 funcType func; *(void**)(&func) = dlsym(module, funcNameStr); 77 #define DEFINE_PROC(func, funcType, funcNameStr, errorCode) \ argument 78 DEFINE_PROC_NO_CHECK(func, funcType, funcNameStr, errorCode); \
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/ |
H A D | NodeFunctions.cs | 19 FT funcType; field in MS.Internal.Xml.XPath.NodeFunctions 22 public NodeFunctions(FT funcType, Query arg) { in NodeFunctions() argument 23 this.funcType = funcType; in NodeFunctions() 45 switch (funcType) { in Evaluate() 88 … public override XPathResultType StaticType { get { return Function.ReturnTypes[(int)funcType]; } } 91 NodeFunctions method = new NodeFunctions(funcType, Clone(arg)); in Clone() 98 w.WriteAttributeString("name", funcType.ToString()); in PrintQuery()
|
H A D | BooleanFunctions.cs | 19 FT funcType; field in MS.Internal.Xml.XPath.BooleanFunctions 21 public BooleanFunctions(FT funcType, Query arg) { in BooleanFunctions() argument 23 this.funcType = funcType; in BooleanFunctions() 27 this.funcType = other.funcType; in BooleanFunctions() 37 switch (funcType) { in Evaluate() 83 w.WriteAttributeString("name", funcType.ToString()); in PrintQuery()
|
H A D | StringFunctions.cs | 19 Function.FunctionType funcType; field in MS.Internal.Xml.XPath.StringFunctions 22 public StringFunctions(Function.FunctionType funcType, IList<Query> argList) { in StringFunctions() argument 24 this.funcType = funcType; in StringFunctions() 28 this.funcType = other.funcType; in StringFunctions() 44 switch (funcType) { in Evaluate() 90 if (funcType == Function.FunctionType.FuncStringLength) { 94 funcType == Function.FunctionType.FuncStartsWith || 95 funcType == Function.FunctionType.FuncContains 229 w.WriteAttributeString("name", funcType.ToString()); in PrintQuery()
|
/dports/net/cloudquery/cloudquery-0.16.0/vendor/github.com/thoas/go-funk/ |
H A D | helpers.go | 76 funcType := reflect.TypeOf(in) 78 result := funcType != nil && funcType.Kind() == reflect.Func 81 result = result && funcType.NumIn() == num[0] 85 result = result && funcType.NumOut() == num[1] 97 funcType := reflect.TypeOf(in) 99 result := funcType != nil && funcType.Kind() == reflect.Func 101 result = result && funcType.NumOut() == 1 && funcType.Out(0).Kind() == reflect.Bool 102 result = result && funcType.NumIn() == len(inTypes) 106 result = inType == nil || inType.ConvertibleTo(funcType.In(i))
|
H A D | reduce.go | 50 funcType := reflect.FuncOf(in, out, false) 52 reduceFunc = reflect.MakeFunc(funcType, func(args []reflect.Value) []reflect.Value { 70 funcType := funcValue.Type() 73 if accType.ConvertibleTo(funcType.In(0)) { 74 accValue = accValue.Convert(funcType.In(0)) 78 if sliceElemType.ConvertibleTo(funcType.In(1)) { 79 arrElementValue = arrElementValue.Convert(funcType.In(1))
|
H A D | transform.go | 102 funcType := funcValue.Type() 104 if funcType.NumIn() != 1 || funcType.NumOut() == 0 || funcType.NumOut() > 2 { 111 if !arrElemType.ConvertibleTo(funcType.In(0)) { 115 if funcType.NumOut() == 1 { 131 if funcType.NumOut() == 2 { 133 collectionType := reflect.MapOf(funcType.Out(0), funcType.Out(1)) 151 funcType := funcValue.Type() 153 if funcType.NumIn() != 2 || funcType.NumOut() == 0 || funcType.NumOut() > 2 { 158 if funcType.NumOut() == 1 { 177 if funcType.NumOut() == 2 { [all …]
|
H A D | scan.go | 19 funcType = funcValue.Type() 30 if !arrElemType.ConvertibleTo(funcType.In(0)) { 48 if !keyType.ConvertibleTo(funcType.In(0)) { 52 if !valueType.ConvertibleTo(funcType.In(1)) { 73 funcType = funcValue.Type() 84 if !arrElemType.ConvertibleTo(funcType.In(0)) { 102 if !keyType.ConvertibleTo(funcType.In(0)) { 106 if !valueType.ConvertibleTo(funcType.In(1)) {
|
/dports/math/snns/SNNSv4.3/xgui/sources/ |
H A D | ui_lists.c | 59 int funcType; in ui_list_getFirstItem() local 85 krui_getFuncInfo(i,&funcName, &funcType); in ui_list_getFirstItem() 87 (funcType & FUNC_TYPE_MASK)) && in ui_list_getFirstItem() 88 ((type & funcType) == type)); in ui_list_getFirstItem() 93 ui_list_currentFuncNo[funcType & ~FF_LEARN_FUNC] = funcNo; in ui_list_getFirstItem() 153 int funcType,func_num; in ui_list_getNextItem() local 179 krui_getFuncInfo(i,&funcName, &funcType); in ui_list_getNextItem() 181 (funcType & FUNC_TYPE_MASK)) && in ui_list_getNextItem() 182 ((type & funcType) == type)); in ui_list_getNextItem() 187 ui_list_currentFuncNo[funcType & ~FF_LEARN_FUNC] = funcNo; in ui_list_getNextItem()
|
/dports/devel/raylib/raylib-3.7.0/projects/Notepad++/raylib_npp_parser/ |
H A D | raylib_npp_parser.c | 64 char funcType[64]; in main() local 76 sscanf(buffer, "RLAPI %s %[^(]s", funcType, funcName); in main() 78 if (strcmp(funcType, "const") == 0) in main() 80 sscanf(buffer, "RLAPI %s %s %[^(]s", funcType, funcTypeAux, funcName); in main() 81 strcat(funcType, " "); in main() 82 strcat(funcType, funcTypeAux); in main() 106 … fprintf(rxmlFile, " <Overload retVal=\"%s\" descr=\"%s\">", funcType, funcDesc + 3); in main()
|
/dports/lang/spidermonkey78/firefox-78.9.0/js/src/wasm/ |
H A D | WasmCraneliftCompile.cpp | 110 const FuncTypeIdDesc& funcTypeId = funcType.id; in GenerateCraneliftCode() 131 ArgTypeVector args(funcType); in GenerateCraneliftCode() 408 return &wrapper->env->types[funcTypeIndex].funcType(); in env_signature() 622 size_t funcType_numArgs(const FuncTypeWithId* funcType) { in funcType_numArgs() argument 623 return funcType->args().length(); in funcType_numArgs() 628 return (const BD_ValType*)&funcType->args()[0]; in funcType_args() 631 size_t funcType_numResults(const FuncTypeWithId* funcType) { in funcType_numResults() argument 632 return funcType->results().length(); in funcType_numResults() 637 return (const BD_ValType*)&funcType->results()[0]; in funcType_results() 641 return funcType->id.kind(); in funcType_idKind() [all …]
|
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/opencl/test/unit_test/helpers/windows/ |
H A D | gl_helper_tests.cpp | 19 typedef const char *(__cdecl *funcType)(); typedef 32 funcType function1 = ConvertibleProcAddr{loader.glFunctionPtr("realFunction")}; in TEST() 33 funcType function2 = loader["realFunction"]; in TEST() 41 funcType function = loader["nonExistingFunction"]; in TEST() 49 funcType function = loader["realFunction"]; in TEST()
|
/dports/sysutils/kubectl/kubernetes-1.22.2/pkg/printers/ |
H A D | tablegenerator.go | 159 funcType := printFunc.Type() 160 if funcType.NumIn() != 2 || funcType.NumOut() != 2 { 164 if funcType.In(1) != reflect.TypeOf((*GenerateOptions)(nil)).Elem() || 165 funcType.Out(0) != reflect.TypeOf((*[]metav1.TableRow)(nil)).Elem() || 166 funcType.Out(1) != reflect.TypeOf((*error)(nil)).Elem() { 168 "func handler(obj %v, options GenerateOptions) ([]metav1.TableRow, error)", funcType.In(0))
|
/dports/science/mbdyn/mbdyn-1.7.3/mbdyn/base/ |
H A D | modelns.cc | 1106 if (!func.insert(funcType::value_type(f->fname, f)).second) { in ModelNameSpace() 1124 if (!func.insert(funcType::value_type(f->fname, f)).second) { in ModelNameSpace() 1142 if (!func.insert(funcType::value_type(f->fname, f)).second) { in ModelNameSpace() 1160 if (!func.insert(funcType::value_type(f->fname, f)).second) { in ModelNameSpace() 1178 if (!func.insert(funcType::value_type(f->fname, f)).second) { in ModelNameSpace() 1197 if (!func.insert(funcType::value_type(f->fname, f)).second) { in ModelNameSpace() 1216 if (!func.insert(funcType::value_type(f->fname, f)).second) { in ModelNameSpace() 1235 if (!func.insert(funcType::value_type(f->fname, f)).second) { in ModelNameSpace() 1254 if (!func.insert(funcType::value_type(f->fname, f)).second) { in ModelNameSpace() 2817 funcType::const_iterator i = func.find(fname); in FindFunc() [all …]
|