Home
last modified time | relevance | path

Searched refs:constraint (Results 1 – 25 of 282) sorted by relevance

12345678910>>...12

/openbsd-src/usr.sbin/ntpd/
H A Dconstraint.c1 /* $OpenBSD: constraint.c,v 1.60 2024/11/21 13:38:14 claudio Exp $ */
51 int constraint_addr_init(struct constraint *);
52 void constraint_addr_head_clear(struct constraint *);
53 struct constraint *
55 struct constraint *
57 struct constraint *
64 void priv_constraint_readquery(struct constraint *, struct ntp_addr_msg *,
95 constraint_init(struct constraint *cstr) in constraint_init()
100 cstr->constraint = 0; in constraint_init()
107 constraint_addr_init(struct constraint *cst
[all...]
H A Dntpd.h196 struct constraint { struct
197 TAILQ_ENTRY(constraint) entry;
207 time_t constraint; argument
234 TAILQ_HEAD(constraints, constraint) constraints;
359 struct constraint *new_constraint(void);
379 void constraint_add(struct constraint *);
380 void constraint_remove(struct constraint *);
383 int constraint_init(struct constraint *);
384 int constraint_query(struct constraint *, int);
H A Dconfig.c174 struct constraint *
177 struct constraint *p; in new_constraint()
179 if ((p = calloc(1, sizeof(struct constraint))) == NULL) in new_constraint()
/openbsd-src/lib/libcrypto/x509/
H A Dx509_constraints.c574 x509_constraints_sandns(char *sandns, size_t dlen, char *constraint, size_t len) in x509_constraints_sandns() argument
585 return (strncasecmp(suffix, constraint, len) == 0); in x509_constraints_sandns()
602 x509_constraints_domain(char *domain, size_t dlen, char *constraint, size_t len) in x509_constraints_domain() argument
607 if (constraint[0] == '.') { in x509_constraints_domain()
613 return (strncasecmp(suffix, constraint, len) == 0); in x509_constraints_domain()
620 suffix = constraint + (len - dlen); in x509_constraints_domain()
626 return (strncasecmp(domain, constraint, len) == 0); in x509_constraints_domain()
630 x509_constraints_uri(uint8_t *uri, size_t ulen, uint8_t *constraint, in x509_constraints_uri() argument
638 CBS_init(&cbs, constraint, len); in x509_constraints_uri()
651 ret = x509_constraints_domain(hostpart, strlen(hostpart), constraint, in x509_constraints_uri()
[all …]
H A Dx509_internal.h117 int x509_constraints_domain(char *domain, size_t dlen, char *constraint,
123 int x509_constraints_uri(uint8_t *uri, size_t ulen, uint8_t *constraint,
130 int x509_constraints_validate(GENERAL_NAME *constraint,
/openbsd-src/regress/lib/libcrypto/x509/
H A Dconstraints.c466 char *constraint = constraints[i]; in test_constraints1() local
470 strlen(matching[j]), constraint, clen)) { in test_constraints1()
473 constraint, matching[j]); in test_constraints1()
481 strlen(matchinguri[j]), constraint, clen, &error)) { in test_constraints1()
484 constraint, matchinguri[j], error); in test_constraints1()
491 strlen(failing[j]), constraint, clen)) { in test_constraints1()
494 constraint, failing[j]); in test_constraints1()
502 strlen(failinguri[j]), constraint, clen, &error)) { in test_constraints1()
505 constraint, failinguri[j], error); in test_constraints1()
526 strlen(noauthority[j]), constraint, clen, &error)) { in test_constraints1()
[all …]
/openbsd-src/usr.bin/ssh/
H A DPROTOCOL.agent38 2. restrict-destination-v00@openssh.com key constraint extension
40 The key constraint extension supports destination- and forwarding path-
41 restricted keys. It may be attached as a constraint when keys or
46 constraint[] constraints
48 Where a constraint consists of:
69 will then record the constraint against the key.
76 3. SSH_AGENT_CONSTRAIN_MAXSIGN key constraint
78 This key constraint allows communication to an agent of the maximum
80 the constraint is:
87 3. associated-certs-v00@openssh.com key constraint extensio
[all...]
/openbsd-src/sys/uvm/
H A Duvm_pdaemon.c214 struct uvm_constraint_range constraint; in uvm_pageout()
243 constraint = pma->pm_constraint; in uvm_pageout()
245 constraint = no_constraint; in uvm_pageout()
285 shortage -= bufbackoff(&constraint, size * 2); in uvm_pageout()
441 * 'constraint', 0 otherwise. in uvmpd_scan_inactive()
445 struct uvm_constraint_range *constraint) in uvmpd_scan_inactive()
450 if (paddr >= constraint->ucr_low && paddr < constraint->ucr_high) in uvmpd_scan_inactive()
206 struct uvm_constraint_range constraint; uvm_pageout() local
423 uvmpd_scan_inactive(struct uvm_pmalloc * pma,struct uvm_constraint_range * constraint,struct pglist * pglst) uvmpd_scan_inactive() argument
858 uvmpd_scan(struct uvm_pmalloc * pma,struct uvm_constraint_range * constraint) uvmpd_scan() argument
/openbsd-src/gnu/gcc/gcc/
H A Dstmt.c296 const char *constraint = *constraint_p; in parse_output_constraint() local
308 p = strchr (constraint, '='); in parse_output_constraint()
310 p = strchr (constraint, '+'); in parse_output_constraint()
325 if (p != constraint || *is_inout) in parse_output_constraint()
328 size_t c_len = strlen (constraint); in parse_output_constraint()
330 if (p != constraint) in parse_output_constraint()
337 strcpy (buf, constraint); in parse_output_constraint()
339 buf[p - constraint] = buf[0]; in parse_output_constraint()
345 constraint = *constraint_p; in parse_output_constraint()
349 for (p = constraint + 1; *p; p += CONSTRAINT_LEN (*p, p)) in parse_output_constraint()
[all …]
H A Dgenoutput.c125 const char *constraint; member
264 printf (" \"%s\",\n", d->constraint ? d->constraint : ""); in output_operand_data()
464 d->operand[opno].constraint = strip_whitespace (XSTR (part, 2)); in scan_operands()
466 = n_occurrences (',', d->operand[opno].constraint) + 1; in scan_operands()
493 d->operand[opno].constraint = strip_whitespace (XSTR (part, 1)); in scan_operands()
495 = n_occurrences (',', d->operand[opno].constraint) + 1; in scan_operands()
523 d->operand[opno].constraint = 0; in scan_operands()
581 p0 = d0->constraint; in compare_operands()
584 p1 = d1->constraint; in compare_operands()
752 for (p = d->operand[start].constraint; (c = *p); p += len) in validate_insn_alternatives()
H A Dtree-ssa-structalias.h28 struct constraint;
29 typedef struct constraint *constraint_t;
H A Drecog.c1605 asm_operand_ok (rtx op, const char *constraint) in asm_operand_ok() argument
1612 while (*constraint) in asm_operand_ok()
1614 char c = *constraint; in asm_operand_ok()
1619 constraint++; in asm_operand_ok()
1638 constraint++; in asm_operand_ok()
1639 while (ISDIGIT (*constraint)); in asm_operand_ok()
1693 && CONST_DOUBLE_OK_FOR_CONSTRAINT_P (op, 'G', constraint)) in asm_operand_ok()
1698 && CONST_DOUBLE_OK_FOR_CONSTRAINT_P (op, 'H', constraint)) in asm_operand_ok()
1723 && CONST_OK_FOR_CONSTRAINT_P (INTVAL (op), 'I', constraint)) in asm_operand_ok()
1728 && CONST_OK_FOR_CONSTRAINT_P (INTVAL (op), 'J', constraint)) in asm_operand_ok()
[all …]
H A Dipa-pure-const.c276 const char *constraint; in get_asm_expr_operands() local
281 oconstraints[i] = constraint in get_asm_expr_operands()
283 parse_output_constraint (&constraint, i, 0, 0, in get_asm_expr_operands()
291 constraint in get_asm_expr_operands()
293 parse_input_constraint (&constraint, 0, 0, noutputs, 0, in get_asm_expr_operands()
H A Drecog.h36 const char *constraint; member
225 const char *const constraint; member
/openbsd-src/gnu/usr.bin/binutils-2.17/ld/emultempl/
H A Dppc32elf.em76 if (os->constraint == SPECIAL && strcmp (os->name, ".plt") == 0)
82 if (os->constraint == SPECIAL && strcmp (os->name, ".got") == 0)
93 plt_os[0]->constraint = keep_new;
94 plt_os[1]->constraint = ~keep_new;
100 got_os[0]->constraint = keep_new;
101 got_os[1]->constraint = ~keep_new;
H A Dalphaelf.em56 if (os->constraint == SPECIAL && strcmp (os->name, ".plt") == 0)
66 plt_os[0]->constraint = elf64_alpha_use_secureplt ? 0 : -1;
67 plt_os[1]->constraint = elf64_alpha_use_secureplt ? -1 : 0;
/openbsd-src/etc/
H A Dntpd.conf9 constraint from "9.9.9.9" # quad9 v4 without DNS
10 constraint from "2620:fe::fe" # quad9 v6 without DNS
/openbsd-src/etc/examples/
H A Dntpd.conf24 constraint from "9.9.9.9" # quad9 v4 without DNS
25 constraint from "2620:fe::fe" # quad9 v6 without DNS
/openbsd-src/gnu/gcc/gcc/config/s390/
H A Dconstraints.md40 ;; N -- Multiple letter constraint followed by 4 parameter letters.
46 ;; The constraint matches if the specified part of a constant
48 ;; is specified instead of a part number, the constraint matches
50 ;; O -- Multiple letter constraint followed by 1 parameter.
61 ;; A -- Multiple letter constraint followed by Q, R, S, or T:
63 ;; B -- Multiple letter constraint followed by Q, R, S, or T:
164 ;; N -- Multiple letter constraint followed by 4 parameter letters.
170 ;; The constraint matches if the specified part of a constant
172 ;; is specified instead of a part number, the constraint matches
324 This constraint will only match if the machine provides
[all …]
/openbsd-src/gnu/usr.bin/gcc/gcc/
H A Dgenoutput.c125 const char *constraint; member
293 printf (" \"%s\",\n", d->constraint ? d->constraint : ""); in output_operand_data()
468 d->operand[opno].constraint = strip_whitespace (XSTR (part, 2));
470 = n_occurrences (',', d->operand[opno].constraint) + 1;
497 d->operand[opno].constraint = strip_whitespace (XSTR (part, 1));
499 = n_occurrences (',', d->operand[opno].constraint) + 1;
527 d->operand[opno].constraint = 0;
586 p0 = d0->constraint;
589 p1 = d1->constraint;
H A Dstmt.c1170 const char *constraint = *constraint_p; local
1182 p = strchr (constraint, '=');
1184 p = strchr (constraint, '+');
1199 if (p != constraint || is_inout)
1202 size_t c_len = strlen (constraint);
1204 if (p != constraint)
1210 strcpy (buf, constraint);
1212 buf[p - constraint] = buf[0];
1218 constraint = *constraint_p;
1222 for (p = constraint + 1; *p; ++p)
[all …]
/openbsd-src/gnu/usr.bin/binutils/opcodes/
H A Davr-dis.c49 avr_operand (insn, insn2, pc, constraint, buf, comment, regs) in avr_operand() argument
53 int constraint;
60 switch (constraint)
227 fprintf (stderr, _("unknown constraint `%c'"), constraint);
/openbsd-src/gnu/usr.bin/binutils-2.17/gas/config/
H A Dtc-arm.c4259 #define constraint(expr, err) do { \ macro
4651 constraint (Rn == inst.operands[0].reg || Rn == inst.operands[1].reg, in do_rd_rm_rn()
4739 constraint ((inst.instruction & 0xf0) != 0x40 in do_barrier()
4753 constraint (msb > 32, _("bit-field extends past end of register")); in do_bfc()
4772 constraint (msb > 32, _("bit-field extends past end of register")); in do_bfi()
4784 constraint (inst.operands[2].imm + inst.operands[3].imm > 32, in do_bfx()
4813 constraint (inst.operands[0].imm != BFD_RELOC_ARM_PLT32, in encode_branch()
4875 constraint (inst.cond != COND_ALWAYS, BAD_COND); in do_blx()
5039 constraint (inst.operands[0].reg % 2 != 0, in do_ldrd()
5041 constraint (inst.operands[1].present in do_ldrd()
[all …]
/openbsd-src/gnu/gcc/gcc/config/arm/
H A Dconstraints.md87 "In ARM state a constant that satisfies the @code{I} constraint if inverted.
88 In Thumb state a constant that satisfies the @code{I} constraint multiplied
95 "In ARM state a constant that satisfies the @code{I} constraint if negated.
181 ;; We used to have constraint letters for S and R in ARM state, but
184 ;; Additionally, we used to have a Q constraint in Thumb state, but
185 ;; this wasn't really a valid memory constraint. Again, all uses of
/openbsd-src/gnu/usr.bin/binutils-2.17/opcodes/
H A Davr-dis.c47 avr_operand (unsigned int insn, unsigned int insn2, unsigned int pc, int constraint, in avr_operand() argument
53 switch (constraint) in avr_operand()
231 fprintf (stderr, _("unknown constraint `%c'"), constraint); in avr_operand()

12345678910>>...12