Home
last modified time | relevance | path

Searched refs:G_LIKELY (Results 1 – 16 of 16) sorted by relevance

/external/bluetooth/glib/glib/
Dgmem.c127 if (G_LIKELY (n_bytes)) in g_malloc()
147 if (G_LIKELY (n_bytes)) in g_malloc0()
168 if (G_LIKELY (n_bytes)) in g_realloc()
189 if (G_LIKELY (mem)) in g_free()
198 if (G_LIKELY (n_bytes)) in g_try_malloc()
223 if (G_LIKELY (n_bytes)) in g_try_realloc()
Dgbsearcharray.h173 …return G_LIKELY (!sibling_or_after) ? NULL : (sibling_or_after > 1 && cmp > 0) ? check + sizeof_no… in g_bsearch_array_lookup_fuzzy()
180 return (G_LIKELY (nth < barray->n_nodes) ? in g_bsearch_array_get_nth()
237 if (G_LIKELY (node)) in g_bsearch_array_insert()
257 if (G_LIKELY (node)) /* expected path */ in g_bsearch_array_replace()
Dgmessages.h243 #define g_warn_if_fail(expr) do { if G_LIKELY (expr) ; else \
258 if G_LIKELY(expr) { } else \
267 if G_LIKELY(expr) { } else \
Dgmacros.h270 #define G_LIKELY(expr) (__builtin_expect (_G_BOOLEAN_EXPR(expr), 1)) macro
273 #define G_LIKELY(expr) (expr) macro
Dgslice.c129 #define mem_assert(cond) do { if (G_LIKELY (cond)) ; else mem_error ("assertion failed: %s", #co…
351 …if (G_LIKELY (aligned_chunk_size && aligned_chunk_size <= allocator->max_slab_chunk_size_for_magaz… in allocator_categorize()
778 if (G_LIKELY (mag->count > 0)) in thread_memory_magazine1_alloc()
805 if (G_LIKELY (acat == 1)) /* allocate through magazine layer */ in g_slice_alloc()
860 if (G_LIKELY (acat == 1)) /* allocate through magazine layer */ in g_slice_free1()
913 if (G_LIKELY (acat == 1)) /* allocate through magazine layer */ in g_slice_free_chain_with_offset()
Dgtestutils.h67 #define g_assert(expr) do { if G_LIKELY (expr) ; else \
Dgutils.h354 return G_LIKELY (number) ? in g_bit_storage()
Dgthread.h344 if G_LIKELY ((gpointer) g_atomic_pointer_get (value_location) != NULL) in g_once_init_enter()
/external/bluetooth/glib/tests/
Dbit-test.c15 if (G_LIKELY (nth_bit < GLIB_SIZEOF_LONG * 8 - 1)) in builtin_bit_nth_lsf1()
28 if (G_LIKELY (nth_bit < GLIB_SIZEOF_LONG * 8 - 1)) in builtin_bit_nth_lsf2()
/external/bluetooth/glib/gio/
Dgmount.c721 if (G_LIKELY (private != NULL)) in get_private()
/external/bluetooth/glib/
DChangeLog.pre-2-2500 * glib/gmessages.h: Use G_LIKELY without surrounding parentheses
504 * glib/gmacros.h: Always put parentheses in G_LIKELY and G_UNLIKELY.
508 * glib/gmessages.h: Only use G_LIKELY in g_assert() and
535 * glib/gmacros.h: Fix the non-gcc-3.x definitions of G_LIKELY
549 * glib/gmacros.h: Change the definition of G_LIKELY, so that
642 (g_return_val_if_fail): Use G_LIKELY. (#69022)
644 * glib/gmacros.h (G_LIKELY):
DNEWS2614 * Add G_LIKELY()/G_UNLIKELY() macros for hinting branch probabilities.
/external/webkit/Source/WebCore/platform/network/soup/
DResourceHandleSoup.cpp789 if (G_LIKELY(!convertToUTF16)) in readCallback()
/external/bluetooth/glib/docs/reference/glib/
Dglib-sections.txt349 G_LIKELY
/external/bluetooth/glib/gobject/
Dgobject.c2419 if (G_LIKELY (is_zero)) in g_object_unref()
/external/bluetooth/glib/docs/reference/
DChangeLog3198 * glib/tmpl/macros_misc.sgml: Document G_LIKELY, G_UNLIKELY.
3200 * glib/glib-sections.txt: Add G_LIKELY, G_UNLIKELY.