Home | History | Annotate | Download | only in ports

Lines Matching refs:BUFFERSIZE

545 #define BUFFERSIZE (1 << 13)
567 SkAutoSTMalloc<BUFFERSIZE, uint8_t>* glyphbuf);
936 DWORD bufferSize = GetGlyphOutlineW(fDDC, glyphId, GGO_NATIVE | GGO_GLYPH_INDEX, &gm, 0, NULL, &fMat22);
937 empty = (0 == bufferSize);
1661 SkAutoSTMalloc<BUFFERSIZE, uint8_t>* glyphbuf)
1665 DWORD total_size = GetGlyphOutlineW(fDDC, glyph.fID, flags, &gm, BUFFERSIZE, glyphbuf->get(), &fMat22);
1666 // Sometimes GetGlyphOutlineW returns a number larger than BUFFERSIZE even if BUFFERSIZE > 0.
1668 if (GDI_ERROR == total_size || total_size > BUFFERSIZE) {
1669 // GDI_ERROR because the BUFFERSIZE was too small, or because the data was not accessible.
1710 //static const DWORD BUFFERSIZE = (1 << 13);
1717 SkAutoSTMalloc<BUFFERSIZE, uint8_t> glyphbuf(BUFFERSIZE);
1729 SkAutoSTMalloc<BUFFERSIZE, uint8_t> hintedGlyphbuf(BUFFERSIZE);
1965 static void format_guid_b64(const GUID& guid, char* buffer, size_t bufferSize) {
1966 SkASSERT(bufferSize >= BASE64_GUID_ID_LEN);
1978 static HRESULT create_unique_font_name(char* buffer, size_t bufferSize) {
1983 format_guid_b64(guid, buffer, bufferSize);
2050 DWORD bufferSize = GetFontData(hdc, tables[i], 0, NULL, 0);
2051 if (bufferSize == GDI_ERROR) {
2053 bufferSize = GetFontData(hdc, tables[i], 0, NULL, 0);
2055 if (bufferSize != GDI_ERROR) {
2056 stream = new SkMemoryStream(bufferSize);
2057 if (GetFontData(hdc, tables[i], 0, (void*)stream->getMemoryBase(), bufferSize)) {
2352 DWORD bufferSize = GetFontData(hdc, tag, (DWORD) offset, data, (DWORD) length);
2353 if (bufferSize == GDI_ERROR) {
2355 bufferSize = GetFontData(hdc, tag, (DWORD) offset, data, (DWORD) length);
2362 return bufferSize == GDI_ERROR ? 0 : bufferSize;