version 1.15, 2019/12/13 14:40:49 |
version 1.21, 2022/03/30 04:58:53 |
|
|
* DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE, |
* DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE, |
* PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE. |
* PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE. |
* |
* |
* $OpenXM: OpenXM_contrib2/asir2018/include/ca.h,v 1.14 2019/11/19 10:50:31 noro Exp $ |
* $OpenXM: OpenXM_contrib2/asir2018/include/ca.h,v 1.20 2021/01/25 00:39:52 noro Exp $ |
*/ |
*/ |
#include <stdio.h> |
#include <stdio.h> |
#include <stdlib.h> |
#include <stdlib.h> |
Line 450 typedef struct oQUOTE { |
|
Line 450 typedef struct oQUOTE { |
|
short id; |
short id; |
short pad; |
short pad; |
pointer body; |
pointer body; |
|
struct oVS *pvs; |
} *QUOTE; |
} *QUOTE; |
|
|
typedef struct oQUOTEARG { |
typedef struct oQUOTEARG { |
Line 700 struct order_spec { |
|
Line 701 struct order_spec { |
|
int *top_weight; |
int *top_weight; |
int module_rank; |
int module_rank; |
int *module_top_weight; |
int *module_top_weight; |
|
int *module_base_ord; |
struct order_spec *base; /* for schreyer order */ |
struct order_spec *base; /* for schreyer order */ |
DMMstack dmmstack; |
DMMstack dmmstack; |
|
int (*cmpdl)(int n,DL d1,DL d2); |
union { |
union { |
int simple; |
int simple; |
struct { |
struct { |
Line 829 void (*set_signal(int sig, void (*handler)(int)))(int) |
|
Line 832 void (*set_signal(int sig, void (*handler)(int)))(int) |
|
#endif |
#endif |
|
|
/* for setjmp/longjmp compatibility */ |
/* for setjmp/longjmp compatibility */ |
#if defined(__CYGWIN__) || defined(HAVE_SIGACTION) || (defined(__x86_64) && !defined(__MINGW32__)) |
#if defined(ANDROID) |
|
#define JMP_BUF jmp_buf |
|
#define SETJMP(x) _setjmp(x) |
|
#define LONGJMP(x,y) _longjmp(x,y) |
|
#elif !defined(_WIN64) && (defined(__CYGWIN__) || defined(HAVE_SIGACTION) || (defined(__x86_64) && !defined(__MINGW32__))) |
#define JMP_BUF sigjmp_buf |
#define JMP_BUF sigjmp_buf |
#define SETJMP(x) sigsetjmp(x,~0) |
#define SETJMP(x) sigsetjmp(x,~0) |
#define LONGJMP(x,y) siglongjmp(x,y) |
#define LONGJMP(x,y) siglongjmp(x,y) |
Line 983 DEG(DC(p))=ONE,COEF(DC(p))=(P)ONEM,NEXT(DC(p))=0) |
|
Line 990 DEG(DC(p))=ONE,COEF(DC(p))=(P)ONEM,NEXT(DC(p))=0) |
|
#define MKMATHCAP(e,b) (NEWMATHCAP(e),(e)->body=(LIST)(b)) |
#define MKMATHCAP(e,b) (NEWMATHCAP(e),(e)->body=(LIST)(b)) |
#define MKBYTEARRAY(m,l) \ |
#define MKBYTEARRAY(m,l) \ |
(NEWBYTEARRAY(m),(m)->len=(l),(m)->body=(unsigned char *)MALLOC_ATOMIC((l)),bzero((m)->body,(l))) |
(NEWBYTEARRAY(m),(m)->len=(l),(m)->body=(unsigned char *)MALLOC_ATOMIC((l)),bzero((m)->body,(l))) |
#define MKQUOTE(q,b) (NEWQUOTE(q),(q)->body=(pointer)(b)) |
#define MKQUOTE(q,b) (NEWQUOTE(q),(q)->body=(pointer)(b),(q)->pvs=CPVS) |
#define MKQUOTEARG(q,t,b) (NEWQUOTEARG(q),(q)->type=(t),(q)->body=(pointer)(b)) |
#define MKQUOTEARG(q,t,b) (NEWQUOTEARG(q),(q)->type=(t),(q)->body=(pointer)(b)) |
|
|
#define NEXTDC(r,c) \ |
#define NEXTDC(r,c) \ |
Line 1460 int divcheck(VL,P *,int,P,P); |
|
Line 1467 int divcheck(VL,P *,int,P,P); |
|
int divtdcpz(VL,P,P,P *); |
int divtdcpz(VL,P,P,P *); |
int divtpz(VL,P,P,P *); |
int divtpz(VL,P,P,P *); |
int divum(register int,UM,UM,UM); |
int divum(register int,UM,UM,UM); |
int dm(int,int,int *); |
unsigned int dm(unsigned int,unsigned int,unsigned int *); |
int dmb(int,int,int,int *); |
unsigned int dmb(unsigned int,unsigned int,unsigned int,unsigned int *); |
int dma(int,int,int,int *); |
unsigned int dma(unsigned int,unsigned int,unsigned int,unsigned int *); |
int dmab(int,int,int,int,int *); |
unsigned int dmab(unsigned int,unsigned int,unsigned int,unsigned int,unsigned int *); |
int dmar(int,int,int,int); |
unsigned int dmar(unsigned int,unsigned int,unsigned int,unsigned int); |
int dtestmain(P,Q,ML,int,int *,P *,P *); |
int dtestmain(P,Q,ML,int,int *,P *,P *); |
int geldb(VL,P); |
int geldb(VL,P); |
int getchomdeg(V,P); |
int getchomdeg(V,P); |