Lines Matching +defs:mode +defs:line +defs:format
78 * Size for tokens in the presentation format,
105 dns_masterformat_t format;
118 /* Members specific to the text format: */
134 /* Members specific to the raw format: */
227 line = isc_lex_getsourceline(lctx->lex); \
228 POST(line); \
319 "dns_master_load", source, line, filename, \
330 "dns_master_load", source, line, \
383 unsigned long int line;
387 line = isc_lex_getsourceline(lex);
389 line--;
390 what = "line";
397 file, line, what);
505 loadctx_create(dns_masterformat_t format, isc_mem_t *mctx, unsigned int options,
525 .format = format,
544 switch (format) {
605 nibbles(char *numbuf, size_t length, unsigned int width, char mode,
617 char val = hex[(value & 0x0f) + ((mode == 'n') ? 0 : 16)];
653 char mode[2] = { 0 };
679 /* Get format specifier. */
683 &delta, comma1, &width, comma2, mode,
696 comma2[0] == ',' && mode[0] != 0 &&
699 /* %{delta,width,format} */
700 if (mode[0] == 'n' || mode[0] == 'N') {
704 "%%0%u%c", width, mode[0]);
725 mode[0], it + delta);
772 const char *source, unsigned int line) {
812 "$GENERATE", source, line, range);
829 "$GENERATE", source, line, gtype);
839 "$GENERATE", source, line, gtype);
874 source, line, namebuf);
902 result = commit(callbacks, lctx, &head, owner, source, line);
918 line, isc_result_totext(result));
939 unsigned int line, uint32_t *ttlp) {
945 "dns_master_load", source, line, *ttlp);
952 unsigned long line) {
984 source, line, DNS_AS_STR(*token));
993 check_wildcard(dns_incctx_t *ictx, const char *source, unsigned long line,
1005 source, line, namebuf);
1069 unsigned long line = 0;
1116 line = isc_lex_getsourceline(lctx->lex);
1119 line = isc_lex_getsourceline(lctx->lex);
1133 line = isc_lex_getsourceline(lctx->lex);
1134 POST(line);
1144 continue; /* blank line */
1182 limit_ttl(callbacks, source, line, &lctx->ttl);
1198 source, line);
1209 source, line);
1244 line = isc_lex_getsourceline(lctx->lex);
1245 POST(line);
1274 source, line);
1283 source, line);
1330 limit_ttl(callbacks, source, line,
1358 source, line);
1380 source, line);
1394 line, DNS_AS_STR(token));
1456 line = isc_lex_getsourceline(lctx->lex);
1457 POST(line);
1543 check_wildcard(ictx, source, line,
1560 source, line, namebuf);
1568 source, line, token.type);
1596 continue; /* blank line */
1610 source, line);
1634 source, line, cbuf, obuf);
1651 limit_ttl(callbacks, source, line, &lctx->ttl);
1696 source, line, token.value.as_textregion.length,
1721 source, line, classname1,
1750 source, line, "type", typebuf,
1770 source, line, "type", typebuf,
1802 result = check_ns(lctx, &token, source, line);
1836 source, line, namebuf, desc);
1845 source, line, namebuf, desc);
1888 source, line, namebuf);
1910 source, line,
1935 line, typebuf, namebuf);
1957 source, line);
1959 limit_ttl(callbacks, source, line, &lctx->ttl);
1973 source, line);
1988 source, line);
2001 source, line);
2012 source, line);
2080 source, line, this->ttl);
2091 source, line, lctx->ttl,
2099 ictx->glue_line = line;
2101 ictx->current_line = line;
2270 size_t commonlen = sizeof(header.format) + sizeof(header.version);
2277 if (lctx->format != dns_masterformat_raw) {
2295 header.format = isc_buffer_getuint32(&target);
2296 if (header.format != lctx->format) {
2299 "file format mismatch (not raw)");
2314 "unsupported file format "
2402 * in this format, and so trying to continue parsing erroneous data
2663 isc_mem_t *mctx, dns_masterformat_t format,
2668 loadctx_create(format, mctx, options, resign, top, zclass, origin,
2709 isc_mem_t *mctx, dns_masterformat_t format,
2717 loadctx_create(format, mctx, options, resign, top, zclass, origin,
2930 unsigned int line) {
2962 "dns_master_load", source, line,