Home
last modified time | relevance | path

Searched refs:B (Results 1 – 25 of 126) sorted by relevance

123456

/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/
Ddb_utilities.h289 inline double db_ScalarProduct4(const double A[4],const double B[4]) in db_ScalarProduct4()
291 return(A[0]*B[0]+A[1]*B[1]+A[2]*B[2]+A[3]*B[3]); in db_ScalarProduct4()
296 inline double db_ScalarProduct7(const double A[7],const double B[7]) in db_ScalarProduct7()
298 return(A[0]*B[0]+A[1]*B[1]+A[2]*B[2]+ in db_ScalarProduct7()
299 A[3]*B[3]+A[4]*B[4]+A[5]*B[5]+ in db_ScalarProduct7()
300 A[6]*B[6]); in db_ScalarProduct7()
305 inline double db_ScalarProduct9(const double A[9],const double B[9]) in db_ScalarProduct9()
307 return(A[0]*B[0]+A[1]*B[1]+A[2]*B[2]+ in db_ScalarProduct9()
308 A[3]*B[3]+A[4]*B[4]+A[5]*B[5]+ in db_ScalarProduct9()
309 A[6]*B[6]+A[7]*B[7]+A[8]*B[8]); in db_ScalarProduct9()
[all …]
Ddb_utilities_linalg.h123 inline void db_RowOperation3(double A[3],const double B[3],double mult) in db_RowOperation3()
125 *A++ -= mult*(*B++); *A++ -= mult*(*B++); *A++ -= mult*(*B++); in db_RowOperation3()
131 inline void db_RowOperation7(double A[7],const double B[7],double mult) in db_RowOperation7()
133 …*A++ -= mult*(*B++); *A++ -= mult*(*B++); *A++ -= mult*(*B++); *A++ -= mult*(*B++); *A++ -= mult*(… in db_RowOperation7()
134 *A++ -= mult*(*B++); *A++ -= mult*(*B++); in db_RowOperation7()
140 inline void db_RowOperation9(double A[9],const double B[9],double mult) in db_RowOperation9()
142 …*A++ -= mult*(*B++); *A++ -= mult*(*B++); *A++ -= mult*(*B++); *A++ -= mult*(*B++); *A++ -= mult*(… in db_RowOperation9()
143 *A++ -= mult*(*B++); *A++ -= mult*(*B++); *A++ -= mult*(*B++); *A++ -= mult*(*B++); in db_RowOperation9()
150 inline void db_Swap7(double A[7],double B[7]) in db_Swap7()
153 …temp= *A; *A++ = *B; *B++ =temp; temp= *A; *A++ = *B; *B++ =temp; temp= *A; *A++ = *B; *B++ … in db_Swap7()
[all …]
Ddb_utilities_linalg.cpp319 const double *B; in db_NullVectorOrthonormal6x7() local
333 B=A+i; in db_NullVectorOrthonormal6x7()
334 db_MultiplyScalarCopy7(x,A,-B[0]); in db_NullVectorOrthonormal6x7()
335 db_RowOperation7(x,A+7 ,B[7]); in db_NullVectorOrthonormal6x7()
336 db_RowOperation7(x,A+14,B[14]); in db_NullVectorOrthonormal6x7()
337 db_RowOperation7(x,A+21,B[21]); in db_NullVectorOrthonormal6x7()
338 db_RowOperation7(x,A+28,B[28]); in db_NullVectorOrthonormal6x7()
339 db_RowOperation7(x,A+35,B[35]); in db_NullVectorOrthonormal6x7()
348 const double *B; in db_NullVectorOrthonormal8x9() local
364 B=A+i; in db_NullVectorOrthonormal8x9()
[all …]
/packages/modules/Bluetooth/system/tools/irk-calculator/
DREADME.mkdn35 RPA: 58:9B:3E:A3:5B:24
43 IRK Byte Array: [01, 02, 03, 04, 05, 06, 07, 08, 09, 0A, 0B, 0C, 0D, 0E, 0F, 10]
47 irk slice: [01, 02, 03, 04, 05, 06, 07, 08, 09, 0A, 0B, 0C, 0D, 0E, 0F, 10]
49 K: [01, 02, 03, 04, 05, 06, 07, 08, 09, 0A, 0B, 0C, 0D, 0E, 0F, 10]
53 key_reversed: [10, 0F, 0E, 0D, 0C, 0B, 0A, 09, 08, 07, 06, 05, 04, 03, 02, 01]
64 $ cargo build && RUST_BACKTRACE=1 ./target/debug/irk-calculator -c verify -a "58:9B:3E:A3:5B:24" -i…
65 Verifying 0102030405060708090a0b0c0d0e0f10 and 58:9B:3E:A3:5B:24
66 IRK Byte Array: [01, 02, 03, 04, 05, 06, 07, 08, 09, 0A, 0B, 0C, 0D, 0E, 0F, 10]
67 Address Byte Array: [58, 9B, 3E, A3, 5B, 24]
68 prand: [58, 9B, 3E]
[all …]
/packages/modules/IntentResolver/java/src/com/android/intentresolver/util/
DParallelIteration.kt26 suspend fun <A, B> Iterable<A>.mapParallel( in <lambda>()
28 block: suspend (A) -> B, in <lambda>()
29 ): List<B> = in <lambda>()
36 suspend fun <A, B> Sequence<A>.mapParallel( in mapParallel()
38 block: suspend (A) -> B, in mapParallel()
39 ): List<B> = asIterable().mapParallel(parallelism, block) in mapParallel()
41 private suspend fun <A, B> Iterable<A>.mapParallel(block: suspend (A) -> B): List<B> = in mapParallel()
52 suspend fun <A, B> Iterable<A>.mapParallelIndexed( in mapParallelIndexed()
54 block: suspend (Int, A) -> B, in mapParallelIndexed()
55 ): List<B> = in mapParallelIndexed()
[all …]
/packages/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/api/optics/
DTraversal.kt23 typealias ListMapping<A, B> = Traversal<List<A>, List<B>, A, B>
30 abstract class Traversal<S, T, A, B>(
36 val targetFieldType: Class<out B>
52 abstract fun modify(entity: S, modifier: (A) -> B): T in every()
58 abstract fun modifyWithAction(entity: S, modifier: (value: A) -> Action<out B>): Action<out T> in every()
61 fun lift(modifier: (A) -> B): (S) -> T = { modify(it, modifier) } in every()
65 infix fun <AIn : A, BIn : B, NewA : Any?, NewB : Any?> compose( in compose()
90 it as B in compose()
104 Action.Update(it as B) in compose()
173 inline fun <reified A : Any, reified B : Any> listMap(): ListMapping<A, B> { in listMap()
[all …]
DLens.kt49 abstract class Lens<S, T, A, B>(
55 val targetFieldType: Class<out B>
62 private val traversalRepresentation: Traversal<S, T, A, B> by lazy { in <lambda>()
64 Traversal<S, T, A, B>( in <lambda>()
75 override fun modify(entity: S, modifier: (A) -> B): T = this@Lens.modify(entity, modifier) in <lambda>()
79 modifier: (value: A) -> Action<out B> in <lambda>()
90 abstract fun set(entity: S, newValue: B): T in get()
112 inline fun lift(crossinline mapping: (A) -> B): (S) -> T = { set(it, mapping(get(it))) } in get()
130 inline fun modify(entity: S, crossinline modifier: (A) -> B): T = lift(modifier)(entity) in modify()
133 fun modifyWithAction(entity: S, modifier: (value: A) -> Action<out B>): Action<out T> { in modify()
[all …]
DOpticsManifest.kt37 fun <S, T, A, B> composeTraversal( in composeTraversal()
42 targetFieldType: Class<out B>, in composeTraversal()
43 ): Traversal<S, T, A, B> in composeTraversal()
52 inline fun <reified S, reified T, reified A, reified B> OpticsManifest.composePoly( in composeTraversal()
54 ): Traversal<S, T, A, B> { in composeTraversal()
55 return composeTraversal(accessPath, S::class.java, T::class.java, A::class.java, B::class.java) in composeTraversal()
/packages/modules/StatsD/lib/libkll/encoding/
Dvarint.h53 static const uint32_t B = 128; in Encode32Inline() local
57 *(ptr++) = static_cast<uint8_t>(v | B); in Encode32Inline()
60 *(ptr++) = static_cast<uint8_t>(v | B); in Encode32Inline()
61 *(ptr++) = static_cast<uint8_t>((v >> 7) | B); in Encode32Inline()
64 *(ptr++) = static_cast<uint8_t>(v | B); in Encode32Inline()
65 *(ptr++) = static_cast<uint8_t>((v >> 7) | B); in Encode32Inline()
66 *(ptr++) = static_cast<uint8_t>((v >> 14) | B); in Encode32Inline()
69 *(ptr++) = static_cast<uint8_t>(v | B); in Encode32Inline()
70 *(ptr++) = static_cast<uint8_t>((v >> 7) | B); in Encode32Inline()
71 *(ptr++) = static_cast<uint8_t>((v >> 14) | B); in Encode32Inline()
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWaitingStateTest.java97 public TestState B = new TestState("B"); field in WaitingStateTest.ExternalTransitionStateMachine
104 addState(B, A); in ExternalTransitionStateMachine()
112 B.resetTestFlags(); in resetTestFlags()
129 public TestState B = new TestState("B"); field in WaitingStateTest.PseudoLocalTransitionStateMachine
142 addState(B, Acontainer); in PseudoLocalTransitionStateMachine()
152 B.resetTestFlags(); in resetTestFlags()
199 transitionToState(sm, sm.B); in testExternalTransitionStateMachine()
201 verifyEnterExit(sm.B, true, false); in testExternalTransitionStateMachine()
206 verifyEnterExit(sm.B, false, true); in testExternalTransitionStateMachine()
223 transitionToState(sm, sm.B); in testExternalTransitionStateMachine()
[all …]
/packages/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/api/operation/
DOperation.kt29 abstract class Operation<A, B>(
32 val outputType: Class<out B>,
33 ) : (A) -> Action<out B> {
37 abstract override fun invoke(value: A): Action<out B> in invoke()
94 inline fun <reified A, reified B> createTransform( in createTransform()
96 crossinline block: (value: A) -> Action<out B>, in createTransform()
97 ): Operation<A, B> { in createTransform()
98 return object : Operation<A, B>(name, A::class.java, B::class.java) { in createTransform()
99 override fun invoke(value: A): Action<out B> = block(value) in createTransform()
DAction.kt20 sealed class Action<B> {
28 data class Update<B>(val newValue: B) : Action<B>()
/packages/modules/NeuralNetworks/tools/systrace_parser/
Dcontract-between-code-and-parser.txt35 ... funcP(...) { t0: t_m_w:B|T1|[NN_LR_PP]funcP …
45 ... funcA1(...) { t0: t_m_w:B|T1|[NN_LA_PP]funcE1 …
46 …NNTRACE_APP(NNTRACE_PHASE_PREPARATION, t1: t_m_w:B|T1|[NN_LR_PP]funcC1 …
68 ... funcC1(...) { t0: t_m_w:B|T1|[NN_LC_PTR]funcC1 …
69 …NNTRACE_TRANS("funcC1"); t1: t_m_w:B|T1|[SW][NN_LC_PCO]funcC1 …
82 ... funcR2(...) { t0: t_m_w:B|T1|[NN_LR_PE]funcR2 …
83 …NNTRACE_RT(NNTRACE_PHASE_EXECUTION, t1: t_m_w:B|T1|[NN_LC_PCO]funcC2 …
97 ... funcR3(...) { t0: t_m_w:B|T1|[NN_LR_PE]funcR3 …
98 …NNTRACE_RT(NNTRACE_PHASE_EXECUTION, t1: t_m_w:B|T1|[NN_LR_PE]funcR4 …
114 ... funcR5(...) { t0: t_m_w:B|T1|[NN_LR_PC]funcR5 …
[all …]
/packages/modules/Bluetooth/system/gd/common/testing/
Dwired_pair_of_bidi_queues.h38 template <class A, class B, std::unique_ptr<B> (*A_TO_B)(std::unique_ptr<A>)>
55 common::BidiQueue<B, A> queue_a_{10};
56 common::BidiQueue<B, A> queue_b_{10};
57 os::EnqueueBuffer<B> down_buffer_a_{queue_a_.GetDownEnd()};
58 os::EnqueueBuffer<B> down_buffer_b_{queue_b_.GetDownEnd()};
74 common::BidiQueueEnd<A, B>* GetQueueAUpEnd() { in GetQueueAUpEnd()
79 common::BidiQueueEnd<A, B>* GetQueueBUpEnd() { in GetQueueBUpEnd()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
DNowOrLaterWrapper.kt20 abstract class NowOrLaterWrapper<A, B>(private val mWrapped: NowOrLater<A>) : NowOrLater<B> {
21 override fun getLater(consumer: Consumer<in B>?) { in getLater()
31 override val now: B
43 abstract operator fun get(value: A): B
/packages/apps/DocumentsUI/tests/res/raw/
Dimages_tar14 cL�Py2��W��_,ݨ��l�*��z4m:����7<k֎�Bl���$/�Pe��0i����=���ϋ������+�ar� � f����Go�'�5���vb�…
17 g!d���+ߏ �������h�̌�f��Q����z+�Ȫk O�q����:$B�_�;��䶢���o�s�e}�J�)��h)ΞD[�&Z�/��gY�MN…
19 …0��$�M�5� �� ��y��I"���k���E�g��r�0�mr�+����!|J3��A���j����#ɿ�f*'���s~>�f��[d̞'B�e驹�a��W�-
26 �R�u�fo�?��J⁴���-{��87o(��d]aRK�� ]��� K纫�|T�s�->^v���������D�6�B�j���;���YN��7��J�ͥ�y…
28 0�d�M�B�=h��@��uu�@��%ə&�ĭ�cyo�J%\'/+7�,�����b��&��FKf8��~9��0�>'<u��s]��}��+�LK&�(�…
30 …DGAT& -��y�c#�F��B׶ӿ�����6�P�g��#���K�{У��,� �x�ԫ�UlN���M��F���r����@�삟��������opiR���…
34 [�o�R(_V�'.��ߋ��Y�M�Gߪ��(j����B���� f�%�|��?�4��o f֘4����#C�,��NP1ip��4�2:��>vǝ�Ù@����Q�…
35 …jz�ս�'��ߋ�p�g�j�������*�9T�\���j�wZ9��ǻP���{~8ج&z��ᝪw�V���7��������?�B���(��|���'��Ɔ%y�…
39 ���㉌�������E�xj��V�� &CT�B�J�z�(Z4)�u'�q(nNq¬�`[�
41 �Zko�#�2�eOV0� �n��<��`mA��^�P1("=>�$B"�1$���v%�ʦ��F~ o�_$(��:QcG<Pm�w֥�A�:��d��rV�����7
[all …]
/packages/apps/Gallery2/jni/filters/
Dsaturated.c33 float R, G, B; in JNIFUNCF() local
41 B = b; in JNIFUNCF()
43 float Rc = R * (Rt + S) + G * Gt + B * Bt; in JNIFUNCF()
44 float Gc = R * Rt + G * (Gt + S) + B * Bt; in JNIFUNCF()
45 float Bc = R * Rt + G * Gt + B * (Bt + S); in JNIFUNCF()
Dvibrance.c35 float R, G, B; in JNIFUNCF() local
50 B = b; in JNIFUNCF()
52 float Rc = R * (Rt + S) + G * Gt + B * Bt; in JNIFUNCF()
53 float Gc = R * Rt + G * (Gt + S) + B * Bt; in JNIFUNCF()
54 float Bc = R * Rt + G * Gt + B * (Bt + S); in JNIFUNCF()
/packages/modules/Connectivity/staticlibs/netd/libnetdutils/
DSliceTest.cpp85 struct B { in TEST_F() struct
89 bool operator==(const B& other) const { in TEST_F() argument
96 B origB = {"hello world", true, 1234}; in TEST_F()
115 B b{}; in TEST_F()
117 EXPECT_EQ(sizeof(A) + sizeof(B), len); in TEST_F()
125 B b{}; in TEST_F()
127 EXPECT_EQ(2 * sizeof(A) + sizeof(B), len); in TEST_F()
/packages/services/Car/car-lib/src/com/android/car/internal/util/
DFunctionalUtils.java62 public static <A, B> BiConsumer<A, B> uncheckExceptions(ThrowingBiConsumer<A, B> action) { in uncheckExceptions()
248 public interface ThrowingBiConsumer<A, B> extends BiConsumer<A, B> {
250 void acceptOrThrow(A a, B b) throws Exception;
253 default void accept(A a, B b) {
/packages/modules/Bluetooth/system/conf/
Dinterop_database.conf87 00:18:6B = Address_Based
149 48:F0:7B = Address_Based
232 B8:D5:0B = Address_Based
246 00:1B:DC = Address_Based
267 48:F0:7B = Address_Based
362 04:5D:4B = Address_Based
373 AC:9B:0A = Address_Based
399 00:02:5B = Address_Based
412 FC:4B:BC = Address_Based
416 8C:57:9B = Address_Based
[all …]
/packages/modules/Bluetooth/system/gd/common/
Dbidi_queue_unittest.cc57 class B {}; class
120 BidiQueue<A, B> queue(100); in TEST_F()
121 TestBidiQueueEnd<B, A> test_up(queue.GetUpEnd(), up_handler_); in TEST_F()
122 TestBidiQueueEnd<A, B> test_down(queue.GetDownEnd(), down_handler_); in TEST_F()
124 auto sending_b = new B(); in TEST_F()
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/util/
DTruthUtils.kt22 fun <A, B> IterableSubject.comparingElementsUsingTransform(
24 function: (A) -> B,
25 ): IterableSubject.UsingCorrespondence<A, B> =
/packages/apps/Nfc/apex/hiddenapi/
Dhiddenapi-max-target-o.txt3 Landroid/nfc/ApduList;->add([B)V
126 Landroid/nfc/IAppCallback$Stub$Proxy;->createBeamShareData(B)Landroid/nfc/BeamShareData;
129 Landroid/nfc/IAppCallback$Stub$Proxy;->onNdefPushComplete(B)V
137 Landroid/nfc/IAppCallback;->createBeamShareData(B)Landroid/nfc/BeamShareData;
138 Landroid/nfc/IAppCallback;->onNdefPushComplete(B)V
218 Landroid/nfc/INfcAdapterExtras$Stub$Proxy;->authenticate(Ljava/lang/String;[B)V
226 Landroid/nfc/INfcAdapterExtras$Stub$Proxy;->transceive(Ljava/lang/String;[B)Landroid/os/Bundle;
339 Landroid/nfc/INfcTag$Stub$Proxy;->formatNdef(I[B)I
380 Landroid/nfc/INfcTag;->formatNdef(I[B)I
415 Landroid/nfc/NdefRecord;->bytesToString([B)Ljava/lang/StringBuilder;
[all …]
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/
Dtouch_position_correction_utils.h32 static const float B = 0.24f; in getSweetSpotFactor() local
54 return (A * (R1 - x) + B * (x - R0)) / (R1 - R0); in getSweetSpotFactor()
56 return (B * (R2 - x) + C * (x - R1)) / (R2 - R1); in getSweetSpotFactor()

123456