Home
last modified time | relevance | path

Searched refs:search (Results 1 – 25 of 28) sorted by relevance

12

/systemd-251/src/test/
Dtest-uid-range.c20 uid_t search; in TEST() local
47 search = UID_INVALID; in TEST()
48 assert_se(uid_range_next_lower(p, n, &search)); in TEST()
49 assert_se(search == 999); in TEST()
50 assert_se(uid_range_next_lower(p, n, &search)); in TEST()
51 assert_se(search == 998); in TEST()
52 search = 501; in TEST()
53 assert_se(uid_range_next_lower(p, n, &search)); in TEST()
54 assert_se(search == 500); in TEST()
55 assert_se(uid_range_next_lower(p, n, &search) == -EBUSY); in TEST()
Dtest-conf-files.c44 const char *root_dir, *search, *expect_a, *expect_b, *expect_c, *mask; in test_conf_files_list_one() local
59 search = "/dir"; in test_conf_files_list_one()
62 search = strjoina(tmp_dir, "/dir"); in test_conf_files_list_one()
71 …assert_se(conf_files_list(&found_files, ".conf", root_dir, CONF_FILES_FILTER_MASKED, search) == 0); in test_conf_files_list_one()
80 … assert_se(conf_files_list(&found_files2, NULL, root_dir, CONF_FILES_FILTER_MASKED, search) == 0); in test_conf_files_list_one()
Dgenerate-sym-test.py17 match = re.search('^ +([a-zA-Z0-9_]+);', line)
/systemd-251/src/libsystemd/sd-hwdb/
Dsd-hwdb.c101 struct trie_child_entry_f search; in node_lookup_f() local
103 search.c = c; in node_lookup_f()
104 …child = bsearch(&search, (const char *)node + le64toh(hwdb->head->node_size), node->children_count, in node_lookup_f()
183 struct linebuf *buf, const char *search) { in trie_fnmatch_f() argument
197 … err = trie_fnmatch_f(hwdb, trie_node_from_off(hwdb, child->child_off), 0, buf, search); in trie_fnmatch_f()
203 if (le64toh(node->values_count) && fnmatch(linebuf_get(buf), search, 0) == 0) in trie_fnmatch_f()
214 static int trie_search_f(sd_hwdb *hwdb, const char *search) { in trie_search_f() argument
232 return trie_fnmatch_f(hwdb, node, p, &buf, search + i + p); in trie_search_f()
233 if (c != search[i + p]) in trie_search_f()
242 err = trie_fnmatch_f(hwdb, child, 0, &buf, search + i); in trie_search_f()
[all …]
/systemd-251/docs/
DRESOLVED-VPNS.md38 `systemd-resolved.service`), search domain names are attached to a system's
44 domain name lookups: if a network interface has a search domain `foo.com`
49 2. Routing domains: these are very similar to search domains, but are purely
52 domain to a network interface is identical to assigning a search domain to
55 Why the need to have both concepts, i.e. search *and* routing domains?
59 introduced, while search domains are traditionally available and are part of
65 with search domains in mostly the same way, but prefixed with `~` to
67 `foo.com` would be a configured search domain.
72 traffic is preferably routed to its DNS servers. (A search domain – i.e. `.`
75 as a routing domain, not a search domain).
[all …]
DUSER_GROUP_API.md202 parameter is set it specifies the numeric UNIX UID to search for. If the
203 `userName` parameter is set it specifies the name of the user to search
DJOURNAL_FILE_FORMAT.md138 …object, which encapsulates a sorted array of offsets to entries, used for seeking by binary search.
566 search (bisection).
624 done via binary search in the entry arrays starting with the header's
679 The disk access patterns of the binary search for entries needed for seeking
DCREDENTIALS.md382 with a relative source path will search for the source file to read the
386 `/usr/lib/credstore/`. `LoadCredentialEncrypted=` will also search
DPORTABLE_SERVICES.md108 unit file search path of PID 1, and thus loaded exactly like regular unit
/systemd-251/src/shared/
Dhwdb-util.c99 struct trie_child_entry search; in node_lookup() local
101 search.c = c; in node_lookup()
102 child = typesafe_bsearch(&search, node->children, node->children_count, trie_children_cmp); in node_lookup()
155 struct trie_value_entry search = { in trie_node_add_value() local
160 … val = typesafe_bsearch_r(&search, node->values, node->values_count, trie_values_cmp, trie); in trie_node_add_value()
190 static int trie_insert(struct trie *trie, struct trie_node *node, const char *search, in trie_insert() argument
205 if (c == search[i + p]) in trie_insert()
243 c = search[i]; in trie_insert()
257 off = strbuf_add_string(trie->strings, search + i+1, strlen(search + i+1)); in trie_insert()
/systemd-251/src/basic/
Dstrbuf.c129 struct strbuf_child_entry search; in strbuf_add_string() local
142 search.c = c; in strbuf_add_string()
143 … child = typesafe_bsearch(&search, node->children, node->children_count, strbuf_children_cmp); in strbuf_add_string()
Dfileio.c1041 char **search, in search_and_fopen_internal() argument
1049 if (!path_strv_resolve_uniq(search, root)) in search_and_fopen_internal()
1052 STRV_FOREACH(i, search) { in search_and_fopen_internal()
1080 const char **search, in search_and_fopen() argument
1111 copy = strv_copy((char**) search); in search_and_fopen()
1122 const char *search, in search_and_fopen_nulstr() argument
1149 s = strv_split_nulstr(search); in search_and_fopen_nulstr()
Dfileio.h94 int search_and_fopen(const char *path, const char *mode, const char *root, const char **search, FIL…
95 …nulstr(const char *path, const char *mode, const char *root, const char *search, FILE **ret, char …
/systemd-251/shell-completion/zsh/
D_resolvectl48 domain:"Configure per-interface search and route-only domains"
83 '--search=no[Do not use search domains]' \
D_systemd-nspawn23 …{--boot,-b}'[Automatically search for an init binary and invoke it instead of a shell or a user su…
D_systemctl.in54 "link:Link one or more units files into the search path"
/systemd-251/src/resolve/
Dresolv.conf19 search .
Dmeson.build34 'resolved-dns-search-domain.c',
35 'resolved-dns-search-domain.h',
/systemd-251/test/test-execute/
Dexec-execsearchpath-unit-specifier.service3 Description=Test for specifiers with exec search path
/systemd-251/test/test-network/conf/
Disc-dhcpd-dhcp6pd.conf11 option dhcp6.domain-search "test.example.com","example.com";
/systemd-251/tools/
Dmake-man-index.py48 if not re.search('/' + id + '[.]', page):
/systemd-251/shell-completion/bash/
Dsystemd-resolve40 --cname=no --search=no --legend=no --flush-caches
Dresolvectl40 --service-txt=no --search=no --no-pager'
/systemd-251/hwdb.d/
D60-keyboard.hwdb281 KEYBOARD_KEY_9a=search
638 KEYBOARD_KEY_f3=search
1125 KEYBOARD_KEY_c1047=search # Magnifying glass icon (Fn + F7)
1207 KEYBOARD_KEY_9002d=search # fn+f10 (search www)
1208 KEYBOARD_KEY_9004b=find # fn+f11 (search pc)
1224 KEYBOARD_KEY_c104a=find # fn+f10 (search www)
1237 KEYBOARD_KEY_0c0221=search
1350 KEYBOARD_KEY_f9=search
1521 KEYBOARD_KEY_c00b9=search
/systemd-251/test/test-network/
Dsystemd-networkd-tests.py78 …return module_re.search(lsmod_output) or not call('modprobe', module_name, stderr=subprocess.DEVNU…
649 if re.search(rf'(?m)^\s*State:\s+{operstate}\s+\({setup_state}\)\s*$', output):
701 if re.search(address_regex, output) and 'tentative' not in output:
711 if not re.search(address_regex, output):
4218 if re.search(r'veth99 .* veth-peer', output):
4888 ipv4_address = re.search(r'192.168.5.[0-9]*/24', output)
4889 ipv6_address = re.search(r'2600::[0-9a-f:]*/128', output)

12