OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:sessionPtrs
(Results
1 - 2
of
2
) sorted by null
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/
FwdLockFile.c
75
static FwdLockFile_Session_t *
sessionPtrs
[MAX_NUM_SESSIONS] = { NULL };
98
if (
sessionPtrs
[candidateSessionId] == NULL) {
99
sessionPtrs
[candidateSessionId] = malloc(sizeof **
sessionPtrs
);
100
if (
sessionPtrs
[candidateSessionId] != NULL) {
101
sessionPtrs
[candidateSessionId]->fileDesc = fileDesc;
102
sessionPtrs
[candidateSessionId]->pContentType = NULL;
103
sessionPtrs
[candidateSessionId]->pEncryptedSessionKey = NULL;
134
if (
sessionPtrs
[candidateSessionId] != NULL &&
135
sessionPtrs
[candidateSessionId]->fileDesc == fileDesc)
[
all
...]
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/converter/
FwdLockConv.c
158
static FwdLockConv_Session_t *
sessionPtrs
[MAX_NUM_SESSIONS] = { NULL };
198
if (
sessionPtrs
[i] == NULL) {
199
sessionPtrs
[i] = malloc(sizeof *
sessionPtrs
[i]);
200
if (
sessionPtrs
[i] != NULL) {
218
return 0 <= sessionId && sessionId < MAX_NUM_SESSIONS &&
sessionPtrs
[sessionId] != NULL;
229
memset(
sessionPtrs
[sessionId], 0, sizeof *
sessionPtrs
[sessionId]); // Zero out key data.
230
free(
sessionPtrs
[sessionId]);
231
sessionPtrs
[sessionId] = NULL
[
all
...]
Completed in 240 milliseconds