Home
last modified time | relevance | path

Searched refs:valid (Results 1 – 25 of 33) sorted by relevance

12

/systemd-251/src/libsystemd/sd-bus/
Dbus-type.c11 static const char valid[] = { in bus_type_is_valid() local
31 return !!memchr(valid, c, sizeof(valid)); in bus_type_is_valid()
35 static const char valid[] = { in bus_type_is_basic() local
51 return !!memchr(valid, c, sizeof(valid)); in bus_type_is_basic()
55 static const char valid[] = { in bus_type_is_trivial() local
67 return !!memchr(valid, c, sizeof(valid)); in bus_type_is_trivial()
71 static const char valid[] = { in bus_type_is_container() local
78 return !!memchr(valid, c, sizeof(valid)); in bus_type_is_container()
/systemd-251/src/test/
Dtest-hashmap-plain.c343 int valid; in TEST() local
349 valid = hashmap_remove_and_put(m, "invalid key", "new key", NULL); in TEST()
350 assert_se(valid == -ENOENT); in TEST()
352 valid = hashmap_put(m, "key 1", (void*) (const char *) "val 1"); in TEST()
353 assert_se(valid == 1); in TEST()
355 valid = hashmap_remove_and_put(NULL, "key 1", "key 2", (void*) (const char *) "val 2"); in TEST()
356 assert_se(valid == -ENOENT); in TEST()
358 valid = hashmap_remove_and_put(m, "key 1", "key 2", (void*) (const char *) "val 2"); in TEST()
359 assert_se(valid == 0); in TEST()
365 valid = hashmap_put(m, "key 3", (void*) (const char *) "val 3"); in TEST()
[all …]
/systemd-251/src/shared/
Dextension-release.c32 bool valid; in extension_release_validate() local
42 valid = strv_contains( in extension_release_validate()
45 if (!valid) { in extension_release_validate()
Dethtool-util.c638 sfeatures->features[block].valid |= mask; in set_features_bit()
681 if (FLAGS_SET(sfeatures->features[block].valid, mask)) in set_features_multiple_bit()
684 sfeatures->features[block].valid |= mask; in set_features_multiple_bit()
Dtpm2-util.c515 bool valid = true; in tpm2_get_best_pcr_bank() local
538 valid = false; in tpm2_get_best_pcr_bank()
542 if (!valid) { in tpm2_get_best_pcr_bank()
/systemd-251/docs/
DUSER_NAMES.md25 * On POSIX the set of [valid user
33 string is a valid user name as well as a string of gigabytes in length.
64 names also valid according to Windows rules.
70 strings are not valid user/group names.
126 * No strings that do not qualify as valid UTF-8 (rationale: we want to be able
127 to embed these strings in JSON, with permits only valid UTF-8 in its strings;
167 valid in all systemd contexts and on all Linux systems should match the
DGVARIANT-SERIALIZATION.md102 Note: To simplify parsing, valid dbus2 messages must include the entire
DBOOT_LOADER_SPECIFICATION.md278 key and is otherwise not valid. Here's an example for a complete drop-in file:
314 not valid by this specification. In order to minimize confusion a boot loader
343 A valid unified kernel image must contain two PE sections:
356 On EFI, any such images shall be added to the list of valid boot entries.
DBUILDING_IMAGES.md32 is not reset, and carries a valid ID every instance of the system will come
245 initialization status of `/etc/machine-id`: if the file already carries a valid
DJOURNAL_EXPORT_FORMATS.md21 * Journal fields consisting only of valid non-control UTF-8 codepoints are serialized as they are (…
DUSER_RECORD.md213 `userName` → The UNIX user name for this record. Takes a string with a valid
292 umask in decimal too. The specified value should be in the valid range for
446 be a member of. The listed strings must be valid group names, but it is not
717 `matchHostname` → An array of strings that are valid hostnames. If any of
934 perfectly valid as well. For example, systems like LDAP/ActiveDirectory
1025 The shortest valid user record looks like this:
DJOURNAL_FILE_FORMAT.md332 values, and that they point to valid objects, with valid sizes and of the type
376 OBJECT_COMPRESSED_ZSTD. It is only valid for DATA objects and indicates that
DNETWORK_ONLINE.md101 All these are valid approaches to the question "When is the network up?", but
DCGROUP_DELEGATION.md319 interest in integration with the rest of the system, then this is a valid
382 might still carry settings that might not be valid anymore.
DCREDENTIALS.md150 setting to build valid paths to specific credentials.
DUIDS-GIDS.md36 3. 4294967295, aka "32bit `(uid_t) -1`" → This UID is not a valid user ID, as
/systemd-251/src/basic/
Dcapability-util.c36 static thread_local bool valid = false; in cap_last_cap() local
41 if (valid) in cap_last_cap()
57 valid = true; in cap_last_cap()
81 valid = true; in cap_last_cap()
/systemd-251/src/libsystemd-network/
Dtest-ndisc-ra.c60 uint32_t valid; member
314 if (prefix[i].valid > 0) in TEST()
315 …assert_se(sd_radv_prefix_set_valid_lifetime(p, prefix[i].valid * USEC_PER_SEC, USEC_INFINITY) >= 0… in TEST()
/systemd-251/.lgtm/cpp-queries/
DUninitializedVariableWithCleanup.ql63 * and a possible definition, don't accept is as a valid initialization.
73 * is not a valid initialization, since we might return from the function
/systemd-251/rules.d/
D60-persistent-v4l.rules12 # check for valid "index" number
/systemd-251/test/fuzz/fuzz-udev-rules/
D60-persistent-v4l.rules12 # check for valid "index" number
/systemd-251/LICENSES/
DLinux-syscall-note.txt8 Also note that the only valid version of the GPL as far as the kernel
DREADME.md9 The current set of valid, predefined SPDX identifiers can be found on the SPDX
/systemd-251/catalog/
Dsystemd.catalog.in442 characters; names not valid UTF-8; names with leading or trailing whitespace;
447 Subject: Failed to generate valid unit name from path '@MOUNT_POINT@'.
451 The following mount point path could not be converted into a valid .mount
457 for valid unit names.
465 under 256 characters in length to be a valid unit name. This restriction is
/systemd-251/src/shared/linux/
Dethtool.h1333 __u32 valid; member

12