Home | History | Annotate | Download | only in cg

Lines Matching refs:buffer

70     unsigned char buffer[2048];
75 size_t bytesRead = fread(buffer, 1, bytesToRead, stdin);
76 CFDataAppendBytes(data.get(), buffer, static_cast<CFIndex>(bytesRead));
100 void* buffer = calloc(height, rowBytes);
101 RetainPtr<CGContextRef> context(AdoptCF, CGBitmapContextCreate(buffer, width, height, 8, rowBytes, CGImageGetColorSpace(testImage), kCGImageAlphaPremultipliedFirst | kCGBitmapByteOrder32Host));
110 unsigned char* pixel = (unsigned char*)buffer;
157 if (buffer)
158 free(buffer);
191 char buffer[2048];
195 while (fgets(buffer, sizeof(buffer), stdin)) {
197 char* newLineCharacter = strchr(buffer, '\n');
201 if (!strncmp("Content-Length: ", buffer, 16)) {
202 strtok(buffer, " ");