/openbsd/usr.sbin/rpki-client/ |
H A D | as.c | 48 const struct cert_as *as, size_t asz, int quiet) in as_check_overlap() argument 54 if (asz && in as_check_overlap() 66 for (i = 0; i < asz; i++) { in as_check_overlap() 120 const struct cert_as *as, size_t asz) in as_check_covered() argument 125 for (i = 0; i < asz; i++) { in as_check_covered()
|
H A D | cert.c | 69 ases[(*asz)++] = *as; in append_as() 108 return append_as(fn, ases, asz, &as); in sbgp_as_range() 134 return append_as(fn, ases, asz, &as); in sbgp_as_id() 145 return append_as(fn, ases, asz, &as); in sbgp_as_inherit() 154 size_t asz = 0, sz; in sbgp_parse_assysnum() local 199 if (!sbgp_as_inherit(fn, as, &asz)) in sbgp_parse_assysnum() 224 *out_asz = asz; in sbgp_parse_assysnum() 929 for (j = 0; j < cert->asz; j++) { in cert_parse_pre() 1108 io_simple_buffer(b, &p->asz, sizeof(p->asz)); in cert_buffer() 1141 io_read_buf(b, &p->asz, sizeof(p->asz)); in cert_read() [all …]
|
H A D | rsc.c | 133 int i, asz; in rsc_parse_aslist() local 138 if ((asz = sk_ASIdOrRange_num(asids->asnum)) == 0) { in rsc_parse_aslist() 143 if (asz >= MAX_AS_SIZE) { in rsc_parse_aslist() 149 rsc->as = calloc(asz, sizeof(struct cert_as)); in rsc_parse_aslist() 153 for (i = 0; i < asz; i++) { in rsc_parse_aslist() 160 if (!sbgp_as_id(fn, rsc->as, &rsc->asz, aor->u.id)) in rsc_parse_aslist() 164 if (!sbgp_as_range(fn, rsc->as, &rsc->asz, in rsc_parse_aslist()
|
H A D | print.c | 160 as_resources_print(struct cert_as *as, size_t asz) in as_resources_print() argument 164 for (i = 0; i < asz; i++) { in as_resources_print() 208 ip_resources_print(struct cert_ip *ips, size_t ipsz, size_t asz) in ip_resources_print() argument 223 if (i > 0 || asz > 0) in ip_resources_print() 234 if (i > 0 || asz > 0) in ip_resources_print() 250 if (i > 0 || asz > 0) in ip_resources_print() 320 as_resources_print(p->as, p->asz); in cert_print() 321 ip_resources_print(p->ips, p->ipsz, p->asz); in cert_print() 630 as_resources_print(p->as, p->asz); in rsc_print() 631 ip_resources_print(p->ips, p->ipsz, p->asz); in rsc_print()
|
H A D | validate.c | 46 c = as_check_covered(min, max, a->cert->as, a->cert->asz); in valid_as() 139 for (i = 0; i < cert->asz; i++) { in valid_cert() 205 if (as_check_covered(spl->asid, spl->asid, cert->as, cert->asz) > 0) in valid_spl() 490 for (i = 0; i < rsc->asz; i++) { in valid_rsc() 499 if (as_check_covered(min, max, cert->as, cert->asz) > 0) in valid_rsc() 559 cert->as, cert->asz) > 0) in valid_aspa()
|
H A D | geofeed.c | 256 if (cert->asz > 0) { in geofeed_parse()
|
H A D | extern.h | 121 size_t asz; /* length of "asz" */ member 264 size_t asz; /* number of AS resources */ member
|
H A D | roa.c | 287 if (cert->asz > 0) { in roa_parse()
|
H A D | spl.c | 294 if (cert->asz == 0) { in spl_parse()
|
H A D | constraints.c | 587 for (i = 0; i < cert->asz; i++) { in constraints_validate()
|
/openbsd/usr.bin/mandoc/ |
H A D | roff.c | 1490 asz = 0; in roff_expand() 1493 asz++; /* blank */ in roff_expand() 1495 asz += 2; /* quotes */ in roff_expand() 1496 asz += strlen(ctx->argv[argi]); in roff_expand() 1498 if (asz != iend - iesc) { in roff_expand() 1500 if (asz < iend - iesc) in roff_expand() 1503 buf->sz = iesc + asz + rsz; in roff_expand() 1505 if (asz > iend - iesc) in roff_expand() 1559 rsz += asz; in roff_expand() 1572 asz *= 8; in roff_expand() [all …]
|
/openbsd/usr.sbin/nsd/ |
H A D | udb.c | 1240 uint64_t asz = sz + sizeof(udb_xl_chunk_d) + sizeof(uint64_t)*2; local 1241 uint64_t need=(asz+UDB_ALLOC_CHUNK_SIZE-1)&(~(UDB_ALLOC_CHUNK_SIZE-1)); 1243 assert(need >= asz); 1282 uint64_t asz = sz + sizeof(udb_chunk_d) + 1; local 1284 if(asz > UDB_ALLOC_CHUNK_SIZE) { 1286 } else if(asz <= UDB_ALLOC_CHUNK_MINSIZE) { 1289 exp = udb_exp_size(asz);
|
/openbsd/gnu/llvm/llvm/include/llvm/Target/GlobalISel/ |
H A D | Combine.td | 232 // shl ([asz]ext x), y => zext (shl x, y), if shift does not overflow int 571 // Fold ([asz]ext ([asz]ext x)) -> ([asz]ext x). 654 // Fold trunc ([asz]ext x) -> x or ([asz]ext x) or (trunc x).
|