Searched defs:MPH (Results 1 - 10 of 10) 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 Dinterfaces.c21 #include "MPH.h"
129 /** Convert an MPH value to an MPH identifier */
131 void MPH_to_MPH_string(unsigned MPH, char buffer[40]) argument
133 assert(MPH_MAX > MPH);
136 strcpy(buffer, "MPH");
139 strcat(buffer, interface_names[MPH]);
H A Dfrag1.c20 #include "MPH.h"
28 int MPH; local
30 for (MPH = 0; MPH < MPH_MAX; ++MPH, ++x) {
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);
/frameworks/wilhelm/src/
H A Dinterfaces.c21 #include "MPH.h"
129 /** Convert an MPH value to an MPH identifier */
131 void MPH_to_MPH_string(unsigned MPH, char buffer[40]) argument
133 assert(MPH_MAX > MPH);
136 strcpy(buffer, "MPH");
139 strcat(buffer, interface_names[MPH]);
H A Dsles.c30 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...]
/frameworks/wilhelm/src/autogen/
H A DIID_to_MPH.c19 /** \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/src/itf/
H A DIDynamicInterfaceManagement.c23 // 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.c62 unsigned MPH = AUX_to_MPH[aux]; local
63 int index = MPH_to_OutputMix[MPH];
65 SL_LOGE("EffectSend aux=%u MPH=%u", aux, MPH);
H A DIObject.c338 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...]

Completed in 96 milliseconds