pike.git / src / encode.c

version» Context lines:

pike.git/src/encode.c:18:   #include "pike_error.h"   #include "operators.h"   #include "builtin_functions.h"   #include "module_support.h"   #include "fsort.h"   #include "threads.h"   #include "stuff.h"   #include "version.h"   #include "bignum.h"    - RCSID("$Id: encode.c,v 1.91 2001/03/17 00:02:08 grubba Exp $"); + RCSID("$Id: encode.c,v 1.92 2001/03/17 16:37:42 grubba Exp $");      /* #define ENCODE_DEBUG */      #ifdef ENCODE_DEBUG   #define EDB(X) X   #else   #define EDB(X)   #endif      /* The sp macro conflicts with Solaris 2.5.1's <sys/conf.h>. */
pike.git/src/encode.c:305: Inside #if defined(USE_PIKE_TYPE)
   t = t->cdr;    goto one_more_type;       case T_MAPPING:    case T_OR:    case T_AND:    encode_type(t->car, data);    t = t->cdr;    goto one_more_type;    +  case T_TYPE:    case T_ARRAY:    case T_MULTISET:    case T_NOT:    t = t->car;    goto one_more_type;       case T_INT:    {    ptrdiff_t val;   
pike.git/src/encode.c:397:    case T_FUNCTION:    while(EXTRACT_UCHAR(t)!=T_MANY)    t += low_encode_type(t, data);    addchar(EXTRACT_UCHAR(t++));       case T_MAPPING:    case T_OR:    case T_AND:    t += low_encode_type(t, data);    +  case T_TYPE:    case T_ARRAY:    case T_MULTISET:    case T_NOT:    goto one_more_type;       case T_INT:    {    int i;    /* FIXME: I assume the type is saved in network byte order. Is it?    * /grubba 1999-03-07
pike.git/src/encode.c:1190: Inside #if defined(USE_PIKE_TYPE)
   low_decode_type(data);    low_decode_type(data);    push_reverse_type(tmp);    break;   #else /* !USE_PIKE_TYPE */    push_type(tmp);    low_decode_type(data);    goto one_more_type;   #endif /* USE_PIKE_TYPE */    +  case T_TYPE:    case T_ARRAY:    case T_MULTISET:    case T_NOT:   #ifdef USE_PIKE_TYPE    low_decode_type(data);    push_type(tmp);    break;   #else /* !USE_PIKE_TYPE */    push_type(tmp);    goto one_more_type;
pike.git/src/encode.c:1241:    case '1':    case '2':    case '3':    case '4':    case '5':    case '6':    case '7':    case '8':    case '9':    case T_FLOAT: -  case T_TYPE: +     case T_STRING:    case T_PROGRAM:    case T_MIXED:    case T_ZERO:    case T_VOID:    case PIKE_T_UNKNOWN:    push_type(tmp);    break;       case T_OBJECT: