Sign in
android
/
platform
/
frameworks
/
wilhelm
/
refs/heads/jb-mr1-dev-plus-aosp
/
.
/
tools
/
hashgen
/
part8.c
blob: 79a88ab68e2443de2e356af53ecacdf600e81dbb [
file
] [
log
] [
blame
] [
edit
]
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
;
}