Home
last modified time | relevance | path

Searched refs:exp (Results 1 – 25 of 31) sorted by relevance

12

/system/core/libcutils/include/cutils/
Dcompiler.h25 # define CC_LIKELY( exp ) (__builtin_expect( !!(exp), true )) argument
26 # define CC_UNLIKELY( exp ) (__builtin_expect( !!(exp), false )) argument
28 # define CC_LIKELY( exp ) (__builtin_expect( !!(exp), 1 )) argument
29 # define CC_UNLIKELY( exp ) (__builtin_expect( !!(exp), 0 )) argument
Dfs.h30 #define TEMP_FAILURE_RETRY(exp) ({ \ argument
31 typeof (exp) _rc; \
33 _rc = (exp); \
/system/core/libcutils/include_vndk/cutils/
Dcompiler.h25 # define CC_LIKELY( exp ) (__builtin_expect( !!(exp), true )) argument
26 # define CC_UNLIKELY( exp ) (__builtin_expect( !!(exp), false )) argument
28 # define CC_LIKELY( exp ) (__builtin_expect( !!(exp), 1 )) argument
29 # define CC_UNLIKELY( exp ) (__builtin_expect( !!(exp), 0 )) argument
Dfs.h30 #define TEMP_FAILURE_RETRY(exp) ({ \ argument
31 typeof (exp) _rc; \
33 _rc = (exp); \
/system/media/audio_utils/
Dminifloat.c43 int exp; in gain_from_float() local
44 float r = frexpf(v, &exp); in gain_from_float()
45 if ((exp += EXCESS) > EXPONENT_MAX) { in gain_from_float()
48 if (-exp >= MANTISSA_BITS) { in gain_from_float()
52 return exp > 0 ? (exp << MANTISSA_BITS) | (mantissa & ~HIDDEN_BIT) : in gain_from_float()
53 (mantissa >> (1 - exp)) & MANTISSA_MAX; in gain_from_float()
/system/core/base/include/android-base/
Dmacros.h25 #define TEMP_FAILURE_RETRY(exp) \ argument
27 decltype(exp) _rc; \
29 _rc = (exp); \
120 #define LIKELY( exp ) (__builtin_expect( (exp) != 0, true )) argument
121 #define UNLIKELY( exp ) (__builtin_expect( (exp) != 0, false )) argument
/system/update_engine/scripts/update_payload/
Dformat_utils.py84 exp, magnitude = 0, 1
85 while exp < len(suffixes):
89 exp += 1
92 if exp != 0:
97 return '%d%s %s' % (whole, '.%d' % frac if frac else '', suffixes[exp - 1])
/system/core/libpixelflinger/
Dfixed.cpp96 const int32_t exp = lz - 16; in gglSqrtRecipx() local
97 if (exp <= 0) x >>= -exp>>1; in gglSqrtRecipx()
98 else x <<= (exp>>1) + (exp & 1); in gglSqrtRecipx()
99 if (exp & 1) { in gglSqrtRecipx()
148 int32_t exp = gglClz(x) - 16; in gglPowx() local
149 GGLfixed f = x << exp; in gglPowx()
155 p = gglMulAddx(p, y, y*exp); in gglPowx()
156 exp = gglFixedToIntFloor(p); in gglPowx()
157 if (exp < 31) { in gglPowx()
164 p >>= exp; in gglPowx()
/system/core/liblog/
Dlog_portability.h74 #define TEMP_FAILURE_RETRY(exp) \ argument
76 __typeof__(exp) _rc; \
78 _rc = (exp); \
/system/core/libutils/include/utils/
DCompat.h73 #define TEMP_FAILURE_RETRY(exp) ({ \ argument
74 typeof (exp) _rc; \
76 _rc = (exp); \
DFastStrcmp.h24 #define __predict_true(exp) __builtin_expect((exp) != 0, 1) argument
/system/libfmq/
DFmqInternal.cpp24 void check(bool exp) { in check() argument
25 CHECK(exp); in check()
/system/core/libcutils/
Dandroid_get_control_file.cpp45 #define TEMP_FAILURE_RETRY(exp) (exp) // KISS implementation argument
Dsockets_unix.cpp36 #define TEMP_FAILURE_RETRY(exp) (exp) // KISS implementation argument
/system/core/liblog/include_vndk/log/
Dlog_radio.h42 #define __predict_false(exp) __builtin_expect((exp) != 0, 0) argument
Dlog_system.h40 #define __predict_false(exp) __builtin_expect((exp) != 0, 0) argument
Dlog_main.h57 #define __predict_false(exp) __builtin_expect((exp) != 0, 0) argument
/system/core/liblog/include/log/
Dlog_system.h40 #define __predict_false(exp) __builtin_expect((exp) != 0, 0) argument
Dlog_radio.h42 #define __predict_false(exp) __builtin_expect((exp) != 0, 0) argument
Dlog_main.h57 #define __predict_false(exp) __builtin_expect((exp) != 0, 0) argument
/system/core/libpixelflinger/include/private/pixelflinger/
Dggl_fixed.h813 int32_t exp = 31; in gglClz()
814 if (x & 0xFFFF0000) { exp -=16; x >>= 16; } in gglClz()
815 if (x & 0x0000ff00) { exp -= 8; x >>= 8; } in gglClz()
816 if (x & 0x000000f0) { exp -= 4; x >>= 4; } in gglClz()
817 if (x & 0x0000000c) { exp -= 2; x >>= 2; } in gglClz()
818 if (x & 0x00000002) { exp -= 1; } in gglClz()
819 return exp; in gglClz()
/system/update_engine/update_manager/
Dreal_updater_provider_unittest.cc68 Time::Exploded exp; in RoundedToSecond() local
69 time.LocalExplode(&exp); in RoundedToSecond()
70 exp.millisecond = 0; in RoundedToSecond()
72 ignore_result(Time::FromLocalExploded(exp, &rounded_time)); in RoundedToSecond()
Dchromeos_policy.cc723 int exp = min(update_state.num_failures, in UpdateBackoffAndDownloadUrl() local
726 1 << exp, in UpdateBackoffAndDownloadUrl()
/system/core/liblog/tests/
Dliblog_benchmark.cpp41 #define LOG_FAILURE_RETRY(exp) \ argument
43 typeof(exp) _rc; \
45 _rc = (exp); \
/system/chre/external/kiss_fft/
Dkissfft.hh16 dst[i] = exp( std::complex<T_scalar>(0,i*phinc) ); in fill_twiddles()

12