Searched refs:MPH (Results 1 - 12 of 12) sorted by relevance

/frameworks/wilhelm/tools/hashgen/
H A Dpart8.c2 int MPH = hash_to_MPH[key]; variable
3 if (MPH >= 0) {
4 assert(MPH < MPH_MAX);
5 SLInterfaceID trial = &SL_IID_array[MPH];
7 return MPH;
H A Dfrag3.c4 extern void MPH_to_MPH_string(unsigned MPH, char buffer[40]);
15 unsigned MPH; local
16 for (MPH = 0; MPH < MPH_MAX; ++MPH, ++xx) {
20 MPH_to_MPH_string(MPH, buffer);
H A Dtest.c22 #include "MPH.h"
33 int MPH = IID_to_MPH(original); local
34 if (MPH != i) {
35 fprintf(stderr, "error: IID_to_MPH(SL_IID_array) = %d != %d\n", MPH, i);
40 MPH = IID_to_MPH(&copy);
41 if (MPH != i) {
42 fprintf(stderr, "error: IID_to_MPH(copy) = %d != %d\n", MPH, i);
H A Dfrag1.c20 #include "MPH.h"
28 int MPH; local
30 for (MPH = 0; MPH < MPH_MAX; ++MPH, ++x) {
/frameworks/wilhelm/src/
H A Dinterfaces.cpp21 #include "MPH.h"
134 /** Convert an MPH value to an MPH identifier */
136 void MPH_to_MPH_string(unsigned MPH, char buffer[40]) argument
138 assert(MPH_MAX > MPH);
141 strcpy(buffer, "MPH");
144 strcat(buffer, interface_names[MPH]);
H A Dsles.cpp30 bool IsInterfaceInitialized(IObject *thiz, unsigned MPH) argument
33 assert( /* (MPH_MIN <= MPH) && */ (MPH < (unsigned) MPH_MAX));
37 if (0 > (index = clazz->mMPH_to_index[MPH])) {
194 int MPH, index; local
195 if ((0 > (MPH = IID_to_MPH(iid))) ||
197 (NULL == MPH_init_table[MPH].mInit) ||
198 (0 > (index = clazz->mMPH_to_index[MPH])) ||
203 SL_LOGE("class %s interface %u required but unavailable MPH=%d",
204 clazz->mName, i, MPH);
[all...]
H A Dsles_allinclusive.h57 #include "MPH.h"
198 unsigned char mMPH; // primary MPH for this interface, does not include any aliases
408 extern bool IsInterfaceInitialized(IObject *thiz, unsigned MPH);
/frameworks/wilhelm/src/itf/
H A DIDynamicInterfaceManagement.cpp23 // Parameter self is the DynamicInterface, and MPH specifies which interface to add.
25 static void HandleAdd(void *self, void *ignored, int MPH) argument
33 assert(0 <= MPH && MPH < MPH_MAX);
36 int index = clazz->mMPH_to_index[MPH];
56 BoolHook expose = MPH_init_table[MPH].mExpose;
98 const SLInterfaceID iid = &SL_IID_array[MPH]; // equal but not == to the original IID
117 int MPH, index; local
118 if ((0 > (MPH = IID_to_MPH(iid))) ||
120 // (NULL == MPH_init_table[MPH]
213 int MPH, index; local
281 HandleResume(void *self, void *ignored, int MPH) argument
365 int MPH, index; local
[all...]
H A DIEffectSend.cpp62 unsigned MPH = AUX_to_MPH[aux];
63 int index = MPH_to_OutputMix[MPH];
65 SL_LOGE("EffectSend aux=%u MPH=%u", aux, MPH);
H A DIObject.cpp338 int MPH, index; local
339 if ((0 > (MPH = IID_to_MPH(iid))) ||
341 // (NULL == MPH_init_table[MPH].mInit) ||
342 (0 > (index = clazz->mMPH_to_index[MPH]))) {
351 } else if ((MPH_MUTESOLO == MPH) && (SL_OBJECTID_AUDIOPLAYER ==
708 int MPH, index; local
709 // We ignore without error any invalid MPH or index, but spec is unclear
710 if ((0 <= (MPH = IID_to_MPH(iid))) &&
712 // (NULL == MPH_init_table[MPH].mInit) ||
713 (0 <= (index = clazz->mMPH_to_index[MPH]))) {
[all...]
/frameworks/wilhelm/src/autogen/
H A DIID_to_MPH.cpp19 /** \file IID_to_MPH.c Interface ID to MPH mapping */
22 #include "MPH.h"
28 /** \brief Map SLInterfaceID to its minimal perfect hash (MPH), or -1 if unknown */
251 int MPH = hash_to_MPH[key]; local
252 if (MPH >= 0) {
253 assert(MPH < MPH_MAX);
254 SLInterfaceID trial = &SL_IID_array[MPH];
256 return MPH;
/frameworks/wilhelm/tools/mphtogen/
H A DMakefile10 mphtogen : mphtogen.c MPH_to.c MPH.h MPH_to.h

Completed in 138 milliseconds