/netbsd-src/external/ibm-public/postfix/dist/src/util/ |
H A D | attr_scan64.c | 198 static VSTRING *base64_buf = 0; in attr_scan64_string() local 207 if (base64_buf == 0) in attr_scan64_string() 208 base64_buf = vstring_alloc(10); in attr_scan64_string() 210 VSTRING_RESET(base64_buf); in attr_scan64_string() 218 VSTRING_ADDCH(base64_buf, ch); in attr_scan64_string() 220 if (LEN(base64_buf) > limit) { in attr_scan64_string() 227 VSTRING_TERMINATE(base64_buf); in attr_scan64_string() 228 if (base64_decode(plain_buf, STR(base64_buf), LEN(base64_buf)) == 0) { in attr_scan64_string() 230 VSTREAM_PATH(fp), STR(base64_buf)); in attr_scan64_string()
|
H A D | attr_print0.c | 123 static VSTRING *base64_buf; in attr_vprint0() local 170 if (base64_buf == 0) in attr_vprint0() 171 base64_buf = vstring_alloc(10); in attr_vprint0() 172 base64_encode(base64_buf, str_val, len_val); in attr_vprint0() 173 vstream_fwrite(fp, STR(base64_buf), LEN(base64_buf) + 1); in attr_vprint0()
|
H A D | attr_print_plain.c | 123 static VSTRING *base64_buf; in attr_vprint_plain() local 165 if (base64_buf == 0) in attr_vprint_plain() 166 base64_buf = vstring_alloc(10); in attr_vprint_plain() 167 base64_encode(base64_buf, str_val, len_val); in attr_vprint_plain() 168 vstream_fprintf(fp, "%s=%s\n", attr_name, STR(base64_buf)); in attr_vprint_plain()
|
H A D | attr_scan0.c | 220 static VSTRING *base64_buf = 0; in attr_scan0_data() local 223 if (base64_buf == 0) in attr_scan0_data() 224 base64_buf = vstring_alloc(10); in attr_scan0_data() 225 if ((ch = attr_scan0_string(fp, base64_buf, context)) < 0) in attr_scan0_data() 227 if (base64_decode(str_buf, STR(base64_buf), LEN(base64_buf)) == 0) { in attr_scan0_data() 229 VSTREAM_PATH(fp), context, STR(base64_buf)); in attr_scan0_data()
|
H A D | attr_print64.c | 114 static VSTRING *base64_buf; in attr_print64_str() local 116 if (base64_buf == 0) in attr_print64_str() 117 base64_buf = vstring_alloc(10); in attr_print64_str() 119 base64_encode(base64_buf, str, len); in attr_print64_str() 120 vstream_fputs(STR(base64_buf), fp); in attr_print64_str()
|
H A D | attr_scan_plain.c | 235 static VSTRING *base64_buf = 0; in attr_scan_plain_data() local 238 if (base64_buf == 0) in attr_scan_plain_data() 239 base64_buf = vstring_alloc(10); in attr_scan_plain_data() 240 if ((ch = attr_scan_plain_string(fp, base64_buf, terminator, context)) < 0) in attr_scan_plain_data() 242 if (base64_decode(str_buf, STR(base64_buf), LEN(base64_buf)) == 0) { in attr_scan_plain_data() 244 VSTREAM_PATH(fp), context, STR(base64_buf)); in attr_scan_plain_data()
|
H A D | dict_static.c | 91 VSTRING *base64_buf; in dict_static_open() local 136 if ((base64_buf = dict_file_to_b64(&dict_static->dict, value)) == 0) { in dict_static_open() 143 value = vstring_str(base64_buf); in dict_static_open()
|
H A D | dict_inline.c | 124 VSTRING *base64_buf; in dict_inline_open() local 126 if ((base64_buf = dict_file_to_b64(dict, value)) == 0) { in dict_inline_open() 130 value = vstring_str(base64_buf); in dict_inline_open()
|
H A D | dict_thash.c | 190 VSTRING *base64_buf; in dict_thash_open() local 193 if ((base64_buf = dict_file_to_b64(dict, value)) == 0) { in dict_thash_open() 200 value = vstring_str(base64_buf); in dict_thash_open()
|
H A D | dict_cidr.c | 221 VSTRING *base64_buf; in dict_cidr_parse_rule() local 224 if ((base64_buf = dict_file_to_b64(dict, value)) == 0) { in dict_cidr_parse_rule() 230 value = vstring_str(base64_buf); in dict_cidr_parse_rule()
|
H A D | dict_regexp.c | 613 VSTRING *base64_buf; in dict_regexp_parseline() local 616 if ((base64_buf = dict_file_to_b64(dict, p)) == 0) { in dict_regexp_parseline() 623 p = vstring_str(base64_buf); in dict_regexp_parseline()
|
H A D | dict_pcre.c | 812 VSTRING *base64_buf; in dict_pcre_parse_rule() local 815 if ((base64_buf = dict_file_to_b64(dict, p)) == 0) { in dict_pcre_parse_rule() 822 p = vstring_str(base64_buf); in dict_pcre_parse_rule()
|
/netbsd-src/external/ibm-public/postfix/dist/src/postmap/ |
H A D | postmap.c | 554 VSTRING *base64_buf; in postmap() local 557 if ((base64_buf = dict_file_to_b64(mkmap->dict, value)) == 0) { in postmap() 564 value = vstring_str(base64_buf); in postmap()
|