rem stringlengths 0 274k | add stringlengths 0 169k | context stringlengths 9 471k |
|---|---|---|
unsigned32 regno, unsigned32 value | uint32_t regno, uint32_t value | void erc32_sonic_write_register( void *base, unsigned32 regno, unsigned32 value){ volatile unsigned32 *p = base;#if (SONIC_DEBUG & SONIC_DEBUG_PRINT_REGISTERS) printf( "%p Write 0x%04x to %s (0x%02x)\n", &p[regno], value, SONIC_Reg_name[regno], regno ); fflush( stdout );#endif p[regno] = 0x0ffff & v... |
volatile unsigned32 *p = base; | volatile uint32_t *p = base; | void erc32_sonic_write_register( void *base, unsigned32 regno, unsigned32 value){ volatile unsigned32 *p = base;#if (SONIC_DEBUG & SONIC_DEBUG_PRINT_REGISTERS) printf( "%p Write 0x%04x to %s (0x%02x)\n", &p[regno], value, SONIC_Reg_name[regno], regno ); fflush( stdout );#endif p[regno] = 0x0ffff & v... |
return Flx_renormalize(res,lg(res)); | return FlxX_renormalize(res,lg(res)); | FlxqX_Flxq_mul(GEN P, GEN U, GEN T, ulong p){ int i, lP = lg(P); GEN res = cgetg(lP,t_POL); res[1] = P[1]; for(i=2; i<lP; i++) res[i] = (long)Flxq_mul(U,(GEN)P[i], T,p); return Flx_renormalize(res,lg(res));} |
for (i=2; i<ly; i++) z[i] = (long) FpX_add((GEN)x[i], (GEN)y[i], p); | for (i=2; i<ly; i++) z[i] = (long) Fq_add((GEN)x[i], (GEN)y[i], NULL, p); | FpXX_add(GEN x, GEN y, GEN p){ long i,lz; GEN z; long lx=lg(x); long ly=lg(y); if (ly>lx) swapspec(x,y, lx,ly); lz = lx; z = cgetg(lz, t_POL); z[1]=x[1]; for (i=2; i<ly; i++) z[i] = (long) FpX_add((GEN)x[i], (GEN)y[i], p); for ( ; i<lx; i++) z[i] = (long) gcopy((GEN)x[i]); return FpXX_renormalize(z, lz);} |
x += 2; y += 2; dz = dx-dy; | dz = dx-dy; | u_FpX_divrem(GEN x, GEN y, ulong p, int malloc, GEN *pr){ GEN z,q,c; long dx,dy,dz,i,j; ulong p1,inv; dy = deg(y); if (!dy) { if (pr) { if (pr == ONLY_REM) return u_zeropol(malloc); *pr = u_zeropol(malloc); } if (y[2] == 1UL) return u_copy(x,malloc); return u_FpX_Fp_mul(x, u_invmod(y[2], ... |
c = u_copy(x-2, malloc); | c = u_copy(x, malloc); | u_FpX_divrem(GEN x, GEN y, ulong p, int malloc, GEN *pr){ GEN z,q,c; long dx,dy,dz,i,j; ulong p1,inv; dy = deg(y); if (!dy) { if (pr) { if (pr == ONLY_REM) return u_zeropol(malloc); *pr = u_zeropol(malloc); } if (y[2] == 1UL) return u_copy(x,malloc); return u_FpX_Fp_mul(x, u_invmod(y[2], ... |
x += 2; y += 2; | u_FpX_divrem(GEN x, GEN y, ulong p, int malloc, GEN *pr){ GEN z,q,c; long dx,dy,dz,i,j; ulong p1,inv; dy = deg(y); if (!dy) { if (pr) { if (pr == ONLY_REM) return u_zeropol(malloc); *pr = u_zeropol(malloc); } if (y[2] == 1UL) return u_copy(x,malloc); return u_FpX_Fp_mul(x, u_invmod(y[2], ... | |
GEN a = gzero, b = gzero; | GEN a = gzero, b = gzero, run = realun(DEFAULTPREC); | ZY_ZXY_ResBound(GEN A, GEN B){ ulong av = avma; GEN a = gzero, b = gzero; long i , lA = lgef(A), lB = lgef(B); for (i=2; i<lA; i++) a = addii(a, sqri((GEN)A[i])); for (i=2; i<lB; i++) { GEN t = (GEN)B[i]; if (typ(t) != t_INT) t = gnorml1(t, 0); b = addii(b, sqri(t)); } b = mulii(gpowgs(a, deg(B)), gpow... |
for (i=2; i<lA; i++) a = addii(a, sqri((GEN)A[i])); | for (i=2; i<lA; i++) a = gadd(a, gmul(gsqr((GEN)A[i]),run)); | ZY_ZXY_ResBound(GEN A, GEN B){ ulong av = avma; GEN a = gzero, b = gzero; long i , lA = lgef(A), lB = lgef(B); for (i=2; i<lA; i++) a = addii(a, sqri((GEN)A[i])); for (i=2; i<lB; i++) { GEN t = (GEN)B[i]; if (typ(t) != t_INT) t = gnorml1(t, 0); b = addii(b, sqri(t)); } b = mulii(gpowgs(a, deg(B)), gpow... |
GEN t = (GEN)B[i]; if (typ(t) != t_INT) t = gnorml1(t, 0); b = addii(b, sqri(t)); | GEN t = gmul((GEN)B[i], run); if (typ(t) == t_POL) t = gnorml1(t, 0); b = gadd(b, gsqr(t)); | ZY_ZXY_ResBound(GEN A, GEN B){ ulong av = avma; GEN a = gzero, b = gzero; long i , lA = lgef(A), lB = lgef(B); for (i=2; i<lA; i++) a = addii(a, sqri((GEN)A[i])); for (i=2; i<lB; i++) { GEN t = (GEN)B[i]; if (typ(t) != t_INT) t = gnorml1(t, 0); b = addii(b, sqri(t)); } b = mulii(gpowgs(a, deg(B)), gpow... |
b = mulii(gpowgs(a, deg(B)), gpowgs(b, deg(A))); return gerepileupto(av, addis(racine(b), 1)); | b = gmul(gpowgs(a, deg(B)), gpowgs(b, deg(A))); avma = av; return 1 + (gexpo(b)>>1); | ZY_ZXY_ResBound(GEN A, GEN B){ ulong av = avma; GEN a = gzero, b = gzero; long i , lA = lgef(A), lB = lgef(B); for (i=2; i<lA; i++) a = addii(a, sqri((GEN)A[i])); for (i=2; i<lB; i++) { GEN t = (GEN)B[i]; if (typ(t) != t_INT) t = gnorml1(t, 0); b = addii(b, sqri(t)); } b = mulii(gpowgs(a, deg(B)), gpow... |
if ( !temp_loc.ops->utime_h ) | if ( !temp_loc.ops->utime_h ){ rtems_filesystem_freenode( &temp_loc ); | int utime( const char *path, const struct utimbuf *times){ rtems_filesystem_location_info_t temp_loc; int result; if ( rtems_filesystem_evaluate_path( path, 0x00, &temp_loc, TRUE ) ) return -1; if ( !temp_loc.ops->utime_h ) set_errno_and_return_minus_one( ENOTSUP )... |
} | int utime( const char *path, const struct utimbuf *times){ rtems_filesystem_location_info_t temp_loc; int result; if ( rtems_filesystem_evaluate_path( path, 0x00, &temp_loc, TRUE ) ) return -1; if ( !temp_loc.ops->utime_h ) set_errno_and_return_minus_one( ENOTSUP )... | |
while (( off < sizeof(buf) ) && ( uread(BSP_UART_COM1, LSR) & DR )) { buf[off++] = uread(BSP_UART_COM1, RBR); | while (( off < sizeof(buf) ) && ( uread(BSP_UART_COM2, LSR) & DR )) { buf[off++] = uread(BSP_UART_COM2, RBR); | BSP_uart_termios_read_com2(int uart){ int off = (int)0; char buf[40]; /* read current byte */ while (( off < sizeof(buf) ) && ( uread(BSP_UART_COM1, LSR) & DR )) { buf[off++] = uread(BSP_UART_COM1, RBR); } /* write out data */ if ( off > 0 ) { rtems_termios_enqueue_raw_characters(termios_ttyp_com2, ... |
unsigned32 buf_size = 0; | uint32_t buf_size = 0; | void fileio_read_file(void){ char fname[1024]; char tmp_str[32]; unsigned32 buf_size = 0; size_t curr_pos; int fd = -1; ssize_t n; rtems_interval start_tick,curr_tick,ticks_per_sec; char *bufptr = NULL; boolean failed = FALSE; printf(" =========================\n"); printf(" READ FILE ... \n");... |
boolean fileio_str2size(const char *str,unsigned32 *res_ptr) | boolean fileio_str2size(const char *str,uint32_t *res_ptr) | boolean fileio_str2size(const char *str,unsigned32 *res_ptr){ boolean failed = FALSE; unsigned long size; char suffix = ' '; if (1 > sscanf(str,"%lu%c",&size,&suffix)) { failed = TRUE; } else if (toupper(suffix) == 'K') { size *= 1024; } else if (toupper(suffix) == 'M') { size *= 1024UL*1024UL; } els... |
unsigned32 flen = 0; | uint32_t flen = 0; | void fileio_list_file(void){ char fname[1024]; char *buf_ptr = NULL; unsigned32 flen = 0; int fd = -1; ssize_t n; size_t buf_size = 100; rtems_interval start_tick,curr_tick,ticks_per_sec; printf(" =========================\n"); printf(" LIST FILE ... \n"); printf(" =========================\n"); f... |
dst = strdup(src); | if (src) dst = strdup(src); | void *bootp_strdup_realloc(char *dst,const char *src){ size_t len; void *realloc(void * __r, size_t __size); if (dst == NULL) { /* first allocation, simply use strdup */ dst = strdup(src); } else { /* already allocated, so use realloc/strcpy */ len = strlen(src) + 1; dst = realloc(dst,len); if ... |
len = strlen(src) + 1; | len = src ? strlen(src) + 1 : 0; | void *bootp_strdup_realloc(char *dst,const char *src){ size_t len; void *realloc(void * __r, size_t __size); if (dst == NULL) { /* first allocation, simply use strdup */ dst = strdup(src); } else { /* already allocated, so use realloc/strcpy */ len = strlen(src) + 1; dst = realloc(dst,len); if ... |
so->so_rcv.sb_flags |= SB_WAIT; | so->so_snd.sb_flags |= SB_WAIT; | socket_select (struct socket *so, int which, rtems_id tid){ switch (which) { case FREAD: if (soreadable(so)) return (1); so->so_rcv.sb_flags |= SB_WAIT; so->so_rcv.sb_sel.si_pid = tid; break; case FWRITE: if (sowriteable(so)) return (1); so->so_rcv.sb_flags |= SB_WAIT; so->so_snd.sb_sel.si_pid = tid; break;... |
unsigned32 count; | uint32_t count; | nvram_driver_write(rtems_device_major_number major, rtems_device_minor_number minor, void *arg){ rtems_libio_rw_args_t *args = arg; unsigned32 count; i2c_bus_number bus = DS1307_I2C_BUS_NUMBER; i2c_address addr = DS1307_I2C_ADDRESS; i2c_message_status status; ... |
rtems_unsigned8 buf[DS1307_NVRAM_SIZE + 1]; | uint8_t buf[DS1307_NVRAM_SIZE + 1]; | nvram_driver_write(rtems_device_major_number major, rtems_device_minor_number minor, void *arg){ rtems_libio_rw_args_t *args = arg; unsigned32 count; i2c_bus_number bus = DS1307_I2C_BUS_NUMBER; i2c_address addr = DS1307_I2C_ADDRESS; i2c_message_status status; ... |
volatile rtems_unsigned8 *VME_interrupt_enable; rtems_unsigned8 value; | volatile uint8_t *VME_interrupt_enable; uint8_t value; | void VME_interrupt_Enable ( VME_interrupt_Mask mask /* IN */){ volatile rtems_unsigned8 *VME_interrupt_enable; rtems_unsigned8 value;#if 0 VME_interrupt_enable = ACC_VIE;#else VME_interrupt_enable = 0;#endif value = *VME_interrupt_enable; value |= mask; /* turn on interr... |
isprincipalell(GEN bnfz, GEN id, GEN cycgen, GEN uu, GEN gell, long rc) | isprincipalell(GEN bnfz, GEN id, GEN cycgen, GEN u, GEN gell, long rc) | isprincipalell(GEN bnfz, GEN id, GEN cycgen, GEN uu, GEN gell, long rc){ long i, l = lg(cycgen); GEN y, logdisc, b; y = isprincipalgenforce(bnfz,id); logdisc = gmod((GEN)y[1], gell); b = to_famat_all((GEN)y[2], gun); for (i=rc+1; i<l; i++) { GEN e = modii(mulii((GEN)logdisc[i],(GEN)uu[i]), gell); b = famat... |
GEN y, logdisc, b; | GEN logdisc, b, y = isprincipalgenforce(bnfz,id); | isprincipalell(GEN bnfz, GEN id, GEN cycgen, GEN uu, GEN gell, long rc){ long i, l = lg(cycgen); GEN y, logdisc, b; y = isprincipalgenforce(bnfz,id); logdisc = gmod((GEN)y[1], gell); b = to_famat_all((GEN)y[2], gun); for (i=rc+1; i<l; i++) { GEN e = modii(mulii((GEN)logdisc[i],(GEN)uu[i]), gell); b = famat... |
y = isprincipalgenforce(bnfz,id); | isprincipalell(GEN bnfz, GEN id, GEN cycgen, GEN uu, GEN gell, long rc){ long i, l = lg(cycgen); GEN y, logdisc, b; y = isprincipalgenforce(bnfz,id); logdisc = gmod((GEN)y[1], gell); b = to_famat_all((GEN)y[2], gun); for (i=rc+1; i<l; i++) { GEN e = modii(mulii((GEN)logdisc[i],(GEN)uu[i]), gell); b = famat... | |
GEN e = modii(mulii((GEN)logdisc[i],(GEN)uu[i]), gell); | GEN e = modii(mulii((GEN)logdisc[i],(GEN)u[i]), gell); | isprincipalell(GEN bnfz, GEN id, GEN cycgen, GEN uu, GEN gell, long rc){ long i, l = lg(cycgen); GEN y, logdisc, b; y = isprincipalgenforce(bnfz,id); logdisc = gmod((GEN)y[1], gell); b = to_famat_all((GEN)y[2], gun); for (i=rc+1; i<l; i++) { GEN e = modii(mulii((GEN)logdisc[i],(GEN)uu[i]), gell); b = famat... |
return &prototab[i]; | return (struct protoent *) &prototab[i]; | getprotobynumber (int proto){ int i; for (i = 0 ; i < (sizeof prototab / sizeof prototab[0]) ; i++) { if (proto == prototab[i].p_proto) return &prototab[i]; } return NULL;} |
if (*analyseur == '"') bp = readstring_i(bp, &buf,&limit); else bp = expand_string(bp, &buf,&limit); | bp = expand_string(bp, &buf,&limit); | identifier(void){ long m, i, matchcomma, deriv; gpmem_t av; char *ch1; entree *ep; GEN res, newfun, ptr; mark.identifier = analyseur; ep = entry(); if (EpVALENCE(ep)==EpVAR || EpVALENCE(ep)==EpGVAR) { /* optimized for simple variables */ switch (*analyseur) { case ')': case ',': return (GEN)ep->value... |
int i; unsigned long hash,api; PTE pte; | int i; unsigned long hash, api; APte pte; | slotFor(Triv121PgTbl pt, unsigned long vsid, unsigned long pi){int i;unsigned long hash,api;PTE pte; /* primary hash */ hash = PTE_HASH1(vsid,pi); api=API(pi); /* linear search thru all buckets for this hash */ for (i=0, pte=ptegOf(pt,hash); i<PTE_PER_PTEG; i++,pte++) { if (!pte->v && !pte->marked) { /* found ... |
printf( "gettimeofday: %s", ctime( &tv.tv_sec ) ); | a_time_t = tv.tv_sec; printf( "gettimeofday: %s", ctime( &a_time_t) ); | void check_a_tod( rtems_time_of_day *the_tod){ rtems_status_code status; rtems_time_of_day new_tod; time_t a_time_t; struct timeval tv; struct tm *a_tm; int result; int i = 0; print_time( "rtems_clock_set ", the_tod, "\n" ); status = rtems_clock_set( t... |
ulong M_2 = h->M << 1; long x = 0, count = 0; | long x = 0, count = 0, M_2 = h->M << 1; | mpqs_eval_sieve(mpqs_handle_t *h){ ulong M_2 = h->M << 1; long x = 0, count = 0; /* XX Todo: replace the following by an auto-adjusting threshold driven * XX by histogram yield measurements */ unsigned char th = h->sieve_threshold; unsigned char *sieve_array = h->sieve_array; long *candidates = h->candidates; ... |
GEN g = mppgcd(Qx, kN); | GEN g = gcdii(Qx, kN); | mpqs_eval_candidates(GEN A, GEN inv_A4, GEN B, GEN kN, long k, double sqrt_kN, long *FB, long *start_1, long *start_2, ulong M, long bin_index, long *candidates, long number_of_candidates, long lp_bound, long start_index_FB_for_A, FILE *FREL, FILE *LPREL) /* NB FREL, LPREL are ac... |
if (pi < h->index0_FB) { | if ((mpqs_int32_t)pi < h->index0_FB) { | mpqs_eval_cand(mpqs_handle_t *h, long number_of_cand, FILE *FREL, FILE *LPREL) /* NB FREL, LPREL are actually FNEW, LPNEW when we get called */{ pari_sp av; long number_of_relations = 0; char *relations = h->relations; long *relaprimes = h->relaprimes; ulong i, pi; mpqs_FB_entry_t *FB = h->FB; GEN A =... |
idpowred(GEN x, GEN n) { return idealpowred(static_OBJ, x, n, 0); } | idpowred(void *nf, GEN x, GEN n) { return idealpowred((GEN) nf, x, n, 0); } | idpowred(GEN x, GEN n) { return idealpowred(static_OBJ, x, n, 0); } |
progname = *argv; | static struct timeval *timeleft __P((struct timeval *));static void holdoff_end __P((void *));static int device_script __P((int, int, char *));extern char *ttyname __P((int));extern char *getlogin __P((void));int pppdmain __P((int, char *[]));/* * PPP Data Link Layer "protocol" table. * One entry per supported protocol... | |
status = EXIT_OK; | pppd_status = EXIT_OK; | static struct timeval *timeleft __P((struct timeval *));static void holdoff_end __P((void *));static int device_script __P((int, int, char *));extern char *ttyname __P((int));extern char *getlogin __P((void));int pppdmain __P((int, char *[]));/* * PPP Data Link Layer "protocol" table. * One entry per supported protocol... |
kill_link = 0; | pppd_kill_link = 0; | static struct timeval *timeleft __P((struct timeval *));static void holdoff_end __P((void *));static int device_script __P((int, int, char *));extern char *ttyname __P((int));extern char *getlogin __P((void));int pppdmain __P((int, char *[]));/* * PPP Data Link Layer "protocol" table. * One entry per supported protocol... |
status = EXIT_OPEN_FAILED; | pppd_status = EXIT_OPEN_FAILED; | static struct timeval *timeleft __P((struct timeval *));static void holdoff_end __P((void *));static int device_script __P((int, int, char *));extern char *ttyname __P((int));extern char *getlogin __P((void));int pppdmain __P((int, char *[]));/* * PPP Data Link Layer "protocol" table. * One entry per supported protocol... |
status = EXIT_INIT_FAILED; | pppd_status = EXIT_INIT_FAILED; | static struct timeval *timeleft __P((struct timeval *));static void holdoff_end __P((void *));static int device_script __P((int, int, char *));extern char *ttyname __P((int));extern char *getlogin __P((void));int pppdmain __P((int, char *[]));/* * PPP Data Link Layer "protocol" table. * One entry per supported protocol... |
if (kill_link) | if (pppd_kill_link) | static struct timeval *timeleft __P((struct timeval *));static void holdoff_end __P((void *));static int device_script __P((int, int, char *));extern char *ttyname __P((int));extern char *getlogin __P((void));int pppdmain __P((int, char *[]));/* * PPP Data Link Layer "protocol" table. * One entry per supported protocol... |
status = EXIT_CONNECT_FAILED; | pppd_status = EXIT_CONNECT_FAILED; | static struct timeval *timeleft __P((struct timeval *));static void holdoff_end __P((void *));static int device_script __P((int, int, char *));extern char *ttyname __P((int));extern char *getlogin __P((void));int pppdmain __P((int, char *[]));/* * PPP Data Link Layer "protocol" table. * One entry per supported protocol... |
if (!persist || errno != EINTR || hungup || kill_link) | if (!persist || errno != EINTR || hungup || pppd_kill_link) | static struct timeval *timeleft __P((struct timeval *));static void holdoff_end __P((void *));static int device_script __P((int, int, char *));extern char *ttyname __P((int));extern char *getlogin __P((void));int pppdmain __P((int, char *[]));/* * PPP Data Link Layer "protocol" table. * One entry per supported protocol... |
status = EXIT_FATAL_ERROR; | pppd_status = EXIT_FATAL_ERROR; | static struct timeval *timeleft __P((struct timeval *));static void holdoff_end __P((void *));static int device_script __P((int, int, char *));extern char *ttyname __P((int));extern char *getlogin __P((void));int pppdmain __P((int, char *[]));/* * PPP Data Link Layer "protocol" table. * One entry per supported protocol... |
status = EXIT_NEGOTIATION_FAILED; | pppd_status = EXIT_NEGOTIATION_FAILED; | static struct timeval *timeleft __P((struct timeval *));static void holdoff_end __P((void *));static int device_script __P((int, int, char *));extern char *ttyname __P((int));extern char *getlogin __P((void));int pppdmain __P((int, char *[]));/* * PPP Data Link Layer "protocol" table. * One entry per supported protocol... |
while (phase != PHASE_DEAD) { | while (pppd_phase != PHASE_DEAD) { | static struct timeval *timeleft __P((struct timeval *));static void holdoff_end __P((void *));static int device_script __P((int, int, char *));extern char *ttyname __P((int));extern char *getlogin __P((void));int pppdmain __P((int, char *[]));/* * PPP Data Link Layer "protocol" table. * One entry per supported protocol... |
if (kill_link) { | if (pppd_kill_link) { | static struct timeval *timeleft __P((struct timeval *));static void holdoff_end __P((void *));static int device_script __P((int, int, char *));extern char *ttyname __P((int));extern char *getlogin __P((void));int pppdmain __P((int, char *[]));/* * PPP Data Link Layer "protocol" table. * One entry per supported protocol... |
if (phase == PHASE_NETWORK || phase == PHASE_RUNNING) { | if (pppd_phase == PHASE_NETWORK || pppd_phase == PHASE_RUNNING) { | static struct timeval *timeleft __P((struct timeval *));static void holdoff_end __P((void *));static int device_script __P((int, int, char *));extern char *ttyname __P((int));extern char *getlogin __P((void));int pppdmain __P((int, char *[]));/* * PPP Data Link Layer "protocol" table. * One entry per supported protocol... |
if (kill_link) { kill_link = 0; | if (pppd_kill_link) { pppd_kill_link = 0; | static struct timeval *timeleft __P((struct timeval *));static void holdoff_end __P((void *));static int device_script __P((int, int, char *));extern char *ttyname __P((int));extern char *getlogin __P((void));int pppdmain __P((int, char *[]));/* * PPP Data Link Layer "protocol" table. * One entry per supported protocol... |
} while (phase == PHASE_HOLDOFF); | } while (pppd_phase == PHASE_HOLDOFF); | static struct timeval *timeleft __P((struct timeval *));static void holdoff_end __P((void *));static int device_script __P((int, int, char *));extern char *ttyname __P((int));extern char *getlogin __P((void));int pppdmain __P((int, char *[]));/* * PPP Data Link Layer "protocol" table. * One entry per supported protocol... |
die(status); return status; | die(pppd_status); return pppd_status; | static struct timeval *timeleft __P((struct timeval *));static void holdoff_end __P((void *));static int device_script __P((int, int, char *));extern char *ttyname __P((int));extern char *getlogin __P((void));int pppdmain __P((int, char *[]));/* * PPP Data Link Layer "protocol" table. * One entry per supported protocol... |
status = EXIT_HANGUP; | pppd_status = EXIT_HANGUP; | static struct timeval *timeleft __P((struct timeval *));static void holdoff_end __P((void *));static int device_script __P((int, int, char *));extern char *ttyname __P((int));extern char *getlogin __P((void));int pppdmain __P((int, char *[]));/* * PPP Data Link Layer "protocol" table. * One entry per supported protocol... |
if (phase <= PHASE_AUTHENTICATE | if (pppd_phase <= PHASE_AUTHENTICATE | static struct timeval *timeleft __P((struct timeval *));static void holdoff_end __P((void *));static int device_script __P((int, int, char *));extern char *ttyname __P((int));extern char *getlogin __P((void));int pppdmain __P((int, char *[]));/* * PPP Data Link Layer "protocol" table. * One entry per supported protocol... |
protocol, phase)); | protocol, pppd_phase)); | static struct timeval *timeleft __P((struct timeval *));static void holdoff_end __P((void *));static int device_script __P((int, int, char *));extern char *ttyname __P((int));extern char *getlogin __P((void));int pppdmain __P((int, char *[]));/* * PPP Data Link Layer "protocol" table. * One entry per supported protocol... |
phase = p; | pppd_phase = p; | static struct timeval *timeleft __P((struct timeval *));static void holdoff_end __P((void *));static int device_script __P((int, int, char *));extern char *ttyname __P((int));extern char *getlogin __P((void));int pppdmain __P((int, char *[]));/* * PPP Data Link Layer "protocol" table. * One entry per supported protocol... |
filltabs(Cache *C, Cache *Cp, Red *R, int p, int pk, long ltab) | filltabs(Cache *C, Cache *Cp, Red *R, long p, long pk, long ltab) | filltabs(Cache *C, Cache *Cp, Red *R, int p, int pk, long ltab){ pari_sp av; int i, j; long e; GEN tabt, taba, m; C->cyc = cyclo(pk,0); if (p > 2) { int LE = pk - pk/p + 1; GEN E = cgetg(LE, t_VECSMALL), eta = cgetg(pk+1,t_VEC); for (i=1,j=0; i<pk; i++) if (i%p) E[++j] = i; C->E = E; for (i=1... |
int i, j; | long i, j; | filltabs(Cache *C, Cache *Cp, Red *R, int p, int pk, long ltab){ pari_sp av; int i, j; long e; GEN tabt, taba, m; C->cyc = cyclo(pk,0); if (p > 2) { int LE = pk - pk/p + 1; GEN E = cgetg(LE, t_VECSMALL), eta = cgetg(pk+1,t_VEC); for (i=1,j=0; i<pk; i++) if (i%p) E[++j] = i; C->E = E; for (i=1... |
int LE = pk - pk/p + 1; | long LE = pk - pk/p + 1; | filltabs(Cache *C, Cache *Cp, Red *R, int p, int pk, long ltab){ pari_sp av; int i, j; long e; GEN tabt, taba, m; C->cyc = cyclo(pk,0); if (p > 2) { int LE = pk - pk/p + 1; GEN E = cgetg(LE, t_VECSMALL), eta = cgetg(pk+1,t_VEC); for (i=1,j=0; i<pk; i++) if (i%p) E[++j] = i; C->E = E; for (i=1... |
int LE = (pk>>2) + 1; | long LE = (pk>>2) + 1; | filltabs(Cache *C, Cache *Cp, Red *R, int p, int pk, long ltab){ pari_sp av; int i, j; long e; GEN tabt, taba, m; C->cyc = cyclo(pk,0); if (p > 2) { int LE = pk - pk/p + 1; GEN E = cgetg(LE, t_VECSMALL), eta = cgetg(pk+1,t_VEC); for (i=1,j=0; i<pk; i++) if (i%p) E[++j] = i; C->E = E; for (i=1... |
int jj, ph = pk - pk/p; | long jj, ph = pk - pk/p; | filltabs(Cache *C, Cache *Cp, Red *R, int p, int pk, long ltab){ pari_sp av; int i, j; long e; GEN tabt, taba, m; C->cyc = cyclo(pk,0); if (p > 2) { int LE = pk - pk/p + 1; GEN E = cgetg(LE, t_VECSMALL), eta = cgetg(pk+1,t_VEC); for (i=1,j=0; i<pk; i++) if (i%p) E[++j] = i; C->E = E; for (i=1... |
rtems_unsigned16 index; | uint16_t index; | rtems_isr external_exception_ISR ( rtems_vector_number vector /* IN */){ rtems_unsigned16 index; rtems_boolean is_active=FALSE; rtems_unsigned32 scv64_status; Chain_Node *node; EE_ISR_Type *ee_isr; /* * Get all active interrupts. */ scv64_status = SCV6... |
rtems_unsigned32 scv64_status; | uint32_t scv64_status; | rtems_isr external_exception_ISR ( rtems_vector_number vector /* IN */){ rtems_unsigned16 index; rtems_boolean is_active=FALSE; rtems_unsigned32 scv64_status; Chain_Node *node; EE_ISR_Type *ee_isr; /* * Get all active interrupts. */ scv64_status = SCV6... |
errno = ENOSYS; return -1; | rtems_libio_t *iop; iop = rtems_libio_iop( dirp->dd_fd ); if (iop == NULL) assert(0); return (long)( iop->offset ); | long telldir( DIR *dirp){ errno = ENOSYS; return -1;} |
long size = 512, n = size; char *buf = gpmalloc(n), *s = buf; | Buffer *b = new_buffer(); input_method IM; filtre_t F; GEN x; | readGEN(FILE *fi){ long size = 512, n = size; char *buf = gpmalloc(n), *s = buf; while (fgets(s, n, fi)) { if (s[strlen(s)-1] == '\n') { GEN x = freadexpr(buf); free(buf); return x; } buf = gprealloc(buf, size<<1); s = buf + (size-1); n = size+1; size <<= 1; }#if defined(UNIX) || defined(_... |
while (fgets(s, n, fi)) { if (s[strlen(s)-1] == '\n') { GEN x = freadexpr(buf); free(buf); return x; } buf = gprealloc(buf, size<<1); s = buf + (size-1); n = size+1; size <<= 1; } #if defined(UNIX) || defined(__EMX__) if (!feof(fi)) #endif err(talker, "failed read from file"); return NULL; | init_filtre(&F, b); IM.file = fi; IM.fgets= &fgets; IM.prompt = NULL; IM.getline= &file_input; IM.free = 0; (void)input_loop(&F,&IM); x = readseq(b->buf); delete_buffer(b); return x; | readGEN(FILE *fi){ long size = 512, n = size; char *buf = gpmalloc(n), *s = buf; while (fgets(s, n, fi)) { if (s[strlen(s)-1] == '\n') { GEN x = freadexpr(buf); free(buf); return x; } buf = gprealloc(buf, size<<1); s = buf + (size-1); n = size+1; size <<= 1; }#if defined(UNIX) || defined(_... |
kill_link = 1; | pppd_kill_link = 1; | static void timeout_terminate(void *arg){ /* set pppd global variables to disconnect */ persist = 0; kill_link = 1;} |
newcrossing(spantab); if(y==spantab->lastlasty) | if(y!=spantab->lastlasty) | static void adddot(struct spantab *spantab, int x, int y){ if(y<0 || y>=MAXLINES) return; if(y<spantab->miny) spantab->miny=y; if(y>spantab->maxy) spantab->maxy=y; if(y==spantab->lasty) { spantab->xout=x; } else { if(spantab->secondy<0) { spantab->secondy=y; if(spantab->secondy > spantab->firsty) --spantab->f... |
else { int t; t=spantab->xout; spantab->xout = spantab->xin; newcrossing(spantab); spantab->xin = spantab->xout = t; newcrossing(spantab); } | static void adddot(struct spantab *spantab, int x, int y){ if(y<0 || y>=MAXLINES) return; if(y<spantab->miny) spantab->miny=y; if(y>spantab->maxy) spantab->maxy=y; if(y==spantab->lasty) { spantab->xout=x; } else { if(spantab->secondy<0) { spantab->secondy=y; if(spantab->secondy > spantab->firsty) --spantab->f... | |
GEN __x; | apell1(GEN e, GEN p){ long *tx, *ty, *ti, pfinal, i, j, j2, s, k, k1, x, nb; gpmem_t av = avma, av2; GEN p1,p2,p3,h,mfh,f,fh,fg,pordmin,u,v,p1p,p2p,A,B,c4,c6,cp4,pts; GEN __x; tx = ty = ti = NULL; /* gcc -Wall */ if (DEBUGLEVEL) (void)timer2(); c4 = gmod(gdivgs((GEN)e[10], -48), p); c6 = gmod(gdivgs((GEN)e[11]... | |
{ | { GEN q1 = p1, mf = negsell(f); | apell1(GEN e, GEN p){ long *tx, *ty, *ti, pfinal, i, j, j2, s, k, k1, x, nb; gpmem_t av = avma, av2; GEN p1,p2,p3,h,mfh,f,fh,fg,pordmin,u,v,p1p,p2p,A,B,c4,c6,cp4,pts; GEN __x; tx = ty = ti = NULL; /* gcc -Wall */ if (DEBUGLEVEL) (void)timer2(); c4 = gmod(gdivgs((GEN)e[10], -48), p); c6 = gmod(gdivgs((GEN)e[11]... |
p1 = addsell(cp4,p1,f,p); if (!p1) { h = addii(h, mulsi(i,B)); goto FOUND; } | p1 = addsell(cp4,p1, f,p); if (!p1) { h = addii(h, mulsi( i,B)); goto FOUND; } q1 = addsell(cp4,q1,mf,p); if (!q1) { h = addii(h, mulsi(-i,B)); goto FOUND; } | apell1(GEN e, GEN p){ long *tx, *ty, *ti, pfinal, i, j, j2, s, k, k1, x, nb; gpmem_t av = avma, av2; GEN p1,p2,p3,h,mfh,f,fh,fg,pordmin,u,v,p1p,p2p,A,B,c4,c6,cp4,pts; GEN __x; tx = ty = ti = NULL; /* gcc -Wall */ if (DEBUGLEVEL) (void)timer2(); c4 = gmod(gdivgs((GEN)e[10], -48), p); c6 = gmod(gdivgs((GEN)e[11]... |
_fix(p1+1, j); tx[i] = _low((GEN)p1[1]); _fix(p1+2, j); ty[i] = _low((GEN)p1[2]); | _fix(p1+1, j); tx[i] = modBIL((GEN)p1[1]); _fix(p1+2, j); ty[i] = modBIL((GEN)p1[2]); | apell1(GEN e, GEN p){ long *tx, *ty, *ti, pfinal, i, j, j2, s, k, k1, x, nb; gpmem_t av = avma, av2; GEN p1,p2,p3,h,mfh,f,fh,fg,pordmin,u,v,p1p,p2p,A,B,c4,c6,cp4,pts; GEN __x; tx = ty = ti = NULL; /* gcc -Wall */ if (DEBUGLEVEL) (void)timer2(); c4 = gmod(gdivgs((GEN)e[10], -48), p); c6 = gmod(gdivgs((GEN)e[11]... |
mfh = dummycopy(fh); mfh[2] = lnegi((GEN)mfh[2]); fg = addsell(cp4,p1,mfh,p); | mfh = negsell(fh); fg = addsell(cp4,p1,mfh,p); | apell1(GEN e, GEN p){ long *tx, *ty, *ti, pfinal, i, j, j2, s, k, k1, x, nb; gpmem_t av = avma, av2; GEN p1,p2,p3,h,mfh,f,fh,fg,pordmin,u,v,p1p,p2p,A,B,c4,c6,cp4,pts; GEN __x; tx = ty = ti = NULL; /* gcc -Wall */ if (DEBUGLEVEL) (void)timer2(); c4 = gmod(gdivgs((GEN)e[10], -48), p); c6 = gmod(gdivgs((GEN)e[11]... |
tx[i] = _low((GEN)p1[1]); ty[i] = _low((GEN)p1[2]); | tx[i] = modBIL((GEN)p1[1]); ty[i] = modBIL((GEN)p1[2]); | apell1(GEN e, GEN p){ long *tx, *ty, *ti, pfinal, i, j, j2, s, k, k1, x, nb; gpmem_t av = avma, av2; GEN p1,p2,p3,h,mfh,f,fh,fg,pordmin,u,v,p1p,p2p,A,B,c4,c6,cp4,pts; GEN __x; tx = ty = ti = NULL; /* gcc -Wall */ if (DEBUGLEVEL) (void)timer2(); c4 = gmod(gdivgs((GEN)e[10], -48), p); c6 = gmod(gdivgs((GEN)e[11]... |
p1 = addsell(cp4,(GEN)pts[j-1],mfh,p); | p1 = addsell(cp4,(GEN)pts[j-1],mfh,p); if (!p1) { h = mulsi(s-1,B); goto FOUND; } | apell1(GEN e, GEN p){ long *tx, *ty, *ti, pfinal, i, j, j2, s, k, k1, x, nb; gpmem_t av = avma, av2; GEN p1,p2,p3,h,mfh,f,fh,fg,pordmin,u,v,p1p,p2p,A,B,c4,c6,cp4,pts; GEN __x; tx = ty = ti = NULL; /* gcc -Wall */ if (DEBUGLEVEL) (void)timer2(); c4 = gmod(gdivgs((GEN)e[10], -48), p); c6 = gmod(gdivgs((GEN)e[11]... |
if (!fg) { h = addii(h, mulsi(s,B)); goto FOUND; } pfinal = _low(p); av2 = avma; | if (!fg) { h = mulsi(s,B); goto FOUND; } pfinal = modBIL(p); av2 = avma; | apell1(GEN e, GEN p){ long *tx, *ty, *ti, pfinal, i, j, j2, s, k, k1, x, nb; gpmem_t av = avma, av2; GEN p1,p2,p3,h,mfh,f,fh,fg,pordmin,u,v,p1p,p2p,A,B,c4,c6,cp4,pts; GEN __x; tx = ty = ti = NULL; /* gcc -Wall */ if (DEBUGLEVEL) (void)timer2(); c4 = gmod(gdivgs((GEN)e[10], -48), p); c6 = gmod(gdivgs((GEN)e[11]... |
for (j=2; j<=nb; j++) gaffect(addsell(cp4,(GEN)pts[j-1],fg,p), (GEN)pts[j]); | for (j=2; j<=nb; j++) { p1 = addsell(cp4,(GEN)pts[j-1],fg,p); if (!p1) { h = mulii(mulss(s,j), B); goto FOUND; } gaffect(p1, (GEN)pts[j]); } | apell1(GEN e, GEN p){ long *tx, *ty, *ti, pfinal, i, j, j2, s, k, k1, x, nb; gpmem_t av = avma, av2; GEN p1,p2,p3,h,mfh,f,fh,fg,pordmin,u,v,p1p,p2p,A,B,c4,c6,cp4,pts; GEN __x; tx = ty = ti = NULL; /* gcc -Wall */ if (DEBUGLEVEL) (void)timer2(); c4 = gmod(gdivgs((GEN)e[10], -48), p); c6 = gmod(gdivgs((GEN)e[11]... |
k = _low((GEN)ftest[1]); | k = modBIL((GEN)ftest[1]); | apell1(GEN e, GEN p){ long *tx, *ty, *ti, pfinal, i, j, j2, s, k, k1, x, nb; gpmem_t av = avma, av2; GEN p1,p2,p3,h,mfh,f,fh,fg,pordmin,u,v,p1p,p2p,A,B,c4,c6,cp4,pts; GEN __x; tx = ty = ti = NULL; /* gcc -Wall */ if (DEBUGLEVEL) (void)timer2(); c4 = gmod(gdivgs((GEN)e[10], -48), p); c6 = gmod(gdivgs((GEN)e[11]... |
k2 = _low((GEN)ftest[2]); | k2 = modBIL((GEN)ftest[2]); | apell1(GEN e, GEN p){ long *tx, *ty, *ti, pfinal, i, j, j2, s, k, k1, x, nb; gpmem_t av = avma, av2; GEN p1,p2,p3,h,mfh,f,fh,fg,pordmin,u,v,p1p,p2p,A,B,c4,c6,cp4,pts; GEN __x; tx = ty = ti = NULL; /* gcc -Wall */ if (DEBUGLEVEL) (void)timer2(); c4 = gmod(gdivgs((GEN)e[10], -48), p); c6 = gmod(gdivgs((GEN)e[11]... |
*F = RgX_to_FpX(*F, p); | *F = FpX_normalize(RgX_to_FpX(*F, p), p); | factmod_init(GEN *F, GEN p){ long d; if (typ(*F)!=t_POL || typ(p)!=t_INT) err(typeer,"factmod"); *F = RgX_to_FpX(*F, p); d = degpol(*F); if (d < 0) err(zeropoler,"factmod"); return d;} |
autvec_TH(int pk, GEN z, GEN v, GEN C) | autvec_TH(long pk, GEN z, GEN v, GEN C) | autvec_TH(int pk, GEN z, GEN v, GEN C){ int i, lv = lg(v); GEN s = polun[varn(C)]; for (i=1; i<lv; i++) { long y = v[i]; if (y) s = RgXQ_mul(s, RgXQ_u_pow(aut(pk,z, y), y, C), C); } return s;} |
int i, lv = lg(v); | long i, lv = lg(v); | autvec_TH(int pk, GEN z, GEN v, GEN C){ int i, lv = lg(v); GEN s = polun[varn(C)]; for (i=1; i<lv; i++) { long y = v[i]; if (y) s = RgXQ_mul(s, RgXQ_u_pow(aut(pk,z, y), y, C), C); } return s;} |
rtems_libio_fcntl_flags(unsigned32 fcntl_flags) | unsigned32 rtems_libio_fcntl_flags( unsigned32 fcntl_flags ) | rtems_libio_fcntl_flags(unsigned32 fcntl_flags){ unsigned32 flags = 0; unsigned32 access_modes; /* * Access mode is a small integer */ access_modes = fcntl_flags & O_ACCMODE; fcntl_flags &= ~O_ACCMODE; flags = rtems_assoc_local_by_remote(access_modes_assoc, access_modes); /* * Every... |
rtems_libio_allocate(void) | rtems_libio_t *rtems_libio_allocate( void ) | rtems_libio_allocate(void){ rtems_libio_t *iop; rtems_status_code rc; rtems_semaphore_obtain(rtems_libio_semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT); for (iop = rtems_libio_iops; iop <= rtems_libio_last_iop; iop++) if ((iop->flags & LIBIO_FLAGS_OPEN) == 0) { /* * Got on... |
rtems_libio_t *iop; rtems_status_code rc; | rtems_libio_t *iop; rtems_status_code rc; rtems_semaphore_obtain( rtems_libio_semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT ); for (iop = rtems_libio_iops; iop <= rtems_libio_last_iop; iop++) if ((iop->flags & LIBIO_FLAGS_OPEN) == 0) { rc = rtems_semaphore_create( RTEMS_LIBIO_IOP_SEM(iop - rtems_libio_iops), 1, RTEMS_BIN... | rtems_libio_allocate(void){ rtems_libio_t *iop; rtems_status_code rc; rtems_semaphore_obtain(rtems_libio_semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT); for (iop = rtems_libio_iops; iop <= rtems_libio_last_iop; iop++) if ((iop->flags & LIBIO_FLAGS_OPEN) == 0) { /* * Got on... |
rtems_semaphore_obtain(rtems_libio_semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT); for (iop = rtems_libio_iops; iop <= rtems_libio_last_iop; iop++) if ((iop->flags & LIBIO_FLAGS_OPEN) == 0) { rc = rtems_semaphore_create( RTEMS_LIBIO_IOP_SEM(iop - rtems_libio_iops), 1, RTEMS_BINARY_SEMAPHORE | RTEMS_INHERIT_PRIORITY | RTEM... | iop->flags = LIBIO_FLAGS_OPEN; goto done; } | rtems_libio_allocate(void){ rtems_libio_t *iop; rtems_status_code rc; rtems_semaphore_obtain(rtems_libio_semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT); for (iop = rtems_libio_iops; iop <= rtems_libio_last_iop; iop++) if ((iop->flags & LIBIO_FLAGS_OPEN) == 0) { /* * Got on... |
rtems_libio_free(rtems_libio_t *iop) | void rtems_libio_free( rtems_libio_t *iop ) | rtems_libio_free(rtems_libio_t *iop){ rtems_semaphore_obtain(rtems_libio_semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT); if (iop->sem) rtems_semaphore_delete(iop->sem); (void) memset(iop, 0, sizeof(*iop)); rtems_semaphore_release(rtems_libio_semaphore);} |
if (iop->sem) rtems_semaphore_delete(iop->sem); (void) memset(iop, 0, sizeof(*iop)); | if (iop->sem) rtems_semaphore_delete(iop->sem); | rtems_libio_free(rtems_libio_t *iop){ rtems_semaphore_obtain(rtems_libio_semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT); if (iop->sem) rtems_semaphore_delete(iop->sem); (void) memset(iop, 0, sizeof(*iop)); rtems_semaphore_release(rtems_libio_semaphore);} |
rtems_semaphore_release(rtems_libio_semaphore); | (void) memset(iop, 0, sizeof(*iop)); rtems_semaphore_release( rtems_libio_semaphore ); | rtems_libio_free(rtems_libio_t *iop){ rtems_semaphore_obtain(rtems_libio_semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT); if (iop->sem) rtems_semaphore_delete(iop->sem); (void) memset(iop, 0, sizeof(*iop)); rtems_semaphore_release(rtems_libio_semaphore);} |
return (*fp)(fd); | status = (*fp)(fd); rtems_libio_free(iop); return status; | __rtems_close( int fd ) { rtems_status_code rc; rtems_driver_name_t *np; rtems_libio_t *iop; rtems_libio_open_close_args_t args; if (rtems_file_descriptor_type(fd)) { int (*fp)(int fd); fp = handlers[rtems_file_descriptor_type_index(fd)].close; if (fp == NULL) { er... |
rtems_libio_free(iop); | __rtems_close( int fd ) { rtems_status_code rc; rtems_driver_name_t *np; rtems_libio_t *iop; rtems_libio_open_close_args_t args; if (rtems_file_descriptor_type(fd)) { int (*fp)(int fd); fp = handlers[rtems_file_descriptor_type_index(fd)].close; if (fp == NULL) { er... | |
rtems_panic_in_progress++; _Thread_Disable_dispatch(); | if (rtems_panic_in_progress++) _Thread_Disable_dispatch(); | static int rtems_verror( unsigned32 error_flag, const char *printf_format, va_list arglist){ int local_errno = 0; int chars_written = 0; rtems_status_code status; if (error_flag & RTEMS_ERROR_PANIC) { rtems_panic_in_progress++; /* disable task s... |
struct iovec iov[16]; apr_size_t nvec, nbytes; | struct iovec iov[4]; apr_size_t nbytes; | static void serialize_data(serf_bucket_t *bucket){ request_context_t *ctx = bucket->data; serf_bucket_t *new_bucket; const char *new_data; struct iovec iov[16]; apr_size_t nvec, nbytes; /* Serialize the request-line and headers into one mother string, * and wrap a bucket around it. */ iov[0... |
nvec = 4; if (bucket->metadata) { apr_hash_index_t *hi; apr_pool_t *p; const void *hash_ptr; apr_hash_t *hash; serf_bucket_get_metadata(bucket, SERF_REQUEST_HEADERS, 0, &hash_ptr); if (hash_ptr) { hash = (apr_hash_t*)hash_ptr; if ((apr_hash_count(hash) * 3) > 16 - nvec) { abort(); } p = serf_bucket_allocator_g... | static void serialize_data(serf_bucket_t *bucket){ request_context_t *ctx = bucket->data; serf_bucket_t *new_bucket; const char *new_data; struct iovec iov[16]; apr_size_t nvec, nbytes; /* Serialize the request-line and headers into one mother string, * and wrap a bucket around it. */ iov[0... | |
iov, nvec, &nbytes); | iov, 4, &nbytes); | static void serialize_data(serf_bucket_t *bucket){ request_context_t *ctx = bucket->data; serf_bucket_t *new_bucket; const char *new_data; struct iovec iov[16]; apr_size_t nvec, nbytes; /* Serialize the request-line and headers into one mother string, * and wrap a bucket around it. */ iov[0... |
serf_bucket_aggregate_append(bucket, ctx->headers); | static void serialize_data(serf_bucket_t *bucket){ request_context_t *ctx = bucket->data; serf_bucket_t *new_bucket; const char *new_data; struct iovec iov[16]; apr_size_t nvec, nbytes; /* Serialize the request-line and headers into one mother string, * and wrap a bucket around it. */ iov[0... | |
if ( bd_count == 16 ) { printk(("TX ERROR:Too many mbufs in the packet!!!\n")) printk(("Must coalesce!\n")) } | void send_packet( struct ifnet *ifp, struct mbuf *m){ i596_tbd *pPrev = I596_NULL; i596_tbd *pRemainingTbdList; i596_tbd *pTbd; struct mbuf *n, *input_m = m; uti596_softc_ *sc = ifp->if_softc; struct mbuf *l = NULL; unsigned int length = 0; rtems_status_code status; int bd_count = 0; rtems_event_set events; ... | |
if ( !status ) | if ( status != 0 ) | int sem_unlink( const char *name){ int status; register POSIX_Semaphore_Control *the_semaphore; Objects_Id the_semaphore_id; Objects_Locations location; status = _POSIX_Semaphore_Name_to_id( name, &the_semaphore_id ); if ( !status ) set_errno_and_return_minus_one( s... |
_POSIX_Semaphore_Namespace_remove( the_semaphore ); | int sem_unlink( const char *name){ int status; register POSIX_Semaphore_Control *the_semaphore; Objects_Id the_semaphore_id; Objects_Locations location; status = _POSIX_Semaphore_Name_to_id( name, &the_semaphore_id ); if ( !status ) set_errno_and_return_minus_one( s... | |
long av,tetpil,k,st; | ulong av = avma; long k,st; | thueinit(GEN poly, long flag, long prec){ GEN thueres,ALH,csts,c0; long av,tetpil,k,st; double d,dr; av=avma; uftot=0; if (checktnf(poly)) { uftot=(GEN)poly[2]; poly=(GEN)poly[1]; } else if (typ(poly)!=t_POL) err(notpoler,"thueinit"); if (degpol(poly)<=2) err(talker,"invalid polynomial in thue (need deg>2)")... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.