Home
last modified time | relevance | path

Searched refs:openLogTable (Results 1 – 1 of 1) sorted by relevance

/system/core/liblog/
Dfake_log_device.cpp121 static LogState openLogTable[MAX_OPEN_LOGS]; variable
130 for (i = 0; i < (sizeof(openLogTable) / sizeof(openLogTable[0])); i++) { in createLogState()
131 if (openLogTable[i].fakeFd == 0) { in createLogState()
132 openLogTable[i].fakeFd = FAKE_FD_BASE + i; in createLogState()
133 return &openLogTable[i]; in createLogState()
144 return &openLogTable[fd - FAKE_FD_BASE]; in fdToLogState()
159 memset(&openLogTable[fd - FAKE_FD_BASE], 0, sizeof(openLogTable[0])); in deleteFakeFd()