| /netbsd-src/external/ibm-public/postfix/dist/src/bounce/ |
| H A D | bounce.c | 238 #define STR vstring_str macro 265 if (mail_queue_id_ok(STR(queue_id)) == 0) { in bounce_append_proto() 266 msg_warn("malformed queue id: %s", printable(STR(queue_id), '?')); in bounce_append_proto() 289 myname, flags, service_name, STR(queue_id), in bounce_append_proto() 290 STR(rcpt_buf->orig_addr), STR(rcpt_buf->address), in bounce_append_proto() 291 rcpt_buf->offset, STR(rcpt_buf->dsn_orcpt), in bounce_append_proto() 292 rcpt_buf->dsn_notify, STR(dsn_buf->status), in bounce_append_proto() 293 STR(dsn_buf->action), STR(dsn_buf->reason)); in bounce_append_proto() 300 bounce_cleanup_register(service_name, STR(queue_id)); in bounce_append_proto() 305 return (bounce_append_service(flags, service_name, STR(queue_id), in bounce_append_proto() [all …]
|
| /netbsd-src/external/ibm-public/postfix/dist/src/util/ |
| H A D | attr_scan64.c | 191 #define STR(x) vstring_str(x) macro 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() 234 msg_info("%s: %s", context, *STR(plain_buf) ? STR(plain_buf) : "(end)"); in attr_scan64_string() 248 if (sscanf(STR(str_buf), "%u%c", ptr, &junk) != 1 || junk != 0) { in attr_scan64_number() 250 VSTREAM_PATH(fp), context, STR(str_buf)); in attr_scan64_number() 267 if (sscanf(STR(str_buf), "%lu%c", ptr, &junk) != 1 || junk != 0) { in attr_scan64_long_number() 269 VSTREAM_PATH(fp), context, STR(str_buf)); in attr_scan64_long_number() 374 && ch == '\n' && strcmp(ATTR_NAME_OPEN, STR(name_buf)) == 0) { in attr_vscan64() 380 && ch == '\n' && strcmp(ATTR_NAME_CLOSE, STR(name_buf)) == 0) { in attr_vscan64() [all …]
|
| H A D | attr_scan_plain.c | 189 #define STR(x) vstring_str(x) macro 225 msg_info("%s: %s", context, *STR(plain_buf) ? STR(plain_buf) : "(end)"); in attr_scan_plain_string() 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() 260 if (sscanf(STR(str_buf), "%u%c", ptr, &junk) != 1 || junk != 0) { in attr_scan_plain_number() 262 VSTREAM_PATH(fp), context, STR(str_buf)); in attr_scan_plain_number() 280 if (sscanf(STR(str_buf), "%lu%c", ptr, &junk) != 1 || junk != 0) { in attr_scan_plain_long_number() 282 VSTREAM_PATH(fp), context, STR(str_buf)); in attr_scan_plain_long_number() 387 && ch == '\n' && strcmp(ATTR_NAME_OPEN, STR(name_buf)) == 0) { in attr_vscan_plain() 393 && ch == '\n' && strcmp(ATTR_NAME_CLOSE, STR(name_buf)) == 0) { in attr_vscan_plain() [all …]
|
| H A D | hex_code.c | 188 #define STR(x) vstring_str(x) macro 208 DECODE(b2, STR(b1), LEN(b1)); in main() 209 VERIFY(STR(b2), test); in main() 212 hex_encode(b2, STR(b1), LEN(b1)); in main() 213 hex_encode(b1, STR(b2), LEN(b2)); in main() 214 DECODE(b2, STR(b1), LEN(b1)); in main() 215 DECODE(b1, STR(b2), LEN(b2)); in main() 216 DECODE(b2, STR(b1), LEN(b1)); in main() 217 VERIFY(STR(b2), test); in main() 220 hex_encode(b2, STR(b1), LEN(b1)); in main() [all …]
|
| H A D | base32_code.c | 206 #define STR(x) vstring_str(x) macro 237 base32_encode(b1, STR(test), LEN(test)); in main() 238 DECODE(b2, STR(b1), LEN(b1)); in main() 239 VERIFY(STR(b2), STR(test), LEN(test)); in main() 241 base32_encode(b1, STR(test), LEN(test)); in main() 242 base32_encode(b2, STR(b1), LEN(b1)); in main() 243 base32_encode(b1, STR(b2), LEN(b2)); in main() 244 DECODE(b2, STR(b1), LEN(b1)); in main() 245 DECODE(b1, STR(b2), LEN(b2)); in main() 246 DECODE(b2, STR(b1), LEN(b1)); in main() [all …]
|
| H A D | casefold.c | 111 #define STR(x) vstring_str(x) macro 131 lowercase(STR(dest) + old_len); in casefoldx() 132 return (STR(dest)); in casefoldx() 161 lowercase(STR(dest) + old_len); in casefoldx() 162 return (STR(dest)); in casefoldx() 202 space_needed = ucasemap_utf8FoldCase(csm, STR(dest) + old_len, in casefoldx() 216 return (STR(dest)); in casefoldx() 275 bp = STR(buffer); in main() 304 vstream_printf("U+%X -> %s\n", codepoint, STR(buffer)); in main() 305 if (valid_utf8_string(STR(buffer), LEN(buffer)) == 0) in main() [all …]
|
| H A D | attr_scan0.c | 190 #define STR(x) vstring_str(x) macro 211 msg_info("%s: %s", context, *STR(plain_buf) ? STR(plain_buf) : "(end)"); in attr_scan0_string() 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() 245 if (sscanf(STR(str_buf), "%u%c", ptr, &junk) != 1 || junk != 0) { in attr_scan0_number() 247 VSTREAM_PATH(fp), context, STR(str_buf)); in attr_scan0_number() 264 if (sscanf(STR(str_buf), "%lu%c", ptr, &junk) != 1 || junk != 0) { in attr_scan0_long_number() 266 VSTREAM_PATH(fp), context, STR(str_buf)); in attr_scan0_long_number() 371 && strcmp(ATTR_NAME_OPEN, STR(name_buf)) == 0) { in attr_vscan0() 377 && strcmp(ATTR_NAME_CLOSE, STR(name_buf)) == 0) { in attr_vscan0() [all …]
|
| H A D | sane_basename.c | 67 #define STR(x) vstring_str(x) macro 90 return (STR(vstring_strcpy(bp, "."))); in sane_basename() 99 return (STR(vstring_strcpy(bp, "/"))); in sane_basename() 110 return (STR(vstring_strncpy(bp, first + 1, last - first))); in sane_basename() 133 return (STR(vstring_strcpy(bp, "."))); in sane_dirname() 142 return (STR(vstring_strcpy(bp, "/"))); in sane_dirname() 152 return (STR(vstring_strcpy(bp, "."))); in sane_dirname() 160 return (STR(vstring_strncpy(bp, path, last - path + 1))); in sane_dirname() 173 dir = sane_dirname((VSTRING *) 0, STR(buf)); in main() 174 base = sane_basename((VSTRING *) 0, STR(buf)); in main() [all …]
|
| H A D | ip_match.c | 139 #define STR vstring_str macro 149 return (memcpy(dst, STR(byte_codes), LEN(byte_codes))); in ip_match_save() 207 "after \"%s\"", myname, ch, STR(printable)); in ip_match_dump() 221 myname, ch, STR(printable)); in ip_match_dump() 230 myname, ch, STR(printable)); in ip_match_dump() 231 return (STR(printable)); in ip_match_dump() 235 myname, STR(printable)); in ip_match_dump() 269 return (STR(printable)); in ip_match_print_code_prefix() 465 return (STR(byte_codes)); in ip_match_parse() 478 return (STR(byte_codes)); in ip_match_parse() [all …]
|
| /netbsd-src/external/ibm-public/postfix/dist/src/cleanup/ |
| H A D | cleanup_addr.c | 107 #define STR vstring_str macro 132 if (strncasecmp_utf8(STR(clean_addr), MAIL_ADDR_MAIL_DAEMON "@", in cleanup_addr_sender() 135 if (strcasecmp_utf8(STR(clean_addr), STR(state->temp1)) == 0) in cleanup_addr_sender() 152 if (var_smtputf8_enable && *STR(clean_addr) && !allascii(STR(clean_addr)) in cleanup_addr_sender() 153 && valid_utf8_string(STR(clean_addr), LEN(clean_addr))) { in cleanup_addr_sender() 162 state->sender = mystrdup(STR(clean_addr)); /* Used by Milter client */ in cleanup_addr_sender() 173 && *STR(clean_addr) in cleanup_addr_sender() 176 STR(clean_addr), in cleanup_addr_sender() 220 if (var_smtputf8_enable && *STR(clean_addr) && !allascii(STR(clean_addr)) in cleanup_addr_recipient() 221 && valid_utf8_string(STR(clean_addr), LEN(clean_addr))) { in cleanup_addr_recipient() [all …]
|
| H A D | cleanup_map11.c | 93 #define STR vstring_str macro 114 if ((new_addr = mail_addr_map_opt(maps, STR(addr), propagate, in cleanup_map11_external() 119 state->queue_id, maps->title, STR(addr)); in cleanup_map11_external() 120 saved_addr = mystrdup(STR(addr)); in cleanup_map11_external() 121 did_rewrite |= strcmp(new_addr->argv[0], STR(addr)); in cleanup_map11_external() 123 expand_to_self = !strcasecmp_utf8(saved_addr, STR(addr)); in cleanup_map11_external() 131 state->queue_id, maps->title, STR(addr)); in cleanup_map11_external() 140 state->queue_id, maps->title, STR(addr)); in cleanup_map11_external() 161 tree->head = tok822_scan(STR(temp), &tree->tail); in cleanup_map11_tree() 180 quote_822_local(temp, STR(addr)); in cleanup_map11_internal() [all …]
|
| /netbsd-src/external/gpl2/lvm2/dist/lib/report/ |
| H A D | columns.h | 60 FIELD(LVS, lv, STR, "LV UUID", lvid.id[1], 38, uuid, "lv_uuid", "Unique identifier.") 61 FIELD(LVS, lv, STR, "LV", lvid, 4, lvname, "lv_name", "Name. LVs created for internal use are encl… 62 FIELD(LVS, lv, STR, "Attr", lvid, 4, lvstatus, "lv_attr", "Various attributes - see man page.") 66 FIELD(LVS, lv, STR, "KMaj", lvid, 4, lvkmaj, "lv_kernel_major", "Currently assigned major number or… 67 FIELD(LVS, lv, STR, "KMin", lvid, 4, lvkmin, "lv_kernel_minor", "Currently assigned minor number or… 71 FIELD(LVS, lv, STR, "Origin", lvid, 6, origin, "origin", "For snapshots, the origin device of this … 75 FIELD(LVS, lv, STR, "Move", lvid, 4, movepv, "move_pv", "For pvmove, Source PV of temporary LV crea… 76 FIELD(LVS, lv, STR, "Convert", lvid, 7, convertlv, "convert_lv", "For lvconvert, Name of temporary … 77 FIELD(LVS, lv, STR, "LV Tags", tags, 7, tags, "lv_tags", "Tags, if any.") 78 FIELD(LVS, lv, STR, "Log", lvid, 3, loglv, "mirror_log", "For mirrors, the LV holding the synchroni… [all …]
|
| /netbsd-src/external/ibm-public/postfix/dist/src/global/ |
| H A D | resolve_clnt.c | 190 #define STR vstring_str in resolve_clnt() macro 192 if (addr == STR(reply->recipient)) in resolve_clnt() 201 && *addr && strcmp(addr, STR(last_addr)) == 0 in resolve_clnt() 202 && strcmp(class, STR(last_class)) == 0 in resolve_clnt() 203 && strcmp(sender, STR(last_sender)) == 0) { in resolve_clnt() 204 vstring_strcpy(reply->transport, STR(last_reply.transport)); in resolve_clnt() 205 vstring_strcpy(reply->nexthop, STR(last_reply.nexthop)); in resolve_clnt() 206 vstring_strcpy(reply->recipient, STR(last_reply.recipient)); in resolve_clnt() 210 myname, sender, addr, STR(reply->transport), in resolve_clnt() 211 STR(reply->nexthop), STR(reply->recipient), in resolve_clnt() [all …]
|
| H A D | mail_queue.c | 143 #define STR vstring_str macro 194 queue_id = STR(usec_buf); in mail_queue_dir() 201 return (STR(buf)); in mail_queue_dir() 225 return (STR(buf)); in mail_queue_path() 262 if (error != 0 && mail_queue_mkdirs(STR(new_buf)) == 0) in mail_queue_rename() 263 error = sane_rename(STR(old_buf), STR(new_buf)); in mail_queue_rename() 364 if ((fd = open(STR(temp_path), O_RDWR | O_CREAT | O_EXCL, mode)) >= 0) in mail_queue_enter() 368 msg_warn("%s: create file %s: %m", myname, STR(temp_path)); in mail_queue_enter() 405 mail_queue_path(path_buf, queue_name, STR(id_buf)); in mail_queue_enter() 406 if (sane_rename(STR(temp_path), STR(path_buf)) == 0) /* success */ in mail_queue_enter() [all …]
|
| H A D | mail_addr_crunch.c | 102 #define STR(x) vstring_str(x) in mail_addr_crunch_opt() macro 109 string = STR(extern_addr); in mail_addr_crunch_opt() 128 canon_addr_external(canon_addr, STR(extern_addr)); in mail_addr_crunch_opt() 129 unquote_822_local(intern_addr, STR(canon_addr)); in mail_addr_crunch_opt() 132 if ((ratsign = strrchr(STR(intern_addr), '@')) == 0) { in mail_addr_crunch_opt() 142 quote_822_local(extern_addr, STR(intern_addr)); in mail_addr_crunch_opt() 143 argv_add(argv, STR(extern_addr), ARGV_END); in mail_addr_crunch_opt() 145 argv_add(argv, STR(intern_addr), ARGV_END); in mail_addr_crunch_opt() 187 if ((addr_form = mail_addr_form_from_string(STR(buf))) < 0) in get_addr_form() 188 msg_fatal("bad address form: %s", STR(buf)); in get_addr_form() [all …]
|
| /netbsd-src/external/ibm-public/postfix/dist/src/smtp/ |
| H A D | smtp_chat.c | 199 smtp_chat_append(session, "Out: ", STR(session->buffer)); in smtp_chat_cmd() 206 msg_info("> %s: %s", session->namaddrport, STR(session->buffer)); in smtp_chat_cmd() 211 smtp_fputs(STR(session->buffer), LEN(session->buffer), session->stream); in smtp_chat_cmd() 275 printable(STR(session->buffer), '?'); in smtp_chat_resp() 278 session->namaddrport, var_line_limit, STR(session->buffer)); in smtp_chat_resp() 280 msg_info("< %s: %.100s", session->namaddrport, STR(session->buffer)); in smtp_chat_resp() 288 smtp_chat_append(session, "In: ", STR(session->buffer)); in smtp_chat_resp() 292 session->namaddrport, var_line_limit, STR(rdata.str_buf)); in smtp_chat_resp() 302 new_reply = dict_get(smtp_chat_resp_filter, STR(session->buffer)); in smtp_chat_resp() 305 session->namaddrport, STR(session->buffer), new_reply); in smtp_chat_resp() [all …]
|
| H A D | smtp_reuse.c | 158 STR(state->dest_label), STR(state->dest_prop), in smtp_save_session() 159 STR(state->endp_label)); in smtp_save_session() 164 scache_save_endp(smtp_scache, var_smtp_cache_conn, STR(state->endp_label), in smtp_save_session() 165 STR(state->endp_prop), fd); in smtp_save_session() 178 msg_info("%s: dest_prop='%s'", myname, STR(state->dest_prop)); in smtp_reuse_common() 179 msg_info("%s: endp_prop='%s'", myname, STR(state->endp_prop)); in smtp_reuse_common() 212 htable_enter(state->cache_used, STR(iter->addr), (void *) 0); in smtp_reuse_common() 231 msg_info("%s: dest_label='%s'", myname, STR(state->dest_label)); in smtp_reuse_nexthop() 232 if ((fd = scache_find_dest(smtp_scache, STR(state->dest_label), in smtp_reuse_nexthop() 240 session = smtp_reuse_common(state, fd, STR(state->dest_label)); in smtp_reuse_nexthop() [all …]
|
| H A D | smtp_sasl_glue.c | 198 STR(iter->host), 0)) != 0) in smtp_sasl_passwd_lookup() 201 STR(iter->dest), 0)) != 0)) { in smtp_sasl_passwd_lookup() 211 myname, STR(iter->host), in smtp_sasl_passwd_lookup() 221 myname, state->request->sender, STR(iter->host)); in smtp_sasl_passwd_lookup() 305 server_name = STR(iter->host), in smtp_sasl_start() 345 STR(iter->host), var_procname, resp_str, in smtp_sasl_authenticate() 347 STR(iter->host), resp_str); in smtp_sasl_authenticate() 362 DSB_DTYPE_SASL, STR(session->sasl_reply), in smtp_sasl_authenticate() 365 session->namaddr, STR(session->sasl_reply)); in smtp_sasl_authenticate() 386 STR(session->sasl_reply)); in smtp_sasl_authenticate() [all …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/libgcc/config/arm/ |
| H A D | freebsd-atomic.c | 59 #define SYNC_LOCK_TEST_AND_SET_N(N, TYPE, LDR, STR) \ argument 75 "\t"STR" %3, %1\n" /* Store new value. */ \ 142 #define SYNC_FETCH_AND_OP_N(N, TYPE, LDR, STR, NAME, OP) \ argument 159 "\t"STR" %2, %1\n" /* Store new value. */ \ 172 #define SYNC_OP_AND_FETCH_N(N, TYPE, LDR, STR, NAME, OP) \ argument 189 "\t"STR" %3, %1\n" /* Store new value. */ \ 202 #define EMIT_ALL_OPS_N(N, TYPE, LDR, STR, STREQ) \ argument 203 SYNC_LOCK_TEST_AND_SET_N (N, TYPE, LDR, STR) \ 207 SYNC_FETCH_AND_OP_N (N, TYPE, LDR, STR, add, "add") \ 208 SYNC_FETCH_AND_OP_N (N, TYPE, LDR, STR, and, "and") \ [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/libgcc/config/arm/ |
| H A D | freebsd-atomic.c | 59 #define SYNC_LOCK_TEST_AND_SET_N(N, TYPE, LDR, STR) \ argument 75 "\t"STR" %3, %1\n" /* Store new value. */ \ 142 #define SYNC_FETCH_AND_OP_N(N, TYPE, LDR, STR, NAME, OP) \ argument 159 "\t"STR" %2, %1\n" /* Store new value. */ \ 172 #define SYNC_OP_AND_FETCH_N(N, TYPE, LDR, STR, NAME, OP) \ argument 189 "\t"STR" %3, %1\n" /* Store new value. */ \ 202 #define EMIT_ALL_OPS_N(N, TYPE, LDR, STR, STREQ) \ argument 203 SYNC_LOCK_TEST_AND_SET_N (N, TYPE, LDR, STR) \ 207 SYNC_FETCH_AND_OP_N (N, TYPE, LDR, STR, add, "add") \ 208 SYNC_FETCH_AND_OP_N (N, TYPE, LDR, STR, and, "and") \ [all …]
|
| /netbsd-src/external/ibm-public/postfix/dist/src/smtpd/ |
| H A D | smtpd_milter.c | 65 #define STR(x) vstring_str(x) macro 97 return (STR(state->expand_buf)); in smtpd_milter_eval() 107 return (STR(state->expand_buf)); in smtpd_milter_eval() 139 return (STR(state->expand_buf)); in smtpd_milter_eval() 169 if (STR(reply->recipient)[0]) in smtpd_milter_eval() 170 quote_821_local(state->expand_buf, STR(reply->recipient)); in smtpd_milter_eval() 172 vstring_strcpy(state->expand_buf, STR(reply->recipient)); in smtpd_milter_eval() 173 return (STR(state->expand_buf)); in smtpd_milter_eval() 179 return (STR(reply->nexthop)); in smtpd_milter_eval() 185 return (STR(reply->transport)); in smtpd_milter_eval() [all …]
|
| /netbsd-src/external/ibm-public/postfix/dist/src/verify/ |
| H A D | verify.c | 284 #define STR(x) vstring_str(x) macro 386 translit(STR(addr), ":", "_"); in verify_update_service() 389 addr_status, STR(addr)); in verify_update_service() 402 || (raw_data = dict_cache_lookup(verify_map, STR(addr))) == 0 in verify_update_service() 406 printable(STR(text), '?'); in verify_update_service() 407 verify_make_entry(buf, addr_status, probed, updated, STR(text)); in verify_update_service() 410 STR(addr), addr_status, probed, updated, STR(text)); in verify_update_service() 411 dict_cache_update(verify_map, STR(addr), STR(buf)); in verify_update_service() 485 translit(STR(addr), ":", "_"); in verify_query_service() 486 if ((raw_data = dict_cache_lookup(verify_map, STR(addr))) == 0 /* not found */ in verify_query_service() [all …]
|
| /netbsd-src/external/ibm-public/postfix/dist/src/flush/ |
| H A D | flush.c | 233 #define STR(x) vstring_str(x) macro 299 msg_info("site %s to path %s", site, STR(path)); in flush_site_to_path() 326 status = flush_add_path(STR(site_path), queue_id); in flush_add_service() 403 status = flush_send_path(STR(site_path), how); in flush_send_service() 458 msg_warn("%s: open %s: %s", myname, path, STR(why)); in flush_one_file() 571 if (!mail_queue_id_ok(STR(queue_id))) { in flush_send_path() 573 STR(queue_id), path); in flush_send_path() 577 || htable_find(dup_filter, STR(queue_id)) == 0) { in flush_send_path() 580 myname, path, STR(queue_id)); in flush_send_path() 582 htable_enter(dup_filter, STR(queue_id), 0); in flush_send_path() [all …]
|
| /netbsd-src/external/ibm-public/postfix/dist/src/postsuper/ |
| H A D | postsuper.c | 375 #define STR vstring_str /* silly little macro */ macro 672 if (postrename(old_path, STR(new_path_buf)) == 0) { in requeue_one() 674 if (utime(STR(new_path_buf), &tbuf) < 0) in requeue_one() 675 msg_warn("%s: reset time stamps: %m", STR(new_path_buf)); in requeue_one() 726 if (postrename(old_path, STR(new_path_buf)) == 0) { in hold_one() 767 if (postrename(old_path, STR(new_path_buf)) == 0) { in release_one() 833 operator(queues, STR(buf)); in operate_stream() 878 mail_queue_path(new_path, *log_qpp, STR(new_id)); in fix_queue_id() 880 postrename(STR(old_path), STR(new_path)); in fix_queue_id() 887 mail_queue_path(new_path, actual_queue, STR(new_id)); in fix_queue_id() [all …]
|
| /netbsd-src/external/ibm-public/postfix/dist/src/trivial-rewrite/ |
| H A D | resolve.c | 138 #define STR vstring_str macro 264 resolve_local(STR(tok822_internalize(addr_buf, domain, TOK822_STR_DEFL))) in resolve_addr() 346 && ((oper = strrchr(local = STR(tree->head->vstr), '@')) != 0 in resolve_addr() 353 junk = mystrdup(STR(addr_buf)); in resolve_addr() 358 tree->head = tok822_scan(STR(addr_buf), &tree->tail); in resolve_addr() 425 rcpt_domain = strrchr(STR(nextrcpt), '@') + 1; in resolve_addr() 427 msg_panic("no @ in address: \"%s\"", STR(nextrcpt)); in resolve_addr() 432 && valid_utf8_string(STR(nextrcpt), LEN(nextrcpt)) == 0) { in resolve_addr() 437 vstring_insert(nextrcpt, rcpt_domain - STR(nextrcpt), "[", 1); in resolve_addr() 439 rcpt_domain = strrchr(STR(nextrcpt), '@') + 1; in resolve_addr() [all …]
|