 |
My Project
debian-1:4.1.1-p2+ds-4build3
|
Go to the source code of this file.
|
void | paCleanUp (package pack) |
|
int | iiS2I (const char *s) |
|
void * | idrecDataInit (int t) |
|
idhdl | enterid (const char *s, int lev, int t, idhdl *root, BOOLEAN init, BOOLEAN search) |
|
void | killid (const char *id, idhdl *ih) |
|
void | killhdl (idhdl h, package proot) |
|
void | killhdl2 (idhdl h, idhdl *ih, ring r) |
|
idhdl | ggetid (const char *n) |
|
void | ipListFlag (idhdl h) |
|
lists | ipNameList (idhdl root) |
|
lists | ipNameListLev (idhdl root, int lev) |
|
static int | ipSwapId (idhdl tomove, idhdl &root1, idhdl &root2) |
|
void | ipMoveId (idhdl tomove) |
|
const char * | piProcinfo (procinfov pi, const char *request) |
|
BOOLEAN | piKill (procinfov pi) |
|
idhdl | packFindHdl (package r) |
|
BOOLEAN | iiAlias (leftv p) |
|
◆ enterid()
Definition at line 257 of file ipid.cc.
272 if ((
h=(*root)->get(
s,lev))!=
NULL)
280 if (strcmp(
s,
"Top")==0)
336 *root = (*root)->
set(
s, lev, t, init);
344 Werror(
"identifier `%s` in use",
s);
◆ ggetid()
◆ idrecDataInit()
void* idrecDataInit |
( |
int |
t | ) |
|
Definition at line 127 of file ipid.cc.
134 return (
void*)n2Init(0,
NULL);
136 return (
void*)p2Init(0,
NULL);
143 return (
void *)
new intvec();
154 return (
void*)
idInit(1,1);
176 package pa=(package)omAlloc0Bin(sip_package_bin);
202 #ifdef BLACKBOX_DEVEL
203 Print(
"bb-type %d\n",t);
207 return (
void *)bb->blackbox_Init(bb);
210 Werror(
"unknown type in idrecDataInit:%d",t);
◆ iiAlias()
Definition at line 755 of file ipid.cc.
773 if ((
h->Typ()!=
p->Typ()) &&(
p->Typ()!=
DEF_CMD))
821 Werror(
"unknown type %d",
p->Typ());
826 int eff_typ=
h->Typ();
◆ iiS2I()
int iiS2I |
( |
const char * |
s | ) |
|
◆ ipListFlag()
void ipListFlag |
( |
idhdl |
h | ) |
|
◆ ipMoveId()
void ipMoveId |
( |
idhdl |
tomove | ) |
|
◆ ipNameList()
◆ ipNameListLev()
◆ ipSwapId()
◆ killhdl()
◆ killhdl2()
Definition at line 407 of file ipid.cc.
420 if (
h->attribute!=
NULL)
425 h->attribute->killAll(r);
431 || (strcmp(
IDID(
h),
"Top")==0))
483 PrintS(
">>?<< not found for kill\n");
◆ killid()
◆ packFindHdl()
◆ paCleanUp()
Definition at line 694 of file ipid.cc.
700 if( pack->language ==
LANG_C)
702 Print(
"//dlclose(%s)\n",pack->libname);
703 #ifdef HAVE_DYNAMIC_LOADING
◆ piKill()
Definition at line 656 of file ipid.cc.
666 if (
p->pi==
pi &&
pi->ref <= 1)
668 Warn(
"`%s` in use, can not be killed",
pi->procname);
681 if (
pi->data.s.body !=
NULL)
◆ piProcinfo()
Definition at line 632 of file ipid.cc.
635 else if (strcmp(request,
"libname") == 0)
return pi->libname;
636 else if (strcmp(request,
"procname") == 0)
return pi->procname;
637 else if (strcmp(request,
"type") == 0)
639 switch (
pi->language)
642 case LANG_C:
return "object";
break;
644 default:
return "unknown language";
647 else if (strcmp(request,
"ref") == 0)
650 sprintf(
p,
"%d",
pi->ref);
◆ basePack
◆ basePackHdl
◆ coeffs_BIGINT
◆ currPack
◆ currPackHdl
◆ currRingHdl
◆ idrec_bin
◆ procstack
◆ sip_command_bin
◆ sip_package_bin
int dynl_close(void *handle)
void iiCheckPack(package &p)
#define idDelete(H)
delete an ideal
CanonicalForm map(const CanonicalForm &primElem, const Variable &alpha, const CanonicalForm &F, const Variable &beta)
map from to such that is mapped onto
int search(const CFArray &A, const CanonicalForm &F, int i, int j)
search for F in A between index i and j
static FORCE_INLINE void n_Delete(number *p, const coeffs r)
delete 'p'
Class used for (list of) interpreter objects.
idhdl packFindHdl(package r)
ring currRing
Widely used global variable which specifies the current polynomial ring for Singular interpreter and ...
void PrintS(const char *s)
void killhdl2(idhdl h, idhdl *ih, ring r)
BOOLEAN lRingDependend(lists L)
void paKill(package pack)
static FORCE_INLINE number n_Init(long i, const coeffs r)
a number representing i in the given coeff field/ring r
static int ipSwapId(idhdl tomove, idhdl &root1, idhdl &root2)
void Werror(const char *fmt,...)
ideal idInit(int idsize, int rank)
initialise an ideal / module
void WerrorS(const char *s)
void s_internalDelete(const int t, void *d, const ring r)
INLINE_THIS void Init(int l=0)
const CanonicalForm int s
idhdl set(const char *s, int lev, int t, BOOLEAN init=TRUE)
#define omFreeBin(addr, bin)
blackbox * getBlackboxStuff(const int t)
return the structure to the type given by t
BOOLEAN iiAssign(leftv l, leftv r, BOOLEAN toplevel)
void nKillChar(coeffs r)
undo all initialisations