Searched refs:valid (Results 1 - 25 of 492) sorted by relevance

1234567891011>>

/freebsd-11-stable/contrib/libucl/python/tests/
H A Dtest_load.py18 valid = { "a" : None }
19 self.assertEqual(ucl.load(data), valid)
23 valid = { "a" : 1 }
24 self.assertEqual(ucl.load(data), valid)
28 valid = { "a" : 1 }
29 self.assertEqual(ucl.load(data), valid)
33 valid = { "a" : { "b" : 1 } }
34 self.assertEqual(ucl.load(data), valid)
38 valid = { "a" : "b" }
39 self.assertEqual(ucl.load(data), valid)
[all...]
H A Dtest_dump.py15 valid = "a = null;\n"
16 self.assertEqual(ucl.dump(data), valid)
20 valid = "a = 1;\n"
21 self.assertEqual(ucl.dump(data), valid)
25 valid = "a {\n b = 1;\n}\n"
26 self.assertEqual(ucl.dump(data), valid)
30 valid = "a [\n 1,\n 2,\n 3,\n 4,\n]\n"
31 self.assertEqual(ucl.dump(data), valid)
35 valid = "a = \"b\";\n"
36 self.assertEqual(ucl.dump(data), valid)
[all...]
H A Dtest_validation.py16 def perform_test(schema, data, valid, description):
17 msg = '%s (valid=%r)' % (description, valid)
18 if valid:
35 test['valid'], test['description'])
/freebsd-11-stable/contrib/libc-pwcache/
H A Dpwcache.h42 * archives. The chances of hitting a valid lookup with an archive is quite a
56 #define VALID 1 /* entry and name are valid */
57 #define INVALID 2 /* entry valid, name NOT valid */
64 int valid; /* is this a valid or a miss entry */ member in struct:uidc
70 int valid; /* is this a valid or a miss entry */ member in struct:gidc
H A Dpwcache.c257 * return the stored name (if valid or invalid match).
277 if ((ptr != NULL) && (ptr->valid > 0) && (ptr->uid == uid)) {
281 if (!noname || (ptr->valid == VALID))
307 ptr->valid = INVALID;
318 ptr->valid = VALID;
326 * return the stored name (if valid or invalid match).
346 if ((ptr != NULL) && (ptr->valid > 0) && (ptr->gid == gid)) {
350 if (!noname || (ptr->valid == VALID))
376 ptr->valid = INVALID;
387 ptr->valid
[all...]
/freebsd-11-stable/bin/pax/
H A Dcache.h40 * archives. The chances of hitting a valid lookup with an archive is quite a
54 #define VALID 1 /* entry and name are valid */
55 #define INVALID 2 /* entry valid, name NOT valid */
62 int valid; /* is this a valid or a miss entry */ member in struct:uidc
68 int valid; /* is this a valid or a miss entry */ member in struct:gidc
H A Dcache.c166 * the stored name (if valid or invalid match). We use a simple hash table.
184 if ((ptr != NULL) && (ptr->valid > 0) && (ptr->uid == uid)) {
188 if (frc || (ptr->valid == VALID))
211 ptr->valid = INVALID;
229 ptr->valid = VALID;
237 * the stored name (if valid or invalid match). We use a simple hash table.
255 if ((ptr != NULL) && (ptr->valid > 0) && (ptr->gid == gid)) {
259 if (frc || (ptr->valid == VALID))
282 ptr->valid = INVALID;
300 ptr->valid
[all...]
/freebsd-11-stable/usr.bin/getconf/
H A Dgetconf.c65 int c, key, valid; local
99 if ((valid = find_progenv(vflag, &alt_path)) == 0)
102 if (valid > 0 && alt_path != NULL) {
112 if (valid < 0)
118 if ((valid = find_limit(name, &limitval)) != 0) {
119 if (valid > 0)
126 if ((valid = find_confstr(name, &key)) != 0) {
127 if (valid > 0)
132 valid = find_sysconf(name, &key);
133 if (valid >
[all...]
/freebsd-11-stable/crypto/heimdal/lib/krb5/
H A Daname_to_localname.c44 int valid; local
52 valid = 0;
55 valid = 1;
60 if (valid == 0)
/freebsd-11-stable/targets/
H A DMakefile.xtras29 .if make(show-valid-targets)
48 show-valid-targets:
62 echo "You can see the targets which are valid for a given machine"; \
63 echo "by running '${MAKE_MACHINE_CMD} show-valid-targets'"; \
67 not-valid-target:
68 @echo "ERROR: '${_TARGETS}' is not a valid target for ${MACHINE}."
76 $t: not-valid-target show-help
/freebsd-11-stable/sys/contrib/octeon-sdk/
H A Dcvmx-tra.h63 * then that data comes in-order at some later time. The XMD data is accumulated across all valid
155 * 0x0=not valid
156 * 0x1=valid, no discontinuity
157 * 0x2=not valid, discontinuity
158 * 0x3=valid, discontinuity
264 CVMX_TRA_FILT_STC = 1ull<<19, /**< partial store to L2, if duptag valid */
384 uint64_t valid : 1; member in struct:__anon8776::__anon8778
400 uint64_t valid : 1;
408 uint64_t valid : 1; member in struct:__anon8776::__anon8779
424 uint64_t valid
432 uint64_t valid : 1; member in struct:__anon8776::__anon8780
458 uint64_t valid : 1; member in struct:__anon8776::__anon8781
484 uint64_t valid : 1; member in struct:__anon8776::__anon8782
508 uint64_t valid : 1; member in struct:__anon8776::__anon8783
534 uint64_t valid : 1; member in struct:__anon8776::__anon8784
562 uint64_t valid : 1; member in struct:__anon8776::__anon8785
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFAddressRange.h37 bool valid() const { return LowPC <= HighPC; } function in struct:llvm::DWARFAddressRange
41 assert(valid() && RHS.valid());
/freebsd-11-stable/contrib/libucl/tests/
H A Dtest_schema.c68 const ucl_object_t *valid, *data, *description; local
73 valid = ucl_object_lookup (obj, "valid");
75 if (data == NULL || description == NULL || valid == NULL) {
81 if (match != ucl_object_toboolean (valid)) {
84 ucl_object_toboolean (valid) ? "valid" : "invalid",
/freebsd-11-stable/contrib/expat/tests/
H A Dxmltest.sh89 for xmldir in ibm/valid/P* \
91 xmltest/valid/ext-sa \
92 xmltest/valid/not-sa \
95 xmltest/valid/sa \
96 sun/valid \
/freebsd-11-stable/lib/libc/rpc/
H A Dclnt_simple.c69 int valid; /* Is this entry valid ? */ member in struct:rpc_call_private
151 rcp->valid = 0;
156 if (!(rcp->valid && rcp->pid == getpid() &&
163 rcp->valid = 0;
191 rcp->valid = 1;
193 rcp->valid = 0;
205 rcp->valid = 0;
/freebsd-11-stable/contrib/ntp/util/
H A Dsht.c26 int mode; /* 0 - if valid set
28 * clear valid
29 * 1 - if valid set
32 * clear valid
42 volatile int valid; member in struct:shmTime
128 printf (" c clear valid-flag\n");
177 printf (" leap=%d, precision=%d, nsamples=%d, valid=%d\n",
178 p->leap, p->precision, p->nsamples, p->valid);
179 if (!p->valid)
182 p->valid
[all...]
/freebsd-11-stable/stand/common/
H A Disapnp.c90 * Get the device's serial number. Returns 1 if the serial is valid.
95 int i, bit, valid = 0, sum = 0x6a; local
107 valid = valid || bit;
116 valid = valid && (data[8] == sum);
118 return valid;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DLiveIntervalUnion.cpp39 while (SegPos.valid()) {
69 if (!SegPos.valid())
87 for (LiveSegments::const_iterator SI = Segments.begin(); SI.valid(); ++SI) {
97 for (SegmentIter SI = Segments.begin(); SI.valid(); ++SI)
141 while (LiveUnionI.valid()) {
155 if (!(++LiveUnionI).valid()) {
/freebsd-11-stable/contrib/wpa/src/fst/
H A Dfst_ctrl_iface.h33 int fst_read_next_int_param(const char *params, Boolean *valid, char **endp);
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteRegisterContext.h99 void SetRegisterIsValid(const RegisterInfo *reg_info, bool valid) {
102 valid);
105 void SetRegisterIsValid(uint32_t reg, bool valid) {
110 m_reg_valid[reg] = valid;
/freebsd-11-stable/usr.bin/dtc/
H A Dfdt.cc298 valid = false;
315 valid = false;
339 valid = false;
386 valid = false;
407 valid = false;
418 valid = structs.consume_binary(length) &&
420 if (!valid)
432 valid = false;
446 if (!(valid = structs.consume_binary(byte)))
462 valid
[all...]
/freebsd-11-stable/crypto/openssh/openbsd-compat/
H A Dport-uw.c61 char *pw_password = authctxt->valid ? shadow_pw(pw) : pw->pw_passwd;
84 if (authctxt->valid)
/freebsd-11-stable/usr.sbin/bluetooth/sdpd/
H A Dscr.c78 provider->profile->valid == NULL ||
79 (provider->profile->valid)(req, req_end - req) == 0)
/freebsd-11-stable/contrib/expat/doc/
H A DMakefile.am58 valid-xhtml10.png \
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DDebugStringTableSubsection.h44 bool valid() const { return Stream.valid(); } function in class:llvm::codeview::DebugStringTableSubsectionRef

Completed in 209 milliseconds

1234567891011>>