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

Side by Side Diff: third_party/yasm/patched-yasm/libyasm/file.h

Issue 11364046: Update Yasm to 1.2.0 (Yasm Part 1/3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/
Patch Set: Created 8 years, 1 month 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 * \file libyasm/file.h 2 * \file libyasm/file.h
3 * \brief YASM file helpers. 3 * \brief YASM file helpers.
4 * 4 *
5 * \rcs
6 * $Id: file.h 2287 2010-02-13 08:42:27Z peter $
7 * \endrcs
8 *
9 * \license 5 * \license
10 * Copyright (C) 2001-2007 Peter Johnson 6 * Copyright (C) 2001-2007 Peter Johnson
11 * 7 *
12 * Redistribution and use in source and binary forms, with or without 8 * Redistribution and use in source and binary forms, with or without
13 * modification, are permitted provided that the following conditions 9 * modification, are permitted provided that the following conditions
14 * are met: 10 * are met:
15 * - Redistributions of source code must retain the above copyright 11 * - Redistributions of source code must retain the above copyright
16 * notice, this list of conditions and the following disclaimer. 12 * notice, this list of conditions and the following disclaimer.
17 * - Redistributions in binary form must reproduce the above copyright 13 * - Redistributions in binary form must reproduce the above copyright
18 * notice, this list of conditions and the following disclaimer in the 14 * notice, this list of conditions and the following disclaimer in the
(...skipping 501 matching lines...) Expand 10 before | Expand all | Expand 10 after
520 */ 516 */
521 #define YASM_LOAD_32_B(val, ptr) \ 517 #define YASM_LOAD_32_B(val, ptr) \
522 do { \ 518 do { \
523 (val) = (unsigned long)((*(ptr) & 0xFF) << 24); \ 519 (val) = (unsigned long)((*(ptr) & 0xFF) << 24); \
524 (val) |= (unsigned long)((*((ptr)+1) & 0xFF) << 16); \ 520 (val) |= (unsigned long)((*((ptr)+1) & 0xFF) << 16); \
525 (val) |= (unsigned long)((*((ptr)+2) & 0xFF) << 8); \ 521 (val) |= (unsigned long)((*((ptr)+2) & 0xFF) << 8); \
526 (val) |= (unsigned long)(*((ptr)+3) & 0xFF); \ 522 (val) |= (unsigned long)(*((ptr)+3) & 0xFF); \
527 } while (0) 523 } while (0)
528 524
529 #endif 525 #endif
OLDNEW
« no previous file with comments | « third_party/yasm/patched-yasm/libyasm/expr.c ('k') | third_party/yasm/patched-yasm/libyasm/file.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698