Home
last modified time | relevance | path

Searched refs:UNLIKELY (Results 1 – 25 of 29) sorted by relevance

12

/third_party/boost/libs/beast/test/bench/parser/nodejs-parser/
Dhttp_parser.c72 # define UNLIKELY(X) __builtin_expect(!!(X), 0) macro
75 # define UNLIKELY(X) (X) macro
86 if (UNLIKELY(0 != settings->on_##FOR(parser))) { \
92 if (UNLIKELY(HTTP_PARSER_ERRNO(parser) != HPE_OK)) { \
112 if (UNLIKELY(0 != \
119 if (UNLIKELY(HTTP_PARSER_ERRNO(parser) != HPE_OK)) { \
157 if (UNLIKELY(parser->nread > (HTTP_MAX_HEADER_SIZE))) { \
746 if (UNLIKELY(ch != 'E')) { in http_parser_execute()
802 if (UNLIKELY(ch < '0' || ch > '9')) { in http_parser_execute()
827 if (UNLIKELY(parser->http_major > 999)) { in http_parser_execute()
[all …]
/third_party/gn/src/base/
Dcompiler_specific.h42 #if !defined(UNLIKELY)
44 #define UNLIKELY(x) __builtin_expect(!!(x), 0) macro
46 #define UNLIKELY(x) (x) macro
Dlogging.h397 UNLIKELY(!(condition)) ? IMMEDIATE_CRASH() : EAT_STREAM_PARAMETERS
404 LAZY_STREAM(PLOG_STREAM(FATAL), UNLIKELY(!(condition))); \
/third_party/cef/include/base/
Dcef_compiler_specific.h263 #if !defined(UNLIKELY)
265 #define UNLIKELY(x) __builtin_expect(!!(x), 0) macro
267 #define UNLIKELY(x) (x) macro
/third_party/libffi/src/
Dprep_cif.c41 if (UNLIKELY(arg == NULL || arg->elements == NULL)) in initialize_aggregate()
49 if (UNLIKELY(ptr == 0)) in initialize_aggregate()
54 if (UNLIKELY(((*ptr)->size == 0) in initialize_aggregate()
/third_party/node/src/
Ddebug_utils-inl.h137 if (!UNLIKELY(list->enabled(cat))) return; in Debug()
144 if (!UNLIKELY(list->enabled(cat))) return; in Debug()
194 if (!UNLIKELY(async_wrap->env()->enabled_debug_list()->enabled(cat))) return; in Debug()
Dcares_wrap.cc893 if (UNLIKELY(response->is_host)) in Parse()
1060 if (UNLIKELY(response->is_host)) in Parse()
1094 if (UNLIKELY(response->is_host)) in Parse()
1128 if (UNLIKELY(response->is_host)) in Parse()
1150 if (UNLIKELY(response->is_host)) in Parse()
1173 if (UNLIKELY(response->is_host)) in Parse()
1196 if (UNLIKELY(response->is_host)) in Parse()
1219 if (UNLIKELY(response->is_host)) in Parse()
1241 if (UNLIKELY(response->is_host)) in Parse()
1263 if (UNLIKELY(response->is_host)) in Parse()
[all …]
Denv-inl.h109 if (UNLIKELY(js_execution_async_resources_.IsEmpty())) { in js_execution_async_resources()
234 if (UNLIKELY(js_execution_async_resources()->Length() > offset)) { in pop_async_context()
400 if (UNLIKELY(!isolate->InContext())) return nullptr; in GetCurrent()
406 if (UNLIKELY(context.IsEmpty())) { in GetCurrent()
409 if (UNLIKELY(context->GetNumberOfEmbedderDataFields() <= in GetCurrent()
413 if (UNLIKELY(context->GetAlignedPointerFromEmbedderData( in GetCurrent()
452 if (UNLIKELY(it == map->end())) return nullptr; in GetBindingData()
Dutil.h142 #define UNLIKELY(expr) __builtin_expect(!!(expr), 0) macro
146 #define UNLIKELY(expr) expr macro
155 if (UNLIKELY(!(expr))) { \
Dstring_decoder.cc134 if (UNLIKELY(nread == 0)) { in DecodeData()
Dnode_native_module.cc225 if (UNLIKELY(source_it == source_.end())) { in LoadBuiltinModuleSource()
Dutil-inl.h344 if (UNLIKELY(allocated == nullptr)) { in UncheckedRealloc()
402 if (UNLIKELY(str.size() >= static_cast<size_t>(v8::String::kMaxLength))) { in ToV8Value()
Dbase_object-inl.h57 if (UNLIKELY(has_pointer_data())) { in ~BaseObject()
Dnode_zlib.cc488 if (UNLIKELY(memory == nullptr)) return nullptr; in AllocForBrotli()
496 if (UNLIKELY(pointer == nullptr)) return; in FreeForZlib()
Dnode_buffer.cc310 if (UNLIKELY(!store)) { in New()
328 if (UNLIKELY(!New(isolate, buf, 0, actual).ToLocal(&obj))) in New()
Dnode_http2.cc806 if (UNLIKELY(!session->CanAddStream() || in OnBeginHeadersCallback()
843 if (UNLIKELY(!stream)) in OnHeaderCallback()
1485 if (UNLIKELY(!session_)) in MaybeScheduleWrite()
1810 if (UNLIKELY(ret < 0)) { in OnStreamRead()
Dudp_wrap.cc552 if (!UNLIKELY(env()->options()->test_udp_no_try_send)) { in Send()
Denv.cc745 if (UNLIKELY(try_catch.HasCaught())) { in RunAndClearNativeImmediates()
/third_party/python/Objects/
Dobmalloc.c716 # define UNLIKELY(value) __builtin_expect((value), 0) macro
719 # define UNLIKELY(value) (value) macro
1745 if (UNLIKELY(pool->nextoffset <= pool->maxnextoffset)) { in pymalloc_pool_extend()
1770 if (UNLIKELY(usable_arenas == NULL)) { in allocate_from_new_pool()
1809 if (UNLIKELY(usable_arenas->nfreepools == 0)) { in allocate_from_new_pool()
1904 if (UNLIKELY(running_on_valgrind == -1)) { in pymalloc_alloc()
1907 if (UNLIKELY(running_on_valgrind)) { in pymalloc_alloc()
1912 if (UNLIKELY(nbytes == 0)) { in pymalloc_alloc()
1915 if (UNLIKELY(nbytes > SMALL_REQUEST_THRESHOLD)) { in pymalloc_alloc()
1932 if (UNLIKELY((pool->freeblock = *(block **)bp) == NULL)) { in pymalloc_alloc()
[all …]
/third_party/libffi/include/
Dffi_common.h147 #define UNLIKELY(x) __builtin_expect((x)!=0,0) macro
/third_party/gn/src/gn/
Dhash_table_base.h479 if (UNLIKELY(count_ * 4 >= size_ * 3)) { in UpdateAfterInsert()
Descape.cc62 if (UNLIKELY(buf_size > kStackStringBufferSize)) in StackOrHeapBuffer()
/third_party/gn/src/base/json/
Djson_parser.cc144 if (UNLIKELY(point == kUnicodeReplacementPoint)) { in Append()
/third_party/node/src/tracing/
Dtrace_event.h324 if (UNLIKELY(controller == nullptr)) return &disabled; in GetCategoryGroupEnabled()
/third_party/node/src/api/
Denvironment.cc100 if (LIKELY(ret != nullptr) || UNLIKELY(size == 0)) in Reallocate()

12