Lines Matching defs:size
396 int size = qrcodegen_getSize(qrcode);
398 assert(size == 21);
400 assert(size == 177);
402 assert(size == ver * 4 + 17);
406 for (int y = 0; y < size; y++) {
407 for (int x = 0; x < size; x++) {
452 int size = qrcodegen_getSize(qrcode);
454 for (int y = 0; y < size; y++) { // Clear all to light
455 for (int x = 0; x < size; x++)
458 for (int y = 0; y < size; y++) { // Check all light
459 for (int x = 0; x < size; x++)
462 for (int y = 0; y < size; y++) { // Set all to dark
463 for (int x = 0; x < size; x++)
466 for (int y = 0; y < size; y++) { // Check all dark
467 for (int x = 0; x < size; x++)
475 setModuleUnbounded(qrcode, size, 5, false);
476 setModuleUnbounded(qrcode, 72, size, false);
477 setModuleUnbounded(qrcode, size, size, false);
478 for (int y = 0; y < size; y++) { // Check all dark
479 for (int x = 0; x < size; x++)
486 for (int y = 0; y < size; y++) { // Check most dark
487 for (int x = 0; x < size; x++) {
499 int size = qrcodegen_getSize(qrcode);
502 for (int y = 0; y < size; y++) {
503 for (int x = 0; x < size; x++)
509 int x = rand() % (size * 2) - size / 2;
510 int y = rand() % (size * 2) - size / 2;
511 bool isInBounds = 0 <= x && x < size && 0 <= y && y < size;