Sign in
ara-mdk
/
platform
/
frameworks
/
wilhelm
/
1421fde4e1fe91de3491ed708b4b1afef007f681
/
.
/
tools
/
hashgen
/
part8.c
blob: 79a88ab68e2443de2e356af53ecacdf600e81dbb [
file
] [
log
] [
blame
]
if
(
key
<=
MAX_HASH_VALUE
)
{
int
MPH
=
hash_to_MPH
[
key
];
if
(
MPH
>=
0
)
{
assert
(
MPH
<
MPH_MAX
);
SLInterfaceID
trial
=
&
SL_IID_array
[
MPH
];
if
(!
memcmp
(
iid
,
trial
,
sizeof
(
struct
SLInterfaceID_
)))
return
MPH
;
}
}
}
return
-
1
;
}