l 333 avi2swf/avi2swf.cc int l=v2swf_read(&v2swf, buffer, 4096); l 334 avi2swf/avi2swf.cc fwrite(buffer, l, 1, fi); l 335 avi2swf/avi2swf.cc if(!l) l 108 avi2swf/v2swf.c int l; l 115 avi2swf/v2swf.c l = strlen(buf); l 116 avi2swf/v2swf.c while(l && buf[l-1]=='\n') { l 117 avi2swf/v2swf.c buf[l-1] = 0; l 118 avi2swf/v2swf.c l--; l 189 avi2swf/v2swf.c int l = 0; l 192 avi2swf/v2swf.c l = videoreader_getsamples(video, tmp, r); l 193 avi2swf/v2swf.c if(l <= 0) { l 196 avi2swf/v2swf.c msg("%d samples read", l); l 212 avi2swf/v2swf.c return l == r; l 916 avi2swf/v2swf.c int l; l 926 avi2swf/v2swf.c l = ringbuffer_read(&i->r, buffer, len); l 928 avi2swf/v2swf.c return l; l 95 avi2swf/videoreader_avifile.cc int l = i->audio_buffer.available; l 96 avi2swf/videoreader_avifile.cc ringbuffer_read(&i->audio_buffer, buffer, l); l 97 avi2swf/videoreader_avifile.cc return l; l 200 lib/MD5.c unsigned long l; l 287 lib/MD5.c l = (final[ 0]<<16) | (final[ 6]<<8) | final[12]; l 288 lib/MD5.c _crypt_to64(p, l, 4); p += 4; l 289 lib/MD5.c l = (final[ 1]<<16) | (final[ 7]<<8) | final[13]; l 290 lib/MD5.c _crypt_to64(p, l, 4); p += 4; l 291 lib/MD5.c l = (final[ 2]<<16) | (final[ 8]<<8) | final[14]; l 292 lib/MD5.c _crypt_to64(p, l, 4); p += 4; l 293 lib/MD5.c l = (final[ 3]<<16) | (final[ 9]<<8) | final[15]; l 294 lib/MD5.c _crypt_to64(p, l, 4); p += 4; l 295 lib/MD5.c l = (final[ 4]<<16) | (final[10]<<8) | final[ 5]; l 296 lib/MD5.c _crypt_to64(p, l, 4); p += 4; l 297 lib/MD5.c l = final[11]; l 298 lib/MD5.c _crypt_to64(p, l, 2); p += 2; l 90 lib/action/assembler.c int l, i = 0; l 113 lib/action/assembler.c l = output[i]; l 115 lib/action/assembler.c l += output[i]<<8; l 117 lib/action/assembler.c i += l+1; l 380 lib/action/compile.c int l; l 388 lib/action/compile.c l = bufferWriteConstantString(out, string, length); l 390 lib/action/compile.c bufferPatchPushLength(out, l); l 391 lib/action/compile.c return l; l 610 lib/action/compile.c int l, target; l 640 lib/action/compile.c l = *p; l 642 lib/action/compile.c l += *p<<8; l 645 lib/action/compile.c p += l; l 816 lib/action/lex.swf4.c int l = lexBufferLen > max_size ? max_size : lexBufferLen; l 821 lib/action/lex.swf4.c memcpy(buf, lexBuffer, l); l 822 lib/action/lex.swf4.c lexBuffer += l; l 823 lib/action/lex.swf4.c lexBufferLen -= l; l 824 lib/action/lex.swf4.c return l; l 877 lib/action/lex.swf5.c int l = lexBufferLen > max_size ? max_size : lexBufferLen; l 882 lib/action/lex.swf5.c memcpy(buf, lexBuffer, l); l 883 lib/action/lex.swf5.c lexBuffer += l; l 884 lib/action/lex.swf5.c lexBufferLen -= l; l 885 lib/action/lex.swf5.c return l; l 212 lib/args.h int l = strlen(filename); l 213 lib/args.h char*newname = (char*)malloc(l+5); l 216 lib/args.h l--; l 217 lib/args.h if(l<0 || strchr("0123456789", filename[l])) l 220 lib/args.h if(l>=0) { l 221 lib/args.h int lastdigit=l; l 222 lib/args.h int firstdigit=l; l 46 lib/as3/abc.c int n = list_length(l); l 51 lib/as3/abc.c while(l) { l 52 lib/as3/abc.c char*s = multiname_tostring(l->multiname); l 63 lib/as3/abc.c if(l->next) l 65 lib/as3/abc.c l = l->next;i++; l 248 lib/as3/abc.c trait_list_t*l = *traits; l 305 lib/as3/abc.c trait_list_t*l; l 307 lib/as3/abc.c for(l=traits;l;l=l->next) { l 308 lib/as3/abc.c if(l->trait->slot_id==slotid) { l 309 lib/as3/abc.c t=l->trait; l 796 lib/as3/abc.c multiname_list_t*l = m->parameters; l 797 lib/as3/abc.c while(l) { l 799 lib/as3/abc.c l = l->next; l 1057 lib/as3/abc.c multiname_list_t*l = m->parameters; l 1065 lib/as3/abc.c while(l) { l 1066 lib/as3/abc.c swf_SetU30(tag, pool_register_multiname(pool, l->multiname)); l 1067 lib/as3/abc.c l = l->next; l 1085 lib/as3/abc.c constant_list_t*l = m->optional_parameters; l 1086 lib/as3/abc.c while(l) { l 1087 lib/as3/abc.c int i = constant_get_index(pool, l->constant); l 1092 lib/as3/abc.c swf_SetU8(tag, l->constant->type); l 1094 lib/as3/abc.c l = l->next; l 1188 lib/as3/abc.c abc_exception_list_t*l = c->exceptions; l 1189 lib/as3/abc.c while(l) { l 1191 lib/as3/abc.c swf_SetU30(tag, l->abc_exception->from->pos); l 1192 lib/as3/abc.c swf_SetU30(tag, l->abc_exception->to->pos); l 1193 lib/as3/abc.c swf_SetU30(tag, l->abc_exception->target->pos); l 1194 lib/as3/abc.c swf_SetU30(tag, pool_register_multiname(pool, l->abc_exception->exc_type)); l 1195 lib/as3/abc.c swf_SetU30(tag, pool_register_multiname(pool, l->abc_exception->var_name)); l 1196 lib/as3/abc.c l = l->next; l 181 lib/as3/assets.c asset_bundle_list_t*l = assets; l 183 lib/as3/assets.c while(l) { l 184 lib/as3/assets.c if(l->asset_bundle->used) { l 185 lib/as3/assets.c abc_file_t*file = l->asset_bundle->file; l 212 lib/as3/assets.c l = l->next; l 253 lib/as3/code.c return pos2code(l->bytepos, 0, pos, l->len); l 258 lib/as3/code.c printf("default: %08x\n", (int)l->def); l 259 lib/as3/code.c code_list_t*t = l->targets; l 348 lib/as3/code.c lookupswitch_t*l = malloc(sizeof(lookupswitch_t)); l 349 lib/as3/code.c l->def = (code_t*)(ptroff_t)swf_GetS24(tag); l 350 lib/as3/code.c l->targets = list_new(); l 354 lib/as3/code.c list_append(l->targets, (code_t*)(ptroff_t)swf_GetS24(tag)); l 355 lib/as3/code.c data = l; l 392 lib/as3/code.c lookupswitch_t*l = (lookupswitch_t*)c->data[0]; l 394 lib/as3/code.c l->def = pos2code(bytepos,c,(ptroff_t)l->def+offset,len); l 395 lib/as3/code.c code_list_t*t=l->targets; l 438 lib/as3/code.c lookupswitch_t*l = (lookupswitch_t*)data; l 439 lib/as3/code.c list_free(l->targets);l->targets=0; l 440 lib/as3/code.c free(l); l 554 lib/as3/code.c lookupswitch_t*l = (lookupswitch_t*)data; l 556 lib/as3/code.c len+=swf_SetS24(tag, l->def->pos-c->pos+offset); //default l 557 lib/as3/code.c code_list_t*t = l->targets; l 560 lib/as3/code.c code_list_t*t = l->targets; l 567 lib/as3/code.c len+=swf_SetS24(tag, l->def->pos-c->pos+offset); l 795 lib/as3/code.c lookupswitch_t*l = c->data[0]; l 796 lib/as3/code.c if(!l->def) { l 801 lib/as3/code.c if(!callcode(stats, l->def->pos, stack, scope)) l 803 lib/as3/code.c code_list_t*t = l->targets; l 1001 lib/as3/code.c lookupswitch_t*l = c->data[0]; l 1003 lib/as3/code.c if(l->def) l 1004 lib/as3/code.c fprintf(fo, "default->%d", l->def->pos); l 1007 lib/as3/code.c code_list_t*t = l->targets; l 1130 lib/as3/code.c n->targets = list_clone(l->targets); l 36 lib/as3/common.c int l; l 51 lib/as3/common.c int l; l 64 lib/as3/common.c int l; l 252 lib/as3/compiler.c int l=strlen(name); l 253 lib/as3/compiler.c if(l<4) l 255 lib/as3/compiler.c if(strncasecmp(&name[l-3], ".as", 3)) l 1610 lib/as3/expr.c namespace_list_t l;l.next = 0; l 1611 lib/as3/expr.c nsset.namespaces = &l; l 1612 lib/as3/expr.c l.namespace = &ns; l 36 lib/as3/files.c int l; l 43 lib/as3/files.c l = strlen(buf); l 44 lib/as3/files.c while(l && buf[l-1]=='\n') { l 45 lib/as3/files.c buf[l-1] = 0; l 46 lib/as3/files.c l--; l 146 lib/as3/files.c int l = strlen(buf); l 147 lib/as3/files.c d = n = malloc(l+strlen(path)+10); l 148 lib/as3/files.c strcpy(n, buf);d += l; l 149 lib/as3/files.c if(!l || n[l-1]!=path_seperator) { l 342 lib/as3/import.c trait_list_t*l=0; l 344 lib/as3/import.c l = cls->traits; l 345 lib/as3/import.c if(!l) { l 346 lib/as3/import.c l = cls->static_traits; l 350 lib/as3/import.c while(l) { l 351 lib/as3/import.c trait_t*trait = l->trait; l 400 lib/as3/import.c l = l->next; l 401 lib/as3/import.c if(!l && !is_static) { l 402 lib/as3/import.c l = cls->static_traits; l 414 lib/as3/import.c trait_list_t*l = ((abc_script_t*)array_getvalue(abc->scripts, t))->traits; l 415 lib/as3/import.c for(;l;l=l->next) { l 416 lib/as3/import.c num_methods += IS_PUBLIC_MEMBER(l->trait); l 422 lib/as3/import.c trait_list_t*l = ((abc_script_t*)array_getvalue(abc->scripts, t))->traits; l 423 lib/as3/import.c for(;l;l=l->next) { l 424 lib/as3/import.c if(IS_PUBLIC_MEMBER(l->trait)) { l 425 lib/as3/import.c traits[num_methods++] = l->trait; l 126 lib/as3/initcode.c parsedclass_list_t*l; l 127 lib/as3/initcode.c for(l=classes;l;l=l->next) { l 128 lib/as3/initcode.c dict_put(s2p, l->parsedclass->cls, l->parsedclass); l 131 lib/as3/initcode.c for(l=classes;l;l=l->next) { l 132 lib/as3/initcode.c add_parent(l->parsedclass, 0, s2p, 0); l 133 lib/as3/initcode.c DICT_ITERATE_KEY(&l->parsedclass->usedclasses, classinfo_t*, c) { l 134 lib/as3/initcode.c add_parent(l->parsedclass, c, s2p, 1); l 142 lib/as3/initcode.c for(l=classes;l;l=l->next) { l 143 lib/as3/initcode.c list[i++] = l->parsedclass; l 655 lib/as3/opcodes.c self->data[0] = l; l 337 lib/as3/opcodes.h #define lookupswitch(method,l) (method->code = abc_lookupswitch(method->code,l)) l 276 lib/as3/parser.tab.c abc_exception_list_t *l; l 858 lib/as3/parser.tab.c methodstate_list_t*l = m->innerfunctions; l 859 lib/as3/parser.tab.c while(l) { l 860 lib/as3/parser.tab.c parserassert(l->methodstate->abc); l 861 lib/as3/parser.tab.c if(m->uses_slots && l->methodstate->is_a_slot) { l 863 lib/as3/parser.tab.c c = abc_newfunction(c, l->methodstate->abc); l 865 lib/as3/parser.tab.c c = abc_setlocal(c, l->methodstate->var_index); l 866 lib/as3/parser.tab.c c = abc_setslot(c, l->methodstate->slot_index); l 868 lib/as3/parser.tab.c c = abc_newfunction(c, l->methodstate->abc); l 869 lib/as3/parser.tab.c c = abc_setlocal(c, l->methodstate->var_index); l 871 lib/as3/parser.tab.c free(l->methodstate);l->methodstate=0; l 872 lib/as3/parser.tab.c l = l->next; l 998 lib/as3/parser.tab.c methodstate_list_t*l = m->innerfunctions; l 999 lib/as3/parser.tab.c while(l) { l 1000 lib/as3/parser.tab.c methodstate_t*m = l->methodstate; l 1007 lib/as3/parser.tab.c l = l->next; l 1140 lib/as3/parser.tab.c classinfo_list_t*l = implements; l 1141 lib/as3/parser.tab.c for(l=implements;l;l=l->next) { l 1142 lib/as3/parser.tab.c state->cls->info->interfaces[pos++] = l->classinfo; l 1781 lib/as3/parser.tab.c import_list_t*l = state->wildcard_imports; l 1782 lib/as3/parser.tab.c while(l) { l 1783 lib/as3/parser.tab.c namespace_t*ns = namespace_new_package(l->import->package); l 1785 lib/as3/parser.tab.c l = l->next; l 1811 lib/as3/parser.tab.c import_list_t*l = state->wildcard_imports; l 1812 lib/as3/parser.tab.c while(l) { l 1814 lib/as3/parser.tab.c c = registry_find(l->import->package, name); l 1816 lib/as3/parser.tab.c l = l->next; l 1902 lib/as3/parser.tab.c NEW(lookupswitch_t, l); l 1931 lib/as3/parser.tab.c list_append(l->targets, target); l 1944 lib/as3/parser.tab.c c = abc_lookupswitch(c, l); l 1945 lib/as3/parser.tab.c c = l->def = abc_label(c); l 5583 lib/as3/parser.tab.c {(yyval.catch_list).l=list_new();(yyval.catch_list).finally=0;list_append((yyval.catch_list).l,(yyvsp[(1) - (1)].exception));} l 5594 lib/as3/parser.tab.c {(yyval.catch_list)=(yyvsp[(1) - (2)].catch_list);list_append((yyval.catch_list).l,(yyvsp[(2) - (2)].exception));} l 5620 lib/as3/parser.tab.c list_append((yyval.catch_list).l,(yyvsp[(2) - (2)].exception)); l 5635 lib/as3/parser.tab.c (yyval.catch_list).l=list_new(); l 5638 lib/as3/parser.tab.c list_append((yyval.catch_list).l,(yyvsp[(1) - (1)].exception)); l 5680 lib/as3/parser.tab.c abc_exception_list_t*l = (yyvsp[(6) - (6)].catch_list).l; l 5682 lib/as3/parser.tab.c while(l) { l 5683 lib/as3/parser.tab.c abc_exception_t*e = l->abc_exception; l 5698 lib/as3/parser.tab.c l = l->next; l 5704 lib/as3/parser.tab.c list_concat(state->method->exceptions, (yyvsp[(6) - (6)].catch_list).l); l 190 lib/as3/parser.tab.h abc_exception_list_t *l; l 297 lib/as3/pool.c namespace_list_t*l = set->namespaces; l 299 lib/as3/pool.c while(l) { l 300 lib/as3/pool.c hash = crc32_add_byte(hash, l->namespace->access); l 301 lib/as3/pool.c hash = crc32_add_string(hash, l->namespace->name); l 302 lib/as3/pool.c l = l->next; l 334 lib/as3/pool.c namespace_list_t*l = other->namespaces; l 335 lib/as3/pool.c while(l) { l 336 lib/as3/pool.c list_append(set->namespaces, namespace_clone(l->namespace)); l 337 lib/as3/pool.c l = l->next; l 357 lib/as3/pool.c int l = 0; l 361 lib/as3/pool.c l += strlen(s)+1; l 365 lib/as3/pool.c char*desc = malloc(l+16); l 383 lib/as3/pool.c namespace_list_t*l = set->namespaces; l 384 lib/as3/pool.c while(l) { l 385 lib/as3/pool.c namespace_destroy(l->namespace);l->namespace=0; l 386 lib/as3/pool.c l = l->next; l 415 lib/as3/pool.c namespace_list_t*l = m->namespace_set->namespaces; l 416 lib/as3/pool.c while(l) { l 417 lib/as3/pool.c hash = crc32_add_byte(hash, l->namespace->access); l 418 lib/as3/pool.c hash = crc32_add_string(hash, l->namespace->name); l 419 lib/as3/pool.c l = l->next; l 79 lib/as3/registry.c asset_bundle_list_t*l = a->dependencies; l 80 lib/as3/registry.c while(l) { l 81 lib/as3/registry.c if(!l->asset_bundle->used) { l 82 lib/as3/registry.c use_asset(l->asset_bundle); l 84 lib/as3/registry.c l = l->next; l 137 lib/as3/registry.c namespace_list_t*l = s->nsset; l 138 lib/as3/registry.c while(l) { l 139 lib/as3/registry.c slotinfo_t* n = registry_find(l->namespace->name, s->name); l 141 lib/as3/registry.c l = l->next; l 159 lib/as3/registry.c classinfo_list_t*l = member->params; l 160 lib/as3/registry.c while(l) { l 161 lib/as3/registry.c l->classinfo = (classinfo_t*)registry_resolve((slotinfo_t*)l->classinfo); l 162 lib/as3/registry.c l = l->next; l 1622 lib/as3/tokenizer.yy.c int l; l 1629 lib/as3/tokenizer.yy.c l = strlen(buf); l 1630 lib/as3/tokenizer.yy.c while(l && buf[l-1]=='\n') { l 1631 lib/as3/tokenizer.yy.c buf[l-1] = 0; l 1632 lib/as3/tokenizer.yy.c l--; l 1824 lib/as3/tokenizer.yy.c const char*end = &in[l]; l 1902 lib/as3/tokenizer.yy.c char l = (as3_text[0]=='-'); l 1905 lib/as3/tokenizer.yy.c char*max = l?"2147483648":"2147483647"; l 1907 lib/as3/tokenizer.yy.c if(as3_leng-l>10) { l 1911 lib/as3/tokenizer.yy.c if(as3_leng-l==10) { l 1913 lib/as3/tokenizer.yy.c for(t=0;t<as3_leng-l;t++) { l 1914 lib/as3/tokenizer.yy.c if(as3_text[l+t]>max[t]) { l 1918 lib/as3/tokenizer.yy.c else if(as3_text[l+t]<max[t]) l 1938 lib/as3/tokenizer.yy.c char l = (as3_text[0]=='-')+2; l 1943 lib/as3/tokenizer.yy.c for(t=l;t<as3_leng;t++) { l 1963 lib/as3/tokenizer.yy.c char l = (as3_text[0]=='-')+2; l 1966 lib/as3/tokenizer.yy.c if(len-l>8) { l 1973 lib/as3/tokenizer.yy.c for(t=l;t<len;t++) { l 1981 lib/as3/tokenizer.yy.c if(l && v>=0x80000000) { l 1986 lib/as3/tokenizer.yy.c if(!l && v>0x7fffffff) { l 1992 lib/as3/tokenizer.yy.c if(l==3) { l 2357 lib/as3/tokenizer.yy.c {l(); /* single line comment */} l 2363 lib/as3/tokenizer.yy.c {l(); /* multi line comment */} l 2377 lib/as3/tokenizer.yy.c {l();handleInclude(as3_text, as3_leng, 1);} l 2386 lib/as3/tokenizer.yy.c {l();handleInclude(as3_text, as3_leng, 0);} l 2392 lib/as3/tokenizer.yy.c {l(); BEGIN(DEFAULT);handleString(as3_text, as3_leng);return T_STRING;} l 2398 lib/as3/tokenizer.yy.c {l(); BEGIN(DEFAULT);handleCData(as3_text, as3_leng);return T_STRING;} l 2405 lib/as3/tokenizer.yy.c {l(); BEGIN(DEFAULT);handleRaw(as3_text, as3_leng);return T_STRING;} l 2413 lib/as3/tokenizer.yy.c {l(); handleRaw(as3_text, as3_leng);return T_STRING;} l 2449 lib/as3/tokenizer.yy.c {l();} l 2461 lib/as3/tokenizer.yy.c {l(); handleRaw(as3_text, as3_leng);return T_STRING;} l 2482 lib/as3/tokenizer.yy.c {l(); handleRaw(as3_text, as3_leng);return T_STRING;} l 2488 lib/as3/tokenizer.yy.c {l(); handleRaw(as3_text, as3_leng);return T_STRING;} l 2557 lib/as3/tokenizer.yy.c {l();} l 2613 lib/as3/tokenizer.yy.c {l();BEGIN(DEFAULT);handleLabel(as3_text, as3_leng-3);return T_FOR;} l 2622 lib/as3/tokenizer.yy.c {l();BEGIN(DEFAULT);handleLabel(as3_text, as3_leng-2);return T_DO;} l 2631 lib/as3/tokenizer.yy.c {l();BEGIN(DEFAULT);handleLabel(as3_text, as3_leng-5);return T_WHILE;} l 2640 lib/as3/tokenizer.yy.c {l();BEGIN(DEFAULT);handleLabel(as3_text, as3_leng-6);return T_SWITCH;} l 2646 lib/as3/tokenizer.yy.c {l();BEGIN(DEFAULT);return m(KW_DEFAULT_XML);} l 3090 lib/as3/tokenizer.yy.c {l(); l 807 lib/bitio.c int l = strlen(s); l 809 lib/bitio.c w->write(w, (void*)s, l); l 179 lib/devices/file.c int l = fread(buf, 1, 4096, fi); l 180 lib/devices/file.c if(l>0) { l 181 lib/devices/file.c fwrite(buf, 1, l, fo); l 204 lib/devices/ocr.c int l = strlen(line); l 205 lib/devices/ocr.c memcpy(&page->text[page->textpos], line, l); l 206 lib/devices/ocr.c page->textpos += l; l 45 lib/devices/opengl.c int l; l 52 lib/devices/opengl.c l = strlen(buf); l 53 lib/devices/opengl.c while(l && buf[l-1]=='\n') { l 54 lib/devices/opengl.c buf[l-1] = 0; l 55 lib/devices/opengl.c l--; l 154 lib/devices/opengl.c gfxline_t*l=0; l 167 lib/devices/opengl.c l = line; l 168 lib/devices/opengl.c while(l) { l 169 lib/devices/opengl.c if(l->type == gfx_moveTo) { l 179 lib/devices/opengl.c glVertex3d(l->x, l->y, z); l 180 lib/devices/opengl.c l=l->next; l 194 lib/devices/opengl.c gfxline_t*l=0; l 199 lib/devices/opengl.c l = line; l 201 lib/devices/opengl.c while(l) { l 202 lib/devices/opengl.c if(l->type == gfx_splineTo) { l 203 lib/devices/opengl.c double c = sqrt(abs(l->x-2*l->sx+lastx) + abs(l->y-2*l->sy+lasty))*SPLINE_SUBDIVISION; l 210 lib/devices/opengl.c l = l->next; l 214 lib/devices/opengl.c l = line; l 216 lib/devices/opengl.c while(l) { l 217 lib/devices/opengl.c if(l->type == gfx_moveTo) { l 228 lib/devices/opengl.c if(l->type == gfx_splineTo) { l 230 lib/devices/opengl.c double c = sqrt(abs(l->x-2*l->sx+lastx) + abs(l->y-2*l->sy+lasty))*SPLINE_SUBDIVISION; l 239 lib/devices/opengl.c xyz[len*3+0] = lastx*(1-t)*(1-t) + 2*l->sx*(1-t)*t + l->x*t*t; l 240 lib/devices/opengl.c xyz[len*3+1] = lasty*(1-t)*(1-t) + 2*l->sy*(1-t)*t + l->y*t*t; l 247 lib/devices/opengl.c xyz[len*3+0] = l->x; l 248 lib/devices/opengl.c xyz[len*3+1] = l->y; l 253 lib/devices/opengl.c lastx = l->x; l 254 lib/devices/opengl.c lasty = l->y; l 256 lib/devices/opengl.c l=l->next; l 403 lib/devices/opengl.c gfxline_t*l=0; l 428 lib/devices/opengl.c l = line; l 430 lib/devices/opengl.c while(l) { l 432 lib/devices/opengl.c l = l->next; l 435 lib/devices/opengl.c l = line; l 437 lib/devices/opengl.c while(l) { l 438 lib/devices/opengl.c if(l->type == gfx_moveTo) { l 449 lib/devices/opengl.c xyz[len*5+0] = l->x; l 450 lib/devices/opengl.c xyz[len*5+1] = l->y; l 459 lib/devices/opengl.c l=l->next; l 481 lib/devices/opengl.c fontlist_t*last=0,*l = i->fontlist; l 482 lib/devices/opengl.c while(l) { l 483 lib/devices/opengl.c last = l; l 484 lib/devices/opengl.c if(!strcmp((char*)l->font->id, font->id)) { l 487 lib/devices/opengl.c l = l->next; l 489 lib/devices/opengl.c l = (fontlist_t*)rfx_calloc(sizeof(fontlist_t)); l 490 lib/devices/opengl.c l->font = font; l 491 lib/devices/opengl.c l->next = 0; l 493 lib/devices/opengl.c last->next = l; l 495 lib/devices/opengl.c i->fontlist = l; l 508 lib/devices/opengl.c fontlist_t*l = i->fontlist; l 510 lib/devices/opengl.c while(l) { l 511 lib/devices/opengl.c if(!strcmp((char*)l->font->id, font->id)) { l 512 lib/devices/opengl.c i->font = l->font; l 515 lib/devices/opengl.c l = l->next; l 46 lib/devices/ops.c int l; l 51 lib/devices/ops.c l = strlen(buf); l 52 lib/devices/ops.c while(l && buf[l-1]=='\n') { l 53 lib/devices/ops.c buf[l-1] = 0; l 54 lib/devices/ops.c l--; l 357 lib/devices/pdf.c int l = strlen(fontname); l 360 lib/devices/pdf.c for(t=0;t<l+1;t++) { l 365 lib/devices/pdf.c PDF_begin_font(i->p, fontname2, l*2, 1.0, 0.0, 0.0, -1.0, 0.0, 0.0, ""); l 378 lib/devices/pdf.c fontid = PDF_load_font(i->p, fontname2, l*2, fontname, ""); l 412 lib/devices/pdf.c int l = strlen(fontname); l 413 lib/devices/pdf.c for(t=0;t<l+1;t++) { l 418 lib/devices/pdf.c fontid = PDF_load_font(i->p, fontname2, l*2, "host", "embedding=true"); l 60 lib/devices/polyops.c int l; l 65 lib/devices/polyops.c l = strlen(buf); l 66 lib/devices/polyops.c while(l && buf[l-1]=='\n') { l 67 lib/devices/polyops.c buf[l-1] = 0; l 68 lib/devices/polyops.c l--; l 600 lib/devices/record.c gfxmatrix_t*l = &i->state.last_matrix[OP_DRAWCHAR]; l 607 lib/devices/record.c char same_matrix = (l->m00 == matrix->m00) && (l->m01 == matrix->m01) && (l->m10 == matrix->m10) && (l->m11 == matrix->m11); l 104 lib/devices/render.c renderline_t*l = &i->lines[y]; l 106 lib/devices/render.c if(l->num == l->size) { l 107 lib/devices/render.c l->size += 32; l 108 lib/devices/render.c l->points = (renderpoint_t*)rfx_realloc(l->points, l->size * sizeof(renderpoint_t)); l 110 lib/devices/render.c l->points[l->num] = p; l 111 lib/devices/render.c l->num++; l 795 lib/devices/render.c int l = strlen(origname); l 796 lib/devices/render.c if(l>3 && strchr("gG",origname[l-1]) && strchr("nN",filename[l-2]) && l 797 lib/devices/render.c strchr("pP",origname[l-3]) && filename[l-4]=='.') { l 798 lib/devices/render.c origname[l-4] = 0; l 54 lib/devices/rescale.c int l; l 59 lib/devices/rescale.c l = strlen(buf); l 60 lib/devices/rescale.c while(l && buf[l-1]=='\n') { l 61 lib/devices/rescale.c buf[l-1] = 0; l 62 lib/devices/rescale.c l--; l 1680 lib/devices/swf.c int l = strlen(tmp); l 1681 lib/devices/swf.c if(tmp[l-1] == '/') l 1682 lib/devices/swf.c tmp[l-1] = 0; l 2614 lib/devices/swf.c gfxline_t*l = line = gfxline_clone(line); l 2616 lib/devices/swf.c while(l) { l 2617 lib/devices/swf.c l->x += x; l 2618 lib/devices/swf.c l->y += y; l 2619 lib/devices/swf.c l->sx += x; l 2620 lib/devices/swf.c l->sy += y; l 2621 lib/devices/swf.c l = l->next; l 2948 lib/devices/swf.c fontlist_t*last=0,*l = i->fontlist; l 2949 lib/devices/swf.c while(l) { l 2950 lib/devices/swf.c last = l; l 2951 lib/devices/swf.c if(!strcmp((char*)l->swffont->name, font->id)) { l 2954 lib/devices/swf.c l = l->next; l 2956 lib/devices/swf.c l = (fontlist_t*)rfx_calloc(sizeof(fontlist_t)); l 2957 lib/devices/swf.c l->swffont = gfxfont_to_swffont(font, font->id, (i->config_flashversion>=8 && !NO_FONT3)?3:2); l 2958 lib/devices/swf.c l->next = 0; l 2960 lib/devices/swf.c last->next = l; l 2962 lib/devices/swf.c i->fontlist = l; l 2964 lib/devices/swf.c swf_FontSetID(l->swffont, getNewID(i->dev)); l 2970 lib/devices/swf.c msg("<debug> | ID: %d", l->swffont->id); l 2971 lib/devices/swf.c msg("<debug> | Version: %d", l->swffont->version); l 2972 lib/devices/swf.c msg("<debug> | Name: %s", l->swffont->name); l 2973 lib/devices/swf.c msg("<debug> | Numchars: %d", l->swffont->numchars); l 2974 lib/devices/swf.c msg("<debug> | Maxascii: %d", l->swffont->maxascii); l 2975 lib/devices/swf.c msg("<debug> | Style: %d", l->swffont->style); l 2976 lib/devices/swf.c msg("<debug> | Encoding: %d", l->swffont->encoding); l 2977 lib/devices/swf.c for(iii=0; iii<l->swffont->numchars;iii++) { l 2978 lib/devices/swf.c msg("<debug> | Glyph %d) name=%s, unicode=%d size=%d bbox=(%.2f,%.2f,%.2f,%.2f)\n", iii, l->swffont->glyphnames?l->swffont->glyphnames[iii]:"<nonames>", l->swffont->glyph2ascii[iii], l->swffont->glyph[iii].shape->bitlen, l 2979 lib/devices/swf.c l->swffont->layout->bounds[iii].xmin/20.0, l 2980 lib/devices/swf.c l->swffont->layout->bounds[iii].ymin/20.0, l 2981 lib/devices/swf.c l->swffont->layout->bounds[iii].xmax/20.0, l 2982 lib/devices/swf.c l->swffont->layout->bounds[iii].ymax/20.0 l 2995 lib/devices/swf.c fontlist_t*l = i->fontlist; l 2996 lib/devices/swf.c while(l) { l 2997 lib/devices/swf.c if(!strcmp((char*)l->swffont->name, fontid)) { l 2998 lib/devices/swf.c i->swffont = l->swffont; l 3001 lib/devices/swf.c l = l->next; l 60 lib/filters/one_big_font.c gfxfontlist_t*l = i->fonts; l 61 lib/filters/one_big_font.c while(l) { l 62 lib/filters/one_big_font.c gfxfont_t*old = l->font; l 63 lib/filters/one_big_font.c fontdata_t*d = l->user; l 69 lib/filters/one_big_font.c l = l->next; l 90 lib/filters/one_big_font.c gfxfontlist_t*l = i->fonts; l 91 lib/filters/one_big_font.c while(l) { l 92 lib/filters/one_big_font.c free(l->user);l->user=0; l 93 lib/filters/one_big_font.c l=l->next; l 106 lib/filters/remove_font_transforms.c double l = (l1+l2)/2.0; l 107 lib/filters/remove_font_transforms.c if(l < 1e-10) { l 111 lib/filters/remove_font_transforms.c out->m00 = in->m00 / l; l 112 lib/filters/remove_font_transforms.c out->m10 = in->m10 / l; l 113 lib/filters/remove_font_transforms.c out->m01 = -in->m01 / l; l 114 lib/filters/remove_font_transforms.c out->m11 = -in->m11 / l; l 119 lib/filters/remove_font_transforms.c scalematrix->m00 = l; l 122 lib/filters/remove_font_transforms.c scalematrix->m11 = -l; l 373 lib/gfxfont.c gfxline_t*l; l 391 lib/gfxfont.c l = font->glyphs[font->num_glyphs].line; l 392 lib/gfxfont.c while(l) { l 393 lib/gfxfont.c if(l->type != gfx_moveTo) { l 396 lib/gfxfont.c l = l->next; l 22 lib/gfximage.c int l = img->width*img->height; l 25 lib/gfximage.c for(t=0,s=0;t<l;s+=3,t++) { l 302 lib/gfximage.c rgba_int_t*l = tmpline; l 81 lib/gfxpoly.c renderline_t*l = &buf->lines[y-buf->bbox.ymin]; l 83 lib/gfxpoly.c if(l->num == l->size) { l 84 lib/gfxpoly.c l->size += 32; l 85 lib/gfxpoly.c l->points = (renderpoint_t*)rfx_realloc(l->points, l->size * sizeof(renderpoint_t)); l 87 lib/gfxpoly.c l->points[l->num] = p; l 88 lib/gfxpoly.c l->num++; l 44 lib/gfxpoly/active.c segment_t*l = 0; l 47 lib/gfxpoly/active.c if(l) { l 53 lib/gfxpoly/active.c assert((XPOS(s, y) - XPOS(l, y)) >= 0); l 54 lib/gfxpoly/active.c assert(XDIFF(s,l,y) >= 0); l 56 lib/gfxpoly/active.c l = s; l 169 lib/gfxpoly/active.c segment_t*l=0; l 174 lib/gfxpoly/active.c l = s;s = s->right; l 176 lib/gfxpoly/active.c if(l!=last) { l 177 lib/gfxpoly/active.c printf("[%d]!=[%d]\n", SEGNR(l), SEGNR(last)); l 191 lib/gfxpoly/active.c assert(l == last); l 229 lib/gfxpoly/active.c segment_t*l = n->rightchild; l 231 lib/gfxpoly/active.c LINK(s,leftchild,l); l 517 lib/gfxpoly/active.c segment_t*l = r->leftchild; l 519 lib/gfxpoly/active.c LINK(t, rightchild, l); l 530 lib/gfxpoly/active.c segment_t*l = t->leftchild; l 531 lib/gfxpoly/active.c segment_t*r = l->rightchild; l 532 lib/gfxpoly/active.c LINK(l, rightchild, t); l 534 lib/gfxpoly/active.c t = l; l 617 lib/gfxpoly/active.c segment_t*l = s2->leftchild; l 632 lib/gfxpoly/active.c s1->leftchild = l; l 640 lib/gfxpoly/active.c segment_t*l = s1->leftchild; l 655 lib/gfxpoly/active.c s2->leftchild = l; l 61 lib/gfxpoly/convert.c int l = fread(&c, 1, 1, fi); l 62 lib/gfxpoly/convert.c if(!l) l 72 lib/gfxpoly/convert.c int l = fread(&c, 1, 1, fi); l 73 lib/gfxpoly/convert.c if(!l || c==10 || c==13) { l 401 lib/gfxpoly/convert.c gfxline_t*l = malloc(sizeof(gfxline_t)*count); l 407 lib/gfxpoly/convert.c l[count+t].x = stroke->points[t].x * poly->gridsize; l 408 lib/gfxpoly/convert.c l[count+t].y = stroke->points[t].y * poly->gridsize; l 409 lib/gfxpoly/convert.c l[count+t].type = gfx_lineTo; l 410 lib/gfxpoly/convert.c l[count+t].next = &l[count+t+1]; l 412 lib/gfxpoly/convert.c l[count].type = gfx_moveTo; l 415 lib/gfxpoly/convert.c l[count-1].next = 0; l 416 lib/gfxpoly/convert.c return l; l 451 lib/gfxpoly/convert.c gfxline_t*l = malloc(sizeof(gfxline_t)*count); l 482 lib/gfxpoly/convert.c l[count].x = stroke->points[pos].x * poly->gridsize; l 483 lib/gfxpoly/convert.c l[count].y = stroke->points[pos].y * poly->gridsize; l 484 lib/gfxpoly/convert.c l[count].type = gfx_moveTo; l 485 lib/gfxpoly/convert.c l[count].next = &l[count+1]; l 491 lib/gfxpoly/convert.c l[count].x = stroke->points[pos].x * poly->gridsize; l 492 lib/gfxpoly/convert.c l[count].y = stroke->points[pos].y * poly->gridsize; l 493 lib/gfxpoly/convert.c l[count].type = gfx_lineTo; l 494 lib/gfxpoly/convert.c l[count].next = &l[count+1]; l 516 lib/gfxpoly/convert.c l[count-1].next = 0; l 519 lib/gfxpoly/convert.c return l; l 324 lib/gfxpoly/poly.c double l = 5.0 / poly->gridsize; l 344 lib/gfxpoly/poly.c else d = l / d; l 41 lib/gfxpoly/renderpoly.c renderline_t*l = &buf->lines[y-buf->bbox.ymin]; l 43 lib/gfxpoly/renderpoly.c if(l->num == l->size) { l 44 lib/gfxpoly/renderpoly.c l->size += 32; l 45 lib/gfxpoly/renderpoly.c l->points = (renderpoint_t*)rfx_realloc(l->points, l->size * sizeof(renderpoint_t)); l 47 lib/gfxpoly/renderpoly.c l->points[l->num] = p; l 48 lib/gfxpoly/renderpoly.c l->num++; l 53 lib/gfxpoly/xrow.c int min, max, i, l; l 55 lib/gfxpoly/xrow.c for(min=0, max=r->num, i=r->num/2, l=r->num; i != l; l=i, i=(min+max)/2) { l 45 lib/gfxtools.c gfxline_t*l = (gfxline_t*)rfx_alloc(sizeof(gfxline_t)); l 46 lib/gfxtools.c l->type = gfx_moveTo; l 50 lib/gfxtools.c l->sx = l->sy = 0; l 51 lib/gfxtools.c d->x = l->x = x; l 52 lib/gfxtools.c d->y = l->y = y; l 53 lib/gfxtools.c l->next = 0; l 55 lib/gfxtools.c i->next->next = l; l 56 lib/gfxtools.c i->next = l; l 58 lib/gfxtools.c i->start = l; l 70 lib/gfxtools.c gfxline_t*l = (gfxline_t*)rfx_alloc(sizeof(gfxline_t)); l 71 lib/gfxtools.c l->type = gfx_lineTo; l 72 lib/gfxtools.c d->x = l->x = x; l 73 lib/gfxtools.c d->y = l->y = y; l 75 lib/gfxtools.c l->next = 0; l 77 lib/gfxtools.c i->next->next = l; l 78 lib/gfxtools.c i->next = l; l 80 lib/gfxtools.c i->start = l; l 90 lib/gfxtools.c gfxline_t*l = (gfxline_t*)rfx_alloc(sizeof(gfxline_t)); l 91 lib/gfxtools.c l->type = gfx_splineTo; l 92 lib/gfxtools.c d->x = l->x = x; l 93 lib/gfxtools.c d->y = l->y = y; l 94 lib/gfxtools.c l->sx = sx; l 95 lib/gfxtools.c l->sy = sy; l 96 lib/gfxtools.c l->next = 0; l 98 lib/gfxtools.c i->next->next = l; l 99 lib/gfxtools.c i->next = l; l 101 lib/gfxtools.c i->start = l; l 162 lib/gfxtools.c s->cx = x; s->bx = 2*l->sx - 2*x; s->ax = l->x - 2*l->sx + x; l 163 lib/gfxtools.c s->cy = y; s->by = 2*l->sy - 2*y; s->ay = l->y - 2*l->sy + y; l 355 lib/gfxtools.c if(l->type == gfx_moveTo) l 357 lib/gfxtools.c if(l->type == gfx_lineTo) l 359 lib/gfxtools.c double dx = l->x-x; l 360 lib/gfxtools.c double dy = l->y-y; l 361 lib/gfxtools.c double sx = l->sx-x; l 362 lib/gfxtools.c double sy = l->sy-y; l 371 lib/gfxtools.c gfxline_t*l = line; l 374 lib/gfxtools.c while(l) { l 375 lib/gfxtools.c if(l->type == gfx_splineTo && splineIsStraight(x,y,l)) { l 376 lib/gfxtools.c l->type = gfx_lineTo; l 378 lib/gfxtools.c x = l->x; l 379 lib/gfxtools.c y = l->y; l 380 lib/gfxtools.c l = l->next; l 383 lib/gfxtools.c l = line; l 384 lib/gfxtools.c while(l && l->next) { l 385 lib/gfxtools.c gfxline_t*next = l->next; l 388 lib/gfxtools.c if(l->type == gfx_lineTo && next->type == gfx_lineTo) { l 389 lib/gfxtools.c double dx = l->x-x; l 390 lib/gfxtools.c double dy = l->y-y; l 391 lib/gfxtools.c double nx = next->x-l->x; l 392 lib/gfxtools.c double ny = next->y-l->y; l 396 lib/gfxtools.c } else if(l->type == gfx_splineTo && next->type == gfx_splineTo) { l 400 lib/gfxtools.c l->next = next->next; l 402 lib/gfxtools.c l->x = next->x; l 403 lib/gfxtools.c l->y = next->y; l 404 lib/gfxtools.c l->sx = sx; l 405 lib/gfxtools.c l->sy = sy; l 408 lib/gfxtools.c x = l->x; l 409 lib/gfxtools.c y = l->y; l 410 lib/gfxtools.c l = l->next; l 427 lib/gfxtools.c while(l) { l 428 lib/gfxtools.c if(l->type == gfx_moveTo) { l 429 lib/gfxtools.c fprintf(fi, "moveTo %.2f,%.2f\n", l->x, l->y); l 431 lib/gfxtools.c if(l->type == gfx_lineTo) { l 432 lib/gfxtools.c fprintf(fi, "lineTo %.2f,%.2f\n", l->x, l->y); l 434 lib/gfxtools.c if(l->type == gfx_splineTo) { l 435 lib/gfxtools.c fprintf(fi, "splineTo %.2f,%.2f %.2f,%.2f\n", l->sx, l->sy, l->x, l->y); l 437 lib/gfxtools.c l = l->next; l 443 lib/gfxtools.c if(l && (l+1) == l->next) { l 445 lib/gfxtools.c rfx_free(l); l 448 lib/gfxtools.c while(l) { l 449 lib/gfxtools.c next = l->next; l 450 lib/gfxtools.c l->next = 0; l 451 lib/gfxtools.c rfx_free(l); l 452 lib/gfxtools.c l = next; l 709 lib/gfxtools.c gfxline_t*l = line1;; l 710 lib/gfxtools.c if(!l) l 712 lib/gfxtools.c while(l->next) { l 713 lib/gfxtools.c l = l->next; l 715 lib/gfxtools.c l->next = line2; l 786 lib/gfxtools.c gfxfontlist_t*l = list; l 787 lib/gfxtools.c while(l) { l 788 lib/gfxtools.c if(!strcmp((char*)l->font->id, id)) { l 789 lib/gfxtools.c return l->font; l 791 lib/gfxtools.c l = l->next; l 797 lib/gfxtools.c gfxfontlist_t*l = list; l 798 lib/gfxtools.c while(l) { l 799 lib/gfxtools.c if(!strcmp((char*)l->font->id, font->id)) { l 802 lib/gfxtools.c l = l->next; l 808 lib/gfxtools.c gfxfontlist_t*l = list; l 809 lib/gfxtools.c while(l) { l 810 lib/gfxtools.c if(!strcmp((char*)l->font->id, id)) { l 811 lib/gfxtools.c return l->user; l 813 lib/gfxtools.c l = l->next; l 819 lib/gfxtools.c gfxfontlist_t*last=0,*l = list; l 820 lib/gfxtools.c while(l) { l 821 lib/gfxtools.c last = l; l 822 lib/gfxtools.c if(l->font == font) { l 825 lib/gfxtools.c l = l->next; l 830 lib/gfxtools.c l = (gfxfontlist_t*)rfx_calloc(sizeof(gfxfontlist_t)); l 831 lib/gfxtools.c l->font = font; l 832 lib/gfxtools.c l->user = user; l 833 lib/gfxtools.c l->next = 0; l 835 lib/gfxtools.c last->next = l; l 838 lib/gfxtools.c return l; l 847 lib/gfxtools.c gfxfontlist_t*l = list; l 848 lib/gfxtools.c while(l) { l 849 lib/gfxtools.c gfxfontlist_t*next = l->next; l 850 lib/gfxtools.c if(deletefonts && l->font) { l 851 lib/gfxtools.c gfxfont_free(l->font);l->font=0; l 853 lib/gfxtools.c l->next = 0; l 854 lib/gfxtools.c free(l); l 855 lib/gfxtools.c l = next; l 901 lib/gfxtools.c gfxline_t*l = line[0]; l 903 lib/gfxtools.c return l; l 911 lib/gfxtools.c gfxline_t*l = gfxline_clone(_l); l 912 lib/gfxtools.c gfxline_optimize(l); l 920 lib/gfxtools.c for(;l; l=l->next) { l 921 lib/gfxtools.c double x = l->x; l 922 lib/gfxtools.c double y = l->y; l 956 lib/gfxtools.c gfxline_free(l); l 1071 lib/gfxtools.c gfxline_t*l = dict_lookup(ff, &pos); l 1072 lib/gfxtools.c if(l) { l 1073 lib/gfxtools.c char d = dict_del2(ff,&pos,l);assert(d); l 1075 lib/gfxtools.c l = dict_lookup(rev, &pos); l 1076 lib/gfxtools.c if(l) { l 1078 lib/gfxtools.c char d = dict_del2(rev,&pos,l);assert(d); l 1081 lib/gfxtools.c if(!l) { l 1086 lib/gfxtools.c l = l2; l 1089 lib/gfxtools.c assert(l); l 1090 lib/gfxtools.c gfxpoint_t xy = {l->x,l->y}; l 1091 lib/gfxtools.c char d = dict_del2(ff,&xy,l);assert(d); l 1094 lib/gfxtools.c gfxline_t*end = l; l 1099 lib/gfxtools.c char d = dict_del2(rev,&pos,l);assert(d); l 1101 lib/gfxtools.c l = gfxline_reverse(l); l 1107 lib/gfxtools.c assert(l->type == gfx_moveTo); l 1110 lib/gfxtools.c gfxline_t*next = l->next; l 1111 lib/gfxtools.c free(l); l 1112 lib/gfxtools.c l = next; l 1116 lib/gfxtools.c result = l; l 1119 lib/gfxtools.c last->next = l; l 62 lib/gfxtools.h void gfxline_dump(gfxline_t*l, FILE*fi, char*prefix); l 64 lib/gfxtools.h void gfxline_free(gfxline_t*l); l 82 lib/gfxtools.h void gfxmatrix_dump(gfxmatrix_t*l, FILE*fi, char*prefix); l 716 lib/gocr/detect.c l, i, dy, dx, diff=0, y0, y1; l 718 lib/gocr/detect.c if ((l=JOB->res.lines.num)<2) return 0; // ??? l 721 lib/gocr/detect.c m=(int *)malloc(l*16*sizeof(int)); l 723 lib/gocr/detect.c for (i=0;i<16*l;i++) m[i]=0; /* initialize */ l 764 lib/gocr/detect.c for (i=1;i<l;i++) { l 79 lib/gocr/lines.c int gaps[MAXlines], l; l 81 lib/gocr/lines.c for (l = 0; l < lines->num - 1; l++) l 82 lib/gocr/lines.c gaps[l] = lines->m2[l + 1] - lines->m3[l]; l 64 lib/gocr/list.c if ( !l ) l 67 lib/gocr/list.c l->start.next = &l->stop; l 68 lib/gocr/list.c l->stop.previous = &l->start; l 69 lib/gocr/list.c l->start.previous = l->stop.next = NULL; l 70 lib/gocr/list.c l->start.data = l->stop.data = NULL; l 71 lib/gocr/list.c l->current = NULL; l 72 lib/gocr/list.c l->level = -1; l 73 lib/gocr/list.c l->n = 0; l 82 lib/gocr/list.c if ( !l || !data ) l 85 lib/gocr/list.c if ( !data_after || !l->n ) l 86 lib/gocr/list.c return list_app(l, data); l 89 lib/gocr/list.c if ( !(after_element = list_element_from_data(l, data_after)) ) l 100 lib/gocr/list.c l->n++; l 110 lib/gocr/list.c if ( !l || !data ) l 116 lib/gocr/list.c e->previous = l->stop.previous; l 117 lib/gocr/list.c e->next = l->stop.previous->next; l 118 lib/gocr/list.c l->stop.previous->next = e; l 119 lib/gocr/list.c l->stop.previous = e; l 120 lib/gocr/list.c l->n++; l 128 lib/gocr/list.c if ( !l || !data || !l->n) l 131 lib/gocr/list.c temp = l->start.next; l 134 lib/gocr/list.c if ( !temp || temp==&l->stop ) l 153 lib/gocr/list.c if ( !(temp = list_element_from_data(l, data)) ) l 157 lib/gocr/list.c for ( i = l->level; i >= 0; i-- ) { l 158 lib/gocr/list.c if ( l->current[i] == temp ) { l 159 lib/gocr/list.c l->current[i] = temp->previous; l 172 lib/gocr/list.c l->n--; l 180 lib/gocr/list.c if ( !l || !l->n ) l 183 lib/gocr/list.c if ( l->current ) { l 184 lib/gocr/list.c free(l->current); l 186 lib/gocr/list.c l->current = NULL; l 188 lib/gocr/list.c temp = l->start.next; l 189 lib/gocr/list.c while ( temp && temp!=&l->stop) { l 194 lib/gocr/list.c l->start.next = &l->stop; l 195 lib/gocr/list.c l->stop.previous = &l->start; l 202 lib/gocr/list.c if ( !l ) return(1); l 208 lib/gocr/list.c newcur = (Element **)realloc(l->current, (l->level+2)*sizeof(Element *)); l 210 lib/gocr/list.c l->current = newcur; l 211 lib/gocr/list.c l->level++; l 212 lib/gocr/list.c l->current[l->level] = l->start.next; l 215 lib/gocr/list.c l->level, l->current);) l 223 lib/gocr/list.c if ( !l ) l 226 lib/gocr/list.c if (!l->level) { l 227 lib/gocr/list.c free(l->current); /* calm -lefence */ l 228 lib/gocr/list.c l->current = NULL; /* could be important */ l 230 lib/gocr/list.c l->current = (Element **)realloc(l->current, l->level*sizeof(Element *)); l 232 lib/gocr/list.c l->level--; l 233 lib/gocr/list.c g_debug(fprintf(stderr, " level--=%d current[]=%p\n", l->level, l 234 lib/gocr/list.c l->current);) l 241 lib/gocr/list.c if ( !l || !(temp = list_element_from_data(l, data)) ) l 251 lib/gocr/list.c if ( !l || !(temp = list_element_from_data(l, data)) ) l 268 lib/gocr/list.c if ( !l ) l 273 lib/gocr/list.c pc = open_progress(l->n,"list_sort"); l 275 lib/gocr/list.c for (i = 0; i < l->n; i++ ) { l 277 lib/gocr/list.c for ( temp = l->start.next->next; l 278 lib/gocr/list.c temp != NULL && temp != &l->stop; temp = temp->next ) { l 279 lib/gocr/list.c if ( temp->previous == &l->start ) continue; l 301 lib/gocr/list.c list_del(l, data); l 302 lib/gocr/list.c list_ins(l, prev->data, data); l 320 lib/gocr/list.c if ( !l ) return 0; l 323 lib/gocr/list.c for_each_data(l) { l 324 lib/gocr/list.c if ((data = list_get_current(l))) l 326 lib/gocr/list.c } end_for_each(l); l 328 lib/gocr/list.c list_free(l); l 68 lib/gocr/list.h #define list_empty(l) ((l)->start.next == &(l)->stop ? 1 : 0) l 69 lib/gocr/list.h #define list_get_header(l) ((l)->start.next->data) l 70 lib/gocr/list.h #define list_get_tail(l) ((l)->stop.previous->data) l 71 lib/gocr/list.h #define list_get_current(l) ((l)->current[(l)->level]->data) l 72 lib/gocr/list.h #define list_get_cur_prev(l) ((l)->current[(l)->level]->previous == NULL ? \ l 73 lib/gocr/list.h NULL : (l)->current[(l)->level]->previous->data ) l 74 lib/gocr/list.h #define list_get_cur_next(l) ((l)->current[(l)->level]->next == NULL ? \ l 75 lib/gocr/list.h NULL : (l)->current[(l)->level]->next->data ) l 76 lib/gocr/list.h #define list_total(l) ((l)->n) l 79 lib/gocr/list.h if (list_higher_level(l) == 0) { \ l 80 lib/gocr/list.h for ( ; (l)->current[(l)->level] \ l 81 lib/gocr/list.h && (l)->current[(l)->level]!=&(l)->stop; (l)->current[(l)->level] = \ l 82 lib/gocr/list.h (l)->current[(l)->level]->next ) { l 87 lib/gocr/list.h list_lower_level(l); \ l 39 lib/gocr/ocr1.c int x1,y1,x2,y2,l,i,j,xa[MAXL],ya[MAXL],xb[MAXL],yb[MAXL],ll[MAXL]; l 48 lib/gocr/ocr1.c l=(x2-x1)*(x2-x1)+(y2-y1)*(y2-y1); // len l 58 lib/gocr/ocr1.c if( l>ll[i] ) l 69 lib/gocr/ocr1.c if( l>ll[i] ){ // insert if larger l 74 lib/gocr/ocr1.c xa[i]=x1;ya[i]=y1;xb[i]=x2;yb[i]=y2;ll[i]=l; l 527 lib/gocr/pgm2asc.c for( ;i<l && y>=0;i++,y--) l 532 lib/gocr/pgm2asc.c for( ;i<l && y<p->y;i++,y++) l 537 lib/gocr/pgm2asc.c for( ;i<l && x>=0;i++,x--) l 542 lib/gocr/pgm2asc.c for( ;i<l && x<p->x;i++,x++) l 75 lib/graphcut.c posqueue_entry_t*l = q->list; l 76 lib/graphcut.c while(l) { l 77 lib/graphcut.c posqueue_entry_t*next = l->next; l 78 lib/graphcut.c free(l); l 79 lib/graphcut.c l = next; l 106 lib/log.c int l; l 119 lib/log.c int l = strlen(a); l 120 lib/log.c while(a[l-1] == 13 || a[l-1] == 10) l 121 lib/log.c l--; l 122 lib/log.c a[l]=0; l 159 lib/log.c l=strlen(logBuffer)-1; l 160 lib/log.c while((logBuffer[l]==13 || logBuffer[l]==10) && l>=0) l 162 lib/log.c logBuffer[l]=0; l 163 lib/log.c l--; l 1022 lib/modules/swfaction.c int l = strlen(str); l 1023 lib/modules/swfaction.c char*ptr = (char*)rfx_alloc(l+2); l 1026 lib/modules/swfaction.c return swf_AddActionTAG(atag, ACTION_PUSH, (U8*)ptr, l+2); l 135 lib/modules/swfalignzones.c SHAPELINE*l = s->lines; l 137 lib/modules/swfalignzones.c while(l) { l 138 lib/modules/swfalignzones.c if(l->type == lineTo) { l 139 lib/modules/swfalignzones.c draw_line_xy(row,column,x,-y,l->x,-l->y,&b); l 140 lib/modules/swfalignzones.c } else if(l->type == splineTo) { l 141 lib/modules/swfalignzones.c double x1=x,x2=l->sx,x3=l->x; l 142 lib/modules/swfalignzones.c double y1=y,y2=l->sy,y3=l->y; l 155 lib/modules/swfalignzones.c x = l->x; l 156 lib/modules/swfalignzones.c y = l->y; l 157 lib/modules/swfalignzones.c l = l->next; l 93 lib/modules/swfbutton.c { U16 l = swf_GetU16(t); l 94 lib/modules/swfbutton.c swf_GetBlock(t,NULL,l); l 102 lib/modules/swfdump.c SHAPELINE*l = shape2->lines; l 103 lib/modules/swfdump.c while(l) { l 104 lib/modules/swfdump.c if(l->type == moveTo) { l 106 lib/modules/swfdump.c printf("moveTo %.2f,%.2f (fill0:%d fill1:%d line:%d)\n", l->x/20.0, l->y/20.0, l->fillstyle0, l->fillstyle1, l->linestyle); l 108 lib/modules/swfdump.c if(l->type == lineTo) { l 110 lib/modules/swfdump.c printf("lineTo %.2f,%.2f (fill0:%d fill1:%d line:%d)\n", l->x/20.0, l->y/20.0, l->fillstyle0, l->fillstyle1, l->linestyle); l 112 lib/modules/swfdump.c if(l->type == splineTo) { l 114 lib/modules/swfdump.c printf("splineTo %.2f,%.2f %.2f,%.2f (fill0:%d fill1:%d line:%d)\n", l->sx/20.0, l->sy/20.0, l->x/20.0, l->y/20.0, l->fillstyle0, l->fillstyle1, l->linestyle); l 116 lib/modules/swfdump.c l = l->next; l 195 lib/modules/swfobject.c int l,t; l 198 lib/modules/swfobject.c l = strlen((const char *)&tag->data[tag->pos]); l 200 lib/modules/swfobject.c data = (U8*)rfx_alloc(l+1); l 729 lib/modules/swfrender.c layer_t*l = fillstate->layers; l 734 lib/modules/swfrender.c while(l) { l 735 lib/modules/swfrender.c if(l->fillid == 0) { l 739 lib/modules/swfrender.c } else if(l->fillid > l->p->s->numfillstyles) { l 740 lib/modules/swfrender.c fprintf(stderr, "Fill style out of bounds (%d>%d)", l->fillid, l->p->s->numlinestyles); l 747 lib/modules/swfrender.c printf("(%d -> %d style %d)", x1, x2, l->fillid); l 749 lib/modules/swfrender.c f = &l->p->s->fillstyles[l->fillid-1]; l 753 lib/modules/swfrender.c fill_solid(line, zline, y, x1, x2, f->color, l->p->depth); l 762 lib/modules/swfrender.c fill_solid(line, zline, y, x1, x2, color_red, l->p->depth); l 764 lib/modules/swfrender.c fill_bitmap(line, zline, y, x1, x2, &f->m, b, /*clipped?*/f->type&1, l->p->depth, i->multiply); l 767 lib/modules/swfrender.c fill_gradient(line, zline, y, x1, x2, &f->m, &f->gradient, f->type, l->p->depth, i->multiply); l 772 lib/modules/swfrender.c l = l->next; l 781 lib/modules/swfrender.c layer_t*last=0,*l = state->layers; l 782 lib/modules/swfrender.c while(l && l->p->depth < depth) { l 783 lib/modules/swfrender.c last = l; l 784 lib/modules/swfrender.c l = l->next; l 787 lib/modules/swfrender.c if(l && l->p->depth == depth) l 788 lib/modules/swfrender.c *self = l; l 790 lib/modules/swfrender.c *after = l; l 823 lib/modules/swfrender.c layer_t*l = state->layers; l 824 lib/modules/swfrender.c while(l) { l 825 lib/modules/swfrender.c layer_t*next = l->next; l 826 lib/modules/swfrender.c rfx_free(l); l 827 lib/modules/swfrender.c l = next; l 149 lib/modules/swfshape.c { int l; l 152 lib/modules/swfshape.c l = (s->bitlen+7)/8; l 159 lib/modules/swfshape.c swf_SetBlock(t,s->data,l); l 163 lib/modules/swfshape.c return l+1; l 192 lib/modules/swfshape.c { if ((!l)||(!t)) return -1; l 193 lib/modules/swfshape.c swf_SetU16(t,l->width); l 195 lib/modules/swfshape.c if (swf_GetTagID(t)!=ST_DEFINESHAPE3) swf_SetRGB(t,&l->color); l 196 lib/modules/swfshape.c else swf_SetRGBA(t,&l->color); l 214 lib/modules/swfshape.c { int i,l; l 217 lib/modules/swfshape.c l = 0; l 218 lib/modules/swfshape.c l += swf_SetShapeStyleCount(t,s->fillstyle.n); l 221 lib/modules/swfshape.c l+=swf_SetFillStyle(t,&s->fillstyle.data[i]); l 223 lib/modules/swfshape.c l += swf_SetShapeStyleCount(t,s->linestyle.n); l 226 lib/modules/swfshape.c l+=swf_SetLineStyle(t,&s->linestyle.data[i]); l 228 lib/modules/swfshape.c return l; l 768 lib/modules/swfshape.c SHAPELINE*l = shape2->lines; l 774 lib/modules/swfshape.c while(l) { l 776 lib/modules/swfshape.c if(l->linestyle>0) { l 777 lib/modules/swfshape.c t1 = shape2->linestyles[l->linestyle - 1].width*3/2; l 782 lib/modules/swfshape.c if(l->type == lineTo || l->type == splineTo) l 789 lib/modules/swfshape.c if(l->x - t1 < r.xmin) r.xmin = l->x - t1; l 790 lib/modules/swfshape.c if(l->y - t1 < r.ymin) r.ymin = l->y - t1; l 791 lib/modules/swfshape.c if(l->x + t1 > r.xmax) r.xmax = l->x + t1; l 792 lib/modules/swfshape.c if(l->y + t1 > r.ymax) r.ymax = l->y + t1; l 793 lib/modules/swfshape.c if(l->type == splineTo) { l 794 lib/modules/swfshape.c if(l->sx - t1 < r.xmin) r.xmin = l->sx - t1; l 795 lib/modules/swfshape.c if(l->sy - t1 < r.ymin) r.ymin = l->sy - t1; l 796 lib/modules/swfshape.c if(l->sx + t1 > r.xmax) r.xmax = l->sx + t1; l 797 lib/modules/swfshape.c if(l->sy + t1 > r.ymax) r.ymax = l->sy + t1; l 800 lib/modules/swfshape.c lastx = l->x; l 801 lib/modules/swfshape.c lasty = l->y; l 802 lib/modules/swfshape.c l = l->next; l 976 lib/modules/swfshape.c SHAPELINE*l; l 991 lib/modules/swfshape.c l = shape2->lines; l 993 lib/modules/swfshape.c while(l) { l 996 lib/modules/swfshape.c if(l->type != moveTo) { l 997 lib/modules/swfshape.c if(oldls != l->linestyle) {oldls = ls = l->linestyle;if(!ls) ls=0x8000;} l 998 lib/modules/swfshape.c if(oldfs0 != l->fillstyle0) {oldfs0 = fs0 = l->fillstyle0;if(!fs0) fs0=0x8000;} l 999 lib/modules/swfshape.c if(oldfs1 != l->fillstyle1) {oldfs1 = fs1 = l->fillstyle1;if(!fs1) fs1=0x8000;} l 1008 lib/modules/swfshape.c if(l->type == lineTo) { l 1009 lib/modules/swfshape.c swf_ShapeSetLine(tag,shape,l->x-lastx,l->y-lasty); l 1010 lib/modules/swfshape.c } else if(l->type == splineTo) { l 1011 lib/modules/swfshape.c swf_ShapeSetCurve(tag,shape, l->sx-lastx,l->sy-lasty, l->x-l->sx,l->y-l->sy); l 1013 lib/modules/swfshape.c if(l->type == moveTo) { l 1014 lib/modules/swfshape.c newx = l->x; l 1015 lib/modules/swfshape.c newy = l->y; l 1018 lib/modules/swfshape.c lastx = l->x; l 1019 lib/modules/swfshape.c lasty = l->y; l 1020 lib/modules/swfshape.c l = l->next; l 1045 lib/modules/swfshape.c SHAPELINE*l; l 1083 lib/modules/swfshape.c l = shape->lines; l 120 lib/modules/swftext.c int l; l 128 lib/modules/swftext.c l = swf_GetU8(t); l 129 lib/modules/swftext.c swf_GetBlock(t, s, l); l 130 lib/modules/swftext.c s[l] = 0; l 177 lib/modules/swftext.c U8 l = swf_GetU8(t); l 190 lib/modules/swftext.c f->name = (U8 *) rfx_alloc(l + 1); l 191 lib/modules/swftext.c swf_GetBlock(t, f->name, l); l 192 lib/modules/swftext.c f->name[l] = 0; l 649 lib/modules/swftext.c if (l) { l 650 lib/modules/swftext.c if (l->kerning) l 651 lib/modules/swftext.c rfx_free(l->kerning); l 652 lib/modules/swftext.c l->kerning = NULL; l 653 lib/modules/swftext.c if (l->bounds) l 654 lib/modules/swftext.c rfx_free(l->bounds); l 655 lib/modules/swftext.c l->bounds = NULL; l 657 lib/modules/swftext.c rfx_free(l); l 1105 lib/modules/swftext.c int l = 0; l 1107 lib/modules/swftext.c l = (font->glyph[t].shape->bitlen + 7) / 8; l 1109 lib/modules/swftext.c l = 8; l 1110 lib/modules/swftext.c size += l + 1; l 1246 lib/modules/swftext.c int l, i; l 1253 lib/modules/swftext.c l = f->name ? strlen((const char *)f->name) : 0; l 1254 lib/modules/swftext.c if (l > 255) l 1255 lib/modules/swftext.c l = 255; l 1256 lib/modules/swftext.c swf_SetU8(t, l); l 1257 lib/modules/swftext.c if (l) l 1258 lib/modules/swftext.c swf_SetBlock(t, f->name, l); l 1424 lib/modules/swftext.c int l = 0, pos; l 1438 lib/modules/swftext.c swf_SetU8(t, l); //placeholder l 1453 lib/modules/swftext.c l++; l 1459 lib/modules/swftext.c if (l == 0x7f) l 1464 lib/modules/swftext.c PUT8(&t->data[pos], l); l 1736 lib/modules/swftext.c SHAPELINE *l; l 1745 lib/modules/swftext.c l = shape2->lines; l 1746 lib/modules/swftext.c while (l) { l 1747 lib/modules/swftext.c if (l->type == moveTo) { l 1749 lib/modules/swftext.c to.x = l->x * size / 100.0 / 20.0 + advance; l 1750 lib/modules/swftext.c to.y = l->y * size / 100.0 / 20.0; l 1752 lib/modules/swftext.c } else if (l->type == lineTo) { l 1754 lib/modules/swftext.c to.x = l->x * size / 100.0 / 20.0 + advance; l 1755 lib/modules/swftext.c to.y = l->y * size / 100.0 / 20.0; l 1757 lib/modules/swftext.c } else if (l->type == splineTo) { l 1759 lib/modules/swftext.c mid.x = l->sx * size / 100.0 / 20.0 + advance; l 1760 lib/modules/swftext.c mid.y = l->sy * size / 100.0 / 20.0; l 1761 lib/modules/swftext.c to.x = l->x * size / 100.0 / 20.0 + advance; l 1762 lib/modules/swftext.c to.y = l->y * size / 100.0 / 20.0; l 1765 lib/modules/swftext.c l = l->next; l 1985 lib/modules/swftext.c SHAPELINE*l = s2->lines; l 1993 lib/modules/swftext.c while(l) { l 1994 lib/modules/swftext.c int lx = (l->x)*scalex+x1; l 1995 lib/modules/swftext.c int ly = (l->y)*scaley+y1; l 1996 lib/modules/swftext.c int sx = (l->sx)*scalex+x1; l 1997 lib/modules/swftext.c int sy = (l->sy)*scaley+y1; l 1998 lib/modules/swftext.c if(l->type == moveTo) { l 2000 lib/modules/swftext.c } else if(l->type == lineTo) { l 2002 lib/modules/swftext.c } else if(l->type == splineTo) { l 2007 lib/modules/swftext.c l = l->next; l 198 lib/os.c int l = strlen(dir); l 202 lib/os.c if(l && dir[l-1]!='/' && dir[l-1]!='\\') { l 339 lib/pdf/BitmapOutputDev.cc unsigned char*l = &data[width8*y]; l 342 lib/pdf/BitmapOutputDev.cc if(l[x>>3]&(128>>(x&7))) { l 131 lib/pdf/GFXOutputDev.cc int l; l 138 lib/pdf/GFXOutputDev.cc l = strlen(buf); l 139 lib/pdf/GFXOutputDev.cc while(l && buf[l-1]=='\n') { l 140 lib/pdf/GFXOutputDev.cc buf[l-1] = 0; l 141 lib/pdf/GFXOutputDev.cc l--; l 292 lib/pdf/GFXOutputDev.cc int l; l 296 lib/pdf/GFXOutputDev.cc l=strlen(filename); l 298 lib/pdf/GFXOutputDev.cc if(!strncmp(&filename[l-4],".afm",4)) { l 299 lib/pdf/GFXOutputDev.cc memcpy(&filename[l-4],".pfb",4); unlink(filename); l 300 lib/pdf/GFXOutputDev.cc memcpy(&filename[l-4],".pfa",4); unlink(filename); l 301 lib/pdf/GFXOutputDev.cc memcpy(&filename[l-4],".afm",4); l 304 lib/pdf/GFXOutputDev.cc if(!strncmp(&filename[l-4],".pfa",4)) { l 305 lib/pdf/GFXOutputDev.cc memcpy(&filename[l-4],".afm",4); unlink(filename); l 306 lib/pdf/GFXOutputDev.cc memcpy(&filename[l-4],".pfa",4); l 309 lib/pdf/GFXOutputDev.cc if(!strncmp(&filename[l-4],".pfb",4)) { l 310 lib/pdf/GFXOutputDev.cc memcpy(&filename[l-4],".afm",4); unlink(filename); l 311 lib/pdf/GFXOutputDev.cc memcpy(&filename[l-4],".pfb",4); l 483 lib/pdf/GFXOutputDev.cc int l = strlen(styles[t]); l 484 lib/pdf/GFXOutputDev.cc if(len>l+1 && !strcmp(family+len-l, styles[t]) && islowercase(family[len-l-1])) { l 486 lib/pdf/GFXOutputDev.cc family[len-l]=0; l 1775 lib/pdf/GFXOutputDev.cc LinkGoToR*l = (LinkGoToR*)action; l 1776 lib/pdf/GFXOutputDev.cc GString*g = l->getFileName(); l 1783 lib/pdf/GFXOutputDev.cc GString*g = l->getNamedDest(); l 1791 lib/pdf/GFXOutputDev.cc LinkNamed*l = (LinkNamed*)action; l 1792 lib/pdf/GFXOutputDev.cc GString*name = l->getName(); l 1822 lib/pdf/GFXOutputDev.cc LinkLaunch*l = (LinkLaunch*)action; l 1823 lib/pdf/GFXOutputDev.cc GString * str = new GString(l->getFileName()); l 1824 lib/pdf/GFXOutputDev.cc GString * params = l->getParams(); l 1834 lib/pdf/GFXOutputDev.cc LinkURI*l = (LinkURI*)action; l 1835 lib/pdf/GFXOutputDev.cc GString*g = l->getURI(); l 1844 lib/pdf/GFXOutputDev.cc LinkUnknown*l = (LinkUnknown*)action; l 2642 lib/pdf/GFXOutputDev.cc int l; l 2646 lib/pdf/GFXOutputDev.cc l=strlen(name); l 2647 lib/pdf/GFXOutputDev.cc if(l<4) l 2649 lib/pdf/GFXOutputDev.cc if(!strncasecmp(&name[l-4], ".pfa", 4)) l 2651 lib/pdf/GFXOutputDev.cc if(!strncasecmp(&name[l-4], ".pfb", 4)) l 2653 lib/pdf/GFXOutputDev.cc if(!strncasecmp(&name[l-4], ".ttf", 4)) l 30 lib/pdf/xpdf/GString.cc long l; l 325 lib/pdf/xpdf/GString.cc args[argsLen].l = va_arg(argList, long); l 380 lib/pdf/xpdf/GString.cc formatInt(arg.l, buf, sizeof(buf), zeroFill, width, 10, &str, &len); l 383 lib/pdf/xpdf/GString.cc formatInt(arg.l, buf, sizeof(buf), zeroFill, width, 16, &str, &len); l 386 lib/pdf/xpdf/GString.cc formatInt(arg.l, buf, sizeof(buf), zeroFill, width, 8, &str, &len); l 389 lib/pdf/xpdf/GString.cc formatInt(arg.l, buf, sizeof(buf), zeroFill, width, 2, &str, &len); l 1142 lib/pdf/xpdf/GlobalParams.cc int l = strlen(filename); l 1145 lib/pdf/xpdf/GlobalParams.cc if(l>2 && filename[1]==':' && (filename[2]=='\\' || filename[2]=='/')) l 459 lib/pdf/xpdf/gfile.cc int l = strlen(dir); l 463 lib/pdf/xpdf/gfile.cc if(l && dir[l-1]!='/' && dir[l-1]!='\\') { l 819 lib/png.c int min,max,i,l; l 820 lib/png.c for(min=0, max=count, i=count/2, l=count; i != l; l=i,i=(min+max)/2) { l 1417 lib/png.c int l = bytes_per_pixel - 1; l 1418 lib/png.c old[0] = src[l]; l 1419 lib/png.c old[1] = src[l]; l 1420 lib/png.c old[2] = src[l] - src[l-back_y]; l 1421 lib/png.c old[3] = src[l] - src[l-back_y]; l 1422 lib/png.c old[4] = src[l] - PaethPredictor(0, src[l-back_y], 0); l 72 lib/python/gfx.c int l; l 175 lib/python/gfx.c gfxline_t*l = (gfxline_t*)malloc(sizeof(gfxline_t)); l 176 lib/python/gfx.c memset(l, 0, sizeof(gfxline_t)); l 177 lib/python/gfx.c last->next = l; l 178 lib/python/gfx.c last = l; l 180 lib/python/gfx.c l->type = gfx_moveTo; l 183 lib/python/gfx.c l->x = PyFloat_AsDouble(PyTuple_GetItem(p, 1)); l 184 lib/python/gfx.c l->y = PyFloat_AsDouble(PyTuple_GetItem(p, 2)); l 186 lib/python/gfx.c l->type = gfx_lineTo; l 189 lib/python/gfx.c l->x = PyFloat_AsDouble(PyTuple_GetItem(p, 1)); l 190 lib/python/gfx.c l->y = PyFloat_AsDouble(PyTuple_GetItem(p, 2)); l 192 lib/python/gfx.c l->type = gfx_splineTo; l 195 lib/python/gfx.c l->x = PyFloat_AsDouble(PyTuple_GetItem(p, 1)); l 196 lib/python/gfx.c l->y = PyFloat_AsDouble(PyTuple_GetItem(p, 2)); l 197 lib/python/gfx.c l->sx = PyFloat_AsDouble(PyTuple_GetItem(p, 3)); l 198 lib/python/gfx.c l->sy = PyFloat_AsDouble(PyTuple_GetItem(p, 4)); l 470 lib/python/gfx.c gfxline_t*l; l 472 lib/python/gfx.c l = line; l 473 lib/python/gfx.c while(l) {l=l->next;len++;} l 475 lib/python/gfx.c l = line; l 476 lib/python/gfx.c while(l) { l 478 lib/python/gfx.c if(l->type == gfx_moveTo) { l 481 lib/python/gfx.c PyTuple_SetItem(point, 1, PyFloat_FromDouble(l->x)); l 482 lib/python/gfx.c PyTuple_SetItem(point, 2, PyFloat_FromDouble(l->y)); l 483 lib/python/gfx.c } else if(l->type == gfx_lineTo) { l 486 lib/python/gfx.c PyTuple_SetItem(point, 1, PyFloat_FromDouble(l->x)); l 487 lib/python/gfx.c PyTuple_SetItem(point, 2, PyFloat_FromDouble(l->y)); l 488 lib/python/gfx.c } else if(l->type == gfx_splineTo) { l 491 lib/python/gfx.c PyTuple_SetItem(point, 1, PyFloat_FromDouble(l->x)); l 492 lib/python/gfx.c PyTuple_SetItem(point, 2, PyFloat_FromDouble(l->y)); l 493 lib/python/gfx.c PyTuple_SetItem(point, 3, PyFloat_FromDouble(l->sx)); l 494 lib/python/gfx.c PyTuple_SetItem(point, 4, PyFloat_FromDouble(l->sy)); l 499 lib/python/gfx.c l = l->next; l 787 lib/python/gfx.c int l = img->width*img->height; l 790 lib/python/gfx.c for(t=0,s=0;t<l;s+=3,t++) { l 962 lib/python/gfx.c int l = strlen(filename); l 963 lib/python/gfx.c if(l>4) { l 964 lib/python/gfx.c if(filename[l-4]=='.') { l 965 lib/python/gfx.c if(strchr("pP", filename[l-3]) && strchr("dD", filename[l-2]) && strchr("fF", filename[l-1])) l 967 lib/python/gfx.c if(strchr("jJ", filename[l-3]) && strchr("pP", filename[l-2]) && strchr("gG", filename[l-1])) l 969 lib/python/gfx.c if(strchr("pP", filename[l-3]) && strchr("nN", filename[l-2]) && strchr("gG", filename[l-1])) l 971 lib/python/gfx.c if(strchr("sS", filename[l-3]) && strchr("wW", filename[l-2]) && strchr("fF", filename[l-1])) l 973 lib/python/gfx.c } else if(filename[l-5]=='.') { l 10 lib/python/pyutils.c int l; l 15 lib/python/pyutils.c l = strlen(buf); l 16 lib/python/pyutils.c while(l && buf[l-1]=='\n') { l 17 lib/python/pyutils.c buf[l-1] = 0; l 18 lib/python/pyutils.c l--; l 27 lib/python/pyutils.c int l; l 34 lib/python/pyutils.c l = strlen(buf); l 35 lib/python/pyutils.c while(l && buf[l-1]=='\n') { l 36 lib/python/pyutils.c buf[l-1] = 0; l 37 lib/python/pyutils.c l--; l 21 lib/python/taglist.c int t, l = PyList_Size(taglist->taglist); l 22 lib/python/taglist.c for(t=0;t<l;t++) { l 95 lib/python/taglist.c int l = PyList_Size(taglist->taglist); l 100 lib/python/taglist.c for(t=0;t<l;t++) { l 104 lib/python/taglist.c int l = PyList_Size(deps); l 106 lib/python/taglist.c for(t=0;t<l;t++) { l 197 lib/python/taglist.c int l = PyList_Size(list); l 199 lib/python/taglist.c for(t=0;t<l;t++) { l 249 lib/python/taglist.c int l = PyList_Size(list); l 251 lib/python/taglist.c for(t=0;t<l;t++) { l 730 lib/python/tags.c if(l) l 741 lib/python/tags.c if(l && shape2->numlinestyles) l 742 lib/python/tags.c shape2->linestyles[0] = *l; l 760 lib/python/tags.c LINESTYLE _l,*l=0; l 773 lib/python/tags.c l = &_l; l 780 lib/python/tags.c l->width = (int)(f*20); l 781 lib/python/tags.c l->color = color_getRGBA(color); l 786 lib/python/tags.c ti->shape2 = swf_StringToShape2(s,f,l); l 56 lib/q.c int l = vsnprintf(&dummy, 1, format, arglist1); l 61 lib/q.c char*buf = malloc(l+1); l 62 lib/q.c vsnprintf(buf, l+1, format, arglist2); l 120 lib/q.c int i,j,l,m; l 123 lib/q.c l=0; l 125 lib/q.c while(l<m) { l 127 lib/q.c i=l;j=m; l 140 lib/q.c if(j<k) l=i; l 626 lib/q.c int l = strlen(text); l 627 lib/q.c return string_new3(text, l); l 744 lib/q.c int l = strlen(text); l 745 lib/q.c if(str->len == l && !memcmp(str->str, text, l)) l 790 lib/q.c stringlist_t*l = rfx_alloc(sizeof(stringlist_t)); l 791 lib/q.c l->index = s->num; l 792 lib/q.c l->next = s->hash[hash]; l 793 lib/q.c s->hash[hash] = l; l 817 lib/q.c stringlist_t*ll = l; l 818 lib/q.c stringlist_t*old = l; l 819 lib/q.c while(l) { l 820 lib/q.c if(index==l->index) { l 821 lib/q.c old->next = l->next; l 822 lib/q.c memset(l, 0, sizeof(stringlist_t)); l 823 lib/q.c rfx_free(l); l 824 lib/q.c if(old==l) l 829 lib/q.c old = l; l 830 lib/q.c l = l->next; l 849 lib/q.c stringlist_t*l = s->hash[hash]; l 851 lib/q.c while(l) { l 852 lib/q.c string_t s = stringarray_at2(sa, l->index); l 854 lib/q.c return l->index; l 856 lib/q.c l = l->next; l 866 lib/q.c stringlist_t*l = s->hash[t]; l 867 lib/q.c while(l) { l 868 lib/q.c stringlist_t*next = l->next; l 869 lib/q.c memset(l, 0, sizeof(stringlist_t)); l 870 lib/q.c rfx_free(l); l 871 lib/q.c l = next; l 950 lib/q.c int l = s1->len<s2->len?s1->len:s2->len; l 951 lib/q.c int r = memcmp(s1->str, s2->str, l); l 1546 lib/q.c commonlist_t*l = (commonlist_t*)_list; l 1547 lib/q.c if(!l) l 1549 lib/q.c return l->info[0].size; l 1602 lib/q.c commonlist_t*l = *list; l 1603 lib/q.c while(l) { l 1604 lib/q.c commonlist_t*next = l->next; l 1605 lib/q.c free(l); l 1606 lib/q.c l = next; l 1613 lib/q.c commonlist_t*l = *list; l 1614 lib/q.c while(l) { l 1615 lib/q.c commonlist_t*next = l->next; l 1616 lib/q.c if(l->entry) { l 1617 lib/q.c free(l->entry);l->entry=0; l 1619 lib/q.c free(l); l 1620 lib/q.c l = next; l 1626 lib/q.c commonlist_t*l = *(commonlist_t**)_list; l 1629 lib/q.c while(l) { l 1630 lib/q.c commonlist_t*next = l->next; l 1631 lib/q.c list_append_(&dest, l->entry); l 1632 lib/q.c l = next; l 153 lib/readers/swf.c gfxline_t*l; l 179 lib/readers/swf.c l = d.result(&d); l 180 lib/readers/swf.c return l; l 487 lib/readers/swf.c RGBA c = swf_ColorTransform(&l->color, cx); l 488 lib/readers/swf.c gfxcoord_t width = l->width/20.0; l 56 lib/rfxswf.c #define MEMSIZE(l) (((l/MALLOC_SIZE)+1)*MALLOC_SIZE) l 138 lib/rfxswf.c if ((t->len-t->pos)<l) l=t->len-t->pos; l 139 lib/rfxswf.c if (b && l) memcpy(b,&t->data[t->pos],l); l 140 lib/rfxswf.c t->pos+=l; l 141 lib/rfxswf.c return l; l 146 lib/rfxswf.c { U32 newlen = t->len + l; l 154 lib/rfxswf.c if (b) memcpy(&t->data[t->len],b,l); l 155 lib/rfxswf.c else memset(&t->data[t->len],0x00,l); l 156 lib/rfxswf.c t->len+=l; l 157 lib/rfxswf.c return l; l 407 lib/rfxswf.c len+=swf_SetU30(tag, l); l 408 lib/rfxswf.c len+=l; l 409 lib/rfxswf.c swf_SetBlock(tag, (void*)str, l); l 1728 lib/rfxswf.c U32 l; l 1743 lib/rfxswf.c l = swf_GetTagLen(&t2)+8; l 1746 lib/rfxswf.c l -= 8; l 1749 lib/rfxswf.c fileSize = l+len; l 227 lib/rfxswf.h int swf_GetBlock(TAG * t,U8 * b,int l); // resets Bitcount l 228 lib/rfxswf.h int swf_SetBlock(TAG * t,const U8 * b,int l); l 479 lib/rfxswf.h int swf_SetLineStyle(TAG * t,LINESTYLE * l); l 123 lib/wav.c int l; l 131 lib/wav.c l = fread(wav->data, 1, block.size, fi); l 132 lib/wav.c if(l<=0) { l 136 lib/wav.c } else if(l < block.size) l 138 lib/wav.c fprintf(stderr, "Warning: data block of size %d is only %d bytes (%d bytes missing)\n", block.size, l, block.size-l); l 139 lib/wav.c wav->size = l; l 344 src/pdf2swf.c int l = strlen(filters); l 345 src/pdf2swf.c int new_len = l + strlen(val) + 2; l 347 src/pdf2swf.c filters[l] = ':'; l 348 src/pdf2swf.c strcpy(filters+l+1, val); l 384 src/pdf2swf.c int l = strlen(s); l 385 src/pdf2swf.c while(l && s[l-1]=='/') { l 386 src/pdf2swf.c s[l-1] = 0; l 387 src/pdf2swf.c l--; l 729 src/pdf2swf.c int l = u-outputname+1; l 730 src/pdf2swf.c memcpy(pattern, outputname, l); l 731 src/pdf2swf.c pattern[l]='d'; l 732 src/pdf2swf.c strcpy(pattern+l+1, outputname+l); l 626 src/png2swf.c U8*l = &data2[(y*header.width)*4]; l 628 src/png2swf.c U8 a = l[x*4]; l 629 src/png2swf.c U8 b = l[x*4+1]; l 630 src/png2swf.c U8 g = l[x*4+2]; l 631 src/png2swf.c U8 r = l[x*4+3]; l 636 src/png2swf.c l[x*4+3]=(int)r*a/255; l 637 src/png2swf.c l[x*4+2]=(int)g*a/255; l 638 src/png2swf.c l[x*4+1]=(int)b*a/255; l 2429 src/swfc.c int l=strlen(str); l 2434 src/swfc.c for(t=s;t<l;t++) l 2450 src/swfc.c int l=strlen(str); l 2455 src/swfc.c int l=strlen(dot+1); l 2472 src/swfc.c if(l>2 || (l==2 && (dot[1]!='0' && dot[1]!='5'))) { l 2475 src/swfc.c l=2; l 2479 src/swfc.c if(l==0) l 2481 src/swfc.c if(l==1) l 2483 src/swfc.c if(l==2) l 2495 src/swfc.c int l = 0; l 2498 src/swfc.c l = (int)dict_lookup(&defines, s); l 2500 src/swfc.c if(l) { l 2501 src/swfc.c return *(int*)&define_values.buffer[l-1]; l 2652 src/swfc.c int l = strlen(str); l 2654 src/swfc.c if(str[0]!='(' || str[l-1]!=')' || !comma || l>70) l 2658 src/swfc.c strncpy(tmp, comma+1, l-1-(comma+1-str));tmp[l-1-(comma+1-str)]=0; l 2665 src/swfc.c int l = strlen(str); l 2685 src/swfc.c if(str[0]=='#' && (l==7 || l==9)) { l 2686 src/swfc.c if(l == 7 && !(sscanf(str, "#%02x%02x%02x", &r, &g, &b))) l 2688 src/swfc.c if(l == 9 && !(sscanf(str, "#%02x%02x%02x%02x", &r, &g, &b, &a))) l 2769 src/swfc.c int l = strlen(str); l 2772 src/swfc.c if(l>2 && str[l-2]=='p' && str[l-1]=='t') { l 2782 src/swfc.c int l = strlen(str); l 2783 src/swfc.c if(!l) l 2785 src/swfc.c if(str[l-1]=='%') { l 2924 src/swfc.c int l=0; l 2982 src/swfc.c l = (int)dict_lookup(&points, name); l 2983 src/swfc.c if(l==0) { l 2986 src/swfc.c return *(SPOINT*)&mpoints.buffer[l-1]; l 4111 src/swfc.c int l; l 4116 src/swfc.c l = ftell(fi); l 4118 src/swfc.c text = rfx_alloc(l+1); l 4119 src/swfc.c fread(text, l, 1, fi); l 4120 src/swfc.c text[l]=0; l 1366 src/swfdump.c int l = strlen((char*)tag->data); l 1368 src/swfdump.c if((l+1) < tag->len) { l 1369 src/swfdump.c printf(" has %d extra bytes", tag->len-1-l); l 1370 src/swfdump.c if(tag ->len - (l+1) == 1 && tag->data[tag->len-1] == 1)