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

Side by Side Diff: third_party/harfbuzz-ng/src/hb-buffer.h

Issue 12438036: Update harfbuzz-ng to 0.9.14 from 0.9.10 (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 8 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright © 1998-2004 David Turner and Werner Lemberg 2 * Copyright © 1998-2004 David Turner and Werner Lemberg
3 * Copyright © 2004,2007,2009 Red Hat, Inc. 3 * Copyright © 2004,2007,2009 Red Hat, Inc.
4 * Copyright © 2011,2012 Google, Inc. 4 * Copyright © 2011,2012 Google, Inc.
5 * 5 *
6 * This is part of HarfBuzz, a text shaping library. 6 * This is part of HarfBuzz, a text shaping library.
7 * 7 *
8 * Permission is hereby granted, without written agreement and without 8 * Permission is hereby granted, without written agreement and without
9 * license or royalty fees, to use, copy, modify, and distribute this 9 * license or royalty fees, to use, copy, modify, and distribute this
10 * software and its documentation for any purpose, provided that the 10 * software and its documentation for any purpose, provided that the
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 hb_buffer_get_flags (hb_buffer_t *buffer); 186 hb_buffer_get_flags (hb_buffer_t *buffer);
187 187
188 188
189 /* Resets the buffer. Afterwards it's as if it was just created, 189 /* Resets the buffer. Afterwards it's as if it was just created,
190 * except that it has a larger buffer allocated perhaps... */ 190 * except that it has a larger buffer allocated perhaps... */
191 void 191 void
192 hb_buffer_reset (hb_buffer_t *buffer); 192 hb_buffer_reset (hb_buffer_t *buffer);
193 193
194 /* Like reset, but does NOT clear unicode_funcs. */ 194 /* Like reset, but does NOT clear unicode_funcs. */
195 void 195 void
196 hb_buffer_clear (hb_buffer_t *buffer); 196 hb_buffer_clear_contents (hb_buffer_t *buffer);
197 197
198 /* Returns false if allocation failed */ 198 /* Returns false if allocation failed */
199 hb_bool_t 199 hb_bool_t
200 hb_buffer_pre_allocate (hb_buffer_t *buffer, 200 hb_buffer_pre_allocate (hb_buffer_t *buffer,
201 unsigned int size); 201 unsigned int size);
202 202
203 203
204 /* Returns false if allocation has failed before */ 204 /* Returns false if allocation has failed before */
205 hb_bool_t 205 hb_bool_t
206 hb_buffer_allocation_successful (hb_buffer_t *buffer); 206 hb_buffer_allocation_successful (hb_buffer_t *buffer);
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
297 const char ** 297 const char **
298 hb_buffer_serialize_list_formats (void); 298 hb_buffer_serialize_list_formats (void);
299 299
300 /* Returns number of items, starting at start, that were serialized. */ 300 /* Returns number of items, starting at start, that were serialized. */
301 unsigned int 301 unsigned int
302 hb_buffer_serialize_glyphs (hb_buffer_t *buffer, 302 hb_buffer_serialize_glyphs (hb_buffer_t *buffer,
303 unsigned int start, 303 unsigned int start,
304 unsigned int end, 304 unsigned int end,
305 char *buf, 305 char *buf,
306 unsigned int buf_size, 306 unsigned int buf_size,
307 » » » unsigned int *buf_consumed, 307 » » » unsigned int *buf_consumed, /* May be NULL */
308 hb_font_t *font, /* May be NULL */ 308 hb_font_t *font, /* May be NULL */
309 hb_buffer_serialize_format_t format, 309 hb_buffer_serialize_format_t format,
310 hb_buffer_serialize_flags_t flags); 310 hb_buffer_serialize_flags_t flags);
311 311
312 hb_bool_t 312 hb_bool_t
313 hb_buffer_deserialize_glyphs (hb_buffer_t *buffer, 313 hb_buffer_deserialize_glyphs (hb_buffer_t *buffer,
314 const char *buf, 314 const char *buf,
315 » » » unsigned int buf_len, 315 » » » int buf_len, /* -1 means nul-terminated */
316 » » » unsigned int *buf_consumed, 316 » » » const char **end_ptr, /* May be NULL */
317 hb_font_t *font, /* May be NULL */ 317 hb_font_t *font, /* May be NULL */
318 hb_buffer_serialize_format_t format); 318 hb_buffer_serialize_format_t format);
319 319
320 320
321 HB_END_DECLS 321 HB_END_DECLS
322 322
323 #endif /* HB_BUFFER_H */ 323 #endif /* HB_BUFFER_H */
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698