Searched refs:wBegin (Results 1 – 9 of 9) sorted by relevance
120 …int left = (int)((context->wBegin <= context->wEnd) ? (context->wCapacity - 1 - context->wEnd + co… in ExpandWriteCache()142 if (context->wBegin > context->wEnd && in ExpandWriteCache()150 if (context->wBegin > context->wEnd) { in ExpandWriteCache()284 if (context->wBegin == context->wEnd) { in ContextWriteNet()287 if (context->wBegin < context->wEnd) { in ContextWriteNet()288 …nt ret = MyWrite(context->fd, context->szWrite + context->wBegin, context->wEnd - context->wBegin); in ContextWriteNet()290 context->wBegin += ret; in ContextWriteNet()294 int len = (int)(context->wCapacity - context->wBegin); in ContextWriteNet()300 context->wBegin += ret; in ContextWriteNet()303 context->wBegin = 0; in ContextWriteNet()[all …]
215 while (context->wBegin != context->wEnd && ret >= 0) { in RemoteCall()
179 if (client->wBegin != client->wEnd) { in DealFdWriteEvent()
27 …(ctx->wBegin <= ctx->wEnd) ? (ctx->wCapacity - 1 - ctx->wEnd + ctx->wBegin) : (ctx->wBegin - ctx->… in CalculateLeft()51 ctx->wBegin = ctx->wEnd = 0;55 ctx->wBegin = 1023;60 ctx->wBegin = ctx->wEnd = 0;72 ctx->wBegin = 1023;198 ctx->wBegin = ctx->wEnd = 1023;
27 …(ctx->wBegin <= ctx->wEnd) ? (ctx->wCapacity - 1 - ctx->wEnd + ctx->wBegin) : (ctx->wBegin - ctx->… in CalculateLeft()51 ctx->wBegin = ctx->wEnd = 0;55 ctx->wBegin = 1023;60 ctx->wBegin = ctx->wEnd = 0;72 ctx->wBegin = 1023;200 ctx->wBegin = ctx->wEnd = 1023;
35 unsigned int wBegin; /* current write pos */ member
63 mContext->wBegin = mContext->wEnd = 0; in SetUp()70 mContext->wBegin = mContext->wEnd = 0; in TearDown()
80 mContext->wBegin = mContext->wEnd = 0; in SetUp()88 mContext->wBegin = mContext->wEnd = 0; in TearDown()
65 mTestContext->wBegin = mTestContext->wEnd = 0; in SetUp()71 mTestContext->wBegin = mTestContext->wEnd = 0; in TearDown()