Home
last modified time | relevance | path

Searched refs:funcstr (Results 1 – 25 of 38) sorted by relevance

12

/dports/math/libmesh/libmesh-1.6.2/contrib/fparser/tests/
H A Dmake_tests.cc424 while(*funcstr && *funcstr != '}' && (*funcstr != ',' || depth>0)) in CompileFunction()
432 if(funcstr[0] == '(' && funcstr[1] == '{') in CompileFunction()
442 while(std::isspace(*funcstr)) ++funcstr; in CompileFunction()
444 if(*funcstr == '}') { ++funcstr; break; } in CompileFunction()
460 if(*funcstr == ',') ++funcstr; in CompileFunction()
473 while(std::isspace(*funcstr)) ++funcstr; in CompileFunction()
474 if(*funcstr == ')') ++funcstr; in CompileFunction()
482 if((*funcstr >= '0' && *funcstr <= '9') in CompileFunction()
484 || (*funcstr == '-' && funcstr[-1] == '(') in CompileFunction()
544 else if((*funcstr >= 'A' && *funcstr <= 'Z') in CompileFunction()
[all …]
/dports/graphics/Coin/coin-Coin-4.0.0/src/glue/
H A Ddl.cpp704 cc_string funcstr; in cc_dl_open() local
705 cc_string_construct(&funcstr); in cc_dl_open()
708 cc_string_clean(&funcstr); in cc_dl_open()
881 cc_string funcstr; in cc_dl_sym() local
882 cc_string_construct(&funcstr); in cc_dl_sym()
884 cc_win32_print_error("cc_dl_sym", cc_string_get_text(&funcstr), GetLastError()); in cc_dl_sym()
885 cc_string_clean(&funcstr); in cc_dl_sym()
951 cc_string funcstr; in cc_dl_close() local
952 cc_string_construct(&funcstr); in cc_dl_close()
953 cc_string_sprintf(&funcstr, "FreeLibrary(\"%s\")", handle->libname.getString()); in cc_dl_close()
[all …]
/dports/lang/python311/Python-3.11.0a3/Objects/
H A Dmethodobject.c393 PyObject *funcstr = _PyObject_FunctionStr(func); in cfunction_check_kwargs() local
394 if (funcstr != NULL) { in cfunction_check_kwargs()
396 "%U takes no keyword arguments", funcstr); in cfunction_check_kwargs()
397 Py_DECREF(funcstr); in cfunction_check_kwargs()
477 PyObject *funcstr = _PyObject_FunctionStr(func); in cfunction_vectorcall_NOARGS() local
478 if (funcstr != NULL) { in cfunction_vectorcall_NOARGS()
480 "%U takes no arguments (%zd given)", funcstr, nargs); in cfunction_vectorcall_NOARGS()
481 Py_DECREF(funcstr); in cfunction_vectorcall_NOARGS()
504 PyObject *funcstr = _PyObject_FunctionStr(func); in cfunction_vectorcall_O() local
505 if (funcstr != NULL) { in cfunction_vectorcall_O()
[all …]
H A Ddescrobject.c257 PyObject *funcstr = _PyObject_FunctionStr(func); in method_check_args() local
258 if (funcstr != NULL) { in method_check_args()
261 Py_DECREF(funcstr); in method_check_args()
270 PyObject *funcstr = _PyObject_FunctionStr(func); in method_check_args() local
271 if (funcstr != NULL) { in method_check_args()
274 Py_DECREF(funcstr); in method_check_args()
421 if (funcstr != NULL) { in method_vectorcall_NOARGS()
424 Py_DECREF(funcstr); in method_vectorcall_NOARGS()
448 if (funcstr != NULL) { in method_vectorcall_O()
451 funcstr, nargs-1); in method_vectorcall_O()
[all …]
/dports/lang/python310/Python-3.10.1/Objects/
H A Dmethodobject.c393 PyObject *funcstr = _PyObject_FunctionStr(func); in cfunction_check_kwargs() local
394 if (funcstr != NULL) { in cfunction_check_kwargs()
396 "%U takes no keyword arguments", funcstr); in cfunction_check_kwargs()
397 Py_DECREF(funcstr); in cfunction_check_kwargs()
477 PyObject *funcstr = _PyObject_FunctionStr(func); in cfunction_vectorcall_NOARGS() local
478 if (funcstr != NULL) { in cfunction_vectorcall_NOARGS()
480 "%U takes no arguments (%zd given)", funcstr, nargs); in cfunction_vectorcall_NOARGS()
481 Py_DECREF(funcstr); in cfunction_vectorcall_NOARGS()
504 PyObject *funcstr = _PyObject_FunctionStr(func); in cfunction_vectorcall_O() local
505 if (funcstr != NULL) { in cfunction_vectorcall_O()
[all …]
H A Ddescrobject.c257 PyObject *funcstr = _PyObject_FunctionStr(func); in method_check_args() local
258 if (funcstr != NULL) { in method_check_args()
261 Py_DECREF(funcstr); in method_check_args()
270 PyObject *funcstr = _PyObject_FunctionStr(func); in method_check_args() local
271 if (funcstr != NULL) { in method_check_args()
274 Py_DECREF(funcstr); in method_check_args()
421 if (funcstr != NULL) { in method_vectorcall_NOARGS()
424 Py_DECREF(funcstr); in method_vectorcall_NOARGS()
448 if (funcstr != NULL) { in method_vectorcall_O()
451 funcstr, nargs-1); in method_vectorcall_O()
[all …]
/dports/lang/python39/Python-3.9.9/Objects/
H A Dmethodobject.c393 PyObject *funcstr = _PyObject_FunctionStr(func); in cfunction_check_kwargs() local
394 if (funcstr != NULL) { in cfunction_check_kwargs()
396 "%U takes no keyword arguments", funcstr); in cfunction_check_kwargs()
397 Py_DECREF(funcstr); in cfunction_check_kwargs()
477 PyObject *funcstr = _PyObject_FunctionStr(func); in cfunction_vectorcall_NOARGS() local
478 if (funcstr != NULL) { in cfunction_vectorcall_NOARGS()
480 "%U takes no arguments (%zd given)", funcstr, nargs); in cfunction_vectorcall_NOARGS()
481 Py_DECREF(funcstr); in cfunction_vectorcall_NOARGS()
504 PyObject *funcstr = _PyObject_FunctionStr(func); in cfunction_vectorcall_O() local
505 if (funcstr != NULL) { in cfunction_vectorcall_O()
[all …]
H A Ddescrobject.c261 PyObject *funcstr = _PyObject_FunctionStr(func); in method_check_args() local
262 if (funcstr != NULL) { in method_check_args()
265 Py_DECREF(funcstr); in method_check_args()
274 PyObject *funcstr = _PyObject_FunctionStr(func); in method_check_args() local
275 if (funcstr != NULL) { in method_check_args()
278 Py_DECREF(funcstr); in method_check_args()
425 if (funcstr != NULL) { in method_vectorcall_NOARGS()
428 Py_DECREF(funcstr); in method_vectorcall_NOARGS()
452 if (funcstr != NULL) { in method_vectorcall_O()
455 funcstr, nargs-1); in method_vectorcall_O()
[all …]
/dports/misc/mmdnn/MMdnn-0.3.1/tests/
H A Dconversion_imagenet.py272 funcstr = inspect.getsource(func)
274 pytorch_pre = funcstr.split('(')[0].split('.')[-1]
276 if len(funcstr.split(',')) == 3:
279 elif len(funcstr.split(',')) == 4:
282 elif len(funcstr.split(',')) == 11:
604 funcstr = inspect.getsource(func)
606 coreml_pre = funcstr.split('(')[0].split('.')[-1]
608 if len(funcstr.split(',')) == 3:
612 elif len(funcstr.split(',')) == 4:
617 elif len(funcstr.split(',')) == 11:
[all …]
/dports/misc/mmdnn/MMdnn-0.3.1/mmdnn/conversion/examples/coreml/
H A Dextractor.py66 funcstr = inspect.getsource(func)
68 if len(funcstr.split(',')) == 3:
69 size = int(funcstr.split('path,')[1].split(')')[0])
71 size = int(funcstr.split('path,')[1].split(',')[0])
/dports/science/liggghts/LIGGGHTS-PUBLIC-3.8.0-26-g6e873439/lib/hotint/HotInt_V1/UtilityLib/
H A DelementDataAccess.cpp276 mystr funcstr; in GetElemDataMathFunc() local
279 GetElemDataText(mbs, edc, "Math_function_name", funcstr, 1); in GetElemDataMathFunc()
282 rv = mathfunc.SetData(funcstr, coeffs); in GetElemDataMathFunc()
394 mystr funcstr; in SetElemDataMathFunc() local
401 mathfunc.GetData(funcstr, coeffs); in SetElemDataMathFunc()
402 ed.SetText("Math_function_name", funcstr); ed.SetLocked(1); edc.Add(ed); in SetElemDataMathFunc()
409 mathfunc.GetData(funcstr, coeffs); in SetElemDataMathFunc()
410 ed.SetText("Math_function_name", funcstr); ed.SetLocked(1); edc.Add(ed); in SetElemDataMathFunc()
419 mathfunc.GetData(funcstr, coeffs); in SetElemDataMathFunc()
420 ed.SetText("Math_function_name", funcstr); ed.SetLocked(1); edc.Add(ed); in SetElemDataMathFunc()
/dports/comms/grig/grig-77ab785/src/
H A Drig-gui-func.c198 const gchar *funcstr; in create_controls() local
207 funcstr = rig_strfunc(func); in create_controls()
209 if (rig_data_has_set_func (func) && strlen(funcstr) != 0) { in create_controls()
211 fctrls[i] = gtk_toggle_button_new_with_label (funcstr); in create_controls()
/dports/games/pvpgn/pvpgn-1.8.5/src/bnetd/
H A Dipban.c71 static int identify_ipban_function(const char * funcstr);
568 static int identify_ipban_function(const char * funcstr) in identify_ipban_function() argument
570 if (strcasecmp(funcstr,"add")==0 || strcasecmp(funcstr,"a")==0) in identify_ipban_function()
572 if (strcasecmp(funcstr,"del")==0 || strcasecmp(funcstr,"d")==0) in identify_ipban_function()
574 if (strcasecmp(funcstr,"list")==0 || strcasecmp(funcstr,"l")==0 || strcmp(funcstr,"")==0) in identify_ipban_function()
576 if (strcasecmp(funcstr,"check")==0 || strcasecmp(funcstr,"c")==0) in identify_ipban_function()
578 if (strcasecmp(funcstr,"help")==0 || strcasecmp(funcstr,"h")==0) in identify_ipban_function()
H A Dmail.c416 static int identify_mail_function(const char *funcstr) { in identify_mail_function() argument
417 if (strcasecmp(funcstr,"send")==0 || in identify_mail_function()
418 strcasecmp(funcstr,"s")==0) in identify_mail_function()
420 if (strcasecmp(funcstr,"read")==0 || in identify_mail_function()
421 strcasecmp(funcstr,"r")==0 || in identify_mail_function()
422 strcasecmp(funcstr,"")==0) in identify_mail_function()
424 if (strcasecmp(funcstr,"delete")==0 || in identify_mail_function()
425 strcasecmp(funcstr,"del")==0) in identify_mail_function()
427 if (strcasecmp(funcstr,"help")==0 || in identify_mail_function()
428 strcasecmp(funcstr,"h")==0) in identify_mail_function()
/dports/net/tinyfugue-devel/tinyfugue-5.1.3/src/
H A Dtfpython.c374 char *funcstr, *argstr; in handle_python_call_command() local
384 funcstr = strdup( args->data + offset ); in handle_python_call_command()
385 if( ( argstr = strchr( funcstr, ' ' ) ) ) { in handle_python_call_command()
392 function = common_run( funcstr, Py_eval_input ); in handle_python_call_command()
409 free( funcstr ); in handle_python_call_command()
/dports/print/py-fonttools/fonttools-4.28.2/Lib/fontTools/misc/
H A Dsymfont.py64 funcstr = str(func)
65 if not funcstr in celf._BezierFuncs:
66 celf._BezierFuncs[funcstr] = _BezierFuncsLazy(func)
67 return celf._BezierFuncs[funcstr]
/dports/print/py-fonttools3/fonttools-3.44.0/Lib/fontTools/misc/
H A Dsymfont.py66 funcstr = str(func)
67 if not funcstr in celf._BezierFuncs:
68 celf._BezierFuncs[funcstr] = _BezierFuncsLazy(func)
69 return celf._BezierFuncs[funcstr]
/dports/textproc/translate-toolkit/translate-toolkit-3.5.1/translate/filters/
H A Dhelpers.py47 operator.and_, [funcmatch(str1, str2, funcstr) for funcstr in funclist], True
/dports/games/NBlood/NBlood-a1689a4/source/rr/src/lunatic/
H A Dtest.lua29 local function checkfail(funcstr, expectedmsg)
34 local status, errmsg = pcall(DBG_.loadstring(funcstr))
36 print('^21ERROR:^O '..funcstr.." DIDN'T fail")
39 print("^11SUCCESS:^O "..funcstr.." failed: "..errmsg)
42 print("^10ERROR*:^O "..funcstr.." failed: "..errmsg..
/dports/math/py-sympy/sympy-1.9/sympy/utilities/
H A Dlambdify.py867 funcstr = funcprinter.doprint(funcname, args, _expr, cses=cses)
892 c = compile(funcstr, filename, 'exec')
895 …linecache.cache[filename] = (len(funcstr), None, funcstr.splitlines(True), filename) # type: ignore
914 ).format(sig=sig, expr=expr_str, src=funcstr, imp_mods='\n'.join(imp_mod_lines))
/dports/databases/mongodb36/mongodb-src-r3.6.23/src/third_party/IntelRDFPMathLib20U1/TESTS/
H A Dreadtest.c479 char funcstr[STRMAX]; variable
480 char *func = funcstr;
1885 if (sscanf (line, "%s %d %s %s %s %s %x", funcstr, &rnd_mode, in main()
1891 if (sscanf (line, "%s %d %s %s %s %x", funcstr, &rnd_mode, in main()
1898 if (sscanf(line, "%s %d %s %s %x", funcstr, &rnd_mode, op1, in main()
1905 skip_test = check_skip(funcstr); in main()
1913 if (p = strstr (funcstr, "128")) { in main()
1919 } else if (p = strstr (funcstr, "64")) { in main()
1925 } else if (p = strstr (funcstr, "32")) { in main()
1953 if (strstr (funcstr, "wcstod")) { in copy_str_to_wstr()
/dports/math/plplot/plplot-5.15.0/bindings/lua/
H A Dplplotluac.i1074 const char* funcstr = lua_tostring( L, $input );
1075 if ( strcmp( "pltr0", funcstr ) == 0 )
1079 else if ( strcmp( "pltr1", funcstr ) == 0 )
1083 else if ( strcmp( "pltr2", funcstr ) == 0 )
1090 strncpy( mypltr_funcstr, funcstr, 255 );
1112 const char* funcstr = lua_tostring( L, $input );
1114 strncpy( myct_funcstr, funcstr, 255 );
/dports/math/plplot-ada/plplot-5.15.0/bindings/lua/
H A Dplplotluac.i1074 const char* funcstr = lua_tostring( L, $input );
1075 if ( strcmp( "pltr0", funcstr ) == 0 )
1079 else if ( strcmp( "pltr1", funcstr ) == 0 )
1083 else if ( strcmp( "pltr2", funcstr ) == 0 )
1090 strncpy( mypltr_funcstr, funcstr, 255 );
1112 const char* funcstr = lua_tostring( L, $input );
1114 strncpy( myct_funcstr, funcstr, 255 );
/dports/security/py-pyvex/pyvex-9.0.5405/pyvex/lifting/util/
H A Dvex_helper.py175 def op_ccall(self, retty, funcstr, args): argument
176 return self._settmp(CCall(retty, IRCallee(len(args), funcstr, 0xffff), args))
/dports/biology/wise/wise2.4.1/src/dyc/
H A Dfuncinfo.h397 FuncInfo * unknown_user_FuncInfo(char * funcstr);

12