Searched refs:bufferType (Results 1 - 3 of 3) sorted by relevance
/base/hiviewdfx/hilog/services/hilogd/ |
H A D | log_buffer.cpp | 98 int bufferType = ConvertBufType(msg.type); in Insert() local 101 if (elemSize + sizeByType[bufferType] >= g_maxBufferSizeByType[bufferType]) { in Insert() 105 while (sizeByType[bufferType] > g_maxBufferSizeByType[bufferType] * (1 - DROP_RATIO) && in Insert() 107 if (ConvertBufType((*it).type) != bufferType) { // Only remove old logs of the same type in Insert() 124 if (sizeByType[bufferType] >= g_maxBufferSizeByType[bufferType]) { in Insert() 132 sizeByType[bufferType] += elemSize; in Insert()
|
/base/startup/appspawn/modules/sandbox/ |
H A D | sandbox_cfgvar.c | 291 uint32_t bufferType, const char *source, const char *prefix, const VarExtraData *extraData) in GetSandboxRealVar() 294 APPSPAWN_CHECK(bufferType < ARRAY_LENGTH(context->buffer), return NULL, "Invalid index for buffer"); in GetSandboxRealVar() 295 SandboxBuffer *sandboxBuffer = &((SandboxContext *)context)->buffer[bufferType]; in GetSandboxRealVar() 290 GetSandboxRealVar(const SandboxContext *context, uint32_t bufferType, const char *source, const char *prefix, const VarExtraData *extraData) GetSandboxRealVar() argument
|
H A D | appspawn_sandbox.h | 296 uint32_t bufferType, const char *source, const char *prefix, const VarExtraData *extraData);
|
Completed in 3 milliseconds