Home
last modified time | relevance | path

Searched refs:unlikely (Results 1 – 25 of 42) sorted by relevance

12

/system/core/libutils/binder/
DUnicode.cpp426 if (c < 0xc0) [[unlikely]] { in utf8_to_utf16_length()
440 if (c >= 0xf8) [[unlikely]] { in utf8_to_utf16_length()
493 if (c < 0xc0) [[unlikely]] { in utf8_to_utf16_no_null_terminator()
499 if (in + 1 > in_end) [[unlikely]] { in utf8_to_utf16_no_null_terminator()
507 if (in + 2 > in_end) [[unlikely]] { in utf8_to_utf16_no_null_terminator()
515 if (in + 3 > in_end) [[unlikely]] { in utf8_to_utf16_no_null_terminator()
518 if (c >= 0xf8) [[unlikely]] { in utf8_to_utf16_no_null_terminator()
524 if (w < 0x10000) [[unlikely]] { in utf8_to_utf16_no_null_terminator()
527 if (out + 2 > out_end) [[unlikely]] { in utf8_to_utf16_no_null_terminator()
/system/extras/verity/fec/
Dimage.h36 #define unlikely(x) __builtin_expect(!!(x), 0) macro
96 if (unlikely(offset >= ctx->inp_size)) { in image_get_interleaved_byte()
108 if (unlikely(offset >= ctx->inp_size)) { in image_set_interleaved_byte()
/system/extras/libfec/
Dfec_read.cpp72 if (unlikely(offset >= f->data_size)) { in is_erasure()
90 if (hashtree.hash_data.empty() || unlikely(offset >= f->data_size)) { in is_zero()
96 if (unlikely(hash_offset > in is_zero()
171 if (unlikely(use_erasures)) { in __ecc_read()
178 if (unlikely(rc < 0)) { in __ecc_read()
191 } else if (unlikely(rc > 0)) { in __ecc_read()
215 if (unlikely(!rs)) { in ecc_init()
223 if (unlikely(!ecc_data)) { in ecc_init()
526 if (unlikely(offset > UINT64_MAX - count)) { in fec_pread()
Dfec_private.h171 #ifndef unlikely
172 #define unlikely(x) __builtin_expect(!!(x), 0) macro
204 if (unlikely(!(p))) { \
/system/tools/aidl/tests/golden_output/aidl-test-interface-cpp-source/gen/android/aidl/tests/
DITestService.cpp55 …aidl_ret_status == ::android::UNKNOWN_TRANSACTION && ITestService::getDefaultImpl()) [[unlikely]] { in UnimplementedMethod()
90 …aidl_ret_status == ::android::UNKNOWN_TRANSACTION && ITestService::getDefaultImpl()) [[unlikely]] { in Deprecated()
121 …aidl_ret_status == ::android::UNKNOWN_TRANSACTION && ITestService::getDefaultImpl()) [[unlikely]] { in TestOneway()
149 …aidl_ret_status == ::android::UNKNOWN_TRANSACTION && ITestService::getDefaultImpl()) [[unlikely]] { in RepeatBoolean()
188 …aidl_ret_status == ::android::UNKNOWN_TRANSACTION && ITestService::getDefaultImpl()) [[unlikely]] { in RepeatByte()
227 …aidl_ret_status == ::android::UNKNOWN_TRANSACTION && ITestService::getDefaultImpl()) [[unlikely]] { in RepeatChar()
266 …aidl_ret_status == ::android::UNKNOWN_TRANSACTION && ITestService::getDefaultImpl()) [[unlikely]] { in RepeatInt()
305 …aidl_ret_status == ::android::UNKNOWN_TRANSACTION && ITestService::getDefaultImpl()) [[unlikely]] { in RepeatLong()
344 …aidl_ret_status == ::android::UNKNOWN_TRANSACTION && ITestService::getDefaultImpl()) [[unlikely]] { in RepeatFloat()
383 …aidl_ret_status == ::android::UNKNOWN_TRANSACTION && ITestService::getDefaultImpl()) [[unlikely]] { in RepeatDouble()
[all …]
DICircular.cpp38 …if (_aidl_ret_status == ::android::UNKNOWN_TRANSACTION && ICircular::getDefaultImpl()) [[unlikely]… in GetTestService()
DINamedCallback.cpp38 …dl_ret_status == ::android::UNKNOWN_TRANSACTION && INamedCallback::getDefaultImpl()) [[unlikely]] { in GetName()
DIOldName.cpp38 …if (_aidl_ret_status == ::android::UNKNOWN_TRANSACTION && IOldName::getDefaultImpl()) [[unlikely]]… in RealName()
DINewName.cpp38 …if (_aidl_ret_status == ::android::UNKNOWN_TRANSACTION && INewName::getDefaultImpl()) [[unlikely]]… in RealName()
/system/tools/aidl/tests/golden_output/frozen/aidl-test-interface-cpp-source/gen/android/aidl/tests/
DITestService.cpp55 …aidl_ret_status == ::android::UNKNOWN_TRANSACTION && ITestService::getDefaultImpl()) [[unlikely]] { in UnimplementedMethod()
90 …aidl_ret_status == ::android::UNKNOWN_TRANSACTION && ITestService::getDefaultImpl()) [[unlikely]] { in Deprecated()
121 …aidl_ret_status == ::android::UNKNOWN_TRANSACTION && ITestService::getDefaultImpl()) [[unlikely]] { in TestOneway()
149 …aidl_ret_status == ::android::UNKNOWN_TRANSACTION && ITestService::getDefaultImpl()) [[unlikely]] { in RepeatBoolean()
188 …aidl_ret_status == ::android::UNKNOWN_TRANSACTION && ITestService::getDefaultImpl()) [[unlikely]] { in RepeatByte()
227 …aidl_ret_status == ::android::UNKNOWN_TRANSACTION && ITestService::getDefaultImpl()) [[unlikely]] { in RepeatChar()
266 …aidl_ret_status == ::android::UNKNOWN_TRANSACTION && ITestService::getDefaultImpl()) [[unlikely]] { in RepeatInt()
305 …aidl_ret_status == ::android::UNKNOWN_TRANSACTION && ITestService::getDefaultImpl()) [[unlikely]] { in RepeatLong()
344 …aidl_ret_status == ::android::UNKNOWN_TRANSACTION && ITestService::getDefaultImpl()) [[unlikely]] { in RepeatFloat()
383 …aidl_ret_status == ::android::UNKNOWN_TRANSACTION && ITestService::getDefaultImpl()) [[unlikely]] { in RepeatDouble()
[all …]
DINamedCallback.cpp38 …dl_ret_status == ::android::UNKNOWN_TRANSACTION && INamedCallback::getDefaultImpl()) [[unlikely]] { in GetName()
DICircular.cpp38 …if (_aidl_ret_status == ::android::UNKNOWN_TRANSACTION && ICircular::getDefaultImpl()) [[unlikely]… in GetTestService()
DIOldName.cpp38 …if (_aidl_ret_status == ::android::UNKNOWN_TRANSACTION && IOldName::getDefaultImpl()) [[unlikely]]… in RealName()
DINewName.cpp38 …if (_aidl_ret_status == ::android::UNKNOWN_TRANSACTION && INewName::getDefaultImpl()) [[unlikely]]… in RealName()
/system/tools/aidl/tests/golden_output/aidl-test-versioned-interface-V3-cpp-source/gen/android/aidl/versioned/tests/
DIFooInterface.cpp41 …idl_ret_status == ::android::UNKNOWN_TRANSACTION && IFooInterface::getDefaultImpl()) [[unlikely]] { in originalApi()
75 …idl_ret_status == ::android::UNKNOWN_TRANSACTION && IFooInterface::getDefaultImpl()) [[unlikely]] { in acceptUnionAndReturnString()
121 …idl_ret_status == ::android::UNKNOWN_TRANSACTION && IFooInterface::getDefaultImpl()) [[unlikely]] { in ignoreParcelablesAndRepeatInt()
167 …idl_ret_status == ::android::UNKNOWN_TRANSACTION && IFooInterface::getDefaultImpl()) [[unlikely]] { in returnsLengthOfFooArray()
201 …idl_ret_status == ::android::UNKNOWN_TRANSACTION && IFooInterface::getDefaultImpl()) [[unlikely]] { in newApi()
/system/tools/aidl/tests/golden_output/frozen/aidl-test-versioned-interface-V3-cpp-source/gen/android/aidl/versioned/tests/
DIFooInterface.cpp41 …idl_ret_status == ::android::UNKNOWN_TRANSACTION && IFooInterface::getDefaultImpl()) [[unlikely]] { in originalApi()
75 …idl_ret_status == ::android::UNKNOWN_TRANSACTION && IFooInterface::getDefaultImpl()) [[unlikely]] { in acceptUnionAndReturnString()
121 …idl_ret_status == ::android::UNKNOWN_TRANSACTION && IFooInterface::getDefaultImpl()) [[unlikely]] { in ignoreParcelablesAndRepeatInt()
167 …idl_ret_status == ::android::UNKNOWN_TRANSACTION && IFooInterface::getDefaultImpl()) [[unlikely]] { in returnsLengthOfFooArray()
201 …idl_ret_status == ::android::UNKNOWN_TRANSACTION && IFooInterface::getDefaultImpl()) [[unlikely]] { in newApi()
/system/tools/aidl/tests/golden_output/frozen/aidl-test-versioned-interface-V2-cpp-source/gen/android/aidl/versioned/tests/
DIFooInterface.cpp41 …idl_ret_status == ::android::UNKNOWN_TRANSACTION && IFooInterface::getDefaultImpl()) [[unlikely]] { in originalApi()
75 …idl_ret_status == ::android::UNKNOWN_TRANSACTION && IFooInterface::getDefaultImpl()) [[unlikely]] { in acceptUnionAndReturnString()
121 …idl_ret_status == ::android::UNKNOWN_TRANSACTION && IFooInterface::getDefaultImpl()) [[unlikely]] { in ignoreParcelablesAndRepeatInt()
167 …idl_ret_status == ::android::UNKNOWN_TRANSACTION && IFooInterface::getDefaultImpl()) [[unlikely]] { in returnsLengthOfFooArray()
201 …idl_ret_status == ::android::UNKNOWN_TRANSACTION && IFooInterface::getDefaultImpl()) [[unlikely]] { in newApi()
/system/tools/aidl/tests/golden_output/aidl-test-versioned-interface-V2-cpp-source/gen/android/aidl/versioned/tests/
DIFooInterface.cpp41 …idl_ret_status == ::android::UNKNOWN_TRANSACTION && IFooInterface::getDefaultImpl()) [[unlikely]] { in originalApi()
75 …idl_ret_status == ::android::UNKNOWN_TRANSACTION && IFooInterface::getDefaultImpl()) [[unlikely]] { in acceptUnionAndReturnString()
121 …idl_ret_status == ::android::UNKNOWN_TRANSACTION && IFooInterface::getDefaultImpl()) [[unlikely]] { in ignoreParcelablesAndRepeatInt()
167 …idl_ret_status == ::android::UNKNOWN_TRANSACTION && IFooInterface::getDefaultImpl()) [[unlikely]] { in returnsLengthOfFooArray()
201 …idl_ret_status == ::android::UNKNOWN_TRANSACTION && IFooInterface::getDefaultImpl()) [[unlikely]] { in newApi()
/system/tools/aidl/tests/golden_output/frozen/aidl-cpp-java-test-interface-cpp-source/gen/android/aidl/tests/
DICppJavaTests.cpp42 …idl_ret_status == ::android::UNKNOWN_TRANSACTION && ICppJavaTests::getDefaultImpl()) [[unlikely]] { in RepeatBadParcelable()
80 …idl_ret_status == ::android::UNKNOWN_TRANSACTION && ICppJavaTests::getDefaultImpl()) [[unlikely]] { in RepeatGenericParcelable()
122 …idl_ret_status == ::android::UNKNOWN_TRANSACTION && ICppJavaTests::getDefaultImpl()) [[unlikely]] { in RepeatPersistableBundle()
164 …idl_ret_status == ::android::UNKNOWN_TRANSACTION && ICppJavaTests::getDefaultImpl()) [[unlikely]] { in ReversePersistableBundles()
206 …idl_ret_status == ::android::UNKNOWN_TRANSACTION && ICppJavaTests::getDefaultImpl()) [[unlikely]] { in ReverseUnion()
248 …idl_ret_status == ::android::UNKNOWN_TRANSACTION && ICppJavaTests::getDefaultImpl()) [[unlikely]] { in ReverseNamedCallbackList()
290 …idl_ret_status == ::android::UNKNOWN_TRANSACTION && ICppJavaTests::getDefaultImpl()) [[unlikely]] { in RepeatFileDescriptor()
332 …idl_ret_status == ::android::UNKNOWN_TRANSACTION && ICppJavaTests::getDefaultImpl()) [[unlikely]] { in ReverseFileDescriptorArray()
/system/tools/aidl/tests/golden_output/aidl-cpp-java-test-interface-cpp-source/gen/android/aidl/tests/
DICppJavaTests.cpp42 …idl_ret_status == ::android::UNKNOWN_TRANSACTION && ICppJavaTests::getDefaultImpl()) [[unlikely]] { in RepeatBadParcelable()
80 …idl_ret_status == ::android::UNKNOWN_TRANSACTION && ICppJavaTests::getDefaultImpl()) [[unlikely]] { in RepeatGenericParcelable()
122 …idl_ret_status == ::android::UNKNOWN_TRANSACTION && ICppJavaTests::getDefaultImpl()) [[unlikely]] { in RepeatPersistableBundle()
164 …idl_ret_status == ::android::UNKNOWN_TRANSACTION && ICppJavaTests::getDefaultImpl()) [[unlikely]] { in ReversePersistableBundles()
206 …idl_ret_status == ::android::UNKNOWN_TRANSACTION && ICppJavaTests::getDefaultImpl()) [[unlikely]] { in ReverseUnion()
248 …idl_ret_status == ::android::UNKNOWN_TRANSACTION && ICppJavaTests::getDefaultImpl()) [[unlikely]] { in ReverseNamedCallbackList()
290 …idl_ret_status == ::android::UNKNOWN_TRANSACTION && ICppJavaTests::getDefaultImpl()) [[unlikely]] { in RepeatFileDescriptor()
332 …idl_ret_status == ::android::UNKNOWN_TRANSACTION && ICppJavaTests::getDefaultImpl()) [[unlikely]] { in ReverseFileDescriptorArray()
/system/tools/aidl/tests/golden_output/aidl-test-versioned-interface-V1-cpp-source/gen/android/aidl/versioned/tests/
DIFooInterface.cpp41 …idl_ret_status == ::android::UNKNOWN_TRANSACTION && IFooInterface::getDefaultImpl()) [[unlikely]] { in originalApi()
75 …idl_ret_status == ::android::UNKNOWN_TRANSACTION && IFooInterface::getDefaultImpl()) [[unlikely]] { in acceptUnionAndReturnString()
121 …idl_ret_status == ::android::UNKNOWN_TRANSACTION && IFooInterface::getDefaultImpl()) [[unlikely]] { in ignoreParcelablesAndRepeatInt()
167 …idl_ret_status == ::android::UNKNOWN_TRANSACTION && IFooInterface::getDefaultImpl()) [[unlikely]] { in returnsLengthOfFooArray()
/system/tools/aidl/tests/golden_output/frozen/aidl-test-versioned-interface-V1-cpp-source/gen/android/aidl/versioned/tests/
DIFooInterface.cpp41 …idl_ret_status == ::android::UNKNOWN_TRANSACTION && IFooInterface::getDefaultImpl()) [[unlikely]] { in originalApi()
75 …idl_ret_status == ::android::UNKNOWN_TRANSACTION && IFooInterface::getDefaultImpl()) [[unlikely]] { in acceptUnionAndReturnString()
121 …idl_ret_status == ::android::UNKNOWN_TRANSACTION && IFooInterface::getDefaultImpl()) [[unlikely]] { in ignoreParcelablesAndRepeatInt()
167 …idl_ret_status == ::android::UNKNOWN_TRANSACTION && IFooInterface::getDefaultImpl()) [[unlikely]] { in returnsLengthOfFooArray()
/system/tools/aidl/tests/golden_output/aidl-test-interface-cpp-source/gen/android/aidl/tests/nested/
DINestedService.cpp45 …dl_ret_status == ::android::UNKNOWN_TRANSACTION && INestedService::getDefaultImpl()) [[unlikely]] { in flipStatus()
87 …dl_ret_status == ::android::UNKNOWN_TRANSACTION && INestedService::getDefaultImpl()) [[unlikely]] { in flipStatusWithCallback()
290 …if (_aidl_ret_status == ::android::UNKNOWN_TRANSACTION && ICallback::getDefaultImpl()) [[unlikely]… in done()
/system/tools/aidl/tests/golden_output/frozen/aidl-test-interface-cpp-source/gen/android/aidl/tests/nested/
DINestedService.cpp45 …dl_ret_status == ::android::UNKNOWN_TRANSACTION && INestedService::getDefaultImpl()) [[unlikely]] { in flipStatus()
87 …dl_ret_status == ::android::UNKNOWN_TRANSACTION && INestedService::getDefaultImpl()) [[unlikely]] { in flipStatusWithCallback()
290 …if (_aidl_ret_status == ::android::UNKNOWN_TRANSACTION && ICallback::getDefaultImpl()) [[unlikely]… in done()
/system/tools/aidl/tests/golden_output/tests/trunk_stable_test/android.aidl.test.trunk-V1-cpp-source/gen/android/aidl/test/trunk/
DITrunkStableTest.cpp54 …_ret_status == ::android::UNKNOWN_TRANSACTION && ITrunkStableTest::getDefaultImpl()) [[unlikely]] { in repeatParcelable()
111 …_ret_status == ::android::UNKNOWN_TRANSACTION && ITrunkStableTest::getDefaultImpl()) [[unlikely]] { in repeatEnum()
168 …_ret_status == ::android::UNKNOWN_TRANSACTION && ITrunkStableTest::getDefaultImpl()) [[unlikely]] { in repeatUnion()
225 …_ret_status == ::android::UNKNOWN_TRANSACTION && ITrunkStableTest::getDefaultImpl()) [[unlikely]] { in callMyCallback()
700 …_aidl_ret_status == ::android::UNKNOWN_TRANSACTION && IMyCallback::getDefaultImpl()) [[unlikely]] { in repeatParcelable()
757 …_aidl_ret_status == ::android::UNKNOWN_TRANSACTION && IMyCallback::getDefaultImpl()) [[unlikely]] { in repeatEnum()
814 …_aidl_ret_status == ::android::UNKNOWN_TRANSACTION && IMyCallback::getDefaultImpl()) [[unlikely]] { in repeatUnion()

12