/third_party/boost/libs/beast/test/bench/parser/nodejs-parser/ |
D | http_parser.c | 72 # 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/ |
D | compiler_specific.h | 42 #if !defined(UNLIKELY) 44 #define UNLIKELY(x) __builtin_expect(!!(x), 0) macro 46 #define UNLIKELY(x) (x) macro
|
D | logging.h | 397 UNLIKELY(!(condition)) ? IMMEDIATE_CRASH() : EAT_STREAM_PARAMETERS 404 LAZY_STREAM(PLOG_STREAM(FATAL), UNLIKELY(!(condition))); \
|
/third_party/cef/include/base/ |
D | cef_compiler_specific.h | 263 #if !defined(UNLIKELY) 265 #define UNLIKELY(x) __builtin_expect(!!(x), 0) macro 267 #define UNLIKELY(x) (x) macro
|
/third_party/libffi/src/ |
D | prep_cif.c | 41 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/ |
D | debug_utils-inl.h | 137 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()
|
D | cares_wrap.cc | 893 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 …]
|
D | env-inl.h | 109 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()
|
D | util.h | 142 #define UNLIKELY(expr) __builtin_expect(!!(expr), 0) macro 146 #define UNLIKELY(expr) expr macro 155 if (UNLIKELY(!(expr))) { \
|
D | string_decoder.cc | 134 if (UNLIKELY(nread == 0)) { in DecodeData()
|
D | node_native_module.cc | 225 if (UNLIKELY(source_it == source_.end())) { in LoadBuiltinModuleSource()
|
D | util-inl.h | 344 if (UNLIKELY(allocated == nullptr)) { in UncheckedRealloc() 402 if (UNLIKELY(str.size() >= static_cast<size_t>(v8::String::kMaxLength))) { in ToV8Value()
|
D | base_object-inl.h | 57 if (UNLIKELY(has_pointer_data())) { in ~BaseObject()
|
D | node_zlib.cc | 488 if (UNLIKELY(memory == nullptr)) return nullptr; in AllocForBrotli() 496 if (UNLIKELY(pointer == nullptr)) return; in FreeForZlib()
|
D | node_buffer.cc | 310 if (UNLIKELY(!store)) { in New() 328 if (UNLIKELY(!New(isolate, buf, 0, actual).ToLocal(&obj))) in New()
|
D | node_http2.cc | 806 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()
|
D | udp_wrap.cc | 552 if (!UNLIKELY(env()->options()->test_udp_no_try_send)) { in Send()
|
D | env.cc | 745 if (UNLIKELY(try_catch.HasCaught())) { in RunAndClearNativeImmediates()
|
/third_party/python/Objects/ |
D | obmalloc.c | 716 # 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/ |
D | ffi_common.h | 147 #define UNLIKELY(x) __builtin_expect((x)!=0,0) macro
|
/third_party/gn/src/gn/ |
D | hash_table_base.h | 479 if (UNLIKELY(count_ * 4 >= size_ * 3)) { in UpdateAfterInsert()
|
D | escape.cc | 62 if (UNLIKELY(buf_size > kStackStringBufferSize)) in StackOrHeapBuffer()
|
/third_party/gn/src/base/json/ |
D | json_parser.cc | 144 if (UNLIKELY(point == kUnicodeReplacementPoint)) { in Append()
|
/third_party/node/src/tracing/ |
D | trace_event.h | 324 if (UNLIKELY(controller == nullptr)) return &disabled; in GetCategoryGroupEnabled()
|
/third_party/node/src/api/ |
D | environment.cc | 100 if (LIKELY(ret != nullptr) || UNLIKELY(size == 0)) in Reallocate()
|