Searched refs:chopped (Results 1 – 3 of 3) sorted by relevance
135 bool is_instance, chopped; in unit_file_find_dirs() local181 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()
20 EFI_DEVICE_PATH *chopped = xallocate_pool(len + END_DEVICE_PATH_LENGTH); in path_chop() local22 CopyMem(chopped, path, len); in path_chop()23 SetDevicePathEndNode((EFI_DEVICE_PATH *) ((UINT8 *) chopped + len)); in path_chop()25 return chopped; in path_chop()
249 _cleanup_free_ char *chopped = NULL; in directory_name_is_valid() local256 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()