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

Side by Side Diff: third_party/zlib_v128/zutil.h

Issue 2382723003: Move core/fxcrt/include to core/fxcrt (Closed)
Patch Set: Rebase to master Created 4 years, 2 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 | « third_party/libtiff/tiffconf.h ('k') | xfa/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* zutil.h -- internal interface and configuration of the compression library 1 /* zutil.h -- internal interface and configuration of the compression library
2 * Copyright (C) 1995-2013 Jean-loup Gailly. 2 * Copyright (C) 1995-2013 Jean-loup Gailly.
3 * For conditions of distribution and use, see copyright notice in zlib.h 3 * For conditions of distribution and use, see copyright notice in zlib.h
4 */ 4 */
5 5
6 /* WARNING: this file should *not* be used by applications. It is 6 /* WARNING: this file should *not* be used by applications. It is
7 part of the implementation of the compression library and is 7 part of the implementation of the compression library and is
8 subject to change. Applications should only use zlib.h. 8 subject to change. Applications should only use zlib.h.
9 */ 9 */
10 10
11 /* @(#) $Id$ */ 11 /* @(#) $Id$ */
12 12
13 #ifndef ZUTIL_H 13 #ifndef ZUTIL_H
14 #define ZUTIL_H 14 #define ZUTIL_H
15 15
16 #include "core/fxcrt/include/fx_system.h" 16 #include "core/fxcrt/fx_system.h"
17 17
18 #ifdef HAVE_HIDDEN 18 #ifdef HAVE_HIDDEN
19 # define ZLIB_INTERNAL __attribute__((visibility ("hidden"))) 19 # define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
20 #else 20 #else
21 # define ZLIB_INTERNAL 21 # define ZLIB_INTERNAL
22 #endif 22 #endif
23 23
24 #include "zlib.h" 24 #include "zlib.h"
25 25
26 #if defined(STDC) && !defined(Z_SOLO) 26 #if defined(STDC) && !defined(Z_SOLO)
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 #define ZALLOC(strm, items, size) \ 246 #define ZALLOC(strm, items, size) \
247 (*((strm)->zalloc))((strm)->opaque, (items), (size)) 247 (*((strm)->zalloc))((strm)->opaque, (items), (size))
248 #define ZFREE(strm, addr) (*((strm)->zfree))((strm)->opaque, (voidpf)(addr)) 248 #define ZFREE(strm, addr) (*((strm)->zfree))((strm)->opaque, (voidpf)(addr))
249 #define TRY_FREE(s, p) {if (p) ZFREE(s, p);} 249 #define TRY_FREE(s, p) {if (p) ZFREE(s, p);}
250 250
251 /* Reverse the bytes in a 32-bit value */ 251 /* Reverse the bytes in a 32-bit value */
252 #define ZSWAP32(q) ((((q) >> 24) & 0xff) + (((q) >> 8) & 0xff00) + \ 252 #define ZSWAP32(q) ((((q) >> 24) & 0xff) + (((q) >> 8) & 0xff00) + \
253 (((q) & 0xff00) << 8) + (((q) & 0xff) << 24)) 253 (((q) & 0xff00) << 8) + (((q) & 0xff) << 24))
254 254
255 #endif /* ZUTIL_H */ 255 #endif /* ZUTIL_H */
OLDNEW
« no previous file with comments | « third_party/libtiff/tiffconf.h ('k') | xfa/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698