Home
last modified time | relevance | path

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

/external/webkit/Tools/DumpRenderTree/win/
DImageDiffCairo.cpp73 static cairo_surface_t* createImageFromStdin(int bytesRemaining) in createImageFromStdin() argument
76 RetainPtr<CFMutableDataRef> data(AdoptCF, CFDataCreateMutable(0, bytesRemaining)); in createImageFromStdin()
78 while (bytesRemaining > 0) { in createImageFromStdin()
79 size_t bytesToRead = min(bytesRemaining, s_bufferSize); in createImageFromStdin()
82 bytesRemaining -= static_cast<int>(bytesRead); in createImageFromStdin()
/external/webkit/Tools/DumpRenderTree/cg/
DImageDiffCG.cpp72 static RetainPtr<CGImageRef> createImageFromStdin(int bytesRemaining) in createImageFromStdin() argument
75 RetainPtr<CFMutableDataRef> data(AdoptCF, CFDataCreateMutable(0, bytesRemaining)); in createImageFromStdin()
77 while (bytesRemaining > 0) { in createImageFromStdin()
78 size_t bytesToRead = min(bytesRemaining, 2048); in createImageFromStdin()
81 bytesRemaining -= static_cast<int>(bytesRead); in createImageFromStdin()
/external/webkit/Source/WebCore/html/canvas/
DWebGLRenderingContext.cpp1505 … int bytesRemaining = static_cast<int>(state.bufferBinding->byteLength() - state.offset); in validateRenderingState() local
1508 if (bytesRemaining >= state.bytesPerElement) in validateRenderingState()
1509 numElements = 1 + (bytesRemaining - state.bytesPerElement) / state.stride; in validateRenderingState()