Home
last modified time | relevance | path

Searched refs:_pure_ (Results 1 – 9 of 9) sorted by relevance

/third_party/eudev/src/shared/
Dpath-util.h28 bool path_is_absolute(const char *p) _pure_;
32 char* path_startswith(const char *path, const char *prefix) _pure_;
33 int path_compare(const char *a, const char *b) _pure_;
34 bool path_equal(const char *a, const char *b) _pure_;
Dhashmap.h78 unsigned long string_hash_func(const void *p, const uint8_t hash_key[HASH_KEY_SIZE]) _pure_;
79 int string_compare_func(const void *a, const void *b) _pure_;
85 unsigned long trivial_hash_func(const void *p, const uint8_t hash_key[HASH_KEY_SIZE]) _pure_;
92 unsigned long uint64_hash_func(const void *p, const uint8_t hash_key[HASH_KEY_SIZE]) _pure_;
93 int uint64_compare_func(const void *a, const void *b) _pure_;
99 unsigned long devt_hash_func(const void *p, const uint8_t hash_key[HASH_KEY_SIZE]) _pure_;
100 int devt_compare_func(const void *a, const void *b) _pure_;
276 unsigned internal_hashmap_size(HashmapBase *h) _pure_;
291 unsigned internal_hashmap_buckets(HashmapBase *h) _pure_;
355 void *internal_hashmap_first_key(HashmapBase *h) _pure_;
[all …]
Dutf8.h28 char *ascii_is_valid(const char *s) _pure_;
30 bool utf8_is_printable_newline(const char* str, size_t length, bool newline) _pure_;
31 _pure_ static inline bool utf8_is_printable(const char* str, size_t length) { in utf8_is_printable()
Dutil.h53 size_t page_size(void) _pure_;
61 bool streq_ptr(const char *a, const char *b) _pure_;
86 char *endswith(const char *s, const char *postfix) _pure_;
151 bool dirent_is_file_with_suffix(const struct dirent *de, const char *suffix) _pure_;
153 bool hidden_file(const char *filename) _pure_;
235 bool null_or_empty(struct stat *st) _pure_;
258 int sigchld_code_from_string(const char *s) _pure_;
270 int rlimit_from_string(const char *s) _pure_;
319 bool filename_is_valid(const char *p) _pure_;
323 _pure_ static inline bool string_is_glob(const char *p) { in string_is_glob()
Dlog.h46 int log_get_max_level(void) _pure_;
130 LogTarget log_target_from_string(const char *s) _pure_;
Dstrv.h34 unsigned strv_length(char * const *l) _pure_;
Dtime-util.h63 usec_t timespec_load(const struct timespec *ts) _pure_;
Dmacro.h31 #define _pure_ __attribute__ ((pure)) macro
Dutil.c791 _pure_ static bool hidden_file_allow_backup(const char *filename) { in hidden_file_allow_backup()
963 _pure_ static int is_temporary_fs(struct statfs *s) { in is_temporary_fs()