Searched refs:qr (Results 1 – 3 of 3) sorted by relevance
/systemd-251/src/shared/ |
D | qrcode-util.c | 42 static void write_qrcode(FILE *output, QRcode *qr) { in write_qrcode() argument 43 assert(qr); in write_qrcode() 48 print_border(output, qr->width); in write_qrcode() 50 for (unsigned y = 0; y < (unsigned) qr->width; y += 2) { in write_qrcode() 51 const uint8_t *row1 = qr->data + qr->width * y; in write_qrcode() 52 const uint8_t *row2 = row1 + qr->width; in write_qrcode() 58 for (unsigned x = 0; x < (unsigned) qr->width; x++) { in write_qrcode() 62 b = (y+1) < (unsigned) qr->width ? (row2[x] & 1) : false; in write_qrcode() 79 print_border(output, qr->width); in write_qrcode() 84 QRcode* qr; in print_qrcode() local [all …]
|
D | userdb.c | 726 int r, qr; in userdb_all() local 734 … qr = userdb_start_query(iterator, "io.systemd.UserDatabase.GetUserRecord", true, NULL, flags); in userdb_all() 736 if (!FLAGS_SET(flags, USERDB_EXCLUDE_NSS) && (qr < 0 || !iterator->nss_covered)) { in userdb_all() 745 if (!FLAGS_SET(flags, USERDB_EXCLUDE_DROPIN) && (qr < 0 || !iterator->dropin_covered)) { in userdb_all() 757 if (qr < 0 && in userdb_all() 760 return qr; in userdb_all() 996 int r, qr; in groupdb_all() local 1004 … qr = userdb_start_query(iterator, "io.systemd.UserDatabase.GetGroupRecord", true, NULL, flags); in groupdb_all() 1006 if (!FLAGS_SET(flags, USERDB_EXCLUDE_NSS) && (qr < 0 || !iterator->nss_covered)) { in groupdb_all() 1015 if (!FLAGS_SET(flags, USERDB_EXCLUDE_DROPIN) && (qr < 0 || !iterator->dropin_covered)) { in groupdb_all() [all …]
|
/systemd-251/src/resolve/ |
D | resolved-dns-packet.h | 174 #define DNS_PACKET_MAKE_FLAGS(qr, opcode, aa, tc, rd, ra, ad, cd, rcode) \ argument 175 (((uint16_t) !!(qr) << 15) | \
|