summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-06-20 09:48:52 +0000
committerStefan Schmidt <s.schmidt@samsung.com>2020-06-23 10:30:16 +0200
commit032894a489ecd6eb0eabe85164597be41310048a (patch)
tree7dcd257db83e1df5088bd40a58b1032f16eaf46c
parent1a9b5fcf70b38eb5796a318414f65c46a001bd1b (diff)
Get rid of trailing whitespaces (8 / 14)
Remove trailing whitespaces Differential Revision: https://phab.enlightenment.org/D12007
-rw-r--r--src/lib/eina/eina_cpu.h4
-rw-r--r--src/lib/eina/eina_debug_bt.c4
-rw-r--r--src/lib/eina/eina_file.c4
-rw-r--r--src/lib/eina/eina_file.h8
-rw-r--r--src/lib/eina/eina_file_common.h2
-rw-r--r--src/lib/eina/eina_fp.h6
-rw-r--r--src/lib/eina/eina_freeq.c8
-rw-r--r--src/lib/eina/eina_freeq.h34
-rw-r--r--src/lib/eina/eina_log.h14
-rw-r--r--src/lib/eina/eina_matrixsparse.c2
-rw-r--r--src/lib/eina/eina_mmap.c2
-rw-r--r--src/lib/eina/eina_promise.h2
-rw-r--r--src/lib/eina/eina_rbtree.c2
-rw-r--r--src/lib/eina/eina_strbuf_common.c8
-rw-r--r--src/lib/eina/eina_thread.c2
-rw-r--r--src/lib/eina/eina_tiler.c4
-rw-r--r--src/lib/eina/eina_value.c8
-rw-r--r--src/lib/eina/eina_value.h2
18 files changed, 58 insertions, 58 deletions
diff --git a/src/lib/eina/eina_cpu.h b/src/lib/eina/eina_cpu.h
index b3b3c04747..c5724ab2c5 100644
--- a/src/lib/eina/eina_cpu.h
+++ b/src/lib/eina/eina_cpu.h
@@ -94,7 +94,7 @@ EAPI int eina_cpu_page_size(void);
94 * @brief Reverses the byte order of a 16-bit (destination) register. 94 * @brief Reverses the byte order of a 16-bit (destination) register.
95 * 95 *
96 * @param[in] x The binary word to swap 96 * @param[in] x The binary word to swap
97 * @return A byte order swapped 16-bit integer. 97 * @return A byte order swapped 16-bit integer.
98 * 98 *
99 * On big endian systems, the number is converted to little endian byte order. 99 * On big endian systems, the number is converted to little endian byte order.
100 * On little endian systems, the number is converted to big endian byte order. 100 * On little endian systems, the number is converted to big endian byte order.
@@ -105,7 +105,7 @@ static inline unsigned short eina_swap16(unsigned short x);
105 * @brief Reverses the byte order of a 32-bit (destination) register. 105 * @brief Reverses the byte order of a 32-bit (destination) register.
106 * 106 *
107 * @param[in] x The binary word to swap 107 * @param[in] x The binary word to swap
108 * @return A byte order swapped 32-bit integer. 108 * @return A byte order swapped 32-bit integer.
109 * 109 *
110 * On big endian systems, the number is converted to little endian byte order. 110 * On big endian systems, the number is converted to little endian byte order.
111 * On little endian systems, the number is converted to big endian byte order. 111 * On little endian systems, the number is converted to big endian byte order.
diff --git a/src/lib/eina/eina_debug_bt.c b/src/lib/eina/eina_debug_bt.c
index b915f23230..69e5c608fd 100644
--- a/src/lib/eina/eina_debug_bt.c
+++ b/src/lib/eina/eina_debug_bt.c
@@ -50,7 +50,7 @@
50// broken on OSX in that a HUP signal will maybe cause a crash... but compiling 50// broken on OSX in that a HUP signal will maybe cause a crash... but compiling
51// with -pg would have guaranteed always caused a crash before anyway. 51// with -pg would have guaranteed always caused a crash before anyway.
52// given OSX only supports "old-style" signals like: 52// given OSX only supports "old-style" signals like:
53// 53//
54// #define SIGHUP 1 /* hangup */ 54// #define SIGHUP 1 /* hangup */
55// #define SIGINT 2 /* interrupt */ 55// #define SIGINT 2 /* interrupt */
56// #define SIGQUIT 3 /* quit */ 56// #define SIGQUIT 3 /* quit */
@@ -91,7 +91,7 @@
91// #endif 91// #endif
92// #define SIGUSR1 30 /* user defined signal 1 */ 92// #define SIGUSR1 30 /* user defined signal 1 */
93// #define SIGUSR2 31 /* user defined signal 2 */ 93// #define SIGUSR2 31 /* user defined signal 2 */
94// 94//
95// (excerpt from OSX's signal.h - found at: 95// (excerpt from OSX's signal.h - found at:
96// http://github.com/st3fan/osx-10.9/blob/master/xnu-2422.1.72/bsd/sys/signal.h 96// http://github.com/st3fan/osx-10.9/blob/master/xnu-2422.1.72/bsd/sys/signal.h
97// pasting here due to how difficult it was to find a signal list for OSX) 97// pasting here due to how difficult it was to find a signal list for OSX)
diff --git a/src/lib/eina/eina_file.c b/src/lib/eina/eina_file.c
index 0d9486568f..c8abe6d39a 100644
--- a/src/lib/eina/eina_file.c
+++ b/src/lib/eina/eina_file.c
@@ -366,7 +366,7 @@ _eina_file_map_rule_apply(Eina_File_Populate rule, const void *map, unsigned lon
366 case EINA_FILE_REMOVE: flag = MADV_FREE; break; 366 case EINA_FILE_REMOVE: flag = MADV_FREE; break;
367#else 367#else
368# warning "EINA_FILE_REMOVE does not have system support" 368# warning "EINA_FILE_REMOVE does not have system support"
369#endif 369#endif
370 default: return tmp; break; 370 default: return tmp; break;
371 } 371 }
372 372
@@ -511,7 +511,7 @@ eina_file_mmap_faulty(void *addr, long page_size)
511 511
512/* ================================================================ * 512/* ================================================================ *
513 * Simplified logic for portability layer with eina_file_common * 513 * Simplified logic for portability layer with eina_file_common *
514 * ================================================================ */ 514 * ================================================================ */
515 515
516Eina_Bool 516Eina_Bool
517eina_file_path_relative(const char *path) 517eina_file_path_relative(const char *path)
diff --git a/src/lib/eina/eina_file.h b/src/lib/eina/eina_file.h
index 404dea1ccb..7650884367 100644
--- a/src/lib/eina/eina_file.h
+++ b/src/lib/eina/eina_file.h
@@ -356,10 +356,10 @@ EAPI int eina_file_statat(void *container, Eina_File_Direct_Info *info, Eina_Sta
356 * if no fd's are to be skipped, but if some fd's are to skip being 356 * if no fd's are to be skipped, but if some fd's are to skip being
357 * closed then this will be an array of fd numbers being terminated 357 * closed then this will be an array of fd numbers being terminated
358 * by a fd value of -1. 358 * by a fd value of -1.
359 * 359 *
360 * @param[in] fd The fd value to begin closing at 360 * @param[in] fd The fd value to begin closing at
361 * @param[in] except_fd An array of fd's not to close terminated by -1 as the last invalid fd 361 * @param[in] except_fd An array of fd's not to close terminated by -1 as the last invalid fd
362 * 362 *
363 * @since 1.24 363 * @since 1.24
364 */ 364 */
365EAPI void eina_file_close_from(int fd, int *except_fd); 365EAPI void eina_file_close_from(int fd, int *except_fd);
@@ -674,13 +674,13 @@ EAPI void eina_file_map_free(Eina_File *file, void *map);
674 * @details This advises the operating system as to what to do with the memory mapped 674 * @details This advises the operating system as to what to do with the memory mapped
675 * to the given @p file. This affects a specific range of memory and may not 675 * to the given @p file. This affects a specific range of memory and may not
676 * be honored if the system chooses to ignore the request. 676 * be honored if the system chooses to ignore the request.
677 * 677 *
678 * @param[in] file The file handle from which the map comes 678 * @param[in] file The file handle from which the map comes
679 * @param[in] rule The rule to apply to the mapped memory 679 * @param[in] rule The rule to apply to the mapped memory
680 * @param[in] map Memory that was mapped inside of which the memory range is 680 * @param[in] map Memory that was mapped inside of which the memory range is
681 * @param[in] offset The offset in bytes from the start of the map address 681 * @param[in] offset The offset in bytes from the start of the map address
682 * @param[in] length The length in bytes of the memory region to populate 682 * @param[in] length The length in bytes of the memory region to populate
683 * 683 *
684 * @since 1.8 684 * @since 1.8
685 */ 685 */
686EAPI void 686EAPI void
diff --git a/src/lib/eina/eina_file_common.h b/src/lib/eina/eina_file_common.h
index 38c1a3c4ee..9aedfae755 100644
--- a/src/lib/eina/eina_file_common.h
+++ b/src/lib/eina/eina_file_common.h
@@ -69,7 +69,7 @@ typedef struct _Eina_Lines_Iterator Eina_Lines_Iterator;
69struct _Eina_File 69struct _Eina_File
70{ 70{
71 EINA_MAGIC; /**< Indicates whether Eina Magic should be used. */ 71 EINA_MAGIC; /**< Indicates whether Eina Magic should be used. */
72 const char *filename; /**< The absolute path of the file. Note that the path given when calling @ref eina_file_open will be run through @ref eina_file_path_sanitize before it is stored here. */ 72 const char *filename; /**< The absolute path of the file. Note that the path given when calling @ref eina_file_open will be run through @ref eina_file_path_sanitize before it is stored here. */
73 Eina_Hash *map; /**< Tracks portions of a file that have been mapped with mmap(2). The key is a tuple offset/length and the data is a pointer to the mapped region. */ 73 Eina_Hash *map; /**< Tracks portions of a file that have been mapped with mmap(2). The key is a tuple offset/length and the data is a pointer to the mapped region. */
74 Eina_Hash *rmap; /**< Similar function to #map, but used to look up mapped areas by pointer rather than offset/length. */ 74 Eina_Hash *rmap; /**< Similar function to #map, but used to look up mapped areas by pointer rather than offset/length. */
75 void *global_map; /**< A pointer to the entire contents of the file that have been mapped with mmap(2). This is the common case, and EFL and is optimized for it. */ 75 void *global_map; /**< A pointer to the entire contents of the file that have been mapped with mmap(2). This is the common case, and EFL and is optimized for it. */
diff --git a/src/lib/eina/eina_fp.h b/src/lib/eina/eina_fp.h
index 49d6662cdb..ceb41dd9d6 100644
--- a/src/lib/eina/eina_fp.h
+++ b/src/lib/eina/eina_fp.h
@@ -144,7 +144,7 @@ static inline Eina_F32p32 eina_f32p32_mul(Eina_F32p32 a, Eina_F32p32 b);
144 144
145/** 145/**
146 * @brief Calculates the scale multiplication of one Eina_F32p32 floating point 146 * @brief Calculates the scale multiplication of one Eina_F32p32 floating point
147 * number with an integer 147 * number with an integer
148 * 148 *
149 * @param[in] a The Eina_F32p32 number 149 * @param[in] a The Eina_F32p32 number
150 * @param[in] b The integer value 150 * @param[in] b The integer value
@@ -230,7 +230,7 @@ static inline Eina_F16p16 eina_f16p16_int_from(int32_t v);
230 230
231/** 231/**
232 * @brief Creates a new standard 32-bit integer from Eina_F16p16 floating point 232 * @brief Creates a new standard 32-bit integer from Eina_F16p16 floating point
233 * number 233 * number
234 * 234 *
235 * @param[in] v Eina_F16p16 value to convert 235 * @param[in] v Eina_F16p16 value to convert
236 * @return The value converted into 32-bit integer 236 * @return The value converted into 32-bit integer
@@ -247,7 +247,7 @@ static inline Eina_F16p16 eina_f16p16_double_from(double v);
247 247
248/** 248/**
249 * @brief Creates a new standard double from Eina_F16p16 floating point 249 * @brief Creates a new standard double from Eina_F16p16 floating point
250 * number 250 * number
251 * 251 *
252 * @param[in] v Eina_F16p16 value to convert 252 * @param[in] v Eina_F16p16 value to convert
253 * @return The value converted into double 253 * @return The value converted into double
diff --git a/src/lib/eina/eina_freeq.c b/src/lib/eina/eina_freeq.c
index 0cc7cd5fad..bc55b80c91 100644
--- a/src/lib/eina/eina_freeq.c
+++ b/src/lib/eina/eina_freeq.c
@@ -200,21 +200,21 @@ typedef struct _Eina_FreeQ_Block Eina_FreeQ_Block;
200// F: 0xaaab04a55170 0xffff8af1c638 0xc0 200// F: 0xaaab04a55170 0xffff8af1c638 0xc0
201// F: 0xaaab04a55ca0 0xffff8af1c638 0xc0 201// F: 0xaaab04a55ca0 0xffff8af1c638 0xc0
202// ... 202// ...
203// so in future maybe create delta compression. keep a "start value" in the 203// so in future maybe create delta compression. keep a "start value" in the
204// Eina_FreeQ_Block block for each to begin from (and update these as we 204// Eina_FreeQ_Block block for each to begin from (and update these as we
205// march blcok->start forward (or at least update them when we finish a run 205// march blcok->start forward (or at least update them when we finish a run
206// of processing items at the end of the processing. 206// of processing items at the end of the processing.
207// 207//
208// we can store things as DELTAS from the preview value. ptr, func, size all 208// we can store things as DELTAS from the preview value. ptr, func, size all
209// are ptr sized values so we can compress them with deltas and thus encode 209// are ptr sized values so we can compress them with deltas and thus encode
210// them in variable runs of bytes depending on the size of the delta. e.g. 210// them in variable runs of bytes depending on the size of the delta. e.g.
211// use LEB128 maybe or PrefixVariant. 211// use LEB128 maybe or PrefixVariant.
212// 212//
213// after some playng leb128 seems to be the best from simplicity (so fast 213// after some playng leb128 seems to be the best from simplicity (so fast
214// encode which matters and decode needs to be good too) and size. i saw 214// encode which matters and decode needs to be good too) and size. i saw
215// a reduction to 24% of the original data size this way based on the sample 215// a reduction to 24% of the original data size this way based on the sample
216// data i collected like above. is it worth the extra cycles? don't know. 216// data i collected like above. is it worth the extra cycles? don't know.
217// 217//
218// when looking at the deltas i noticed that func and sie delats are very 218// when looking at the deltas i noticed that func and sie delats are very
219// often 0 for long runs. this means we can probably use RLE effectively 219// often 0 for long runs. this means we can probably use RLE effectively
220// if we split this into 3 streams wahc delta compressed then RLE compressed 220// if we split this into 3 streams wahc delta compressed then RLE compressed
diff --git a/src/lib/eina/eina_freeq.h b/src/lib/eina/eina_freeq.h
index acbc59b765..b23a95b892 100644
--- a/src/lib/eina/eina_freeq.h
+++ b/src/lib/eina/eina_freeq.h
@@ -62,18 +62,18 @@
62 * will be filled with this pattern value in every byte. The default value 62 * will be filled with this pattern value in every byte. The default value
63 * is 0x77 (119). Memory is only filled if the size of the allocation is 63 * is 0x77 (119). Memory is only filled if the size of the allocation is
64 * less than the max that you can adjust with EINA_FREEQ_FILL_MAX. 64 * less than the max that you can adjust with EINA_FREEQ_FILL_MAX.
65 * 65 *
66 * @{ 66 * @{
67 * 67 *
68 * @since 1.19 68 * @since 1.19
69 * 69 *
70 * @typedef Eina_FreeQ 70 * @typedef Eina_FreeQ
71 * 71 *
72 * A queue of pointers to free in the future. You may create custom free 72 * A queue of pointers to free in the future. You may create custom free
73 * queues of your own to defer freeing, use the main free queue where the 73 * queues of your own to defer freeing, use the main free queue where the
74 * mainloop will free things as it iterates, or eina will free everything 74 * mainloop will free things as it iterates, or eina will free everything
75 * on shut down. 75 * on shut down.
76 * 76 *
77 */ 77 */
78typedef struct _Eina_FreeQ Eina_FreeQ; 78typedef struct _Eina_FreeQ Eina_FreeQ;
79 79
@@ -133,7 +133,7 @@ eina_freeq_new(Eina_FreeQ_Type type);
133 * @brief Free a free queue and anything that is queued in it. 133 * @brief Free a free queue and anything that is queued in it.
134 * 134 *
135 * @param[in,out] fq The free queue to free and clear. 135 * @param[in,out] fq The free queue to free and clear.
136 * 136 *
137 * @since 1.19 137 * @since 1.19
138 */ 138 */
139EAPI void 139EAPI void
@@ -153,7 +153,7 @@ eina_freeq_type_get(Eina_FreeQ *fq);
153 * @brief Get the main loop free queue. 153 * @brief Get the main loop free queue.
154 * 154 *
155 * @return The main loop free queue. 155 * @return The main loop free queue.
156 * 156 *
157 * @since 1.19 157 * @since 1.19
158 */ 158 */
159EAPI Eina_FreeQ * 159EAPI Eina_FreeQ *
@@ -185,7 +185,7 @@ eina_freeq_count_max_set(Eina_FreeQ *fq, int count);
185 * 185 *
186 * @param[in] fq The free queue to query 186 * @param[in] fq The free queue to query
187 * @return The maximum number of free items allowed or -1 for infinity 187 * @return The maximum number of free items allowed or -1 for infinity
188 * 188 *
189 * @since 1.19 189 * @since 1.19
190 */ 190 */
191EAPI int 191EAPI int
@@ -207,7 +207,7 @@ eina_freeq_count_max_get(Eina_FreeQ *fq);
207 * 207 *
208 * @note Setting a memory limit on a postponed free queue leads to undefined 208 * @note Setting a memory limit on a postponed free queue leads to undefined
209 * behavior. 209 * behavior.
210 * 210 *
211 * @since 1.19 211 * @since 1.19
212 */ 212 */
213EAPI void 213EAPI void
@@ -232,7 +232,7 @@ eina_freeq_mem_max_get(Eina_FreeQ *fq);
232 * This will free and thus remove all queued items from the free queue when 232 * This will free and thus remove all queued items from the free queue when
233 * this function is called. When it returns the free queue should be 233 * this function is called. When it returns the free queue should be
234 * empty. 234 * empty.
235 * 235 *
236 * @since 1.19 236 * @since 1.19
237 */ 237 */
238EAPI void 238EAPI void
@@ -248,7 +248,7 @@ eina_freeq_clear(Eina_FreeQ *fq);
248 * and thus reduce the amount of memory it is holding on to. This function 248 * and thus reduce the amount of memory it is holding on to. This function
249 * will return once it has removed @p count items or there are no more items 249 * will return once it has removed @p count items or there are no more items
250 * to remove from the queue. 250 * to remove from the queue.
251 * 251 *
252 * @since 1.19 252 * @since 1.19
253 */ 253 */
254EAPI void 254EAPI void
@@ -259,7 +259,7 @@ eina_freeq_reduce(Eina_FreeQ *fq, int count);
259 * 259 *
260 * @param[in] fq The free queue to query 260 * @param[in] fq The free queue to query
261 * @return EINA_TRUE if there are items to free, EINA_FALSE otherwise 261 * @return EINA_TRUE if there are items to free, EINA_FALSE otherwise
262 * 262 *
263 * @since 1.19 263 * @since 1.19
264 */ 264 */
265EAPI Eina_Bool 265EAPI Eina_Bool
@@ -303,7 +303,7 @@ eina_freeq_ptr_pending(Eina_FreeQ *fq);
303 * This note does not apply if you use a size of 0 for the pointer, but then 303 * This note does not apply if you use a size of 0 for the pointer, but then
304 * you lose canary debugging ability when using 0 sized pointers on the free 304 * you lose canary debugging ability when using 0 sized pointers on the free
305 * queue. 305 * queue.
306 * 306 *
307 * @since 1.19 307 * @since 1.19
308 */ 308 */
309EAPI void 309EAPI void
@@ -315,10 +315,10 @@ eina_freeq_ptr_add(Eina_FreeQ *fq, void *ptr, void (*free_func) (void *ptr), siz
315 * @param[in] ptr The pointer to free 315 * @param[in] ptr The pointer to free
316 * @param[in] free_func The function used to free the pointer with 316 * @param[in] free_func The function used to free the pointer with
317 * @param[in] size The size of the data the pointer points to 317 * @param[in] size The size of the data the pointer points to
318 * 318 *
319 * This is the same as eina_freeq_ptr_add() but the main free queue is 319 * This is the same as eina_freeq_ptr_add() but the main free queue is
320 * fetched by eina_freeq_main_get(). 320 * fetched by eina_freeq_main_get().
321 * 321 *
322 * @since 1.19 322 * @since 1.19
323 */ 323 */
324static inline void 324static inline void
@@ -331,12 +331,12 @@ eina_freeq_ptr_main_add(void *ptr, void (*free_func) (void *ptr), size_t size)
331 * @brief Convenience macro for well known structures and types 331 * @brief Convenience macro for well known structures and types
332 * 332 *
333 * @param[in] ptr The pointer to free 333 * @param[in] ptr The pointer to free
334 * 334 *
335 * This is the same as eina_freeq_ptr_main_add() but the free function is 335 * This is the same as eina_freeq_ptr_main_add() but the free function is
336 * assumed to be the libc free() function, and size is provided by 336 * assumed to be the libc free() function, and size is provided by
337 * sizeof(*ptr), so it will not work on void pointers or will be inaccurate 337 * sizeof(*ptr), so it will not work on void pointers or will be inaccurate
338 * for pointers to arrays. For arrays please use EINA_FREEQ_ARRAY_FREE() 338 * for pointers to arrays. For arrays please use EINA_FREEQ_ARRAY_FREE()
339 * 339 *
340 * @since 1.19 340 * @since 1.19
341 */ 341 */
342#define EINA_FREEQ_FREE(ptr) eina_freeq_ptr_main_add(ptr, NULL, sizeof(*(ptr))) 342#define EINA_FREEQ_FREE(ptr) eina_freeq_ptr_main_add(ptr, NULL, sizeof(*(ptr)))
@@ -345,12 +345,12 @@ eina_freeq_ptr_main_add(void *ptr, void (*free_func) (void *ptr), size_t size)
345 * @brief Convenience macro for well known structures and types 345 * @brief Convenience macro for well known structures and types
346 * 346 *
347 * @param[in] ptr The pointer to free 347 * @param[in] ptr The pointer to free
348 * 348 *
349 * This is the same as eina_freeq_ptr_main_add() but the free function is 349 * This is the same as eina_freeq_ptr_main_add() but the free function is
350 * assumed to be the libc free() function, and size is provided by 350 * assumed to be the libc free() function, and size is provided by
351 * sizeof(*ptr), so it will not work on void pointers. Total size is multiplied 351 * sizeof(*ptr), so it will not work on void pointers. Total size is multiplied
352 * by the count @p n so it should work well for arrays of types. 352 * by the count @p n so it should work well for arrays of types.
353 * 353 *
354 * @since 1.19 354 * @since 1.19
355 */ 355 */
356#define EINA_FREEQ_N_FREE(ptr, n) eina_freeq_ptr_main_add(ptr, NULL, sizeof(*(ptr)) * n) 356#define EINA_FREEQ_N_FREE(ptr, n) eina_freeq_ptr_main_add(ptr, NULL, sizeof(*(ptr)) * n)
diff --git a/src/lib/eina/eina_log.h b/src/lib/eina/eina_log.h
index b45a191ac2..417e38c436 100644
--- a/src/lib/eina/eina_log.h
+++ b/src/lib/eina/eina_log.h
@@ -545,13 +545,13 @@ static inline Eina_Bool eina_log_level_check(int level);
545 * @brief Checks if current thread is the main thread. 545 * @brief Checks if current thread is the main thread.
546 * 546 *
547 * If there is no thread support (compiled with --disable-pthreads) or 547 * If there is no thread support (compiled with --disable-pthreads) or
548 * threads were not enabled, then #EINA_TRUE is returned. The only case where 548 * threads were not enabled, then #EINA_TRUE is returned. The only case where
549 * #EINA_FALSE is returned is when threads were successfully enabled but the 549 * #EINA_FALSE is returned is when threads were successfully enabled but the
550 * current thread is not the one that called eina_log_threads_init() (the 550 * current thread is not the one that called eina_log_threads_init() (the
551 * main thread). 551 * main thread).
552 * 552 *
553 * @return #EINA_TRUE if the current thread is the one that called 553 * @return #EINA_TRUE if the current thread is the one that called
554 * eina_log_threads_init(), otherwise #EINA_FALSE. 554 * eina_log_threads_init(), otherwise #EINA_FALSE.
555 */ 555 */
556EAPI Eina_Bool eina_log_main_thread_check(void) EINA_CONST EINA_WARN_UNUSED_RESULT; 556EAPI Eina_Bool eina_log_main_thread_check(void) EINA_CONST EINA_WARN_UNUSED_RESULT;
557 557
@@ -984,7 +984,7 @@ EAPI extern const char *_eina_log_state_init;
984EAPI extern const char *_eina_log_state_shutdown; 984EAPI extern const char *_eina_log_state_shutdown;
985/** 985/**
986 * @def EINA_LOG_STATE_INIT 986 * @def EINA_LOG_STATE_INIT
987 * String that indicates the log system is initializing 987 * String that indicates the log system is initializing
988 */ 988 */
989#define EINA_LOG_STATE_INIT _eina_log_state_init 989#define EINA_LOG_STATE_INIT _eina_log_state_init
990/** 990/**
diff --git a/src/lib/eina/eina_matrixsparse.c b/src/lib/eina/eina_matrixsparse.c
index 9716a2cbd5..f0ca6daf46 100644
--- a/src/lib/eina/eina_matrixsparse.c
+++ b/src/lib/eina/eina_matrixsparse.c
@@ -941,7 +941,7 @@ eina_matrixsparse_new(unsigned long rows, unsigned long cols, void (*free_func)(
941 if (!m) return NULL; 941 if (!m) return NULL;
942 942
943 EINA_MAGIC_SET(m, EINA_MAGIC_MATRIXSPARSE); 943 EINA_MAGIC_SET(m, EINA_MAGIC_MATRIXSPARSE);
944 944
945 m->rows = NULL; 945 m->rows = NULL;
946 m->last_row = NULL; 946 m->last_row = NULL;
947 m->last_used = NULL; 947 m->last_used = NULL;
diff --git a/src/lib/eina/eina_mmap.c b/src/lib/eina/eina_mmap.c
index 23386dac1d..af971e30f1 100644
--- a/src/lib/eina/eina_mmap.c
+++ b/src/lib/eina/eina_mmap.c
@@ -229,7 +229,7 @@ eina_mmap_safety_enabled_set(Eina_Bool enabled)
229 } 229 }
230 signal(SIGBUS, SIG_DFL); 230 signal(SIGBUS, SIG_DFL);
231 } 231 }
232done: 232done:
233 mmap_safe = enabled; 233 mmap_safe = enabled;
234 return mmap_safe; 234 return mmap_safe;
235#endif 235#endif
diff --git a/src/lib/eina/eina_promise.h b/src/lib/eina/eina_promise.h
index cad96b4049..0a4bce1786 100644
--- a/src/lib/eina/eina_promise.h
+++ b/src/lib/eina/eina_promise.h
@@ -66,7 +66,7 @@ typedef struct _Eina_Future_Cb_Log_Desc Eina_Future_Cb_Log_Desc;
66 66
67/** 67/**
68 * @typedef Eina_Future_Cb 68 * @typedef Eina_Future_Cb
69 69
70 * A callback used to inform that a future was resolved. 70 * A callback used to inform that a future was resolved.
71 * Usually this callback is called from a clean context, that is, from the 71 * Usually this callback is called from a clean context, that is, from the
72 * main loop or some platform defined safe context. However there are 72 * main loop or some platform defined safe context. However there are
diff --git a/src/lib/eina/eina_rbtree.c b/src/lib/eina/eina_rbtree.c
index 24d5b99a00..5fd935d687 100644
--- a/src/lib/eina/eina_rbtree.c
+++ b/src/lib/eina/eina_rbtree.c
@@ -476,7 +476,7 @@ eina_rbtree_inline_remove(Eina_Rbtree *root,
476 rt = (*rt)->son + dir; 476 rt = (*rt)->son + dir;
477 } 477 }
478 478
479 if (q != NULL) 479 if (q != NULL)
480 { 480 {
481 int r_color = r->color; 481 int r_color = r->color;
482 Eina_Rbtree *nd = q->son[dir ^ 1]; 482 Eina_Rbtree *nd = q->son[dir ^ 1];
diff --git a/src/lib/eina/eina_strbuf_common.c b/src/lib/eina/eina_strbuf_common.c
index 9a1d27d8ce..5cf7276c5f 100644
--- a/src/lib/eina/eina_strbuf_common.c
+++ b/src/lib/eina/eina_strbuf_common.c
@@ -217,7 +217,7 @@ _eina_strbuf_common_insert_length(size_t csize,
217 return EINA_FALSE; 217 return EINA_FALSE;
218 218
219 /* move the existing text */ 219 /* move the existing text */
220 memmove(((unsigned char *)(buf->buf)) + ((len + pos) * csize), 220 memmove(((unsigned char *)(buf->buf)) + ((len + pos) * csize),
221 ((unsigned char *)(buf->buf)) + (pos * csize), 221 ((unsigned char *)(buf->buf)) + (pos * csize),
222 (buf->len - pos) * csize); 222 (buf->len - pos) * csize);
223 223
@@ -484,7 +484,7 @@ eina_strbuf_common_append(size_t csize,
484 484
485 if (EINA_UNLIKELY(!_eina_strbuf_common_grow(csize, buf, buf->len + len))) 485 if (EINA_UNLIKELY(!_eina_strbuf_common_grow(csize, buf, buf->len + len)))
486 return EINA_FALSE; 486 return EINA_FALSE;
487 memcpy(((unsigned char *)(buf->buf)) + (buf->len * csize), str, 487 memcpy(((unsigned char *)(buf->buf)) + (buf->len * csize), str,
488 (len + 1) * csize); 488 (len + 1) * csize);
489 buf->len += len; 489 buf->len += len;
490 return EINA_TRUE; 490 return EINA_TRUE;
@@ -525,7 +525,7 @@ eina_strbuf_common_append_n(size_t csize,
525 if (len > maxlen) len = maxlen; 525 if (len > maxlen) len = maxlen;
526 if (EINA_UNLIKELY(!_eina_strbuf_common_grow(csize, buf, buf->len + len))) 526 if (EINA_UNLIKELY(!_eina_strbuf_common_grow(csize, buf, buf->len + len)))
527 return EINA_FALSE; 527 return EINA_FALSE;
528 memcpy(((unsigned char *)(buf->buf)) + (buf->len * csize), str, 528 memcpy(((unsigned char *)(buf->buf)) + (buf->len * csize), str,
529 len * csize); 529 len * csize);
530 buf->len += len; 530 buf->len += len;
531 memset(((unsigned char *)(buf->buf)) + (buf->len * csize), 0, csize); 531 memset(((unsigned char *)(buf->buf)) + (buf->len * csize), 0, csize);
@@ -969,7 +969,7 @@ eina_strbuf_replace(Eina_Strbuf *buf,
969 if (EINA_UNLIKELY(!_eina_strbuf_common_grow(_STRBUF_CSIZE, buf, 969 if (EINA_UNLIKELY(!_eina_strbuf_common_grow(_STRBUF_CSIZE, buf,
970 buf->len - len1 + len2))) 970 buf->len - len1 + len2)))
971 return EINA_FALSE; /* move the existing text */ 971 return EINA_FALSE; /* move the existing text */
972 memmove(((unsigned char *)(buf->buf)) + pos + len2, 972 memmove(((unsigned char *)(buf->buf)) + pos + len2,
973 ((unsigned char *)(buf->buf)) + pos + len1, 973 ((unsigned char *)(buf->buf)) + pos + len1,
974 buf->len - pos - len1); 974 buf->len - pos - len1);
975 } 975 }
diff --git a/src/lib/eina/eina_thread.c b/src/lib/eina/eina_thread.c
index dc186175c4..369711f2d8 100644
--- a/src/lib/eina/eina_thread.c
+++ b/src/lib/eina/eina_thread.c
@@ -65,7 +65,7 @@ _eina_thread_create(Eina_Thread *t, int affinity, void *(*func)(void *data), voi
65#ifndef _WIN32 65#ifndef _WIN32
66 sigset_t oldset, newset; 66 sigset_t oldset, newset;
67#endif 67#endif
68 68
69 pthread_attr_init(&attr); 69 pthread_attr_init(&attr);
70 if (affinity >= 0) 70 if (affinity >= 0)
71 { 71 {
diff --git a/src/lib/eina/eina_tiler.c b/src/lib/eina/eina_tiler.c
index c4c04d8641..46a5ba9cab 100644
--- a/src/lib/eina/eina_tiler.c
+++ b/src/lib/eina/eina_tiler.c
@@ -1101,7 +1101,7 @@ static Eina_Bool _iterator_next(Eina_Iterator_Tiler *it, void **data)
1101 it->r.x = cur.left; 1101 it->r.x = cur.left;
1102 it->r.y = cur.top; 1102 it->r.y = cur.top;
1103 it->r.w = cur.width; 1103 it->r.w = cur.width;
1104 it->r.h = cur.height; 1104 it->r.h = cur.height;
1105 } 1105 }
1106 1106
1107 if (eina_rectangle_intersection(&it->r, &it->tiler->area) == EINA_FALSE) 1107 if (eina_rectangle_intersection(&it->r, &it->tiler->area) == EINA_FALSE)
@@ -1614,7 +1614,7 @@ eina_tile_grid_slicer_iterator_new(int x,
1614{ 1614{
1615 Eina_Tile_Grid_Slicer_Iterator *it; 1615 Eina_Tile_Grid_Slicer_Iterator *it;
1616 1616
1617 if ((x < 0) || (y < 0) || (w <= 0) || (h <= 0) || 1617 if ((x < 0) || (y < 0) || (w <= 0) || (h <= 0) ||
1618 (tile_w <= 0) || (tile_h <= 0)) 1618 (tile_w <= 0) || (tile_h <= 0))
1619 return NULL; 1619 return NULL;
1620 1620
diff --git a/src/lib/eina/eina_value.c b/src/lib/eina/eina_value.c
index b71fa7da96..59262a6b08 100644
--- a/src/lib/eina/eina_value.c
+++ b/src/lib/eina/eina_value.c
@@ -2266,7 +2266,7 @@ _eina_value_type_string_vset(const Eina_Value_Type *type EINA_UNUSED, void *mem,
2266{ 2266{
2267 char **tmem = mem; 2267 char **tmem = mem;
2268 const char *str = va_arg(args, const char *); 2268 const char *str = va_arg(args, const char *);
2269 2269
2270 if (str == *tmem) return EINA_TRUE; 2270 if (str == *tmem) return EINA_TRUE;
2271 if (!str) 2271 if (!str)
2272 { 2272 {
@@ -2291,7 +2291,7 @@ _eina_value_type_string_pset(const Eina_Value_Type *type EINA_UNUSED, void *mem,
2291{ 2291{
2292 char **tmem = mem; 2292 char **tmem = mem;
2293 const char * const *str = ptr; 2293 const char * const *str = ptr;
2294 2294
2295 if (*str == *tmem) return EINA_TRUE; 2295 if (*str == *tmem) return EINA_TRUE;
2296 if (!*str) 2296 if (!*str)
2297 { 2297 {
@@ -4613,7 +4613,7 @@ eina_value_optional_pset(Eina_Value *value,
4613 const void *subvalue) EINA_ARG_NONNULL(1, 2, 3) 4613 const void *subvalue) EINA_ARG_NONNULL(1, 2, 3)
4614{ 4614{
4615 eina_value_optional_reset(value); 4615 eina_value_optional_reset(value);
4616 4616
4617 if(sizeof(Eina_Value_Optional_Outer) <= sizeof(Eina_Value_Union)) 4617 if(sizeof(Eina_Value_Optional_Outer) <= sizeof(Eina_Value_Union))
4618 { 4618 {
4619 Eina_Value_Optional_Outer outer; 4619 Eina_Value_Optional_Outer outer;
@@ -4721,7 +4721,7 @@ _eina_value_type_optional_compare(const Eina_Value_Type *type EINA_UNUSED, const
4721 { 4721 {
4722 Eina_Value_Optional_Inner const * const* lhs_p = lhs_raw; 4722 Eina_Value_Optional_Inner const * const* lhs_p = lhs_raw;
4723 Eina_Value_Optional_Inner const * const* rhs_p = rhs_raw; 4723 Eina_Value_Optional_Inner const * const* rhs_p = rhs_raw;
4724 4724
4725 if(!*lhs_p) 4725 if(!*lhs_p)
4726 return *rhs_p ? -1 : 0; 4726 return *rhs_p ? -1 : 0;
4727 else if(!*rhs_p) 4727 else if(!*rhs_p)
diff --git a/src/lib/eina/eina_value.h b/src/lib/eina/eina_value.h
index 6197f7ce4d..ae199c019b 100644
--- a/src/lib/eina/eina_value.h
+++ b/src/lib/eina/eina_value.h
@@ -213,7 +213,7 @@
213 * Next we have setting, this however requires not one but rather two functions, 213 * Next we have setting, this however requires not one but rather two functions,
214 * the reason for this is because to be able to receive arguments of any type 214 * the reason for this is because to be able to receive arguments of any type
215 * eina value uses <a href="https://wikipedia.org/wiki/Variadic_functions"> 215 * eina value uses <a href="https://wikipedia.org/wiki/Variadic_functions">
216 * variadic functions</a>, so we need a function to get the argument from a 216 * variadic functions</a>, so we need a function to get the argument from a
217 * va_list and another to actually to the setting. 217 * va_list and another to actually to the setting.
218 * 218 *
219 * Lets first look at the pset function which sets the received value to a 219 * Lets first look at the pset function which sets the received value to a