Home
last modified time | relevance | path

Searched refs:LIKELY (Results 1 - 18 of 18) sorted by relevance

/third_party/musl/porting/linux/user/src/trace/
H A Dtrace_marker.c42 #define LIKELY(exp) (__builtin_expect(!!(exp), 1)) macro
95 if (LIKELY((!is_enable_trace(label) || message == NULL))) { in trace_marker_begin()
128 if (LIKELY(!is_enable_trace(label))) { in trace_marker_end()
156 if (LIKELY((!is_enable_trace(label) || message == NULL))) { in trace_marker_async_begin()
189 if (LIKELY((!is_enable_trace(label) || message == NULL))) { in trace_marker_async_end()
221 if (LIKELY((!is_enable_trace(label) || message == NULL))) { in trace_marker_count()
/third_party/musl/src/trace/linux/
H A Dtrace_marker.c43 #define LIKELY(exp) (__builtin_expect(!!(exp), 1)) macro
96 if (LIKELY((!is_enable_trace(label) || message == NULL))) { in trace_marker_begin()
129 if (LIKELY(!is_enable_trace(label))) { in trace_marker_end()
157 if (LIKELY((!is_enable_trace(label) || message == NULL))) { in trace_marker_async_begin()
190 if (LIKELY((!is_enable_trace(label) || message == NULL))) { in trace_marker_async_end()
222 if (LIKELY((!is_enable_trace(label) || message == NULL))) { in trace_marker_count()
/third_party/gn/src/base/
H A Dcompiler_specific.h50 #if !defined(LIKELY)
52 #define LIKELY(x) __builtin_expect(!!(x), 1) macro
54 #define LIKELY(x) (x) macro
56 #endif // !defined(LIKELY)
/third_party/node/src/
H A Dnode_wasm_web_api.cc108 if (LIKELY(chunk->IsArrayBufferView())) { in Push()
113 } else if (LIKELY(chunk->IsArrayBuffer())) { in Push()
H A Ddebug_utils-inl.h69 if (LIKELY(p == nullptr)) return format; in SPrintFImpl()
H A Dstring_decoder.cc117 if (LIKELY(MissingBytes() == 0)) { in DecodeData()
H A Dnode_http2.cc639 if (LIKELY(!HasHttp2Observer(env()))) in EmitStatistics()
659 if (LIKELY(!HasHttp2Observer(env()))) in EmitStatistics()
898 if (LIKELY(!stream)) { in OnBeginHeadersCallback()
1207 if (LIKELY(buf.base == nullptr)) in OnDataChunkReceived()
1699 if (LIKELY(stream)) in ClearOutgoing()
1888 if (LIKELY(*ret > 0)) in SubmitRequest()
1918 if (LIKELY(stream_buf_offset_ == 0)) { in OnStreamRead()
H A Dnode_perf.cc169 if (LIKELY(!state->observers[NODE_PERFORMANCE_ENTRY_TYPE_GC])) in MarkGarbageCollectionEnd()
H A Dutil.h141 #define LIKELY(expr) __builtin_expect(!!(expr), 1) macro
145 #define LIKELY(expr) expr macro
H A Dutil.cc526 if (LIKELY(flag == SetConstructorFunctionFlag::SET_CLASS_NAME)) in SetConstructorFunction()
H A Denv.cc143 if (LIKELY(offset < native_execution_async_resources_.size() && in pop_async_context()
H A Dnode_buffer.cc325 if (LIKELY(actual > 0)) { in New()
/third_party/node/src/permission/
H A Dpermission.h38 if (LIKELY(!enabled_)) return true; in is_granted()
/third_party/python/Modules/_blake2/impl/
H A Dblake2s-round.h26 #define LIKELY(x) __builtin_expect((x),1) macro
H A Dblake2b-round.h26 #define LIKELY(x) __builtin_expect((x),1) macro
/third_party/python/Objects/
H A Dobmalloc.c749 # define LIKELY(value) __builtin_expect((value), 1) macro
752 # define LIKELY(value) (value) macro
1852 if (LIKELY(pool != NULL)) { in allocate_from_new_pool()
1970 if (LIKELY(pool != pool->nextpool)) { in pymalloc_alloc()
1999 if (LIKELY(ptr != NULL)) { in _PyObject_Malloc()
2018 if (LIKELY(ptr != NULL)) { in _PyObject_Calloc()
2260 if (LIKELY(pool->ref.count != 0)) { in pymalloc_free()
/third_party/node/src/api/
H A Denvironment.cc107 if (LIKELY(ret != nullptr)) in Allocate()
114 if (LIKELY(ret != nullptr)) in AllocateUninitialized()
122 if (LIKELY(ret != nullptr) || UNLIKELY(size == 0)) in Reallocate()
/third_party/node/src/crypto/
H A Dcrypto_hash.cc298 if (LIKELY(params.length > 0)) { in DeriveBits()

Completed in 22 milliseconds