Home
last modified time | relevance | path

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

12

/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/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/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()
Dsample.c60 int exp; in sample_from_float() local
61 float r = frexpf(v, &exp); in sample_from_float()
62 if ((exp += EXCESS) > EXPONENT_MAX) { in sample_from_float()
65 if (-exp >= MANTISSA_BITS) { in sample_from_float()
70 sample_minifloat_t ret = exp > 0 ? (exp << MANTISSA_BITS) | (mantissa & ~HIDDEN_BIT) : in sample_from_float()
71 (mantissa >> (1 - exp)) & MANTISSA_MAX; in sample_from_float()
/system/libbase/include/android-base/
Dmacros.h26 #define TEMP_FAILURE_RETRY(exp) \ argument
28 decltype(exp) _rc; \
30 _rc = (exp); \
83 #define LIKELY( exp ) (__builtin_expect( (exp) != 0, true )) argument
84 #define UNLIKELY( exp ) (__builtin_expect( (exp) != 0, false )) argument
/system/update_engine/scripts/update_payload/
Dformat_utils.py98 exp, magnitude = 0, 1
99 while exp < len(suffixes):
103 exp += 1
106 if exp != 0:
111 return '%d%s %s' % (whole, '.%d' % frac if frac else '', suffixes[exp - 1])
/system/core/libpixelflinger/
Dfixed.cpp85 const int32_t exp = lz - 16; in gglSqrtRecipx() local
86 if (exp <= 0) x >>= -exp>>1; in gglSqrtRecipx()
87 else x <<= (exp>>1) + (exp & 1); in gglSqrtRecipx()
88 if (exp & 1) { in gglSqrtRecipx()
137 int32_t exp = gglClz(x) - 16; in gglPowx() local
138 GGLfixed f = x << exp; in gglPowx()
144 p = gglMulAddx(p, y, y*exp); in gglPowx()
145 exp = gglFixedToIntFloor(p); in gglPowx()
146 if (exp < 31) { in gglPowx()
153 p >>= exp; in gglPowx()
/system/libfmq/
DFmqInternal.cpp24 void check(bool exp) { in check() argument
25 CHECK(exp); in check()
/system/core/libutils/include/utils/
DCompat.h81 #define TEMP_FAILURE_RETRY(exp) ({ \ argument
82 typeof (exp) _rc; \
84 _rc = (exp); \
DFastStrcmp.h24 #define __predict_true(exp) __builtin_expect((exp) != 0, 1) argument
/system/core/liblog/include/log/
Dlog_radio.h40 #define __predict_false(exp) __builtin_expect((exp) != 0, 0) argument
Dlog_system.h38 #define __predict_false(exp) __builtin_expect((exp) != 0, 0) argument
Dlog_main.h79 #define __predict_false(exp) __builtin_expect((exp) != 0, 0) argument
/system/core/liblog/include_vndk/log/
Dlog_radio.h40 #define __predict_false(exp) __builtin_expect((exp) != 0, 0) argument
Dlog_system.h38 #define __predict_false(exp) __builtin_expect((exp) != 0, 0) argument
Dlog_main.h79 #define __predict_false(exp) __builtin_expect((exp) != 0, 0) argument
/system/libbase/
Dexpected_test.cpp228 expected<T, int> exp = T(&destroyed); in TEST() local
325 expected<T, int> exp; in TEST() local
326 T& t = exp.emplace(3, 10.5f); in TEST()
328 EXPECT_TRUE(exp.has_value()); in TEST()
331 EXPECT_EQ(3, exp.value().a); in TEST()
332 EXPECT_EQ(10.5, exp.value().b); in TEST()
400 expected<T, int> exp = T(3, 10.5f); in TEST() local
402 EXPECT_EQ(3, exp->a); in TEST()
403 EXPECT_EQ(10.5f, exp->b); in TEST()
405 EXPECT_EQ(3, (*exp).a); in TEST()
[all …]
/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()
/system/bt/gd/cert/
Devent_stream.py155 except RpcError as exp:
161 raise exp
Dos_utils.py45 except subprocess.TimeoutExpired as exp:
/system/netd/server/
DNetlinkHandler.cpp38 #define BINDER_RETRY(exp) \ argument
42 auto _rc = (exp); \
/system/core/liblog/tests/
Dliblog_benchmark.cpp43 #define LOG_FAILURE_RETRY(exp) \ argument
45 typeof(exp) _rc; \
47 _rc = (exp); \

12