Home
last modified time | relevance | path

Searched refs:b (Results 1 – 25 of 442) sorted by relevance

12345678910>>...18

/hardware/interfaces/wifi/1.2/
DREADME-NAN.md46 * Hard-coded values are in <b>bold</b>, e.g. <b>true</b> or <b>5</b>
59 * Index [NanBandIndex.NAN_BAND_24GHZ] = <b>true</b>
61 * uint8_t hopCountMax = <b>2</b>
67 * bool includePublishServiceIdsInBeacon = <b>true</b>
68 * uint8_t numberOfPublishServiceIdsInBeacon = <b>0</b>
69 * bool includeSubscribeServiceIdsInBeacon = <b>true</b>
70 * uint8_t numberOfSubscribeServiceIdsInBeacon = <b>0</b>
71 * uint16_t rssiWindowSize = <b>8</b>
73 * Normal run-time: set to <b>1800</b> (30 minutes)
74 * Tests: set to <b>120</b> (2 minutes)
[all …]
/hardware/interfaces/wifi/1.0/
DREADME-NAN.md43 * Hard-coded values are in <b>bold</b>, e.g. <b>true</b> or <b>5</b>
56 * Index [NanBandIndex.NAN_BAND_24GHZ] = <b>true</b>
58 * uint8_t hopCountMax = <b>2</b>
64 * bool includePublishServiceIdsInBeacon = <b>true</b>
65 * uint8_t numberOfPublishServiceIdsInBeacon = <b>0</b>
66 * bool includeSubscribeServiceIdsInBeacon = <b>true</b>
67 * uint8_t numberOfSubscribeServiceIdsInBeacon = <b>0</b>
68 * uint16_t rssiWindowSize = <b>8</b>
70 * Normal run-time: set to <b>1800</b> (30 minutes)
71 * Tests: set to <b>120</b> (2 minutes)
[all …]
/hardware/libhardware/modules/sensors/dynamic_sensor/HidUtils/test/
DTriStateTest.cpp45 tri_uint32_t b; in TEST() local
46 b = a; in TEST()
47 EXPECT_FALSE(b.isSet()); in TEST()
52 b = a; in TEST()
53 EXPECT_TRUE(b.isSet()); in TEST()
57 EXPECT_TRUE(b.isSet()); in TEST()
59 tri_uint32_t c(b); in TEST()
80 tri_uint32_t b; in TEST() local
81 EXPECT_EQ(static_cast<uint32_t>(100), (++b).get(100)); in TEST()
82 EXPECT_EQ(static_cast<uint32_t>(101), (b++).get(101)); in TEST()
[all …]
/hardware/qcom/msm8998/json-c/
Dlinkhash.c158 #define mix(a,b,c) \ argument
160 a -= c; a ^= rot(c, 4); c += b; \
161 b -= a; b ^= rot(a, 6); a += c; \
162 c -= b; c ^= rot(b, 8); b += a; \
163 a -= c; a ^= rot(c,16); c += b; \
164 b -= a; b ^= rot(a,19); a += c; \
165 c -= b; c ^= rot(b, 4); b += a; \
193 #define final(a,b,c) \ argument
195 c ^= b; c -= rot(b,14); \
197 b ^= a; b -= rot(a,25); \
[all …]
Djson_util.h18 #define json_min(a,b) ((a) < (b) ? (a) : (b)) argument
22 #define json_max(a,b) ((a) > (b) ? (a) : (b)) argument
/hardware/qcom/sdm845/display/sdm/libs/utils/
Dutils.cpp41 float gcd(float a, float b) { in gcd() argument
42 if (a < b) { in gcd()
43 std::swap(a, b); in gcd()
46 while (b != 0) { in gcd()
47 float tmp = b; in gcd()
48 b = fmodf(a, b); in gcd()
55 float lcm(float a, float b) { in lcm() argument
56 return (a * b) / gcd(a, b); in lcm()
/hardware/qcom/display/msm8998/sdm/libs/utils/
Dutils.cpp41 float gcd(float a, float b) { in gcd() argument
42 if (a < b) { in gcd()
43 std::swap(a, b); in gcd()
46 while (b != 0) { in gcd()
47 float tmp = b; in gcd()
48 b = fmodf(a, b); in gcd()
55 float lcm(float a, float b) { in lcm() argument
56 return (a * b) / gcd(a, b); in lcm()
/hardware/qcom/display/msm8909/sdm/libs/utils/
Dutils.cpp41 float gcd(float a, float b) { in gcd() argument
42 if (a < b) { in gcd()
43 std::swap(a, b); in gcd()
46 while (b != 0) { in gcd()
47 float tmp = b; in gcd()
48 b = fmodf(a, b); in gcd()
55 float lcm(float a, float b) { in lcm() argument
56 return (a * b) / gcd(a, b); in lcm()
/hardware/qcom/display/msm8909w_3100/sdm/libs/utils/
Dutils.cpp41 float gcd(float a, float b) { in gcd() argument
42 if (a < b) { in gcd()
43 std::swap(a, b); in gcd()
46 while (b != 0) { in gcd()
47 float tmp = b; in gcd()
48 b = fmodf(a, b); in gcd()
55 float lcm(float a, float b) { in lcm() argument
56 return (a * b) / gcd(a, b); in lcm()
/hardware/interfaces/broadcastradio/common/utils1x/
DUtils.cpp36 auto b = static_cast<ProgramType>(ib); in isCompatibleProgramType() local
38 if (a == b) return true; in isCompatibleProgramType()
39 if (a == ProgramType::AM && b == ProgramType::AM_HD) return true; in isCompatibleProgramType()
40 if (a == ProgramType::AM_HD && b == ProgramType::AM) return true; in isCompatibleProgramType()
41 if (a == ProgramType::FM && b == ProgramType::FM_HD) return true; in isCompatibleProgramType()
42 if (a == ProgramType::FM_HD && b == ProgramType::FM) return true; in isCompatibleProgramType()
46 static bool bothHaveId(const ProgramSelector& a, const ProgramSelector& b, in bothHaveId() argument
48 return hasId(a, type) && hasId(b, type); in bothHaveId()
51 static bool anyHaveId(const ProgramSelector& a, const ProgramSelector& b, in anyHaveId() argument
53 return hasId(a, type) || hasId(b, type); in anyHaveId()
[all …]
/hardware/interfaces/audio/common/all-versions/util/include/common/all-versions/
DVersionMacro.h33 #define CONCAT_3(a, b, c) a##b##c argument
34 #define EXPAND_CONCAT_3(a, b, c) CONCAT_3(a, b, c) argument
38 #define CONCAT_4(a, b, c, d) a##b##c##d argument
39 #define EXPAND_CONCAT_4(a, b, c, d) CONCAT_4(a, b, c, d) argument
/hardware/qcom/camera/msm8998/QCamera2/util/
DQCameraCommon.h39 #define ALIGN(a, b) (((a) + (b)) & ~(b)) argument
40 #define MAX(a, b) ((a) > (b) ? (a) : (b)) argument
/hardware/libhardware/modules/sensors/dynamic_sensor/HidUtils/
DHidReport.cpp162 int64_t b = mLogicalMax; in getLogicalRange() local
164 if (a > b) { in getLogicalRange()
167 b = b & ((static_cast<int64_t>(1) << getSize()) - 1); in getLogicalRange()
168 if (a > b) { in getLogicalRange()
173 return {a, b}; in getLogicalRange()
183 int64_t b = mPhysicalMax.get(0); in getPhysicalRange() local
185 if (a > b) { in getPhysicalRange()
187 b = b & ((static_cast<int64_t>(1) << getSize()) - 1); in getPhysicalRange()
188 if (a > b) { in getPhysicalRange()
192 return {a, b}; in getPhysicalRange()
/hardware/qcom/camera/msm8998/QCamera2/HAL3/
DQCamera3HALHeader.h42 #define MAX(a, b) ((a) > (b) ? (a) : (b)) argument
43 #define MIN(a, b) ((a) < (b) ? (a) : (b)) argument
/hardware/libhardware/include/hardware/
Dkeymaster_defs.h550 #define KEYMASTER_SIMPLE_COMPARE(a, b) (a < b) ? -1 : ((a > b) ? 1 : 0) argument
551 inline int keymaster_param_compare(const keymaster_key_param_t* a, const keymaster_key_param_t* b) { in keymaster_param_compare() argument
552 int retval = KEYMASTER_SIMPLE_COMPARE((uint32_t)a->tag, (uint32_t)b->tag); in keymaster_param_compare()
562 return KEYMASTER_SIMPLE_COMPARE(a->enumerated, b->enumerated); in keymaster_param_compare()
565 return KEYMASTER_SIMPLE_COMPARE(a->integer, b->integer); in keymaster_param_compare()
568 return KEYMASTER_SIMPLE_COMPARE(a->long_integer, b->long_integer); in keymaster_param_compare()
570 return KEYMASTER_SIMPLE_COMPARE(a->date_time, b->date_time); in keymaster_param_compare()
574 if (a->blob.data_length != 0 && b->blob.data_length == 0) in keymaster_param_compare()
576 if (a->blob.data_length == 0 && b->blob.data_length == 0) in keymaster_param_compare()
578 if (a->blob.data_length == 0 && b->blob.data_length > 0) in keymaster_param_compare()
[all …]
/hardware/google/av/codec2/include/
DC2.h181 …ype operator|(etype a, etype b) { return (etype)(std::underlying_type<etype>::type(a) | std::under…
182 …pe &operator|=(etype &a, etype b) { a = (etype)(std::underlying_type<etype>::type(a) | std::underl…
183 …ype operator&(etype a, etype b) { return (etype)(std::underlying_type<etype>::type(a) & std::under…
184 …pe &operator&=(etype &a, etype b) { a = (etype)(std::underlying_type<etype>::type(a) & std::underl…
185 …ype operator^(etype a, etype b) { return (etype)(std::underlying_type<etype>::type(a) ^ std::under…
186 …pe &operator^=(etype &a, etype b) { a = (etype)(std::underlying_type<etype>::type(a) ^ std::underl…
385 inline constexpr c2_cntr_t<T> operator+(const U &a, const c2_cntr_t<T> &b) {
386 return b + a;
390 inline constexpr c2_cntr_t<T> operator-(const U &a, const c2_cntr_t<T> &b) {
391 return c2_cntr_t<T>(a) - b;
[all …]
/hardware/interfaces/keymaster/4.0/support/
Dkeymaster_utils.cpp23 inline static bool operator<(const hidl_vec<uint8_t>& a, const hidl_vec<uint8_t>& b) { in operator <() argument
24 auto result = memcmp(a.data(), b.data(), std::min(a.size(), b.size())); in operator <()
25 if (!result) return a.size() < b.size(); in operator <()
31 const hidl_array<uint8_t, SIZE>& b) { in operator <() argument
32 return memcmp(a.data(), b.data(), SIZE) == -1; in operator <()
38 bool operator<(const HmacSharingParameters& a, const HmacSharingParameters& b) { in operator <() argument
39 return std::tie(a.seed, a.nonce) < std::tie(b.seed, b.nonce); in operator <()
/hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-stub/src/
Dloc_apicb_appinit.c34 #define RPC_FUNC_VERSION_BASE(a,b) a ## b argument
35 #define RPC_CB_FUNC_VERS(a,b) RPC_FUNC_VERSION_BASE(a,b) argument
/hardware/qcom/gps/msm8996/loc_api/libloc_api-rpc-50001/libloc_api-rpc-stub/src/
Dloc_apicb_appinit.c34 #define RPC_FUNC_VERSION_BASE(a,b) a ## b argument
35 #define RPC_CB_FUNC_VERS(a,b) RPC_FUNC_VERSION_BASE(a,b) argument
/hardware/qcom/gps/msm8909/loc_api/libloc_api-rpc-50001/libloc_api-rpc-stub/src/
Dloc_apicb_appinit.c34 #define RPC_FUNC_VERSION_BASE(a,b) a ## b argument
35 #define RPC_CB_FUNC_VERS(a,b) RPC_FUNC_VERSION_BASE(a,b) argument
/hardware/qcom/sdm845/gps/msm8994/loc_api/libloc_api-rpc-50001/libloc_api-rpc-stub/src/
Dloc_apicb_appinit.c34 #define RPC_FUNC_VERSION_BASE(a,b) a ## b argument
35 #define RPC_CB_FUNC_VERS(a,b) RPC_FUNC_VERSION_BASE(a,b) argument
/hardware/qcom/gps/msm8084/loc_api/libloc_api-rpc-50001/libloc_api-rpc-stub/src/
Dloc_apicb_appinit.c34 #define RPC_FUNC_VERSION_BASE(a,b) a ## b argument
35 #define RPC_CB_FUNC_VERS(a,b) RPC_FUNC_VERSION_BASE(a,b) argument
/hardware/qcom/sdm845/gps/msm8909/loc_api/libloc_api-rpc-50001/libloc_api-rpc-stub/src/
Dloc_apicb_appinit.c34 #define RPC_FUNC_VERSION_BASE(a,b) a ## b argument
35 #define RPC_CB_FUNC_VERS(a,b) RPC_FUNC_VERSION_BASE(a,b) argument
/hardware/qcom/gps/msm8994/loc_api/libloc_api-rpc-50001/libloc_api-rpc-stub/src/
Dloc_apicb_appinit.c34 #define RPC_FUNC_VERSION_BASE(a,b) a ## b argument
35 #define RPC_CB_FUNC_VERS(a,b) RPC_FUNC_VERSION_BASE(a,b) argument
/hardware/qcom/sdm845/gps/msm8996/loc_api/libloc_api-rpc-50001/libloc_api-rpc-stub/src/
Dloc_apicb_appinit.c34 #define RPC_FUNC_VERSION_BASE(a,b) a ## b argument
35 #define RPC_CB_FUNC_VERS(a,b) RPC_FUNC_VERSION_BASE(a,b) argument

12345678910>>...18