Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(144)

Side by Side Diff: include/freetype/internal/ftstream.h

Issue 23555005: Update freetype to the latest version of Android external/freetype (Closed) Base URL: https://chromium.googlesource.com/chromium/src/third_party/freetype.git@master
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « include/freetype/internal/ftserv.h ('k') | include/freetype/internal/pshints.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /***************************************************************************/ 1 /***************************************************************************/
2 /* */ 2 /* */
3 /* ftstream.h */ 3 /* ftstream.h */
4 /* */ 4 /* */
5 /* Stream handling (specification). */ 5 /* Stream handling (specification). */
6 /* */ 6 /* */
7 /* Copyright 1996-2002, 2004-2006, 2011 by */ 7 /* Copyright 1996-2002, 2004-2006, 2011 by */
8 /* David Turner, Robert Wilhelm, and Werner Lemberg. */ 8 /* David Turner, Robert Wilhelm, and Werner Lemberg. */
9 /* */ 9 /* */
10 /* This file is part of the FreeType project, and may only be used, */ 10 /* This file is part of the FreeType project, and may only be used, */
(...skipping 442 matching lines...) Expand 10 before | Expand all | Expand 10 after
453 453
454 454
455 /* read a byte from a stream */ 455 /* read a byte from a stream */
456 FT_BASE( FT_Char ) 456 FT_BASE( FT_Char )
457 FT_Stream_ReadChar( FT_Stream stream, 457 FT_Stream_ReadChar( FT_Stream stream,
458 FT_Error* error ); 458 FT_Error* error );
459 459
460 /* read a 16-bit big-endian unsigned integer from a stream */ 460 /* read a 16-bit big-endian unsigned integer from a stream */
461 FT_BASE( FT_UShort ) 461 FT_BASE( FT_UShort )
462 FT_Stream_ReadUShort( FT_Stream stream, 462 FT_Stream_ReadUShort( FT_Stream stream,
463 FT_Error* error ); 463 FT_Error* error );
464 464
465 /* read a 24-bit big-endian unsigned integer from a stream */ 465 /* read a 24-bit big-endian unsigned integer from a stream */
466 FT_BASE( FT_ULong ) 466 FT_BASE( FT_ULong )
467 FT_Stream_ReadUOffset( FT_Stream stream, 467 FT_Stream_ReadUOffset( FT_Stream stream,
468 FT_Error* error ); 468 FT_Error* error );
469 469
470 /* read a 32-bit big-endian integer from a stream */ 470 /* read a 32-bit big-endian integer from a stream */
471 FT_BASE( FT_ULong ) 471 FT_BASE( FT_ULong )
472 FT_Stream_ReadULong( FT_Stream stream, 472 FT_Stream_ReadULong( FT_Stream stream,
473 FT_Error* error ); 473 FT_Error* error );
474 474
475 /* read a 16-bit little-endian unsigned integer from a stream */ 475 /* read a 16-bit little-endian unsigned integer from a stream */
476 FT_BASE( FT_UShort ) 476 FT_BASE( FT_UShort )
477 FT_Stream_ReadUShortLE( FT_Stream stream, 477 FT_Stream_ReadUShortLE( FT_Stream stream,
478 FT_Error* error ); 478 FT_Error* error );
479 479
480 /* read a 32-bit little-endian unsigned integer from a stream */ 480 /* read a 32-bit little-endian unsigned integer from a stream */
481 FT_BASE( FT_ULong ) 481 FT_BASE( FT_ULong )
482 FT_Stream_ReadULongLE( FT_Stream stream, 482 FT_Stream_ReadULongLE( FT_Stream stream,
483 FT_Error* error ); 483 FT_Error* error );
484 484
485 /* Read a structure from a stream. The structure must be described */ 485 /* Read a structure from a stream. The structure must be described */
486 /* by an array of FT_Frame_Field records. */ 486 /* by an array of FT_Frame_Field records. */
487 FT_BASE( FT_Error ) 487 FT_BASE( FT_Error )
488 FT_Stream_ReadFields( FT_Stream stream, 488 FT_Stream_ReadFields( FT_Stream stream,
489 const FT_Frame_Field* fields, 489 const FT_Frame_Field* fields,
490 void* structure ); 490 void* structure );
491 491
492 492
493 #define FT_STREAM_POS() \ 493 #define FT_STREAM_POS() \
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
530 FT_DEBUG_INNER( FT_Stream_ReleaseFrame( stream, \ 530 FT_DEBUG_INNER( FT_Stream_ReleaseFrame( stream, \
531 (FT_Byte**)&(bytes) ) ) 531 (FT_Byte**)&(bytes) ) )
532 532
533 533
534 FT_END_HEADER 534 FT_END_HEADER
535 535
536 #endif /* __FTSTREAM_H__ */ 536 #endif /* __FTSTREAM_H__ */
537 537
538 538
539 /* END */ 539 /* END */
OLDNEW
« no previous file with comments | « include/freetype/internal/ftserv.h ('k') | include/freetype/internal/pshints.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698