m 141 avi2swf/v2swf.c MATRIX m; m 151 avi2swf/v2swf.c swf_GetMatrix(NULL,&m); m 152 avi2swf/v2swf.c m.sx = 20*65536; m 153 avi2swf/v2swf.c m.sy = 20*65536; m 155 avi2swf/v2swf.c fs = swf_ShapeAddBitmapFillStyle(shape,&m,gfxid,0); m 328 avi2swf/v2swf.c MATRIX m; m 329 avi2swf/v2swf.c swf_GetMatrix(0, &m); m 330 avi2swf/v2swf.c m.sx = m.sy = i->scale; m 331 avi2swf/v2swf.c swf_ObjectPlace(i->tag,shapeid,shapeid,&m,0,0); m 179 lib/as3/abc.c m->index = array_length(file->methods); m 180 lib/as3/abc.c array_append(file->methods, NO_KEY, m); m 181 lib/as3/abc.c m->return_type = returntype; m 193 lib/as3/abc.c m->body = c; m 194 lib/as3/abc.c c->method = m; m 199 lib/as3/abc.c NEW(abc_method_t,m); m 200 lib/as3/abc.c abc_method_init(m, file, returntype, body); m 201 lib/as3/abc.c return m; m 209 lib/as3/abc.c abc_method_t* m = abc_method_new(cls->file, returntype, 1); m 210 lib/as3/abc.c cls->constructor = m; m 211 lib/as3/abc.c return m; m 219 lib/as3/abc.c abc_method_t* m = abc_method_new(cls->file, returntype, 1); m 220 lib/as3/abc.c cls->static_constructor = m; m 221 lib/as3/abc.c return m; m 260 lib/as3/abc.c trait->method = m; m 273 lib/as3/abc.c abc_method_t* m = abc_method_new(cls->file, returntype, !(cls->flags&CLASS_INTERFACE)); m 274 lib/as3/abc.c m->trait = trait_new_method(&cls->traits, multiname_clone(name), m); m 275 lib/as3/abc.c return m; m 280 lib/as3/abc.c abc_method_t* m = abc_method_new(cls->file, returntype, !(cls->flags&CLASS_INTERFACE)); m 281 lib/as3/abc.c m->trait = trait_new_method(&cls->static_traits, multiname_clone(name), m); m 282 lib/as3/abc.c return m; m 319 lib/as3/abc.c multiname_t*m = multiname_fromstring(multiname); m 320 lib/as3/abc.c trait_t*trait = trait_new(TRAIT_CLASS, m, slotid, 0, 0); m 330 lib/as3/abc.c multiname_t*m = multiname_clone(multiname); m 332 lib/as3/abc.c trait_t*trait = trait_new(TRAIT_CLASS, m, slotid, 0, 0); m 340 lib/as3/abc.c abc_method_t*m = abc_method_new(file, 0, 1); m 342 lib/as3/abc.c s->method = m; m 358 lib/as3/abc.c dict_put(methods_seen, m, 0); m 361 lib/as3/abc.c if(m->return_type) m 362 lib/as3/abc.c return_type = multiname_tostring(m->return_type); m 368 lib/as3/abc.c fprintf(fo, "%s %s=%s", return_type, name, m->name); m 369 lib/as3/abc.c params_dump(fo, m->parameters, m->optional_parameters); m 370 lib/as3/abc.c fprintf(fo, "(%d params, %d optional)\n", list_length(m->parameters), list_length(m->optional_parameters)); m 374 lib/as3/abc.c abc_method_body_t*c = m->body; m 394 lib/as3/abc.c if(m->trait) { m 395 lib/as3/abc.c fprintf(fo, " slot:%d", m->trait->slot_id); m 586 lib/as3/abc.c abc_method_t*m = trait->method; m 587 lib/as3/abc.c dump_method(fo, prefix, type, "method", name, m, file, methods_seen); m 589 lib/as3/abc.c abc_method_t*m = trait->method; m 590 lib/as3/abc.c dump_method(fo, prefix, type, "getter", name, m, file, methods_seen); m 592 lib/as3/abc.c abc_method_t*m = trait->method; m 593 lib/as3/abc.c dump_method(fo, prefix, type, "setter", name, m, file, methods_seen); m 595 lib/as3/abc.c abc_method_t*m = trait->method; m 596 lib/as3/abc.c dump_method(fo, prefix, type, "function", name, m, file, methods_seen); m 713 lib/as3/abc.c abc_method_t*m = (abc_method_t*)array_getvalue(file->methods, t); m 714 lib/as3/abc.c if(!dict_contains(methods_seen, m)) { m 721 lib/as3/abc.c sprintf(name, "%08x ", m->index); m 722 lib/as3/abc.c dump_method(fo, prefix, "", "internalmethod", name, m, file, methods_seen); m 753 lib/as3/abc.c NEW(abc_method_t,m); m 757 lib/as3/abc.c m->return_type = multiname_clone(pool_lookup_multiname(pool, return_type_index)); m 759 lib/as3/abc.c m->return_type = 0; m 767 lib/as3/abc.c list_append(m->parameters, param); m 772 lib/as3/abc.c m->name = strdup(pool_lookup_string(pool, namenr)); m 774 lib/as3/abc.c m->name = strdup(""); m 776 lib/as3/abc.c m->flags = swf_GetU8(tag); m 778 lib/as3/abc.c DEBUG printf("method %d) %s ", t, m->name); m 779 lib/as3/abc.c DEBUG params_dump(stdout, m->parameters, m->optional_parameters); m 780 lib/as3/abc.c DEBUG printf("flags=%02x\n", m->flags); m 782 lib/as3/abc.c if(m->flags&0x08) { m 783 lib/as3/abc.c m->optional_parameters = list_new(); m 790 lib/as3/abc.c list_append(m->optional_parameters, c); m 794 lib/as3/abc.c if(m->flags&0x80) { m 796 lib/as3/abc.c multiname_list_t*l = m->parameters; m 802 lib/as3/abc.c m->index = array_length(file->methods); m 803 lib/as3/abc.c array_append(file->methods, NO_KEY, m); m 830 lib/as3/abc.c multiname_t* m = multiname_clone(pool_lookup_multiname(pool, interface_index)); m 831 lib/as3/abc.c list_append(cls->interfaces, m); m 832 lib/as3/abc.c DEBUG printf(" class %d interface: %s\n", t, m->name); m 861 lib/as3/abc.c abc_method_t*m = (abc_method_t*)array_getvalue(file->methods, methodnr); m 872 lib/as3/abc.c c->method = m; m 873 lib/as3/abc.c m->body = c; m 941 lib/as3/abc.c abc_method_t*m = (abc_method_t*)array_getvalue(file->methods, init); m 945 lib/as3/abc.c s->method = m; m 971 lib/as3/abc.c NEW(abc_method_t,m);array_append(file->methods, NO_KEY, m); m 974 lib/as3/abc.c body->method = m; m->body = body; m 980 lib/as3/abc.c c->constructor = m; m 982 lib/as3/abc.c NEW(abc_method_t,m);array_append(file->methods, NO_KEY, m); m 983 lib/as3/abc.c c->constructor = m; m 987 lib/as3/abc.c NEW(abc_method_t,m);array_append(file->methods, NO_KEY, m); m 989 lib/as3/abc.c body->method = m; m->body = body; m 991 lib/as3/abc.c c->static_constructor = m; m 999 lib/as3/abc.c abc_method_t*m = (abc_method_t*)array_getvalue(file->methods, t); m 1000 lib/as3/abc.c m->index = t; m 1007 lib/as3/abc.c abc_method_body_t*m = (abc_method_body_t*)array_getvalue(file->method_bodies, t); m 1008 lib/as3/abc.c m->index = t; m 1013 lib/as3/abc.c abc_method_body_t*m = (abc_method_body_t*)array_getvalue(file->method_bodies, t); m 1014 lib/as3/abc.c m->stats = code_get_statistics(m->code, m->exceptions); m 1055 lib/as3/abc.c abc_method_t*m = (abc_method_t*)array_getvalue(file->methods, t); m 1057 lib/as3/abc.c multiname_list_t*l = m->parameters; m 1058 lib/as3/abc.c int num_params = list_length(m->parameters); m 1060 lib/as3/abc.c if(m->return_type) m 1061 lib/as3/abc.c swf_SetU30(tag, pool_register_multiname(pool, m->return_type)); m 1069 lib/as3/abc.c if(m->name) { m 1070 lib/as3/abc.c swf_SetU30(tag, pool_register_string(pool, m->name)); m 1075 lib/as3/abc.c U8 flags = m->flags&(METHOD_NEED_REST|METHOD_NEED_ARGUMENTS); m 1076 lib/as3/abc.c if(m->optional_parameters) m 1078 lib/as3/abc.c if(m->body) { m 1079 lib/as3/abc.c flags |= m->body->stats->flags; m 1084 lib/as3/abc.c swf_SetU30(tag, list_length(m->optional_parameters)); m 1085 lib/as3/abc.c constant_list_t*l = m->optional_parameters; m 1164 lib/as3/abc.c abc_method_t*m = c->method; m 1165 lib/as3/abc.c swf_SetU30(tag, m->index); m 1205 lib/as3/abc.c abc_method_body_t*m = (abc_method_body_t*)array_getvalue(file->method_bodies, t); m 1206 lib/as3/abc.c codestats_free(m->stats);m->stats=0; m 1256 lib/as3/abc.c abc_method_t*m = (abc_method_t*)array_getvalue(file->methods, t); m 1258 lib/as3/abc.c multiname_list_t*param = m->parameters; m 1263 lib/as3/abc.c list_free(m->parameters);m->parameters=0; m 1265 lib/as3/abc.c constant_list_t*opt = m->optional_parameters; m 1270 lib/as3/abc.c list_free(m->optional_parameters);m->optional_parameters=0; m 1272 lib/as3/abc.c if(m->name) { m 1273 lib/as3/abc.c free((void*)m->name);m->name=0; m 1275 lib/as3/abc.c if(m->return_type) { m 1276 lib/as3/abc.c multiname_destroy(m->return_type); m 1278 lib/as3/abc.c free(m); m 480 lib/as3/code.c multiname_t*m = (multiname_t*)data; m 481 lib/as3/code.c len += swf_SetU30(tag, pool_register_multiname(pool, m)); m 490 lib/as3/code.c abc_method_t*m = (abc_method_t*)data; m 491 lib/as3/code.c len += swf_SetU30(tag, m->index); m 500 lib/as3/code.c abc_method_body_t*m = (abc_method_body_t*)data; m 501 lib/as3/code.c len += swf_SetU30(tag, m->index); m 631 lib/as3/code.c multiname_t*m = (multiname_t*)c->data[0]; m 632 lib/as3/code.c if(multiname_late_namespace(m)) m 634 lib/as3/code.c if(multiname_late_name(m)) m 739 lib/as3/code.c abc_method_t*m = (abc_method_t*)(c->data[0]); m 740 lib/as3/code.c if(m->body && scope > m->body->init_scope_depth) m 741 lib/as3/code.c m->body->init_scope_depth = scope; m 958 lib/as3/code.c char* m = multiname_tostring(n); m 959 lib/as3/code.c fprintf(fo, "%s", m); m 960 lib/as3/code.c free(m); m 963 lib/as3/code.c char* m = namespace_tostring(ns); m 964 lib/as3/code.c fprintf(fo, "%s", m); m 965 lib/as3/code.c free(m); m 967 lib/as3/code.c abc_method_t*m = (abc_method_t*)data; m 968 lib/as3/code.c fprintf(fo, "[method %08x %s]", m->index, m->name); m 140 lib/as3/expr.c multiname_t*m = (multiname_t*)r->data[0]; m 141 lib/as3/expr.c write->data[0] = multiname_clone(m); m 142 lib/as3/expr.c if(m->type == QNAME || m->type == MULTINAME || m 143 lib/as3/expr.c m->type == QNAMEA || m->type == MULTINAMEA) { m 148 lib/as3/expr.c } else if(m->type == MULTINAMEL || m->type == MULTINAMELA || m 149 lib/as3/expr.c m->type == RTQNAME || m->type == RTQNAMEA) { m 186 lib/as3/expr.c multiname_t*m = (multiname_t*)r->data[0]; m 187 lib/as3/expr.c write->data[0] = multiname_clone(m); m 1613 lib/as3/expr.c multiname_t m = {MULTINAMEL, 0, &nsset, 0}; m 1615 lib/as3/expr.c c = abc_getproperty2(c, &m); m 437 lib/as3/import.c memberinfo_t*m = 0; m 439 lib/as3/import.c m = (memberinfo_t*)methodinfo_register_global(access, package, name); m 440 lib/as3/import.c m->return_type = resolve_class(filename, "return type", trait->method->return_type); m 446 lib/as3/import.c m = (memberinfo_t*)v; m 448 lib/as3/import.c m->flags |= FLAG_BUILTIN; m 449 lib/as3/import.c m->parent = 0; m 58 lib/as3/opcodes.c self->data[0] = m; m 107 lib/as3/opcodes.c self->data[0] = m; m 708 lib/as3/opcodes.c self->data[0] = m; m 714 lib/as3/opcodes.c self->data[0] = m; m 37 lib/as3/opcodes.h #define callmethod(method,m,v) (method->code = abc_callmethod(method->code,m,v)) m 58 lib/as3/opcodes.h #define callstatic(method,m,v) (method->code = abc_callstatic(method->code,m,v)) m 367 lib/as3/opcodes.h #define newclass(method,m) (method->code = abc_newclass(method->code,m)) m 370 lib/as3/opcodes.h #define newfunction(method,m) (method->code = abc_newfunction(method->code,m)) m 394 lib/as3/parser.tab.c NEW(methodstate_t,m); m 395 lib/as3/parser.tab.c m->allvars = dict_new(); m 396 lib/as3/parser.tab.c return m; m 400 lib/as3/parser.tab.c dict_destroy(m->unresolved_variables); m->unresolved_variables = 0; m 401 lib/as3/parser.tab.c list_free(m->innerfunctions);m->innerfunctions=0; m 403 lib/as3/parser.tab.c if(m->allvars) { m 404 lib/as3/parser.tab.c DICT_ITERATE_DATA(m->allvars, void*, data) {free(data);} m 405 lib/as3/parser.tab.c m->allvars = 0; m 457 lib/as3/parser.tab.c multiname_t m;\ m 458 lib/as3/parser.tab.c namespace_t m##_ns;\ m 460 lib/as3/parser.tab.c m##_ns.access = ((slotinfo_t*)(f))->access; \ m 461 lib/as3/parser.tab.c if(m##_ns.access == ACCESS_NAMESPACE) \ m 462 lib/as3/parser.tab.c m##_ns.name = ((slotinfo_t*)(f))->package; \ m 463 lib/as3/parser.tab.c else if(m##_ns.access == ACCESS_PROTECTED && (f)->parent) \ m 464 lib/as3/parser.tab.c m##_ns.name = concat3((f)->parent->package,":",(f)->parent->name); \ m 466 lib/as3/parser.tab.c m##_ns.name = ""; \ m 467 lib/as3/parser.tab.c m.type = QNAME; \ m 468 lib/as3/parser.tab.c m.ns = &m##_ns; \ m 469 lib/as3/parser.tab.c m.namespace_set = 0; \ m 470 lib/as3/parser.tab.c m.name = ((slotinfo_t*)(f))->name; \ m 472 lib/as3/parser.tab.c m.type = MULTINAME; \ m 473 lib/as3/parser.tab.c m.ns =0; \ m 474 lib/as3/parser.tab.c m.namespace_set = &nopackage_namespace_set; \ m 475 lib/as3/parser.tab.c m.name = n; \ m 480 lib/as3/parser.tab.c namespace_t m##_ns = {access, package}; \ m 481 lib/as3/parser.tab.c namespace_set_t m##_nsset; \ m 482 lib/as3/parser.tab.c namespace_list_t m##_l;m##_l.next = 0; \ m 483 lib/as3/parser.tab.c m##_nsset.namespaces = &m##_l; \ m 484 lib/as3/parser.tab.c m##_nsset = m##_nsset; \ m 485 lib/as3/parser.tab.c m##_l.namespace = &m##_ns; \ m 486 lib/as3/parser.tab.c multiname_t m = {MULTINAMEL, 0, &m##_nsset, 0}; m 676 lib/as3/parser.tab.c if(m && m->slots) m 677 lib/as3/parser.tab.c return dict_lookup(m->slots, name); m 713 lib/as3/parser.tab.c MULTINAME(m, type); m 714 lib/as3/parser.tab.c c = abc_coerce2(c, &m); m 829 lib/as3/parser.tab.c if(m->uses_slots || m->innerfunctions || (m->late_binding && !m->inner)) { m 833 lib/as3/parser.tab.c if(m->uses_slots) { m 836 lib/as3/parser.tab.c if(!m->activation_var) { m 837 lib/as3/parser.tab.c m->activation_var = alloc_local(); m 843 lib/as3/parser.tab.c c = abc_setlocal(c, m->activation_var); m 845 lib/as3/parser.tab.c c = abc_getlocal(c, m->activation_var); m 856 lib/as3/parser.tab.c c = add_scope_code(c, m, 1); m 858 lib/as3/parser.tab.c methodstate_list_t*l = m->innerfunctions; m 861 lib/as3/parser.tab.c if(m->uses_slots && l->methodstate->is_a_slot) { m 874 lib/as3/parser.tab.c if(m->header) { m 875 lib/as3/parser.tab.c c = code_append(c, m->header); m 876 lib/as3/parser.tab.c m->header = 0; m 878 lib/as3/parser.tab.c if(m->is_constructor && !m->has_super) { m 884 lib/as3/parser.tab.c if(m->slots) { m 887 lib/as3/parser.tab.c parserassert(m->activation_var); m 888 lib/as3/parser.tab.c DICT_ITERATE_ITEMS(m->slots,char*,name,variable_t*,v) { m 890 lib/as3/parser.tab.c c = abc_getlocal(c, m->activation_var); m 896 lib/as3/parser.tab.c list_free(m->innerfunctions); m 897 lib/as3/parser.tab.c m->innerfunctions = 0; m 998 lib/as3/parser.tab.c methodstate_list_t*l = m->innerfunctions; m 1000 lib/as3/parser.tab.c methodstate_t*m = l->methodstate; m 1002 lib/as3/parser.tab.c variable_t* v = new_variable2(state->method, m->info->name, TYPE_FUNCTION(m->info), 0, 0); m 1003 lib/as3/parser.tab.c m->var_index = v->index; m 1004 lib/as3/parser.tab.c if(m->is_a_slot) m 1005 lib/as3/parser.tab.c m->slot_index = m->is_a_slot; m 1006 lib/as3/parser.tab.c v->is_inner_method = m; m 1015 lib/as3/parser.tab.c if(m->inner) m 1016 lib/as3/parser.tab.c index = new_variable(m, "this", 0, 0, 0); m 1017 lib/as3/parser.tab.c else if(!m->is_global) m 1018 lib/as3/parser.tab.c index = new_variable(m, (flags&FLAG_STATIC)?"class":"this", state->cls?state->cls->info:0, 0, 0); m 1020 lib/as3/parser.tab.c index = new_variable(m, "globalscope", 0, 0, 0); m 1032 lib/as3/parser.tab.c variable_t*v = new_variable2(m, p->param->name, p->param->type, 0, 1); m 1035 lib/as3/parser.tab.c if(as3_pass==2 && m->need_arguments) { m 1039 lib/as3/parser.tab.c variable_t*v = new_variable2(m, "arguments", TYPE_ARRAY, 0, 0); m 1040 lib/as3/parser.tab.c m->need_arguments = v->index; m 1044 lib/as3/parser.tab.c innerfunctions2vars(m); m 1047 lib/as3/parser.tab.c m->scope_code = add_scope_code(m->scope_code, m, 0); m 1048 lib/as3/parser.tab.c if(m->slots) { m 1050 lib/as3/parser.tab.c DICT_ITERATE_ITEMS(m->slots, char*, name, variable_t*, v1) { m 1060 lib/as3/parser.tab.c if(m->allvars) { m 1061 lib/as3/parser.tab.c DICT_ITERATE_ITEMS(m->allvars, char*, name2, variable_t*, v2) { m 1185 lib/as3/parser.tab.c MULTINAME(m, mlist->classinfo); m 1186 lib/as3/parser.tab.c abc_class_add_interface(state->cls->abc, &m); m 1218 lib/as3/parser.tab.c abc_method_t*m = abc_class_getconstructor(state->cls->abc, 0); m 1220 lib/as3/parser.tab.c m->body->code = wrap_function(c, 0, m->body->code); m 1224 lib/as3/parser.tab.c abc_method_t*m = abc_class_getstaticconstructor(state->cls->abc, 0); m 1226 lib/as3/parser.tab.c m->body->code = wrap_function(c, 0, m->body->code); m 1293 lib/as3/parser.tab.c if(!m) m 1295 lib/as3/parser.tab.c if(m->parent == state->cls->info && !((flags^m->flags)&FLAG_STATIC)) m 1296 lib/as3/parser.tab.c syntaxerror("class '%s' already contains a method/slot '%s'", m->parent->name, m->name); m 1297 lib/as3/parser.tab.c if(!m->parent) m 1298 lib/as3/parser.tab.c syntaxerror("internal error: overriding method %s, which doesn't have parent", m->name); m 1299 lib/as3/parser.tab.c if(m->access==ACCESS_PRIVATE) m 1301 lib/as3/parser.tab.c if(m->flags & FLAG_FINAL) m 1302 lib/as3/parser.tab.c syntaxerror("can't override final member %s", m->name); m 1308 lib/as3/parser.tab.c if(!(m->flags & FLAG_STATIC) && (flags&FLAG_STATIC)) m 1309 lib/as3/parser.tab.c syntaxerror("can't override non-static member %s with static declaration", m->name); m 1311 lib/as3/parser.tab.c if(!(flags&FLAG_OVERRIDE) && !(flags&FLAG_STATIC) && !(m->flags&FLAG_STATIC)) { m 1312 lib/as3/parser.tab.c if(m->parent && !(m->parent->flags&FLAG_INTERFACE)) { m 1313 lib/as3/parser.tab.c if(m->kind == INFOTYPE_METHOD) m 1316 lib/as3/parser.tab.c syntaxerror("can't override '%s'", m->name); m 1331 lib/as3/parser.tab.c memberinfo_t* m = registry_findmember(state->cls->info, ns.name, name, 0, mod->flags&FLAG_STATIC); m 1332 lib/as3/parser.tab.c if(m) { m 1333 lib/as3/parser.tab.c syntaxerror("class already contains a %s '%s'", infotypename((slotinfo_t*)m), m->name); m 1476 lib/as3/parser.tab.c memberinfo_t*m = registry_findmember(state->cls->info, mod->ns, name, 2, mod->flags&FLAG_STATIC); m 1477 lib/as3/parser.tab.c check_override(m, mod->flags); m 1490 lib/as3/parser.tab.c parserassert(m->inner); m 1491 lib/as3/parser.tab.c if(m->unresolved_variables) { m 1492 lib/as3/parser.tab.c dict_t*d = m->unresolved_variables; m 1498 lib/as3/parser.tab.c m->uses_parent_function = 1; m 1504 lib/as3/parser.tab.c methodstate_list_t*ml = m->innerfunctions; m 1604 lib/as3/parser.tab.c multiname_t*m = sig2mname(p->param->type); m 1605 lib/as3/parser.tab.c list_append(f->parameters, m); m 1680 lib/as3/parser.tab.c MULTINAME(m, to); m 1684 lib/as3/parser.tab.c return abc_coerce2(c, &m); m 1696 lib/as3/parser.tab.c return abc_coerce2(c, &m); m 1707 lib/as3/parser.tab.c return abc_coerce2(c, &m); m 1709 lib/as3/parser.tab.c return abc_coerce2(c, &m); m 1711 lib/as3/parser.tab.c return abc_coerce2(c, &m); m 1719 lib/as3/parser.tab.c return abc_coerce2(c, &m); m 1725 lib/as3/parser.tab.c return abc_coerce2(c, &m); m 1752 lib/as3/parser.tab.c MULTINAME(m, t); m 1753 lib/as3/parser.tab.c return abc_coerce2(c, &m); m 1844 lib/as3/parser.tab.c MULTINAME(m, a); m 1845 lib/as3/parser.tab.c x.c = abc_findpropstrict2(x.c, &m); m 1846 lib/as3/parser.tab.c x.c = abc_getproperty2(x.c, &m); m 1867 lib/as3/parser.tab.c MULTINAME(m, c); m 1868 lib/as3/parser.tab.c x.c = abc_getlex2(x.c, &m); m 2114 lib/as3/parser.tab.c if(m) m 2115 lib/as3/parser.tab.c *m = *multiname_clone(&mname); m 2136 lib/as3/parser.tab.c multiname_t m = {0,0,0,subnode}; m 2139 lib/as3/parser.tab.c m.ns = &zero; m 2140 lib/as3/parser.tab.c m.type = attr?QNAMEA:QNAME; m 2148 lib/as3/parser.tab.c m.type = attr?RTQNAMEA:RTQNAME; m 2152 lib/as3/parser.tab.c v.c = abc_getproperty2(v.c, &m); m 2154 lib/as3/parser.tab.c v.c = abc_getdescendants2(v.c, &m); m 2234 lib/as3/parser.tab.c multiname_t m = {QNAME, &ns, 0, name}; m 2235 lib/as3/parser.tab.c o.c = abc_findpropstrict2(o.c, &m); m 2236 lib/as3/parser.tab.c o.c = abc_getproperty2(o.c, &m); m 2243 lib/as3/parser.tab.c MEMBER_MULTINAME(m, f, name); m 2245 lib/as3/parser.tab.c o.c = abc_getproperty2(o.c, &m); m 2291 lib/as3/parser.tab.c multiname_t m = {MULTINAME, 0, &nopackage_namespace_set, name}; m 2294 lib/as3/parser.tab.c o.c = abc_findpropstrict2(o.c, &m); m 2295 lib/as3/parser.tab.c o.c = abc_getproperty2(o.c, &m); m 6385 lib/as3/parser.tab.c MULTINAME(m, (yyvsp[(2) - (3)].classinfo)); m 6386 lib/as3/parser.tab.c t->type_name = multiname_clone(&m); m 6566 lib/as3/parser.tab.c multiname_t m = {QNAME, &stdns, 0, "XML"}; m 6569 lib/as3/parser.tab.c v.c = abc_getlex2(v.c, &m); m 7377 lib/as3/parser.tab.c MULTINAME(m, c); m 7378 lib/as3/parser.tab.c (yyval.value).c = abc_findpropstrict2(0, &m); m 7380 lib/as3/parser.tab.c (yyval.value).c = abc_constructprop2((yyval.value).c, &m, (yyvsp[(4) - (4)].value_list).number); m 7516 lib/as3/parser.tab.c MULTINAME_LATE(m, v.t?v.t->access:ACCESS_PACKAGE, ""); m 7517 lib/as3/parser.tab.c (yyval.value).c = abc_deleteproperty2((yyval.value).c, &m); m 7841 lib/as3/parser.tab.c multiname_t m = {QNAME, &stdns, 0, "RegExp"}; m 7843 lib/as3/parser.tab.c v.c = abc_getlex2(v.c, &m); m 7847 lib/as3/parser.tab.c v.c = abc_getlex2(v.c, &m); m 8475 lib/as3/parser.tab.c MEMBER_MULTINAME(m, f, (yyvsp[(3) - (3)].id)); m 8479 lib/as3/parser.tab.c v.c = abc_getsuper2(v.c, &m); m 8495 lib/as3/parser.tab.c multiname_t m = {MULTINAMEA, 0, &nopackage_namespace_set, (yyvsp[(2) - (2)].id)}; m 8496 lib/as3/parser.tab.c v.c = abc_getlex2(0, &m); m 8536 lib/as3/parser.tab.c multiname_t m = {QNAME, &stdns, 0, "XMLList"}; m 8537 lib/as3/parser.tab.c c = abc_getlex2(c, &m); m 8632 lib/as3/parser.tab.c multiname_t m = {MULTINAME, 0, &nopackage_namespace_set, (yyvsp[(3) - (3)].id)}; m 8633 lib/as3/parser.tab.c v.c = abc_getdescendants2(v.c, &m); m 8663 lib/as3/parser.tab.c multiname_t m = {MULTINAMEL, 0, &nopackage_namespace_set, 0}; m 8666 lib/as3/parser.tab.c v.c = abc_getproperty2(v.c, &m); m 8682 lib/as3/parser.tab.c multiname_t m = {MULTINAMEA, 0, &nopackage_namespace_set, (yyvsp[(4) - (4)].id)}; m 8683 lib/as3/parser.tab.c v.c = abc_getproperty2(v.c, &m); m 8712 lib/as3/parser.tab.c multiname_t m = {MULTINAMEA, 0, &nopackage_namespace_set, (yyvsp[(4) - (4)].id)}; m 8713 lib/as3/parser.tab.c v.c = abc_getdescendants2(v.c, &m); m 8743 lib/as3/parser.tab.c multiname_t m = {MULTINAMELA, 0, &nopackage_namespace_set, 0}; m 8746 lib/as3/parser.tab.c v.c = abc_getproperty2(v.c, &m); m 8763 lib/as3/parser.tab.c multiname_t m = {MULTINAMELA, 0, &nopackage_namespace_set, 0}; m 8766 lib/as3/parser.tab.c v.c = abc_getdescendants2(v.c, &m); m 8790 lib/as3/parser.tab.c multiname_t m = {MULTINAME, 0, &nopackage_namespace_set, (yyvsp[(3) - (3)].id)}; m 8791 lib/as3/parser.tab.c (yyval.value).c = abc_getproperty2((yyval.value).c, &m); m 8810 lib/as3/parser.tab.c MEMBER_MULTINAME(m, f, (yyvsp[(3) - (3)].id)); m 8811 lib/as3/parser.tab.c (yyval.value).c = abc_getproperty2((yyval.value).c, &m); m 8838 lib/as3/parser.tab.c multiname_t m = {MULTINAME, 0, &nopackage_namespace_set, (yyvsp[(3) - (3)].id)}; m 8839 lib/as3/parser.tab.c (yyval.value).c = abc_getproperty2((yyval.value).c, &m); m 8950 lib/as3/parser.tab.c MULTINAME(m, TYPE_NAMESPACE); m 8953 lib/as3/parser.tab.c t->type_name = multiname_clone(&m); m 404 lib/as3/pool.c if(!m) m 406 lib/as3/pool.c unsigned int hash = crc32_add_byte(0, m->type); m 407 lib/as3/pool.c if(m->name) { m 408 lib/as3/pool.c hash = crc32_add_string(hash, m->name); m 410 lib/as3/pool.c if(m->ns) { m 411 lib/as3/pool.c hash = crc32_add_byte(hash, m->ns->access); m 412 lib/as3/pool.c hash = crc32_add_string(hash, m->ns->name); m 414 lib/as3/pool.c if(m->namespace_set) { m 415 lib/as3/pool.c namespace_list_t*l = m->namespace_set->namespaces; m 454 lib/as3/pool.c NEW(multiname_t,m); m 455 lib/as3/pool.c m->type = QNAME; m 457 lib/as3/pool.c m->ns = namespace_new_packageinternal(""); m 459 lib/as3/pool.c m->ns = namespace_clone(ns); m 461 lib/as3/pool.c m->name = strdup(name); m 462 lib/as3/pool.c return m; m 469 lib/as3/pool.c NEW(multiname_t,m); m 470 lib/as3/pool.c m->type = other->type; m 472 lib/as3/pool.c m->ns = namespace_clone(other->ns); m 474 lib/as3/pool.c m->namespace_set = namespace_set_clone(other->namespace_set); m 476 lib/as3/pool.c m->name = strdup(other->name); m 477 lib/as3/pool.c return m; m 500 lib/as3/pool.c if(!m) m 502 lib/as3/pool.c return (m->type==RTQNAME || m->type==RTQNAMEA || m 503 lib/as3/pool.c m->type==RTQNAMEL || m->type==RTQNAMELA); m 508 lib/as3/pool.c if(!m) m 510 lib/as3/pool.c return m->type==RTQNAMEL || m->type==RTQNAMELA || m 511 lib/as3/pool.c m->type==MULTINAMEL || m->type==MULTINAMELA; m 517 lib/as3/pool.c if(!m) m 519 lib/as3/pool.c if(m->type==0xff) m 522 lib/as3/pool.c char*name = m->name?escape_string(m->name):strdup("*"); m 525 lib/as3/pool.c if(m->type==QNAME || m->type==QNAMEA || m->type==POSTFIXTYPE) { m 526 lib/as3/pool.c char*nsname = m->ns?escape_string(m->ns->name):strdup("NULL"); m 529 lib/as3/pool.c if(m->type == QNAMEA) m 532 lib/as3/pool.c if(m->ns) { m 534 lib/as3/pool.c strcat(mname,access2str(m->ns->access)); m 541 lib/as3/pool.c } else if(m->type==RTQNAME || m->type==RTQNAMEA) { m 544 lib/as3/pool.c if(m->type == RTQNAMEA) m 548 lib/as3/pool.c } else if(m->type==RTQNAMEL) { m 550 lib/as3/pool.c } else if(m->type==RTQNAMELA) { m 552 lib/as3/pool.c } else if(m->type==MULTINAME || m->type==MULTINAMEA) { m 553 lib/as3/pool.c char*s = namespace_set_tostring(m->namespace_set); m 555 lib/as3/pool.c if(m->type == MULTINAME) m 563 lib/as3/pool.c } else if(m->type==MULTINAMEL || m->type==MULTINAMELA) { m 564 lib/as3/pool.c char*s = namespace_set_tostring(m->namespace_set); m 566 lib/as3/pool.c if(m->type == MULTINAMEL) m 604 lib/as3/pool.c multiname_t*m = malloc(sizeof(multiname_t)); m 605 lib/as3/pool.c memset(m, 0, sizeof(multiname_t)); m 606 lib/as3/pool.c m->type = QNAME; m 607 lib/as3/pool.c m->namespace_set = 0; m 608 lib/as3/pool.c m->ns = namespace_fromstring(namespace); m 609 lib/as3/pool.c m->name = name?strdup(name):0; m 611 lib/as3/pool.c return m; m 616 lib/as3/pool.c if(m) { m 617 lib/as3/pool.c if(m->name) { m 618 lib/as3/pool.c free((void*)m->name);m->name = 0; m 620 lib/as3/pool.c if(m->ns) { m 621 lib/as3/pool.c namespace_destroy(m->ns);m->ns = 0; m 623 lib/as3/pool.c if(m->namespace_set) { m 624 lib/as3/pool.c namespace_set_destroy(m->namespace_set);m->namespace_set = 0; m 626 lib/as3/pool.c m->type=0; m 627 lib/as3/pool.c free(m); m 1162 lib/as3/pool.c multiname_t m; m 1163 lib/as3/pool.c memset(&m, 0, sizeof(multiname_t)); m 1170 lib/as3/pool.c m.type = swf_GetU8(tag); m 1171 lib/as3/pool.c if(m.type==0x07 || m.type==0x0d) { m 1173 lib/as3/pool.c m.ns = (namespace_t*)array_getkey(pool->x_namespaces, namespace_index); m 1174 lib/as3/pool.c if(!m.ns) { m 1179 lib/as3/pool.c m.name = pool_lookup_string(pool, name_index); m 1180 lib/as3/pool.c } else if(m.type==0x0f || m.type==0x10) { m 1183 lib/as3/pool.c m.name = pool_lookup_string(pool, name_index); m 1184 lib/as3/pool.c } else if(m.type==0x11 || m.type==0x12) { m 1185 lib/as3/pool.c } else if(m.type==0x09 || m.type==0x0e) { m 1189 lib/as3/pool.c m.name = pool_lookup_string(pool, name_index); m 1190 lib/as3/pool.c m.namespace_set = (namespace_set_t*)array_getkey(pool->x_namespace_sets, namespace_set_index); m 1191 lib/as3/pool.c } else if(m.type==0x1b || m.type==0x1c) { m 1193 lib/as3/pool.c m.namespace_set = (namespace_set_t*)array_getkey(pool->x_namespace_sets, namespace_set_index); m 1194 lib/as3/pool.c } else if(m.type==0x1d) { m 1199 lib/as3/pool.c m = *(multiname_t*)array_getkey(pool->x_multinames, v1); m 1201 lib/as3/pool.c printf("can't parse type %d multinames yet\n", m.type); m 1203 lib/as3/pool.c DEBUG printf("multiname %d) %s\n", t, multiname_tostring(&m)); m 1204 lib/as3/pool.c array_append(pool->x_multinames, &m, 0); m 1256 lib/as3/pool.c multiname_t*m = (multiname_t*)array_getkey(pool->x_multinames, t); m 1257 lib/as3/pool.c char*s = multiname_tostring(m); m 1272 lib/as3/pool.c multiname_t*m = (multiname_t*)array_getkey(pool->x_multinames, t); m 1273 lib/as3/pool.c if(m->ns) { m 1274 lib/as3/pool.c pool_register_namespace(pool, m->ns); m 1276 lib/as3/pool.c if(m->namespace_set) { m 1277 lib/as3/pool.c pool_register_namespace_set(pool, m->namespace_set); m 1279 lib/as3/pool.c if(m->name) { m 1280 lib/as3/pool.c pool_register_string(pool, m->name); m 1351 lib/as3/pool.c multiname_t*m = (multiname_t*)array_getkey(pool->x_multinames, t); m 1352 lib/as3/pool.c swf_SetU8(tag, m->type); m 1354 lib/as3/pool.c if(m->ns) { m 1355 lib/as3/pool.c assert(m->type==0x07 || m->type==0x0d); m 1356 lib/as3/pool.c int i = pool_find_namespace(pool, m->ns); m 1357 lib/as3/pool.c if(i<0) fprintf(stderr, "internal error: unregistered namespace %02x %s %s\n", m->ns->access, access2str(m->ns->access), m->ns->name); m 1360 lib/as3/pool.c assert(m->type!=0x07 && m->type!=0x0d); m 1363 lib/as3/pool.c if(m->name) { m 1364 lib/as3/pool.c assert(m->type==0x09 || m->type==0x0e || m->type==0x07 || m->type==0x0d || m->type==0x0f || m->type==0x10); m 1365 lib/as3/pool.c int i = pool_find_string(pool, m->name); m 1369 lib/as3/pool.c if(m->type == 0x09) { m 1372 lib/as3/pool.c assert(m->type!=0x0e && m->type!=0x07 && m->type!=0x0d && m->type!=0x0f && m->type!=0x10); m 1374 lib/as3/pool.c if(m->namespace_set) { m 1375 lib/as3/pool.c assert(m->type==0x09 || m->type==0x0e || m->type==0x1c || m->type==0x1b); m 1376 lib/as3/pool.c int i = pool_find_namespace_set(pool, m->namespace_set); m 1380 lib/as3/pool.c assert(m->type!=0x09 && m->type!=0x0e && m->type!=0x1c && m->type!=0x1b); m 107 lib/as3/registry.c methodinfo_t*m=(methodinfo_t*)s; m 108 lib/as3/registry.c if(m->parent) { m 109 lib/as3/registry.c registry_use((slotinfo_t*)m->parent); m 171 lib/as3/registry.c DICT_ITERATE_DATA(&cls->members,slotinfo_t*,m) { m 172 lib/as3/registry.c resolve_on_slot(m); m 220 lib/as3/registry.c NEW(methodinfo_t,m); m 221 lib/as3/registry.c m->kind = INFOTYPE_METHOD; m 222 lib/as3/registry.c m->access = access; m 223 lib/as3/registry.c m->name = name; m 224 lib/as3/registry.c m->package = ns; m 225 lib/as3/registry.c m->parent = cls; m 227 lib/as3/registry.c dict_put(&cls->members, m, m); m 229 lib/as3/registry.c dict_put(&cls->static_members, m, m); m 230 lib/as3/registry.c return m; m 234 lib/as3/registry.c NEW(varinfo_t,m); m 235 lib/as3/registry.c m->kind = INFOTYPE_VAR; m 236 lib/as3/registry.c m->access = access; m 237 lib/as3/registry.c m->name = name; m 238 lib/as3/registry.c m->package = ns; m 239 lib/as3/registry.c m->parent = cls; m 241 lib/as3/registry.c dict_put(&cls->members, m, m); m 243 lib/as3/registry.c dict_put(&cls->static_members, m, m); m 244 lib/as3/registry.c return m; m 248 lib/as3/registry.c NEW(methodinfo_t, m); m 249 lib/as3/registry.c m->kind = INFOTYPE_METHOD; m 250 lib/as3/registry.c m->flags = FLAG_STATIC; m 251 lib/as3/registry.c m->access = access; m 252 lib/as3/registry.c m->package = package; m 253 lib/as3/registry.c m->name = name; m 254 lib/as3/registry.c m->parent = 0; m 255 lib/as3/registry.c dict_put(registry_classes, m, m); m 257 lib/as3/registry.c schedule_for_resolve((slotinfo_t*)m); m 258 lib/as3/registry.c return m; m 262 lib/as3/registry.c NEW(varinfo_t, m); m 263 lib/as3/registry.c m->kind = INFOTYPE_VAR; m 264 lib/as3/registry.c m->flags = FLAG_STATIC; m 265 lib/as3/registry.c m->access = access; m 266 lib/as3/registry.c m->package = package; m 267 lib/as3/registry.c m->name = name; m 268 lib/as3/registry.c m->parent = 0; m 269 lib/as3/registry.c dict_put(registry_classes, m, m); m 271 lib/as3/registry.c schedule_for_resolve((slotinfo_t*)m); m 272 lib/as3/registry.c return m; m 328 lib/as3/registry.c slotinfo_t*m = 0; m 339 lib/as3/registry.c m = (slotinfo_t*)dict_lookup(&s->members, &tmp); m 340 lib/as3/registry.c if(m) return (memberinfo_t*)m; m 342 lib/as3/registry.c m = (slotinfo_t*)dict_lookup(&s->static_members, &tmp); m 343 lib/as3/registry.c if(m) return (memberinfo_t*)m; m 354 lib/as3/registry.c m = (slotinfo_t*)dict_lookup(&s->members, &tmp); m 355 lib/as3/registry.c if(m) return (memberinfo_t*)m; m 357 lib/as3/registry.c m = (slotinfo_t*)dict_lookup(&s->static_members, &tmp); m 358 lib/as3/registry.c if(m) return (memberinfo_t*)m; m 370 lib/as3/registry.c memberinfo_t*m = 0; m 372 lib/as3/registry.c m = registry_findmember(cls, ns->namespace->name, name, superclasses, is_static); m 373 lib/as3/registry.c if(m) return m; m 376 lib/as3/registry.c m = registry_findmember(cls, "", name, superclasses, is_static); m 377 lib/as3/registry.c if(m) return m; m 381 lib/as3/registry.c m = registry_findmember(cls, "http://adobe.com/AS3/2006/builtin", name, superclasses, is_static); m 382 lib/as3/registry.c if(m) return m; m 389 lib/as3/registry.c m->type = QNAME; m 390 lib/as3/registry.c m->ns = n; m 391 lib/as3/registry.c m->ns->access = c->access; m 392 lib/as3/registry.c m->ns->name = (char*)c->package; m 393 lib/as3/registry.c m->name = c->name; m 394 lib/as3/registry.c m->namespace_set = 0; m 400 lib/as3/registry.c multiname_t*m=0; m 588 lib/as3/registry.c methodinfo_t*m = (methodinfo_t*)s; m 146 lib/as3/registry.h multiname_t m;\ m 147 lib/as3/registry.h namespace_t m##_ns;\ m 149 lib/as3/registry.h registry_fill_multiname(&m, &m##_ns, (slotinfo_t*)(x)); m 2418 lib/as3/tokenizer.yy.c {c(); BEGIN(REGEXPOK);return m('{');} m 2423 lib/as3/tokenizer.yy.c {c(); return m('<');} m 2428 lib/as3/tokenizer.yy.c {c(); return m('/');} m 2433 lib/as3/tokenizer.yy.c {c(); return m('>');} m 2438 lib/as3/tokenizer.yy.c {c(); return m('=');} m 2466 lib/as3/tokenizer.yy.c {c(); BEGIN(REGEXPOK);return m('{');} m 2471 lib/as3/tokenizer.yy.c {c(); BEGIN(XML);return m('<');} m 2476 lib/as3/tokenizer.yy.c {c(); return m('>');} m 2541 lib/as3/tokenizer.yy.c {c(); BEGIN(REGEXPOK);return m(T_DICTSTART);} m 2546 lib/as3/tokenizer.yy.c {c(); BEGIN(DEFAULT); return m('{');} m 2598 lib/as3/tokenizer.yy.c {c(); BEGIN(DEFAULT);return m(KW_NAN);} m 2646 lib/as3/tokenizer.yy.c {l();BEGIN(DEFAULT);return m(KW_DEFAULT_XML);} m 2671 lib/as3/tokenizer.yy.c {c();BEGIN(REGEXPOK);return m(T_ANDAND);} m 2676 lib/as3/tokenizer.yy.c {c();BEGIN(REGEXPOK);return m(T_OROR);} m 2681 lib/as3/tokenizer.yy.c {c();BEGIN(REGEXPOK);return m(T_NE);} m 2686 lib/as3/tokenizer.yy.c {c();BEGIN(REGEXPOK);return m(T_NEE);} m 2691 lib/as3/tokenizer.yy.c {c();BEGIN(REGEXPOK);return m(T_EQEQEQ);} m 2696 lib/as3/tokenizer.yy.c {c();BEGIN(REGEXPOK);return m(T_EQEQ);} m 2701 lib/as3/tokenizer.yy.c {c();BEGIN(REGEXPOK);return m(T_GE);} m 2706 lib/as3/tokenizer.yy.c {c();BEGIN(REGEXPOK);return m(T_LE);} m 2711 lib/as3/tokenizer.yy.c {c();BEGIN(DEFAULT);return m(T_MINUSMINUS);} m 2716 lib/as3/tokenizer.yy.c {c();BEGIN(DEFAULT);return m(T_PLUSPLUS);} m 2721 lib/as3/tokenizer.yy.c {c();BEGIN(REGEXPOK);return m(T_PLUSBY);} m 2726 lib/as3/tokenizer.yy.c {c();BEGIN(REGEXPOK);return m(T_XORBY);} m 2731 lib/as3/tokenizer.yy.c {c();BEGIN(REGEXPOK);return m(T_MINUSBY);} m 2736 lib/as3/tokenizer.yy.c {c();BEGIN(REGEXPOK);return m(T_DIVBY);} m 2741 lib/as3/tokenizer.yy.c {c();BEGIN(REGEXPOK);return m(T_MODBY);} m 2746 lib/as3/tokenizer.yy.c {c();BEGIN(REGEXPOK);return m(T_MULBY);} m 2751 lib/as3/tokenizer.yy.c {c();BEGIN(REGEXPOK);return m(T_ORBY);} m 2756 lib/as3/tokenizer.yy.c {c();BEGIN(REGEXPOK);return m(T_ANDBY);} m 2761 lib/as3/tokenizer.yy.c {c();BEGIN(REGEXPOK);return m(T_SHRBY);} m 2766 lib/as3/tokenizer.yy.c {c();BEGIN(REGEXPOK);return m(T_SHLBY);} m 2771 lib/as3/tokenizer.yy.c {c();BEGIN(REGEXPOK);return m(T_USHRBY);} m 2776 lib/as3/tokenizer.yy.c {c();BEGIN(REGEXPOK);return m(T_SHL);} m 2781 lib/as3/tokenizer.yy.c {c();BEGIN(REGEXPOK);return m(T_USHR);} m 2786 lib/as3/tokenizer.yy.c {c();BEGIN(REGEXPOK);return m(T_SHR);} m 2791 lib/as3/tokenizer.yy.c {c();BEGIN(REGEXPOK);return m(T_DOTDOTDOT);} m 2796 lib/as3/tokenizer.yy.c {c();BEGIN(REGEXPOK);return m(T_DOTDOT);} m 2801 lib/as3/tokenizer.yy.c {c();BEGIN(REGEXPOK);return m('.');} m 2806 lib/as3/tokenizer.yy.c {c();BEGIN(REGEXPOK);return m(T_COLONCOLON);} m 2811 lib/as3/tokenizer.yy.c {c();BEGIN(REGEXPOK);return m(':');} m 2816 lib/as3/tokenizer.yy.c {c();BEGIN(REGEXPOK);return m(KW_INSTANCEOF);} m 2821 lib/as3/tokenizer.yy.c {c();BEGIN(REGEXPOK);return m(KW_IMPLEMENTS);} m 2826 lib/as3/tokenizer.yy.c {c();BEGIN(DEFAULT);return m(KW_INTERFACE);} m 2831 lib/as3/tokenizer.yy.c {c();BEGIN(DEFAULT);return m(KW_PROTECTED);} m 2836 lib/as3/tokenizer.yy.c {c();BEGIN(DEFAULT);return m(KW_NAMESPACE);} m 2841 lib/as3/tokenizer.yy.c {c();BEGIN(DEFAULT);return m(KW_UNDEFINED);} m 2846 lib/as3/tokenizer.yy.c {c();BEGIN(DEFAULT);return m(KW_ARGUMENTS);} m 2851 lib/as3/tokenizer.yy.c {c();BEGIN(DEFAULT);return m(KW_CONTINUE);} m 2856 lib/as3/tokenizer.yy.c {c();BEGIN(DEFAULT);return m(KW_OVERRIDE);} m 2861 lib/as3/tokenizer.yy.c {c();BEGIN(DEFAULT);return m(KW_INTERNAL);} m 2866 lib/as3/tokenizer.yy.c {c();BEGIN(DEFAULT);return m(KW_FUNCTION);} m 2871 lib/as3/tokenizer.yy.c {c();BEGIN(DEFAULT);return m(KW_FINALLY);} m 2876 lib/as3/tokenizer.yy.c {c();BEGIN(DEFAULT);return m(KW_DEFAULT);} m 2881 lib/as3/tokenizer.yy.c {c();BEGIN(DEFAULT);return m(KW_PACKAGE);} m 2886 lib/as3/tokenizer.yy.c {c();BEGIN(DEFAULT);return m(KW_PRIVATE);} m 2891 lib/as3/tokenizer.yy.c {c();BEGIN(DEFAULT);return m(KW_DYNAMIC);} m 2896 lib/as3/tokenizer.yy.c {c();BEGIN(DEFAULT);return m(KW_EXTENDS);} m 2901 lib/as3/tokenizer.yy.c {c();BEGIN(REGEXPOK);return m(KW_DELETE);} m 2906 lib/as3/tokenizer.yy.c {c();BEGIN(REGEXPOK);return m(KW_RETURN);} m 2911 lib/as3/tokenizer.yy.c {c();BEGIN(DEFAULT);return m(KW_PUBLIC);} m 2916 lib/as3/tokenizer.yy.c {c();BEGIN(DEFAULT);return m(KW_NATIVE);} m 2921 lib/as3/tokenizer.yy.c {c();BEGIN(DEFAULT);return m(KW_STATIC);} m 2926 lib/as3/tokenizer.yy.c {c();BEGIN(REGEXPOK);return m(KW_IMPORT);} m 2931 lib/as3/tokenizer.yy.c {c();BEGIN(REGEXPOK);return m(KW_TYPEOF);} m 2936 lib/as3/tokenizer.yy.c {c();BEGIN(REGEXPOK);return m(KW_THROW);} m 2941 lib/as3/tokenizer.yy.c {c();BEGIN(DEFAULT);return m(KW_CLASS);} m 2946 lib/as3/tokenizer.yy.c {c();BEGIN(DEFAULT);return m(KW_CONST);} m 2951 lib/as3/tokenizer.yy.c {c();BEGIN(DEFAULT);return m(KW_CATCH);} m 2956 lib/as3/tokenizer.yy.c {c();BEGIN(DEFAULT);return m(KW_FINAL);} m 2961 lib/as3/tokenizer.yy.c {c();BEGIN(DEFAULT);return m(KW_FALSE);} m 2966 lib/as3/tokenizer.yy.c {c();BEGIN(DEFAULT);return m(KW_BREAK);} m 2971 lib/as3/tokenizer.yy.c {c();BEGIN(DEFAULT);return m(KW_SUPER);} m 2976 lib/as3/tokenizer.yy.c {c();BEGIN(DEFAULT);return m(KW_EACH);} m 2981 lib/as3/tokenizer.yy.c {c();BEGIN(DEFAULT);return m(KW_VOID);} m 2986 lib/as3/tokenizer.yy.c {c();BEGIN(DEFAULT);return m(KW_TRUE);} m 2991 lib/as3/tokenizer.yy.c {c();BEGIN(DEFAULT);return m(KW_NULL);} m 2996 lib/as3/tokenizer.yy.c {c();BEGIN(DEFAULT);return m(KW_ELSE);} m 3001 lib/as3/tokenizer.yy.c {c();BEGIN(REGEXPOK);return m(KW_CASE);} m 3006 lib/as3/tokenizer.yy.c {c();BEGIN(REGEXPOK);return m(KW_WITH);} m 3011 lib/as3/tokenizer.yy.c {c();BEGIN(REGEXPOK);return m(KW_USE);} m 3016 lib/as3/tokenizer.yy.c {c();BEGIN(REGEXPOK);return m(KW_NEW);} m 3021 lib/as3/tokenizer.yy.c {c();BEGIN(DEFAULT);return m(KW_GET);} m 3026 lib/as3/tokenizer.yy.c {c();BEGIN(DEFAULT);return m(KW_SET);} m 3031 lib/as3/tokenizer.yy.c {c();BEGIN(DEFAULT);return m(KW_VAR);} m 3036 lib/as3/tokenizer.yy.c {c();BEGIN(DEFAULT);return m(KW_TRY);} m 3041 lib/as3/tokenizer.yy.c {c();BEGIN(REGEXPOK);return m(KW_IS) ;} m 3046 lib/as3/tokenizer.yy.c {c();BEGIN(REGEXPOK);return m(KW_IN) ;} m 3051 lib/as3/tokenizer.yy.c {c();BEGIN(DEFAULT);return m(KW_IF) ;} m 3056 lib/as3/tokenizer.yy.c {c();BEGIN(REGEXPOK);return m(KW_AS);} m 3066 lib/as3/tokenizer.yy.c {c();BEGIN(DEFAULT);return m(as3_text[0]);} m 3071 lib/as3/tokenizer.yy.c {c();BEGIN(REGEXPOK);return m(as3_text[0]);} m 3076 lib/as3/tokenizer.yy.c {c();BEGIN(DEFAULT);return m(as3_text[0]);} m 3095 lib/as3/tokenizer.yy.c return m(T_EOF); m 450 lib/devices/pdf.c gfxmatrix_t m = *matrix; m 452 lib/devices/pdf.c m.m00*=64; m 453 lib/devices/pdf.c m.m01*=64; m 454 lib/devices/pdf.c m.m10*=64; m 455 lib/devices/pdf.c m.m11*=64; m 457 lib/devices/pdf.c m.m10 = -m.m10; m 458 lib/devices/pdf.c m.m11 = -m.m11; m 461 lib/devices/pdf.c if(!(fabs(m.m00 - i->m00) < 1e-6 && m 462 lib/devices/pdf.c fabs(m.m01 - i->m01) < 1e-6 && m 463 lib/devices/pdf.c fabs(m.m10 - i->m10) < 1e-6 && m 464 lib/devices/pdf.c fabs(m.m11 - i->m11) < 1e-6)) { m 465 lib/devices/pdf.c set_matrix(i, m.m00, m.m01, m.m10, m.m11); m 468 lib/devices/pdf.c transform_back(i, m.tx+i->config_xpad, m.ty+i->config_ypad, &tx, &ty); m 303 lib/devices/record.c m->tx = reader_readDouble(r); m 304 lib/devices/record.c m->ty = reader_readDouble(r); m 494 lib/devices/record.c gfxmatrix_t m = state->last_matrix[id]; m 495 lib/devices/record.c readXY(r, state, &m); m 496 lib/devices/record.c return m; m 498 lib/devices/record.c gfxmatrix_t m = readMatrix(r, state); m 499 lib/devices/record.c state->last_matrix[id] = m; m 500 lib/devices/record.c return m; m 811 lib/devices/record.c gfxmatrix_t m = {1,0,0, 0,1,0}; m 310 lib/devices/render.c gfxmatrix_t*m = info->matrix; m 319 lib/devices/render.c double det = m->m00*m->m11 - m->m01*m->m10; m 325 lib/devices/render.c double xx1 = ( (-m->tx) * m->m11 - (y - m->ty) * m->m10) * det; m 326 lib/devices/render.c double yy1 = (- (-m->tx) * m->m01 + (y - m->ty) * m->m00) * det; m 327 lib/devices/render.c double xinc1 = m->m11 * det; m 328 lib/devices/render.c double yinc1 = m->m01 * det; m 372 lib/devices/render.c gfxmatrix_t*m = info->matrix; m 375 lib/devices/render.c double det = m->m00*m->m11 - m->m01*m->m10; m 382 lib/devices/render.c double xx1 = ( (-m->tx) * m->m11 - (y - m->ty) * m->m10) * det; m 383 lib/devices/render.c double yy1 = (- (-m->tx) * m->m01 + (y - m->ty) * m->m00) * det; m 384 lib/devices/render.c double xinc1 = m->m11 * det; m 385 lib/devices/render.c double yinc1 = m->m01 * det; m 578 lib/devices/swf.c b = swf_TurnRect(b, m); m 787 lib/devices/swf.c if(!buf || matrix_diff(&buf->matrix,m)) { m 789 lib/devices/swf.c n->matrix = *m; m 1044 lib/devices/swf.c MATRIX m; m 1045 lib/devices/swf.c swf_GetMatrix(0, &m); m 1046 lib/devices/swf.c m.tx = button_sizex*20+200; m 1047 lib/devices/swf.c swf_ObjectPlace(i->tag, buttonid2, 65534,&m,0,0); m 1049 lib/devices/swf.c m.tx = button_sizex*20+200+200; m 1050 lib/devices/swf.c swf_ObjectPlace(i->tag, buttonid1, 65535,&m,0,0); m 1397 lib/devices/swf.c MATRIX m = i->page_matrix; m 1398 lib/devices/swf.c m.tx += i->shapeposx; m 1399 lib/devices/swf.c m.ty += i->shapeposy; m 1400 lib/devices/swf.c swf_ObjectPlace(i->tag,i->shapeid,getNewDepth(dev),&m,NULL,NULL); m 1979 lib/devices/swf.c MATRIX m; m 1980 lib/devices/swf.c m = i->page_matrix; m 1981 lib/devices/swf.c m.tx = p.x; m 1982 lib/devices/swf.c m.ty = p.y; m 1983 lib/devices/swf.c swf_ObjectPlace(i->tag, buttonid, getNewDepth(dev),&m,0,(U8*)name); m 2354 lib/devices/swf.c MATRIX m; m 2355 lib/devices/swf.c m.sx = (int)(65536*20*matrix->m00*fx); m.r1 = (int)(65536*20*matrix->m10*fy); m 2356 lib/devices/swf.c m.r0 = (int)(65536*20*matrix->m01*fx); m.sy = (int)(65536*20*matrix->m11*fy); m 2357 lib/devices/swf.c m.tx = (int)(matrix->tx*20); m 2358 lib/devices/swf.c m.ty = (int)(matrix->ty*20); m 2365 lib/devices/swf.c int fsid = swf_ShapeAddBitmapFillStyle(shape,&m,bitid,1); m 2774 lib/devices/swf.c MATRIX m; m 2775 lib/devices/swf.c m.sx = (int)(matrix->m00*20*f); m.r1 = (int)(matrix->m10*20*f); m 2776 lib/devices/swf.c m.r0 = (int)(matrix->m01*20*f); m.sy = (int)(matrix->m11*20*f); m 2777 lib/devices/swf.c m.tx = (int)(matrix->tx*20); m 2778 lib/devices/swf.c m.ty = (int)(matrix->ty*20); m 2785 lib/devices/swf.c int fsid = swf_ShapeAddGradientFillStyle(shape,&m,swfgradient,type==gfxgradient_radial); m 3039 lib/devices/swf.c MATRIX m; m 3040 lib/devices/swf.c swf_GetMatrix(0, &m); m 3044 lib/devices/swf.c m.sx = (S32)((m11*ifs)*65536); m.r1 = -(S32)((m21*ifs)*65536); m 3045 lib/devices/swf.c m.r0 = (S32)((m12*ifs)*65536); m.sy = -(S32)((m22*ifs)*65536); m 3051 lib/devices/swf.c m.tx = x*20; m 3052 lib/devices/swf.c m.ty = y*20; m 3053 lib/devices/swf.c i->fontmatrix = m; m 332 lib/drawer.c {double m = end-start; m 333 lib/drawer.c dx*=m*m*m; m 334 lib/drawer.c dy*=m*m*m; m 50 lib/filters/remove_font_transforms.c const mymatrix_t*m = (mymatrix_t*)_m; m 52 lib/filters/remove_font_transforms.c h = crc32_add_bytes(h, (char*)&m->m00, sizeof(m->m00)); m 53 lib/filters/remove_font_transforms.c h = crc32_add_bytes(h, (char*)&m->m01, sizeof(m->m01)); m 54 lib/filters/remove_font_transforms.c h = crc32_add_bytes(h, (char*)&m->m10, sizeof(m->m10)); m 55 lib/filters/remove_font_transforms.c h = crc32_add_bytes(h, (char*)&m->m11, sizeof(m->m11)); m 56 lib/filters/remove_font_transforms.c h = crc32_add_bytes(h, (char*)&m->alpha, 1); m 57 lib/filters/remove_font_transforms.c h = crc32_add_string(h, m->id); m 61 lib/filters/remove_font_transforms.c mymatrix_t*m = (mymatrix_t*)_m; m 62 lib/filters/remove_font_transforms.c free(m->id);m->id=0; m 63 lib/filters/remove_font_transforms.c free(m); m 145 lib/filters/remove_font_transforms.c f->matrix = *m; m 161 lib/filters/remove_font_transforms.c mymatrix_t m; m 164 lib/filters/remove_font_transforms.c if(!matrix_convert(matrix, font->id?font->id:"unknown", &m, 0, color->a)) m 166 lib/filters/remove_font_transforms.c transformedfont_t*fd = dict_lookup(i->matrices, &m); m 168 lib/filters/remove_font_transforms.c fd = transformedfont_new(font, &m); m 169 lib/filters/remove_font_transforms.c dict_put(i->matrices, &m, fd); m 177 lib/filters/remove_font_transforms.c gfxmatrix_t m; m 178 lib/filters/remove_font_transforms.c m.m00 = mm->m00; m 179 lib/filters/remove_font_transforms.c m.m01 = mm->m01; m 180 lib/filters/remove_font_transforms.c m.m10 = mm->m10; m 181 lib/filters/remove_font_transforms.c m.m11 = mm->m11; m 182 lib/filters/remove_font_transforms.c m.tx = 0; m 183 lib/filters/remove_font_transforms.c m.ty = 0; m 184 lib/filters/remove_font_transforms.c if(m.m00>0) m 185 lib/filters/remove_font_transforms.c g->advance *= m.m00; m 187 lib/filters/remove_font_transforms.c gfxline_transform(g->line, &m); m 301 lib/filters/remove_font_transforms.c mymatrix_t m; m 303 lib/filters/remove_font_transforms.c matrix_convert(matrix, font->id?font->id:"unknown", &m, &scalematrix, color.a); m 304 lib/filters/remove_font_transforms.c transformedfont_t*d = dict_lookup(i->matrices, &m); m 310 lib/filters/remove_font_transforms.c if(!m.alpha) m 56 lib/filters/vectors_to_glyphs.c gfxmatrix_t m = {scale, 0, -bbox.xmin*scale, m 59 lib/filters/vectors_to_glyphs.c gfxline_transform(line, &m); m 117 lib/filters/vectors_to_glyphs.c gfxmatrix_t m = {1.0, 0,0, m 119 lib/filters/vectors_to_glyphs.c out->drawchar(out, font, 1, &red, &m); m 129 lib/filters/vectors_to_glyphs.c out->fillbitmap(out, line, &img, &m, 0); m 134 lib/gfximage.c U32 m = data[t].r; m 135 lib/gfximage.c data[t].r = (colors[0].r * (255-m) + colors[1].r * m) >> 8; m 136 lib/gfximage.c data[t].g = (colors[0].g * (255-m) + colors[1].g * m) >> 8; m 137 lib/gfximage.c data[t].b = (colors[0].b * (255-m) + colors[1].b * m) >> 8; m 138 lib/gfximage.c data[t].a = (colors[0].a * (255-m) + colors[1].a * m) >> 8; m 572 lib/gfxtools.c {double m = end-start; m 573 lib/gfxtools.c dx*=m*m*m; m 574 lib/gfxtools.c dy*=m*m*m; m 738 lib/gfxtools.c fprintf(fi, "%s%f %f | %f\n", prefix, m->m00, m->m10, m->tx); m 739 lib/gfxtools.c fprintf(fi, "%s%f %f | %f\n", prefix, m->m01, m->m11, m->ty); m 744 lib/gfxtools.c dest[0] = m->m00*v[0] + m->m10*v[1] + m->tx; m 745 lib/gfxtools.c dest[1] = m->m01*v[0] + m->m11*v[1] + m->ty; m 749 lib/gfxtools.c double det = m->m00 * m->m11 - m->m10 * m->m01; m 755 lib/gfxtools.c dest->m00 = m->m11 * det; m 756 lib/gfxtools.c dest->m01 = -m->m01 * det; m 757 lib/gfxtools.c dest->m10 = -m->m10 * det; m 758 lib/gfxtools.c dest->m11 = m->m00 * det; m 759 lib/gfxtools.c dest->tx = -(dest->m00 * m->tx + dest->m10 * m->ty); m 760 lib/gfxtools.c dest->ty = -(dest->m01 * m->tx + dest->m11 * m->ty); m 764 lib/gfxtools.c memset(m, 0, sizeof(gfxmatrix_t)); m 765 lib/gfxtools.c m->m00 = 1.0; m 766 lib/gfxtools.c m->m11 = 1.0; m 83 lib/gfxtools.h void gfxmatrix_transform(gfxmatrix_t*m, gfxcoord_t* v1, gfxcoord_t*dest); m 85 lib/gfxtools.h void gfxmatrix_unit(gfxmatrix_t*m); m 715 lib/gocr/detect.c int *m, /* summ m1..m4, num_chars for m1..m4, min m1..m4, max. m1..m4 */ m 721 lib/gocr/detect.c m=(int *)malloc(l*16*sizeof(int)); m 722 lib/gocr/detect.c if (!m) { fprintf(stderr," malloc failed\n"); return 0;} m 723 lib/gocr/detect.c for (i=0;i<16*l;i++) m[i]=0; /* initialize */ m 739 lib/gocr/detect.c m[box2->line*16+1]+=y0; m[box2->line*16+5]++; // num m2 m 740 lib/gocr/detect.c m[box2->line*16+2]+=y1; m[box2->line*16+6]++; // num m3 m 741 lib/gocr/detect.c if (m[box2->line*16+ 9]>y0) m[box2->line*16+ 9]=y0; /* min m2 */ m 742 lib/gocr/detect.c if (m[box2->line*16+13]<y0) m[box2->line*16+13]=y0; /* max m2 */ m 743 lib/gocr/detect.c if (m[box2->line*16+10]>y1) m[box2->line*16+10]=y1; /* min m3 */ m 744 lib/gocr/detect.c if (m[box2->line*16+14]<y1) m[box2->line*16+14]=y1; /* max m3 */ m 747 lib/gocr/detect.c m[box2->line*16+0]+=y0; m[box2->line*16+4]++; // num m1 m 748 lib/gocr/detect.c m[box2->line*16+2]+=y1; m[box2->line*16+6]++; // num m3 m 749 lib/gocr/detect.c if (m[box2->line*16+ 8]>y0) m[box2->line*16+ 8]=y0; /* min m1 */ m 750 lib/gocr/detect.c if (m[box2->line*16+12]<y0) m[box2->line*16+12]=y0; /* max m1 */ m 751 lib/gocr/detect.c if (m[box2->line*16+10]>y1) m[box2->line*16+10]=y1; /* min m3 */ m 752 lib/gocr/detect.c if (m[box2->line*16+14]<y1) m[box2->line*16+14]=y1; /* max m3 */ m 755 lib/gocr/detect.c m[box2->line*16+1]+=y0; m[box2->line*16+5]++; // num m2 m 756 lib/gocr/detect.c m[box2->line*16+3]+=y1; m[box2->line*16+7]++; // num m4 m 757 lib/gocr/detect.c if (m[box2->line*16+ 9]>y0) m[box2->line*16+ 9]=y0; /* min m2 */ m 758 lib/gocr/detect.c if (m[box2->line*16+13]<y0) m[box2->line*16+13]=y0; /* max m2 */ m 759 lib/gocr/detect.c if (m[box2->line*16+11]>y1) m[box2->line*16+11]=y1; /* min m4 */ m 760 lib/gocr/detect.c if (m[box2->line*16+15]<y1) m[box2->line*16+15]=y1; /* max m4 */ m 766 lib/gocr/detect.c if (m[i*16+4]) diff+=abs(JOB->res.lines.m1[i]-m[i*16+0]/m[i*16+4]); m 767 lib/gocr/detect.c if (m[i*16+5]) diff+=abs(JOB->res.lines.m2[i]-m[i*16+1]/m[i*16+5]); m 768 lib/gocr/detect.c if (m[i*16+6]) diff+=abs(JOB->res.lines.m3[i]-m[i*16+2]/m[i*16+6]); m 769 lib/gocr/detect.c if (m[i*16+7]) diff+=abs(JOB->res.lines.m4[i]-m[i*16+3]/m[i*16+7]); m 771 lib/gocr/detect.c if (m[i*16+4]*m[i*16+5]*m[i*16+6]*m[i*16+7] > 0) m 776 lib/gocr/detect.c if ( m[i*16+4]) JOB->res.lines.m1[i]=(m[i*16+0]+m[i*16+4]/2)/m[i*16+4]; m 777 lib/gocr/detect.c if ( m[i*16+5]) JOB->res.lines.m2[i]=(m[i*16+1]+m[i*16+5]/2)/m[i*16+5]; m 778 lib/gocr/detect.c if ( m[i*16+6]) JOB->res.lines.m3[i]=(m[i*16+2]+m[i*16+6]/2)/m[i*16+6]; m 779 lib/gocr/detect.c if ( m[i*16+7]) JOB->res.lines.m4[i]=(m[i*16+3]+m[i*16+7]/2)/m[i*16+7]; m 781 lib/gocr/detect.c if (JOB->res.lines.m2[i]-JOB->res.lines.m1[i]<=1 && m[i*16+5]==0 && m[i*16+4]) m 783 lib/gocr/detect.c if (JOB->res.lines.m2[i]-JOB->res.lines.m1[i]<=1 && m[i*16+4]==0 && m[i*16+5]) m 785 lib/gocr/detect.c if (JOB->res.lines.m4[i]-JOB->res.lines.m3[i]<=1 && m[i*16+7]==0 && m[i*16+6]) m 787 lib/gocr/detect.c if (JOB->res.lines.m4[i]-JOB->res.lines.m3[i]<=1 && m[i*16+6]==0 && m[i*16+7]) m 789 lib/gocr/detect.c if ( m[i*16+7]<1 && m 794 lib/gocr/detect.c if ( m[i*16+7]<1 && m[i*16+12+2]>0 && // m4 < max.m3+.. m 795 lib/gocr/detect.c JOB->res.lines.m4[i] < 2*m[i*16+12+2]-JOB->res.lines.m3[i]+2 ) m 796 lib/gocr/detect.c JOB->res.lines.m4[i] = 2*m[i*16+12+2]-JOB->res.lines.m3[i]+2; m 807 lib/gocr/detect.c m[i*16+4],m[i*16+5],m[i*16+6],m[i*16+7], m 843 lib/gocr/detect.c free(m); m 258 lib/gocr/ocr0.c if( m&2 ) box1->y0=y; /* set new upper bond */ m 261 lib/gocr/ocr0.c if( yu>=yl ) { if(m) box1->dots=0; return 0; } /* nothing found */ m 306 lib/gocr/ocr0.c if( m&2 ) box1->y0=yl; m 312 lib/gocr/ocr0.c if(m)box1->y0=yu; m 447 lib/gocr/ocr0.c if (m) box1->dots=r; // set to 0 also possible after division m 448 lib/gocr/ocr0.c if (m) box1->modifier=mod; /* should be resetted after compose ??? */ m 69 lib/graphcut.c posqueue_t*m = (posqueue_t*)malloc(sizeof(posqueue_t)); m 70 lib/graphcut.c memset(m, 0, sizeof(posqueue_t)); m 71 lib/graphcut.c return m; m 325 lib/h.263/swfvideo.c YUV*m = &p1[x]; m 327 lib/h.263/swfvideo.c int y = m->y - n->y; m 328 lib/h.263/swfvideo.c int u = m->u - n->u; m 329 lib/h.263/swfvideo.c int v = m->v - n->v; m 1151 lib/h.263/swfvideo.c MATRIX m; m 1166 lib/h.263/swfvideo.c swf_GetMatrix(0,&m); m 1167 lib/h.263/swfvideo.c m.tx = width*20; m 1168 lib/h.263/swfvideo.c swf_ObjectPlace(tag, 2000+bmid, 133, &m, 0, 0); m 701 lib/modules/swfaction.c ActionMarker m; m 702 lib/modules/swfaction.c m.atag = atag; m 703 lib/modules/swfaction.c return m; m 31 lib/modules/swfbutton.c swf_SetMatrix(t,m); m 42 lib/modules/swfdump.c fprintf(f,"[%08x][%08x] %5.2f %5.2f %5.2f\n",m->sx,m->r1, m->sx/65536.0,m->r1/65536.0, m->tx/20.0); m 43 lib/modules/swfdump.c fprintf(f,"[%08x][%08x] %5.2f %5.2f %5.2f\n",m->r0,m->sy, m->r0/65536.0,m->sy/65536.0, m->ty/20.0 ); m 44 lib/modules/swfdump.c fprintf(f," %08x, %08x \n",m->tx,m->ty); m 38 lib/modules/swfobject.c if(( (m->sx == 0x10000 && m->sy == 0x10000) m 39 lib/modules/swfobject.c || (m->sx == 0 && m->sy == 0)) m 40 lib/modules/swfobject.c && ((m->r0|m->r1|m->tx|m->ty) == 0) m 68 lib/modules/swfobject.c if(m && id && isUnitMatrix(m)) m 69 lib/modules/swfobject.c m = 0; m 71 lib/modules/swfobject.c flags = (id?PF_CHAR:0)|(m?PF_MATRIX:0)|(cx?PF_CXFORM:0)|(name?PF_NAME:0)|((m||cx)&&(!id)?PF_MOVE:0)|(clipaction?PF_CLIPDEPTH:0); m 79 lib/modules/swfobject.c if (flags&PF_MATRIX) swf_SetMatrix(t,m); m 92 lib/modules/swfobject.c return objectplace(t,id,depth,m,cx,name,0,0,0); m 96 lib/modules/swfobject.c return objectplace(t,id,depth,m,cx,name,clipaction,0,0); m 102 lib/modules/swfobject.c return objectplace(t,id,depth,m,cx,name,0,blend,0); m 106 lib/modules/swfobject.c return objectplace(t,0,depth,m,cx,0,0,0,0); m 119 lib/modules/swfobject.c int m = !isUnitMatrix(&obj->matrix); m 122 lib/modules/swfobject.c flags = (obj->id?PF_CHAR:0)|(m?PF_MATRIX:0)|(cx?PF_CXFORM:0)|(obj->ratio?PF_RATIO:0)| m 268 lib/modules/swfrender.c d = swf_TurnPoint(p, m); m 403 lib/modules/swfrender.c double l1 = sqrt((m->sx /65536.0) * (m->sx /65536.0) + (m->r0 /65536.0) * (m->r0/65536.0) ); m 404 lib/modules/swfrender.c double l2 = sqrt((m->r1 /65536.0) * (m->r1 /65536.0) + (m->sy /65536.0) * (m->sy/65536.0) ); m 414 lib/modules/swfrender.c MATRIX mat = *m; m 419 lib/modules/swfrender.c double widthmultiply = matrixsize(m); m 439 lib/modules/swfrender.c swf_MatrixJoin(&nm, &mat, &s2->fillstyles[t].m); m 446 lib/modules/swfrender.c s2->fillstyles[t].m = nm; m 582 lib/modules/swfrender.c double m11= m->sx*fmultiply/65536.0, m21= m->r1*fmultiply/65536.0; m 583 lib/modules/swfrender.c double m12= m->r0*fmultiply/65536.0, m22= m->sy*fmultiply/65536.0; m 584 lib/modules/swfrender.c double rx = m->tx*fmultiply/20.0; m 585 lib/modules/swfrender.c double ry = m->ty*fmultiply/20.0; m 635 lib/modules/swfrender.c double m11= m->sx*fmultiply/80, m21= m->r1*fmultiply/80; m 636 lib/modules/swfrender.c double m12= m->r0*fmultiply/80, m22= m->sy*fmultiply/80; m 637 lib/modules/swfrender.c double rx = m->tx*fmultiply/20.0; m 638 lib/modules/swfrender.c double ry = m->ty*fmultiply/20.0; m 764 lib/modules/swfrender.c fill_bitmap(line, zline, y, x1, x2, &f->m, b, /*clipped?*/f->type&1, l->p->depth, i->multiply); m 767 lib/modules/swfrender.c fill_gradient(line, zline, y, x1, x2, &f->m, &f->gradient, f->type, l->p->depth, i->multiply); m 1108 lib/modules/swfrender.c MATRIX m; m 1130 lib/modules/swfrender.c MATRIX m = info->m; m 1134 lib/modules/swfrender.c p = swf_TurnPoint(p, &m); m 1136 lib/modules/swfrender.c m.sx = (m.sx * fontsize) / 1024; m 1137 lib/modules/swfrender.c m.sy = (m.sy * fontsize) / 1024; m 1138 lib/modules/swfrender.c m.r0 = (m.r0 * fontsize) / 1024; m 1139 lib/modules/swfrender.c m.r1 = (m.r1 * fontsize) / 1024; m 1140 lib/modules/swfrender.c m.tx = p.x; m 1141 lib/modules/swfrender.c m.ty = p.y; m 1152 lib/modules/swfrender.c swf_RenderShape(info->buf, shape, &m, info->cxform, info->depth, info->clipdepth); m 1198 lib/modules/swfrender.c swf_MatrixJoin(&m2, m, &p->matrix); m 1221 lib/modules/swfrender.c swf_MatrixJoin(&info.m, &m2, &mt); m 1318 lib/modules/swfrender.c MATRIX m; m 1319 lib/modules/swfrender.c swf_GetMatrix(0, &m); m 1320 lib/modules/swfrender.c renderFromTag(buf, idtable, swf->firstTag, &m); m 179 lib/modules/swfshape.c swf_SetMatrix(t,&f->m); m 183 lib/modules/swfshape.c swf_SetMatrix(t,&f->m); m 269 lib/modules/swfshape.c if (!m) m 270 lib/modules/swfshape.c { m = &def_m; m 271 lib/modules/swfshape.c swf_GetMatrix(NULL,m); m 296 lib/modules/swfshape.c memcpy(&s->fillstyle.data[s->fillstyle.n].m,m,sizeof(MATRIX)); m 304 lib/modules/swfshape.c return swf_ShapeAddFillStyle(s, fs->type, &fs->m, &fs->color, fs->id_bitmap, &fs->gradient); m 312 lib/modules/swfshape.c { return swf_ShapeAddFillStyle(s,clip?FILL_CLIPPED:FILL_TILED,m,NULL,id_bitmap,0); m 316 lib/modules/swfshape.c { return swf_ShapeAddFillStyle(s,radial?FILL_RADIAL:FILL_LINEAR,m,NULL,0,gradient); m 531 lib/modules/swfshape.c swf_GetMatrix(tag, &dest->m); m 543 lib/modules/swfshape.c swf_GetMatrix(tag, &dest->m); m 886 lib/modules/swfshape.c MATRIX m; m 895 lib/modules/swfshape.c swf_GetMatrix(NULL,&m); m 896 lib/modules/swfshape.c m.sx = 20*65536; m 897 lib/modules/swfshape.c m.sy = 20*65536; m 899 lib/modules/swfshape.c fs = swf_ShapeAddBitmapFillStyle(shape,&m,gfxid,0); m 442 lib/modules/swftext.c MATRIX m; m 455 lib/modules/swftext.c swf_GetMatrix(t, &m); m 2042 lib/modules/swftext.c MATRIX m; m 2043 lib/modules/swftext.c swf_GetMatrix(0, &m); m 2044 lib/modules/swftext.c m.ty = 20000; m 2047 lib/modules/swftext.c swf_ObjectPlace(tag, spriteid, depth++, &m, NULL, txt); m 2070 lib/modules/swftext.c MATRIX m; m 2071 lib/modules/swftext.c swf_GetMatrix(0, &m); m 2072 lib/modules/swftext.c m.sx = 65536 * overlarge_factor; m 2073 lib/modules/swftext.c m.sy = 65536 * overlarge_factor; m 2074 lib/modules/swftext.c m.tx = 0; m 2075 lib/modules/swftext.c m.ty = -miny*256*20/(maxy-miny); m 2076 lib/modules/swftext.c swf_ObjectPlace(tag, textid, 1, &m, NULL, NULL); m 70 lib/modules/swftools.c if (!m) return NULL; m 73 lib/modules/swftools.c m->tx = x0; m 74 lib/modules/swftools.c m->ty = y0; m 75 lib/modules/swftools.c m->sx = RFXSWF_QFIX(dx1,dx); m 76 lib/modules/swftools.c m->sy = RFXSWF_QFIX(dy2,dy); m 77 lib/modules/swftools.c m->r0 = RFXSWF_QFIX(dy1,dx); m 78 lib/modules/swftools.c m->r1 = RFXSWF_QFIX(dx2,dy); m 80 lib/modules/swftools.c return m; m 389 lib/modules/swftools.c MATRIX m; m 407 lib/modules/swftools.c swf_GetMatrix(t, &m); m 483 lib/modules/swftools.c MATRIX m; m 484 lib/modules/swftools.c swf_GetMatrix(tag, &m); m 485 lib/modules/swftools.c DEBUG_ENUMERATE swf_DumpMatrix(stdout, &m); m 487 lib/modules/swftools.c swf_GetMatrix(tag, &m); m 488 lib/modules/swftools.c DEBUG_ENUMERATE swf_DumpMatrix(stdout, &m); m 291 lib/pdf/BitmapOutputDev.cc gfxmatrix_t m; m 292 lib/pdf/BitmapOutputDev.cc m.tx = xmin; m 293 lib/pdf/BitmapOutputDev.cc m.ty = ymin; m 294 lib/pdf/BitmapOutputDev.cc m.m00 = m.m11 = 1; m 295 lib/pdf/BitmapOutputDev.cc m.m10 = m.m01 = 0; m 296 lib/pdf/BitmapOutputDev.cc m.tx -= 0.5; m 297 lib/pdf/BitmapOutputDev.cc m.ty -= 0.5; m 300 lib/pdf/BitmapOutputDev.cc dev->fillbitmap(dev, line, img, &m, 0); m 183 lib/pdf/FullBitmapOutputDev.cc gfxmatrix_t m; m 184 lib/pdf/FullBitmapOutputDev.cc m.tx = xmin; m 185 lib/pdf/FullBitmapOutputDev.cc m.ty = ymin; m 186 lib/pdf/FullBitmapOutputDev.cc m.m00 = m.m11 = 1; m 187 lib/pdf/FullBitmapOutputDev.cc m.m10 = m.m01 = 0; m 190 lib/pdf/FullBitmapOutputDev.cc dev->fillbitmap(dev, line, img, &m, 0); m 1045 lib/pdf/GFXOutputDev.cc gfxmatrix_t m; m 1049 lib/pdf/GFXOutputDev.cc m.m00 = (x1-x0); m.m10 = (x2-x0); m 1050 lib/pdf/GFXOutputDev.cc m.m01 = (y1-y0); m.m11 = (y2-y0); m 1051 lib/pdf/GFXOutputDev.cc m.tx = x0 - 0.5; m 1052 lib/pdf/GFXOutputDev.cc m.ty = y0 - 0.5; m 1054 lib/pdf/GFXOutputDev.cc device->fillgradient(device, &p1, g, gfxgradient_radial, &m); m 1110 lib/pdf/GFXOutputDev.cc gfxmatrix_t m; m 1111 lib/pdf/GFXOutputDev.cc m.m00 = (x1-x0)/2; m.m10 = -(y1-y0)/2; m 1112 lib/pdf/GFXOutputDev.cc m.m01 = (y1-y0)/2; m.m11 = (x1-x0)/2; m 1113 lib/pdf/GFXOutputDev.cc m.tx = (x0 + x1)/2 - 0.5; m 1114 lib/pdf/GFXOutputDev.cc m.ty = (y0 + y1)/2 - 0.5; m 1116 lib/pdf/GFXOutputDev.cc device->fillgradient(device, &p1, g, gfxgradient_linear, &m); m 1471 lib/pdf/GFXOutputDev.cc gfxmatrix_t m = this->current_font_matrix; m 1472 lib/pdf/GFXOutputDev.cc this->transformXY(state, x-originX, y-originY, &m.tx, &m.ty); m 1475 lib/pdf/GFXOutputDev.cc msg("<debug> drawChar(%f,%f,c='%c' (%d), u=%d <%d>) CID=%d render=%d glyphid=%d font=%p",m.tx,m.ty,(charid&127)>=32?charid:'?', charid, u, uLen, font->isCIDFont(), render, glyphid, current_gfxfont); m 1482 lib/pdf/GFXOutputDev.cc if(config_extrafontdata && config_detectspaces && space>=0 && m.m00 && !m.m01) { m 1485 lib/pdf/GFXOutputDev.cc last_char_y == m.ty && m 1487 lib/pdf/GFXOutputDev.cc double expected_x = last_char_x + current_gfxfont->glyphs[last_char].advance*m.m00; m 1490 lib/pdf/GFXOutputDev.cc if(m.tx - expected_x >= m.m00*width*4/10) { m 1492 lib/pdf/GFXOutputDev.cc m.tx-expected_x, m 1493 lib/pdf/GFXOutputDev.cc width*m.m00*4/10, m 1495 lib/pdf/GFXOutputDev.cc gfxmatrix_t m2 = m; m 1496 lib/pdf/GFXOutputDev.cc m2.tx = expected_x + (m.tx - expected_x - current_gfxfont->glyphs[space].advance*m.m00)/2; m 1503 lib/pdf/GFXOutputDev.cc last_char_x = m.tx; m 1504 lib/pdf/GFXOutputDev.cc last_char_y = m.ty; m 1507 lib/pdf/GFXOutputDev.cc device->drawchar(device, current_gfxfont, glyphid, &col, &m); m 1517 lib/pdf/GFXOutputDev.cc gfxline_transform(tglyph, &m); m 1526 lib/pdf/GFXOutputDev.cc current_text_clip = mkEmptyGfxShape(m.tx, m.ty); m 1596 lib/pdf/GFXOutputDev.cc gfxmatrix_t m = this->current_font_matrix; m 1597 lib/pdf/GFXOutputDev.cc this->transformXY(state, 0, 0, &m.tx, &m.ty); m 1610 lib/pdf/GFXOutputDev.cc device->drawchar(device, current_gfxfont, glyphid, &col, &m); m 2167 lib/pdf/GFXOutputDev.cc gfxmatrix_t m; m 2168 lib/pdf/GFXOutputDev.cc m.m00 = (p4.x-p1.x)/sizex; m.m10 = (p2.x-p1.x)/sizey; m 2169 lib/pdf/GFXOutputDev.cc m.m01 = (p4.y-p1.y)/sizex; m.m11 = (p2.y-p1.y)/sizey; m 2171 lib/pdf/GFXOutputDev.cc m.tx = p1.x - 0.5*multiply; m 2172 lib/pdf/GFXOutputDev.cc m.ty = p1.y - 0.5*multiply; m 2184 lib/pdf/GFXOutputDev.cc dev->fillbitmap(dev, &p1, &img, &m, 0); m 104 lib/pdf/InfoOutputDev.cc DICT_ITERATE_ITEMS(d,void*,key,mtf_t*,m) { m 105 lib/pdf/InfoOutputDev.cc mtf_destroy(m); m 234 lib/pdf/InfoOutputDev.cc DICT_ITERATE_ITEMS(d,void*,key,mtf_t*,m) { m 235 lib/pdf/InfoOutputDev.cc if(m) { m 246 lib/pdf/InfoOutputDev.cc DICT_ITERATE_ITEMS(d,void*,key,mtf_t*,m) { m 247 lib/pdf/InfoOutputDev.cc if(m) { m 250 lib/pdf/InfoOutputDev.cc font->kerning[pos].advance = (int)(ptroff_t)m->first->key; m 270 lib/pdf/InfoOutputDev.cc float m = medianf(values, f->num_glyphs); m 272 lib/pdf/InfoOutputDev.cc return m; m 536 lib/pdf/cmyk.cc double c, m, y, aw, ac, am, ay, ar, ag, ab; m 539 lib/pdf/cmyk.cc m = clip01(color->c[1] + color->c[3]); m 541 lib/pdf/cmyk.cc aw = (1-c) * (1-m) * (1-y); m 542 lib/pdf/cmyk.cc ac = c * (1-m) * (1-y); m 543 lib/pdf/cmyk.cc am = (1-c) * m * (1-y); m 544 lib/pdf/cmyk.cc ay = (1-c) * (1-m) * y; m 545 lib/pdf/cmyk.cc ar = (1-c) * m * y; m 546 lib/pdf/cmyk.cc ag = c * (1-m) * y; m 547 lib/pdf/cmyk.cc ab = c * m * (1-y); m 559 lib/pdf/cmyk.cc col.c[1] = m; m 569 lib/pdf/cmyk.cc c,m,y,k, m 579 lib/pdf/cmyk.cc m = m<0?0:(m>1?1:m<=1?m:0.5); m 584 lib/pdf/cmyk.cc int mm = (int)(m*15.0); m 589 lib/pdf/cmyk.cc float rm = m*15.0 - mm; m 323 lib/pdf/xpdf/FoFiTrueType.cc int pos, a, b, m; m 350 lib/pdf/xpdf/FoFiTrueType.cc m = (a + b) / 2; m 351 lib/pdf/xpdf/FoFiTrueType.cc segEnd = getU16BE(pos + 14 + 2*m, &ok); m 353 lib/pdf/xpdf/FoFiTrueType.cc a = m; m 355 lib/pdf/xpdf/FoFiTrueType.cc b = m; m 1937 lib/pdf/xpdf/FoFiTrueType.cc int i, j, n, m; m 1979 lib/pdf/xpdf/FoFiTrueType.cc m = getU8(stringPos, &ok); m 1980 lib/pdf/xpdf/FoFiTrueType.cc if (!ok || !checkRegion(stringPos + 1, m)) { m 1983 lib/pdf/xpdf/FoFiTrueType.cc name = new GString((char *)&file[stringPos + 1], m); m 1987 lib/pdf/xpdf/FoFiTrueType.cc stringPos += 1 + m; m 90 lib/pdf/xpdf/Function.cc m = obj1.arrayGetLength() / 2; m 91 lib/pdf/xpdf/Function.cc if (m > funcMaxInputs) { m 96 lib/pdf/xpdf/Function.cc for (i = 0; i < m; ++i) { m 162 lib/pdf/xpdf/Function.cc m = funcMaxInputs; m 208 lib/pdf/xpdf/Function.cc if (m > sampledFuncMaxInputs) { m 215 lib/pdf/xpdf/Function.cc sBuf = (double *)gmallocn(1 << m, sizeof(double)); m 226 lib/pdf/xpdf/Function.cc obj1.arrayGetLength() != m) { m 230 lib/pdf/xpdf/Function.cc for (i = 0; i < m; ++i) { m 241 lib/pdf/xpdf/Function.cc for (i = 1; i < m; ++i) { m 256 lib/pdf/xpdf/Function.cc obj1.arrayGetLength() == 2*m) { m 257 lib/pdf/xpdf/Function.cc for (i = 0; i < m; ++i) { m 274 lib/pdf/xpdf/Function.cc for (i = 0; i < m; ++i) { m 280 lib/pdf/xpdf/Function.cc for (i = 0; i < m; ++i) { m 314 lib/pdf/xpdf/Function.cc for (i = 0; i < m; ++i) m 368 lib/pdf/xpdf/Function.cc sBuf = (double *)gmallocn(1 << m, sizeof(double)); m 379 lib/pdf/xpdf/Function.cc for (i = 0; i < m; ++i) { m 399 lib/pdf/xpdf/Function.cc for (j = 0; j < (1<<m); ++j) { m 401 lib/pdf/xpdf/Function.cc for (k = 0, t = j; k < m; ++k, t >>= 1) { m 408 lib/pdf/xpdf/Function.cc for (j = 0, t = (1<<m); j < m; ++j, t >>= 1) { m 438 lib/pdf/xpdf/Function.cc if (m != 1) { m 561 lib/pdf/xpdf/Function.cc if (m != 1) { m 1068 lib/pdf/xpdf/Function.cc for (i = 0; i < m; ++i) { m 58 lib/pdf/xpdf/Function.h int getInputSize() { return m; } m 74 lib/pdf/xpdf/Function.h int m, n; // size of input and output tuples m 31 lib/pdf/xpdf/GMutex.h #define gInitMutex(m) InitializeCriticalSection(m) m 32 lib/pdf/xpdf/GMutex.h #define gDestroyMutex(m) DeleteCriticalSection(m) m 33 lib/pdf/xpdf/GMutex.h #define gLockMutex(m) EnterCriticalSection(m) m 34 lib/pdf/xpdf/GMutex.h #define gUnlockMutex(m) LeaveCriticalSection(m) m 42 lib/pdf/xpdf/GMutex.h #define gInitMutex(m) pthread_mutex_init(m, NULL) m 43 lib/pdf/xpdf/GMutex.h #define gDestroyMutex(m) pthread_mutex_destroy(m) m 44 lib/pdf/xpdf/GMutex.h #define gLockMutex(m) pthread_mutex_lock(m) m 45 lib/pdf/xpdf/GMutex.h #define gUnlockMutex(m) pthread_mutex_unlock(m) m 700 lib/pdf/xpdf/Gfx.cc int a, b, m, cmp; m 706 lib/pdf/xpdf/Gfx.cc m = (a + b) / 2; m 707 lib/pdf/xpdf/Gfx.cc cmp = strcmp(opTab[m].name, name); m 709 lib/pdf/xpdf/Gfx.cc a = m; m 711 lib/pdf/xpdf/Gfx.cc b = m; m 713 lib/pdf/xpdf/Gfx.cc a = b = m; m 1000 lib/pdf/xpdf/Gfx.cc double m[6], bbox[4]; m 1038 lib/pdf/xpdf/Gfx.cc m[i] = obj2.getNum(); m 1042 lib/pdf/xpdf/Gfx.cc m[0] = 1; m[1] = 0; m 1043 lib/pdf/xpdf/Gfx.cc m[2] = 0; m[3] = 1; m 1044 lib/pdf/xpdf/Gfx.cc m[4] = 0; m[5] = 0; m 1054 lib/pdf/xpdf/Gfx.cc doForm1(str, resDict, m, bbox, gTrue, gTrue, m 1615 lib/pdf/xpdf/Gfx.cc double m[6], ictm[6], m1[6], imb[6]; m 1644 lib/pdf/xpdf/Gfx.cc m[0] = m1[0] * ictm[0] + m1[1] * ictm[2]; m 1645 lib/pdf/xpdf/Gfx.cc m[1] = m1[0] * ictm[1] + m1[1] * ictm[3]; m 1646 lib/pdf/xpdf/Gfx.cc m[2] = m1[2] * ictm[0] + m1[3] * ictm[2]; m 1647 lib/pdf/xpdf/Gfx.cc m[3] = m1[2] * ictm[1] + m1[3] * ictm[3]; m 1648 lib/pdf/xpdf/Gfx.cc m[4] = m1[4] * ictm[0] + m1[5] * ictm[2] + ictm[4]; m 1649 lib/pdf/xpdf/Gfx.cc m[5] = m1[4] * ictm[1] + m1[5] * ictm[3] + ictm[5]; m 1758 lib/pdf/xpdf/Gfx.cc m1[i] = m[i]; m 1761 lib/pdf/xpdf/Gfx.cc m1[4] = m[4]; m 1762 lib/pdf/xpdf/Gfx.cc m1[5] = m[5]; m 1772 lib/pdf/xpdf/Gfx.cc m1[4] = x * m[0] + y * m[2] + m[4]; m 1773 lib/pdf/xpdf/Gfx.cc m1[5] = x * m[1] + y * m[3] + m[5]; m 1791 lib/pdf/xpdf/Gfx.cc double m[6], ictm[6], m1[6]; m 1859 lib/pdf/xpdf/Gfx.cc m[0] = m1[0] * ictm[0] + m1[1] * ictm[2]; m 1860 lib/pdf/xpdf/Gfx.cc m[1] = m1[0] * ictm[1] + m1[1] * ictm[3]; m 1861 lib/pdf/xpdf/Gfx.cc m[2] = m1[2] * ictm[0] + m1[3] * ictm[2]; m 1862 lib/pdf/xpdf/Gfx.cc m[3] = m1[2] * ictm[1] + m1[3] * ictm[3]; m 1863 lib/pdf/xpdf/Gfx.cc m[4] = m1[4] * ictm[0] + m1[5] * ictm[2] + ictm[4]; m 1864 lib/pdf/xpdf/Gfx.cc m[5] = m1[4] * ictm[1] + m1[5] * ictm[3] + ictm[5]; m 1867 lib/pdf/xpdf/Gfx.cc state->concatCTM(m[0], m[1], m[2], m[3], m[4], m[5]); m 1868 lib/pdf/xpdf/Gfx.cc out->updateCTM(state, m[0], m[1], m[2], m[3], m[4], m[5]); m 3694 lib/pdf/xpdf/Gfx.cc double m[6], bbox[4]; m 3734 lib/pdf/xpdf/Gfx.cc m[i] = obj1.getNum(); m 3738 lib/pdf/xpdf/Gfx.cc m[0] = 1; m[1] = 0; m 3739 lib/pdf/xpdf/Gfx.cc m[2] = 0; m[3] = 1; m 3740 lib/pdf/xpdf/Gfx.cc m[4] = 0; m[5] = 0; m 3773 lib/pdf/xpdf/Gfx.cc doForm1(str, resDict, m, bbox, m 4016 lib/pdf/xpdf/Gfx.cc double m[6], bbox[4], ictm[6]; m 4080 lib/pdf/xpdf/Gfx.cc m[i] = obj1.getNum(); m 4084 lib/pdf/xpdf/Gfx.cc m[0] = 1; m[1] = 0; m 4085 lib/pdf/xpdf/Gfx.cc m[2] = 0; m[3] = 1; m 4086 lib/pdf/xpdf/Gfx.cc m[4] = 0; m[5] = 0; m 4091 lib/pdf/xpdf/Gfx.cc formX0 = bbox[0] * m[0] + bbox[1] * m[2] + m[4]; m 4092 lib/pdf/xpdf/Gfx.cc formY0 = bbox[0] * m[1] + bbox[1] * m[3] + m[5]; m 4093 lib/pdf/xpdf/Gfx.cc formX1 = bbox[2] * m[0] + bbox[3] * m[2] + m[4]; m 4094 lib/pdf/xpdf/Gfx.cc formY1 = bbox[2] * m[1] + bbox[3] * m[3] + m[5]; m 4115 lib/pdf/xpdf/Gfx.cc m[0] *= sx; m 4116 lib/pdf/xpdf/Gfx.cc m[2] *= sx; m 4117 lib/pdf/xpdf/Gfx.cc m[4] = (m[4] - formX0) * sx + annotX0; m 4118 lib/pdf/xpdf/Gfx.cc m[1] *= sy; m 4119 lib/pdf/xpdf/Gfx.cc m[3] *= sy; m 4120 lib/pdf/xpdf/Gfx.cc m[5] = (m[5] - formY0) * sy + annotY0; m 4127 lib/pdf/xpdf/Gfx.cc doForm1(str, resDict, m, bbox); m 429 lib/pdf/xpdf/GfxFont.cc int n, i, a, b, m; m 450 lib/pdf/xpdf/GfxFont.cc m = (a + b) / 2; m 451 lib/pdf/xpdf/GfxFont.cc if (name2->cmp(stdFontMap[m].altName) >= 0) { m 452 lib/pdf/xpdf/GfxFont.cc a = m; m 454 lib/pdf/xpdf/GfxFont.cc b = m; m 1427 lib/pdf/xpdf/GfxFont.cc int n, a, b, m; m 1452 lib/pdf/xpdf/GfxFont.cc m = (a + b) / 2; m 1453 lib/pdf/xpdf/GfxFont.cc if (widths.exceps[m].first <= cid) { m 1454 lib/pdf/xpdf/GfxFont.cc a = m; m 1456 lib/pdf/xpdf/GfxFont.cc b = m; m 1475 lib/pdf/xpdf/GfxFont.cc m = (a + b) / 2; m 1476 lib/pdf/xpdf/GfxFont.cc if (widths.excepsV[m].last <= cid) { m 1477 lib/pdf/xpdf/GfxFont.cc a = m; m 1479 lib/pdf/xpdf/GfxFont.cc b = m; m 194 lib/pdf/xpdf/GfxState.cc cmyk->c = cmyk->m = cmyk->y = 0; m 283 lib/pdf/xpdf/GfxState.cc cmyk->c = cmyk->m = cmyk->y = 0; m 318 lib/pdf/xpdf/GfxState.cc GfxColorComp c, m, y, k; m 321 lib/pdf/xpdf/GfxState.cc m = clip01(gfxColorComp1 - color->c[1]); m 324 lib/pdf/xpdf/GfxState.cc if (m < k) { m 325 lib/pdf/xpdf/GfxState.cc k = m; m 331 lib/pdf/xpdf/GfxState.cc cmyk->m = m - k; m 466 lib/pdf/xpdf/GfxState.cc GfxColorComp c, m, y, k; m 469 lib/pdf/xpdf/GfxState.cc m = clip01(gfxColorComp1 - color->c[1]); m 472 lib/pdf/xpdf/GfxState.cc if (m < k) { m 473 lib/pdf/xpdf/GfxState.cc k = m; m 479 lib/pdf/xpdf/GfxState.cc cmyk->m = m - k; m 524 lib/pdf/xpdf/GfxState.cc double c, m, y, k, c1, m1, y1, k1, r, g, b, x; m 527 lib/pdf/xpdf/GfxState.cc m = colToDbl(color->c[1]); m 531 lib/pdf/xpdf/GfxState.cc m1 = 1 - m; m 548 lib/pdf/xpdf/GfxState.cc x = c1 * m * y1 * k1; // 0 1 0 0 m 551 lib/pdf/xpdf/GfxState.cc x = c1 * m * y1 * k; // 0 1 0 1 m 553 lib/pdf/xpdf/GfxState.cc x = c1 * m * y * k1; // 0 1 1 0 m 557 lib/pdf/xpdf/GfxState.cc x = c1 * m * y * k; // 0 1 1 1 m 570 lib/pdf/xpdf/GfxState.cc x = c * m * y1 * k1; // 1 1 0 0 m 574 lib/pdf/xpdf/GfxState.cc x = c * m * y1 * k; // 1 1 0 1 m 576 lib/pdf/xpdf/GfxState.cc x = c * m * y * k1; // 1 1 1 0 m 587 lib/pdf/xpdf/GfxState.cc cmyk->m = clip01(color->c[1]); m 757 lib/pdf/xpdf/GfxState.cc GfxColorComp c, m, y, k; m 761 lib/pdf/xpdf/GfxState.cc m = clip01(gfxColorComp1 - rgb.g); m 764 lib/pdf/xpdf/GfxState.cc if (m < k) { m 765 lib/pdf/xpdf/GfxState.cc k = m; m 771 lib/pdf/xpdf/GfxState.cc cmyk->m = m - k; m 1413 lib/pdf/xpdf/GfxState.cc cmyk->c = cmyk->m = cmyk->y = 0; m 109 lib/pdf/xpdf/GfxState.h GfxColorComp c, m, y, k; m 2492 lib/pdf/xpdf/JBIG2Stream.cc Guint bpp, m, n, i; m 2564 lib/pdf/xpdf/JBIG2Stream.cc for (m = 0; m < gridH; ++m) { m 2566 lib/pdf/xpdf/JBIG2Stream.cc xx = gridX + m * stepY + n * stepX; m 2567 lib/pdf/xpdf/JBIG2Stream.cc yy = gridY + m * stepX - n * stepY; m 2570 lib/pdf/xpdf/JBIG2Stream.cc skipBitmap->setPixel(n, m); m 2587 lib/pdf/xpdf/JBIG2Stream.cc for (m = 0; m < gridH; ++m) { m 2589 lib/pdf/xpdf/JBIG2Stream.cc bit = grayBitmap->getPixel(n, m) ^ (grayImg[i] & 1); m 2599 lib/pdf/xpdf/JBIG2Stream.cc for (m = 0; m < gridH; ++m) { m 2600 lib/pdf/xpdf/JBIG2Stream.cc xx = gridX + m * stepY; m 2601 lib/pdf/xpdf/JBIG2Stream.cc yy = gridY + m * stepX; m 2603 lib/pdf/xpdf/JBIG2Stream.cc if (!(enableSkip && skipBitmap->getPixel(n, m))) { m 123 lib/pdf/xpdf/Lexer.cc int n, m; m 374 lib/pdf/xpdf/Lexer.cc m = n = 0; m 396 lib/pdf/xpdf/Lexer.cc if (++m == 2) { m 408 lib/pdf/xpdf/Lexer.cc m = 0; m 416 lib/pdf/xpdf/Lexer.cc if (m == 1) m 1790 lib/pdf/xpdf/Splash.cc int n, m, i, j; m 2013 lib/pdf/xpdf/Splash.cc m = xStep > 0 ? xStep : 1; m 2017 lib/pdf/xpdf/Splash.cc for (j = 0; j < m; ++j) { m 2020 lib/pdf/xpdf/Splash.cc p += w - m; m 2025 lib/pdf/xpdf/Splash.cc pipe.shape = (pixAcc == n * m) m 2027 lib/pdf/xpdf/Splash.cc : (SplashCoord)pixAcc / (SplashCoord)(n * m); m 2078 lib/pdf/xpdf/Splash.cc int nComps, n, m, i, j; m 2328 lib/pdf/xpdf/Splash.cc m = xStep > 0 ? xStep : 1; m 2334 lib/pdf/xpdf/Splash.cc for (j = 0; j < m; ++j) { m 2338 lib/pdf/xpdf/Splash.cc p += w - m; m 2339 lib/pdf/xpdf/Splash.cc q += w - m; m 2341 lib/pdf/xpdf/Splash.cc pixMul = (SplashCoord)1 / (SplashCoord)(n * m); m 2392 lib/pdf/xpdf/Splash.cc m = xStep > 0 ? xStep : 1; m 2398 lib/pdf/xpdf/Splash.cc for (j = 0; j < m; ++j) { m 2404 lib/pdf/xpdf/Splash.cc p += 3 * (w - m); m 2405 lib/pdf/xpdf/Splash.cc q += w - m; m 2407 lib/pdf/xpdf/Splash.cc pixMul = (SplashCoord)1 / (SplashCoord)(n * m); m 2460 lib/pdf/xpdf/Splash.cc m = xStep > 0 ? xStep : 1; m 2466 lib/pdf/xpdf/Splash.cc for (j = 0; j < m; ++j) { m 2473 lib/pdf/xpdf/Splash.cc p += 4 * (w - m); m 2474 lib/pdf/xpdf/Splash.cc q += w - m; m 2476 lib/pdf/xpdf/Splash.cc pixMul = (SplashCoord)1 / (SplashCoord)(n * m); m 2605 lib/pdf/xpdf/Splash.cc m = xStep > 0 ? xStep : 1; m 2609 lib/pdf/xpdf/Splash.cc for (j = 0; j < m; ++j) { m 2612 lib/pdf/xpdf/Splash.cc p += w - m; m 2614 lib/pdf/xpdf/Splash.cc pixMul = (SplashCoord)1 / (SplashCoord)(n * m); m 2661 lib/pdf/xpdf/Splash.cc m = xStep > 0 ? xStep : 1; m 2665 lib/pdf/xpdf/Splash.cc for (j = 0; j < m; ++j) { m 2670 lib/pdf/xpdf/Splash.cc p += 3 * (w - m); m 2672 lib/pdf/xpdf/Splash.cc pixMul = (SplashCoord)1 / (SplashCoord)(n * m); m 2721 lib/pdf/xpdf/Splash.cc m = xStep > 0 ? xStep : 1; m 2725 lib/pdf/xpdf/Splash.cc for (j = 0; j < m; ++j) { m 2731 lib/pdf/xpdf/Splash.cc p += 4 * (w - m); m 2733 lib/pdf/xpdf/Splash.cc pixMul = (SplashCoord)1 / (SplashCoord)(n * m); m 2994 lib/pdf/xpdf/Splash.cc SplashCoord crossprod, dotprod, miter, m; m 3152 lib/pdf/xpdf/Splash.cc m = 0; m 3159 lib/pdf/xpdf/Splash.cc m = splashSqrt(miter - 1); m 3201 lib/pdf/xpdf/Splash.cc pathOut->lineTo(pathIn->pts[i+1].x - wdy + wdx * m, m 3202 lib/pdf/xpdf/Splash.cc pathIn->pts[i+1].y + wdx + wdy * m); m 3217 lib/pdf/xpdf/Splash.cc pathOut->lineTo(pathIn->pts[i+1].x + wdy + wdx * m, m 3218 lib/pdf/xpdf/Splash.cc pathIn->pts[i+1].y - wdx + wdy * m); m 937 lib/pdf/xpdf/SplashOutputDev.cc color[1] = colToByte(cmyk->m); m 1860 lib/pdf/xpdf/SplashOutputDev.cc *q++ = colToByte(cmyk.m); m 1949 lib/pdf/xpdf/SplashOutputDev.cc *q++ = colToByte(cmyk.m); m 2032 lib/pdf/xpdf/SplashOutputDev.cc imgData.lookup[4*i+1] = colToByte(cmyk.m); m 2142 lib/pdf/xpdf/SplashOutputDev.cc *q++ = colToByte(cmyk.m); m 2276 lib/pdf/xpdf/SplashOutputDev.cc imgData.lookup[4*i+1] = colToByte(cmyk.m); m 2408 lib/pdf/xpdf/SplashOutputDev.cc imgData.lookup[4*i+1] = colToByte(cmyk.m); m 2637 lib/pdf/xpdf/SplashOutputDev.cc color[1] = colToByte(cmyk.m); m 2753 lib/pdf/xpdf/SplashOutputDev.cc cmyk.m = gfxColorComp1 - rgb.g; m 1909 lib/pdf/xpdf/TextOutputDev.cc double m[4], m2[4]; m 1921 lib/pdf/xpdf/TextOutputDev.cc state->getFontTransMat(&m[0], &m[1], &m[2], &m[3]); m 1924 lib/pdf/xpdf/TextOutputDev.cc m2[0] = fontm[0] * m[0] + fontm[1] * m[2]; m 1925 lib/pdf/xpdf/TextOutputDev.cc m2[1] = fontm[0] * m[1] + fontm[1] * m[3]; m 1926 lib/pdf/xpdf/TextOutputDev.cc m2[2] = fontm[2] * m[0] + fontm[3] * m[2]; m 1927 lib/pdf/xpdf/TextOutputDev.cc m2[3] = fontm[2] * m[1] + fontm[3] * m[3]; m 1928 lib/pdf/xpdf/TextOutputDev.cc m[0] = m2[0]; m 1929 lib/pdf/xpdf/TextOutputDev.cc m[1] = m2[1]; m 1930 lib/pdf/xpdf/TextOutputDev.cc m[2] = m2[2]; m 1931 lib/pdf/xpdf/TextOutputDev.cc m[3] = m2[3]; m 1933 lib/pdf/xpdf/TextOutputDev.cc if (fabs(m[0] * m[3]) > fabs(m[1] * m[2])) { m 1934 lib/pdf/xpdf/TextOutputDev.cc rot = (m[3] < 0) ? 0 : 2; m 1936 lib/pdf/xpdf/TextOutputDev.cc rot = (m[2] > 0) ? 1 : 3; m 2941 lib/pdf/xpdf/TextOutputDev.cc int txtSize, m, i, j, k; m 3016 lib/pdf/xpdf/TextOutputDev.cc m = line->len; m 3018 lib/pdf/xpdf/TextOutputDev.cc if (m > txtSize) { m 3019 lib/pdf/xpdf/TextOutputDev.cc txt = (Unicode *)greallocn(txt, m, sizeof(Unicode)); m 3020 lib/pdf/xpdf/TextOutputDev.cc txtSize = m; m 3022 lib/pdf/xpdf/TextOutputDev.cc for (k = 0; k < m; ++k) { m 3030 lib/pdf/xpdf/TextOutputDev.cc j = backward ? m - len : 0; m 3032 lib/pdf/xpdf/TextOutputDev.cc while (backward ? j >= 0 : j <= m - len) { m 196 lib/pdf/xpdf/UnicodeMap.cc int a, b, m, n, i, j; m 208 lib/pdf/xpdf/UnicodeMap.cc m = (a + b) / 2; m 209 lib/pdf/xpdf/UnicodeMap.cc if (u >= ranges[m].start) { m 210 lib/pdf/xpdf/UnicodeMap.cc a = m; m 211 lib/pdf/xpdf/UnicodeMap.cc } else if (u < ranges[m].start) { m 212 lib/pdf/xpdf/UnicodeMap.cc b = m; m 864 lib/pdf/xpdf/XRef.cc int a, b, m; m 875 lib/pdf/xpdf/XRef.cc m = (a + b) / 2; m 876 lib/pdf/xpdf/XRef.cc if (streamStart <= streamEnds[m]) { m 877 lib/pdf/xpdf/XRef.cc b = m; m 879 lib/pdf/xpdf/XRef.cc a = m; m 229 lib/python/gfx.c gfxmatrix_t m; m 230 lib/python/gfx.c memset(&m, 0, sizeof(gfxmatrix_t)); m 231 lib/python/gfx.c m.m00 = m.m11 = 1.0; m 233 lib/python/gfx.c self->output_device->fillbitmap(self->output_device, line, image, &m, 0); m 267 lib/python/gfx.c gfxmatrix_t m; m 268 lib/python/gfx.c memset(&m, 0, sizeof(gfxmatrix_t)); m 269 lib/python/gfx.c m.m00 = m.m11 = 1.0; m 254 lib/python/primitives.c matrix->matrix = *m; m 37 lib/q.c char*m = (char*)rfx_alloc(size+1); m 38 lib/q.c memcpy(m, str, size); m 39 lib/q.c m[size] = 0; m 40 lib/q.c return m; m 84 lib/q.c int n = m->pos; m 85 lib/q.c m->pos += length + (null?1:0); m 86 lib/q.c if(m->pos > m->len) { m 87 lib/q.c int v1 = (m->pos+63)&~63; m 88 lib/q.c int v2 = m->len + m->len / 2; m 89 lib/q.c m->len = v1>v2?v1:v2; m 90 lib/q.c m->buffer = m->buffer?(char*)rfx_realloc(m->buffer,m->len):(char*)rfx_alloc(m->len); m 92 lib/q.c assert(n+length <= m->len); m 93 lib/q.c memcpy(&m->buffer[n], data, length); m 95 lib/q.c m->buffer[n + length] = 0; m 100 lib/q.c return mem_put_(m, data, length, 0); m 104 lib/q.c return mem_put_(m, str.str, str.len, 1); m 108 lib/q.c if(m->read_pos + length > m->pos) { m 109 lib/q.c length = m->pos - m->read_pos; m 111 lib/q.c memcpy(data, m->buffer+m->read_pos, length); m 112 lib/q.c m->read_pos += length; m 120 lib/q.c int i,j,l,m; m 124 lib/q.c m=n-1; m 125 lib/q.c while(l<m) { m 127 lib/q.c i=l;j=m; m 141 lib/q.c if(k<i) m=j; m 482 lib/q.c triememory_t*m = (triememory_t*)rfx_calloc(sizeof(triememory_t)); m 483 lib/q.c m->key = id; m 484 lib/q.c m->data = data; m 485 lib/q.c m->del = 0; m 486 lib/q.c m->next = rollback->ops; m 487 lib/q.c rollback->ops = m; m 492 lib/q.c triememory_t*m = (triememory_t*)rfx_calloc(sizeof(triememory_t)); m 493 lib/q.c m->key = id; m 494 lib/q.c m->data = data; m 495 lib/q.c m->del = 1; m 496 lib/q.c m->next = rollback->ops; m 497 lib/q.c rollback->ops = m; m 1350 lib/q.c mtf_item_t*item = m->first; m 1353 lib/q.c if(m->type->equals(item->key, key)) { m 1355 lib/q.c if(item->num>m->first->num) { m 1357 lib/q.c else m->first = item->next; m 1358 lib/q.c item->next = m->first; m 1359 lib/q.c m->first = item; m 1368 lib/q.c else m->first = n; m 1374 lib/q.c if(!m) return; m 1375 lib/q.c mtf_item_t*item = m->first; m 1376 lib/q.c m->first = 0; m 1383 lib/q.c free(m); m 1395 lib/q.c map_internal_t*m; m 1397 lib/q.c m = (map_internal_t*)map->internal; m 1398 lib/q.c dict_init(&m->d, INITIAL_SIZE); m 1402 lib/q.c map_internal_t*m = (map_internal_t*)map->internal; m 1405 lib/q.c dict_put2(&m->d, s1, (void*)string_cstr(&t2)); m 1410 lib/q.c map_internal_t*m = (map_internal_t*)map->internal; m 1411 lib/q.c const char*value = dict_lookup(&m->d, name); m 1426 lib/q.c map_internal_t*m = (map_internal_t*)map->internal; m 1427 lib/q.c dict_foreach_keyvalue(&m->d, dumpmapentry, fi); m 1431 lib/q.c map_internal_t*m = (map_internal_t*)map->internal; m 1432 lib/q.c dict_free_all(&m->d, 1, freestring); m 1433 lib/q.c rfx_free(m); m 158 lib/q.h int mem_put(mem_t*m, void*data, int length); m 159 lib/q.h int mem_putstring(mem_t*m, string_t str); m 160 lib/q.h int mem_get(mem_t*m, void*data, int length); m 260 lib/q.h void mtf_increase(mtf_t*m, const void*key); m 261 lib/q.h void mtf_destroy(mtf_t*m); m 41 lib/readers/image.c gfxmatrix_t m; m 42 lib/readers/image.c memset(&m, 0, sizeof(m)); m 43 lib/readers/image.c m.m00 = 1; m 44 lib/readers/image.c m.m11 = 1; m 47 lib/readers/image.c output->fillbitmap(output, rect, &pi->img, &m, &cxform); m 63 lib/readers/image.c gfxmatrix_t m; m 64 lib/readers/image.c memset(&m, 0, sizeof(m)); m 65 lib/readers/image.c m.m00 = 1; m 66 lib/readers/image.c m.m11 = 1; m 67 lib/readers/image.c m.tx = x; m 68 lib/readers/image.c m.ty = y; m 74 lib/readers/image.c output->fillbitmap(output, rect, &pi->img, &m, &cxform); m 27 lib/readers/swf.c MATRIX m; m 60 lib/readers/swf.c MATRIX m; m 217 lib/readers/swf.c gfxmatrix_t m; m 221 lib/readers/swf.c swf_MatrixJoin(&m2, po_m, &f->m); m 222 lib/readers/swf.c convertMatrix(&m2, &m); m 223 lib/readers/swf.c m.m00/=20.0; m.m10/=20.0; m 224 lib/readers/swf.c m.m01/=20.0; m.m11/=20.0; m 226 lib/readers/swf.c r->device->fillbitmap(r->device, line, img, &m, &gfxcx); m 228 lib/readers/swf.c gfxmatrix_t m; m 230 lib/readers/swf.c MATRIX* m2 = &f->m; m 234 lib/readers/swf.c m.m00 = m2->sx/z/20.0; m.m10 = m2->r1/z/20.0; m 235 lib/readers/swf.c m.m01 = m2->r0/z/20.0; m.m11 = m2->sy/z/20.0; m 236 lib/readers/swf.c m.tx = m2->tx/20.0; m 237 lib/readers/swf.c m.ty = m2->ty/20.0; m 240 lib/readers/swf.c r->device->fillgradient(r->device, line, g, f->type == FILL_LINEAR ? gfxgradient_linear : gfxgradient_radial, &m); m 256 lib/readers/swf.c MATRIX m; m 279 lib/readers/swf.c MATRIX m = info->m; m 283 lib/readers/swf.c p = swf_TurnPoint(p, &m); m 285 lib/readers/swf.c m.sx = (m.sx * fontsize) / 1024; m 286 lib/readers/swf.c m.sy = (m.sy * fontsize) / 1024; m 287 lib/readers/swf.c m.r0 = (m.r0 * fontsize) / 1024; m 288 lib/readers/swf.c m.r1 = (m.r1 * fontsize) / 1024; m 289 lib/readers/swf.c m.tx = p.x; m 290 lib/readers/swf.c m.ty = p.y; m 293 lib/readers/swf.c convertMatrix(&m, &gm); m 360 lib/readers/swf.c gfxmatrix_t m = {1/20.0,0,0, 0,1/20.0,0}; m 361 lib/readers/swf.c gfxline_transform(font->glyphs[t], &m); m 498 lib/readers/swf.c p = swf_TurnPoint(p, m); m 509 lib/readers/swf.c MATRIX m; m 510 lib/readers/swf.c swf_MatrixJoin(&m, &r->m, &p->po.matrix); m 511 lib/readers/swf.c swf_ApplyMatrixToShape(&shape, &m); m 544 lib/readers/swf.c swf_MatrixJoin(&mt2, &r->m, &mt); m 545 lib/readers/swf.c swf_MatrixJoin(&info.m, &mt2, &p->po.matrix); m 601 lib/readers/swf.c r.m = pi->m; m 698 lib/readers/swf.c swf_GetMatrix(0, &i->m); m 699 lib/readers/swf.c i->m.tx = -i->swf.movieSize.xmin; m 700 lib/readers/swf.c i->m.ty = -i->swf.movieSize.ymin; m 213 lib/rfxswf.c int i,m=t->len>10?10:t->len; m 214 lib/rfxswf.c for(i=-1;i<m;i++) { m 379 lib/rfxswf.c nt i,m=t->len>10?10:t->len; m 380 lib/rfxswf.c for(i=0;i<m;i++) { m 427 lib/rfxswf.c U16 m = f1&0x3ff; m 430 lib/rfxswf.c while(!(m&0x400)) { m 431 lib/rfxswf.c m<<=1; m 434 lib/rfxswf.c m&=0x3ff; m 440 lib/rfxswf.c f2.u |= m<<13; //mantissa m 454 lib/rfxswf.c U16 m = (v.u>>13)&0x3ff; m 459 lib/rfxswf.c m = 0; m 462 lib/rfxswf.c m = (m|0x400)>>-exp; m 466 lib/rfxswf.c m = 0x3ff; m 470 lib/rfxswf.c m = (m>>1)|0x200; m 473 lib/rfxswf.c result |= m; m 657 lib/rfxswf.c U32 m = 0x80000000; m 660 lib/rfxswf.c while (!(v&m)) m 662 lib/rfxswf.c m>>=1; m 669 lib/rfxswf.c U32 m = 0x80000000; m 670 lib/rfxswf.c if (v&m) m 673 lib/rfxswf.c while (v&m) m 675 lib/rfxswf.c m>>=1; m 681 lib/rfxswf.c while (!(v&m)) m 683 lib/rfxswf.c m>>=1; m 807 lib/rfxswf.c r.x = (int)(m->sx*(1/65536.0)*p.x + m->r1*(1/65536.0)*p.y + 0.5) + m->tx; m 808 lib/rfxswf.c r.y = (int)(m->r0*(1/65536.0)*p.x + m->sy*(1/65536.0)*p.y + 0.5) + m->ty; m 815 lib/rfxswf.c if(!m) m 821 lib/rfxswf.c pp1 = swf_TurnPoint(p1, m); m 822 lib/rfxswf.c pp2 = swf_TurnPoint(p2, m); m 823 lib/rfxswf.c pp3 = swf_TurnPoint(p3, m); m 824 lib/rfxswf.c pp4 = swf_TurnPoint(p4, m); m 838 lib/rfxswf.c if (!m) m = &dummy; m 841 lib/rfxswf.c { m->sx = m->sy = 0x10000; m 842 lib/rfxswf.c m->r0 = m->r1 = 0; m 843 lib/rfxswf.c m->tx = m->ty = 0; m 851 lib/rfxswf.c m->sx = swf_GetSBits(t,nbits); m 852 lib/rfxswf.c m->sy = swf_GetSBits(t,nbits); m 854 lib/rfxswf.c else m->sx = m->sy = 0x10000; m 858 lib/rfxswf.c m->r0 = swf_GetSBits(t,nbits); m 859 lib/rfxswf.c m->r1 = swf_GetSBits(t,nbits); m 861 lib/rfxswf.c else m->r0 = m->r1 = 0x0; m 864 lib/rfxswf.c m->tx = swf_GetSBits(t,nbits); m 865 lib/rfxswf.c m->ty = swf_GetSBits(t,nbits); m 874 lib/rfxswf.c if (!m) m 875 lib/rfxswf.c { m = &ma; m 883 lib/rfxswf.c if ((m->sx==0x10000)&&(m->sy==0x10000)) swf_SetBits(t,0,1); m 886 lib/rfxswf.c nbits = swf_CountBits(m->sx,0); m 887 lib/rfxswf.c nbits = swf_CountBits(m->sy,nbits); m 896 lib/rfxswf.c swf_SetBits(t,m->sx,nbits); m 897 lib/rfxswf.c swf_SetBits(t,m->sy,nbits); m 900 lib/rfxswf.c if ((!m->r0)&&(!m->r1)) swf_SetBits(t,0,1); m 903 lib/rfxswf.c nbits = swf_CountBits(m->r0,0); m 904 lib/rfxswf.c nbits = swf_CountBits(m->r1,nbits); m 912 lib/rfxswf.c swf_SetBits(t,m->r0,nbits); m 913 lib/rfxswf.c swf_SetBits(t,m->r1,nbits); m 916 lib/rfxswf.c nbits = swf_CountBits(m->tx,0); m 917 lib/rfxswf.c nbits = swf_CountBits(m->ty,nbits); m 925 lib/rfxswf.c swf_SetBits(t,m->tx,nbits); m 926 lib/rfxswf.c swf_SetBits(t,m->ty,nbits); m 268 lib/rfxswf.h int swf_GetMatrix(TAG * t,MATRIX * m); m 278 lib/rfxswf.h int swf_SetMatrix(TAG * t,MATRIX * m); m 292 lib/rfxswf.h SPOINT swf_TurnPoint(SPOINT p, MATRIX* m); m 293 lib/rfxswf.h SRECT swf_TurnRect(SRECT r, MATRIX* m); m 397 lib/rfxswf.h MATRIX m; m 459 lib/rfxswf.h int swf_ShapeAddBitmapFillStyle(SHAPE * s,MATRIX * m,U16 id_bitmap,int clip); m 460 lib/rfxswf.h int swf_ShapeAddGradientFillStyle(SHAPE * s,MATRIX * m,GRADIENT* gradient,int radial); m 704 lib/rfxswf.h void swf_DumpMatrix(FILE * f,MATRIX * m); m 779 lib/rfxswf.h MATRIX * swf_MatrixMapTriangle(MATRIX * m,int dx,int dy, m 941 lib/rfxswf.h int swf_ObjectPlace(TAG * t,U16 id,U16 depth,MATRIX * m,CXFORM * cx,const char* name); m 942 lib/rfxswf.h int swf_ObjectPlaceClip(TAG * t,U16 id,U16 depth,MATRIX * m,CXFORM * cx,const char* name, U16 clipaction); m 943 lib/rfxswf.h int swf_ObjectPlaceBlend(TAG * t,U16 id,U16 depth,MATRIX * m,CXFORM * cx,const char* name, U8 blendmode); m 944 lib/rfxswf.h int swf_ObjectMove(TAG * t,U16 depth,MATRIX * m,CXFORM * cx); m 1096 lib/rfxswf.h int swf_ButtonSetRecord(TAG * t,U8 state,U16 id,U16 layer,MATRIX * m,CXFORM * cx); m 1116 lib/rfxswf.h void swf_RenderShape(RENDERBUF*dest, SHAPE2*shape, MATRIX*m, CXFORM*c, U16 depth,U16 clipdepth); m 1827 lib/ttf.c INIT_READ(m, table->data, table->len, 0); m 1828 lib/ttf.c int loc_index = head_parse(ttf, &m); m 1848 lib/ttf.c INIT_READ(m, table->data, table->len, 0); m 1849 lib/ttf.c ttf->os2 = os2_parse(&m); m 1856 lib/ttf.c INIT_READ(m, table->data, table->len, 0); m 1857 lib/ttf.c int num_advances = hea_parse(&m, ttf); m 1862 lib/ttf.c INIT_READ(m, table->data, table->len, 0); m 1863 lib/ttf.c mtx_parse(&m, ttf, num_advances); m 1870 lib/ttf.c INIT_READ(m, table->data, table->len, 0); m 1871 lib/ttf.c int num_advances = hea_parse(&m, ttf); m 1876 lib/ttf.c INIT_READ(m, table->data, table->len, 0); m 1877 lib/ttf.c mtx_parse(&m, ttf, num_advances); m 1886 lib/ttf.c INIT_READ(m, table->data, table->len, 0); m 1887 lib/ttf.c U32*loca = loca_parse(&m, ttf, loc_index); m 1891 lib/ttf.c INIT_READ(m, table->data, table->len, 0); m 1892 lib/ttf.c glyf_parse(&m, ttf, loca); m 1900 lib/ttf.c INIT_READ(m, table->data, table->len, 0); m 1901 lib/ttf.c cmap_parse(&m, ttf); m 1907 lib/ttf.c INIT_READ(m, table->data, table->len, 0); m 1908 lib/ttf.c post_parse(&m, ttf); m 1914 lib/ttf.c INIT_READ(m, table->data, table->len, 0); m 1915 lib/ttf.c name_parse(&m, ttf); m 1921 lib/ttf.c INIT_READ(m, table->data, table->len, 0); m 1922 lib/ttf.c cvt_parse(&m, ttf); m 1928 lib/ttf.c INIT_READ(m, table->data, table->len, 0); m 1929 lib/ttf.c gasp_parse(&m, ttf); m 1935 lib/ttf.c INIT_READ(m, table->data, table->len, 0); m 1936 lib/ttf.c prep_parse(&m, ttf); m 1942 lib/ttf.c INIT_READ(m, table->data, table->len, 0); m 1943 lib/ttf.c fpgm_parse(&m, ttf); m 2440 lib/ttf.c memfile_t*m = memfile_open(filename); m 2441 lib/ttf.c ttf_t*ttf = ttf_load(m->data, m->len); m 2452 lib/ttf.c memfile_close(m); m 201 src/gif2swf.c MATRIX m; m 357 src/gif2swf.c swf_GetMatrix(NULL, &m); m 358 src/gif2swf.c m.sx = 20 * 0x10000; m 359 src/gif2swf.c m.sy = 20 * 0x10000; m 360 src/gif2swf.c fs = swf_ShapeAddBitmapFillStyle(s, &m, id, 0); m 422 src/gif2swf.c swf_GetMatrix(NULL, &m); m 423 src/gif2swf.c m.tx = (swf->movieSize.xmax - (int) header.width * 20) / 2; m 424 src/gif2swf.c m.ty = (swf->movieSize.ymax - (int) header.height * 20) / 2; m 425 src/gif2swf.c swf_ObjectPlace(t, id + 1, depth, &m, NULL, NULL); m 237 src/jpeg2swf.c MATRIX m; m 282 src/jpeg2swf.c swf_GetMatrix(NULL, &m); m 284 src/jpeg2swf.c m.sx = 0x10000 * movie_width / width; m 285 src/jpeg2swf.c m.sy = 0x10000 * movie_height / height; m 289 src/jpeg2swf.c m.sx = 20 * 0x10000; m 290 src/jpeg2swf.c m.sy = 20 * 0x10000; m 292 src/jpeg2swf.c m.tx = 0; m 293 src/jpeg2swf.c m.ty = 0; m 294 src/jpeg2swf.c fs = swf_ShapeAddBitmapFillStyle(s, &m, global.next_id, 1); m 316 src/jpeg2swf.c swf_GetMatrix(NULL, &m); m 317 src/jpeg2swf.c m.sx = (int)(0x10000 * global.scale); m 318 src/jpeg2swf.c m.sy = (int)(0x10000 * global.scale); m 321 src/jpeg2swf.c m.tx = move_x*20; m 322 src/jpeg2swf.c m.ty = move_y*20; m 324 src/jpeg2swf.c m.tx = (movie_width - (width * global.scale * 20)) / 2; m 325 src/jpeg2swf.c m.ty = (movie_height - (height * global.scale * 20)) / 2; m 327 src/jpeg2swf.c swf_ObjectPlace(t, global.next_id, 1, &m, NULL, NULL); m 749 src/png2swf.c MATRIX m; m 792 src/png2swf.c swf_GetMatrix(NULL, &m); m 793 src/png2swf.c m.sx = (int)(20 * 0x10000); m 794 src/png2swf.c m.sy = (int)(20 * 0x10000); m 795 src/png2swf.c m.tx = 0; m 796 src/png2swf.c m.ty = 0; m 797 src/png2swf.c fs = swf_ShapeAddBitmapFillStyle(s, &m, id, 1); m 821 src/png2swf.c swf_GetMatrix(NULL, &m); m 822 src/png2swf.c m.sx = (int)(0x10000 * global.scale); m 823 src/png2swf.c m.sy = (int)(0x10000 * global.scale); m 826 src/png2swf.c m.tx = move_x*20; m 827 src/png2swf.c m.ty = move_y*20; m 829 src/png2swf.c m.tx = (swf->movieSize.xmax - (int) (width * global.scale * 20)) / 2; m 830 src/png2swf.c m.ty = (swf->movieSize.ymax - (int) (height * global.scale * 20)) / 2; m 832 src/png2swf.c swf_ObjectPlace(t, id + 1, 50, &m, NULL, NULL); m 236 src/swfbbox.c MATRIX m; // character transform matrix m 283 src/swfbbox.c MATRIX m; m 294 src/swfbbox.c m = placements[id].po->matrix; m 295 src/swfbbox.c if(m.r0 || m.r1) { m 302 src/swfbbox.c swf_DumpMatrix(stdout, &m); m 304 src/swfbbox.c mbbox.xmin -= m.tx; m 305 src/swfbbox.c mbbox.ymin -= m.ty; m 306 src/swfbbox.c mbbox.xmax -= m.tx; m 307 src/swfbbox.c mbbox.ymax -= m.ty; m 308 src/swfbbox.c mbbox.xmin *= 65536.0/m.sx; m 309 src/swfbbox.c mbbox.xmax *= 65536.0/m.sx; m 310 src/swfbbox.c mbbox.ymin *= 65536.0/m.sy; m 311 src/swfbbox.c mbbox.ymax *= 65536.0/m.sy; m 389 src/swfbbox.c MATRIX m = bounds->m; m 397 src/swfbbox.c p = swf_TurnPoint(p, &m); m 399 src/swfbbox.c m.sx = (m.sx * fontsize) / 1024; m 400 src/swfbbox.c m.sy = (m.sy * fontsize) / 1024; m 401 src/swfbbox.c m.r0 = (m.r0 * fontsize) / 1024; m 402 src/swfbbox.c m.r1 = (m.r1 * fontsize) / 1024; m 404 src/swfbbox.c m.tx += p.x; m 405 src/swfbbox.c m.ty += p.y; m 406 src/swfbbox.c newglyphbbox = swf_TurnRect(glyphbbox, &m); m 472 src/swfbbox.c swf_GetMatrix(tag,&bounds.m); m 476 src/swfbbox.c swf_DumpMatrix(stdout, &bounds.m); m 524 src/swfbbox.c MATRIX m = getmatrix(tag); m 534 src/swfbbox.c p1 = swf_TurnPoint(p1, &m); m 535 src/swfbbox.c p2 = swf_TurnPoint(p2, &m); m 536 src/swfbbox.c p3 = swf_TurnPoint(p3, &m); m 537 src/swfbbox.c p4 = swf_TurnPoint(p4, &m); m 567 src/swfbbox.c MATRIX m = getmatrix(tag); m 571 src/swfbbox.c SRECT tbbox = swf_TurnRect(bbox, &m); m 446 src/swfc.c m->sx = (int)(sx*65536+0.5); m 447 src/swfc.c m->r1 = (int)(r1*65536+0.5); m 448 src/swfc.c m->r0 = (int)(r0*65536+0.5); m 449 src/swfc.c m->sy = (int)(sy*65536+0.5); m 451 src/swfc.c m->tx = m->ty = 0; m 453 src/swfc.c h = swf_TurnPoint(p->pin, m); m 454 src/swfc.c m->tx = p->x - h.x; m 455 src/swfc.c m->ty = p->y - h.y; m 460 src/swfc.c MATRIX m; m 462 src/swfc.c makeMatrix(&m, p); m 463 src/swfc.c r = swf_TurnRect(rect, &m); m 469 src/swfc.c return m; m 716 src/swfc.c MATRIX m; m 730 src/swfc.c m = s_instancepos(c->size, &p); m 733 src/swfc.c r.matrix = m; m 918 src/swfc.c po.matrix = m; m 936 src/swfc.c MATRIX m; m 948 src/swfc.c m = s_instancepos(i->character->size, &p); m 954 src/swfc.c setPlacement(tag, 0, i->depth, m, 0, &p, 1); m 1180 src/swfc.c MATRIX m; m 1181 src/swfc.c swf_GetMatrix(0, &m); m 1182 src/swfc.c m.sx = 65536.0*20.0*(r->xmax - r->xmin)/image->size.xmax; m 1183 src/swfc.c m.sy = 65536.0*20.0*(r->ymax - r->ymin)/image->size.ymax; m 1184 src/swfc.c m.tx = r->xmin; m 1185 src/swfc.c m.ty = r->ymin; m 1186 src/swfc.c return swf_ShapeAddBitmapFillStyle(s, &m, image->id, 0); m 1189 src/swfc.c MATRIX rot,m; m 1199 src/swfc.c swf_GetMatrix(0, &m); m 1200 src/swfc.c m.sx = (r2.xmax - r2.xmin)*2*ccos; m 1201 src/swfc.c m.r1 = -(r2.xmax - r2.xmin)*2*csin; m 1202 src/swfc.c m.r0 = (r2.ymax - r2.ymin)*2*csin; m 1203 src/swfc.c m.sy = (r2.ymax - r2.ymin)*2*ccos; m 1204 src/swfc.c m.tx = r->xmin + (r->xmax - r->xmin)/2; m 1205 src/swfc.c m.ty = r->ymin + (r->ymax - r->ymin)/2; m 1206 src/swfc.c return swf_ShapeAddGradientFillStyle(s, &m, &gradient->gradient, gradient->radial); m 1368 src/swfc.c MATRIX _m,*m=0; m 1398 src/swfc.c MATRIX _m,*m=0; m 1572 src/swfc.c makeMatrix(&fs->m, &p); m 1574 src/swfc.c MATRIX m = fs->m; m 1576 src/swfc.c m.tx = 0; m 1577 src/swfc.c m.ty = 0; m 1580 src/swfc.c p2 = swf_TurnPoint(p1, &m); m 1581 src/swfc.c fs->m.tx += p2.x; m 1582 src/swfc.c fs->m.ty += p2.y; m 1585 src/swfc.c fs->m.sx *= 20; m 1586 src/swfc.c fs->m.sy *= 20; m 2188 src/swfc.c MATRIX m; m 2194 src/swfc.c m = s_instancepos(i->character->size, &p); m 2198 src/swfc.c swf_ObjectPlace(tag, c->id, currentdepth, &m, &p.cxform, instance); m 2224 src/swfc.c MATRIX m; m 2230 src/swfc.c m = s_instancepos(i->character->size, &p); m 2245 src/swfc.c setPlacement(tag, c->id, currentdepth, m, instance, &p, 0); m 2729 src/swfc.c MULADD m; m 2747 src/swfc.c m.add = (int)(add*256); m 2748 src/swfc.c m.mul = (int)(mul*256); m 2750 src/swfc.c return m; m 2756 src/swfc.c double m = ((double)m1.mul*(double)m2.mul)/256.0; m 2760 src/swfc.c if(m<-32768) m=-32768; m 2761 src/swfc.c if(m>32767) m=32767; m 2763 src/swfc.c r.mul = (int)m; m 605 src/swfcombine.c m->sx = (int)(m->sx*scalex); m 606 src/swfcombine.c m->sy = (int)(m->sy*scaley); m 607 src/swfcombine.c m->r1 = (int)(m->r1*scalex); m 608 src/swfcombine.c m->r0 = (int)(m->r0*scaley); m 610 src/swfcombine.c m->tx *= scalex; m 611 src/swfcombine.c m->ty *= scaley; m 613 src/swfcombine.c m->tx += movex; m 614 src/swfcombine.c m->ty += movey; m 624 src/swfcombine.c MATRIX m; m 626 src/swfcombine.c swf_GetMatrix(0, &m); m 639 src/swfcombine.c swf_GetMatrix(tag, &m); m 641 src/swfcombine.c swf_GetMatrix(0, &m); m 643 src/swfcombine.c matrix_adjust(&m, movex, movey, scalex, scaley, scalepos); m 644 src/swfcombine.c swf_SetMatrix(output, &m); m 652 src/swfcombine.c MATRIX m; m 656 src/swfcombine.c swf_GetMatrix(tag, &m); m 657 src/swfcombine.c matrix_adjust(&m, movex, movey, scalex, scaley, scalepos); m 658 src/swfcombine.c swf_SetMatrix(output, &m); m 431 src/swfdump.c MATRIX m; m 432 src/swfdump.c swf_GetMatrix(tag, &m); m 434 src/swfdump.c printf("%s| %5.3f %5.3f %6.2f\n", prefix, m.sx/65536.0, m.r1/65536.0, m.tx/20.0); m 435 src/swfdump.c printf("%s| %5.3f %5.3f %6.2f\n", prefix, m.r0/65536.0, m.sy/65536.0, m.ty/20.0); m 671 src/swfdump.c MATRIX m; m 684 src/swfdump.c swf_GetMatrix(tag,&m); m 687 src/swfdump.c ppos[1] += sprintf(pstr[1], "| %5.3f %5.3f %6.2f ", m.sx/65536.0, m.r1/65536.0, m.tx/20.0); m 688 src/swfdump.c ppos[2] += sprintf(pstr[2], "| %5.3f %5.3f %6.2f ", m.r0/65536.0, m.sy/65536.0, m.ty/20.0); m 475 src/swfextract.c MATRIX m; m 477 src/swfextract.c swf_GetMatrix(0, &m); m 482 src/swfextract.c m.tx = -bbox.xmin; m 483 src/swfextract.c m.ty = -bbox.ymin; m 485 src/swfextract.c m.sx = (512*20*65536)/max; m 486 src/swfextract.c m.sy = (512*20*65536)/max; m 490 src/swfextract.c swf_ObjectPlace(desttag, t, t, &m,0,0); m 136 src/swfstrings.c MATRIX*m = (MATRIX*)self; m 139 src/swfstrings.c p = swf_TurnPoint(p, m); m 234 src/swfstrings.c MATRIX m,tm; m 236 src/swfstrings.c swf_MatrixJoin(&m, &po.matrix, &tm); m 237 src/swfstrings.c swf_ParseDefineText(text, textcallback, &m); m 35 swfs/PreLoaderTemplate.c MATRIX m; m 41 swfs/keyboard_viewer.c MATRIX m; m 63 swfs/keyboard_viewer.c m.sx = 65536; //scale m 64 swfs/keyboard_viewer.c m.sy = 65536; m 65 swfs/keyboard_viewer.c m.r0 = 0; //rotate m 66 swfs/keyboard_viewer.c m.r1 = 0; m 67 swfs/keyboard_viewer.c m.tx = 0; //move m 68 swfs/keyboard_viewer.c m.ty = 0; m 80 swfs/keyboard_viewer.c m.tx = 0; //move m 81 swfs/keyboard_viewer.c m.ty = 0; m 82 swfs/keyboard_viewer.c swf_ObjectPlace(tag, 23, 1,&m,0,"viewport"); m 159 swfs/keyboard_viewer.c m.tx = 0; //move m 160 swfs/keyboard_viewer.c m.ty = 0; m 162 swfs/keyboard_viewer.c swf_ObjectPlace(tag, 30, 2,&m,0,0); m 197 swfs/keyboard_viewer.c m.tx = m.ty = 0; m 200 swfs/keyboard_viewer.c swf_ObjectPlace(tag, 0x77, 4,&m,0,0); m 55 swfs/simple_viewer.c MATRIX m; m 79 swfs/simple_viewer.c m.sx = 65536; //scale m 80 swfs/simple_viewer.c m.sy = 65536; m 81 swfs/simple_viewer.c m.r0 = 0; //rotate m 82 swfs/simple_viewer.c m.r1 = 0; m 83 swfs/simple_viewer.c m.tx = 0; //move m 84 swfs/simple_viewer.c m.ty = 0; m 96 swfs/simple_viewer.c m.tx = 0; //move m 97 swfs/simple_viewer.c m.ty = 0; m 98 swfs/simple_viewer.c swf_ObjectPlace(tag, 23, 1,&m,0,"viewport"); m 218 swfs/simple_viewer.c m.tx = 0; //move m 219 swfs/simple_viewer.c m.ty = 0; m 221 swfs/simple_viewer.c swf_ObjectPlace(tag, 30, 3,&m,0,0); m 222 swfs/simple_viewer.c m.tx = button_sizex*30; m 224 swfs/simple_viewer.c swf_ObjectPlace(tag, 31, 4,&m,0,0); m 231 swfs/simple_viewer.c swf_ObjectPlace(tag, ID_WATERMARK, 2, &m, 0,0); m 264 swfs/simple_viewer.c m.tx = m.ty = 0; m 267 swfs/simple_viewer.c swf_ObjectPlace(tag, 0x77, 5,&m,0,0);