~alinuxninja/nginx-edge/trunk

« back to all changes in this revision

Viewing changes to debian/modules/ngx_pagespeed/psol/include/third_party/libjpeg_turbo/yasm/source/patched-yasm/tools/genperf/standard.h

  • Committer: Vivian
  • Date: 2015-12-04 18:20:11 UTC
  • Revision ID: git-v1:a36f2bc32e884f7473b3a47040e5411306144d7d
* Do not extract psol.tar.gz

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
------------------------------------------------------------------------------
3
 
Standard definitions and types, Bob Jenkins
4
 
------------------------------------------------------------------------------
5
 
*/
6
 
#ifndef STANDARD
7
 
#define STANDARD
8
 
 
9
 
#include <stdio.h>
10
 
#include <stddef.h>
11
 
#include <stdlib.h>
12
 
typedef  unsigned long  int  ub4;   /* unsigned 4-byte quantities */
13
 
#define UB4BITS 32
14
 
typedef  unsigned short int  ub2;
15
 
#define UB2MAXVAL 0xffff
16
 
typedef  unsigned       char ub1;
17
 
#define UB1MAXVAL 0xff
18
 
typedef                 int  word;  /* fastest type available */
19
 
 
20
 
#define bis(target,mask)  ((target) |=  (mask))
21
 
#define bic(target,mask)  ((target) &= ~(mask))
22
 
#define bit(target,mask)  ((target) &   (mask))
23
 
#ifndef align
24
 
# define align(a) (((ub4)a+(sizeof(void *)-1))&(~(sizeof(void *)-1)))
25
 
#endif /* align */
26
 
 
27
 
#ifndef FALSE
28
 
#define FALSE 0
29
 
#endif
30
 
 
31
 
#ifndef TRUE
32
 
#define TRUE 1
33
 
#endif
34
 
 
35
 
#endif /* STANDARD */