pike.git / src / modules / _Charset / charsetmod.cmod

version» Context lines:

pike.git/src/modules/_Charset/charsetmod.cmod:895:   {    f_std_feed(args, feed_euc);   }      static void f_create_euc(INT32 args)   {    struct euc_stor *s = (struct euc_stor *)(Pike_fp->current_storage + euc_stor_offs);    struct pike_string *str;    int lo=0, hi=num_charset_def-1;    -  check_all_args("create()", args, BIT_STRING, BIT_STRING, 0); +  check_all_args(NULL, args, BIT_STRING, BIT_STRING, 0);       str = Pike_sp[-args].u.string;       if(str->size_shift>0)    hi = -1;       while(lo<=hi) {    int c, mid = (lo+hi)>>1;    if((c = strcmp((char *)STR0(str), charset_map[mid].name))==0) {    if(charset_map[mid].mode == MODE_9494)
pike.git/src/modules/_Charset/charsetmod.cmod:1293:    f_cq__Charset_Std_CS_create(args);   }      static void f_create_euce(INT32 args)   {    struct std16e_stor *s = (struct std16e_stor *)(Pike_fp->current_storage + std16e_stor_offs);    struct pike_string *str;    int i, j, z, lo=0, hi=num_charset_def-1;    UNICHAR const *table=NULL;    -  check_all_args("create()", args, BIT_STRING, BIT_STRING, +  check_all_args(NULL, args, BIT_STRING, BIT_STRING,    BIT_STRING|BIT_VOID|BIT_INT,    BIT_FUNCTION|BIT_VOID|BIT_INT, 0);       str = Pike_sp[-args].u.string;       if(str->size_shift>0)    hi = -1;       while(lo<=hi) {    int c, mid = (lo+hi)>>1;