Searched refs:rBegin (Results 1 – 5 of 5) sorted by relevance
79 …int left = (int)((context->rBegin <= context->rEnd) ? (context->rCapacity - 1 - context->rEnd + co… in ExpandReadCache()96 if (context->rBegin > context->rEnd && in ExpandReadCache()104 if (context->rBegin > context->rEnd) { in ExpandReadCache()220 if (context->rBegin == context->rEnd) { in ContextGetReadRecord()223 uint32_t len = (context->rBegin <= context->rEnd) ? (context->rEnd - context->rBegin) in ContextGetReadRecord()229 if (context->rBegin < context->rEnd) { in ContextGetReadRecord()230 if (memmove_s(buf, len, context->szRead + context->rBegin, len) != EOK) { in ContextGetReadRecord()235 int tmp = (int)(context->rCapacity - context->rBegin); in ContextGetReadRecord()253 context->rBegin += num; in ContextGetReadRecord()254 if (context->rBegin >= context->rCapacity) { in ContextGetReadRecord()[all …]
88 …int left = (context->rBegin <= context->rEnd) ? (context->rCapacity - 1 - context->rEnd + context-… in ExpandReadCache()89 : (context->rBegin - context->rEnd - 1); in ExpandReadCache()104 if (context->rBegin > context->rEnd && in ExpandReadCache()110 if (context->rBegin > context->rEnd) { in ExpandReadCache()160 ctx->rBegin = ctx->rEnd = 1024 - 5; // set end pos180 ctx->rBegin = 1024 - 5;
88 …int left = (context->rBegin <= context->rEnd) ? (context->rCapacity - 1 - context->rEnd + context-… in ExpandReadCache()89 : (context->rBegin - context->rEnd - 1); in ExpandReadCache()104 if (context->rBegin > context->rEnd && in ExpandReadCache()111 if (context->rBegin > context->rEnd) { in ExpandReadCache()162 ctx->rBegin = ctx->rEnd = 1024 - 5; // set end pos182 ctx->rBegin = 1024 - 5;
72 …auto rBegin = std::find_if(prefix.Data().rbegin(), prefix.Data().rend(), [](int ch) { return !std:… in TrimKey() local73 auto end = static_cast<decltype(begin)>(rBegin.base()); in TrimKey()
31 unsigned int rBegin; /* current read pos */ member