Lines Matching refs:printf

118   printf("%s\n",LUA_COPYRIGHT);  in doargs()
224 printf("\""); in PrintString()
231 printf("\\\""); in PrintString()
234 printf("\\\\"); in PrintString()
237 printf("\\a"); in PrintString()
240 printf("\\b"); in PrintString()
243 printf("\\f"); in PrintString()
246 printf("\\n"); in PrintString()
249 printf("\\r"); in PrintString()
252 printf("\\t"); in PrintString()
255 printf("\\v"); in PrintString()
258 if (isprint(c)) printf("%c",c); else printf("\\%03d",c); in PrintString()
262 printf("\""); in PrintString()
271 printf("N"); in PrintType()
275 printf("B"); in PrintType()
278 printf("F"); in PrintType()
281 printf("I"); in PrintType()
285 printf("S"); in PrintType()
288 printf("?%d",ttypetag(o)); in PrintType()
291 printf("\t"); in PrintType()
300 printf("nil"); in PrintConstant()
303 printf("false"); in PrintConstant()
306 printf("true"); in PrintConstant()
312 printf("%s",buff); in PrintConstant()
313 if (buff[strspn(buff,"-0123456789")]=='\0') printf(".0"); in PrintConstant()
317 printf(LUA_INTEGER_FMT,ivalue(o)); in PrintConstant()
324 printf("?%d",ttypetag(o)); in PrintConstant()
352 printf("\t%d\t",pc+1); in PrintCode()
353 if (line>0) printf("[%d]\t",line); else printf("[-]\t"); in PrintCode()
354 printf("%-9s\t",opnames[o]); in PrintCode()
358 printf("%d %d",a,b); in PrintCode()
361 printf("%d %d",a,sbx); in PrintCode()
364 printf("%d %d",a,sbx); in PrintCode()
367 printf("%d %d",a,bx); in PrintCode()
368 printf(COMMENT); PrintConstant(f,bx); in PrintCode()
371 printf("%d",a); in PrintCode()
372 printf(COMMENT); PrintConstant(f,EXTRAARG); in PrintCode()
375 printf("%d",a); in PrintCode()
378 printf("%d",a); in PrintCode()
381 printf("%d",a); in PrintCode()
384 printf("%d %d",a,b); in PrintCode()
385 printf(COMMENT "%d out",b+1); in PrintCode()
388 printf("%d %d",a,b); in PrintCode()
389 printf(COMMENT "%s",UPVALNAME(b)); in PrintCode()
392 printf("%d %d",a,b); in PrintCode()
393 printf(COMMENT "%s",UPVALNAME(b)); in PrintCode()
396 printf("%d %d %d",a,b,c); in PrintCode()
397 printf(COMMENT "%s",UPVALNAME(b)); in PrintCode()
398 printf(" "); PrintConstant(f,c); in PrintCode()
401 printf("%d %d %d",a,b,c); in PrintCode()
404 printf("%d %d %d",a,b,c); in PrintCode()
407 printf("%d %d %d",a,b,c); in PrintCode()
408 printf(COMMENT); PrintConstant(f,c); in PrintCode()
411 printf("%d %d %d%s",a,b,c,ISK); in PrintCode()
412 printf(COMMENT "%s",UPVALNAME(a)); in PrintCode()
413 printf(" "); PrintConstant(f,b); in PrintCode()
414 if (isk) { printf(" "); PrintConstant(f,c); } in PrintCode()
417 printf("%d %d %d%s",a,b,c,ISK); in PrintCode()
418 if (isk) { printf(COMMENT); PrintConstant(f,c); } in PrintCode()
421 printf("%d %d %d%s",a,b,c,ISK); in PrintCode()
422 if (isk) { printf(COMMENT); PrintConstant(f,c); } in PrintCode()
425 printf("%d %d %d%s",a,b,c,ISK); in PrintCode()
426 printf(COMMENT); PrintConstant(f,b); in PrintCode()
427 if (isk) { printf(" "); PrintConstant(f,c); } in PrintCode()
430 printf("%d %d %d",a,b,c); in PrintCode()
431 printf(COMMENT "%d",c+EXTRAARGC); in PrintCode()
434 printf("%d %d %d%s",a,b,c,ISK); in PrintCode()
435 if (isk) { printf(COMMENT); PrintConstant(f,c); } in PrintCode()
438 printf("%d %d %d",a,b,sc); in PrintCode()
441 printf("%d %d %d",a,b,c); in PrintCode()
442 printf(COMMENT); PrintConstant(f,c); in PrintCode()
445 printf("%d %d %d",a,b,c); in PrintCode()
446 printf(COMMENT); PrintConstant(f,c); in PrintCode()
449 printf("%d %d %d",a,b,c); in PrintCode()
450 printf(COMMENT); PrintConstant(f,c); in PrintCode()
453 printf("%d %d %d",a,b,c); in PrintCode()
454 printf(COMMENT); PrintConstant(f,c); in PrintCode()
457 printf("%d %d %d",a,b,c); in PrintCode()
458 printf(COMMENT); PrintConstant(f,c); in PrintCode()
461 printf("%d %d %d",a,b,c); in PrintCode()
462 printf(COMMENT); PrintConstant(f,c); in PrintCode()
465 printf("%d %d %d",a,b,c); in PrintCode()
466 printf(COMMENT); PrintConstant(f,c); in PrintCode()
469 printf("%d %d %d",a,b,c); in PrintCode()
470 printf(COMMENT); PrintConstant(f,c); in PrintCode()
473 printf("%d %d %d",a,b,c); in PrintCode()
474 printf(COMMENT); PrintConstant(f,c); in PrintCode()
477 printf("%d %d %d",a,b,c); in PrintCode()
478 printf(COMMENT); PrintConstant(f,c); in PrintCode()
481 printf("%d %d %d",a,b,sc); in PrintCode()
484 printf("%d %d %d",a,b,sc); in PrintCode()
487 printf("%d %d %d",a,b,c); in PrintCode()
490 printf("%d %d %d",a,b,c); in PrintCode()
493 printf("%d %d %d",a,b,c); in PrintCode()
496 printf("%d %d %d",a,b,c); in PrintCode()
499 printf("%d %d %d",a,b,c); in PrintCode()
502 printf("%d %d %d",a,b,c); in PrintCode()
505 printf("%d %d %d",a,b,c); in PrintCode()
508 printf("%d %d %d",a,b,c); in PrintCode()
511 printf("%d %d %d",a,b,c); in PrintCode()
514 printf("%d %d %d",a,b,c); in PrintCode()
517 printf("%d %d %d",a,b,c); in PrintCode()
520 printf("%d %d %d",a,b,c); in PrintCode()
523 printf("%d %d %d",a,b,c); in PrintCode()
524 printf(COMMENT "%s",eventname(c)); in PrintCode()
527 printf("%d %d %d %d",a,sb,c,isk); in PrintCode()
528 printf(COMMENT "%s",eventname(c)); in PrintCode()
529 if (isk) printf(" flip"); in PrintCode()
532 printf("%d %d %d %d",a,b,c,isk); in PrintCode()
533 printf(COMMENT "%s ",eventname(c)); PrintConstant(f,b); in PrintCode()
534 if (isk) printf(" flip"); in PrintCode()
537 printf("%d %d",a,b); in PrintCode()
540 printf("%d %d",a,b); in PrintCode()
543 printf("%d %d",a,b); in PrintCode()
546 printf("%d %d",a,b); in PrintCode()
549 printf("%d %d",a,b); in PrintCode()
552 printf("%d",a); in PrintCode()
555 printf("%d",a); in PrintCode()
558 printf("%d",GETARG_sJ(i)); in PrintCode()
559 printf(COMMENT "to %d",GETARG_sJ(i)+pc+2); in PrintCode()
562 printf("%d %d %d",a,b,isk); in PrintCode()
565 printf("%d %d %d",a,b,isk); in PrintCode()
568 printf("%d %d %d",a,b,isk); in PrintCode()
571 printf("%d %d %d",a,b,isk); in PrintCode()
572 printf(COMMENT); PrintConstant(f,b); in PrintCode()
575 printf("%d %d %d",a,sb,isk); in PrintCode()
578 printf("%d %d %d",a,sb,isk); in PrintCode()
581 printf("%d %d %d",a,sb,isk); in PrintCode()
584 printf("%d %d %d",a,sb,isk); in PrintCode()
587 printf("%d %d %d",a,sb,isk); in PrintCode()
590 printf("%d %d",a,isk); in PrintCode()
593 printf("%d %d %d",a,b,isk); in PrintCode()
596 printf("%d %d %d",a,b,c); in PrintCode()
597 printf(COMMENT); in PrintCode()
598 if (b==0) printf("all in "); else printf("%d in ",b-1); in PrintCode()
599 if (c==0) printf("all out"); else printf("%d out",c-1); in PrintCode()
602 printf("%d %d %d%s",a,b,c,ISK); in PrintCode()
603 printf(COMMENT "%d in",b-1); in PrintCode()
606 printf("%d %d %d%s",a,b,c,ISK); in PrintCode()
607 printf(COMMENT); in PrintCode()
608 if (b==0) printf("all out"); else printf("%d out",b-1); in PrintCode()
613 printf("%d",a); in PrintCode()
616 printf("%d %d",a,bx); in PrintCode()
617 printf(COMMENT "to %d",pc-bx+2); in PrintCode()
620 printf("%d %d",a,bx); in PrintCode()
621 printf(COMMENT "exit to %d",pc+bx+3); in PrintCode()
624 printf("%d %d",a,bx); in PrintCode()
625 printf(COMMENT "to %d",pc+bx+2); in PrintCode()
628 printf("%d %d",a,c); in PrintCode()
631 printf("%d %d",a,bx); in PrintCode()
632 printf(COMMENT "to %d",pc-bx+2); in PrintCode()
635 printf("%d %d %d",a,b,c); in PrintCode()
636 if (isk) printf(COMMENT "%d",c+EXTRAARGC); in PrintCode()
639 printf("%d %d",a,bx); in PrintCode()
640 printf(COMMENT "%p",VOID(f->p[bx])); in PrintCode()
643 printf("%d %d",a,c); in PrintCode()
644 printf(COMMENT); in PrintCode()
645 if (c==0) printf("all out"); else printf("%d out",c-1); in PrintCode()
648 printf("%d",a); in PrintCode()
651 printf("%d",ax); in PrintCode()
655 printf("%d %d %d",a,b,c); in PrintCode()
656 printf(COMMENT "not handled"); in PrintCode()
660 printf("\n"); in PrintCode()
677 printf("\n%s <%s:%d,%d> (%d instruction%s at %p)\n", in PrintHeader()
681 printf("%d%s param%s, %d slot%s, %d upvalue%s, ", in PrintHeader()
684 printf("%d local%s, %d constant%s, %d function%s\n", in PrintHeader()
692 printf("constants (%d) for %p:\n",n,VOID(f)); in PrintDebug()
695 printf("\t%d\t",i); in PrintDebug()
698 printf("\n"); in PrintDebug()
701 printf("locals (%d) for %p:\n",n,VOID(f)); in PrintDebug()
704 printf("\t%d\t%s\t%d\t%d\n", in PrintDebug()
708 printf("upvalues (%d) for %p:\n",n,VOID(f)); in PrintDebug()
711 printf("\t%d\t%s\t%d\t%d\n", in PrintDebug()