OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:UNLIKELY
(Results
1 - 25
of
44
) sorted by relevancy
1
2
/src/sys/external/bsd/compiler_rt/dist/lib/asan/
asan_malloc_local.h
34
#define ALLOCATE_FROM_LOCAL_POOL
UNLIKELY
(EarlyMalloc())
35
#define IS_FROM_LOCAL_POOL(ptr)
UNLIKELY
(IsFromLocalPool(ptr))
asan_malloc_linux.cc
67
if (
UNLIKELY
(!CheckPosixMemalignAlignment(alignment)))
112
if (
UNLIKELY
(UseLocalPool())) {
125
if (
UNLIKELY
(IsInDlsymAllocPool(ptr))) {
135
if (
UNLIKELY
(IsInDlsymAllocPool(ptr)))
142
if (
UNLIKELY
(UseLocalPool()))
151
if (
UNLIKELY
(UseLocalPool()))
160
if (
UNLIKELY
(IsInDlsymAllocPool(ptr)))
162
if (
UNLIKELY
(UseLocalPool()))
217
if (
UNLIKELY
(UseLocalPool()))
asan_interceptors_memintrinsics.h
84
if (
UNLIKELY
(!asan_inited)) return internal_memcpy(to, from, size); \
102
if (
UNLIKELY
(!asan_inited)) return internal_memset(block, c, size); \
115
if (
UNLIKELY
(!asan_inited)) return internal_memmove(to, from, size); \
asan_interceptors.h
30
if (
UNLIKELY
(!asan_inited)) { \
asan_interceptors.cc
105
if (SANITIZER_MAC &&
UNLIKELY
(!asan_inited)) \
421
if (
UNLIKELY
(!asan_inited)) return REAL(strcpy)(to, from); // NOLINT
441
if (
UNLIKELY
(!asan_inited)) return internal_strdup(s);
457
if (
UNLIKELY
(!asan_inited)) return internal_strdup(s);
501
if (
UNLIKELY
(!asan_inited)) return REAL(atoi)(nptr);
522
if (
UNLIKELY
(!asan_inited)) return REAL(atol)(nptr);
574
if (
UNLIKELY
(!asan_inited)) return REAL(__cxa_atexit)(func, arg, dso_handle);
asan_new_delete.cc
83
if (!nothrow &&
UNLIKELY
(!res)) ReportOutOfMemory(size, &stack);\
93
if (!nothrow &&
UNLIKELY
(!res)) ReportOutOfMemory(size, &stack);\
/src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/
sanitizer_allocator_testlib.cc
105
if (
UNLIKELY
(!thread_inited))
113
if (
UNLIKELY
(!thread_inited))
120
if (
UNLIKELY
(!thread_inited))
130
if (
UNLIKELY
(!thread_inited))
144
if (
UNLIKELY
(!thread_inited))
153
if (
UNLIKELY
(!thread_inited))
161
if (
UNLIKELY
(!thread_inited))
/src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
sanitizer_allocator_local_cache.h
45
if (
UNLIKELY
(c->count == 0)) {
46
if (
UNLIKELY
(!Refill(c, allocator, class_id)))
63
if (
UNLIKELY
(c->count == c->max_count))
110
if (
UNLIKELY
(!allocator->GetFromAllocator(&stats_, class_id, c->chunks,
164
if (
UNLIKELY
(c->count == 0)) {
165
if (
UNLIKELY
(!Refill(c, allocator, class_id)))
182
if (
UNLIKELY
(c->count == c->max_count))
246
if (
UNLIKELY
(!b))
263
if (
UNLIKELY
(!b)) {
sanitizer_allocator_checks.h
26
// headers include errno.h. This is usually the result of an
unlikely
event,
32
if (
UNLIKELY
(!ptr))
sanitizer_allocator_size_class_map.h
150
if (
UNLIKELY
(class_id == kBatchClassID))
160
if (
UNLIKELY
(size > kMaxSize))
173
if (
UNLIKELY
(size == 0))
sanitizer_posix.cc
51
if (
UNLIKELY
(internal_iserror(res, &reserrno)))
60
if (
UNLIKELY
(internal_iserror(res))) {
74
if (
UNLIKELY
(internal_iserror(res, &reserrno))) {
92
if (
UNLIKELY
(!map_res))
114
if (
UNLIKELY
(internal_iserror(p, &reserrno)))
128
if (
UNLIKELY
(internal_iserror(p, &reserrno))) {
sanitizer_allocator_primary32.h
165
if (
UNLIKELY
(!PopulateFreeList(stat, c, sci, class_id)))
290
if (
UNLIKELY
(!res))
315
if (
UNLIKELY
(!b))
332
if (
UNLIKELY
(!region))
335
if (
UNLIKELY
(sci->rand_state == 0))
349
if (
UNLIKELY
(!PopulateBatches(c, sci, class_id, &b, max_count,
356
if (
UNLIKELY
(!PopulateBatches(c, sci, class_id, &b, max_count,
sanitizer_internal_defs.h
220
# define
UNLIKELY
(x) (x)
234
# define
UNLIKELY
(x) __builtin_expect(!!(x), 0)
286
if (
UNLIKELY
(!(expr))) { \
298
if (
UNLIKELY
(!(v1 op v2))) \
sanitizer_allocator.cc
154
if (
UNLIKELY
(!p))
169
if (
UNLIKELY
(!p))
175
if (
UNLIKELY
(CheckForCallocOverflow(count, size))) {
sanitizer_allocator_primary64.h
121
if (
UNLIKELY
(!EnsureFreeArraySpace(region, region_beg,
143
if (
UNLIKELY
(region->num_freed_chunks < n_chunks)) {
144
if (
UNLIKELY
(!PopulateFreeArray(stat, class_id, region,
639
if (
UNLIKELY
(!mapped))
665
if (
UNLIKELY
(!MapWithCallback(current_map_end, new_map_size)))
697
if (
UNLIKELY
(region->mapped_user == 0)) {
713
if (
UNLIKELY
(IsRegionExhausted(region, class_id, user_map_size)))
715
if (
UNLIKELY
(!MapWithCallback(region_beg + region->mapped_user,
732
if (
UNLIKELY
(IsRegionExhausted(region, class_id, meta_map_size)))
734
if (
UNLIKELY
(!MapWithCallback
[
all
...]
sanitizer_rtems.cc
151
if (
UNLIKELY
(res))
161
if (
UNLIKELY
(res)) {
/src/sys/external/bsd/compiler_rt/dist/lib/lsan/
lsan_allocator.cc
86
if (
UNLIKELY
(!p)) {
102
if (
UNLIKELY
(CheckForCallocOverflow(size, nmemb))) {
143
if (
UNLIKELY
(!CheckPosixMemalignAlignment(alignment))) {
149
if (
UNLIKELY
(!ptr))
158
if (
UNLIKELY
(!CheckAlignedAllocAlignmentAndSize(alignment, size))) {
168
if (
UNLIKELY
(!IsPowerOfTwo(alignment))) {
200
if (
UNLIKELY
(CheckForPvallocOverflow(size, PageSize))) {
/src/sys/external/bsd/compiler_rt/dist/lib/msan/
msan_new_delete.cc
37
if (!nothrow &&
UNLIKELY
(!res)) ReportOutOfMemory(size, &stack);\
42
if (!nothrow &&
UNLIKELY
(!res)) ReportOutOfMemory(size, &stack);\
msan_allocator.cc
163
if (
UNLIKELY
(!allocated)) {
239
if (
UNLIKELY
(CheckForCallocOverflow(size, nmemb))) {
279
if (
UNLIKELY
(CheckForPvallocOverflow(size, PageSize))) {
291
if (
UNLIKELY
(!CheckAlignedAllocAlignmentAndSize(alignment, size))) {
301
if (
UNLIKELY
(!IsPowerOfTwo(alignment))) {
312
if (
UNLIKELY
(!CheckPosixMemalignAlignment(alignment))) {
318
if (
UNLIKELY
(!ptr))
/src/sys/external/bsd/compiler_rt/dist/lib/xray/
xray_function_call_trie.h
365
if (
UNLIKELY
(OverflowedFunctions)) {
372
if (
UNLIKELY
(ShadowStack.empty())) {
375
if (
UNLIKELY
(NewRoot == nullptr))
409
if (
UNLIKELY
(NewNode == nullptr))
503
if (
UNLIKELY
(NewRoot == nullptr))
506
if (
UNLIKELY
(O.Roots.Append(NewRoot) == nullptr))
523
if (
UNLIKELY
(NewNode == nullptr))
525
if (
UNLIKELY
(NP.NewNode->Callees.AppendEmplace(NewNode, Callee.FId) ==
528
if (
UNLIKELY
(DFSStack.AppendEmplace(Callee.NodePtr, NewNode) ==
562
if (
UNLIKELY
(TargetRoot == nullptr)
[
all
...]
xray_allocator.h
67
if (
UNLIKELY
(internal_iserror(B, &ErrNo))) {
116
if (
UNLIKELY
(internal_iserror(B, &ErrNo))) {
183
if (
UNLIKELY
(BackingStore == nullptr)) {
xray_fdr_controller.h
114
if (
UNLIKELY
(!hasSpace(S))) {
149
if (
UNLIKELY
(LatestCPU != CPU || LatestTSC == 0)) {
164
if (
UNLIKELY
(LatestTSC > TSC ||
xray_segmented_array.h
357
if (
UNLIKELY
(Head == &SentinelSegment)) {
367
if (
UNLIKELY
(Size != 0 && Offset == 0))
389
if (
UNLIKELY
(Head == &SentinelSegment)) {
399
if (
UNLIKELY
(Size != 0 && Offset == 0))
/src/sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/
tsan_mman.cc
165
if (
UNLIKELY
(!p)) {
193
if (
UNLIKELY
(CheckForCallocOverflow(size, n))) {
241
if (
UNLIKELY
(!IsPowerOfTwo(align))) {
253
if (
UNLIKELY
(!CheckPosixMemalignAlignment(align))) {
260
if (
UNLIKELY
(!ptr))
269
if (
UNLIKELY
(!CheckAlignedAllocAlignmentAndSize(align, sz))) {
285
if (
UNLIKELY
(CheckForPvallocOverflow(sz, PageSize))) {
tsan_new_delete.cc
39
if (!nothrow &&
UNLIKELY
(!p)) { \
54
if (!nothrow &&
UNLIKELY
(!p)) { \
Completed in 26 milliseconds
1
2
Indexes created Mon Oct 20 05:10:11 GMT 2025