Home
last modified time | relevance | path

Searched refs:chopped (Results 1 – 3 of 3) sorted by relevance

/systemd-251/src/shared/
Ddropin.c135 bool is_instance, chopped; in unit_file_find_dirs() local
181 chopped = false; in unit_file_find_dirs()
191 if (prefix[n+1] != 0 || chopped) { in unit_file_find_dirs()
198 chopped = true; in unit_file_find_dirs()
/systemd-251/src/boot/efi/
Dxbootldr.c20 EFI_DEVICE_PATH *chopped = xallocate_pool(len + END_DEVICE_PATH_LENGTH); in path_chop() local
22 CopyMem(chopped, path, len); in path_chop()
23 SetDevicePathEndNode((EFI_DEVICE_PATH *) ((UINT8 *) chopped + len)); in path_chop()
25 return chopped; in path_chop()
/systemd-251/src/basic/
Dunit-file.c249 _cleanup_free_ char *chopped = NULL; in directory_name_is_valid() local
256 chopped = strndup(name, e - name); in directory_name_is_valid()
257 if (!chopped) in directory_name_is_valid()
260 if (unit_name_is_valid(chopped, UNIT_NAME_ANY) || in directory_name_is_valid()
261 unit_type_from_string(chopped) >= 0) in directory_name_is_valid()