c 140 avi2swf/videoreader_vfw.cc USHORT c = line[0]|line[1]<<8; c 141 avi2swf/videoreader_vfw.cc *dest++ = 255|(c&0x1f)<<(24+3)|(c>>5&0x1f)<<(16+3)|(c>>10&0x1f)<<(8+3); c 345 lib/MD5.c (a) = (a) + F((b), (c), (d)) + X[(k)] + T[(i)]; \ c 351 lib/MD5.c (a) = (a) + G((b), (c), (d)) + X[(k)] + T[(i)]; \ c 357 lib/MD5.c (a) = (a) + H((b), (c), (d)) + X[(k)] + T[(i)]; \ c 363 lib/MD5.c (a) = (a) + I((b), (c), (d)) + X[(k)] + T[(i)]; \ c 137 lib/action/lex.swf4.c #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c) c 198 lib/action/lex.swf4.c #define unput(c) yyunput( c, (yytext_ptr) ) c 872 lib/action/lex.swf4.c void do_unput4(const char c) { unput(c); } c 972 lib/action/lex.swf4.c int c = '*'; \ c 975 lib/action/lex.swf4.c (c = getc( swf4in )) != EOF && c != '\n'; ++n ) \ c 976 lib/action/lex.swf4.c buf[n] = (char) c; \ c 977 lib/action/lex.swf4.c if ( c == '\n' ) \ c 978 lib/action/lex.swf4.c buf[n++] = (char) c; \ c 979 lib/action/lex.swf4.c if ( c == EOF && ferror( swf4in ) ) \ c 2012 lib/action/lex.swf4.c *--yy_cp = (char) c; c 2027 lib/action/lex.swf4.c int c; c 2085 lib/action/lex.swf4.c c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */ c 2089 lib/action/lex.swf4.c return c; c 2707 lib/action/lex.swf4.c int c, c1; c 2712 lib/action/lex.swf4.c while ((c = getinput()) != '*' && c != EOF) c 2715 lib/action/lex.swf4.c msgline[column] = c; c 2720 lib/action/lex.swf4.c if (c == '\n') c 2726 lib/action/lex.swf4.c if (swf4debug) putchar(c); c 2730 lib/action/lex.swf4.c if ((c1 = getinput()) != '/' && c != EOF) c 2738 lib/action/lex.swf4.c if (c != EOF) c 2739 lib/action/lex.swf4.c if (swf4debug) putchar(c); c 2750 lib/action/lex.swf4.c int c; c 2753 lib/action/lex.swf4.c while ((c = getinput()) != '\n' && c != EOF) c 2755 lib/action/lex.swf4.c if (swf4debug) putchar(c); c 2758 lib/action/lex.swf4.c msgline[column] = c; c 2764 lib/action/lex.swf4.c if (c == '\n') c 2766 lib/action/lex.swf4.c if (swf4debug) putchar(c); c 117 lib/action/lex.swf5.c #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c) c 178 lib/action/lex.swf5.c #define unput(c) yyunput( c, (yytext_ptr) ) c 934 lib/action/lex.swf5.c void do_unput5(const char c) { unput(c); } c 1006 lib/action/lex.swf5.c int c = '*'; \ c 1009 lib/action/lex.swf5.c (c = getc( swf5in )) != EOF && c != '\n'; ++n ) \ c 1010 lib/action/lex.swf5.c buf[n] = (char) c; \ c 1011 lib/action/lex.swf5.c if ( c == '\n' ) \ c 1012 lib/action/lex.swf5.c buf[n++] = (char) c; \ c 1013 lib/action/lex.swf5.c if ( c == EOF && ferror( swf5in ) ) \ c 2391 lib/action/lex.swf5.c *--yy_cp = (char) c; c 2406 lib/action/lex.swf5.c int c; c 2464 lib/action/lex.swf5.c c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */ c 2468 lib/action/lex.swf5.c return c; c 3082 lib/action/lex.swf5.c int c, c1; c 3087 lib/action/lex.swf5.c while ((c = getinput()) != '*' && c != EOF) c 3090 lib/action/lex.swf5.c msgline[column] = c; c 3095 lib/action/lex.swf5.c if (c == '\n') c 3101 lib/action/lex.swf5.c if (swf5debug) putchar(c); c 3105 lib/action/lex.swf5.c if ((c1 = getinput()) != '/' && c != EOF) c 3113 lib/action/lex.swf5.c if (c != EOF) c 3114 lib/action/lex.swf5.c if (swf5debug) putchar(c); c 3125 lib/action/lex.swf5.c int c; c 3128 lib/action/lex.swf5.c while ((c = getinput()) != '\n' && c != EOF) c 3130 lib/action/lex.swf5.c if (swf5debug) putchar(c); c 3133 lib/action/lex.swf5.c msgline[column] = c; c 3139 lib/action/lex.swf5.c if (c == '\n') c 3141 lib/action/lex.swf5.c if (swf5debug) putchar(c); c 80 lib/action/listaction.c char c, *buf, *p; c 85 lib/action/listaction.c while((c=(char)readUInt8(f)) != '\0') c 94 lib/action/listaction.c *(p++) = c; c 122 lib/as3/abc.c NEW(abc_class_t,c); c 124 lib/as3/abc.c array_append(file->classes, NO_KEY, c); c 126 lib/as3/abc.c c->file = file; c 127 lib/as3/abc.c c->classname = multiname_clone(classname); c 128 lib/as3/abc.c c->superclass = multiname_clone(superclass); c 129 lib/as3/abc.c c->flags = 0; c 130 lib/as3/abc.c c->constructor = 0; c 131 lib/as3/abc.c c->static_constructor = 0; c 132 lib/as3/abc.c c->traits = list_new(); c 133 lib/as3/abc.c return c; c 142 lib/as3/abc.c c->flags |= CLASS_SEALED; c 146 lib/as3/abc.c c->flags |= CLASS_FINAL; c 150 lib/as3/abc.c c->flags |= CLASS_INTERFACE; c 154 lib/as3/abc.c c->protectedNS = namespace_new_protected(namespace); c 155 lib/as3/abc.c c->flags |= CLASS_PROTECTED_NS; c 159 lib/as3/abc.c list_append(c->interfaces, multiname_clone(interface)); c 185 lib/as3/abc.c NEW(abc_method_body_t,c); c 186 lib/as3/abc.c array_append(file->method_bodies, NO_KEY, c); c 187 lib/as3/abc.c c->index = array_length(file->method_bodies); c 188 lib/as3/abc.c c->file = file; c 189 lib/as3/abc.c c->traits = list_new(); c 190 lib/as3/abc.c c->code = 0; c 193 lib/as3/abc.c m->body = c; c 194 lib/as3/abc.c c->method = m; c 374 lib/as3/abc.c abc_method_body_t*c = m->body; c 375 lib/as3/abc.c if(!c) { c 380 lib/as3/abc.c prefix, c->old.max_stack, c->old.local_count, c->old.init_scope_depth, c 381 lib/as3/abc.c c->old.max_scope_depth); c 384 lib/as3/abc.c int flags = c->method->flags; c 402 lib/as3/abc.c if(c->traits) c 403 lib/as3/abc.c traits_dump(fo, prefix, c->traits, file, methods_seen); c 405 lib/as3/abc.c code_dump2(c->code, c->exceptions, file, prefix2, fo); c 789 lib/as3/abc.c constant_t*c = constant_fromindex(pool, vindex, vkind); c 790 lib/as3/abc.c list_append(m->optional_parameters, c); c 862 lib/as3/abc.c abc_method_body_t*c = malloc(sizeof(abc_method_body_t)); c 863 lib/as3/abc.c memset(c, 0, sizeof(abc_method_body_t)); c 864 lib/as3/abc.c c->old.max_stack = swf_GetU30(tag); c 865 lib/as3/abc.c c->old.local_count = swf_GetU30(tag); c 866 lib/as3/abc.c c->old.init_scope_depth = swf_GetU30(tag); c 867 lib/as3/abc.c c->old.max_scope_depth = swf_GetU30(tag); c 869 lib/as3/abc.c c->init_scope_depth = c->old.init_scope_depth; c 872 lib/as3/abc.c c->method = m; c 873 lib/as3/abc.c m->body = c; c 877 lib/as3/abc.c c->code = code_parse(tag, code_length, file, pool, &codelookup); c 882 lib/as3/abc.c c->exceptions = list_new(); c 894 lib/as3/abc.c list_append(c->exceptions, e); c 897 lib/as3/abc.c c->traits = traits_parse(tag, pool, file); c 901 lib/as3/abc.c array_append(file->method_bodies, NO_KEY, c); c 968 lib/as3/abc.c abc_class_t*c = (abc_class_t*)array_getvalue(file->classes, t); c 969 lib/as3/abc.c if(!c->constructor) { c 970 lib/as3/abc.c if(!(c->flags&CLASS_INTERFACE)) { c 975 lib/as3/abc.c if(c->superclass && c->superclass->name && strcmp(c->superclass->name,"Object")) { c 980 lib/as3/abc.c c->constructor = m; c 983 lib/as3/abc.c c->constructor = m; c 986 lib/as3/abc.c if(!c->static_constructor) { c 991 lib/as3/abc.c c->static_constructor = m; c 1003 lib/as3/abc.c abc_class_t*c = (abc_class_t*)array_getvalue(file->classes, t); c 1004 lib/as3/abc.c c->index = t; c 1032 lib/as3/abc.c abc_class_t*c = (abc_class_t*)array_getvalue(file->classes, t); c 1033 lib/as3/abc.c trait_list_t*traits = c->traits; c 1034 lib/as3/abc.c if(c->constructor && c->constructor->body && c 1035 lib/as3/abc.c c->constructor->body->init_scope_depth < c->init_scope_depth) { c 1036 lib/as3/abc.c c->constructor->body->init_scope_depth = c->init_scope_depth; c 1038 lib/as3/abc.c if(c->static_constructor && c->static_constructor->body && c 1039 lib/as3/abc.c c->static_constructor->body->init_scope_depth < c->init_scope_depth) { c 1040 lib/as3/abc.c c->static_constructor->body->init_scope_depth = c->init_scope_depth; c 1046 lib/as3/abc.c if(body->init_scope_depth < c->init_scope_depth) { c 1047 lib/as3/abc.c body->init_scope_depth = c->init_scope_depth; c 1117 lib/as3/abc.c abc_class_t*c = (abc_class_t*)array_getvalue(file->classes, t); c 1119 lib/as3/abc.c int classname_index = pool_register_multiname(pool, c->classname); c 1120 lib/as3/abc.c int superclass_index = pool_register_multiname(pool, c->superclass); c 1125 lib/as3/abc.c swf_SetU8(tag, c->flags); // flags c 1126 lib/as3/abc.c if(c->flags&0x08) { c 1127 lib/as3/abc.c int ns_index = pool_register_namespace(pool, c->protectedNS); c 1131 lib/as3/abc.c swf_SetU30(tag, list_length(c->interfaces)); c 1132 lib/as3/abc.c multiname_list_t*interface= c->interfaces; c 1138 lib/as3/abc.c assert(c->constructor); c 1139 lib/as3/abc.c swf_SetU30(tag, c->constructor->index); c 1141 lib/as3/abc.c traits_write(pool, tag, c->traits); c 1144 lib/as3/abc.c abc_class_t*c = (abc_class_t*)array_getvalue(file->classes, t); c 1145 lib/as3/abc.c assert(c->static_constructor); c 1146 lib/as3/abc.c swf_SetU30(tag, c->static_constructor->index); c 1148 lib/as3/abc.c traits_write(pool, tag, c->static_traits); c 1163 lib/as3/abc.c abc_method_body_t*c = (abc_method_body_t*)array_getvalue(file->method_bodies, t); c 1164 lib/as3/abc.c abc_method_t*m = c->method; c 1172 lib/as3/abc.c swf_SetU30(tag, c->stats->max_stack); c 1173 lib/as3/abc.c int param_num = list_length(c->method->parameters)+1; c 1174 lib/as3/abc.c if(c->method->flags&METHOD_NEED_REST) c 1176 lib/as3/abc.c if(param_num <= c->stats->local_count) c 1177 lib/as3/abc.c swf_SetU30(tag, c->stats->local_count); c 1181 lib/as3/abc.c swf_SetU30(tag, c->init_scope_depth); c 1182 lib/as3/abc.c swf_SetU30(tag, c->stats->max_scope_depth+ c 1183 lib/as3/abc.c c->init_scope_depth); c 1185 lib/as3/abc.c code_write(tag, c->code, pool, file); c 1187 lib/as3/abc.c swf_SetU30(tag, list_length(c->exceptions)); c 1188 lib/as3/abc.c abc_exception_list_t*l = c->exceptions; c 1199 lib/as3/abc.c traits_write(pool, tag, c->traits); c 227 lib/as3/code.c if(c) { c 228 lib/as3/code.c pos+=c->pos; c 234 lib/as3/code.c if(c) { c 235 lib/as3/code.c opcode_t*op = opcode_get(c->opcode); c 236 lib/as3/code.c fprintf(stderr, "Warning: Invalid jump instruction \"%s\" from %d to %d (%d)\n", op->name, c->pos, pos, len); c 285 lib/as3/code.c NEW(code_t,c); c 286 lib/as3/code.c c->pos = codepos; c 288 lib/as3/code.c bytepos[codepos] = c; c 291 lib/as3/code.c head = code = c; c 293 lib/as3/code.c code->next = c; c 294 lib/as3/code.c c->prev = code; c 295 lib/as3/code.c code = c; c 298 lib/as3/code.c c->opcode = opcode; c 370 lib/as3/code.c code_t*c = bytepos[t]; c 371 lib/as3/code.c if(c) { c 372 lib/as3/code.c opcode_t*op = opcode_get(c->opcode); c 374 lib/as3/code.c printf("%50d) %02x %s %d\n", t, tag->data[start+t], op->name, c->data[0]); c 385 lib/as3/code.c code_t*c = head; c 386 lib/as3/code.c while(c) { c 387 lib/as3/code.c opcode_t*op = opcode_get(c->opcode); c 389 lib/as3/code.c int j = ((int)(ptroff_t)c->data[0]); c 390 lib/as3/code.c c->branch = pos2code(bytepos,c,j+4,len); c 392 lib/as3/code.c lookupswitch_t*l = (lookupswitch_t*)c->data[0]; c 394 lib/as3/code.c l->def = pos2code(bytepos,c,(ptroff_t)l->def+offset,len); c 397 lib/as3/code.c t->code = pos2code(bytepos,c,(ptroff_t)t->code+offset,len); c 401 lib/as3/code.c c = c->next; c 423 lib/as3/code.c c = code_start(c); c 424 lib/as3/code.c while(c) { c 425 lib/as3/code.c code_t*next = c->next; c 426 lib/as3/code.c opcode_t*op = opcode_get(c->opcode); c 430 lib/as3/code.c void*data = c->data[pos]; c 442 lib/as3/code.c c->data[pos]=0; c 445 lib/as3/code.c memset(c, 0, sizeof(c)); c 446 lib/as3/code.c free(c); c 447 lib/as3/code.c c = next; c 453 lib/as3/code.c opcode_t*op = opcode_get(c->opcode); c 459 lib/as3/code.c swf_SetU8(tag, c->opcode); c 463 lib/as3/code.c if(c->opcode == OPCODE___BREAK__ || c 464 lib/as3/code.c c->opcode == OPCODE___CONTINUE__) { c 472 lib/as3/code.c void*data = c->data[pos++]; c 531 lib/as3/code.c int skip = length-c->pos-4; c 532 lib/as3/code.c if(c->branch) c 533 lib/as3/code.c skip = (c->branch->pos) - c->pos - 4; c 546 lib/as3/code.c len+=swf_SetU30(tag, pool_register_string(pool,c->data[0])); c 548 lib/as3/code.c swf_SetU8(tag, (ptroff_t)c->data[1]); c 556 lib/as3/code.c len+=swf_SetS24(tag, l->def->pos-c->pos+offset); //default c 562 lib/as3/code.c len+=swf_SetS24(tag, t->code->pos - c->pos+offset); c 567 lib/as3/code.c len+=swf_SetS24(tag, l->def->pos-c->pos+offset); c 584 lib/as3/code.c code_t*c = code; c 585 lib/as3/code.c while(c) { c 586 lib/as3/code.c c->pos = pos; c 587 lib/as3/code.c pos += opcode_write(0, c, pool, file, 0); c 588 lib/as3/code.c c = c->next; c 593 lib/as3/code.c c = code; c 595 lib/as3/code.c while(c) { c 600 lib/as3/code.c pos += opcode_write(tag, c, pool, file, length); c 601 lib/as3/code.c c = c->next; c 625 lib/as3/code.c opcode_t*op = opcode_get(c->opcode); c 627 lib/as3/code.c fprintf(stderr, "Invalid opcode entry %02x %s\n", c->opcode, op->name); c 631 lib/as3/code.c multiname_t*m = (multiname_t*)c->data[0]; c 639 lib/as3/code.c int nr = (ptroff_t)(op->params[0]=='n'?c->data[0]:c->data[1]); c 659 lib/as3/code.c code_t*c = stats->stack[t].code; c 660 lib/as3/code.c opcode_t*op = opcode_get(c->opcode); c 667 lib/as3/code.c if(c->branch) c 668 lib/as3/code.c printf(" ->%d\n", c->branch->pos); c 673 lib/as3/code.c printf(" %s", multiname_tostring(c->data[0])); c 675 lib/as3/code.c printf(" %s", namespace_tostring(c->data[0])); c 703 lib/as3/code.c code_t*c = stats->stack[pos].code; c 704 lib/as3/code.c opcode_t*op = opcode_get(c->opcode); c 708 lib/as3/code.c stack += stack_minus(c); c 733 lib/as3/code.c if(c->opcode == OPCODE_NEWCLASS) { c 734 lib/as3/code.c abc_class_t*cls = (abc_class_t*)(c->data[0]); c 738 lib/as3/code.c if(c->opcode == OPCODE_NEWFUNCTION) { c 739 lib/as3/code.c abc_method_t*m = (abc_method_t*)(c->data[0]); c 750 lib/as3/code.c handleregister(stats, (ptroff_t)c->data[pos]); c 756 lib/as3/code.c handleregister(stats, c->opcode&3); c 775 lib/as3/code.c if(!c->branch) { c 780 lib/as3/code.c c = c->branch; c 781 lib/as3/code.c pos = c->pos; c 785 lib/as3/code.c if(!c->branch) { c 790 lib/as3/code.c int newpos = c->branch->pos; c 795 lib/as3/code.c lookupswitch_t*l = c->data[0]; c 818 lib/as3/code.c assert(c->next == stats->stack[pos].code); c 828 lib/as3/code.c code_t*c = code; c 829 lib/as3/code.c while(c) { c 831 lib/as3/code.c c = c->next; c 844 lib/as3/code.c c = code; c 846 lib/as3/code.c opcode_t*op = opcode_get(c->opcode); c 848 lib/as3/code.c printf("%05d) %s %08x\n", t, op->name, c->branch); c 850 lib/as3/code.c printf("%05d) %s %s\n", t, op->name, multiname_tostring(c->data[0])); c 852 lib/as3/code.c printf("%05d) %s %s\n", t, op->name, namespace_tostring(c->data[0])); c 856 lib/as3/code.c c = c->next; c 862 lib/as3/code.c c = code; c 863 lib/as3/code.c while(c) { c 865 lib/as3/code.c current->stack[num].code = c; c 866 lib/as3/code.c c->pos = num; c 868 lib/as3/code.c c = c->next; c 895 lib/as3/code.c code_t*cc = code_start(c); c 901 lib/as3/code.c return code_dump2(c, 0, 0, "", stdout); c 906 lib/as3/code.c c = code_start(c); c 907 lib/as3/code.c currentstats_t*stats = code_get_stats(c, exceptions); c 910 lib/as3/code.c while(c) { c 911 lib/as3/code.c U8 opcode = c->opcode; c 917 lib/as3/code.c if(c==e->abc_exception->from) c 919 lib/as3/code.c if(c==e->abc_exception->target) { c 938 lib/as3/code.c int f = stats->stack[c->pos].flags; c 939 lib/as3/code.c fprintf(fo, "%s%05d) %c %d:%d %s ", prefix, c->pos, c 941 lib/as3/code.c stats->stack[c->pos].stackpos, c 942 lib/as3/code.c stats->stack[c->pos].scopepos, c 945 lib/as3/code.c fprintf(fo, "%s%05d) ? ?:? %s ", prefix, c->pos, op->name); c 949 lib/as3/code.c void*data = c->data[i]; c 990 lib/as3/code.c if(c->branch) c 991 lib/as3/code.c fprintf(fo, "->%d", c->branch->pos); c 993 lib/as3/code.c fprintf(fo, "%08x", (unsigned int)c->branch); c 999 lib/as3/code.c fprintf(fo, "[register %02x=%s]", (ptroff_t)c->data[1], (char*)c->data[0]); c 1001 lib/as3/code.c lookupswitch_t*l = c->data[0]; c 1029 lib/as3/code.c if(c==e->abc_exception->to) { c 1039 lib/as3/code.c c = c->next; c 1136 lib/as3/code.c if(!c) return 0; c 1141 lib/as3/code.c c = code_start(c); c 1144 lib/as3/code.c while(c) { c 1146 lib/as3/code.c memcpy(n, c, sizeof(code_t)); c 1150 lib/as3/code.c if(c->opcode == OPCODE_LABEL || c->opcode == OPCODE_NOP) { c 1151 lib/as3/code.c dict_put(pos2pos, c, n); c 1153 lib/as3/code.c if(c->branch) { c 1157 lib/as3/code.c opcode_t*op = opcode_get(c->opcode); c 1163 lib/as3/code.c c->data[pos] = multiname_clone(c->data[pos]); c 1165 lib/as3/code.c c->data[pos] = namespace_clone(c->data[pos]); c 1167 lib/as3/code.c c->data[pos] = string_dup3(c->data[pos]); c 1169 lib/as3/code.c c->data[pos] = strdup(c->data[pos]); c 1171 lib/as3/code.c double old = *(double*)c->data[pos]; c 1172 lib/as3/code.c c->data[pos] = malloc(sizeof(double)); c 1173 lib/as3/code.c *(double*)c->data[pos] = old; c 1175 lib/as3/code.c c->data[pos] = lookupswitch_dup(c->data[pos]); c 1185 lib/as3/code.c c = c->next; c 1189 lib/as3/code.c c = start; c 1190 lib/as3/code.c while(c) { c 1191 lib/as3/code.c if(c->branch) { c 1192 lib/as3/code.c code_t*target = dict_lookup(pos2pos, c->branch); c 1197 lib/as3/code.c c->branch = target; c 1199 lib/as3/code.c c = c->next; c 1208 lib/as3/code.c if(!c) return c; c 1209 lib/as3/code.c code_t*prev = c->prev; c 1210 lib/as3/code.c code_t*next = c->next; c 1211 lib/as3/code.c c->prev = 0; c 1212 lib/as3/code.c c->next = 0; c 1215 lib/as3/code.c code_free(c); c 1223 lib/as3/code.c if(!c) return c; c 1224 lib/as3/code.c assert(!c->next); c 1225 lib/as3/code.c return code_cut(c); c 1230 lib/as3/code.c if(!c) return 0; c 1231 lib/as3/code.c if(c->opcode == OPCODE_GETLOCAL || c 1232 lib/as3/code.c c->opcode == OPCODE_GETLOCAL_0 || c 1233 lib/as3/code.c c->opcode == OPCODE_GETLOCAL_1 || c 1234 lib/as3/code.c c->opcode == OPCODE_GETLOCAL_2 || c 1235 lib/as3/code.c c->opcode == OPCODE_GETLOCAL_3) { c 1243 lib/as3/code.c assert(!c->next); c 1244 lib/as3/code.c while(c) { c 1245 lib/as3/code.c if(!c) break; c 1246 lib/as3/code.c opcode_t*op = opcode_get(c->opcode); c 1249 lib/as3/code.c c = code_cutlast(c); c 1254 lib/as3/code.c return code_cutlast(c); c 1257 lib/as3/code.c else if(c->opcode == OPCODE_GETLOCAL || c 1258 lib/as3/code.c c->opcode == OPCODE_GETLOCAL_0 || c 1259 lib/as3/code.c c->opcode == OPCODE_GETLOCAL_1 || c 1260 lib/as3/code.c c->opcode == OPCODE_GETLOCAL_2 || c 1261 lib/as3/code.c c->opcode == OPCODE_GETLOCAL_3) { c 1262 lib/as3/code.c return code_cutlast(c); c 1265 lib/as3/code.c else if(c->opcode == OPCODE_CALLPROPERTY) { c 1266 lib/as3/code.c c->opcode = OPCODE_CALLPROPVOID; c 1267 lib/as3/code.c return c; c 1268 lib/as3/code.c } else if(c->opcode == OPCODE_CALLSUPER) { c 1269 lib/as3/code.c c->opcode = OPCODE_CALLSUPERVOID; c 1270 lib/as3/code.c return c; c 1271 lib/as3/code.c } else if((c->opcode == OPCODE_NEWOBJECT || c 1272 lib/as3/code.c c->opcode == OPCODE_NEWARRAY) && c 1273 lib/as3/code.c !c->data[0]) { c 1275 lib/as3/code.c return code_cutlast(c); c 1277 lib/as3/code.c !(op->flags&~(OP_REGISTER|OP_SET_DXNS)) && c->prev) { c 1279 lib/as3/code.c code_t*p = c->prev; c 1281 lib/as3/code.c c->prev = 0; c 1282 lib/as3/code.c return code_append(cut_last_push(p), c); c 1286 lib/as3/code.c c = abc_pop(c); c 1287 lib/as3/code.c return c; c 98 lib/as3/compiler.c compile_list_t*c = rfx_calloc(sizeof(compile_list_t)); c 99 lib/as3/compiler.c c->next = compile_list; c 100 lib/as3/compiler.c c->name = strdup(name); c 101 lib/as3/compiler.c c->filename = strdup(filename); c 102 lib/as3/compiler.c compile_list = c; c 32 lib/as3/expr.c code_t*c=0;\ c 37 lib/as3/expr.c code_t*c=0;\ c 42 lib/as3/expr.c code_t*c=0;\ c 48 lib/as3/expr.c code_t*c=0;\ c 62 lib/as3/expr.c r.c = c; \ c 95 lib/as3/expr.c if(c->opcode == OPCODE_GETLOCAL) {return (ptroff_t)c->data[0];} c 96 lib/as3/expr.c else if(c->opcode == OPCODE_GETLOCAL_0) {return 0;} c 97 lib/as3/expr.c else if(c->opcode == OPCODE_GETLOCAL_1) {return 1;} c 98 lib/as3/expr.c else if(c->opcode == OPCODE_GETLOCAL_2) {return 2;} c 99 lib/as3/expr.c else if(c->opcode == OPCODE_GETLOCAL_3) {return 3;} c 100 lib/as3/expr.c else syntaxerror("Internal error: opcode %02x is not a getlocal call", c->opcode); c 192 lib/as3/expr.c code_t* c = 0; c 205 lib/as3/expr.c c = code_append(c, prefix); c 206 lib/as3/expr.c c = code_append(c, r); c 208 lib/as3/expr.c c = abc_dup(c); c 209 lib/as3/expr.c c = abc_setlocal(c, temp); c 211 lib/as3/expr.c c = code_append(c, middlepart); c 213 lib/as3/expr.c c = abc_dup(c); c 214 lib/as3/expr.c c = abc_setlocal(c, temp); c 216 lib/as3/expr.c c = code_append(c, write); c 218 lib/as3/expr.c c = abc_getlocal(c, temp); c 219 lib/as3/expr.c c = abc_kill(c, temp); c 231 lib/as3/expr.c c = code_append(c, r); c 232 lib/as3/expr.c c = code_append(c, middlepart); c 233 lib/as3/expr.c c = code_append(c, write); c 235 lib/as3/expr.c c = code_append(c, r2); c 243 lib/as3/expr.c c = code_append(c, prefix); c 244 lib/as3/expr.c c = abc_dup(c); c 246 lib/as3/expr.c c = code_append(c, middlepart); c 247 lib/as3/expr.c c = code_append(c, write); c 249 lib/as3/expr.c c = code_append(c, r); c 255 lib/as3/expr.c c = code_append(c, prefix); c 257 lib/as3/expr.c c = code_append(c, middlepart); c 259 lib/as3/expr.c c = abc_dup(c); c 260 lib/as3/expr.c c = abc_setlocal(c, temp); c 262 lib/as3/expr.c c = code_append(c, write); c 264 lib/as3/expr.c c = abc_getlocal(c, temp); c 265 lib/as3/expr.c c = abc_kill(c, temp); c 269 lib/as3/expr.c return c; c 276 lib/as3/expr.c case CONSTANT_INT: t.c = abc_pushint(0, v->i);t.t = TYPE_INT;break; c 277 lib/as3/expr.c case CONSTANT_UINT: t.c = abc_pushuint(0, v->u);t.t = TYPE_UINT;break; c 278 lib/as3/expr.c case CONSTANT_FLOAT: t.c = abc_pushdouble(0, v->f);t.t = TYPE_FLOAT;break; c 279 lib/as3/expr.c case CONSTANT_TRUE: t.c = abc_pushtrue(0);t.t = TYPE_BOOLEAN;break; c 280 lib/as3/expr.c case CONSTANT_FALSE: t.c = abc_pushfalse(0);t.t = TYPE_BOOLEAN;break; c 281 lib/as3/expr.c case CONSTANT_STRING: t.c = abc_pushstring2(0, v->s);t.t = TYPE_STRING;break; c 282 lib/as3/expr.c case CONSTANT_NULL: t.c = abc_pushnull(0);t.t = TYPE_NULL;break; c 283 lib/as3/expr.c case CONSTANT_UNDEFINED: t.c = abc_pushundefined(0);t.t = TYPE_ANY;break; c 291 lib/as3/expr.c t.c = abc_pushnamespace(0, v->ns);t.t = TYPE_NAMESPACE;break; c 302 lib/as3/expr.c switch(c->type) { c 303 lib/as3/expr.c case CONSTANT_INT: return c->i; c 304 lib/as3/expr.c case CONSTANT_UINT: return (int)c->u; c 305 lib/as3/expr.c case CONSTANT_FLOAT: return c->f; c 308 lib/as3/expr.c case CONSTANT_STRING: return atoi(c->s->str); c 315 lib/as3/expr.c switch(c->type) { c 316 lib/as3/expr.c case CONSTANT_INT: return (double)c->i; c 317 lib/as3/expr.c case CONSTANT_UINT: return (double)c->u; c 318 lib/as3/expr.c case CONSTANT_FLOAT: return c->f; c 321 lib/as3/expr.c case CONSTANT_STRING: return atof(c->s->str); c 335 lib/as3/expr.c c = code_append(left.c, right.c); c 337 lib/as3/expr.c c = abc_add_i(c); c 340 lib/as3/expr.c c = abc_add(c); c 399 lib/as3/expr.c c = code_append(left.c, right.c); c 401 lib/as3/expr.c c = abc_subtract_i(c); c 404 lib/as3/expr.c c = abc_subtract(c); c 438 lib/as3/expr.c if(is_getlocal(x.c) && (TYPE_IS_INT(x.t) || TYPE_IS_NUMBER(x.t))) { c 439 lib/as3/expr.c int nr = getlocalnr(x.c); c 440 lib/as3/expr.c code_free(x.c);x.c=0; c 442 lib/as3/expr.c c = abc_inclocal_i(c, nr); c 443 lib/as3/expr.c c = abc_getlocal(c, nr); c 445 lib/as3/expr.c c = abc_inclocal(c, nr); c 446 lib/as3/expr.c c = abc_getlocal(c, nr); c 450 lib/as3/expr.c c = abc_increment_i(c); c 453 lib/as3/expr.c c = abc_increment(c); c 456 lib/as3/expr.c c = converttype(c, t, x.t); c 457 lib/as3/expr.c c = toreadwrite(x.c, c, 0, 0, 1); c 465 lib/as3/expr.c code_t*c=0; c 466 lib/as3/expr.c if(is_getlocal(x.c) && (TYPE_IS_INT(x.t) || TYPE_IS_NUMBER(x.t))) { c 467 lib/as3/expr.c int nr = getlocalnr(x.c); c 468 lib/as3/expr.c code_free(x.c);x.c=0; c 470 lib/as3/expr.c c = abc_inclocal_i(c, nr); c 472 lib/as3/expr.c c = abc_inclocal(c, nr); c 477 lib/as3/expr.c c = abc_increment_i(c); c 480 lib/as3/expr.c c = abc_increment(c); c 483 lib/as3/expr.c c = converttype(c, t, x.t); //convert back to original type c 484 lib/as3/expr.c c = toreadwrite(x.c, c, 0, 0, 0); c 487 lib/as3/expr.c return c; c 514 lib/as3/expr.c if(is_getlocal(x.c) && (TYPE_IS_INT(x.t) || TYPE_IS_NUMBER(x.t))) { c 515 lib/as3/expr.c int nr = getlocalnr(x.c); c 516 lib/as3/expr.c code_free(x.c);x.c=0; c 518 lib/as3/expr.c c = abc_declocal_i(c, nr); c 519 lib/as3/expr.c c = abc_getlocal(c, nr); c 521 lib/as3/expr.c c = abc_declocal(c, nr); c 522 lib/as3/expr.c c = abc_getlocal(c, nr); c 526 lib/as3/expr.c c = abc_decrement_i(c); c 529 lib/as3/expr.c c = abc_decrement(c); c 532 lib/as3/expr.c c = converttype(c, t, x.t); c 533 lib/as3/expr.c c = toreadwrite(x.c, c, 0, 0, 1); c 541 lib/as3/expr.c code_t*c=0; c 542 lib/as3/expr.c if(is_getlocal(x.c) && (TYPE_IS_INT(x.t) || TYPE_IS_NUMBER(x.t))) { c 543 lib/as3/expr.c int nr = getlocalnr(x.c); c 544 lib/as3/expr.c code_free(x.c);x.c=0; c 546 lib/as3/expr.c c = abc_declocal_i(c, nr); c 548 lib/as3/expr.c c = abc_declocal(c, nr); c 553 lib/as3/expr.c c = abc_decrement_i(c); c 556 lib/as3/expr.c c = abc_decrement(c); c 559 lib/as3/expr.c c = converttype(c, t, x.t); //convert back to original type c 560 lib/as3/expr.c c = toreadwrite(x.c, c, 0, 0, 0); c 563 lib/as3/expr.c return c; c 591 lib/as3/expr.c if(is_getlocal(x.c) && (TYPE_IS_INT(x.t) || TYPE_IS_NUMBER(x.t))) { c 592 lib/as3/expr.c int nr = getlocalnr(x.c); c 593 lib/as3/expr.c code_free(x.c);x.c=0; c 595 lib/as3/expr.c c = abc_getlocal(0, nr); c 596 lib/as3/expr.c c = abc_inclocal_i(c, nr); c 598 lib/as3/expr.c c = abc_getlocal(0, nr); c 599 lib/as3/expr.c c = abc_inclocal(c, nr); c 603 lib/as3/expr.c c = abc_increment_i(c); c 606 lib/as3/expr.c c = abc_increment(c); c 609 lib/as3/expr.c c = converttype(c, t, x.t); c 610 lib/as3/expr.c c = toreadwrite(x.c, c, 0, 1, 1); c 618 lib/as3/expr.c code_t*c=0; c 619 lib/as3/expr.c if(is_getlocal(x.c) && (TYPE_IS_INT(x.t) || TYPE_IS_NUMBER(x.t))) { c 620 lib/as3/expr.c int nr = getlocalnr(x.c); c 621 lib/as3/expr.c code_free(x.c);x.c=0; c 623 lib/as3/expr.c c = abc_inclocal_i(c, nr); c 625 lib/as3/expr.c c = abc_inclocal(c, nr); c 630 lib/as3/expr.c c = abc_increment_i(c); c 633 lib/as3/expr.c c = abc_increment(c); c 636 lib/as3/expr.c c = converttype(c, t, x.t); //convert back to original type c 637 lib/as3/expr.c c = toreadwrite(x.c, c, 0, 1, 0); c 640 lib/as3/expr.c return c; c 666 lib/as3/expr.c if(is_getlocal(x.c) && (TYPE_IS_INT(x.t) || TYPE_IS_NUMBER(x.t))) { c 667 lib/as3/expr.c int nr = getlocalnr(x.c); c 668 lib/as3/expr.c code_free(x.c);x.c=0; c 670 lib/as3/expr.c c = abc_getlocal(0, nr); c 671 lib/as3/expr.c c = abc_declocal_i(c, nr); c 673 lib/as3/expr.c c = abc_getlocal(0, nr); c 674 lib/as3/expr.c c = abc_declocal(c, nr); c 678 lib/as3/expr.c c = abc_decrement_i(c); c 681 lib/as3/expr.c c = abc_decrement(c); c 684 lib/as3/expr.c c = converttype(c, t, x.t); c 685 lib/as3/expr.c c = toreadwrite(x.c, c, 0, 1, 1); c 693 lib/as3/expr.c code_t*c=0; c 694 lib/as3/expr.c if(is_getlocal(x.c) && (TYPE_IS_INT(x.t) || TYPE_IS_NUMBER(x.t))) { c 695 lib/as3/expr.c int nr = getlocalnr(x.c); c 696 lib/as3/expr.c code_free(x.c);x.c=0; c 698 lib/as3/expr.c c = abc_declocal_i(c, nr); c 700 lib/as3/expr.c c = abc_declocal(c, nr); c 705 lib/as3/expr.c c = abc_decrement_i(c); c 708 lib/as3/expr.c c = abc_decrement(c); c 711 lib/as3/expr.c c = converttype(c, t, x.t); //convert back to original type c 712 lib/as3/expr.c c = toreadwrite(x.c, c, 0, 1, 0); c 715 lib/as3/expr.c return c; c 740 lib/as3/expr.c c = code_append(left.c,right.c); c 742 lib/as3/expr.c c = abc_multiply_i(c); c 745 lib/as3/expr.c c = abc_multiply(c); c 778 lib/as3/expr.c c = code_append(left.c, right.c); c 779 lib/as3/expr.c c = abc_divide(c); c 811 lib/as3/expr.c c = code_append(left.c, right.c); c 812 lib/as3/expr.c c = abc_modulo(c); c 844 lib/as3/expr.c c = code_append(left.c,right.c); c 845 lib/as3/expr.c c = abc_lessthan(c); c 877 lib/as3/expr.c c = code_append(left.c,right.c); c 878 lib/as3/expr.c c = abc_greaterthan(c); c 910 lib/as3/expr.c c = code_append(left.c,right.c); c 911 lib/as3/expr.c c = abc_lessequals(c); c 943 lib/as3/expr.c c = code_append(left.c,right.c); c 944 lib/as3/expr.c c = abc_greaterequals(c); c 976 lib/as3/expr.c c = code_append(left.c,right.c); c 977 lib/as3/expr.c c = abc_equals(c); c 1009 lib/as3/expr.c c = code_append(left.c,right.c); c 1010 lib/as3/expr.c c = abc_strictequals(c); c 1042 lib/as3/expr.c c = code_append(left.c,right.c); c 1043 lib/as3/expr.c c = abc_strictequals(c); c 1044 lib/as3/expr.c c = abc_not(c); c 1076 lib/as3/expr.c c = code_append(left.c,right.c); c 1077 lib/as3/expr.c c = abc_equals(c); c 1078 lib/as3/expr.c c = abc_not(c); c 1111 lib/as3/expr.c c = left.c; c 1112 lib/as3/expr.c c = converttype(c, left.t, t); c 1113 lib/as3/expr.c c = abc_dup(c); c 1114 lib/as3/expr.c code_t*jmp = c = abc_iftrue(c, 0); c 1115 lib/as3/expr.c c = cut_last_push(c); c 1116 lib/as3/expr.c c = code_append(c, right.c); c 1117 lib/as3/expr.c c = converttype(c, right.t, t); c 1118 lib/as3/expr.c code_t*label = c = abc_label(c); c 1126 lib/as3/expr.c code_t*c = left.c; c 1127 lib/as3/expr.c code_t*jmp = c = abc_iftrue(c, 0); c 1128 lib/as3/expr.c c = code_append(c, right); c 1129 lib/as3/expr.c code_t*label = c = abc_label(c); c 1131 lib/as3/expr.c return c; c 1157 lib/as3/expr.c c = left.c; c 1158 lib/as3/expr.c c = converttype(c, left.t, t); c 1159 lib/as3/expr.c c = abc_dup(c); c 1160 lib/as3/expr.c code_t*jmp = c = abc_iffalse(c, 0); c 1161 lib/as3/expr.c c = cut_last_push(c); c 1162 lib/as3/expr.c c = code_append(c,right.c); c 1163 lib/as3/expr.c c = converttype(c, right.t, t); c 1164 lib/as3/expr.c code_t*label = c = abc_label(c); c 1172 lib/as3/expr.c code_t*c = left.c; c 1173 lib/as3/expr.c code_t*jmp = c = abc_iffalse(c, 0); c 1174 lib/as3/expr.c c = code_append(c, right); c 1175 lib/as3/expr.c code_t*label = c = abc_label(c); c 1177 lib/as3/expr.c return c; c 1202 lib/as3/expr.c c = x.c; c 1203 lib/as3/expr.c c = abc_not(c); c 1235 lib/as3/expr.c c = x.c; c 1236 lib/as3/expr.c c = abc_bitnot(c); c 1268 lib/as3/expr.c c = code_append(left.c,right.c); c 1269 lib/as3/expr.c c = abc_bitand(c); c 1301 lib/as3/expr.c c = code_append(left.c,right.c); c 1302 lib/as3/expr.c c = abc_bitxor(c); c 1334 lib/as3/expr.c c = code_append(left.c,right.c); c 1335 lib/as3/expr.c c = abc_bitor(c); c 1367 lib/as3/expr.c c = code_append(left.c,right.c); c 1368 lib/as3/expr.c c = abc_rshift(c); c 1400 lib/as3/expr.c c = code_append(left.c,right.c); c 1401 lib/as3/expr.c c = abc_lshift(c); c 1433 lib/as3/expr.c c = code_append(left.c,right.c); c 1434 lib/as3/expr.c c = abc_urshift(c); c 1466 lib/as3/expr.c c = code_append(left.c,right.c); c 1467 lib/as3/expr.c c = abc_in(c); c 1500 lib/as3/expr.c c = code_append(left.c, right.c); c 1501 lib/as3/expr.c c = abc_astypelate(c); c 1539 lib/as3/expr.c c = code_append(left.c, right.c); c 1540 lib/as3/expr.c c = abc_instanceof(c); c 1572 lib/as3/expr.c c = code_append(left.c, right.c); c 1573 lib/as3/expr.c c = abc_istypelate(c); c 1605 lib/as3/expr.c c = code_append(left.c, right.c); c 1615 lib/as3/expr.c c = abc_getproperty2(c, &m); c 1647 lib/as3/expr.c c = x.c; c 1648 lib/as3/expr.c c = abc_typeof(c); c 1679 lib/as3/expr.c code_t*c = n->type->exec(n); c 1680 lib/as3/expr.c c = abc_pushundefined(c); c 1712 lib/as3/expr.c c = x.c; c 1714 lib/as3/expr.c c = abc_negate_i(c); c 1717 lib/as3/expr.c c = abc_negate(c); c 1750 lib/as3/expr.c c = right.c; c 1753 lib/as3/expr.c c=abc_multiply_i(c); c 1756 lib/as3/expr.c c=abc_multiply(c); c 1759 lib/as3/expr.c c=converttype(c, f, left.t); c 1760 lib/as3/expr.c c = toreadwrite(left.c, c, 0, 0, 1); c 1767 lib/as3/expr.c c = right.c; c 1770 lib/as3/expr.c c=abc_multiply_i(c); c 1773 lib/as3/expr.c c=abc_multiply(c); c 1776 lib/as3/expr.c c = converttype(c, f, left.t); c 1777 lib/as3/expr.c return toreadwrite(left.c, c, 0, 0, 0); c 1802 lib/as3/expr.c c = abc_modulo(right.c); c 1803 lib/as3/expr.c c = converttype(c, TYPE_NUMBER, left.t); c 1804 lib/as3/expr.c c = toreadwrite(left.c, c, 0, 0, 1); c 1811 lib/as3/expr.c c = abc_modulo(right.c); c 1812 lib/as3/expr.c c = converttype(c, TYPE_NUMBER, left.t); c 1813 lib/as3/expr.c return toreadwrite(left.c, c, 0, 0, 0); c 1838 lib/as3/expr.c c = abc_lshift(right.c); c 1839 lib/as3/expr.c c = converttype(c, TYPE_INT, left.t); c 1840 lib/as3/expr.c c = toreadwrite(left.c, c, 0, 0, 1); c 1847 lib/as3/expr.c c = abc_lshift(right.c); c 1848 lib/as3/expr.c c = converttype(c, TYPE_INT, left.t); c 1849 lib/as3/expr.c return toreadwrite(left.c, c, 0, 0, 0); c 1874 lib/as3/expr.c c = abc_rshift(right.c); c 1875 lib/as3/expr.c c = converttype(c, TYPE_INT, left.t); c 1876 lib/as3/expr.c c = toreadwrite(left.c, c, 0, 0, 1); c 1883 lib/as3/expr.c c = abc_rshift(right.c); c 1884 lib/as3/expr.c c = converttype(c, TYPE_INT, left.t); c 1885 lib/as3/expr.c return toreadwrite(left.c, c, 0, 0, 0); c 1910 lib/as3/expr.c c = abc_urshift(right.c); c 1911 lib/as3/expr.c c = converttype(c, TYPE_UINT, left.t); c 1912 lib/as3/expr.c c = toreadwrite(left.c, c, 0, 0, 1); c 1919 lib/as3/expr.c c = abc_urshift(right.c); c 1920 lib/as3/expr.c c = converttype(c, TYPE_UINT, left.t); c 1921 lib/as3/expr.c return toreadwrite(left.c, c, 0, 0, 0); c 1946 lib/as3/expr.c c = abc_divide(right.c); c 1947 lib/as3/expr.c c = converttype(c, TYPE_NUMBER, left.t); c 1948 lib/as3/expr.c c = toreadwrite(left.c, c, 0, 0, 1); c 1955 lib/as3/expr.c c = abc_divide(right.c); c 1956 lib/as3/expr.c c = converttype(c, TYPE_NUMBER, left.t); c 1957 lib/as3/expr.c return toreadwrite(left.c, c, 0, 0, 0); c 1982 lib/as3/expr.c c = abc_bitor(right.c); c 1983 lib/as3/expr.c c = converttype(c, TYPE_INT, left.t); c 1984 lib/as3/expr.c c = toreadwrite(left.c, c, 0, 0, 1); c 1991 lib/as3/expr.c c = abc_bitor(right.c); c 1992 lib/as3/expr.c c = converttype(c, TYPE_INT, left.t); c 1993 lib/as3/expr.c return toreadwrite(left.c, c, 0, 0, 0); c 2018 lib/as3/expr.c c = abc_bitxor(right.c); c 2019 lib/as3/expr.c c = converttype(c, TYPE_INT, left.t); c 2020 lib/as3/expr.c c = toreadwrite(left.c, c, 0, 0, 1); c 2027 lib/as3/expr.c c = abc_bitxor(right.c); c 2028 lib/as3/expr.c c = converttype(c, TYPE_INT, left.t); c 2029 lib/as3/expr.c return toreadwrite(left.c, c, 0, 0, 0); c 2054 lib/as3/expr.c c = abc_bitand(right.c); c 2055 lib/as3/expr.c c = converttype(c, TYPE_INT, left.t); c 2056 lib/as3/expr.c c = toreadwrite(left.c, c, 0, 0, 1); c 2063 lib/as3/expr.c c = abc_bitand(right.c); c 2064 lib/as3/expr.c c = converttype(c, TYPE_INT, left.t); c 2065 lib/as3/expr.c return toreadwrite(left.c, c, 0, 0, 0); c 2090 lib/as3/expr.c c = right.c; c 2092 lib/as3/expr.c c = abc_add_i(c); c 2094 lib/as3/expr.c c = abc_add(c); c 2095 lib/as3/expr.c c = converttype(c, join_types(left.t,right.t,&node_plus), left.t); c 2097 lib/as3/expr.c c = toreadwrite(left.c, c, 0, 0, 1); c 2104 lib/as3/expr.c c = right.c; c 2106 lib/as3/expr.c c = abc_add_i(c); c 2108 lib/as3/expr.c c = abc_add(c); c 2109 lib/as3/expr.c c = converttype(c, join_types(left.t,right.t,&node_plus), left.t); c 2111 lib/as3/expr.c return toreadwrite(left.c, c, 0, 0, 0); c 2136 lib/as3/expr.c c = right.c; c 2138 lib/as3/expr.c c = abc_subtract_i(c); c 2140 lib/as3/expr.c c = abc_subtract(c); c 2141 lib/as3/expr.c c = converttype(c, TYPE_NUMBER, left.t); c 2143 lib/as3/expr.c c = toreadwrite(left.c, c, 0, 0, 1); c 2150 lib/as3/expr.c c = right.c; c 2152 lib/as3/expr.c c = abc_subtract_i(c); c 2154 lib/as3/expr.c c = abc_subtract(c); c 2155 lib/as3/expr.c c = converttype(c, TYPE_NUMBER, left.t); c 2157 lib/as3/expr.c return toreadwrite(left.c, c, 0, 0, 0); c 2182 lib/as3/expr.c c = right.c; c 2183 lib/as3/expr.c c = converttype(c, right.t, left.t); c 2184 lib/as3/expr.c c = toreadwrite(left.c, c, 1, 0, 1); c 2191 lib/as3/expr.c c = right.c; c 2192 lib/as3/expr.c c = converttype(c, right.t, left.t); c 2193 lib/as3/expr.c return toreadwrite(left.c, c, 1, 0, 0); c 2224 lib/as3/expr.c code_t* c = cond.c; c 2225 lib/as3/expr.c code_t*j1 = c = abc_iffalse(c, 0); c 2226 lib/as3/expr.c c = code_append(c, left.c); c 2227 lib/as3/expr.c c = converttype(c, left.t, t); c 2228 lib/as3/expr.c code_t*j2 = c = abc_jump(c, 0); c 2229 lib/as3/expr.c c = j1->branch = abc_label(c); c 2230 lib/as3/expr.c c = code_append(c, right.c); c 2231 lib/as3/expr.c c = converttype(c, right.t, t); c 2232 lib/as3/expr.c c = j2->branch = abc_label(c); c 2240 lib/as3/expr.c code_t* c = cond.c; c 2241 lib/as3/expr.c code_t*j1 = c = abc_iffalse(c, 0); c 2242 lib/as3/expr.c c = code_append(c, left); c 2243 lib/as3/expr.c code_t*j2 = c = abc_jump(c, 0); c 2244 lib/as3/expr.c c = j1->branch = abc_label(c); c 2245 lib/as3/expr.c c = code_append(c, right); c 2246 lib/as3/expr.c c = j2->branch = abc_label(c); c 2247 lib/as3/expr.c return c; c 2271 lib/as3/expr.c code_t*c = 0; c 2275 lib/as3/expr.c c = code_append(c, n->child[i]->type->exec(n->child[i])); c 2278 lib/as3/expr.c c = code_append(c, o.c); c 2285 lib/as3/expr.c code_t*c = 0; c 2287 lib/as3/expr.c c = code_append(c, n->child[t]->type->exec(n->child[t])); c 2289 lib/as3/expr.c return c; c 2548 lib/as3/expr.c code_t*c=0; c 2553 lib/as3/expr.c c = abc_pushbyte(0,v->i); c 2555 lib/as3/expr.c c = abc_pushshort(0,v->i); c 2557 lib/as3/expr.c c = abc_pushint(0,v->i); c 2562 lib/as3/expr.c c = abc_pushuint(0,v->u); c 2564 lib/as3/expr.c c = abc_pushbyte(0,v->u); c 2566 lib/as3/expr.c c = abc_pushshort(0,v->u); c 2568 lib/as3/expr.c c = abc_pushint(0,v->u); c 2573 lib/as3/expr.c c = abc_pushdouble(0,v->f); c 2577 lib/as3/expr.c c = abc_pushtrue(0); c 2581 lib/as3/expr.c c = abc_pushfalse(0); c 2585 lib/as3/expr.c c = abc_pushnull(0); c 2589 lib/as3/expr.c c = abc_pushstring2(0,v->s); c 2593 lib/as3/expr.c c = abc_pushundefined(0); c 2603 lib/as3/expr.c c = abc_pushnamespace(0, v->ns); c 2621 lib/as3/expr.c constant_t*c = constant_clone(n->value); c 2622 lib/as3/expr.c constant_t r = *c; c 2623 lib/as3/expr.c free(c); //shallow free c 2641 lib/as3/expr.c t.c = 0; c 2643 lib/as3/expr.c t.c = abc_setlocal(t.c, tmp); c 2644 lib/as3/expr.c code_t*w = toreadwrite(n->code.c, abc_getlocal(0,tmp), 1, 0, 0); c 2645 lib/as3/expr.c t.c = code_append(t.c, w); c 2646 lib/as3/expr.c t.c = abc_kill(t.c, tmp); c 2647 lib/as3/expr.c n->code.c=0; c 2654 lib/as3/expr.c t.c = n->code.c; c 2655 lib/as3/expr.c n->code.c=0; c 2661 lib/as3/expr.c code_t*c = code_dup(n->code.c); c 2662 lib/as3/expr.c c = cut_last_push(c); c 2663 lib/as3/expr.c return c; c 2688 lib/as3/expr.c t.c = abc_pushundefined(0); c 2724 lib/as3/expr.c n->value = c; c 2733 lib/as3/expr.c n->code = c; c 2811 lib/as3/expr.c if(n->code.c) { c 2812 lib/as3/expr.c code_free(n->code.c);n->code.c = 0; c 2824 lib/as3/expr.c constant_t c = n->type->eval(n); c 2825 lib/as3/expr.c if(c.type == CONSTANT_UNKNOWN) { c 2830 lib/as3/expr.c typedcode_t t = push_constant(&c); c 2843 lib/as3/expr.c code_t*c = n->type->exec(n); c 2845 lib/as3/expr.c return c; c 2849 lib/as3/expr.c constant_t c = n->type->eval(n); c 2851 lib/as3/expr.c return c; c 2892 lib/as3/expr.c code_dump2(n->code.c, 0, 0, (char*)p2, fi); c 36 lib/as3/expr.h code_t*c; c 145 lib/as3/files.c char*c = getcwd(buf,512); c 147 lib/as3/import.c catalog_state_t*state = (catalog_state_t*)c->internal; c 165 lib/as3/import.c catalog_state_t*state = (catalog_state_t*)c->internal; c 169 lib/as3/import.c catalog_state_t*state = (catalog_state_t*)c->internal; c 214 lib/as3/import.c xmlconsumer_t c; c 222 lib/as3/import.c c.start_tag = catalog_start_tag; c 223 lib/as3/import.c c.data= catalog_data; c 224 lib/as3/import.c c.end_tag = catalog_end_tag; c 225 lib/as3/import.c c.internal = &state; c 227 lib/as3/import.c xml_parse(&r, &c); c 272 lib/as3/import.c classinfo_t*c = 0; c 274 lib/as3/import.c c = (classinfo_t*)registry_find(n->ns->name, n->name); c 278 lib/as3/import.c c = (classinfo_t*)registry_find(s->namespace->name, n->name); c 279 lib/as3/import.c if(c) c 285 lib/as3/import.c if(!c) { c 289 lib/as3/import.c if(c->kind != INFOTYPE_CLASS) c 291 lib/as3/import.c return c; c 312 lib/as3/import.c classinfo_t*c = classinfo_register(access, package, name, list_length(i)); c 313 lib/as3/import.c c->flags|=FLAG_BUILTIN; c 316 lib/as3/import.c c->flags |= FLAG_FINAL; c 318 lib/as3/import.c c->flags |= FLAG_INTERFACE; c 320 lib/as3/import.c c->flags |= FLAG_DYNAMIC; c 329 lib/as3/import.c classinfo_t*c = (classinfo_t*)registry_find(package, name); c 330 lib/as3/import.c if(!c) continue; c 332 lib/as3/import.c c->assets = asset_bundle; c 337 lib/as3/import.c c->interfaces[nr++] = resolve_class(filename, "interface", i->multiname); c 340 lib/as3/import.c c->superclass = resolve_class(filename, "superclass", cls->superclass); c 359 lib/as3/import.c if(registry_findmember(c, ns, name, 0, is_static)) c 366 lib/as3/import.c s = (memberinfo_t*)methodinfo_register_onclass(c, access, ns, name, is_static); c 370 lib/as3/import.c s = (memberinfo_t*)varinfo_register_onclass(c, access, ns, name, is_static); c 374 lib/as3/import.c s = (memberinfo_t*)varinfo_register_onclass(c, access, ns, name, is_static); c 381 lib/as3/import.c varinfo_t*v = (varinfo_t*)varinfo_register_onclass(c, access, ns, name, is_static); c 397 lib/as3/import.c s->parent = c; c 80 lib/as3/initcode.c if(c) { c 81 lib/as3/initcode.c parsedclass_t*n = dict_lookup(s2p, c); c 83 lib/as3/initcode.c assert(n->cls == c); c 84 lib/as3/initcode.c dict_put(parents, n, c); c 87 lib/as3/initcode.c c = p->cls; c 90 lib/as3/initcode.c if(soft && dict_contains(s2p, c)) { c 91 lib/as3/initcode.c parsedclass_t*pp = dict_lookup(s2p, c); c 96 lib/as3/initcode.c if(c->superclass) { c 97 lib/as3/initcode.c add_parent(p, c->superclass, s2p, soft); c 99 lib/as3/initcode.c for(t=0;c->interfaces[t];t++) { c 100 lib/as3/initcode.c add_parent(p, c->interfaces[t], s2p, soft); c 133 lib/as3/initcode.c DICT_ITERATE_KEY(&l->parsedclass->usedclasses, classinfo_t*, c) { c 134 lib/as3/initcode.c add_parent(l->parsedclass, c, s2p, 1); c 173 lib/as3/initcode.c DICT_ITERATE_KEY(&p->usedclasses, classinfo_t*, c) { c 174 lib/as3/initcode.c printf(" uses %s\n", c->name); c 194 lib/as3/initcode.c if(!dict_contains(&p->usedclasses, c)) { c 195 lib/as3/initcode.c dict_put(&p->usedclasses, c, c); c 201 lib/as3/initcode.c code_t*c = 0; c 203 lib/as3/initcode.c c = abc_getlocal_0(c); c 204 lib/as3/initcode.c c = abc_pushscope(c); c 220 lib/as3/initcode.c c = abc_getglobalscope(c); c 233 lib/as3/initcode.c c = abc_getlex2(c, s2); c 236 lib/as3/initcode.c c = abc_pushscope(c); count++; c 237 lib/as3/initcode.c c = c->prev->prev; // invert c 240 lib/as3/initcode.c while(c && c->next) c = c->next; c 247 lib/as3/initcode.c c = abc_getlex2(c, extends2); c 248 lib/as3/initcode.c c = abc_dup(c); c 251 lib/as3/initcode.c c = abc_pushscope(c);count++; c 253 lib/as3/initcode.c c = abc_pushnull(c); c 256 lib/as3/initcode.c c = abc_getlocal_0(c); c 257 lib/as3/initcode.c c = abc_pushscope(c);count++; c 259 lib/as3/initcode.c c = abc_newclass(c,abc); c 261 lib/as3/initcode.c c = abc_popscope(c); c 263 lib/as3/initcode.c c = abc_setslot(c, trait->slot_id); c 266 lib/as3/initcode.c c = abc_returnvoid(c); c 270 lib/as3/initcode.c init->method->body->code = c; c 503 lib/as3/parser.tab.c if(!dict_contains(definitions,c)) c 504 lib/as3/parser.tab.c dict_put(definitions,c,0); c 619 lib/as3/parser.tab.c code_t*c = wrap_function(header, 0, global->init->method->body->code); c 620 lib/as3/parser.tab.c global->init->method->body->code = abc_returnvoid(c); c 698 lib/as3/parser.tab.c c = abc_pushbyte(c, 0); c 700 lib/as3/parser.tab.c c = abc_pushuint(c, 0); c 702 lib/as3/parser.tab.c c = abc_pushnan(c); c 704 lib/as3/parser.tab.c c = abc_pushfalse(c); c 706 lib/as3/parser.tab.c c = abc_pushnull(c); c 707 lib/as3/parser.tab.c c = abc_coerce_s(c); c 712 lib/as3/parser.tab.c c = abc_pushnull(c); c 714 lib/as3/parser.tab.c c = abc_coerce2(c, &m); c 716 lib/as3/parser.tab.c return c; c 782 lib/as3/parser.tab.c code_t*c = 0; c 787 lib/as3/parser.tab.c c = defaultvalue(c, v->type); c 788 lib/as3/parser.tab.c c = abc_setlocal(c, v->index); c 814 lib/as3/parser.tab.c c = code_append(c, body); c 815 lib/as3/parser.tab.c c = code_append(c, k); c 816 lib/as3/parser.tab.c return c; c 830 lib/as3/parser.tab.c c = abc_getlocal_0(c); c 831 lib/as3/parser.tab.c c = abc_pushscope(c); c 840 lib/as3/parser.tab.c c = abc_newactivation(c); c 841 lib/as3/parser.tab.c c = abc_dup(c); c 842 lib/as3/parser.tab.c c = abc_pushscope(c); c 843 lib/as3/parser.tab.c c = abc_setlocal(c, m->activation_var); c 845 lib/as3/parser.tab.c c = abc_getlocal(c, m->activation_var); c 846 lib/as3/parser.tab.c c = abc_pushscope(c); c 849 lib/as3/parser.tab.c return c; c 854 lib/as3/parser.tab.c code_t*c = 0; c 856 lib/as3/parser.tab.c c = add_scope_code(c, m, 1); c 862 lib/as3/parser.tab.c c = abc_getscopeobject(c, 1); c 863 lib/as3/parser.tab.c c = abc_newfunction(c, l->methodstate->abc); c 864 lib/as3/parser.tab.c c = abc_dup(c); c 865 lib/as3/parser.tab.c c = abc_setlocal(c, l->methodstate->var_index); c 866 lib/as3/parser.tab.c c = abc_setslot(c, l->methodstate->slot_index); c 868 lib/as3/parser.tab.c c = abc_newfunction(c, l->methodstate->abc); c 869 lib/as3/parser.tab.c c = abc_setlocal(c, l->methodstate->var_index); c 875 lib/as3/parser.tab.c c = code_append(c, m->header); c 880 lib/as3/parser.tab.c c = abc_getlocal_0(c); c 881 lib/as3/parser.tab.c c = abc_constructsuper(c, 0); c 890 lib/as3/parser.tab.c c = abc_getlocal(c, m->activation_var); c 891 lib/as3/parser.tab.c c = abc_getlocal(c, v->index); c 892 lib/as3/parser.tab.c c = abc_setslot(c, v->index); c 898 lib/as3/parser.tab.c return c; c 904 lib/as3/parser.tab.c c = code_append(c, header); c 905 lib/as3/parser.tab.c c = code_append(c, var_block(body, state->method->no_variable_scoping?state->method->allvars:state->vars)); c 907 lib/as3/parser.tab.c if(!c || (c->opcode != OPCODE_RETURNVOID && c 908 lib/as3/parser.tab.c c->opcode != OPCODE_RETURNVALUE)) { c 909 lib/as3/parser.tab.c c = abc_returnvoid(c); c 911 lib/as3/parser.tab.c return c; c 1207 lib/as3/parser.tab.c code_t*c = 0; c 1208 lib/as3/parser.tab.c c = abc_getlocal_0(c); c 1209 lib/as3/parser.tab.c c = abc_constructsuper(c, 0); c 1210 lib/as3/parser.tab.c state->cls->init->header = code_append(state->cls->init->header, c); c 1219 lib/as3/parser.tab.c code_t*c = method_header(state->cls->init); c 1220 lib/as3/parser.tab.c m->body->code = wrap_function(c, 0, m->body->code); c 1225 lib/as3/parser.tab.c code_t*c = method_header(state->cls->static_init); c 1226 lib/as3/parser.tab.c m->body->code = wrap_function(c, 0, m->body->code); c 1250 lib/as3/parser.tab.c while(c) { c 1251 lib/as3/parser.tab.c if(c->opcode == OPCODE___BREAK__) { c 1252 lib/as3/parser.tab.c char*name = string_cstr(c->data[0]); c 1255 lib/as3/parser.tab.c if(c->opcode == OPCODE___CONTINUE__) { c 1256 lib/as3/parser.tab.c char*name = string_cstr(c->data[0]); c 1259 lib/as3/parser.tab.c if(c->opcode == OPCODE___RETHROW__) { c 1262 lib/as3/parser.tab.c if(c->opcode == OPCODE___FALLTHROUGH__) { c 1265 lib/as3/parser.tab.c if(c->opcode == OPCODE___PUSHPACKAGE__) { c 1266 lib/as3/parser.tab.c char*name = string_cstr(c->data[0]); c 1269 lib/as3/parser.tab.c c=c->prev; c 1275 lib/as3/parser.tab.c #define xassert(b) if(!(b)) syntaxerror("Invalid default value %s for type '%s'", constant_tostring(c), t->name) c 1277 lib/as3/parser.tab.c xassert(c->type == CONSTANT_FLOAT c 1278 lib/as3/parser.tab.c || c->type == CONSTANT_INT c 1279 lib/as3/parser.tab.c || c->type == CONSTANT_UINT); c 1281 lib/as3/parser.tab.c xassert(c->type == CONSTANT_UINT || c 1282 lib/as3/parser.tab.c (c->type == CONSTANT_INT && c->i>=0)); c 1284 lib/as3/parser.tab.c xassert(c->type == CONSTANT_INT); c 1286 lib/as3/parser.tab.c xassert(c->type == CONSTANT_TRUE c 1287 lib/as3/parser.tab.c || c->type == CONSTANT_FALSE); c 1648 lib/as3/parser.tab.c while(c) { c 1649 lib/as3/parser.tab.c if(c->opcode == OPCODE___BREAK__) { c 1650 lib/as3/parser.tab.c string_t*name2 = c->data[0]; c 1652 lib/as3/parser.tab.c c->opcode = OPCODE_JUMP; c 1653 lib/as3/parser.tab.c c->branch = jump; c 1656 lib/as3/parser.tab.c c=c->prev; c 1661 lib/as3/parser.tab.c while(c) { c 1662 lib/as3/parser.tab.c if(c->opcode == OPCODE___CONTINUE__) { c 1663 lib/as3/parser.tab.c string_t*name2 = c->data[0]; c 1665 lib/as3/parser.tab.c c->opcode = OPCODE_JUMP; c 1666 lib/as3/parser.tab.c c->branch = jump; c 1669 lib/as3/parser.tab.c c = c->prev; c 1676 lib/as3/parser.tab.c return c; c 1678 lib/as3/parser.tab.c return abc_coerce_a(c); c 1684 lib/as3/parser.tab.c return abc_coerce2(c, &m); c 1691 lib/as3/parser.tab.c return abc_convert_u(c); c 1693 lib/as3/parser.tab.c return abc_convert_i(c); c 1695 lib/as3/parser.tab.c return abc_convert_d(c); c 1696 lib/as3/parser.tab.c return abc_coerce2(c, &m); c 1700 lib/as3/parser.tab.c return c; c 1703 lib/as3/parser.tab.c return abc_convert_b(c); c 1705 lib/as3/parser.tab.c return abc_convert_s(c); c 1707 lib/as3/parser.tab.c return abc_coerce2(c, &m); c 1709 lib/as3/parser.tab.c return abc_coerce2(c, &m); c 1711 lib/as3/parser.tab.c return abc_coerce2(c, &m); c 1719 lib/as3/parser.tab.c return abc_coerce2(c, &m); c 1725 lib/as3/parser.tab.c return abc_coerce2(c, &m); c 1732 lib/as3/parser.tab.c return c; c 1734 lib/as3/parser.tab.c return c; c 1736 lib/as3/parser.tab.c return c; c 1743 lib/as3/parser.tab.c return c; c 1748 lib/as3/parser.tab.c return abc_coerce_a(c); c 1750 lib/as3/parser.tab.c return abc_coerce_s(c); c 1753 lib/as3/parser.tab.c return abc_coerce2(c, &m); c 1759 lib/as3/parser.tab.c return (c && !c->prev && !c->next && c->opcode == OPCODE_PUSHUNDEFINED); c 1768 lib/as3/parser.tab.c slotinfo_t*c = (slotinfo_t*)e->data; c 1769 lib/as3/parser.tab.c if(c) return c->package; c 1794 lib/as3/parser.tab.c slotinfo_t*c=0; c 1796 lib/as3/parser.tab.c c = registry_find(state->package, name); c 1797 lib/as3/parser.tab.c if(c) return c; c 1801 lib/as3/parser.tab.c if(c) return c; c 1804 lib/as3/parser.tab.c c = (slotinfo_t*)e->data; c 1805 lib/as3/parser.tab.c if(c) return c; c 1814 lib/as3/parser.tab.c c = registry_find(l->import->package, name); c 1815 lib/as3/parser.tab.c if(c) return c; c 1820 lib/as3/parser.tab.c c = registry_find("", name); c 1821 lib/as3/parser.tab.c if(c) return c; c 1824 lib/as3/parser.tab.c c = registry_find(internal_filename_package, name); c 1825 lib/as3/parser.tab.c if(c) return c; c 1832 lib/as3/parser.tab.c x.c = 0; c 1845 lib/as3/parser.tab.c x.c = abc_findpropstrict2(x.c, &m); c 1846 lib/as3/parser.tab.c x.c = abc_getproperty2(x.c, &m); c 1861 lib/as3/parser.tab.c classinfo_t*c = (classinfo_t*)a; c 1864 lib/as3/parser.tab.c x.c = abc_getglobalscope(x.c); c 1865 lib/as3/parser.tab.c x.c = abc_getslot(x.c, c->slot); c 1867 lib/as3/parser.tab.c MULTINAME(m, c); c 1868 lib/as3/parser.tab.c x.c = abc_getlex2(x.c, &m); c 1870 lib/as3/parser.tab.c x.t = TYPE_CLASS(c); c 1878 lib/as3/parser.tab.c if(!c) c 1880 lib/as3/parser.tab.c if(c->opcode == OPCODE_JUMP || c 1881 lib/as3/parser.tab.c c->opcode == OPCODE___BREAK__ || c 1882 lib/as3/parser.tab.c c->opcode == OPCODE___CONTINUE__ || c 1883 lib/as3/parser.tab.c c->opcode == OPCODE_THROW || c 1884 lib/as3/parser.tab.c c->opcode == OPCODE_RETURNVOID || c 1885 lib/as3/parser.tab.c c->opcode == OPCODE_RETURNVALUE) { c 1905 lib/as3/parser.tab.c code_t*i = c; c 1937 lib/as3/parser.tab.c c = abc_pushbyte(c, -1); c 1938 lib/as3/parser.tab.c c = code_append(c, finally_label); c 1939 lib/as3/parser.tab.c c = code_append(c, finally); c 1942 lib/as3/parser.tab.c c = abc_dup(c); c 1944 lib/as3/parser.tab.c c = abc_lookupswitch(c, l); c 1945 lib/as3/parser.tab.c c = l->def = abc_label(c); c 1947 lib/as3/parser.tab.c c = abc_pop(c); c 1950 lib/as3/parser.tab.c return c; c 1955 lib/as3/parser.tab.c code_t*i = c; c 1970 lib/as3/parser.tab.c return code_append(c, finally); c 1976 lib/as3/parser.tab.c return c; c 1977 lib/as3/parser.tab.c code_t*i = c; c 1999 lib/as3/parser.tab.c return insert_finally_lookup(c, finally, tempvar); c 2002 lib/as3/parser.tab.c return insert_finally_simple(c, finally, tempvar); c 2112 lib/as3/parser.tab.c if(c) c 2113 lib/as3/parser.tab.c *c = code; c 2146 lib/as3/parser.tab.c v.c = code_append(v.c, w.c); c 2147 lib/as3/parser.tab.c v.c = converttype(v.c, w.t, TYPE_NAMESPACE); c 2152 lib/as3/parser.tab.c v.c = abc_getproperty2(v.c, &m); c 2154 lib/as3/parser.tab.c v.c = abc_getdescendants2(v.c, &m); c 2160 lib/as3/parser.tab.c v.c = abc_coerce_a(v.c); c 2173 lib/as3/parser.tab.c o.c = abc_getlocal(0, v->index); c 2182 lib/as3/parser.tab.c o.c = 0; c 2194 lib/as3/parser.tab.c o.c = abc_getscopeobject(o.c, 1); c 2195 lib/as3/parser.tab.c o.c = abc_getslot(o.c, v->index); c 2235 lib/as3/parser.tab.c o.c = abc_findpropstrict2(o.c, &m); c 2236 lib/as3/parser.tab.c o.c = abc_getproperty2(o.c, &m); c 2239 lib/as3/parser.tab.c o.c = abc_getlocal_0(o.c); c 2240 lib/as3/parser.tab.c o.c = abc_getslot(o.c, f->slot); c 2244 lib/as3/parser.tab.c o.c = abc_getlocal_0(o.c); c 2245 lib/as3/parser.tab.c o.c = abc_getproperty2(o.c, &m); c 2266 lib/as3/parser.tab.c o.c = abc_getlocal_0(0); c 2278 lib/as3/parser.tab.c o.c = abc___pushpackage__(o.c, (char*)name); c 2294 lib/as3/parser.tab.c o.c = abc_findpropstrict2(o.c, &m); c 2295 lib/as3/parser.tab.c o.c = abc_getproperty2(o.c, &m); c 5004 lib/as3/parser.tab.c if(val.c->prev || val.c->opcode != OPCODE_PUSHUNDEFINED) { c 5005 lib/as3/parser.tab.c (yyval.code) = code_append((yyval.code), val.c); c 5008 lib/as3/parser.tab.c code_free(val.c); c 5012 lib/as3/parser.tab.c if(val.c->prev || val.c->opcode != OPCODE_PUSHUNDEFINED) { c 5013 lib/as3/parser.tab.c (yyval.code) = code_append((yyval.code), val.c); c 5017 lib/as3/parser.tab.c code_free(val.c); c 5089 lib/as3/parser.tab.c (yyval.code) = code_append((yyval.code), (yyvsp[(3) - (6)].value).c); c 5178 lib/as3/parser.tab.c (yyval.code) = code_append((yyval.code), (yyvsp[(4) - (8)].value).c); c 5210 lib/as3/parser.tab.c (yyval.code) = code_append((yyval.code), (yyvsp[(4) - (6)].value).c); c 5228 lib/as3/parser.tab.c (yyval.code) = code_append((yyval.code), w.c); c 5264 lib/as3/parser.tab.c (yyval.code) = code_append((yyval.code), (yyvsp[(3) - (5)].value).c); c 5285 lib/as3/parser.tab.c (yyval.code) = code_append((yyval.code), (yyvsp[(5) - (6)].value).c); c 5421 lib/as3/parser.tab.c (yyval.code) = code_append((yyval.code), node_read((yyvsp[(2) - (4)].node)).c); c 5465 lib/as3/parser.tab.c (yyval.code) = node_read((yyvsp[(4) - (8)].node)).c; c 5472 lib/as3/parser.tab.c code_t*c = (yyval.code),*lastblock=0; c 5473 lib/as3/parser.tab.c while(c) { c 5474 lib/as3/parser.tab.c if(c->opcode == OPCODE_IFNE) { c 5475 lib/as3/parser.tab.c if(!c->next) syntaxerror("internal error in fallthrough handling"); c 5476 lib/as3/parser.tab.c lastblock=c->next; c 5477 lib/as3/parser.tab.c } else if(c->opcode == OPCODE___FALLTHROUGH__) { c 5479 lib/as3/parser.tab.c c->opcode = OPCODE_JUMP; c 5480 lib/as3/parser.tab.c c->branch = lastblock; c 5483 lib/as3/parser.tab.c c->opcode = OPCODE_NOP; c 5486 lib/as3/parser.tab.c c=c->prev; c 5526 lib/as3/parser.tab.c code_t*c = 0; c 5528 lib/as3/parser.tab.c e->target = c = abc_nop(0); c 5529 lib/as3/parser.tab.c c = abc_setlocal(c, i); c 5530 lib/as3/parser.tab.c c = code_append(c, code_dup(state->method->scope_code)); c 5531 lib/as3/parser.tab.c c = code_append(c, (yyvsp[(8) - (9)].code)); c 5532 lib/as3/parser.tab.c c = abc_kill(c, i); c 5534 lib/as3/parser.tab.c c = var_block(c, state->vars); c 5720 lib/as3/parser.tab.c (yyval.code)=(yyvsp[(2) - (2)].value).c; c 5759 lib/as3/parser.tab.c (yyval.value_list).cc = (yyvsp[(3) - (4)].value).c; c 6255 lib/as3/parser.tab.c code_t*c = state->cls->static_init->header; c 6256 lib/as3/parser.tab.c c = code_append(c, (yyvsp[(1) - (1)].code)); c 6257 lib/as3/parser.tab.c state->cls->static_init->header = c; c 6404 lib/as3/parser.tab.c code_t*c = 0; c 6405 lib/as3/parser.tab.c if(v.c && !is_pushundefined(v.c)) { c 6406 lib/as3/parser.tab.c c = abc_getlocal_0(c); c 6407 lib/as3/parser.tab.c c = code_append(c, v.c); c 6408 lib/as3/parser.tab.c c = converttype(c, v.t, (yyvsp[(2) - (3)].classinfo)); c 6410 lib/as3/parser.tab.c c = abc_initproperty2(c, &mname); c 6412 lib/as3/parser.tab.c c = abc_setslot(c, t->slot_id); c 6415 lib/as3/parser.tab.c *code = code_append(*code, c); c 6568 lib/as3/parser.tab.c v.c = 0; c 6569 lib/as3/parser.tab.c v.c = abc_getlex2(v.c, &m); c 6570 lib/as3/parser.tab.c v.c = code_append(v.c, node_read((yyvsp[(1) - (1)].node)).c); c 6571 lib/as3/parser.tab.c v.c = abc_construct(v.c, 1); c 7090 lib/as3/parser.tab.c code_t*c = method_header(state->method); c 7091 lib/as3/parser.tab.c c = wrap_function(c, 0, (yyvsp[(11) - (12)].code)); c 7093 lib/as3/parser.tab.c endfunction(&(yyvsp[(1) - (12)].flags),(yyvsp[(3) - (12)].token),(yyvsp[(4) - (12)].id),&(yyvsp[(6) - (12)].params),(yyvsp[(8) - (12)].classinfo),c); c 7137 lib/as3/parser.tab.c code_t*c = method_header(state->method); c 7138 lib/as3/parser.tab.c c = wrap_function(c, 0, (yyvsp[(9) - (10)].code)); c 7141 lib/as3/parser.tab.c endfunction(0,0,(yyvsp[(2) - (10)].id),&(yyvsp[(4) - (10)].params),(yyvsp[(6) - (10)].classinfo),c); c 7143 lib/as3/parser.tab.c (yyval.value).c = abc_getlocal(0, index); c 7159 lib/as3/parser.tab.c PASS1 NEW(unresolvedinfo_t,c); c 7160 lib/as3/parser.tab.c memset(c, 0, sizeof(*c)); c 7161 lib/as3/parser.tab.c c->kind = INFOTYPE_UNRESOLVED; c 7162 lib/as3/parser.tab.c c->name = (yyvsp[(1) - (1)].id); c 7163 lib/as3/parser.tab.c c->package = get_package_from_name((yyvsp[(1) - (1)].id)); c 7164 lib/as3/parser.tab.c if(!c->package) { c 7165 lib/as3/parser.tab.c c->nsset = get_current_imports(); c 7170 lib/as3/parser.tab.c (yyval.classinfo) = (classinfo_t*)c; c 7188 lib/as3/parser.tab.c PASS1 NEW(unresolvedinfo_t,c); c 7189 lib/as3/parser.tab.c memset(c, 0, sizeof(*c)); c 7190 lib/as3/parser.tab.c c->kind = INFOTYPE_UNRESOLVED; c 7191 lib/as3/parser.tab.c c->package = (yyvsp[(1) - (3)].id); c 7192 lib/as3/parser.tab.c c->name = (yyvsp[(3) - (3)].id); c 7193 lib/as3/parser.tab.c (yyval.classinfo) = (classinfo_t*)c; c 7322 lib/as3/parser.tab.c (yyval.value_list).cc = (yyvsp[(1) - (1)].value).c; c 7347 lib/as3/parser.tab.c (yyval.value_list).cc = code_append((yyvsp[(1) - (2)].value_list).cc, (yyvsp[(2) - (2)].value).c); c 7361 lib/as3/parser.tab.c (yyval.value).c = v.c; c 7362 lib/as3/parser.tab.c if((yyval.value).c->opcode == OPCODE_COERCE_A) (yyval.value).c = code_cutlast((yyval.value).c); c 7365 lib/as3/parser.tab.c if((yyval.value).c->opcode == OPCODE_GETPROPERTY) { c 7366 lib/as3/parser.tab.c multiname_t*name = (yyval.value).c->data[0];(yyval.value).c->data[0]=0; c 7367 lib/as3/parser.tab.c (yyval.value).c = code_cutlast((yyval.value).c); c 7368 lib/as3/parser.tab.c (yyval.value).c = code_append((yyval.value).c, paramcode); c 7369 lib/as3/parser.tab.c (yyval.value).c = abc_constructprop2((yyval.value).c, name, (yyvsp[(4) - (4)].value_list).number); c 7371 lib/as3/parser.tab.c } else if(is_getlocal((yyval.value).c)) { c 7372 lib/as3/parser.tab.c (yyval.value).c = code_append((yyval.value).c, paramcode); c 7373 lib/as3/parser.tab.c (yyval.value).c = abc_construct((yyval.value).c, (yyvsp[(4) - (4)].value_list).number); c 7375 lib/as3/parser.tab.c code_free((yyval.value).c); c 7376 lib/as3/parser.tab.c classinfo_t*c = v.t->data; c 7377 lib/as3/parser.tab.c MULTINAME(m, c); c 7378 lib/as3/parser.tab.c (yyval.value).c = abc_findpropstrict2(0, &m); c 7379 lib/as3/parser.tab.c (yyval.value).c = code_append((yyval.value).c, paramcode); c 7380 lib/as3/parser.tab.c (yyval.value).c = abc_constructprop2((yyval.value).c, &m, (yyvsp[(4) - (4)].value_list).number); c 7389 lib/as3/parser.tab.c (yyval.value).c = code_append((yyval.value).c, paramcode); c 7390 lib/as3/parser.tab.c (yyval.value).c = abc_construct((yyval.value).c, (yyvsp[(4) - (4)].value_list).number); c 7397 lib/as3/parser.tab.c (yyval.value).c = abc_coerce_a((yyval.value).c); c 7414 lib/as3/parser.tab.c (yyval.value).c = v.c; c 7415 lib/as3/parser.tab.c if((yyval.value).c->opcode == OPCODE_COERCE_A) { c 7416 lib/as3/parser.tab.c (yyval.value).c = code_cutlast((yyval.value).c); c 7421 lib/as3/parser.tab.c if((yyval.value).c->opcode == OPCODE_GETPROPERTY) { c 7422 lib/as3/parser.tab.c multiname_t*name = (yyval.value).c->data[0];(yyval.value).c->data[0]=0; c 7423 lib/as3/parser.tab.c (yyval.value).c = code_cutlast((yyval.value).c); c 7424 lib/as3/parser.tab.c (yyval.value).c = code_append((yyval.value).c, paramcode); c 7425 lib/as3/parser.tab.c (yyval.value).c = abc_callproperty2((yyval.value).c, name, (yyvsp[(3) - (4)].value_list).number); c 7438 lib/as3/parser.tab.c } else if((yyval.value).c->opcode == OPCODE_GETSUPER) { c 7439 lib/as3/parser.tab.c multiname_t*name = (yyval.value).c->data[0];(yyval.value).c->data[0]=0; c 7440 lib/as3/parser.tab.c (yyval.value).c = code_cutlast((yyval.value).c); c 7441 lib/as3/parser.tab.c (yyval.value).c = code_append((yyval.value).c, paramcode); c 7442 lib/as3/parser.tab.c (yyval.value).c = abc_callsuper2((yyval.value).c, name, (yyvsp[(3) - (4)].value_list).number); c 7445 lib/as3/parser.tab.c (yyval.value).c = abc_getglobalscope((yyval.value).c); c 7446 lib/as3/parser.tab.c (yyval.value).c = code_append((yyval.value).c, paramcode); c 7447 lib/as3/parser.tab.c (yyval.value).c = abc_call((yyval.value).c, (yyvsp[(3) - (4)].value_list).number); c 7457 lib/as3/parser.tab.c (yyval.value).c = abc_coerce_a((yyval.value).c); c 7475 lib/as3/parser.tab.c (yyval.value).c = code_new(); c 7476 lib/as3/parser.tab.c (yyval.value).c = abc_getlocal_0((yyval.value).c); c 7478 lib/as3/parser.tab.c (yyval.value).c = code_append((yyval.value).c, (yyvsp[(3) - (4)].value_list).cc); c 7486 lib/as3/parser.tab.c (yyval.value).c = abc_constructsuper((yyval.value).c, (yyvsp[(3) - (4)].value_list).number); c 7487 lib/as3/parser.tab.c (yyval.value).c = abc_pushundefined((yyval.value).c); c 7502 lib/as3/parser.tab.c (yyval.value).c = v.c; c 7503 lib/as3/parser.tab.c if((yyval.value).c->opcode == OPCODE_COERCE_A) { c 7504 lib/as3/parser.tab.c (yyval.value).c = code_cutlast((yyval.value).c); c 7507 lib/as3/parser.tab.c if((yyval.value).c->opcode == OPCODE_GETPROPERTY) { c 7508 lib/as3/parser.tab.c (yyval.value).c->opcode = OPCODE_DELETEPROPERTY; c 7509 lib/as3/parser.tab.c } else if((yyval.value).c->opcode == OPCODE_GETSLOT) { c 7510 lib/as3/parser.tab.c int slot = (int)(ptroff_t)(yyval.value).c->data[0]; c 7512 lib/as3/parser.tab.c (yyval.value).c = code_cutlast((yyval.value).c); c 7513 lib/as3/parser.tab.c (yyval.value).c = abc_deleteproperty2((yyval.value).c, name); c 7515 lib/as3/parser.tab.c (yyval.value).c = abc_getlocal_0((yyval.value).c); c 7517 lib/as3/parser.tab.c (yyval.value).c = abc_deleteproperty2((yyval.value).c, &m); c 7545 lib/as3/parser.tab.c (yyval.code) = (yyvsp[(2) - (2)].value).c; c 7717 lib/as3/parser.tab.c (yyval.value_list).cc = code_append((yyval.value_list).cc, (yyvsp[(3) - (3)].value).c); c 7734 lib/as3/parser.tab.c (yyval.value_list).cc = code_append((yyval.value_list).cc, (yyvsp[(5) - (5)].value).c); c 7840 lib/as3/parser.tab.c v.c = 0; c 7843 lib/as3/parser.tab.c v.c = abc_getlex2(v.c, &m); c 7844 lib/as3/parser.tab.c v.c = abc_pushstring(v.c, (yyvsp[(1) - (1)].regexp).pattern); c 7845 lib/as3/parser.tab.c v.c = abc_construct(v.c, 1); c 7847 lib/as3/parser.tab.c v.c = abc_getlex2(v.c, &m); c 7848 lib/as3/parser.tab.c v.c = abc_pushstring(v.c, (yyvsp[(1) - (1)].regexp).pattern); c 7849 lib/as3/parser.tab.c v.c = abc_pushstring(v.c, (yyvsp[(1) - (1)].regexp).options); c 7850 lib/as3/parser.tab.c v.c = abc_construct(v.c, 2); c 7870 lib/as3/parser.tab.c v.c = abc_getlocal(0, state->method->need_arguments); c 7886 lib/as3/parser.tab.c v.c = code_new(); c 7887 lib/as3/parser.tab.c v.c = code_append(v.c, (yyvsp[(2) - (3)].value_list).cc); c 7888 lib/as3/parser.tab.c v.c = abc_newarray(v.c, (yyvsp[(2) - (3)].value_list).number); c 7904 lib/as3/parser.tab.c v.c = code_new(); c 7905 lib/as3/parser.tab.c v.c = code_append(v.c, (yyvsp[(2) - (3)].value_list).cc); c 7906 lib/as3/parser.tab.c v.c = abc_newobject(v.c, (yyvsp[(2) - (3)].value_list).number/2); c 8477 lib/as3/parser.tab.c v.c = 0; c 8478 lib/as3/parser.tab.c v.c = abc_getlocal_0(v.c); c 8479 lib/as3/parser.tab.c v.c = abc_getsuper2(v.c, &m); c 8496 lib/as3/parser.tab.c v.c = abc_getlex2(0, &m); c 8526 lib/as3/parser.tab.c code_t*c = 0; c 8532 lib/as3/parser.tab.c c = code_append(c, v.c); c 8533 lib/as3/parser.tab.c c = abc_checkfilter(c); c 8534 lib/as3/parser.tab.c c = abc_coerce_a(c); //hasnext2 converts to * c 8535 lib/as3/parser.tab.c c = abc_setlocal(c, xml); c 8537 lib/as3/parser.tab.c c = abc_getlex2(c, &m); c 8538 lib/as3/parser.tab.c c = abc_construct(c, 0); c 8539 lib/as3/parser.tab.c c = abc_setlocal(c, result); c 8540 lib/as3/parser.tab.c c = abc_pushbyte(c, 0); c 8541 lib/as3/parser.tab.c c = abc_setlocal(c, index); c 8542 lib/as3/parser.tab.c code_t*jmp = c = abc_jump(c, 0); c 8543 lib/as3/parser.tab.c code_t*loop = c = abc_label(c); c 8544 lib/as3/parser.tab.c c = abc_getlocal(c, xml); c 8545 lib/as3/parser.tab.c c = abc_getlocal(c, index); c 8546 lib/as3/parser.tab.c c = abc_nextvalue(c); c 8547 lib/as3/parser.tab.c c = abc_dup(c); c 8548 lib/as3/parser.tab.c c = abc_setlocal(c, tmp); c 8549 lib/as3/parser.tab.c c = abc_pushwith(c); c 8550 lib/as3/parser.tab.c c = code_append(c, w.c); c 8551 lib/as3/parser.tab.c c = abc_popscope(c); c 8552 lib/as3/parser.tab.c code_t*b = c = abc_iffalse(c, 0); c 8553 lib/as3/parser.tab.c c = abc_getlocal(c, result); c 8554 lib/as3/parser.tab.c c = abc_getlocal(c, index); c 8555 lib/as3/parser.tab.c c = abc_getlocal(c, tmp); c 8557 lib/as3/parser.tab.c c = abc_setproperty2(c, &m2); c 8558 lib/as3/parser.tab.c c = b->branch = jmp->branch = abc_nop(c); c 8559 lib/as3/parser.tab.c c = abc_kill(c, tmp); c 8560 lib/as3/parser.tab.c c = abc_hasnext2(c, xml, index); c 8561 lib/as3/parser.tab.c c = abc_iftrue(c, loop); c 8562 lib/as3/parser.tab.c c = abc_getlocal(c, result); c 8563 lib/as3/parser.tab.c c = abc_kill(c, xml); c 8564 lib/as3/parser.tab.c c = abc_kill(c, result); c 8565 lib/as3/parser.tab.c c = abc_kill(c, index); c 8567 lib/as3/parser.tab.c c = var_block(c, state->vars); c 8570 lib/as3/parser.tab.c r.c = c; c 8633 lib/as3/parser.tab.c v.c = abc_getdescendants2(v.c, &m); c 8664 lib/as3/parser.tab.c v.c = code_append(v.c, w.c); c 8665 lib/as3/parser.tab.c v.c = converttype(w.c, w.t, TYPE_STRING); c 8666 lib/as3/parser.tab.c v.c = abc_getproperty2(v.c, &m); c 8683 lib/as3/parser.tab.c v.c = abc_getproperty2(v.c, &m); c 8713 lib/as3/parser.tab.c v.c = abc_getdescendants2(v.c, &m); c 8744 lib/as3/parser.tab.c v.c = code_append(v.c, w.c); c 8745 lib/as3/parser.tab.c v.c = converttype(w.c, w.t, TYPE_STRING); c 8746 lib/as3/parser.tab.c v.c = abc_getproperty2(v.c, &m); c 8764 lib/as3/parser.tab.c v.c = code_append(v.c, w.c); c 8765 lib/as3/parser.tab.c v.c = converttype(w.c, w.t, TYPE_STRING); c 8766 lib/as3/parser.tab.c v.c = abc_getdescendants2(v.c, &m); c 8782 lib/as3/parser.tab.c (yyval.value).c = v1.c; c 8791 lib/as3/parser.tab.c (yyval.value).c = abc_getproperty2((yyval.value).c, &m); c 8792 lib/as3/parser.tab.c (yyval.value).c = abc_coerce_a((yyval.value).c); c 8803 lib/as3/parser.tab.c (yyval.value).c = abc_getslot((yyval.value).c, f->slot); c 8811 lib/as3/parser.tab.c (yyval.value).c = abc_getproperty2((yyval.value).c, &m); c 8816 lib/as3/parser.tab.c (yyval.value).c = abc_coerce_a((yyval.value).c); c 8818 lib/as3/parser.tab.c } else if(v1.c && v1.c->opcode == OPCODE___PUSHPACKAGE__) { c 8819 lib/as3/parser.tab.c string_t*package = v1.c->data[0]; c 8827 lib/as3/parser.tab.c (yyval.value).c = v1.c; c 8828 lib/as3/parser.tab.c (yyval.value).c->data[0] = string_new4(package2); c 8839 lib/as3/parser.tab.c (yyval.value).c = abc_getproperty2((yyval.value).c, &m); c 8840 lib/as3/parser.tab.c (yyval.value).c = abc_coerce_a((yyval.value).c); c 8970 lib/as3/parser.tab.c (yyval.code) = code_append((yyval.code), node_read((yyvsp[(4) - (4)].node)).c); c 645 lib/as3/pool.c NEW(constant_t,c); c 646 lib/as3/pool.c c->i = i; c 647 lib/as3/pool.c c->type = CONSTANT_INT; c 648 lib/as3/pool.c return c; c 652 lib/as3/pool.c NEW(constant_t,c); c 653 lib/as3/pool.c c->u = u; c 654 lib/as3/pool.c c->type = CONSTANT_UINT; c 655 lib/as3/pool.c return c; c 659 lib/as3/pool.c NEW(constant_t,c); c 660 lib/as3/pool.c c->f = f; c 661 lib/as3/pool.c c->type = CONSTANT_FLOAT; c 662 lib/as3/pool.c return c; c 666 lib/as3/pool.c NEW(constant_t,c); c 667 lib/as3/pool.c c->s = string_new4(s); c 668 lib/as3/pool.c c->type = CONSTANT_STRING; c 669 lib/as3/pool.c return c; c 673 lib/as3/pool.c NEW(constant_t,c); c 674 lib/as3/pool.c c->s = string_new3(s, len); c 675 lib/as3/pool.c c->type = CONSTANT_STRING; c 676 lib/as3/pool.c return c; c 680 lib/as3/pool.c NEW(constant_t,c); c 681 lib/as3/pool.c c->ns = namespace_clone(ns); c 682 lib/as3/pool.c c->type = ns->access; c 683 lib/as3/pool.c assert(NS_TYPE(c->type)); c 684 lib/as3/pool.c return c; c 688 lib/as3/pool.c NEW(constant_t,c); c 689 lib/as3/pool.c c->type = CONSTANT_TRUE; c 690 lib/as3/pool.c return c; c 694 lib/as3/pool.c NEW(constant_t,c); c 695 lib/as3/pool.c c->type = CONSTANT_FALSE; c 696 lib/as3/pool.c return c; c 700 lib/as3/pool.c NEW(constant_t,c); c 701 lib/as3/pool.c c->type = CONSTANT_NULL; c 702 lib/as3/pool.c return c; c 706 lib/as3/pool.c NEW(constant_t,c); c 707 lib/as3/pool.c c->type = CONSTANT_UNDEFINED; c 708 lib/as3/pool.c return c; c 713 lib/as3/pool.c constant_t*c = malloc(sizeof(constant_t)); c 714 lib/as3/pool.c memcpy(c, other, sizeof(constant_t)); c 715 lib/as3/pool.c if(NS_TYPE(c->type)) { c 716 lib/as3/pool.c c->ns = namespace_clone(other->ns); c 717 lib/as3/pool.c } else if(c->type == CONSTANT_STRING) { c 718 lib/as3/pool.c c->s = string_dup3(other->s); c 720 lib/as3/pool.c return c; c 729 lib/as3/pool.c NEW(constant_t,c); c 730 lib/as3/pool.c c->type = type; c 731 lib/as3/pool.c if(NS_TYPE(c->type)) { c 732 lib/as3/pool.c c->ns = namespace_clone(pool_lookup_namespace(pool, index)); c 733 lib/as3/pool.c } else if(c->type == CONSTANT_INT) { c 734 lib/as3/pool.c c->i = pool_lookup_int(pool, index); c 735 lib/as3/pool.c } else if(c->type == CONSTANT_UINT) { c 736 lib/as3/pool.c c->u = pool_lookup_uint(pool, index); c 737 lib/as3/pool.c } else if(c->type == CONSTANT_FLOAT) { c 738 lib/as3/pool.c c->f = pool_lookup_float(pool, index); c 739 lib/as3/pool.c } else if(c->type == CONSTANT_STRING) { c 741 lib/as3/pool.c c->s = string_dup3(&s); c 742 lib/as3/pool.c } else if(UNIQUE_CONSTANT(c->type)) { c 745 lib/as3/pool.c fprintf(stderr, "invalid constant type %02x\n", c->type); c 747 lib/as3/pool.c return c; c 751 lib/as3/pool.c if(!c) c 754 lib/as3/pool.c if(NS_TYPE(c->type)) { c 755 lib/as3/pool.c return namespace_tostring(c->ns); c 756 lib/as3/pool.c } else if(c->type == CONSTANT_INT) { c 757 lib/as3/pool.c sprintf(buf, "%d", c->i); c 759 lib/as3/pool.c } else if(c->type == CONSTANT_UINT) { c 760 lib/as3/pool.c sprintf(buf, "%u", c->u); c 762 lib/as3/pool.c } else if(c->type == CONSTANT_FLOAT) { c 764 lib/as3/pool.c sprintf(buf, "%f", c->f); c 766 lib/as3/pool.c } else if(c->type == CONSTANT_STRING) { c 768 lib/as3/pool.c return strdup_n(c->s->str,c->s->len); c 769 lib/as3/pool.c } else if(c->type == CONSTANT_TRUE) { c 771 lib/as3/pool.c } else if(c->type == CONSTANT_FALSE) { c 773 lib/as3/pool.c } else if(c->type == CONSTANT_NULL) { c 775 lib/as3/pool.c } else if(c->type == CONSTANT_UNDEFINED) { c 778 lib/as3/pool.c fprintf(stderr, "invalid constant type %02x\n", c->type); c 784 lib/as3/pool.c if(!c) c 786 lib/as3/pool.c return !UNIQUE_CONSTANT(c->type); c 790 lib/as3/pool.c if(!c) c 792 lib/as3/pool.c if(NS_TYPE(c->type)) { c 793 lib/as3/pool.c assert(c->ns); c 797 lib/as3/pool.c assert(c->type == c->ns->access); c 798 lib/as3/pool.c return pool_register_namespace(pool, c->ns); c 799 lib/as3/pool.c } else if(c->type == CONSTANT_INT) { c 800 lib/as3/pool.c return pool_register_int(pool, c->i); c 801 lib/as3/pool.c } else if(c->type == CONSTANT_UINT) { c 802 lib/as3/pool.c return pool_register_uint(pool, c->u); c 803 lib/as3/pool.c } else if(c->type == CONSTANT_FLOAT) { c 804 lib/as3/pool.c return pool_register_float(pool, c->f); c 805 lib/as3/pool.c } else if(c->type == CONSTANT_STRING) { c 806 lib/as3/pool.c return pool_register_string2(pool, c->s); c 807 lib/as3/pool.c } else if(c->type == CONSTANT_UNDEFINED) { c 811 lib/as3/pool.c } else if(!constant_has_index(c)) { c 814 lib/as3/pool.c fprintf(stderr, "invalid constant type %02x\n", c->type); c 820 lib/as3/pool.c if(!c) c 822 lib/as3/pool.c if(c->type == CONSTANT_STRING) { c 823 lib/as3/pool.c string_free(c->s); c 824 lib/as3/pool.c } else if (NS_TYPE(c->type)) { c 825 lib/as3/pool.c namespace_destroy(c->ns);c->ns=0; c 827 lib/as3/pool.c free(c); c 48 lib/as3/registry.c hash = crc32_add_string(hash, c->package); c 49 lib/as3/registry.c hash = crc32_add_string(hash, c->name); c 55 lib/as3/registry.c hash = crc32_add_string(hash, c->name); c 93 lib/as3/registry.c classinfo_t*c=(classinfo_t*)s; c 94 lib/as3/registry.c if(c->assets) { c 95 lib/as3/registry.c use_asset(c->assets); c 98 lib/as3/registry.c while(c->interfaces[t]) { c 99 lib/as3/registry.c registry_use((slotinfo_t*)c->interfaces[t]); c 102 lib/as3/registry.c while(c->superclass) { c 103 lib/as3/registry.c c = c->superclass; c 104 lib/as3/registry.c registry_use((slotinfo_t*)c); c 205 lib/as3/registry.c classinfo_t*c = rfx_calloc(sizeof(classinfo_t)+(sizeof(classinfo_t*)*(num_interfaces+1))); c 206 lib/as3/registry.c c->interfaces[0] = 0; c 207 lib/as3/registry.c c->kind = INFOTYPE_CLASS; c 208 lib/as3/registry.c c->access = access; c 209 lib/as3/registry.c c->package = package; c 210 lib/as3/registry.c c->name = name; c 211 lib/as3/registry.c dict_put(registry_classes, c, c); c 212 lib/as3/registry.c dict_init2(&c->members, &memberinfo_type, AVERAGE_NUMBER_OF_MEMBERS); c 213 lib/as3/registry.c dict_init2(&c->static_members, &memberinfo_type, AVERAGE_NUMBER_OF_MEMBERS); c 215 lib/as3/registry.c schedule_for_resolve((slotinfo_t*)c); c 216 lib/as3/registry.c return c; c 288 lib/as3/registry.c slotinfo_t* c = (slotinfo_t*)dict_lookup(registry_classes, &tmp); c 291 lib/as3/registry.c return c; c 295 lib/as3/registry.c slotinfo_t*c = registry_find(package, name); c 296 lib/as3/registry.c if(!c) { c 299 lib/as3/registry.c assert(c); c 300 lib/as3/registry.c return c; c 391 lib/as3/registry.c m->ns->access = c->access; c 392 lib/as3/registry.c m->ns->name = (char*)c->package; c 393 lib/as3/registry.c m->name = c->name; c 414 lib/as3/registry.c classinfo_t*c = dict_lookup(functionobjects, f); c 415 lib/as3/registry.c if(c) c 416 lib/as3/registry.c return c; c 419 lib/as3/registry.c classinfo_t*c = rfx_calloc(sizeof(classinfo_t)+sizeof(classinfo_t*)); c 420 lib/as3/registry.c c->access = ACCESS_PUBLIC; c 421 lib/as3/registry.c c->package = ""; c 423 lib/as3/registry.c c->name = "Function"; c 424 lib/as3/registry.c c->superclass = registry_getobjectclass(); c 426 lib/as3/registry.c c->name = "Class"; c 427 lib/as3/registry.c c->superclass = registry_getobjectclass(); c 429 lib/as3/registry.c c->name = "Object"; c 431 lib/as3/registry.c c->name = "undefined"; c 434 lib/as3/registry.c dict_init2(&c->members, &memberinfo_type, 1); c 435 lib/as3/registry.c dict_init2(&c->static_members, &memberinfo_type, 1); c 436 lib/as3/registry.c c->data = f; c 437 lib/as3/registry.c dict_put(functionobjects, f, c); c 438 lib/as3/registry.c return c; c 465 lib/as3/registry.c return (c && c->package && c->name && c 466 lib/as3/registry.c !strcmp(c->package, "") && !strcmp(c->name, "Function")); c 469 lib/as3/registry.c return (c && c->package && c->name && c 470 lib/as3/registry.c !strcmp(c->package, "") && !strcmp(c->name, "Class")); c 474 lib/as3/registry.c static classinfo_t*c = 0; c 475 lib/as3/registry.c if(!c) c = (classinfo_t*)registry_safefind("", "Object"); c 476 lib/as3/registry.c return c; c 479 lib/as3/registry.c static classinfo_t*c = 0; c 480 lib/as3/registry.c if(!c) c = (classinfo_t*)registry_safefind("", "String"); c 481 lib/as3/registry.c return c; c 484 lib/as3/registry.c static classinfo_t*c = 0; c 485 lib/as3/registry.c if(!c) c = (classinfo_t*)registry_safefind("", "Array"); c 486 lib/as3/registry.c return c; c 489 lib/as3/registry.c static classinfo_t*c = 0; c 490 lib/as3/registry.c if(!c) c = (classinfo_t*)registry_safefind("", "int"); c 491 lib/as3/registry.c return c; c 494 lib/as3/registry.c static classinfo_t*c = 0; c 495 lib/as3/registry.c if(!c) c = (classinfo_t*)registry_safefind("", "uint"); c 496 lib/as3/registry.c return c; c 499 lib/as3/registry.c static classinfo_t*c = 0; c 500 lib/as3/registry.c if(!c) c = (classinfo_t*)registry_safefind("", "Boolean"); c 501 lib/as3/registry.c return c; c 504 lib/as3/registry.c static classinfo_t*c = 0; c 505 lib/as3/registry.c if(!c) c = (classinfo_t*)registry_safefind("", "Number"); c 506 lib/as3/registry.c return c; c 509 lib/as3/registry.c static classinfo_t*c = 0; c 510 lib/as3/registry.c if(!c) c = (classinfo_t*)registry_safefind("", "RegExp"); c 511 lib/as3/registry.c return c; c 514 lib/as3/registry.c static classinfo_t*c = 0; c 515 lib/as3/registry.c if(!c) c = (classinfo_t*)registry_safefind("", "Date"); c 516 lib/as3/registry.c return c; c 519 lib/as3/registry.c static classinfo_t*c = 0; c 520 lib/as3/registry.c if(!c) c = (classinfo_t*)registry_safefind("", "XML"); c 521 lib/as3/registry.c return c; c 524 lib/as3/registry.c static classinfo_t*c = 0; c 525 lib/as3/registry.c if(!c) c = (classinfo_t*)registry_safefind("", "XMLList"); c 526 lib/as3/registry.c return c; c 529 lib/as3/registry.c static classinfo_t*c = 0; c 530 lib/as3/registry.c if(!c) c = (classinfo_t*)registry_safefind("", "Namespace"); c 531 lib/as3/registry.c return c; c 534 lib/as3/registry.c static classinfo_t*c = 0; c 535 lib/as3/registry.c if(!c) c = (classinfo_t*)registry_safefind("flash.display", "MovieClip"); c 536 lib/as3/registry.c return c; c 577 lib/as3/registry.c classinfo_t*c = (classinfo_t*)s; c 61 lib/as3/scripts.c abc_method_body_t*c = 0; c 72 lib/as3/scripts.c c = abc_class_getstaticconstructor(cls, 0)->body; c 73 lib/as3/scripts.c c->old.max_stack = 1; c 74 lib/as3/scripts.c c->old.local_count = 1; c 75 lib/as3/scripts.c c->old.init_scope_depth = 9; c 76 lib/as3/scripts.c c->old.max_scope_depth = 10; c 78 lib/as3/scripts.c __ getlocal_0(c); c 79 lib/as3/scripts.c __ pushscope(c); c 80 lib/as3/scripts.c __ returnvoid(c); c 82 lib/as3/scripts.c c = abc_class_getconstructor(cls, 0)->body; c 83 lib/as3/scripts.c c->old.max_stack = 3; c 84 lib/as3/scripts.c c->old.local_count = 1; c 85 lib/as3/scripts.c c->old.init_scope_depth = 10; c 86 lib/as3/scripts.c c->old.max_scope_depth = 11; c 88 lib/as3/scripts.c debugfile(c, "constructor.as"); c 90 lib/as3/scripts.c __ getlocal_0(c); c 91 lib/as3/scripts.c __ pushscope(c); c 93 lib/as3/scripts.c __ getlocal_0(c); c 94 lib/as3/scripts.c __ constructsuper(c,0); c 96 lib/as3/scripts.c __ getlex(c, "[package]flash.system::Security"); c 97 lib/as3/scripts.c __ pushstring(c, "*"); c 98 lib/as3/scripts.c __ callpropvoid(c, "[package]::allowDomain", 1); c 113 lib/as3/scripts.c __ findpropstrict(c,"[package]::addFrameScript"); c 114 lib/as3/scripts.c __ pushuint(c,frame); c 115 lib/as3/scripts.c __ getlex(c,framename); c 116 lib/as3/scripts.c __ callpropvoid(c,"[package]::addFrameScript",2); c 212 lib/as3/scripts.c __ returnvoid(c); c 229 lib/as3/scripts.c c = s->method->body; c 230 lib/as3/scripts.c c->old.max_stack = 2; c 231 lib/as3/scripts.c c->old.local_count = 1; c 232 lib/as3/scripts.c c->old.init_scope_depth = 1; c 233 lib/as3/scripts.c c->old.max_scope_depth = 9; c 235 lib/as3/scripts.c __ getlocal_0(c); c 236 lib/as3/scripts.c __ pushscope(c); c 237 lib/as3/scripts.c __ getscopeobject(c, 0); c 238 lib/as3/scripts.c __ getlex(c,"::Object"); c 239 lib/as3/scripts.c __ pushscope(c); c 240 lib/as3/scripts.c __ getlex(c,"flash.events::EventDispatcher"); c 241 lib/as3/scripts.c __ pushscope(c); c 242 lib/as3/scripts.c __ getlex(c,"flash.display::DisplayObject"); c 243 lib/as3/scripts.c __ pushscope(c); c 244 lib/as3/scripts.c __ getlex(c,"flash.display::InteractiveObject"); c 245 lib/as3/scripts.c __ pushscope(c); c 246 lib/as3/scripts.c __ getlex(c,"flash.display::DisplayObjectContainer"); c 247 lib/as3/scripts.c __ pushscope(c); c 248 lib/as3/scripts.c __ getlex(c,"flash.display::Sprite"); c 249 lib/as3/scripts.c __ pushscope(c); c 250 lib/as3/scripts.c __ getlex(c,"flash.display::MovieClip"); c 251 lib/as3/scripts.c __ pushscope(c); c 252 lib/as3/scripts.c __ getlex(c,"flash.display::MovieClip"); c 253 lib/as3/scripts.c __ newclass(c,cls); c 254 lib/as3/scripts.c __ popscope(c); c 255 lib/as3/scripts.c __ popscope(c); c 256 lib/as3/scripts.c __ popscope(c); c 257 lib/as3/scripts.c __ popscope(c); c 258 lib/as3/scripts.c __ popscope(c); c 259 lib/as3/scripts.c __ popscope(c); c 260 lib/as3/scripts.c __ popscope(c); c 261 lib/as3/scripts.c __ initproperty(c,scenename2); c 262 lib/as3/scripts.c __ returnvoid(c); c 283 lib/as3/scripts.c code_t*c = s->method->body->code; c 284 lib/as3/scripts.c c = abc_getlocal_0(c); c 285 lib/as3/scripts.c c = abc_pushscope(c); c 286 lib/as3/scripts.c c = abc_getscopeobject(c, 0); c 287 lib/as3/scripts.c c = abc_getlex(c,"flash.text::Font"); c 288 lib/as3/scripts.c c = abc_pushscope(c); c 289 lib/as3/scripts.c c = abc_getlex(c,"flash.text::Font"); c 290 lib/as3/scripts.c c = abc_newclass(c,cls); c 291 lib/as3/scripts.c c = abc_popscope(c); c 292 lib/as3/scripts.c c = abc_initproperty(c, fontname); c 293 lib/as3/scripts.c c = abc_returnvoid(c); c 294 lib/as3/scripts.c s->method->body->code = c; c 138 lib/as3/tokenizer.yy.c #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c) c 199 lib/as3/tokenizer.yy.c #define unput(c) yyunput( c, (yytext_ptr) ) c 1944 lib/as3/tokenizer.yy.c char c = as3_text[t]; c 1945 lib/as3/tokenizer.yy.c if(c=='.') { c 1954 lib/as3/tokenizer.yy.c if(c>='0' && c<='9') c 1955 lib/as3/tokenizer.yy.c d+=(c&15)*base; c 1956 lib/as3/tokenizer.yy.c else if((c>='a' && c<='f') || (c>='A' && c<='F')) c 1957 lib/as3/tokenizer.yy.c d+=((c&0x0f)+9)*base; c 1975 lib/as3/tokenizer.yy.c char c = as3_text[t]; c 1976 lib/as3/tokenizer.yy.c if(c>='0' && c<='9') c 1977 lib/as3/tokenizer.yy.c v|=(c&15); c 1978 lib/as3/tokenizer.yy.c else if((c>='a' && c<='f') || (c>='A' && c<='F')) c 1979 lib/as3/tokenizer.yy.c v|=(c&0x0f)+9; c 2183 lib/as3/tokenizer.yy.c int c = '*'; \ c 2186 lib/as3/tokenizer.yy.c (c = getc( as3_in )) != EOF && c != '\n'; ++n ) \ c 2187 lib/as3/tokenizer.yy.c buf[n] = (char) c; \ c 2188 lib/as3/tokenizer.yy.c if ( c == '\n' ) \ c 2189 lib/as3/tokenizer.yy.c buf[n++] = (char) c; \ c 2190 lib/as3/tokenizer.yy.c if ( c == EOF && ferror( as3_in ) ) \ c 2418 lib/as3/tokenizer.yy.c {c(); BEGIN(REGEXPOK);return m('{');} c 2423 lib/as3/tokenizer.yy.c {c(); return m('<');} c 2428 lib/as3/tokenizer.yy.c {c(); return m('/');} c 2433 lib/as3/tokenizer.yy.c {c(); return m('>');} c 2438 lib/as3/tokenizer.yy.c {c(); return m('=');} c 2443 lib/as3/tokenizer.yy.c {c(); handleRaw(as3_text, as3_leng);return T_IDENTIFIER;} c 2466 lib/as3/tokenizer.yy.c {c(); BEGIN(REGEXPOK);return m('{');} c 2471 lib/as3/tokenizer.yy.c {c(); BEGIN(XML);return m('<');} c 2476 lib/as3/tokenizer.yy.c {c(); return m('>');} c 2499 lib/as3/tokenizer.yy.c {c(); BEGIN(DEFAULT);return handleregexp();} c 2508 lib/as3/tokenizer.yy.c {c(); BEGIN(DEFAULT);return handlehex();} c 2517 lib/as3/tokenizer.yy.c {c(); BEGIN(DEFAULT);return handlehexfloat();} c 2526 lib/as3/tokenizer.yy.c {c(); BEGIN(DEFAULT);return handleint();} c 2535 lib/as3/tokenizer.yy.c {c(); BEGIN(DEFAULT);return handlefloat();} c 2541 lib/as3/tokenizer.yy.c {c(); BEGIN(REGEXPOK);return m(T_DICTSTART);} c 2546 lib/as3/tokenizer.yy.c {c(); BEGIN(DEFAULT); return m('{');} c 2566 lib/as3/tokenizer.yy.c {c(); BEGIN(DEFAULT);return handlehex();} c 2575 lib/as3/tokenizer.yy.c {c(); BEGIN(DEFAULT);return handlehexfloat();} c 2584 lib/as3/tokenizer.yy.c {c(); BEGIN(DEFAULT);return handleint();} c 2593 lib/as3/tokenizer.yy.c {c(); BEGIN(DEFAULT);return handlefloat();} c 2598 lib/as3/tokenizer.yy.c {c(); BEGIN(DEFAULT);return m(KW_NAN);} c 2651 lib/as3/tokenizer.yy.c {c();BEGIN(DEFAULT);a3_lval.id="";return T_FOR;} c 2656 lib/as3/tokenizer.yy.c {c();BEGIN(DEFAULT);a3_lval.id="";return T_DO;} c 2661 lib/as3/tokenizer.yy.c {c();BEGIN(DEFAULT);a3_lval.id="";return T_WHILE;} c 2666 lib/as3/tokenizer.yy.c {c();BEGIN(DEFAULT);a3_lval.id="";return T_SWITCH;} c 2671 lib/as3/tokenizer.yy.c {c();BEGIN(REGEXPOK);return m(T_ANDAND);} c 2676 lib/as3/tokenizer.yy.c {c();BEGIN(REGEXPOK);return m(T_OROR);} c 2681 lib/as3/tokenizer.yy.c {c();BEGIN(REGEXPOK);return m(T_NE);} c 2686 lib/as3/tokenizer.yy.c {c();BEGIN(REGEXPOK);return m(T_NEE);} c 2691 lib/as3/tokenizer.yy.c {c();BEGIN(REGEXPOK);return m(T_EQEQEQ);} c 2696 lib/as3/tokenizer.yy.c {c();BEGIN(REGEXPOK);return m(T_EQEQ);} c 2701 lib/as3/tokenizer.yy.c {c();BEGIN(REGEXPOK);return m(T_GE);} c 2706 lib/as3/tokenizer.yy.c {c();BEGIN(REGEXPOK);return m(T_LE);} c 2711 lib/as3/tokenizer.yy.c {c();BEGIN(DEFAULT);return m(T_MINUSMINUS);} c 2716 lib/as3/tokenizer.yy.c {c();BEGIN(DEFAULT);return m(T_PLUSPLUS);} c 2721 lib/as3/tokenizer.yy.c {c();BEGIN(REGEXPOK);return m(T_PLUSBY);} c 2726 lib/as3/tokenizer.yy.c {c();BEGIN(REGEXPOK);return m(T_XORBY);} c 2731 lib/as3/tokenizer.yy.c {c();BEGIN(REGEXPOK);return m(T_MINUSBY);} c 2736 lib/as3/tokenizer.yy.c {c();BEGIN(REGEXPOK);return m(T_DIVBY);} c 2741 lib/as3/tokenizer.yy.c {c();BEGIN(REGEXPOK);return m(T_MODBY);} c 2746 lib/as3/tokenizer.yy.c {c();BEGIN(REGEXPOK);return m(T_MULBY);} c 2751 lib/as3/tokenizer.yy.c {c();BEGIN(REGEXPOK);return m(T_ORBY);} c 2756 lib/as3/tokenizer.yy.c {c();BEGIN(REGEXPOK);return m(T_ANDBY);} c 2761 lib/as3/tokenizer.yy.c {c();BEGIN(REGEXPOK);return m(T_SHRBY);} c 2766 lib/as3/tokenizer.yy.c {c();BEGIN(REGEXPOK);return m(T_SHLBY);} c 2771 lib/as3/tokenizer.yy.c {c();BEGIN(REGEXPOK);return m(T_USHRBY);} c 2776 lib/as3/tokenizer.yy.c {c();BEGIN(REGEXPOK);return m(T_SHL);} c 2781 lib/as3/tokenizer.yy.c {c();BEGIN(REGEXPOK);return m(T_USHR);} c 2786 lib/as3/tokenizer.yy.c {c();BEGIN(REGEXPOK);return m(T_SHR);} c 2791 lib/as3/tokenizer.yy.c {c();BEGIN(REGEXPOK);return m(T_DOTDOTDOT);} c 2796 lib/as3/tokenizer.yy.c {c();BEGIN(REGEXPOK);return m(T_DOTDOT);} c 2801 lib/as3/tokenizer.yy.c {c();BEGIN(REGEXPOK);return m('.');} c 2806 lib/as3/tokenizer.yy.c {c();BEGIN(REGEXPOK);return m(T_COLONCOLON);} c 2811 lib/as3/tokenizer.yy.c {c();BEGIN(REGEXPOK);return m(':');} c 2816 lib/as3/tokenizer.yy.c {c();BEGIN(REGEXPOK);return m(KW_INSTANCEOF);} c 2821 lib/as3/tokenizer.yy.c {c();BEGIN(REGEXPOK);return m(KW_IMPLEMENTS);} c 2826 lib/as3/tokenizer.yy.c {c();BEGIN(DEFAULT);return m(KW_INTERFACE);} c 2831 lib/as3/tokenizer.yy.c {c();BEGIN(DEFAULT);return m(KW_PROTECTED);} c 2836 lib/as3/tokenizer.yy.c {c();BEGIN(DEFAULT);return m(KW_NAMESPACE);} c 2841 lib/as3/tokenizer.yy.c {c();BEGIN(DEFAULT);return m(KW_UNDEFINED);} c 2846 lib/as3/tokenizer.yy.c {c();BEGIN(DEFAULT);return m(KW_ARGUMENTS);} c 2851 lib/as3/tokenizer.yy.c {c();BEGIN(DEFAULT);return m(KW_CONTINUE);} c 2856 lib/as3/tokenizer.yy.c {c();BEGIN(DEFAULT);return m(KW_OVERRIDE);} c 2861 lib/as3/tokenizer.yy.c {c();BEGIN(DEFAULT);return m(KW_INTERNAL);} c 2866 lib/as3/tokenizer.yy.c {c();BEGIN(DEFAULT);return m(KW_FUNCTION);} c 2871 lib/as3/tokenizer.yy.c {c();BEGIN(DEFAULT);return m(KW_FINALLY);} c 2876 lib/as3/tokenizer.yy.c {c();BEGIN(DEFAULT);return m(KW_DEFAULT);} c 2881 lib/as3/tokenizer.yy.c {c();BEGIN(DEFAULT);return m(KW_PACKAGE);} c 2886 lib/as3/tokenizer.yy.c {c();BEGIN(DEFAULT);return m(KW_PRIVATE);} c 2891 lib/as3/tokenizer.yy.c {c();BEGIN(DEFAULT);return m(KW_DYNAMIC);} c 2896 lib/as3/tokenizer.yy.c {c();BEGIN(DEFAULT);return m(KW_EXTENDS);} c 2901 lib/as3/tokenizer.yy.c {c();BEGIN(REGEXPOK);return m(KW_DELETE);} c 2906 lib/as3/tokenizer.yy.c {c();BEGIN(REGEXPOK);return m(KW_RETURN);} c 2911 lib/as3/tokenizer.yy.c {c();BEGIN(DEFAULT);return m(KW_PUBLIC);} c 2916 lib/as3/tokenizer.yy.c {c();BEGIN(DEFAULT);return m(KW_NATIVE);} c 2921 lib/as3/tokenizer.yy.c {c();BEGIN(DEFAULT);return m(KW_STATIC);} c 2926 lib/as3/tokenizer.yy.c {c();BEGIN(REGEXPOK);return m(KW_IMPORT);} c 2931 lib/as3/tokenizer.yy.c {c();BEGIN(REGEXPOK);return m(KW_TYPEOF);} c 2936 lib/as3/tokenizer.yy.c {c();BEGIN(REGEXPOK);return m(KW_THROW);} c 2941 lib/as3/tokenizer.yy.c {c();BEGIN(DEFAULT);return m(KW_CLASS);} c 2946 lib/as3/tokenizer.yy.c {c();BEGIN(DEFAULT);return m(KW_CONST);} c 2951 lib/as3/tokenizer.yy.c {c();BEGIN(DEFAULT);return m(KW_CATCH);} c 2956 lib/as3/tokenizer.yy.c {c();BEGIN(DEFAULT);return m(KW_FINAL);} c 2961 lib/as3/tokenizer.yy.c {c();BEGIN(DEFAULT);return m(KW_FALSE);} c 2966 lib/as3/tokenizer.yy.c {c();BEGIN(DEFAULT);return m(KW_BREAK);} c 2971 lib/as3/tokenizer.yy.c {c();BEGIN(DEFAULT);return m(KW_SUPER);} c 2976 lib/as3/tokenizer.yy.c {c();BEGIN(DEFAULT);return m(KW_EACH);} c 2981 lib/as3/tokenizer.yy.c {c();BEGIN(DEFAULT);return m(KW_VOID);} c 2986 lib/as3/tokenizer.yy.c {c();BEGIN(DEFAULT);return m(KW_TRUE);} c 2991 lib/as3/tokenizer.yy.c {c();BEGIN(DEFAULT);return m(KW_NULL);} c 2996 lib/as3/tokenizer.yy.c {c();BEGIN(DEFAULT);return m(KW_ELSE);} c 3001 lib/as3/tokenizer.yy.c {c();BEGIN(REGEXPOK);return m(KW_CASE);} c 3006 lib/as3/tokenizer.yy.c {c();BEGIN(REGEXPOK);return m(KW_WITH);} c 3011 lib/as3/tokenizer.yy.c {c();BEGIN(REGEXPOK);return m(KW_USE);} c 3016 lib/as3/tokenizer.yy.c {c();BEGIN(REGEXPOK);return m(KW_NEW);} c 3021 lib/as3/tokenizer.yy.c {c();BEGIN(DEFAULT);return m(KW_GET);} c 3026 lib/as3/tokenizer.yy.c {c();BEGIN(DEFAULT);return m(KW_SET);} c 3031 lib/as3/tokenizer.yy.c {c();BEGIN(DEFAULT);return m(KW_VAR);} c 3036 lib/as3/tokenizer.yy.c {c();BEGIN(DEFAULT);return m(KW_TRY);} c 3041 lib/as3/tokenizer.yy.c {c();BEGIN(REGEXPOK);return m(KW_IS) ;} c 3046 lib/as3/tokenizer.yy.c {c();BEGIN(REGEXPOK);return m(KW_IN) ;} c 3051 lib/as3/tokenizer.yy.c {c();BEGIN(DEFAULT);return m(KW_IF) ;} c 3056 lib/as3/tokenizer.yy.c {c();BEGIN(REGEXPOK);return m(KW_AS);} c 3061 lib/as3/tokenizer.yy.c {c();BEGIN(DEFAULT);return handleIdentifier();} c 3066 lib/as3/tokenizer.yy.c {c();BEGIN(DEFAULT);return m(as3_text[0]);} c 3071 lib/as3/tokenizer.yy.c {c();BEGIN(REGEXPOK);return m(as3_text[0]);} c 3076 lib/as3/tokenizer.yy.c {c();BEGIN(DEFAULT);return m(as3_text[0]);} c 3466 lib/as3/tokenizer.yy.c *--yy_cp = (char) c; c 3481 lib/as3/tokenizer.yy.c int c; c 3539 lib/as3/tokenizer.yy.c c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */ c 3543 lib/as3/tokenizer.yy.c YY_CURRENT_BUFFER_LVALUE->yy_at_bol = (c == '\n'); c 3545 lib/as3/tokenizer.yy.c return c; c 4133 lib/as3/tokenizer.yy.c char c = buf[t]=input(); c 4134 lib/as3/tokenizer.yy.c if(c=='\n' || c==EOF) { c 203 lib/devices/opengl.c double c = sqrt(abs(l->x-2*l->sx+lastx) + abs(l->y-2*l->sy+lasty))*SPLINE_SUBDIVISION; c 204 lib/devices/opengl.c int steps = (int)c; c 230 lib/devices/opengl.c double c = sqrt(abs(l->x-2*l->sx+lastx) + abs(l->y-2*l->sy+lasty))*SPLINE_SUBDIVISION; c 231 lib/devices/opengl.c int steps = (int)c; c 359 lib/devices/record.c if(!c) { c 363 lib/devices/record.c writer_writeFloat(w, c->rr); writer_writeFloat(w, c->rg); writer_writeFloat(w, c->rb); writer_writeFloat(w, c->ra); c 364 lib/devices/record.c writer_writeFloat(w, c->gr); writer_writeFloat(w, c->gg); writer_writeFloat(w, c->gb); writer_writeFloat(w, c->ga); c 365 lib/devices/record.c writer_writeFloat(w, c->br); writer_writeFloat(w, c->bg); writer_writeFloat(w, c->bb); writer_writeFloat(w, c->ba); c 366 lib/devices/record.c writer_writeFloat(w, c->ar); writer_writeFloat(w, c->ag); writer_writeFloat(w, c->ab); writer_writeFloat(w, c->aa); c 374 lib/devices/record.c gfxcxform_t* c = (gfxcxform_t*)rfx_calloc(sizeof(gfxcxform_t)); c 375 lib/devices/record.c c->rr = reader_readFloat(r); c->rg = reader_readFloat(r); c->rb = reader_readFloat(r); c->ra = reader_readFloat(r); c 376 lib/devices/record.c c->gr = reader_readFloat(r); c->gg = reader_readFloat(r); c->gb = reader_readFloat(r); c->ga = reader_readFloat(r); c 377 lib/devices/record.c c->br = reader_readFloat(r); c->bg = reader_readFloat(r); c->bb = reader_readFloat(r); c->ba = reader_readFloat(r); c 378 lib/devices/record.c c->ar = reader_readFloat(r); c->ag = reader_readFloat(r); c->ab = reader_readFloat(r); c->aa = reader_readFloat(r); c 379 lib/devices/record.c return c; c 486 lib/devices/record.c gfxcolor_t c = readColor(r, state); c 487 lib/devices/record.c state->last_color[id] = c; c 488 lib/devices/record.c return c; c 229 lib/devices/render.c double c = cos(t*PI/segments); c 230 lib/devices/render.c xx = (x2 + vx*c - vy*s); c 231 lib/devices/render.c yy = (y2 + vx*s + vy*c); c 249 lib/devices/render.c double c = cos(t*PI/segments); c 250 lib/devices/render.c xx = (x1 - vx*c + vy*s); c 251 lib/devices/render.c yy = (y1 - vx*s - vy*c); c 534 lib/devices/render.c clipbuffer_t*c = (clipbuffer_t*)rfx_calloc(sizeof(clipbuffer_t)); c 535 lib/devices/render.c c->data = (U32*)rfx_calloc(sizeof(U32) * i->bitwidth * i->height2); c 536 lib/devices/render.c c->next = i->clipbuf; c 537 lib/devices/render.c i->clipbuf = c; c 538 lib/devices/render.c if(c->next) c 539 lib/devices/render.c memcpy(c->data, c->next->data, i->bitwidth*i->height2); c 541 lib/devices/render.c memset(c->data, 0, sizeof(U32)*i->bitwidth*i->height2); c 554 lib/devices/render.c clipbuffer_t*c = i->clipbuf; c 556 lib/devices/render.c c->next = 0; c 557 lib/devices/render.c free(c->data);c->data = 0; c 558 lib/devices/render.c free(c); c 585 lib/devices/render.c double c = abs(x3-2*x2+x1) + abs(y3-2*y2+y1); c 589 lib/devices/render.c parts = (int)(sqrt(c)/3); c 624 lib/devices/render.c int c,t,parts,qparts; c 631 lib/devices/render.c c = abs(x3-2*x2+x1) + abs(y3-2*y2+y1); c 635 lib/devices/render.c parts = (int)(sqrt(c)); c 2200 lib/devices/swf.c if(!c) c 2202 lib/devices/swf.c if(c->rg!=0 || c->rb!=0 || c->ra!=0 || c 2203 lib/devices/swf.c c->gr!=0 || c->gb!=0 || c->ga!=0 || c 2204 lib/devices/swf.c c->br!=0 || c->bg!=0 || c->ba!=0 || c 2205 lib/devices/swf.c c->ar!=0 || c->ag!=0 || c->ab!=0) c 2208 lib/devices/swf.c cx.a0 = (S16)(c->aa*256); c 2209 lib/devices/swf.c cx.r0 = (S16)(c->rr*256); c 2210 lib/devices/swf.c cx.g0 = (S16)(c->gg*256); c 2211 lib/devices/swf.c cx.b0 = (S16)(c->bb*256); c 2212 lib/devices/swf.c cx.a1 = c->ta; c 2213 lib/devices/swf.c cx.r1 = c->tr; c 2214 lib/devices/swf.c cx.g1 = c->tg; c 2215 lib/devices/swf.c cx.b1 = c->tb; c 2860 lib/devices/swf.c FPOINT c,to; c 2861 lib/devices/swf.c c.x = line->sx * scale; c.y = -line->sy * scale; c 2874 lib/devices/swf.c draw.splineTo(&draw, &c, &to); c 63 lib/drawer.c c1.x = (pos->x + 2 * c->x) / 3; c 64 lib/drawer.c c1.y = (pos->y + 2 * c->y) / 3; c 65 lib/drawer.c c2.x = (2 * c->x + to->x) / 3; c 66 lib/drawer.c c2.y = (2 * c->y + to->y) / 3; c 85 lib/drawer.c FPOINT c; c 86 lib/drawer.c c.x = x; c.y = y; c 87 lib/drawer.c draw->moveTo(draw, &c); c 92 lib/drawer.c FPOINT c; c 93 lib/drawer.c c.x = x; c.y = y; c 94 lib/drawer.c draw->lineTo(draw, &c); c 363 lib/drawer.c struct cspline c; c 368 lib/drawer.c c.start.x = draw->pos.x; c 369 lib/drawer.c c.start.y = draw->pos.y; c 370 lib/drawer.c c.control1.x = control1->x; c 371 lib/drawer.c c.control1.y = control1->y; c 372 lib/drawer.c c.control2.x = control2->x; c 373 lib/drawer.c c.control2.y = control2->y; c 374 lib/drawer.c c.end.x = to->x; c 375 lib/drawer.c c.end.y = to->y; c 377 lib/drawer.c num = approximate3(&c, q, 128, maxerror*maxerror); c 41 lib/drawer.h void (*splineTo)(struct _drawer_t*draw, FPOINT*c, FPOINT * to); c 451 lib/gfxfont.c int c = font->unicode2glyph[t]; c 452 lib/gfxfont.c if(c>=font->num_glyphs || c<0) c 453 lib/gfxfont.c c = 0; c 454 lib/gfxfont.c newglyphs[t] = cloneGlyph(&font->glyphs[c]); c 475 lib/gfxfont.c int c = font->glyphs[t].unicode; c 477 lib/gfxfont.c if(c && c < 32 && (line && line->next && line->next->next)) { c 289 lib/gfxpoly/active.c segment_t*c = a->list; c 290 lib/gfxpoly/active.c if(!actlist_splay_walk(a, a->root, &c, 0)) return 0; c 291 lib/gfxpoly/active.c if(c) return 0; c 388 lib/gfxpoly/active.c int c = 0; c 393 lib/gfxpoly/active.c c = -1;break; c 403 lib/gfxpoly/active.c c = -1;break; c 412 lib/gfxpoly/active.c c = 1;break; c 422 lib/gfxpoly/active.c c = 1;break; c 59 lib/gfxpoly/convert.c char c; c 61 lib/gfxpoly/convert.c int l = fread(&c, 1, 1, fi); c 64 lib/gfxpoly/convert.c if(c!=10 || c!=13) c 70 lib/gfxpoly/convert.c line[pos++] = c; c 72 lib/gfxpoly/convert.c int l = fread(&c, 1, 1, fi); c 73 lib/gfxpoly/convert.c if(!l || c==10 || c==13) { c 325 lib/gfxpoly/convert.c double c = fabs(x-2*sx+i->lx) + fabs(y-2*sy+i->ly); c 326 lib/gfxpoly/convert.c int parts = (int)(sqrt(c)*SUBFRACTION); c 372 lib/gfxpoly/renderpoly.c unsigned char c = (b2[x>>3]&(0x80>>(x&7)))?255:0; c 374 lib/gfxpoly/renderpoly.c *p++ = c; c 375 lib/gfxpoly/renderpoly.c *p++ = c; c 384 lib/gfxpoly/renderpoly.c unsigned char c = (b1[x>>3]&(0x80>>(x&7)))?255:0; c 386 lib/gfxpoly/renderpoly.c *p++ = c; c 387 lib/gfxpoly/renderpoly.c *p++ = c; c 43 lib/gfxpoly/stroke.c double c = cos(a)*r; c 45 lib/gfxpoly/stroke.c double xx = c + x; c 139 lib/gfxpoly/stroke.c double c = cos(lastw-M_PI/2)*width; c 142 lib/gfxpoly/stroke.c draw->lineTo(draw, p[pos].x+c, p[pos].y+s); c 143 lib/gfxpoly/stroke.c draw->lineTo(draw, p[pos].x-c, p[pos].y-s); c 147 lib/gfxpoly/stroke.c double c = cos(lastw-M_PI/2)*width; c 149 lib/gfxpoly/stroke.c draw->lineTo(draw, p[pos].x+c, p[pos].y+s); c 150 lib/gfxpoly/stroke.c draw->lineTo(draw, p[pos].x+c-s, p[pos].y+s+c); c 151 lib/gfxpoly/stroke.c draw->lineTo(draw, p[pos].x-c-s, p[pos].y-s+c); c 152 lib/gfxpoly/stroke.c draw->lineTo(draw, p[pos].x-c, p[pos].y-s); c 612 lib/gfxtools.c cspline_t c; c 616 lib/gfxtools.c c.start.x = draw->x; c 617 lib/gfxtools.c c.start.y = draw->y; c 618 lib/gfxtools.c c.control1.x = c1x; c 619 lib/gfxtools.c c.control1.y = c1y; c 620 lib/gfxtools.c c.control2.x = c2x; c 621 lib/gfxtools.c c.control2.y = c2y; c 622 lib/gfxtools.c c.end.x = x; c 623 lib/gfxtools.c c.end.y = y; c 625 lib/gfxtools.c num = approximate3(&c, q, 128, maxerror); c 1021 lib/gfxtools.c return string_hash3(c, sizeof(gfxpoint_t)); c 1026 lib/gfxtools.c memcpy(n, c, sizeof(gfxpoint_t)); c 1031 lib/gfxtools.c free(c); c 87 lib/gocr/database.c box1->c = 0; c 106 lib/gocr/database.c box1->tac[0] = box1->c = s1[i]; /* try to interpret as ASCII */ c 111 lib/gocr/database.c if( j && i+3<=Blen && s3-s1-i>3 ) box1->tac[0] = box1->c = j; c 148 lib/gocr/database.c sprintf(s3,"db_%04x_%lu.pbm", (unsigned int)box1->c, c 183 lib/gocr/database.c if( (box1->c >= '0' && box1->c <= '9') c 184 lib/gocr/database.c || (box1->c >= 'A' && box1->c <= 'Z') c 185 lib/gocr/database.c || (box1->c >= 'a' && box1->c <= 'z') ) c 186 lib/gocr/database.c fprintf(f1, "%s %c\n",s3,(char)box1->c); c 188 lib/gocr/database.c if (((box1->c)>>16)>>16) c 189 lib/gocr/database.c fprintf(f1, "%s %08x\n",s3,(unsigned int)box1->c); c 191 lib/gocr/database.c fprintf(f1, "%s %04x\n",s3,(unsigned int)box1->c); c 337 lib/gocr/database.c wchar_t c = UNKNOWN; c 362 lib/gocr/database.c if (box3->num_ac) c=box3->tac[0]; /* 0 for strings (!UNKNOWN) */ c 365 lib/gocr/database.c ((box3->c>32 && box3->c<127) ? (char) box3->c : '.'), c 366 lib/gocr/database.c (int)box3->c, ((box3->tas[0])?box3->tas[0]:""), box3->wac[0]); c 368 lib/gocr/database.c if (dd<=0 && ((box3->num_ac && box3->tas[0]) || box3->c >= 128 c 369 lib/gocr/database.c || !strchr ("l1|I0O", box3->c))) c 376 lib/gocr/database.c if( (JOB->cfg.mode&128) != 0 && c == UNKNOWN ) { /* prompt the user */ c 415 lib/gocr/database.c if (dd==1 && !(buf[0]&128)) { c=buf[0]; utf8_ok=1; } /* single char */ c 422 lib/gocr/database.c c=buf[0]&(u0-1); /* 11..0x.. */ c 423 lib/gocr/database.c for (i=1;i<dd;i++) { c<<=6; c|=buf[i]&0x3F; } /* 10xxxxxx */ c 427 lib/gocr/database.c if (utf8_ok==1) { setac(box1, c, 100); } /* store single wchar */ c 429 lib/gocr/database.c c='_'; /* what should we do with c? probably a bad idea? */ c 446 lib/gocr/database.c ((c>32 && c<127)?(char)c:'.'), (int)c, buf); c 450 lib/gocr/database.c return c; c 81 lib/gocr/detect.c if ( box2->c != PICTURE c 96 lib/gocr/detect.c if ( box2->c != PICTURE c 142 lib/gocr/detect.c if (box2->line>0 || box2->c == PICTURE) continue; c 148 lib/gocr/detect.c && box2->c != PICTURE // no picture c 179 lib/gocr/detect.c if (box2->line>0 || box2->c == PICTURE) continue; c 260 lib/gocr/detect.c if (box2->line>0 || box2->c == PICTURE) continue; c 264 lib/gocr/detect.c && box2->c != PICTURE // no picture c 295 lib/gocr/detect.c if (box2->line>0 || box2->c == PICTURE) continue; c 299 lib/gocr/detect.c && box2->c != PICTURE // no picture c 416 lib/gocr/detect.c if(box3->c!=PICTURE) c 439 lib/gocr/detect.c if( box2->c!=PICTURE ) /* ToDo: not sure, that this is a good idea */ c 454 lib/gocr/detect.c if(box3->c!=PICTURE) /* ToDo: not sure, that this is a good idea */ c 486 lib/gocr/detect.c if( box2->c == PICTURE ) c 582 lib/gocr/detect.c if (box2->c==PICTURE) continue; c 603 lib/gocr/detect.c if (box3->c==PICTURE || box3==box2) continue; c 861 lib/gocr/detect.c if( box4->c != PICTURE ){ c 910 lib/gocr/detect.c if (box2->c == PICTURE) continue; c 921 lib/gocr/detect.c if (box4->c == PICTURE) continue; c 932 lib/gocr/detect.c box2->c = PICTURE; c 90 lib/gocr/gocr.h wchar_t c; /* detected char (same as tac[0], obsolete?) */ c 201 lib/gocr/lines.c if (box2->num_ac && box2->wac[0]<JOB->cfg.certainty) box2->c=UNKNOWN; c 220 lib/gocr/lines.c if (box2->c > ' ' && c 221 lib/gocr/lines.c box2->c <= 'z') i1++; /* count non-space chars */ c 222 lib/gocr/lines.c if (box2->c == '\n') { c 239 lib/gocr/lines.c if (box2->c == ' ') // fill large gaps with spaces c 255 lib/gocr/lines.c else if (box2->c != '\n') { c 283 lib/gocr/lines.c if (box2->c != UNKNOWN && box2->c!=0) { c 285 lib/gocr/lines.c append_to_line(buffer,decode(box2->c,JOB->cfg.out_format),&len); c 286 lib/gocr/lines.c if (box2->c > ' ' && c 287 lib/gocr/lines.c box2->c <= 'z') i2++; /* count non-space chars */ c 289 lib/gocr/lines.c wchar_t cc; cc=box2->c; c 678 lib/gocr/ocr0.c return box1->c; c 791 lib/gocr/ocr0.c return box1->c; c 933 lib/gocr/ocr0.c return box1->c; c 1040 lib/gocr/ocr0.c return box1->c; c 1166 lib/gocr/ocr0.c return box1->c; c 1250 lib/gocr/ocr0.c return box1->c; c 1370 lib/gocr/ocr0.c return box1->c; c 1490 lib/gocr/ocr0.c return box1->c; c 1694 lib/gocr/ocr0.c return box1->c; c 1821 lib/gocr/ocr0.c return box1->c; c 1939 lib/gocr/ocr0.c return box1->c; c 2040 lib/gocr/ocr0.c return box1->c; c 2122 lib/gocr/ocr0.c return box1->c; c 2177 lib/gocr/ocr0.c return box1->c; c 2271 lib/gocr/ocr0.c return box1->c; c 2417 lib/gocr/ocr0.c return box1->c; c 2528 lib/gocr/ocr0.c return box1->c; c 2709 lib/gocr/ocr0.c return box1->c; c 2804 lib/gocr/ocr0.c return box1->c; c 3003 lib/gocr/ocr0.c return box1->c; c 3153 lib/gocr/ocr0.c return box1->c; c 3291 lib/gocr/ocr0.c return box1->c; c 3416 lib/gocr/ocr0.c return box1->c; c 3560 lib/gocr/ocr0.c return box1->c; c 3841 lib/gocr/ocr0.c return box1->c; c 3986 lib/gocr/ocr0.c return box1->c; c 4288 lib/gocr/ocr0.c return box1->c; c 4386 lib/gocr/ocr0.c return box1->c; c 4459 lib/gocr/ocr0.c return box1->c; c 4591 lib/gocr/ocr0.c return box1->c; c 5043 lib/gocr/ocr0.c return box1->c; c 5398 lib/gocr/ocr0.c return box1->c; c 5412 lib/gocr/ocr0.c return box1->c; c 6584 lib/gocr/ocr0.c if(box1->num_ac>0 && box1->wac[0]>95) box1->c=bc=box1->tac[0]; c 1253 lib/gocr/ocr0n.c return box1->c; c 51 lib/gocr/output.c decode(px->c,ASCII), decode(px->modifier,ASCII), px->line, c 174 lib/gocr/output.c if (!lc || (strchr(lc, box2->c) && box2->c < 256 && box2->c) c 175 lib/gocr/output.c || (strchr(lc, '_') && box2->c==UNKNOWN) /* for compability */ c 184 lib/gocr/output.c (int)box2->c, /* wchar_t -> char ???? */ c 185 lib/gocr/output.c decode(box2->c,ASCII) ); c 109 lib/gocr/pgm2asc.c int c = *a; c 111 lib/gocr/pgm2asc.c *b = c; c 329 lib/gocr/pgm2asc.c if (i==0) b->c=b->tac[0]; /* char or 0 for string */ c 390 lib/gocr/pgm2asc.c if (i==0) b->c=ac; /* store best result to b->c (will be obsolete) */ c 1337 lib/gocr/pgm2asc.c box3->c=(((box3->y1-box3->y0+1) c 1393 lib/gocr/pgm2asc.c if (box2->y1 - box2->y0 + 1 < 4 || box2->c==PICTURE) { prev=NULL; } c 1592 lib/gocr/pgm2asc.c if( box2->c == PICTURE || box2->num_subboxes > 7) continue; c 1600 lib/gocr/pgm2asc.c if(box4!=box2 && box4->c != PICTURE ) c 1686 lib/gocr/pgm2asc.c if( box2->c == PICTURE || box2->num_subboxes > 7) continue; c 1706 lib/gocr/pgm2asc.c if (box4 == box2 || box4->c == PICTURE) continue; c 1799 lib/gocr/pgm2asc.c if(box4!=box2 && box4->c != PICTURE ) c 1829 lib/gocr/pgm2asc.c if(box4!=box2 && box4->c != PICTURE ) c 1960 lib/gocr/pgm2asc.c if (box2->c==UNKNOWN) i++; c 1961 lib/gocr/pgm2asc.c if (box2->c==PICTURE) ii++; c 1973 lib/gocr/pgm2asc.c cc=box2->c; c 2026 lib/gocr/pgm2asc.c if (box2->c == UNKNOWN || (box2->num_ac>0 && box2->wac[0]<97)) c 2034 lib/gocr/pgm2asc.c if (box3 == box2 || box3->c == UNKNOWN c 2039 lib/gocr/pgm2asc.c dist = d; bc = box3->c; box4 = box3; c 2097 lib/gocr/pgm2asc.c if((box2->c==UNKNOWN || (box2->num_ac && box2->wac[0]<JOB->cfg.certainty)) c 2281 lib/gocr/pgm2asc.c if (box2->c != UNKNOWN) continue; /* dont try on pictures */ c 2291 lib/gocr/pgm2asc.c if (box4->c != UNKNOWN) continue; /* dont try on pictures */ c 2339 lib/gocr/pgm2asc.c decode(box2->c,ASCII), w1, decode(cc,ASCII), w2, box2->x0, box2->y0); c 2340 lib/gocr/pgm2asc.c if (w2) { if (box2->c!=cc) { ret=1; setac(box2,cc,(100+w2)/2); } } c 2372 lib/gocr/pgm2asc.c if (box2->c > 0xFF) continue; // temporary UNICODE fix c 2375 lib/gocr/pgm2asc.c if( (prev) && (prev->c > 0xFF)) continue; // temporary UNICODE fix 2 c 2376 lib/gocr/pgm2asc.c if( (next) && (next->c > 0xFF)) continue; // temporary UNICODE fix 3 c 2386 lib/gocr/pgm2asc.c if (strchr("Il1|", box2->c) && next && prev) { c 2389 lib/gocr/pgm2asc.c if (wisalpha(next->c) && next->c!='i' && c 2390 lib/gocr/pgm2asc.c ( prev->c == '\n' || c 2391 lib/gocr/pgm2asc.c ( prev->c == ' ' && c 2393 lib/gocr/pgm2asc.c box4->c == '.' ) ) ) { nc+=setc(box2,(wchar_t)'I'); } c 2394 lib/gocr/pgm2asc.c else if (box2->c!='1' && strchr(l_nonvo,next->c) && c 2395 lib/gocr/pgm2asc.c strchr("\" \n",prev->c)) /* lnt => Int, but 1st */ c 2398 lib/gocr/pgm2asc.c else if (strchr(l_vowel,next->c)) /* unusual? Ii Ie Ia Iy Iu */ c 2401 lib/gocr/pgm2asc.c else if (wisupper(next->c) c 2402 lib/gocr/pgm2asc.c && !strchr("O0I123456789",next->c) c 2403 lib/gocr/pgm2asc.c && !strchr("O0I123456789",prev->c)) /* avoid lO => IO (10) */ c 2405 lib/gocr/pgm2asc.c else if (wislower(prev->c)) c 2407 lib/gocr/pgm2asc.c else if (wisdigit(prev->c) || wisdigit(next->c) c 2408 lib/gocr/pgm2asc.c || (next->c=='O' && !wisalpha(prev->c))) /* lO => 10 */ c 2413 lib/gocr/pgm2asc.c else if (strchr("O0", box2->c) && next && prev) { c 2414 lib/gocr/pgm2asc.c if (wisspace(prev->c) && wisalpha(next->c)) /* initial letter */ c 2416 lib/gocr/pgm2asc.c else if (wisalpha(prev->c) && wisalpha(next->c) c 2417 lib/gocr/pgm2asc.c && wisupper(next->c)) /* word in upper case */ c 2419 lib/gocr/pgm2asc.c else if (wisdigit(prev->c) || wisdigit(next->c)) c 2424 lib/gocr/pgm2asc.c else if (strchr("5S", box2->c) && next && prev) { c 2425 lib/gocr/pgm2asc.c if (wisspace(prev->c) && wisalpha(next->c)) /* initial letter */ c 2427 lib/gocr/pgm2asc.c else if (wisalpha(prev->c) && wisalpha(next->c) c 2428 lib/gocr/pgm2asc.c && wisupper(next->c)) /* word in upper case */ c 2430 lib/gocr/pgm2asc.c else if (wisdigit(prev->c) || wisdigit(next->c)) c 2435 lib/gocr/pgm2asc.c if (wisupper(box2->c) && next && prev) { c 2436 lib/gocr/pgm2asc.c if (wislower(prev->c) && wislower(next->c) c 2448 lib/gocr/pgm2asc.c box3->c = ' '; c 2461 lib/gocr/pgm2asc.c if (prev->c == ' ' && strchr(" \n" , next->c) c 2462 lib/gocr/pgm2asc.c && strchr(".,;:!?)", box2->c)) c 2472 lib/gocr/pgm2asc.c if ( (prev->c == '`' || prev->c == '\'') c 2473 lib/gocr/pgm2asc.c && (box2->c == '`' || box2->c == '\'') ) c 2475 lib/gocr/pgm2asc.c box2->c='\"'; c 2546 lib/gocr/pgm2asc.c box3->dots=0; box3->c=cc; c 2799 lib/gocr/pgm2asc.c if (box2->c==UNKNOWN) i++; c 2800 lib/gocr/pgm2asc.c if (box2->c==PICTURE) ii++; c 2844 lib/gocr/pgm2asc.c if (box2->c==UNKNOWN) i++; c 2845 lib/gocr/pgm2asc.c if (box2->c==PICTURE) ii++; c 2846 lib/gocr/pgm2asc.c if (box2->c>' ' && box2->c<='z') ni++; c 2854 lib/gocr/pgm2asc.c if (box2->c==testc[i]) ni++; c 210 lib/gocr/remove.c if (box2->c==PICTURE) continue; c 315 lib/gocr/remove.c if (box4->c==PICTURE) j++; else j2++; c 325 lib/gocr/remove.c if (box2->c==PICTURE c 350 lib/gocr/remove.c if (box2->c!=PICTURE) continue; // ToDo: PICTUREs set already? c 380 lib/gocr/remove.c if( box4->c==PICTURE ) j++; else j2++; c 390 lib/gocr/remove.c if( box2->c==PICTURE && box2->num_ac==0) c 400 lib/gocr/remove.c box4->c==PICTURE) ) /* dont remove valid chars */ c 443 lib/gocr/remove.c if( box4->c==PICTURE ) { c 481 lib/gocr/remove.c if (box2->c != UNKNOWN) continue; /* dont try on pictures */ c 632 lib/gocr/remove.c if (box2->c == UNKNOWN) { c 654 lib/gocr/remove.c if (box2->c == PICTURE) continue; c 419 lib/gocr/unicode.c if ( c <= 0xFF ) { /* UNICODE == ISO8859-1 */ c 420 lib/gocr/unicode.c buf[0] = (char)c; c 423 lib/gocr/unicode.c switch (c) { /* not found in list, but perhaps we can describe it */ c 494 lib/gocr/unicode.c sprintf(buf,"\\code(%04x)",(unsigned)c); c 499 lib/gocr/unicode.c if ( c >= SPACE && c <= TILDE ) { /* ASCII */ c 500 lib/gocr/unicode.c switch (c) { c 522 lib/gocr/unicode.c buf[0] = (char)c; c 526 lib/gocr/unicode.c switch (c) { c 948 lib/gocr/unicode.c sprintf(buf,"\\symbol{%u}",(unsigned)c); c 952 lib/gocr/unicode.c if ( c >= SPACE && c <= TILDE ) { /* ASCII */ c 953 lib/gocr/unicode.c switch (c) { c 966 lib/gocr/unicode.c buf[0] = (char)c; c 969 lib/gocr/unicode.c switch (c) { c 1198 lib/gocr/unicode.c sprintf(buf,"&#%u;",(unsigned)c); c 1203 lib/gocr/unicode.c if ( c >= SPACE && c <= TILDE ) { /* ASCII */ c 1204 lib/gocr/unicode.c switch (c) { c 1216 lib/gocr/unicode.c buf[0] = (char)c; c 1219 lib/gocr/unicode.c switch (c) { /* subject of change! */ c 1233 lib/gocr/unicode.c sprintf(buf,"&#x%03x;",(unsigned)c); c 1238 lib/gocr/unicode.c switch (c) { c 1240 lib/gocr/unicode.c sprintf(buf,"&#%u;",(unsigned)c); c 1245 lib/gocr/unicode.c if ( c=='\n' || (c>= 0x20 && c <= 0x7F) ) { c 1246 lib/gocr/unicode.c buf[0] = (char)c; c 1249 lib/gocr/unicode.c switch (c) { c 1258 lib/gocr/unicode.c if ((unsigned)c>255) sprintf(buf,"(0x%04x)",(unsigned)c); c 1259 lib/gocr/unicode.c else sprintf(buf,"(0x%02x)",(unsigned)c); c 1265 lib/gocr/unicode.c if ( c == UNKNOWN ) return (const char *)"_"; c 1266 lib/gocr/unicode.c if ( c == PICTURE ) return (const char *)"_"; /* Due to Mobile OCR */ c 1267 lib/gocr/unicode.c if ( c <= (wchar_t)0x0000007F ) { /* UTF8 == 7bit ASCII */ c 1268 lib/gocr/unicode.c buf[0] = (char)c; c 1271 lib/gocr/unicode.c if ( c <= (wchar_t)0x000007FF ) { /* UTF8 == 11bit */ c 1272 lib/gocr/unicode.c buf[0] = (char)(0xc0|((c>> 6) & 0x1f)); /* 110xxxxx */ c 1273 lib/gocr/unicode.c buf[1] = (char)(0x80|( c & 0x3f)); /* 10xxxxxx */ c 1278 lib/gocr/unicode.c if ( c <= (wchar_t)0x0000FFFF ) { /* UTF8 == 16bit */ c 1279 lib/gocr/unicode.c buf[0] = (char)(0xe0|((c>>12) & 0x0f)); /* 1110xxxx */ c 1280 lib/gocr/unicode.c buf[1] = (char)(0x80|((c>> 6) & 0x3f)); /* 10xxxxxx */ c 1281 lib/gocr/unicode.c buf[2] = (char)(0x80|( c & 0x3f)); /* 10xxxxxx */ c 1285 lib/gocr/unicode.c if ( c <= (wchar_t)0x001FFFFF ) { /* UTF8 == 21bit */ c 1286 lib/gocr/unicode.c buf[0] = (char)(0xf0|((c>>18) & 0x07)); /* 11110xxx */ c 1287 lib/gocr/unicode.c buf[1] = (char)(0x80|((c>>12) & 0x3f)); /* 10xxxxxx */ c 1288 lib/gocr/unicode.c buf[2] = (char)(0x80|((c>> 6) & 0x3f)); /* 10xxxxxx */ c 1289 lib/gocr/unicode.c buf[3] = (char)(0x80|( c & 0x3f)); /* 10xxxxxx */ c 1293 lib/gocr/unicode.c if ( c <= (wchar_t)0x03FFFFFF ) { /* UTF8 == 26bit */ c 1294 lib/gocr/unicode.c buf[0] = (char)(0xf8|((c>>24) & 0x03)); /* 111110xx */ c 1295 lib/gocr/unicode.c buf[1] = (char)(0x80|((c>>18) & 0x3f)); /* 10xxxxxx */ c 1296 lib/gocr/unicode.c buf[2] = (char)(0x80|((c>>12) & 0x3f)); /* 10xxxxxx */ c 1297 lib/gocr/unicode.c buf[3] = (char)(0x80|((c>> 6) & 0x3f)); /* 10xxxxxx */ c 1298 lib/gocr/unicode.c buf[4] = (char)(0x80|( c & 0x3f)); /* 10xxxxxx */ c 1302 lib/gocr/unicode.c if ( c <= (wchar_t)0x7FFFFFFF ) { /* UTF8 == 31bit */ c 1303 lib/gocr/unicode.c buf[0] = (char)(0xfc|((c>>30) & 0x01)); /* 1111110x */ c 1304 lib/gocr/unicode.c buf[1] = (char)(0x80|((c>>24) & 0x3f)); /* 10xxxxxx */ c 1305 lib/gocr/unicode.c buf[2] = (char)(0x80|((c>>18) & 0x3f)); /* 10xxxxxx */ c 1306 lib/gocr/unicode.c buf[3] = (char)(0x80|((c>>12) & 0x3f)); /* 10xxxxxx */ c 1307 lib/gocr/unicode.c buf[4] = (char)(0x80|((c>> 6) & 0x3f)); /* 10xxxxxx */ c 1308 lib/gocr/unicode.c buf[5] = (char)(0x80|( c & 0x3f)); /* 10xxxxxx */ c 310 lib/graphcut.c #define ASSERT(w,c) {myassert(w,c,__FILE__,__LINE__,__func__);} c 53 lib/h.263/dct.c double c = 0; c 56 lib/h.263/dct.c c+=table[u][x]*src[v*8+x]; c 58 lib/h.263/dct.c tmp[v*8+u] = c; c 63 lib/h.263/dct.c double c = 0; c 66 lib/h.263/dct.c c+=table[v][y]*tmp[y*8+u]; c 68 lib/h.263/dct.c src[v*8+u] = (int)(c*0.25+0.5); c 79 lib/h.263/dct.c double c = 0; c 82 lib/h.263/dct.c c+=table[u][x]*src[y*8+u]; c 84 lib/h.263/dct.c tmp[y*8+x] = c; c 89 lib/h.263/dct.c double c = 0; c 92 lib/h.263/dct.c c+=table[v][y]*tmp[v*8+x]; c 94 lib/h.263/dct.c src[y*8+x] = (int)(c*0.25+0.5); c 98 lib/h.263/dct.c static double c[8] = {1.0, c 115 lib/h.263/dct.c cc[0] = c[0]/(quant*2*4); c 116 lib/h.263/dct.c cc[1] = c[1]/(quant*2*4); c 117 lib/h.263/dct.c cc[2] = c[2]/(quant*2*4); c 118 lib/h.263/dct.c cc[3] = c[3]/(quant*2*4); c 119 lib/h.263/dct.c cc[4] = c[4]/(quant*2*4); c 120 lib/h.263/dct.c cc[5] = c[5]/(quant*2*4); c 121 lib/h.263/dct.c cc[6] = c[6]/(quant*2*4); c 122 lib/h.263/dct.c cc[7] = c[7]/(quant*2*4); c 143 lib/h.263/dct.c b0 = (b2+b5)*c[4]; c 144 lib/h.263/dct.c b1 = (b3+b4)*c[4]; c 147 lib/h.263/dct.c b[2*8] = (b2-b5)*c[2] + (b3-b4)*c[6]; c 148 lib/h.263/dct.c b[6*8] = (b2-b5)*c[6] + (b4-b3)*c[2]; c 155 lib/h.263/dct.c b[1*8] = b0*c[1] + b1*c[3] + b2*c[5] + b3*c[7]; c 156 lib/h.263/dct.c b[3*8] = b0*c[3] - b1*c[7] - b2*c[1] - b3*c[5]; c 157 lib/h.263/dct.c b[5*8] = b0*c[5] - b1*c[1] + b2*c[7] + b3*c[3]; c 158 lib/h.263/dct.c b[7*8] = b0*c[7] - b1*c[5] + b2*c[3] - b3*c[1]; c 174 lib/h.263/dct.c innerdct(a,b,c); c 876 lib/h.263/swfvideo.c int y,c; c 891 lib/h.263/swfvideo.c getblockpatterns(&data->b, &y, &c, 1); c 896 lib/h.263/swfvideo.c *bits += data->ctable[c].len; c 915 lib/h.263/swfvideo.c int c = 0, y = 0; c 920 lib/h.263/swfvideo.c getblockpatterns(&data->b, &y, &c, has_dc); c 924 lib/h.263/swfvideo.c bits += codehuffman(tag, data->ctable, c); c 934 lib/h.263/swfvideo.c bits += encode8x8(tag, data->b.u, has_dc, c&2); c 935 lib/h.263/swfvideo.c bits += encode8x8(tag, data->b.v, has_dc, c&1); c 965 lib/h.263/swfvideo.c int y,c; c 1025 lib/h.263/swfvideo.c getblockpatterns(&data->b, &y, &c, 0); c 1031 lib/h.263/swfvideo.c *bits += mcbpc_inter[0*4+c].len; c 1065 lib/h.263/swfvideo.c int c = 0, y = 0; c 1074 lib/h.263/swfvideo.c getblockpatterns(&data->b, &y, &c, has_dc); c 1076 lib/h.263/swfvideo.c bits += codehuffman(tag, mcbpc_inter, mode*4+c); c 1090 lib/h.263/swfvideo.c bits += encode8x8(tag, data->b.u, has_dc, c&2); c 1091 lib/h.263/swfvideo.c bits += encode8x8(tag, data->b.v, has_dc, c&1); c 1341 lib/h.263/swfvideo.c int y=0,c=0; c 1358 lib/h.263/swfvideo.c getblockpatterns(&b2, &y, &c, 1); c 1360 lib/h.263/swfvideo.c y=0;c=0; c 1363 lib/h.263/swfvideo.c codehuffman(tag, mcbpc_inter, mode*4+c); c 1375 lib/h.263/swfvideo.c if(has_dc||y||c) { c 1380 lib/h.263/swfvideo.c encode8x8(tag, b2.u, has_dc, c&2); c 1381 lib/h.263/swfvideo.c encode8x8(tag, b2.v, has_dc, c&1); c 228 lib/modules/swfaction.c switch (c) c 995 lib/modules/swfaction.c *(U8*)&atag->tmp[1] = c; c 143 lib/modules/swfalignzones.c double c = fabs(x3-2*x2+x1) + fabs(y3-2*y2+y1); c 144 lib/modules/swfalignzones.c int parts = ((int)(sqrt(c)/6))*2+1; c 36 lib/modules/swfcgi.c char c; c 38 lib/modules/swfcgi.c c = s[0]; c 39 lib/modules/swfcgi.c if (isupper(c)) c = tolower(c); c 40 lib/modules/swfcgi.c value = (c >= '0' && c <= '9' ? c - '0' : c - 'a' + 10) * 16; c 42 lib/modules/swfcgi.c c = s[1]; c 43 lib/modules/swfcgi.c if (isupper(c)) c = tolower(c); c 44 lib/modules/swfcgi.c value += c >= '0' && c <= '9' ? c - '0' : c - 'a' + 10; c 67 lib/modules/swfcgi.c { unsigned char *buf, *c, *s, *t, *oldval = NULL, *newval; c 85 lib/modules/swfcgi.c for (c = buf; c[0] ; c++) c 86 lib/modules/swfcgi.c { if (c[0] == '.') c[0] = '_'; c 87 lib/modules/swfcgi.c if (c[0] == '=') break; c 89 lib/modules/swfcgi.c if (!c[0]) c[1] = 0; c 90 lib/modules/swfcgi.c c[0] = 0; c 92 lib/modules/swfcgi.c if (despace && c[1]) c 93 lib/modules/swfcgi.c { for (s = c+1; s[0] && isspace(s[0]); s++); c 94 lib/modules/swfcgi.c t = c + 1; c 108 lib/modules/swfcgi.c while (t > c && isspace(*--t)); c 113 lib/modules/swfcgi.c { newval = (unsigned char*)rfx_alloc(strlen((const char*)oldval) + strlen((const char *)buf) + strlen((const char*)&c[1]) + 3); c 116 lib/modules/swfcgi.c c[0] = '='; c 118 lib/modules/swfcgi.c c[0] = 0; c 123 lib/modules/swfcgi.c { c[0] = '='; c 52 lib/modules/swfdump.c RGBA c = g->rgba[t]; c 53 lib/modules/swfdump.c fprintf(f, "%d) %02x%02x%02x%02x at %d\n", t, c.r,c.g,c.b,c.a, g->ratios[t]); c 87 lib/modules/swffont.c FPOINT c,to; c 90 lib/modules/swffont.c c.x = _c->x*FT_SCALE/(float)FT_SUBPIXELS; c 91 lib/modules/swffont.c c.y = -_c->y*FT_SCALE/(float)FT_SUBPIXELS; c 92 lib/modules/swffont.c draw_conicTo(draw, &c, &to); c 410 lib/modules/swffont.c int c; c 482 lib/modules/swffont.c for(c=0;c<font->numchars;c++) { c 489 lib/modules/swffont.c outline = T1_GetCharOutline(nr, c, 100.0, 0); c 496 lib/modules/swffont.c font->glyphnames[c] = strdup(*charname); c 498 lib/modules/swffont.c if(c<font->maxascii) c 499 lib/modules/swffont.c font->ascii2glyph[c] = c; c 500 lib/modules/swffont.c font->glyph2ascii[c] = c; c 514 lib/modules/swffont.c FPOINT b,c; c 517 lib/modules/swffont.c c.x = o2->C.x/(float)0xffff+last.x; c 518 lib/modules/swffont.c c.y = o2->C.y/(float)0xffff+last.y; c 519 lib/modules/swffont.c draw_cubicTo(&draw,&b,&c,&pos); c 529 lib/modules/swffont.c font->glyph[c].shape = swf_ShapeDrawerToShape(&draw); c 533 lib/modules/swffont.c font->layout->bounds[c] = bbox; c 534 lib/modules/swffont.c font->glyph[c].advance = bbox.xmax; c 535 lib/modules/swffont.c if(!font->glyph[c].advance) { c 536 lib/modules/swffont.c font->glyph[c].advance = firstx; c 233 lib/modules/swfrender.c double c = cos(t*PI/segments); c 234 lib/modules/swfrender.c xx = (x2 + vx*c - vy*s); c 235 lib/modules/swfrender.c yy = (y2 + vx*s + vy*c); c 253 lib/modules/swfrender.c double c = cos(t*PI/segments); c 254 lib/modules/swfrender.c xx = (x1 - vx*c + vy*s); c 255 lib/modules/swfrender.c yy = (y1 - vx*s - vy*c); c 477 lib/modules/swfrender.c int c,t,parts,qparts; c 484 lib/modules/swfrender.c c = abs(x3-2*x2+x1) + abs(y3-2*y2+y1); c 488 lib/modules/swfrender.c parts = (int)(sqrt((float)c)/3); c 29 lib/modules/swftext.c U32 c = 0; c 35 lib/modules/swftext.c c = ((*text)[0] & 0x1f) << 6 | ((*text)[1] & 0x3f); c 37 lib/modules/swftext.c return c; c 41 lib/modules/swftext.c c = ((*text)[0] & 0x0f) << 12 | ((*text)[1] & 0x3f) << 6 | ((*text)[2] & 0x3f); c 43 lib/modules/swftext.c return c; c 48 lib/modules/swftext.c c = ((*text)[0] & 0x07) << 18 | ((*text)[1] & 0x3f) << 12 | ((*text)[2] & 0x3f) << 6 | ((*text)[3] & 0x3f); c 50 lib/modules/swftext.c return c; c 56 lib/modules/swftext.c c = ((*text)[0] & 0x03) << 24 | ((*text)[1] & 0x3f) << 18 | ((*text)[2] & 0x3f) << 12 | ((*text)[3] & 0x3f) << 6 | ((*text)[4] & 0x3f); c 58 lib/modules/swftext.c return c; c 64 lib/modules/swftext.c c = ((*text)[0] & 0x01) << 30 | ((*text)[1] & 0x3f) << 24 | c 67 lib/modules/swftext.c return c; c 554 lib/modules/swftext.c int c = chars[t]; c 555 lib/modules/swftext.c if(c<0 || c>u->font->numchars) c 557 lib/modules/swftext.c swf_FontUseGlyph(u->font, c, fontsize); c 559 lib/modules/swftext.c u->last!=c && !swf_ShapeIsEmpty(u->font->glyph[u->last].shape) && c 560 lib/modules/swftext.c !swf_ShapeIsEmpty(u->font->glyph[c].shape)) c 562 lib/modules/swftext.c swf_FontUsePair(u->font, u->last, c); c 566 lib/modules/swftext.c u->lastx = x + (u->font->glyph[c].advance*fontsize/20480); c 567 lib/modules/swftext.c u->last = c; c 1400 lib/modules/swftext.c int glyph = -1, c; c 1403 lib/modules/swftext.c c = *s++; c 1405 lib/modules/swftext.c c = readUTF8char(&s); c 1407 lib/modules/swftext.c if (c < font->maxascii) c 1408 lib/modules/swftext.c glyph = font->ascii2glyph[c]; c 1441 lib/modules/swftext.c int g = -1, c; c 1444 lib/modules/swftext.c c = *s++; c 1446 lib/modules/swftext.c c = readUTF8char(&s); c 1448 lib/modules/swftext.c if (c < font->maxascii) c 1449 lib/modules/swftext.c g = font->ascii2glyph[c]; c 1516 lib/modules/swftext.c int c = readUTF8char(&s); c 1517 lib/modules/swftext.c if(c==13 || c==10) { c 1525 lib/modules/swftext.c if (c < font->maxascii) { c 1526 lib/modules/swftext.c int g = font->ascii2glyph[c]; c 1737 lib/modules/swftext.c U32 c = readUTF8char(&s); c 1738 lib/modules/swftext.c int g = font->ascii2glyph[c]; c 1741 lib/modules/swftext.c fprintf(stderr, "No char %d in font %s\n", c, font->name ? (char *) font->name : "?"); c 1832 lib/modules/swftext.c int c; c 1836 lib/modules/swftext.c for (c = 0; c < font->numchars; c++) { c 1837 lib/modules/swftext.c if (font->glyphnames[c]) c 1838 lib/modules/swftext.c swf_SetString(tag, font->glyphnames[c]); c 390 lib/modules/swftools.c CXFORM c; c 409 lib/modules/swftools.c swf_GetCXForm(t, &c, 1); c 371 lib/pdf/BitmapOutputDev.cc Guchar c[4] = {0,0,0,0}; c 372 lib/pdf/BitmapOutputDev.cc bitmap->getPixel(x,y,c); c 373 lib/pdf/BitmapOutputDev.cc line[x].r = c[0]; c 374 lib/pdf/BitmapOutputDev.cc line[x].g = c[1]; c 375 lib/pdf/BitmapOutputDev.cc line[x].b = c[2]; c 786 lib/pdf/BitmapOutputDev.cc unsigned char c=0; c 377 lib/pdf/GFXOutputDev.cc return (c>='a' && c<='z'); c 405 lib/pdf/GFXOutputDev.cc FcConfig*c = FcConfigCreate(); c 420 lib/pdf/GFXOutputDev.cc FcConfigParseAndLoad(c, (FcChar8*)tmpFileName, 1); c 421 lib/pdf/GFXOutputDev.cc FcConfigBuildFonts(c); c 422 lib/pdf/GFXOutputDev.cc FcConfigSetCurrent(c); c 990 lib/pdf/GFXOutputDev.cc gfxcolor_t c; c 993 lib/pdf/GFXOutputDev.cc c.r = colToByte(rgb.r); c 994 lib/pdf/GFXOutputDev.cc c.g = colToByte(rgb.g); c 995 lib/pdf/GFXOutputDev.cc c.b = colToByte(rgb.b); c 996 lib/pdf/GFXOutputDev.cc c.a = 255; c 997 lib/pdf/GFXOutputDev.cc return c; c 1020 lib/pdf/GFXOutputDev.cc colToByte(color0.c[0]), colToByte(color0.c[1]), colToByte(color0.c[2]), c 1021 lib/pdf/GFXOutputDev.cc colToByte(color1.c[0]), colToByte(color1.c[1]), colToByte(color1.c[2]), c 1022 lib/pdf/GFXOutputDev.cc colToByte(color2.c[0]), colToByte(color2.c[1]), colToByte(color2.c[2])); c 1075 lib/pdf/GFXOutputDev.cc colToByte(color0.c[0]), colToByte(color0.c[1]), colToByte(color0.c[2]), c 1076 lib/pdf/GFXOutputDev.cc colToByte(color1.c[0]), colToByte(color1.c[1]), colToByte(color1.c[2]), c 1077 lib/pdf/GFXOutputDev.cc colToByte(color2.c[0]), colToByte(color2.c[1]), colToByte(color2.c[2]) c 1377 lib/pdf/GFXOutputDev.cc char c = str[t]; c 1378 lib/pdf/GFXOutputDev.cc if(c<32 || c>124) { c 1379 lib/pdf/GFXOutputDev.cc c = '.'; c 1381 lib/pdf/GFXOutputDev.cc tmp_printstr[t] = c; c 1434 lib/pdf/GFXOutputDev.cc if(c>=32 && c<0x2fffe) c 1996 lib/pdf/GFXOutputDev.cc int c = state->getLineCap(); c 2776 lib/pdf/GFXOutputDev.cc bbox[0], bbox[1], bbox[2], bbox[3], alpha, colToByte(rgb->c[0]), colToByte(rgb->c[1]), colToByte(rgb->c[2])); c 2778 lib/pdf/GFXOutputDev.cc bbox[0], bbox[1], bbox[2], bbox[3], alpha, colToByte(rgb->c[0]), colToByte(rgb->c[1]), colToByte(rgb->c[2])); c 2804 lib/pdf/GFXOutputDev.cc if(c < min) c = min; c 2805 lib/pdf/GFXOutputDev.cc if(c > max) c = max; c 2806 lib/pdf/GFXOutputDev.cc return c; c 536 lib/pdf/cmyk.cc double c, m, y, aw, ac, am, ay, ar, ag, ab; c 538 lib/pdf/cmyk.cc c = clip01(color->c[0] + color->c[3]); c 539 lib/pdf/cmyk.cc m = clip01(color->c[1] + color->c[3]); c 540 lib/pdf/cmyk.cc y = clip01(color->c[2] + color->c[3]); c 541 lib/pdf/cmyk.cc aw = (1-c) * (1-m) * (1-y); c 542 lib/pdf/cmyk.cc ac = c * (1-m) * (1-y); c 543 lib/pdf/cmyk.cc am = (1-c) * m * (1-y); c 544 lib/pdf/cmyk.cc ay = (1-c) * (1-m) * y; c 545 lib/pdf/cmyk.cc ar = (1-c) * m * y; c 546 lib/pdf/cmyk.cc ag = c * (1-m) * y; c 547 lib/pdf/cmyk.cc ab = c * m * (1-y); c 558 lib/pdf/cmyk.cc col.c[0] = c; c 559 lib/pdf/cmyk.cc col.c[1] = m; c 560 lib/pdf/cmyk.cc col.c[2] = y; c 561 lib/pdf/cmyk.cc col.c[3] = k; c 569 lib/pdf/cmyk.cc c,m,y,k, c 578 lib/pdf/cmyk.cc c = c<0?0:(c>1?1:c<=1?c:0.5); c 583 lib/pdf/cmyk.cc int cc = (int)(c*7.0); c 588 lib/pdf/cmyk.cc float rc = c*7.0 - cc; c 707 lib/pdf/xpdf/Annot.cc int tfPos, tmPos, i, j, k, c; c 865 lib/pdf/xpdf/Annot.cc c = text->getChar(i) & 0xff; c 866 lib/pdf/xpdf/Annot.cc if (c == '(' || c == ')' || c == '\\') { c 868 lib/pdf/xpdf/Annot.cc appearBuf->append(c); c 869 lib/pdf/xpdf/Annot.cc } else if (c < 0x20 || c >= 0x80) { c 870 lib/pdf/xpdf/Annot.cc appearBuf->appendf("\\{0:03o}", c); c 872 lib/pdf/xpdf/Annot.cc appearBuf->append(c); c 951 lib/pdf/xpdf/Annot.cc c = text->getChar(i) & 0xff; c 952 lib/pdf/xpdf/Annot.cc if (c == '(' || c == ')' || c == '\\') { c 954 lib/pdf/xpdf/Annot.cc appearBuf->append(c); c 955 lib/pdf/xpdf/Annot.cc } else if (c < 0x20 || c >= 0x80) { c 958 lib/pdf/xpdf/Annot.cc appearBuf->append(c); c 1033 lib/pdf/xpdf/Annot.cc c = text->getChar(i) & 0xff; c 1034 lib/pdf/xpdf/Annot.cc if (c == '(' || c == ')' || c == '\\') { c 1036 lib/pdf/xpdf/Annot.cc appearBuf->append(c); c 1037 lib/pdf/xpdf/Annot.cc } else if (c < 0x20 || c >= 0x80) { c 1038 lib/pdf/xpdf/Annot.cc appearBuf->appendf("\\{0:03o}", c); c 1040 lib/pdf/xpdf/Annot.cc appearBuf->append(c); c 1067 lib/pdf/xpdf/Annot.cc int tfPos, tmPos, i, j, c; c 1228 lib/pdf/xpdf/Annot.cc c = text[i]->getChar(j) & 0xff; c 1229 lib/pdf/xpdf/Annot.cc if (c == '(' || c == ')' || c == '\\') { c 1231 lib/pdf/xpdf/Annot.cc appearBuf->append(c); c 1232 lib/pdf/xpdf/Annot.cc } else if (c < 0x20 || c >= 0x80) { c 1233 lib/pdf/xpdf/Annot.cc appearBuf->appendf("\\{0:03o}", c); c 1235 lib/pdf/xpdf/Annot.cc appearBuf->append(c); c 1261 lib/pdf/xpdf/Annot.cc int j, k, c; c 1267 lib/pdf/xpdf/Annot.cc c = text->getChar(j) & 0xff; c 1268 lib/pdf/xpdf/Annot.cc if (c == 0x0a || c == 0x0d) { c 1272 lib/pdf/xpdf/Annot.cc dw = ((Gfx8BitFont *)font)->getWidth(c) * fontSize; c 162 lib/pdf/xpdf/Catalog.cc int c; c 175 lib/pdf/xpdf/Catalog.cc while ((c = metadata.streamGetChar()) != EOF) { c 176 lib/pdf/xpdf/Catalog.cc s->append(c); c 30 lib/pdf/xpdf/CharCodeToUnicode.cc CharCode c; c 39 lib/pdf/xpdf/CharCodeToUnicode.cc int c; c 43 lib/pdf/xpdf/CharCodeToUnicode.cc c = *p++; c 46 lib/pdf/xpdf/CharCodeToUnicode.cc c = EOF; c 48 lib/pdf/xpdf/CharCodeToUnicode.cc return c; c 167 lib/pdf/xpdf/CharCodeToUnicode.cc sMapA[sMapLenA].c = u0; c 348 lib/pdf/xpdf/CharCodeToUnicode.cc sMap[sMapLen].c = code; c 446 lib/pdf/xpdf/CharCodeToUnicode.cc map[c] = u[0]; c 449 lib/pdf/xpdf/CharCodeToUnicode.cc if (sMap[i].c == c) { c 461 lib/pdf/xpdf/CharCodeToUnicode.cc map[c] = 0; c 462 lib/pdf/xpdf/CharCodeToUnicode.cc sMap[i].c = c; c 473 lib/pdf/xpdf/CharCodeToUnicode.cc if (c >= mapLen) { c 476 lib/pdf/xpdf/CharCodeToUnicode.cc if (map[c]) { c 477 lib/pdf/xpdf/CharCodeToUnicode.cc u[0] = map[c]; c 481 lib/pdf/xpdf/CharCodeToUnicode.cc if (sMap[i].c == c) { c 65 lib/pdf/xpdf/CharCodeToUnicode.h void setMapping(CharCode c, Unicode *u, int len); c 68 lib/pdf/xpdf/CharCodeToUnicode.h int mapToUnicode(CharCode c, Unicode *u, int size); c 243 lib/pdf/xpdf/Decrypt.cc int c, i; c 245 lib/pdf/xpdf/Decrypt.cc c = EOF; // make gcc happy c 249 lib/pdf/xpdf/Decrypt.cc c = str->getChar(); c 250 lib/pdf/xpdf/Decrypt.cc if (c != EOF) { c 252 lib/pdf/xpdf/Decrypt.cc &state.rc4.y, (Guchar)c); c 255 lib/pdf/xpdf/Decrypt.cc c = state.rc4.buf; c 261 lib/pdf/xpdf/Decrypt.cc if ((c = str->getChar()) == EOF) { c 264 lib/pdf/xpdf/Decrypt.cc in[i] = (Guchar)c; c 269 lib/pdf/xpdf/Decrypt.cc c = EOF; c 271 lib/pdf/xpdf/Decrypt.cc c = state.aes.buf[state.aes.bufIdx++]; c 275 lib/pdf/xpdf/Decrypt.cc return c; c 280 lib/pdf/xpdf/Decrypt.cc int c, i; c 282 lib/pdf/xpdf/Decrypt.cc c = EOF; // make gcc happy c 286 lib/pdf/xpdf/Decrypt.cc c = str->getChar(); c 287 lib/pdf/xpdf/Decrypt.cc if (c != EOF) { c 289 lib/pdf/xpdf/Decrypt.cc &state.rc4.y, (Guchar)c); c 292 lib/pdf/xpdf/Decrypt.cc c = state.rc4.buf; c 297 lib/pdf/xpdf/Decrypt.cc if ((c = str->getChar()) == EOF) { c 300 lib/pdf/xpdf/Decrypt.cc in[i] = c; c 305 lib/pdf/xpdf/Decrypt.cc c = EOF; c 307 lib/pdf/xpdf/Decrypt.cc c = state.aes.buf[state.aes.bufIdx]; c 311 lib/pdf/xpdf/Decrypt.cc return c; c 348 lib/pdf/xpdf/Decrypt.cc return c ^ state[(tx + ty) % 256]; c 490 lib/pdf/xpdf/Decrypt.cc int c; c 493 lib/pdf/xpdf/Decrypt.cc for (c = 0; c < 4; ++c) { c 494 lib/pdf/xpdf/Decrypt.cc s0 = state[c]; c 495 lib/pdf/xpdf/Decrypt.cc s1 = state[4+c]; c 496 lib/pdf/xpdf/Decrypt.cc s2 = state[8+c]; c 497 lib/pdf/xpdf/Decrypt.cc s3 = state[12+c]; c 498 lib/pdf/xpdf/Decrypt.cc state[c] = mul0e(s0) ^ mul0b(s1) ^ mul0d(s2) ^ mul09(s3); c 499 lib/pdf/xpdf/Decrypt.cc state[4+c] = mul09(s0) ^ mul0e(s1) ^ mul0b(s2) ^ mul0d(s3); c 500 lib/pdf/xpdf/Decrypt.cc state[8+c] = mul0d(s0) ^ mul09(s1) ^ mul0e(s2) ^ mul0b(s3); c 501 lib/pdf/xpdf/Decrypt.cc state[12+c] = mul0b(s0) ^ mul0d(s1) ^ mul09(s2) ^ mul0e(s3); c 506 lib/pdf/xpdf/Decrypt.cc int c; c 509 lib/pdf/xpdf/Decrypt.cc for (c = 0; c < 4; ++c) { c 510 lib/pdf/xpdf/Decrypt.cc s0 = w[c] >> 24; c 511 lib/pdf/xpdf/Decrypt.cc s1 = w[c] >> 16; c 512 lib/pdf/xpdf/Decrypt.cc s2 = w[c] >> 8; c 513 lib/pdf/xpdf/Decrypt.cc s3 = w[c]; c 514 lib/pdf/xpdf/Decrypt.cc w[c] = ((mul0e(s0) ^ mul0b(s1) ^ mul0d(s2) ^ mul09(s3)) << 24) c 522 lib/pdf/xpdf/Decrypt.cc int c; c 524 lib/pdf/xpdf/Decrypt.cc for (c = 0; c < 4; ++c) { c 525 lib/pdf/xpdf/Decrypt.cc state[c] ^= w[c] >> 24; c 526 lib/pdf/xpdf/Decrypt.cc state[4+c] ^= w[c] >> 16; c 527 lib/pdf/xpdf/Decrypt.cc state[8+c] ^= w[c] >> 8; c 528 lib/pdf/xpdf/Decrypt.cc state[12+c] ^= w[c]; c 556 lib/pdf/xpdf/Decrypt.cc int c, round, n, i; c 559 lib/pdf/xpdf/Decrypt.cc for (c = 0; c < 4; ++c) { c 560 lib/pdf/xpdf/Decrypt.cc s->state[c] = in[4*c]; c 561 lib/pdf/xpdf/Decrypt.cc s->state[4+c] = in[4*c+1]; c 562 lib/pdf/xpdf/Decrypt.cc s->state[8+c] = in[4*c+2]; c 563 lib/pdf/xpdf/Decrypt.cc s->state[12+c] = in[4*c+3]; c 583 lib/pdf/xpdf/Decrypt.cc for (c = 0; c < 4; ++c) { c 584 lib/pdf/xpdf/Decrypt.cc s->buf[4*c] = s->state[c] ^ s->cbc[4*c]; c 585 lib/pdf/xpdf/Decrypt.cc s->buf[4*c+1] = s->state[4+c] ^ s->cbc[4*c+1]; c 586 lib/pdf/xpdf/Decrypt.cc s->buf[4*c+2] = s->state[8+c] ^ s->cbc[4*c+2]; c 587 lib/pdf/xpdf/Decrypt.cc s->buf[4*c+3] = s->state[12+c] ^ s->cbc[4*c+3]; c 619 lib/pdf/xpdf/Decrypt.cc return b + rotateLeft((a + ((b & c) | (~b & d)) + Xk + Ti), s); c 624 lib/pdf/xpdf/Decrypt.cc return b + rotateLeft((a + ((b & d) | (c & ~d)) + Xk + Ti), s); c 629 lib/pdf/xpdf/Decrypt.cc return b + rotateLeft((a + (b ^ c ^ d) + Xk + Ti), s); c 634 lib/pdf/xpdf/Decrypt.cc return b + rotateLeft((a + (c ^ (b | ~d)) + Xk + Ti), s); c 639 lib/pdf/xpdf/Decrypt.cc Gulong a, b, c, d, aa, bb, cc, dd; c 650 lib/pdf/xpdf/Decrypt.cc c = 0x98badcfe; c 678 lib/pdf/xpdf/Decrypt.cc cc = c; c 682 lib/pdf/xpdf/Decrypt.cc a = md5Round1(a, b, c, d, x[0], 7, 0xd76aa478); c 683 lib/pdf/xpdf/Decrypt.cc d = md5Round1(d, a, b, c, x[1], 12, 0xe8c7b756); c 684 lib/pdf/xpdf/Decrypt.cc c = md5Round1(c, d, a, b, x[2], 17, 0x242070db); c 685 lib/pdf/xpdf/Decrypt.cc b = md5Round1(b, c, d, a, x[3], 22, 0xc1bdceee); c 686 lib/pdf/xpdf/Decrypt.cc a = md5Round1(a, b, c, d, x[4], 7, 0xf57c0faf); c 687 lib/pdf/xpdf/Decrypt.cc d = md5Round1(d, a, b, c, x[5], 12, 0x4787c62a); c 688 lib/pdf/xpdf/Decrypt.cc c = md5Round1(c, d, a, b, x[6], 17, 0xa8304613); c 689 lib/pdf/xpdf/Decrypt.cc b = md5Round1(b, c, d, a, x[7], 22, 0xfd469501); c 690 lib/pdf/xpdf/Decrypt.cc a = md5Round1(a, b, c, d, x[8], 7, 0x698098d8); c 691 lib/pdf/xpdf/Decrypt.cc d = md5Round1(d, a, b, c, x[9], 12, 0x8b44f7af); c 692 lib/pdf/xpdf/Decrypt.cc c = md5Round1(c, d, a, b, x[10], 17, 0xffff5bb1); c 693 lib/pdf/xpdf/Decrypt.cc b = md5Round1(b, c, d, a, x[11], 22, 0x895cd7be); c 694 lib/pdf/xpdf/Decrypt.cc a = md5Round1(a, b, c, d, x[12], 7, 0x6b901122); c 695 lib/pdf/xpdf/Decrypt.cc d = md5Round1(d, a, b, c, x[13], 12, 0xfd987193); c 696 lib/pdf/xpdf/Decrypt.cc c = md5Round1(c, d, a, b, x[14], 17, 0xa679438e); c 697 lib/pdf/xpdf/Decrypt.cc b = md5Round1(b, c, d, a, x[15], 22, 0x49b40821); c 700 lib/pdf/xpdf/Decrypt.cc a = md5Round2(a, b, c, d, x[1], 5, 0xf61e2562); c 701 lib/pdf/xpdf/Decrypt.cc d = md5Round2(d, a, b, c, x[6], 9, 0xc040b340); c 702 lib/pdf/xpdf/Decrypt.cc c = md5Round2(c, d, a, b, x[11], 14, 0x265e5a51); c 703 lib/pdf/xpdf/Decrypt.cc b = md5Round2(b, c, d, a, x[0], 20, 0xe9b6c7aa); c 704 lib/pdf/xpdf/Decrypt.cc a = md5Round2(a, b, c, d, x[5], 5, 0xd62f105d); c 705 lib/pdf/xpdf/Decrypt.cc d = md5Round2(d, a, b, c, x[10], 9, 0x02441453); c 706 lib/pdf/xpdf/Decrypt.cc c = md5Round2(c, d, a, b, x[15], 14, 0xd8a1e681); c 707 lib/pdf/xpdf/Decrypt.cc b = md5Round2(b, c, d, a, x[4], 20, 0xe7d3fbc8); c 708 lib/pdf/xpdf/Decrypt.cc a = md5Round2(a, b, c, d, x[9], 5, 0x21e1cde6); c 709 lib/pdf/xpdf/Decrypt.cc d = md5Round2(d, a, b, c, x[14], 9, 0xc33707d6); c 710 lib/pdf/xpdf/Decrypt.cc c = md5Round2(c, d, a, b, x[3], 14, 0xf4d50d87); c 711 lib/pdf/xpdf/Decrypt.cc b = md5Round2(b, c, d, a, x[8], 20, 0x455a14ed); c 712 lib/pdf/xpdf/Decrypt.cc a = md5Round2(a, b, c, d, x[13], 5, 0xa9e3e905); c 713 lib/pdf/xpdf/Decrypt.cc d = md5Round2(d, a, b, c, x[2], 9, 0xfcefa3f8); c 714 lib/pdf/xpdf/Decrypt.cc c = md5Round2(c, d, a, b, x[7], 14, 0x676f02d9); c 715 lib/pdf/xpdf/Decrypt.cc b = md5Round2(b, c, d, a, x[12], 20, 0x8d2a4c8a); c 718 lib/pdf/xpdf/Decrypt.cc a = md5Round3(a, b, c, d, x[5], 4, 0xfffa3942); c 719 lib/pdf/xpdf/Decrypt.cc d = md5Round3(d, a, b, c, x[8], 11, 0x8771f681); c 720 lib/pdf/xpdf/Decrypt.cc c = md5Round3(c, d, a, b, x[11], 16, 0x6d9d6122); c 721 lib/pdf/xpdf/Decrypt.cc b = md5Round3(b, c, d, a, x[14], 23, 0xfde5380c); c 722 lib/pdf/xpdf/Decrypt.cc a = md5Round3(a, b, c, d, x[1], 4, 0xa4beea44); c 723 lib/pdf/xpdf/Decrypt.cc d = md5Round3(d, a, b, c, x[4], 11, 0x4bdecfa9); c 724 lib/pdf/xpdf/Decrypt.cc c = md5Round3(c, d, a, b, x[7], 16, 0xf6bb4b60); c 725 lib/pdf/xpdf/Decrypt.cc b = md5Round3(b, c, d, a, x[10], 23, 0xbebfbc70); c 726 lib/pdf/xpdf/Decrypt.cc a = md5Round3(a, b, c, d, x[13], 4, 0x289b7ec6); c 727 lib/pdf/xpdf/Decrypt.cc d = md5Round3(d, a, b, c, x[0], 11, 0xeaa127fa); c 728 lib/pdf/xpdf/Decrypt.cc c = md5Round3(c, d, a, b, x[3], 16, 0xd4ef3085); c 729 lib/pdf/xpdf/Decrypt.cc b = md5Round3(b, c, d, a, x[6], 23, 0x04881d05); c 730 lib/pdf/xpdf/Decrypt.cc a = md5Round3(a, b, c, d, x[9], 4, 0xd9d4d039); c 731 lib/pdf/xpdf/Decrypt.cc d = md5Round3(d, a, b, c, x[12], 11, 0xe6db99e5); c 732 lib/pdf/xpdf/Decrypt.cc c = md5Round3(c, d, a, b, x[15], 16, 0x1fa27cf8); c 733 lib/pdf/xpdf/Decrypt.cc b = md5Round3(b, c, d, a, x[2], 23, 0xc4ac5665); c 736 lib/pdf/xpdf/Decrypt.cc a = md5Round4(a, b, c, d, x[0], 6, 0xf4292244); c 737 lib/pdf/xpdf/Decrypt.cc d = md5Round4(d, a, b, c, x[7], 10, 0x432aff97); c 738 lib/pdf/xpdf/Decrypt.cc c = md5Round4(c, d, a, b, x[14], 15, 0xab9423a7); c 739 lib/pdf/xpdf/Decrypt.cc b = md5Round4(b, c, d, a, x[5], 21, 0xfc93a039); c 740 lib/pdf/xpdf/Decrypt.cc a = md5Round4(a, b, c, d, x[12], 6, 0x655b59c3); c 741 lib/pdf/xpdf/Decrypt.cc d = md5Round4(d, a, b, c, x[3], 10, 0x8f0ccc92); c 742 lib/pdf/xpdf/Decrypt.cc c = md5Round4(c, d, a, b, x[10], 15, 0xffeff47d); c 743 lib/pdf/xpdf/Decrypt.cc b = md5Round4(b, c, d, a, x[1], 21, 0x85845dd1); c 744 lib/pdf/xpdf/Decrypt.cc a = md5Round4(a, b, c, d, x[8], 6, 0x6fa87e4f); c 745 lib/pdf/xpdf/Decrypt.cc d = md5Round4(d, a, b, c, x[15], 10, 0xfe2ce6e0); c 746 lib/pdf/xpdf/Decrypt.cc c = md5Round4(c, d, a, b, x[6], 15, 0xa3014314); c 747 lib/pdf/xpdf/Decrypt.cc b = md5Round4(b, c, d, a, x[13], 21, 0x4e0811a1); c 748 lib/pdf/xpdf/Decrypt.cc a = md5Round4(a, b, c, d, x[4], 6, 0xf7537e82); c 749 lib/pdf/xpdf/Decrypt.cc d = md5Round4(d, a, b, c, x[11], 10, 0xbd3af235); c 750 lib/pdf/xpdf/Decrypt.cc c = md5Round4(c, d, a, b, x[2], 15, 0x2ad7d2bb); c 751 lib/pdf/xpdf/Decrypt.cc b = md5Round4(b, c, d, a, x[9], 21, 0xeb86d391); c 756 lib/pdf/xpdf/Decrypt.cc c += cc; c 769 lib/pdf/xpdf/Decrypt.cc digest[8] = (Guchar)(c & 0xff); c 770 lib/pdf/xpdf/Decrypt.cc digest[9] = (Guchar)((c >>= 8) & 0xff); c 771 lib/pdf/xpdf/Decrypt.cc digest[10] = (Guchar)((c >>= 8) & 0xff); c 772 lib/pdf/xpdf/Decrypt.cc digest[11] = (Guchar)((c >>= 8) & 0xff); c 333 lib/pdf/xpdf/FoFiTrueType.cc if (c < 0 || c >= cmaps[i].len - 6) { c 336 lib/pdf/xpdf/FoFiTrueType.cc gid = getU8(cmaps[i].offset + 6 + c, &ok); c 343 lib/pdf/xpdf/FoFiTrueType.cc if (c > segEnd) { c 352 lib/pdf/xpdf/FoFiTrueType.cc if (segEnd < c) { c 361 lib/pdf/xpdf/FoFiTrueType.cc if (c < segStart) { c 365 lib/pdf/xpdf/FoFiTrueType.cc gid = (c + segDelta) & 0xffff; c 368 lib/pdf/xpdf/FoFiTrueType.cc segOffset + 2 * (c - segStart), &ok); c 377 lib/pdf/xpdf/FoFiTrueType.cc if (c < cmapFirst || c >= cmapFirst + cmapLen) { c 380 lib/pdf/xpdf/FoFiTrueType.cc gid = getU16BE(pos + 10 + 2 * (c - cmapFirst), &ok); c 59 lib/pdf/xpdf/FoFiTrueType.h Gushort mapCodeToGID(int i, int c); c 177 lib/pdf/xpdf/FoFiType1.cc char c; c 217 lib/pdf/xpdf/FoFiType1.cc c = *p2; c 220 lib/pdf/xpdf/FoFiType1.cc *p2 = c; c 2261 lib/pdf/xpdf/FoFiType1C.cc int pos, c, sid, nLeft, nSups, i, j; c 2288 lib/pdf/xpdf/FoFiType1C.cc c = getU8(pos++, &parsedOk); c 2292 lib/pdf/xpdf/FoFiType1C.cc if (encoding[c]) { c 2293 lib/pdf/xpdf/FoFiType1C.cc gfree(encoding[c]); c 2295 lib/pdf/xpdf/FoFiType1C.cc encoding[c] = copyString(getString(charset[i], buf, &parsedOk)); c 2304 lib/pdf/xpdf/FoFiType1C.cc c = getU8(pos++, &parsedOk); c 2310 lib/pdf/xpdf/FoFiType1C.cc if (c < 256) { c 2311 lib/pdf/xpdf/FoFiType1C.cc if (encoding[c]) { c 2312 lib/pdf/xpdf/FoFiType1C.cc gfree(encoding[c]); c 2314 lib/pdf/xpdf/FoFiType1C.cc encoding[c] = copyString(getString(charset[nCodes], buf, c 2318 lib/pdf/xpdf/FoFiType1C.cc ++c; c 2328 lib/pdf/xpdf/FoFiType1C.cc c = getU8(pos++, &parsedOk);; c 2337 lib/pdf/xpdf/FoFiType1C.cc if (encoding[c]) { c 2338 lib/pdf/xpdf/FoFiType1C.cc gfree(encoding[c]); c 2340 lib/pdf/xpdf/FoFiType1C.cc encoding[c] = copyString(getString(sid, buf, &parsedOk)); c 2347 lib/pdf/xpdf/FoFiType1C.cc int charsetFormat, c, pos; c 2374 lib/pdf/xpdf/FoFiType1C.cc c = getU16BE(pos, &parsedOk); c 2381 lib/pdf/xpdf/FoFiType1C.cc charset[i++] = (Gushort)c++; c 2387 lib/pdf/xpdf/FoFiType1C.cc c = getU16BE(pos, &parsedOk); c 2395 lib/pdf/xpdf/FoFiType1C.cc charset[i++] = (Gushort)c++; c 1209 lib/pdf/xpdf/Function.cc int c; c 1215 lib/pdf/xpdf/Function.cc if ((c = str->getChar()) == EOF) { c 1218 lib/pdf/xpdf/Function.cc codeString->append(c); c 1220 lib/pdf/xpdf/Function.cc if (c == '\x0a' || c == '\x0d') { c 1223 lib/pdf/xpdf/Function.cc } else if (c == '%') { c 1225 lib/pdf/xpdf/Function.cc } else if (!isspace(c)) { c 1229 lib/pdf/xpdf/Function.cc if (c == '{' || c == '}') { c 1230 lib/pdf/xpdf/Function.cc s->append((char)c); c 1231 lib/pdf/xpdf/Function.cc } else if (isdigit(c) || c == '.' || c == '-') { c 1233 lib/pdf/xpdf/Function.cc s->append((char)c); c 1234 lib/pdf/xpdf/Function.cc c = str->lookChar(); c 1235 lib/pdf/xpdf/Function.cc if (c == EOF || !(isdigit(c) || c == '.' || c == '-')) { c 1239 lib/pdf/xpdf/Function.cc codeString->append(c); c 1243 lib/pdf/xpdf/Function.cc s->append((char)c); c 1244 lib/pdf/xpdf/Function.cc c = str->lookChar(); c 1245 lib/pdf/xpdf/Function.cc if (c == EOF || !isalnum(c)) { c 1249 lib/pdf/xpdf/Function.cc codeString->append(c); c 33 lib/pdf/xpdf/GString.cc char c; c 185 lib/pdf/xpdf/GString.cc s[length++] = c; c 338 lib/pdf/xpdf/GString.cc args[argsLen].c = (char)va_arg(argList, int); c 412 lib/pdf/xpdf/GString.cc buf[0] = arg.c; c 567 lib/pdf/xpdf/GString.cc s[i] = c; c 86 lib/pdf/xpdf/GString.h void setChar(int i, char c) { s[i] = c; } c 92 lib/pdf/xpdf/GString.h GString *append(char c); c 102 lib/pdf/xpdf/GString.h GString *insert(int i, char c); c 936 lib/pdf/xpdf/Gfx.cc backdropColor.c[i] = 0; c 941 lib/pdf/xpdf/Gfx.cc backdropColor.c[i] = dblToCol(obj4.getNum()); c 969 lib/pdf/xpdf/Gfx.cc backdropColor.c[i] = 0; c 1078 lib/pdf/xpdf/Gfx.cc color.c[0] = dblToCol(args[0].getNum()); c 1089 lib/pdf/xpdf/Gfx.cc color.c[0] = dblToCol(args[0].getNum()); c 1102 lib/pdf/xpdf/Gfx.cc color.c[i] = dblToCol(args[i].getNum()); c 1116 lib/pdf/xpdf/Gfx.cc color.c[i] = dblToCol(args[i].getNum()); c 1130 lib/pdf/xpdf/Gfx.cc color.c[i] = dblToCol(args[i].getNum()); c 1144 lib/pdf/xpdf/Gfx.cc color.c[i] = dblToCol(args[i].getNum()); c 1208 lib/pdf/xpdf/Gfx.cc color.c[i] = dblToCol(args[i].getNum()); c 1224 lib/pdf/xpdf/Gfx.cc color.c[i] = dblToCol(args[i].getNum()); c 1245 lib/pdf/xpdf/Gfx.cc color.c[i] = dblToCol(args[i].getNum()); c 1264 lib/pdf/xpdf/Gfx.cc color.c[i] = dblToCol(args[i].getNum()); c 1288 lib/pdf/xpdf/Gfx.cc color.c[i] = dblToCol(args[i].getNum()); c 1307 lib/pdf/xpdf/Gfx.cc color.c[i] = dblToCol(args[i].getNum()); c 2014 lib/pdf/xpdf/Gfx.cc if (abs(colors[i].c[j] - colors[(i+1)&3].c[j]) > functionColorDelta) { c 2271 lib/pdf/xpdf/Gfx.cc if (abs(color1.c[k] - color0.c[k]) > axialColorDelta) { c 2287 lib/pdf/xpdf/Gfx.cc color0.c[k] = (color0.c[k] + color1.c[k]) / 2; c 2530 lib/pdf/xpdf/Gfx.cc if (abs(colorB.c[k] - colorA.c[k]) > radialColorDelta) { c 2556 lib/pdf/xpdf/Gfx.cc colorA.c[k] = (colorA.c[k] + colorB.c[k]) / 2; c 2711 lib/pdf/xpdf/Gfx.cc if (abs(color0->c[i] - color1->c[i]) > gouraudColorDelta || c 2712 lib/pdf/xpdf/Gfx.cc abs(color1->c[i] - color2->c[i]) > gouraudColorDelta) { c 2735 lib/pdf/xpdf/Gfx.cc color01.c[i] = (color0->c[i] + color1->c[i]) / 2; c 2736 lib/pdf/xpdf/Gfx.cc color12.c[i] = (color1->c[i] + color2->c[i]) / 2; c 2737 lib/pdf/xpdf/Gfx.cc color20.c[i] = (color2->c[i] + color0->c[i]) / 2; c 2775 lib/pdf/xpdf/Gfx.cc if (abs(patch->color[0][0].c[i] - patch->color[0][1].c[i]) c 2777 lib/pdf/xpdf/Gfx.cc abs(patch->color[0][1].c[i] - patch->color[1][1].c[i]) c 2779 lib/pdf/xpdf/Gfx.cc abs(patch->color[1][1].c[i] - patch->color[1][0].c[i]) c 2781 lib/pdf/xpdf/Gfx.cc abs(patch->color[1][0].c[i] - patch->color[0][0].c[i]) c 2867 lib/pdf/xpdf/Gfx.cc patch00.color[0][0].c[i] = patch->color[0][0].c[i]; c 2868 lib/pdf/xpdf/Gfx.cc patch00.color[0][1].c[i] = (patch->color[0][0].c[i] + c 2869 lib/pdf/xpdf/Gfx.cc patch->color[0][1].c[i]) / 2; c 2870 lib/pdf/xpdf/Gfx.cc patch01.color[0][0].c[i] = patch00.color[0][1].c[i]; c 2871 lib/pdf/xpdf/Gfx.cc patch01.color[0][1].c[i] = patch->color[0][1].c[i]; c 2872 lib/pdf/xpdf/Gfx.cc patch01.color[1][1].c[i] = (patch->color[0][1].c[i] + c 2873 lib/pdf/xpdf/Gfx.cc patch->color[1][1].c[i]) / 2; c 2874 lib/pdf/xpdf/Gfx.cc patch11.color[0][1].c[i] = patch01.color[1][1].c[i]; c 2875 lib/pdf/xpdf/Gfx.cc patch11.color[1][1].c[i] = patch->color[1][1].c[i]; c 2876 lib/pdf/xpdf/Gfx.cc patch11.color[1][0].c[i] = (patch->color[1][1].c[i] + c 2877 lib/pdf/xpdf/Gfx.cc patch->color[1][0].c[i]) / 2; c 2878 lib/pdf/xpdf/Gfx.cc patch10.color[1][1].c[i] = patch11.color[1][0].c[i]; c 2879 lib/pdf/xpdf/Gfx.cc patch10.color[1][0].c[i] = patch->color[1][0].c[i]; c 2880 lib/pdf/xpdf/Gfx.cc patch10.color[0][0].c[i] = (patch->color[1][0].c[i] + c 2881 lib/pdf/xpdf/Gfx.cc patch->color[0][0].c[i]) / 2; c 2882 lib/pdf/xpdf/Gfx.cc patch00.color[1][0].c[i] = patch10.color[0][0].c[i]; c 2883 lib/pdf/xpdf/Gfx.cc patch00.color[1][1].c[i] = (patch00.color[1][0].c[i] + c 2884 lib/pdf/xpdf/Gfx.cc patch01.color[1][1].c[i]) / 2; c 2885 lib/pdf/xpdf/Gfx.cc patch01.color[1][0].c[i] = patch00.color[1][1].c[i]; c 2886 lib/pdf/xpdf/Gfx.cc patch11.color[0][0].c[i] = patch00.color[1][1].c[i]; c 2887 lib/pdf/xpdf/Gfx.cc patch10.color[0][1].c[i] = patch00.color[1][1].c[i]; c 4140 lib/pdf/xpdf/Gfx.cc color.c[0] = dblToCol(r); c 4141 lib/pdf/xpdf/Gfx.cc color.c[1] = dblToCol(g); c 4142 lib/pdf/xpdf/Gfx.cc color.c[2] = dblToCol(b); c 311 lib/pdf/xpdf/GfxFont.cc int c; c 319 lib/pdf/xpdf/GfxFont.cc while ((c = obj1.streamGetChar()) != EOF) { c 320 lib/pdf/xpdf/GfxFont.cc buf->append(c); c 370 lib/pdf/xpdf/GfxFont.cc int c; c 387 lib/pdf/xpdf/GfxFont.cc while ((c = str->getChar()) != EOF) { c 392 lib/pdf/xpdf/GfxFont.cc buf[i++] = c; c 913 lib/pdf/xpdf/GfxFont.cc CharCode c; c 915 lib/pdf/xpdf/GfxFont.cc *code = c = (CharCode)(*s & 0xff); c 916 lib/pdf/xpdf/GfxFont.cc *uLen = ctu->mapToUnicode(c, u, uSize); c 917 lib/pdf/xpdf/GfxFont.cc *dx = widths[c]; c 1090 lib/pdf/xpdf/GfxFont.cc CharCode c; c 1184 lib/pdf/xpdf/GfxFont.cc for (c = 0; c < ctu->getLength(); ++c) { c 1185 lib/pdf/xpdf/GfxFont.cc n = ctu->mapToUnicode(c, uBuf, 8); c 1189 lib/pdf/xpdf/GfxFont.cc ctu->setMapping(c, uBuf, n); c 226 lib/pdf/xpdf/GfxFont.h double getWidth(Guchar c) { return widths[c]; } c 186 lib/pdf/xpdf/GfxState.cc *gray = clip01(color->c[0]); c 190 lib/pdf/xpdf/GfxState.cc rgb->r = rgb->g = rgb->b = clip01(color->c[0]); c 194 lib/pdf/xpdf/GfxState.cc cmyk->c = cmyk->m = cmyk->y = 0; c 195 lib/pdf/xpdf/GfxState.cc cmyk->k = clip01(gfxColorComp1 - color->c[0]); c 199 lib/pdf/xpdf/GfxState.cc color->c[0] = 0; c 275 lib/pdf/xpdf/GfxState.cc *gray = clip01(color->c[0]); c 279 lib/pdf/xpdf/GfxState.cc rgb->r = rgb->g = rgb->b = clip01(color->c[0]); c 283 lib/pdf/xpdf/GfxState.cc cmyk->c = cmyk->m = cmyk->y = 0; c 284 lib/pdf/xpdf/GfxState.cc cmyk->k = clip01(gfxColorComp1 - color->c[0]); c 288 lib/pdf/xpdf/GfxState.cc color->c[0] = 0; c 306 lib/pdf/xpdf/GfxState.cc *gray = clip01((GfxColorComp)(0.3 * color->c[0] + c 307 lib/pdf/xpdf/GfxState.cc 0.59 * color->c[1] + c 308 lib/pdf/xpdf/GfxState.cc 0.11 * color->c[2] + 0.5)); c 312 lib/pdf/xpdf/GfxState.cc rgb->r = clip01(color->c[0]); c 313 lib/pdf/xpdf/GfxState.cc rgb->g = clip01(color->c[1]); c 314 lib/pdf/xpdf/GfxState.cc rgb->b = clip01(color->c[2]); c 318 lib/pdf/xpdf/GfxState.cc GfxColorComp c, m, y, k; c 320 lib/pdf/xpdf/GfxState.cc c = clip01(gfxColorComp1 - color->c[0]); c 321 lib/pdf/xpdf/GfxState.cc m = clip01(gfxColorComp1 - color->c[1]); c 322 lib/pdf/xpdf/GfxState.cc y = clip01(gfxColorComp1 - color->c[2]); c 323 lib/pdf/xpdf/GfxState.cc k = c; c 330 lib/pdf/xpdf/GfxState.cc cmyk->c = c - k; c 337 lib/pdf/xpdf/GfxState.cc color->c[0] = 0; c 338 lib/pdf/xpdf/GfxState.cc color->c[1] = 0; c 339 lib/pdf/xpdf/GfxState.cc color->c[2] = 0; c 454 lib/pdf/xpdf/GfxState.cc *gray = clip01((GfxColorComp)(0.299 * color->c[0] + c 455 lib/pdf/xpdf/GfxState.cc 0.587 * color->c[1] + c 456 lib/pdf/xpdf/GfxState.cc 0.114 * color->c[2] + 0.5)); c 460 lib/pdf/xpdf/GfxState.cc rgb->r = clip01(color->c[0]); c 461 lib/pdf/xpdf/GfxState.cc rgb->g = clip01(color->c[1]); c 462 lib/pdf/xpdf/GfxState.cc rgb->b = clip01(color->c[2]); c 466 lib/pdf/xpdf/GfxState.cc GfxColorComp c, m, y, k; c 468 lib/pdf/xpdf/GfxState.cc c = clip01(gfxColorComp1 - color->c[0]); c 469 lib/pdf/xpdf/GfxState.cc m = clip01(gfxColorComp1 - color->c[1]); c 470 lib/pdf/xpdf/GfxState.cc y = clip01(gfxColorComp1 - color->c[2]); c 471 lib/pdf/xpdf/GfxState.cc k = c; c 478 lib/pdf/xpdf/GfxState.cc cmyk->c = c - k; c 485 lib/pdf/xpdf/GfxState.cc color->c[0] = 0; c 486 lib/pdf/xpdf/GfxState.cc color->c[1] = 0; c 487 lib/pdf/xpdf/GfxState.cc color->c[2] = 0; c 505 lib/pdf/xpdf/GfxState.cc *gray = clip01((GfxColorComp)(gfxColorComp1 - color->c[3] c 506 lib/pdf/xpdf/GfxState.cc - 0.3 * color->c[0] c 507 lib/pdf/xpdf/GfxState.cc - 0.59 * color->c[1] c 508 lib/pdf/xpdf/GfxState.cc - 0.11 * color->c[2] + 0.5)); c 524 lib/pdf/xpdf/GfxState.cc double c, m, y, k, c1, m1, y1, k1, r, g, b, x; c 526 lib/pdf/xpdf/GfxState.cc c = colToDbl(color->c[0]); c 527 lib/pdf/xpdf/GfxState.cc m = colToDbl(color->c[1]); c 528 lib/pdf/xpdf/GfxState.cc y = colToDbl(color->c[2]); c 529 lib/pdf/xpdf/GfxState.cc k = colToDbl(color->c[3]); c 530 lib/pdf/xpdf/GfxState.cc c1 = 1 - c; c 559 lib/pdf/xpdf/GfxState.cc x = c * m1 * y1 * k1; // 1 0 0 0 c 562 lib/pdf/xpdf/GfxState.cc x = c * m1 * y1 * k; // 1 0 0 1 c 565 lib/pdf/xpdf/GfxState.cc x = c * m1 * y * k1; // 1 0 1 0 c 568 lib/pdf/xpdf/GfxState.cc x = c * m1 * y * k; // 1 0 1 1 c 570 lib/pdf/xpdf/GfxState.cc x = c * m * y1 * k1; // 1 1 0 0 c 574 lib/pdf/xpdf/GfxState.cc x = c * m * y1 * k; // 1 1 0 1 c 576 lib/pdf/xpdf/GfxState.cc x = c * m * y * k1; // 1 1 1 0 c 586 lib/pdf/xpdf/GfxState.cc cmyk->c = clip01(color->c[0]); c 587 lib/pdf/xpdf/GfxState.cc cmyk->m = clip01(color->c[1]); c 588 lib/pdf/xpdf/GfxState.cc cmyk->y = clip01(color->c[2]); c 589 lib/pdf/xpdf/GfxState.cc cmyk->k = clip01(color->c[3]); c 593 lib/pdf/xpdf/GfxState.cc color->c[0] = 0; c 594 lib/pdf/xpdf/GfxState.cc color->c[1] = 0; c 595 lib/pdf/xpdf/GfxState.cc color->c[2] = 0; c 596 lib/pdf/xpdf/GfxState.cc color->c[3] = gfxColorComp1; c 724 lib/pdf/xpdf/GfxState.cc t1 = (colToDbl(color->c[0]) + 16) / 116; c 725 lib/pdf/xpdf/GfxState.cc t2 = t1 + colToDbl(color->c[1]) / 500; c 738 lib/pdf/xpdf/GfxState.cc t2 = t1 - colToDbl(color->c[2]) / 200; c 757 lib/pdf/xpdf/GfxState.cc GfxColorComp c, m, y, k; c 760 lib/pdf/xpdf/GfxState.cc c = clip01(gfxColorComp1 - rgb.r); c 763 lib/pdf/xpdf/GfxState.cc k = c; c 770 lib/pdf/xpdf/GfxState.cc cmyk->c = c - k; c 777 lib/pdf/xpdf/GfxState.cc color->c[0] = 0; c 779 lib/pdf/xpdf/GfxState.cc color->c[1] = dblToCol(aMin); c 781 lib/pdf/xpdf/GfxState.cc color->c[1] = dblToCol(aMax); c 783 lib/pdf/xpdf/GfxState.cc color->c[1] = 0; c 786 lib/pdf/xpdf/GfxState.cc color->c[2] = dblToCol(bMin); c 788 lib/pdf/xpdf/GfxState.cc color->c[2] = dblToCol(bMax); c 790 lib/pdf/xpdf/GfxState.cc color->c[2] = 0; c 924 lib/pdf/xpdf/GfxState.cc color->c[i] = dblToCol(rangeMin[i]); c 926 lib/pdf/xpdf/GfxState.cc color->c[i] = dblToCol(rangeMax[i]); c 928 lib/pdf/xpdf/GfxState.cc color->c[i] = 0; c 1060 lib/pdf/xpdf/GfxState.cc p = &lookup[(int)(colToDbl(color->c[0]) + 0.5) * n]; c 1062 lib/pdf/xpdf/GfxState.cc baseColor->c[i] = dblToCol(low[i] + (p[i] / 255.0) * range[i]); c 1086 lib/pdf/xpdf/GfxState.cc color->c[0] = 0; c 1163 lib/pdf/xpdf/GfxState.cc double c[gfxColorMaxComps]; c 1167 lib/pdf/xpdf/GfxState.cc x = colToDbl(color->c[0]); c 1168 lib/pdf/xpdf/GfxState.cc func->transform(&x, c); c 1170 lib/pdf/xpdf/GfxState.cc color2.c[i] = dblToCol(c[i]); c 1177 lib/pdf/xpdf/GfxState.cc double c[gfxColorMaxComps]; c 1181 lib/pdf/xpdf/GfxState.cc x = colToDbl(color->c[0]); c 1182 lib/pdf/xpdf/GfxState.cc func->transform(&x, c); c 1184 lib/pdf/xpdf/GfxState.cc color2.c[i] = dblToCol(c[i]); c 1191 lib/pdf/xpdf/GfxState.cc double c[gfxColorMaxComps]; c 1195 lib/pdf/xpdf/GfxState.cc x = colToDbl(color->c[0]); c 1196 lib/pdf/xpdf/GfxState.cc func->transform(&x, c); c 1198 lib/pdf/xpdf/GfxState.cc color2.c[i] = dblToCol(c[i]); c 1204 lib/pdf/xpdf/GfxState.cc color->c[0] = gfxColorComp1; c 1310 lib/pdf/xpdf/GfxState.cc double x[gfxColorMaxComps], c[gfxColorMaxComps]; c 1315 lib/pdf/xpdf/GfxState.cc x[i] = colToDbl(color->c[i]); c 1317 lib/pdf/xpdf/GfxState.cc func->transform(x, c); c 1319 lib/pdf/xpdf/GfxState.cc color2.c[i] = dblToCol(c[i]); c 1325 lib/pdf/xpdf/GfxState.cc double x[gfxColorMaxComps], c[gfxColorMaxComps]; c 1330 lib/pdf/xpdf/GfxState.cc x[i] = colToDbl(color->c[i]); c 1332 lib/pdf/xpdf/GfxState.cc func->transform(x, c); c 1334 lib/pdf/xpdf/GfxState.cc color2.c[i] = dblToCol(c[i]); c 1340 lib/pdf/xpdf/GfxState.cc double x[gfxColorMaxComps], c[gfxColorMaxComps]; c 1345 lib/pdf/xpdf/GfxState.cc x[i] = colToDbl(color->c[i]); c 1347 lib/pdf/xpdf/GfxState.cc func->transform(x, c); c 1349 lib/pdf/xpdf/GfxState.cc color2.c[i] = dblToCol(c[i]); c 1358 lib/pdf/xpdf/GfxState.cc color->c[i] = gfxColorComp1; c 1413 lib/pdf/xpdf/GfxState.cc cmyk->c = cmyk->m = cmyk->y = 0; c 1645 lib/pdf/xpdf/GfxState.cc background.c[i] = shading->background.c[i]; c 1749 lib/pdf/xpdf/GfxState.cc background.c[i] = 0; c 1756 lib/pdf/xpdf/GfxState.cc background.c[i] = dblToCol(obj1.arrayGet(i, &obj2)->getNum()); c 1938 lib/pdf/xpdf/GfxState.cc color->c[i] = dblToCol(out[i]); c 2098 lib/pdf/xpdf/GfxState.cc color->c[i] = dblToCol(out[i]); c 2266 lib/pdf/xpdf/GfxState.cc color->c[i] = dblToCol(out[i]); c 2403 lib/pdf/xpdf/GfxState.cc Guint c[gfxColorMaxComps]; c 2512 lib/pdf/xpdf/GfxState.cc if (!bitBuf->getBits(compBits, &c[i])) { c 2527 lib/pdf/xpdf/GfxState.cc verticesA[nVerticesA].color.c[i] = c 2528 lib/pdf/xpdf/GfxState.cc dblToCol(cMin[i] + cMul[i] * (double)c[i]); c 2613 lib/pdf/xpdf/GfxState.cc in = colToDbl(vertices[v].color.c[0]); c 2618 lib/pdf/xpdf/GfxState.cc color0->c[j] = dblToCol(out[j]); c 2627 lib/pdf/xpdf/GfxState.cc in = colToDbl(vertices[v].color.c[0]); c 2632 lib/pdf/xpdf/GfxState.cc color1->c[j] = dblToCol(out[j]); c 2641 lib/pdf/xpdf/GfxState.cc in = colToDbl(vertices[v].color.c[0]); c 2646 lib/pdf/xpdf/GfxState.cc color2->c[j] = dblToCol(out[j]); c 2710 lib/pdf/xpdf/GfxState.cc GfxColorComp c[4][gfxColorMaxComps]; c 2832 lib/pdf/xpdf/GfxState.cc c[i][j] = dblToCol(cMin[j] + cMul[j] * (double)ci[j]); c 2875 lib/pdf/xpdf/GfxState.cc p->color[0][0].c[j] = c[0][j]; c 2876 lib/pdf/xpdf/GfxState.cc p->color[0][1].c[j] = c[1][j]; c 2877 lib/pdf/xpdf/GfxState.cc p->color[1][1].c[j] = c[2][j]; c 2878 lib/pdf/xpdf/GfxState.cc p->color[1][0].c[j] = c[3][j]; c 2907 lib/pdf/xpdf/GfxState.cc p->color[0][0].c[j] = patchesA[nPatchesA-1].color[0][1].c[j]; c 2908 lib/pdf/xpdf/GfxState.cc p->color[0][1].c[j] = patchesA[nPatchesA-1].color[1][1].c[j]; c 2909 lib/pdf/xpdf/GfxState.cc p->color[1][1].c[j] = c[0][j]; c 2910 lib/pdf/xpdf/GfxState.cc p->color[1][0].c[j] = c[1][j]; c 2939 lib/pdf/xpdf/GfxState.cc p->color[0][0].c[j] = patchesA[nPatchesA-1].color[1][1].c[j]; c 2940 lib/pdf/xpdf/GfxState.cc p->color[0][1].c[j] = patchesA[nPatchesA-1].color[1][0].c[j]; c 2941 lib/pdf/xpdf/GfxState.cc p->color[1][1].c[j] = c[0][j]; c 2942 lib/pdf/xpdf/GfxState.cc p->color[1][0].c[j] = c[1][j]; c 2971 lib/pdf/xpdf/GfxState.cc p->color[0][1].c[j] = patchesA[nPatchesA-1].color[1][0].c[j]; c 2972 lib/pdf/xpdf/GfxState.cc p->color[0][1].c[j] = patchesA[nPatchesA-1].color[0][0].c[j]; c 2973 lib/pdf/xpdf/GfxState.cc p->color[1][1].c[j] = c[0][j]; c 2974 lib/pdf/xpdf/GfxState.cc p->color[1][0].c[j] = c[1][j]; c 3014 lib/pdf/xpdf/GfxState.cc p->color[0][0].c[j] = c[0][j]; c 3015 lib/pdf/xpdf/GfxState.cc p->color[0][1].c[j] = c[1][j]; c 3016 lib/pdf/xpdf/GfxState.cc p->color[1][1].c[j] = c[2][j]; c 3017 lib/pdf/xpdf/GfxState.cc p->color[1][0].c[j] = c[3][j]; c 3054 lib/pdf/xpdf/GfxState.cc p->color[0][0].c[j] = patchesA[nPatchesA-1].color[0][1].c[j]; c 3055 lib/pdf/xpdf/GfxState.cc p->color[0][1].c[j] = patchesA[nPatchesA-1].color[1][1].c[j]; c 3056 lib/pdf/xpdf/GfxState.cc p->color[1][1].c[j] = c[0][j]; c 3057 lib/pdf/xpdf/GfxState.cc p->color[1][0].c[j] = c[1][j]; c 3094 lib/pdf/xpdf/GfxState.cc p->color[0][0].c[j] = patchesA[nPatchesA-1].color[1][1].c[j]; c 3095 lib/pdf/xpdf/GfxState.cc p->color[0][1].c[j] = patchesA[nPatchesA-1].color[1][0].c[j]; c 3096 lib/pdf/xpdf/GfxState.cc p->color[1][1].c[j] = c[0][j]; c 3097 lib/pdf/xpdf/GfxState.cc p->color[1][0].c[j] = c[1][j]; c 3134 lib/pdf/xpdf/GfxState.cc p->color[0][0].c[j] = patchesA[nPatchesA-1].color[1][0].c[j]; c 3135 lib/pdf/xpdf/GfxState.cc p->color[0][1].c[j] = patchesA[nPatchesA-1].color[0][0].c[j]; c 3136 lib/pdf/xpdf/GfxState.cc p->color[1][1].c[j] = c[0][j]; c 3137 lib/pdf/xpdf/GfxState.cc p->color[1][0].c[j] = c[1][j]; c 3386 lib/pdf/xpdf/GfxState.cc color.c[i] = lookup[i][x[0]]; c 3391 lib/pdf/xpdf/GfxState.cc color.c[i] = lookup[i][x[i]]; c 3403 lib/pdf/xpdf/GfxState.cc color.c[i] = lookup[i][x[0]]; c 3408 lib/pdf/xpdf/GfxState.cc color.c[i] = lookup[i][x[i]]; c 3420 lib/pdf/xpdf/GfxState.cc color.c[i] = lookup[i][x[0]]; c 3425 lib/pdf/xpdf/GfxState.cc color.c[i] = lookup[i][x[i]]; c 3436 lib/pdf/xpdf/GfxState.cc color->c[i] = dblToCol(decodeLow[i] + (x[i] * decodeRange[i]) / maxPixel); c 3684 lib/pdf/xpdf/GfxState.cc fillColor.c[0] = 0; c 3685 lib/pdf/xpdf/GfxState.cc strokeColor.c[0] = 0; c 3889 lib/pdf/xpdf/GfxState.cc ctm[2] = c; c 3914 lib/pdf/xpdf/GfxState.cc ctm[2] = c * a1 + d * c1; c 3915 lib/pdf/xpdf/GfxState.cc ctm[3] = c * b1 + d * d1; c 87 lib/pdf/xpdf/GfxState.h GfxColorComp c[gfxColorMaxComps]; c 109 lib/pdf/xpdf/GfxState.h GfxColorComp c, m, y, k; c 1127 lib/pdf/xpdf/GfxState.h void setCTM(double a, double b, double c, c 1129 lib/pdf/xpdf/GfxState.h void concatCTM(double a, double b, double c, c 1153 lib/pdf/xpdf/GfxState.h void setTextMat(double a, double b, double c, c 1155 lib/pdf/xpdf/GfxState.h { textMat[0] = a; textMat[1] = b; textMat[2] = c; c 185 lib/pdf/xpdf/GlobalParams.cc char c; c 213 lib/pdf/xpdf/GlobalParams.cc c = nameA->getChar(i); c 214 lib/pdf/xpdf/GlobalParams.cc if (c == ' ' || c == ',' || c == '-') { c 310 lib/pdf/xpdf/GlobalParams.cc char c; c 318 lib/pdf/xpdf/GlobalParams.cc c = name->getChar(i); c 319 lib/pdf/xpdf/GlobalParams.cc if (c == ' ' || c == ',' || c == '-') { c 115 lib/pdf/xpdf/JArithmeticDecoder.cc c = (buf0 ^ 0xff) << 16; c 117 lib/pdf/xpdf/JArithmeticDecoder.cc c <<= 7; c 154 lib/pdf/xpdf/JArithmeticDecoder.cc if (c < a) { c 176 lib/pdf/xpdf/JArithmeticDecoder.cc c <<= 1; c 181 lib/pdf/xpdf/JArithmeticDecoder.cc c -= a; c 201 lib/pdf/xpdf/JArithmeticDecoder.cc c <<= 1; c 313 lib/pdf/xpdf/JArithmeticDecoder.cc c = c + 0xfe00 - (buf0 << 9); c 319 lib/pdf/xpdf/JArithmeticDecoder.cc c = c + 0xff00 - (buf0 << 8); c 99 lib/pdf/xpdf/JArithmeticDecoder.h Guint c, a; c 282 lib/pdf/xpdf/JPXStream.cc gfree(palette.c); c 351 lib/pdf/xpdf/JPXStream.cc int c; c 357 lib/pdf/xpdf/JPXStream.cc c = readBuf & 0xff; c 360 lib/pdf/xpdf/JPXStream.cc c = (readBuf >> (readBufLen - 8)) & 0xff; c 363 lib/pdf/xpdf/JPXStream.cc c = EOF; c 365 lib/pdf/xpdf/JPXStream.cc c = (readBuf << (8 - readBufLen)) & 0xff; c 368 lib/pdf/xpdf/JPXStream.cc return c; c 372 lib/pdf/xpdf/JPXStream.cc int c; c 378 lib/pdf/xpdf/JPXStream.cc c = readBuf & 0xff; c 380 lib/pdf/xpdf/JPXStream.cc c = (readBuf >> (readBufLen - 8)) & 0xff; c 382 lib/pdf/xpdf/JPXStream.cc c = EOF; c 384 lib/pdf/xpdf/JPXStream.cc c = (readBuf << (8 - readBufLen)) & 0xff; c 386 lib/pdf/xpdf/JPXStream.cc return c; c 414 lib/pdf/xpdf/JPXStream.cc pix = palette.c[pix * palette.nComps + curComp]; c 658 lib/pdf/xpdf/JPXStream.cc palette.c = c 671 lib/pdf/xpdf/JPXStream.cc &palette.c[i * palette.nComps + j])) { c 3025 lib/pdf/xpdf/JPXStream.cc int c; c 3029 lib/pdf/xpdf/JPXStream.cc if ((c = str->getChar()) == EOF) { c 3032 lib/pdf/xpdf/JPXStream.cc } while (c != 0xff); c 3034 lib/pdf/xpdf/JPXStream.cc if ((c = str->getChar()) == EOF) { c 3037 lib/pdf/xpdf/JPXStream.cc } while (c == 0xff); c 3038 lib/pdf/xpdf/JPXStream.cc } while (c == 0x00); c 3039 lib/pdf/xpdf/JPXStream.cc *segType = c; c 3040 lib/pdf/xpdf/JPXStream.cc if ((c >= 0x30 && c <= 0x3f) || c 3041 lib/pdf/xpdf/JPXStream.cc c == 0x4f || c == 0x92 || c == 0x93 || c == 0xd9) { c 3096 lib/pdf/xpdf/JPXStream.cc int y, c, i; c 3100 lib/pdf/xpdf/JPXStream.cc if ((c = str->getChar()) == EOF) { c 3103 lib/pdf/xpdf/JPXStream.cc y = (y << 8) + c; c 3115 lib/pdf/xpdf/JPXStream.cc int c; c 3118 lib/pdf/xpdf/JPXStream.cc if (byteCount == 0 || (c = str->getChar()) == EOF) { c 3123 lib/pdf/xpdf/JPXStream.cc bitBuf = (bitBuf << 7) | (c & 0x7f); c 3126 lib/pdf/xpdf/JPXStream.cc bitBuf = (bitBuf << 8) | (c & 0xff); c 3129 lib/pdf/xpdf/JPXStream.cc bitBufSkip = c == 0xff; c 73 lib/pdf/xpdf/JPXStream.h int *c; // color data: c 93 lib/pdf/xpdf/Lexer.cc int c; c 95 lib/pdf/xpdf/Lexer.cc c = EOF; c 96 lib/pdf/xpdf/Lexer.cc while (!curStr.isNone() && (c = curStr.streamGetChar()) == EOF) { c 105 lib/pdf/xpdf/Lexer.cc return c; c 117 lib/pdf/xpdf/Lexer.cc int c, c2; c 128 lib/pdf/xpdf/Lexer.cc if ((c = getChar()) == EOF) { c 132 lib/pdf/xpdf/Lexer.cc if (c == '\r' || c == '\n') c 134 lib/pdf/xpdf/Lexer.cc } else if (c == '%') { c 136 lib/pdf/xpdf/Lexer.cc } else if (specialChars[c] != 1) { c 142 lib/pdf/xpdf/Lexer.cc switch (c) { c 150 lib/pdf/xpdf/Lexer.cc if (c == '-') { c 152 lib/pdf/xpdf/Lexer.cc } else if (c == '.') { c 155 lib/pdf/xpdf/Lexer.cc xi = c - '0'; c 158 lib/pdf/xpdf/Lexer.cc c = lookChar(); c 159 lib/pdf/xpdf/Lexer.cc if (isdigit(c)) { c 161 lib/pdf/xpdf/Lexer.cc xi = xi * 10 + (c - '0'); c 162 lib/pdf/xpdf/Lexer.cc } else if (c == '.') { c 177 lib/pdf/xpdf/Lexer.cc c = lookChar(); c 178 lib/pdf/xpdf/Lexer.cc if (c == '-') { c 185 lib/pdf/xpdf/Lexer.cc if (!isdigit(c)) { c 189 lib/pdf/xpdf/Lexer.cc xf = xf + scale * (c - '0'); c 206 lib/pdf/xpdf/Lexer.cc switch (c = getChar()) { c 220 lib/pdf/xpdf/Lexer.cc c2 = c; c 227 lib/pdf/xpdf/Lexer.cc c2 = c; c 232 lib/pdf/xpdf/Lexer.cc switch (c = getChar()) { c 251 lib/pdf/xpdf/Lexer.cc c2 = c; c 255 lib/pdf/xpdf/Lexer.cc c2 = c - '0'; c 256 lib/pdf/xpdf/Lexer.cc c = lookChar(); c 257 lib/pdf/xpdf/Lexer.cc if (c >= '0' && c <= '7') { c 259 lib/pdf/xpdf/Lexer.cc c2 = (c2 << 3) + (c - '0'); c 260 lib/pdf/xpdf/Lexer.cc c = lookChar(); c 261 lib/pdf/xpdf/Lexer.cc if (c >= '0' && c <= '7') { c 263 lib/pdf/xpdf/Lexer.cc c2 = (c2 << 3) + (c - '0'); c 268 lib/pdf/xpdf/Lexer.cc c = lookChar(); c 269 lib/pdf/xpdf/Lexer.cc if (c == '\n') { c 280 lib/pdf/xpdf/Lexer.cc c2 = c; c 286 lib/pdf/xpdf/Lexer.cc c2 = c; c 314 lib/pdf/xpdf/Lexer.cc while ((c = lookChar()) != EOF && !specialChars[c]) { c 316 lib/pdf/xpdf/Lexer.cc if (c == '#') { c 319 lib/pdf/xpdf/Lexer.cc c = c2 - '0'; c 321 lib/pdf/xpdf/Lexer.cc c = c2 - 'A' + 10; c 323 lib/pdf/xpdf/Lexer.cc c = c2 - 'a' + 10; c 328 lib/pdf/xpdf/Lexer.cc c <<= 4; c 331 lib/pdf/xpdf/Lexer.cc c += c2 - '0'; c 333 lib/pdf/xpdf/Lexer.cc c += c2 - 'A' + 10; c 335 lib/pdf/xpdf/Lexer.cc c += c2 - 'a' + 10; c 346 lib/pdf/xpdf/Lexer.cc *p++ = c; c 355 lib/pdf/xpdf/Lexer.cc tokBuf[0] = c; c 362 lib/pdf/xpdf/Lexer.cc c = lookChar(); c 365 lib/pdf/xpdf/Lexer.cc if (c == '<') { c 378 lib/pdf/xpdf/Lexer.cc c = getChar(); c 379 lib/pdf/xpdf/Lexer.cc if (c == '>') { c 381 lib/pdf/xpdf/Lexer.cc } else if (c == EOF) { c 384 lib/pdf/xpdf/Lexer.cc } else if (specialChars[c] != 1) { c 386 lib/pdf/xpdf/Lexer.cc if (c >= '0' && c <= '9') c 387 lib/pdf/xpdf/Lexer.cc c2 += c - '0'; c 388 lib/pdf/xpdf/Lexer.cc else if (c >= 'A' && c <= 'F') c 389 lib/pdf/xpdf/Lexer.cc c2 += c - 'A' + 10; c 390 lib/pdf/xpdf/Lexer.cc else if (c >= 'a' && c <= 'f') c 391 lib/pdf/xpdf/Lexer.cc c2 += c - 'a' + 10; c 424 lib/pdf/xpdf/Lexer.cc c = lookChar(); c 425 lib/pdf/xpdf/Lexer.cc if (c == '>') { c 449 lib/pdf/xpdf/Lexer.cc *p++ = c; c 451 lib/pdf/xpdf/Lexer.cc while ((c = lookChar()) != EOF && !specialChars[c]) { c 457 lib/pdf/xpdf/Lexer.cc *p++ = c; c 475 lib/pdf/xpdf/Lexer.cc int c; c 478 lib/pdf/xpdf/Lexer.cc c = getChar(); c 479 lib/pdf/xpdf/Lexer.cc if (c == EOF || c == '\n') { c 482 lib/pdf/xpdf/Lexer.cc if (c == '\r') { c 483 lib/pdf/xpdf/Lexer.cc if ((c = lookChar()) == '\n') { c 492 lib/pdf/xpdf/Lexer.cc return c >= 0 && c <= 0xff && specialChars[c] == 1; c 66 lib/pdf/xpdf/Lexer.h static GBool isSpace(int c); c 547 lib/pdf/xpdf/Link.cc char c; c 556 lib/pdf/xpdf/Link.cc c = uri->getChar(uri->getLength() - 1); c 557 lib/pdf/xpdf/Link.cc if (c == '/' || c == '?') { c 23 lib/pdf/xpdf/NameToCharCode.cc CharCode c; c 87 lib/pdf/xpdf/NameToCharCode.cc tab[h].c = c; c 98 lib/pdf/xpdf/NameToCharCode.cc return tab[h].c; c 30 lib/pdf/xpdf/NameToCharCode.h void add(char *name, CharCode c); c 389 lib/pdf/xpdf/PDFDoc.cc int c; c 396 lib/pdf/xpdf/PDFDoc.cc while ((c = str->getChar()) != EOF) { c 397 lib/pdf/xpdf/PDFDoc.cc fputc(c, f); c 55 lib/pdf/xpdf/PSTokenizer.cc int c; c 61 lib/pdf/xpdf/PSTokenizer.cc if ((c = getChar()) == EOF) { c 67 lib/pdf/xpdf/PSTokenizer.cc if (c == '\x0a' || c == '\x0d') { c 70 lib/pdf/xpdf/PSTokenizer.cc } else if (c == '%') { c 72 lib/pdf/xpdf/PSTokenizer.cc } else if (specialChars[c] != 1) { c 79 lib/pdf/xpdf/PSTokenizer.cc buf[i++] = c; c 80 lib/pdf/xpdf/PSTokenizer.cc if (c == '(') { c 82 lib/pdf/xpdf/PSTokenizer.cc while ((c = lookChar()) != EOF) { c 84 lib/pdf/xpdf/PSTokenizer.cc buf[i++] = c; c 87 lib/pdf/xpdf/PSTokenizer.cc if (c == '\\') { c 89 lib/pdf/xpdf/PSTokenizer.cc } else if (!backslash && c == ')') { c 95 lib/pdf/xpdf/PSTokenizer.cc } else if (c == '<') { c 96 lib/pdf/xpdf/PSTokenizer.cc while ((c = lookChar()) != EOF) { c 98 lib/pdf/xpdf/PSTokenizer.cc if (i < size - 1 && specialChars[c] != 1) { c 99 lib/pdf/xpdf/PSTokenizer.cc buf[i++] = c; c 101 lib/pdf/xpdf/PSTokenizer.cc if (c == '>') { c 105 lib/pdf/xpdf/PSTokenizer.cc } else if (c != '[' && c != ']') { c 106 lib/pdf/xpdf/PSTokenizer.cc while ((c = lookChar()) != EOF && !specialChars[c]) { c 109 lib/pdf/xpdf/PSTokenizer.cc buf[i++] = c; c 127 lib/pdf/xpdf/PSTokenizer.cc int c; c 132 lib/pdf/xpdf/PSTokenizer.cc c = charBuf; c 134 lib/pdf/xpdf/PSTokenizer.cc return c; c 48 lib/pdf/xpdf/Parser.cc int c; c 127 lib/pdf/xpdf/Parser.cc while ((c = decrypt->getChar()) != EOF) { c 128 lib/pdf/xpdf/Parser.cc s2->append((char)c); c 1633 lib/pdf/xpdf/Splash.cc (double)x, (double)y, c, c, c); c 1640 lib/pdf/xpdf/Splash.cc if (!font->getGlyph(c, xFrac, yFrac, &glyph)) { c 2829 lib/pdf/xpdf/Splash.cc Guchar alpha, alpha1, c, color0, color1, color2, color3; c 2842 lib/pdf/xpdf/Splash.cc c = (*p & mask) ? 0xff : 0x00; c 2843 lib/pdf/xpdf/Splash.cc c = div255(alpha1 * color0 + alpha * c); c 2844 lib/pdf/xpdf/Splash.cc if (c & 0x80) { c 150 lib/pdf/xpdf/Splash.h SplashError fillChar(SplashCoord x, SplashCoord y, int c, SplashFont *font); c 156 lib/pdf/xpdf/SplashFTFont.cc return SplashFont::getGlyph(c, xFrac, 0, bitmap); c 177 lib/pdf/xpdf/SplashFTFont.cc if (ff->codeToGID && c < ff->codeToGIDLen) { c 178 lib/pdf/xpdf/SplashFTFont.cc gid = (FT_UInt)ff->codeToGID[c]; c 180 lib/pdf/xpdf/SplashFTFont.cc gid = (FT_UInt)c; c 269 lib/pdf/xpdf/SplashFTFont.cc if (ff->codeToGID && c < ff->codeToGIDLen) { c 270 lib/pdf/xpdf/SplashFTFont.cc gid = ff->codeToGID[c]; c 272 lib/pdf/xpdf/SplashFTFont.cc gid = (FT_UInt)c; c 37 lib/pdf/xpdf/SplashFTFont.h virtual GBool getGlyph(int c, int xFrac, int yFrac, c 42 lib/pdf/xpdf/SplashFTFont.h virtual GBool makeGlyph(int c, int xFrac, int yFrac, c 49 lib/pdf/xpdf/SplashFTFont.h virtual SplashPath *getGlyphPath(int c); c 23 lib/pdf/xpdf/SplashFont.cc int c; c 113 lib/pdf/xpdf/SplashFont.cc i = (c & (cacheSets - 1)) * cacheAssoc; c 116 lib/pdf/xpdf/SplashFont.cc cacheTags[i+j].c == c && c 139 lib/pdf/xpdf/SplashFont.cc if (!makeGlyph(c, xFrac, yFrac, &bitmap2)) { c 160 lib/pdf/xpdf/SplashFont.cc cacheTags[i+j].c = c; c 68 lib/pdf/xpdf/SplashFont.h virtual GBool getGlyph(int c, int xFrac, int yFrac, c 73 lib/pdf/xpdf/SplashFont.h virtual GBool makeGlyph(int c, int xFrac, int yFrac, c 80 lib/pdf/xpdf/SplashFont.h virtual SplashPath *getGlyphPath(int c) = 0; c 936 lib/pdf/xpdf/SplashOutputDev.cc color[0] = colToByte(cmyk->c); c 982 lib/pdf/xpdf/SplashOutputDev.cc int c, substIdx, n, code, cmap; c 1021 lib/pdf/xpdf/SplashOutputDev.cc while ((c = strObj.streamGetChar()) != EOF) { c 1022 lib/pdf/xpdf/SplashOutputDev.cc fputc(c, tmpFile); c 1859 lib/pdf/xpdf/SplashOutputDev.cc *q++ = colToByte(cmyk.c); c 1948 lib/pdf/xpdf/SplashOutputDev.cc *q++ = colToByte(cmyk.c); c 2031 lib/pdf/xpdf/SplashOutputDev.cc imgData.lookup[4*i] = colToByte(cmyk.c); c 2141 lib/pdf/xpdf/SplashOutputDev.cc *q++ = colToByte(cmyk.c); c 2275 lib/pdf/xpdf/SplashOutputDev.cc imgData.lookup[4*i] = colToByte(cmyk.c); c 2407 lib/pdf/xpdf/SplashOutputDev.cc imgData.lookup[4*i] = colToByte(cmyk.c); c 2636 lib/pdf/xpdf/SplashOutputDev.cc color[0] = colToByte(cmyk.c); c 2752 lib/pdf/xpdf/SplashOutputDev.cc cmyk.c = gfxColorComp1 - rgb.r; c 39 lib/pdf/xpdf/SplashPattern.cc splashColorCopy(c, color); c 34 lib/pdf/xpdf/SplashPattern.h virtual void getColor(int x, int y, SplashColorPtr c) = 0; c 56 lib/pdf/xpdf/SplashPattern.h virtual void getColor(int x, int y, SplashColorPtr c); c 180 lib/pdf/xpdf/SplashT1Font.cc return SplashFont::getGlyph(c, 0, 0, bitmap); c 189 lib/pdf/xpdf/SplashT1Font.cc glyph = T1_AASetChar(t1libID, c, size, NULL); c 191 lib/pdf/xpdf/SplashT1Font.cc glyph = T1_SetChar(t1libID, c, size, NULL); c 242 lib/pdf/xpdf/SplashT1Font.cc if ((outline = T1_GetCharOutline(outlineID, c, outlineSize, NULL))) { c 35 lib/pdf/xpdf/SplashT1Font.h virtual GBool getGlyph(int c, int xFrac, int yFrac, c 40 lib/pdf/xpdf/SplashT1Font.h virtual GBool makeGlyph(int c, int xFrac, int yFrac, c 44 lib/pdf/xpdf/SplashT1Font.h virtual SplashPath *getGlyphPath(int c); c 71 lib/pdf/xpdf/Stream.cc int c; c 76 lib/pdf/xpdf/Stream.cc c = getChar(); c 77 lib/pdf/xpdf/Stream.cc if (c == EOF || c == '\n') c 79 lib/pdf/xpdf/Stream.cc if (c == '\r') { c 80 lib/pdf/xpdf/Stream.cc if ((c = lookChar()) == '\n') c 84 lib/pdf/xpdf/Stream.cc buf[i] = c; c 356 lib/pdf/xpdf/Stream.cc int c; c 361 lib/pdf/xpdf/Stream.cc c = str->getChar(); c 362 lib/pdf/xpdf/Stream.cc imgLine[i+0] = (Guchar)((c >> 7) & 1); c 363 lib/pdf/xpdf/Stream.cc imgLine[i+1] = (Guchar)((c >> 6) & 1); c 364 lib/pdf/xpdf/Stream.cc imgLine[i+2] = (Guchar)((c >> 5) & 1); c 365 lib/pdf/xpdf/Stream.cc imgLine[i+3] = (Guchar)((c >> 4) & 1); c 366 lib/pdf/xpdf/Stream.cc imgLine[i+4] = (Guchar)((c >> 3) & 1); c 367 lib/pdf/xpdf/Stream.cc imgLine[i+5] = (Guchar)((c >> 2) & 1); c 368 lib/pdf/xpdf/Stream.cc imgLine[i+6] = (Guchar)((c >> 1) & 1); c 369 lib/pdf/xpdf/Stream.cc imgLine[i+7] = (Guchar)(c & 1); c 457 lib/pdf/xpdf/Stream.cc int c; c 479 lib/pdf/xpdf/Stream.cc if ((c = str->getRawChar()) == EOF) { c 490 lib/pdf/xpdf/Stream.cc predLine[i] = predLine[i - pixBytes] + (Guchar)c; c 493 lib/pdf/xpdf/Stream.cc predLine[i] = predLine[i] + (Guchar)c; c 497 lib/pdf/xpdf/Stream.cc (Guchar)c; c 511 lib/pdf/xpdf/Stream.cc predLine[i] = left + (Guchar)c; c 513 lib/pdf/xpdf/Stream.cc predLine[i] = up + (Guchar)c; c 515 lib/pdf/xpdf/Stream.cc predLine[i] = upLeft + (Guchar)c; c 519 lib/pdf/xpdf/Stream.cc predLine[i] = (Guchar)c; c 929 lib/pdf/xpdf/Stream.cc c[0] = str->getChar(); c 930 lib/pdf/xpdf/Stream.cc } while (Lexer::isSpace(c[0])); c 931 lib/pdf/xpdf/Stream.cc if (c[0] == '~' || c[0] == EOF) { c 935 lib/pdf/xpdf/Stream.cc } else if (c[0] == 'z') { c 941 lib/pdf/xpdf/Stream.cc c[k] = str->getChar(); c 942 lib/pdf/xpdf/Stream.cc } while (Lexer::isSpace(c[k])); c 943 lib/pdf/xpdf/Stream.cc if (c[k] == '~' || c[k] == EOF) c 947 lib/pdf/xpdf/Stream.cc if (k < 5 && (c[k] == '~' || c[k] == EOF)) { c 949 lib/pdf/xpdf/Stream.cc c[k] = 0x21 + 84; c 954 lib/pdf/xpdf/Stream.cc t = t * 85 + (c[k] - 0x21); c 1136 lib/pdf/xpdf/Stream.cc int c; c 1140 lib/pdf/xpdf/Stream.cc if ((c = str->getChar()) == EOF) c 1142 lib/pdf/xpdf/Stream.cc inputBuf = (inputBuf << 8) | (c & 0xff); c 1209 lib/pdf/xpdf/Stream.cc int c; c 1214 lib/pdf/xpdf/Stream.cc c = str->getChar(); c 1215 lib/pdf/xpdf/Stream.cc if (c == 0x80 || c == EOF) { c 1219 lib/pdf/xpdf/Stream.cc if (c < 0x80) { c 1220 lib/pdf/xpdf/Stream.cc n = c + 1; c 1224 lib/pdf/xpdf/Stream.cc n = 0x101 - c; c 1225 lib/pdf/xpdf/Stream.cc c = str->getChar(); c 1227 lib/pdf/xpdf/Stream.cc buf[i] = (char)c; c 1820 lib/pdf/xpdf/Stream.cc int c; c 1823 lib/pdf/xpdf/Stream.cc if ((c = str->getChar()) == EOF) { c 1833 lib/pdf/xpdf/Stream.cc inputBuf = (inputBuf << 8) + c; c 2078 lib/pdf/xpdf/Stream.cc int c; c 2084 lib/pdf/xpdf/Stream.cc c = frameBuf[comp][y * bufWidth + x]; c 2102 lib/pdf/xpdf/Stream.cc c = rowBuf[comp][dy][x]; c 2115 lib/pdf/xpdf/Stream.cc return c; c 2157 lib/pdf/xpdf/Stream.cc int c; c 2163 lib/pdf/xpdf/Stream.cc c = readMarker(); c 2164 lib/pdf/xpdf/Stream.cc if (c != restartMarker) { c 2276 lib/pdf/xpdf/Stream.cc int c; c 2296 lib/pdf/xpdf/Stream.cc c = readMarker(); c 2297 lib/pdf/xpdf/Stream.cc if (c != restartMarker) { c 2379 lib/pdf/xpdf/Stream.cc int c; c 2399 lib/pdf/xpdf/Stream.cc while ((c = readHuffSym(acHuffTable)) == 0xf0 && run < 0x30) { c 2402 lib/pdf/xpdf/Stream.cc if (c == 9999) { c 2405 lib/pdf/xpdf/Stream.cc if (c == 0x00) { c 2408 lib/pdf/xpdf/Stream.cc run += (c >> 4) & 0x0f; c 2409 lib/pdf/xpdf/Stream.cc size = c & 0x0f; c 2428 lib/pdf/xpdf/Stream.cc int run, size, amp, bit, c; c 2477 lib/pdf/xpdf/Stream.cc if ((c = readHuffSym(acHuffTable)) == 9999) { c 2482 lib/pdf/xpdf/Stream.cc if (c == 0xf0) { c 2499 lib/pdf/xpdf/Stream.cc } else if ((c & 0x0f) == 0x00) { c 2500 lib/pdf/xpdf/Stream.cc j = c >> 4; c 2525 lib/pdf/xpdf/Stream.cc run = (c >> 4) & 0x0f; c 2526 lib/pdf/xpdf/Stream.cc size = c & 0x0f; c 2889 lib/pdf/xpdf/Stream.cc int c, c2; c 2892 lib/pdf/xpdf/Stream.cc if ((c = str->getChar()) == EOF) c 2894 lib/pdf/xpdf/Stream.cc if (c == 0xff) { c 2903 lib/pdf/xpdf/Stream.cc inputBuf = c; c 2914 lib/pdf/xpdf/Stream.cc int c = 0; c 2920 lib/pdf/xpdf/Stream.cc c = readMarker(); c 2921 lib/pdf/xpdf/Stream.cc switch (c) { c 2973 lib/pdf/xpdf/Stream.cc if (c >= 0xe0) { c 2979 lib/pdf/xpdf/Stream.cc error(getPos(), "Unknown DCT marker <%02x>", c); c 2993 lib/pdf/xpdf/Stream.cc int c; c 3011 lib/pdf/xpdf/Stream.cc c = str->getChar(); c 3012 lib/pdf/xpdf/Stream.cc compInfo[i].hSample = (c >> 4) & 0x0f; c 3013 lib/pdf/xpdf/Stream.cc compInfo[i].vSample = c & 0x0f; c 3024 lib/pdf/xpdf/Stream.cc int c; c 3042 lib/pdf/xpdf/Stream.cc c = str->getChar(); c 3043 lib/pdf/xpdf/Stream.cc compInfo[i].hSample = (c >> 4) & 0x0f; c 3044 lib/pdf/xpdf/Stream.cc compInfo[i].vSample = c & 0x0f; c 3053 lib/pdf/xpdf/Stream.cc int id, c; c 3091 lib/pdf/xpdf/Stream.cc c = str->getChar(); c 3092 lib/pdf/xpdf/Stream.cc scanInfo.dcHuffTable[j] = (c >> 4) & 0x0f; c 3093 lib/pdf/xpdf/Stream.cc scanInfo.acHuffTable[j] = c & 0x0f; c 3102 lib/pdf/xpdf/Stream.cc c = str->getChar(); c 3103 lib/pdf/xpdf/Stream.cc scanInfo.ah = (c >> 4) & 0x0f; c 3104 lib/pdf/xpdf/Stream.cc scanInfo.al = c & 0x0f; c 3146 lib/pdf/xpdf/Stream.cc int c; c 3170 lib/pdf/xpdf/Stream.cc c = str->getChar(); c 3173 lib/pdf/xpdf/Stream.cc tbl->numCodes[i] = c; c 3174 lib/pdf/xpdf/Stream.cc sym += c; c 3175 lib/pdf/xpdf/Stream.cc code = (code + c) << 1; c 3200 lib/pdf/xpdf/Stream.cc int c; c 3206 lib/pdf/xpdf/Stream.cc if ((c = str->getChar()) == EOF) { c 3210 lib/pdf/xpdf/Stream.cc buf[i] = c; c 3230 lib/pdf/xpdf/Stream.cc int c; c 3237 lib/pdf/xpdf/Stream.cc if ((c = str->getChar()) == EOF) { c 3240 lib/pdf/xpdf/Stream.cc buf[i] = c; c 3260 lib/pdf/xpdf/Stream.cc int c; c 3262 lib/pdf/xpdf/Stream.cc c = readMarker(); c 3263 lib/pdf/xpdf/Stream.cc if (c != 0xd9) { // EOI c 3271 lib/pdf/xpdf/Stream.cc int c; c 3275 lib/pdf/xpdf/Stream.cc c = str->getChar(); c 3276 lib/pdf/xpdf/Stream.cc } while (c != 0xff && c != EOF); c 3278 lib/pdf/xpdf/Stream.cc c = str->getChar(); c 3279 lib/pdf/xpdf/Stream.cc } while (c == 0xff); c 3280 lib/pdf/xpdf/Stream.cc } while (c == 0x00); c 3281 lib/pdf/xpdf/Stream.cc return c; c 4011 lib/pdf/xpdf/Stream.cc int c; c 4021 lib/pdf/xpdf/Stream.cc c = buf[index]; c 4024 lib/pdf/xpdf/Stream.cc return c; c 4028 lib/pdf/xpdf/Stream.cc int c; c 4038 lib/pdf/xpdf/Stream.cc c = buf[index]; c 4039 lib/pdf/xpdf/Stream.cc return c; c 4043 lib/pdf/xpdf/Stream.cc int c; c 4050 lib/pdf/xpdf/Stream.cc c = buf[index]; c 4053 lib/pdf/xpdf/Stream.cc return c; c 4077 lib/pdf/xpdf/Stream.cc int c; c 4118 lib/pdf/xpdf/Stream.cc if ((c = str->getChar()) == EOF) { c 4122 lib/pdf/xpdf/Stream.cc buf[j] = c & 0xff; c 4140 lib/pdf/xpdf/Stream.cc int c; c 4162 lib/pdf/xpdf/Stream.cc if ((c = str->getChar()) == EOF) c 4164 lib/pdf/xpdf/Stream.cc blockLen = c & 0xff; c 4165 lib/pdf/xpdf/Stream.cc if ((c = str->getChar()) == EOF) c 4167 lib/pdf/xpdf/Stream.cc blockLen |= (c & 0xff) << 8; c 4168 lib/pdf/xpdf/Stream.cc if ((c = str->getChar()) == EOF) c 4170 lib/pdf/xpdf/Stream.cc check = c & 0xff; c 4171 lib/pdf/xpdf/Stream.cc if ((c = str->getChar()) == EOF) c 4173 lib/pdf/xpdf/Stream.cc check |= (c & 0xff) << 8; c 4364 lib/pdf/xpdf/Stream.cc int c; c 4367 lib/pdf/xpdf/Stream.cc if ((c = str->getChar()) == EOF) { c 4370 lib/pdf/xpdf/Stream.cc codeBuf |= (c & 0xff) << codeSize; c 4383 lib/pdf/xpdf/Stream.cc int c; c 4386 lib/pdf/xpdf/Stream.cc if ((c = str->getChar()) == EOF) c 4388 lib/pdf/xpdf/Stream.cc codeBuf |= (c & 0xff) << codeSize; c 4391 lib/pdf/xpdf/Stream.cc c = codeBuf & ((1 << bits) - 1); c 4394 lib/pdf/xpdf/Stream.cc return c; c 4472 lib/pdf/xpdf/Stream.cc int c; c 4478 lib/pdf/xpdf/Stream.cc if ((c = str->getChar()) == EOF) { c 4486 lib/pdf/xpdf/Stream.cc *bufEnd++ = hex[(c >> 4) & 0x0f]; c 4487 lib/pdf/xpdf/Stream.cc *bufEnd++ = hex[c & 0x0f]; c 4615 lib/pdf/xpdf/Stream.cc int c, c1, c2; c 4645 lib/pdf/xpdf/Stream.cc c = 0; // make gcc happy c 4648 lib/pdf/xpdf/Stream.cc while (n < 128 && (c = str->getChar()) == c1) c 4653 lib/pdf/xpdf/Stream.cc if (c == EOF) { c 4656 lib/pdf/xpdf/Stream.cc buf[2] = c; c 4668 lib/pdf/xpdf/Stream.cc if ((c = str->getChar()) == EOF) { c 4673 lib/pdf/xpdf/Stream.cc buf[n] = c; c 389 lib/pdf/xpdf/Stream.h { int c = lookChar(); buf = EOF; return c; } c 419 lib/pdf/xpdf/Stream.h int c[5]; c 513 lib/pdf/xpdf/Stream.h { int c = lookChar(); buf = EOF; return c; } c 1951 lib/pdf/xpdf/TextOutputDev.cc if (c == (CharCode)0x20) { c 3906 lib/pdf/xpdf/TextOutputDev.cc text->addChar(state, x, y, dx, dy, c, nBytes, u, uLen); c 431 lib/pdf/xpdf/TextOutputDev.h CharCode c, int nBytes, Unicode *u, int uLen); c 596 lib/pdf/xpdf/TextOutputDev.h CharCode c, int nBytes, Unicode *u, int uLen); c 918 lib/pdf/xpdf/UnicodeTypeTable.cc if (c > 0xffff) { c 921 lib/pdf/xpdf/UnicodeTypeTable.cc i = (c >> 8) & 0xff; c 923 lib/pdf/xpdf/UnicodeTypeTable.cc type = typeTable[i].vector[c & 0xff]; c 930 lib/pdf/xpdf/UnicodeTypeTable.cc return getType(c) == 'L'; c 934 lib/pdf/xpdf/UnicodeTypeTable.cc return getType(c) == 'R'; c 940 lib/pdf/xpdf/UnicodeTypeTable.cc if (c > 0xffff) { c 941 lib/pdf/xpdf/UnicodeTypeTable.cc return c; c 943 lib/pdf/xpdf/UnicodeTypeTable.cc i = (c >> 8) & 0xff; c 945 lib/pdf/xpdf/UnicodeTypeTable.cc return caseTable[i]->codes[c & 0xff]; c 947 lib/pdf/xpdf/UnicodeTypeTable.cc return c; c 270 lib/pdf/xpdf/XRef.cc int c, n, i; c 275 lib/pdf/xpdf/XRef.cc if ((c = str->getChar()) == EOF) { c 278 lib/pdf/xpdf/XRef.cc buf[n] = c; c 565 lib/pdf/xpdf/XRef.cc int type, gen, c, newSize, i, j; c 589 lib/pdf/xpdf/XRef.cc if ((c = xrefStr->getChar()) == EOF) { c 592 lib/pdf/xpdf/XRef.cc type = (type << 8) + c; c 596 lib/pdf/xpdf/XRef.cc if ((c = xrefStr->getChar()) == EOF) { c 599 lib/pdf/xpdf/XRef.cc offset = (offset << 8) + c; c 602 lib/pdf/xpdf/XRef.cc if ((c = xrefStr->getChar()) == EOF) { c 605 lib/pdf/xpdf/XRef.cc gen = (gen << 8) + c; c 606 lib/pdf/xpdf/gfile.cc int c, i; c 610 lib/pdf/xpdf/gfile.cc if ((c = fgetc(f)) == EOF) { c 613 lib/pdf/xpdf/gfile.cc buf[i++] = (char)c; c 614 lib/pdf/xpdf/gfile.cc if (c == '\x0a') { c 617 lib/pdf/xpdf/gfile.cc if (c == '\x0d') { c 618 lib/pdf/xpdf/gfile.cc c = fgetc(f); c 619 lib/pdf/xpdf/gfile.cc if (c == '\x0a' && i < size - 1) { c 620 lib/pdf/xpdf/gfile.cc buf[i++] = (char)c; c 621 lib/pdf/xpdf/gfile.cc } else if (c != EOF) { c 622 lib/pdf/xpdf/gfile.cc ungetc(c, f); c 110 lib/png.c char a,b,c,f,i; c 117 lib/png.c c = data[10]; // compression mode (0) c 129 lib/png.c if(c!=0) { c 130 lib/png.c printf("Compression mode %d not supported!\n", c); c 157 lib/png.c int p = a + b - c; // initial estimate c 160 lib/png.c int pc = ABS(p - c); c 167 lib/png.c else return c; c 975 lib/png.c u32 c = t; c 978 lib/png.c c = (0xedb88320L*(c&1)) ^ (c >> 1); c 980 lib/png.c crc32_table[t] = c; c 1227 lib/png.c COL c = palette[i]; c 1231 lib/png.c palette[j] = c; c 259 lib/python/gfx.c gfxcolor_t c; c 260 lib/python/gfx.c c.r = r; c.g = g; c.b = b; c.a = a; c 271 lib/python/gfx.c self->output_device->fill(self->output_device, line, &c); c 298 lib/python/gfx.c gfxcolor_t c; c 299 lib/python/gfx.c c.r = r; c.g = g; c.b = b; c.a = a; c 305 lib/python/gfx.c self->output_device->stroke(self->output_device, line, width, &c, c 367 lib/python/primitives.c CXFORM c; c 368 lib/python/primitives.c c.r0 = r0; c.g0 = g0; c.b0 = b0; c.a0 = a0; c 369 lib/python/primitives.c c.r1 = r1; c.g1 = g1; c.b1 = b1; c.a1 = a1; c 372 lib/python/primitives.c self->cxform = c; c 17 lib/python/pyutils.h #define PY_CHECK_TYPE(o,c) ((o)->ob_type == (c)) c 18 lib/python/pyutils.h #define PY_ASSERT_TYPE(o,c) {if((o)->ob_type != (c)) {printf("Invalid type: %08x(%d)", (int)(o), (o)->ob_refcnt);exit(1);}} c 566 lib/q.c unsigned int c = t; c 569 lib/q.c c = (0xedb88320L*(c&1)) ^ (c >> 1); c 571 lib/q.c crc32[t] = c; c 663 lib/q.c unsigned char c = str->str[t]; c 664 lib/q.c *p++ = "0123456789abcdef"[c>>4]; c 665 lib/q.c *p++ = "0123456789abcdef"[c&0x0f]; c 197 lib/readers/swf.c character_t*c = (character_t*)map16_get_id(r->id2char, id); c 198 lib/readers/swf.c assert(c && c->type == TYPE_BITMAP); c 199 lib/readers/swf.c gfximage_t*img = (gfximage_t*)c->data; c 206 lib/readers/swf.c return c->data; c 213 lib/readers/swf.c gfxcolor_t c = *(gfxcolor_t*)&f->color; c 214 lib/readers/swf.c r->device->fill(r->device, line, &c); c 324 lib/readers/swf.c character_t*c = rfx_calloc(sizeof(character_t)); c 329 lib/readers/swf.c c->tag = tag; c 330 lib/readers/swf.c c->type = TYPE_SPRITE; c 331 lib/readers/swf.c c->data = s; c 332 lib/readers/swf.c map16_add_id(map, id, c); c 337 lib/readers/swf.c character_t*c = rfx_calloc(sizeof(character_t)); c 338 lib/readers/swf.c c->tag = tag; c 339 lib/readers/swf.c c->type = TYPE_SHAPE; c 340 lib/readers/swf.c map16_add_id(map, id, c); c 345 lib/readers/swf.c character_t*c = rfx_calloc(sizeof(character_t)); c 367 lib/readers/swf.c c->tag = tag; c 368 lib/readers/swf.c c->type = TYPE_FONT; c 369 lib/readers/swf.c c->data = font; c 370 lib/readers/swf.c map16_add_id(map, id, c); c 374 lib/readers/swf.c character_t*c = rfx_calloc(sizeof(character_t)); c 375 lib/readers/swf.c c->tag = tag; c 376 lib/readers/swf.c c->type = TYPE_TEXT; c 377 lib/readers/swf.c c->data = 0; c 378 lib/readers/swf.c map16_add_id(map, id, c); c 385 lib/readers/swf.c character_t*c = rfx_calloc(sizeof(character_t)); c 389 lib/readers/swf.c c->tag = tag; c 390 lib/readers/swf.c c->type = TYPE_BITMAP; c 391 lib/readers/swf.c c->data = b; c 392 lib/readers/swf.c map16_add_id(map, id, c); c 487 lib/readers/swf.c RGBA c = swf_ColorTransform(&l->color, cx); c 489 lib/readers/swf.c r->device->stroke(r->device, line, width, (gfxcolor_t*)&c, gfx_capRound, gfx_joinRound, 0.0); c 506 lib/readers/swf.c if(c->type == TYPE_SHAPE) { c 508 lib/readers/swf.c swf_ParseDefineShape(c->tag, &shape); c 535 lib/readers/swf.c } else if(c->type == TYPE_TEXT) { c 536 lib/readers/swf.c TAG* tag = c->tag; c 557 lib/readers/swf.c character_t*c = map16_get_id(r->id2char, p->po.id); c 558 lib/readers/swf.c if(!c) { c 562 lib/readers/swf.c if(c->type == TYPE_SPRITE) { c 566 lib/readers/swf.c sprite_t* s = (sprite_t*)c->data; c 568 lib/readers/swf.c map16_t* depths = extractFrame(c->tag->next, s->frameCount>0? p->age % s->frameCount : 0); c 582 lib/readers/swf.c renderCharacter(r, p, c); c 922 lib/rfxswf.h ActionTAG* action_PushBoolean(ActionTAG*atag, char c); c 1052 lib/rfxswf.h #define BC_KEY(c) (c<<9) c 1116 lib/rfxswf.h void swf_RenderShape(RENDERBUF*dest, SHAPE2*shape, MATRIX*m, CXFORM*c, U16 depth,U16 clipdepth); c 2093 lib/ttf.c U8 c = readU16(&r)>>8; c 156 lib/wav.c char c[16]; c 162 lib/wav.c c[0] = w32; c 163 lib/wav.c c[1] = w32>>8; c 164 lib/wav.c c[2] = w32>>16; c 165 lib/wav.c c[3] = w32>>24; c 166 lib/wav.c fwrite(c, 4, 1, fi); c 168 lib/wav.c c[0] = wav->tag; c 169 lib/wav.c c[1] = wav->tag>>8; c 170 lib/wav.c c[2] = wav->channels; c 171 lib/wav.c c[3] = wav->channels>>8; c 172 lib/wav.c c[4] = wav->sampsPerSec; c 173 lib/wav.c c[5] = wav->sampsPerSec>>8; c 174 lib/wav.c c[6] = wav->sampsPerSec>>16; c 175 lib/wav.c c[7] = wav->sampsPerSec>>24; c 176 lib/wav.c c[8] = wav->bytesPerSec; c 177 lib/wav.c c[9] = wav->bytesPerSec>>8; c 178 lib/wav.c c[10] = wav->bytesPerSec>>16; c 179 lib/wav.c c[11] = wav->bytesPerSec>>24; c 180 lib/wav.c c[12] = wav->align; c 181 lib/wav.c c[13] = wav->align>>8; c 182 lib/wav.c c[14] = wav->bps; c 183 lib/wav.c c[15] = wav->bps>>8; c 184 lib/wav.c fwrite(c, 16, 1, fi); c 186 lib/wav.c c[0] = wav->size; c 187 lib/wav.c c[1] = wav->size>>8; c 188 lib/wav.c c[2] = wav->size>>16; c 189 lib/wav.c c[3] = wav->size>>24; c 190 lib/wav.c fwrite(c,4,1,fi); c 374 lib/xml.c xmlconsumer_t c = {my_start_tag, my_data, my_end_tag, 0}; c 378 lib/xml.c xml_parse(&r, &c); c 216 src/gif2swf.c GifColorType c; c 277 src/gif2swf.c c = colormap->Colors[i]; c 281 src/gif2swf.c pal[i].r = c.Red; c 282 src/gif2swf.c pal[i].g = c.Green; c 283 src/gif2swf.c pal[i].b = c.Blue; c 504 src/jpeg2swf.c char*c = strchr(s, ':'); c 505 src/jpeg2swf.c if(!c) { c 509 src/jpeg2swf.c *c = 0; c 512 src/jpeg2swf.c move_y = atoi(c+1); c 119 src/parser.yy.c #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c) c 180 src/parser.yy.c #define unput(c) yyunput( c, (yytext_ptr) ) c 886 src/parser.yy.c int c = '*'; \ c 889 src/parser.yy.c (c = getc( yyin )) != EOF && c != '\n'; ++n ) \ c 890 src/parser.yy.c buf[n] = (char) c; \ c 891 src/parser.yy.c if ( c == '\n' ) \ c 892 src/parser.yy.c buf[n++] = (char) c; \ c 893 src/parser.yy.c if ( c == EOF && ferror( yyin ) ) \ c 1058 src/parser.yy.c {c();BEGIN(0);} c 1063 src/parser.yy.c {c();} c 1069 src/parser.yy.c {c();} c 1078 src/parser.yy.c {s(TWIP);c();BEGIN(0);} c 1087 src/parser.yy.c {s(NUMBER);c();BEGIN(0);} c 1093 src/parser.yy.c {c();} c 1099 src/parser.yy.c {c();} c 1104 src/parser.yy.c {s(STRING);c();BEGIN(0);} c 1112 src/parser.yy.c {c();printf("unterminated string in line %d: %s\n", line, yytext);exit(1);yyterminate();} c 1118 src/parser.yy.c {s(ASSIGNMENT);prefix="<plus>";c();BEGIN(R);} c 1124 src/parser.yy.c {s(ASSIGNMENT);prefix="<minus>";c();BEGIN(R);} c 1130 src/parser.yy.c {s(ASSIGNMENT);c();BEGIN(R);} c 1136 src/parser.yy.c {s(IDENTIFIER);c();BEGIN(0);} c 1148 src/parser.yy.c {s(COMMAND);c();} c 1154 src/parser.yy.c {s(RAWDATA);c();} c 1159 src/parser.yy.c {s(IDENTIFIER);c();} c 1164 src/parser.yy.c {c();BEGIN(BINARY);} c 1170 src/parser.yy.c {c();} c 1175 src/parser.yy.c {char c,c1=yytext[0]; c 1178 src/parser.yy.c c=input(); c 1179 src/parser.yy.c if(c=='\n' || c==EOF) c 1181 src/parser.yy.c printf("%c", c); c 1194 src/parser.yy.c {c(); c 1570 src/parser.yy.c *--yy_cp = (char) c; c 1585 src/parser.yy.c int c; c 1643 src/parser.yy.c c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */ c 1647 src/parser.yy.c YY_CURRENT_BUFFER_LVALUE->yy_at_bol = (c == '\n'); c 1649 src/parser.yy.c return c; c 94 src/pdf2pdf.c char*c = strchr(s, '='); c 95 src/pdf2pdf.c if(c && *c && c[1]) { c 96 src/pdf2pdf.c *c = 0; c 97 src/pdf2pdf.c c++; c 98 src/pdf2pdf.c driver->setparameter(driver, s,c); c 249 src/pdf2swf.c char*c = strchr(s, ':'); c 250 src/pdf2swf.c if(!c) { c 254 src/pdf2swf.c *c = 0; c 257 src/pdf2swf.c move_y = atoi(c+1); c 264 src/pdf2swf.c char*c = strchr(s, '='); c 265 src/pdf2swf.c if(c && *c && c[1]) { c 266 src/pdf2swf.c *c = 0; c 267 src/pdf2swf.c c++; c 268 src/pdf2swf.c store_parameter(s,c); c 174 src/png2swf.c char a,b,c,f,i; c 181 src/png2swf.c c = data[10]; // compression mode (0) c 187 src/png2swf.c if(VERBOSE(2)) printf("compression: %d\n", c); c 203 src/png2swf.c if(c!=0) { c 204 src/png2swf.c fprintf(stderr, "Compression mode %d not supported!\n", c); c 216 src/png2swf.c printf("%dx%d %d %d %d %d %d\n",header->width, header->height, a,b,c,f,i); c 232 src/png2swf.c int p = a + b - c; // initial estimate c 235 src/png2swf.c int pc = ABS(p - c); c 242 src/png2swf.c else return c; c 985 src/png2swf.c char*c = strchr(s, ':'); c 986 src/png2swf.c if(!c) { c 990 src/png2swf.c *c = 0; c 993 src/png2swf.c move_y = atoi(c+1); c 85 src/swfc-history.c m0 = (3 * previous->spline.a + 2 * previous->spline.b + previous->spline.c) * state_frames / previous_frames ; c 100 src/swfc-history.c state->spline.c = m0; c 119 src/swfc-history.c newState->spline.c = m0; c 139 src/swfc-history.c return (((s.a * fraction) + s.b) * fraction + s.c) * fraction + s.d; c 346 src/swfc-history.c RGBA c; c 347 src/swfc-history.c c.r = interpolateScalar(c1.r, c2.r, ratio, inter); c 348 src/swfc-history.c c.g = interpolateScalar(c1.g, c2.g, ratio, inter); c 349 src/swfc-history.c c.b = interpolateScalar(c1.b, c2.b, ratio, inter); c 350 src/swfc-history.c c.a = interpolateScalar(c1.a, c2.a, ratio, inter); c 351 src/swfc-history.c return c; c 66 src/swfc-history.h float a, b, c, d; c 279 src/swfc.c memset(c, 0, sizeof(character_t)); c 284 src/swfc.c character_t*c; c 285 src/swfc.c c = (character_t*)malloc(sizeof(character_t)); c 286 src/swfc.c character_init(c); c 287 src/swfc.c return c; c 304 src/swfc.c instance_t*c; c 305 src/swfc.c c = (instance_t*)malloc(sizeof(instance_t)); c 306 src/swfc.c instance_init(c); c 307 src/swfc.c return c; c 378 src/swfc.c character_t* c = character_new(); c 380 src/swfc.c c->definingTag = ctag; c 381 src/swfc.c c->id = id; c 382 src/swfc.c c->size = r; c 383 src/swfc.c dict_put(&characters, name, c); c 400 src/swfc.c character_t* c = character_new(); c 401 src/swfc.c c->definingTag = ctag; c 402 src/swfc.c c->id = id; c 403 src/swfc.c c->size = r; c 404 src/swfc.c dict_put(&images, name, c); c 411 src/swfc.c i->character = c; c 561 src/swfc.c RGBA c; c 562 src/swfc.c memset(&c, 0, sizeof(RGBA)); c 567 src/swfc.c noGradient->gradient.rgba[0] = c; c 569 src/swfc.c noGradient->gradient.rgba[1] = c; c 715 src/swfc.c character_t* c = dict_lookup(&characters, character); c 723 src/swfc.c if(!c) { c 730 src/swfc.c m = s_instancepos(c->size, &p); c 732 src/swfc.c r.id = c->id; c 1972 src/swfc.c character_t*c = 0; c 1980 src/swfc.c c = (character_t*)dict_lookup(&characters, character); c 1983 src/swfc.c swf_SetU16(tag, c->id); c 2135 src/swfc.c character_t* c = dict_lookup(&characters, name); c 2136 src/swfc.c if(!c) syntaxerror("character '%s' unknown(2)", name); c 2137 src/swfc.c return c->size; c 2142 src/swfc.c character_t * c; c 2144 src/swfc.c c = i->character; c 2145 src/swfc.c if(!c) syntaxerror("internal error(5)"); c 2146 src/swfc.c return c->size; c 2186 src/swfc.c character_t* c = dict_lookup(&characters, character); c 2189 src/swfc.c if(!c) { c 2192 src/swfc.c i = s_addinstance(instance, c, currentdepth); c 2198 src/swfc.c swf_ObjectPlace(tag, c->id, currentdepth, &m, &p.cxform, instance); c 2222 src/swfc.c character_t* c = dict_lookup(&characters, character); c 2225 src/swfc.c if(!c) c 2228 src/swfc.c i = s_addinstance(instance, c, currentdepth); c 2245 src/swfc.c setPlacement(tag, c->id, currentdepth, m, instance, &p, 0); c 2713 src/swfc.c RGBA c; c 2714 src/swfc.c if(!parseColor2(str, &c)) c 2716 src/swfc.c return c; c 2805 src/swfc.c RGBA c; c 2806 src/swfc.c return parseColor2(str, &c); c 786 src/swfextract.c U32 c = t; c 789 src/swfextract.c c = (0xedb88320L*(c&1)) ^ (c >> 1); c 791 src/swfextract.c crc32_table[t] = c; c 62 src/swfrender.c char*c = strchr(s, '='); c 66 src/swfrender.c if(c && *c && c[1]) { c 67 src/swfrender.c *c = 0; c 68 src/swfrender.c c++;