pike.git / src / builtin_functions.c

version» Context lines:

pike.git/src/builtin_functions.c:10156:    tFunc(tNone, tOr(tObj, tZero)), OPT_EXTERNAL_DEPEND);       /* function(int,void|0=mixed:array(0)) */    ADD_EFUN("allocate", f_allocate,    tFunc(tInt tOr(tVoid,tSetvar(0,tMix)),tArr(tVar(0))), 0);       /* function(mixed:int) */    ADD_EFUN("arrayp", f_arrayp,tFunc(tMix,tInt01),0);       ADD_EFUN("basename", f_basename, -  tFunc(tSetvar(0, tStr), tSetCar(tVar(0), tIntPos)), 0); +  tFunc(tNStr(tSetvar(0, tInt)), tNStr(tVar(0))), 0);       /* function(string...:string) */    ADD_EFUN("combine_path_nt", f_combine_path_nt,    tFuncV(tNone, tSetvar(0, tStr), tSetCar(tVar(0), tIntPos)), 0);    ADD_EFUN("combine_path_unix", f_combine_path_unix,    tFuncV(tNone, tSetvar(0, tStr), tSetCar(tVar(0), tIntPos)), 0);    ADD_EFUN("combine_path_amigaos", f_combine_path_amigaos,    tFuncV(tNone, tSetvar(0, tStr), tSetCar(tVar(0), tIntPos)), 0);    ADD_EFUN("combine_path",   #if defined(__NT__)
pike.git/src/builtin_functions.c:10190:    ADD_EFUN("copy_value",f_copy_value,tFunc(tSetvar(1,tMix),tVar(1)),0);       /* function(string:string)|function(string,string:int) */    ADD_EFUN("crypt",f_crypt,    tOr(tFunc(tOr(tStr,tVoid),tStr7),tFunc(tStr tStr,tInt01)),OPT_EXTERNAL_DEPEND);       /* function(object|void:int(0..1)) */    ADD_EFUN("destruct",f_destruct,tFunc(tOr(tObj,tVoid),tInt01),OPT_SIDE_EFFECT);       ADD_EFUN("dirname", f_dirname, -  tFunc(tSetvar(0, tStr), tSetCar(tVar(0), tIntPos)), 0); +  tFunc(tNStr(tSetvar(0, tInt)), tNStr(tVar(0))), 0);       /* function(mixed,mixed:int) */    ADD_EFUN("equal",f_equal,tFunc(tMix tMix,tInt01),OPT_TRY_OPTIMIZE);       /* function(array(0=mixed),int|void,int|void:array(0)) */    ADD_FUNCTION2("everynth",f_everynth,    tFunc(tArr(tSetvar(0,tMix)) tOr(tInt1Plus,tVoid) tOr(tIntPos,tVoid),    tArr(tVar(0))), 0, OPT_TRY_OPTIMIZE);       /* function(int:void) */