#include "limits.h"
#include "mozilla/Assertions.h"
#include <stdint.h>
#include <netinet/in.h>
#include <unistd.h>
#include <stdio.h>
Go to the source code of this file.
◆ _FILE_OFFSET_BITS
#define _FILE_OFFSET_BITS 64 |
◆ BLOCKSIZE
◆ HOST_TO_NETWORK64
#define HOST_TO_NETWORK64 |
( |
|
x | ) |
|
Value: ( \
((((uint64_t) x) & 0xFF) << 56) | \
((((uint64_t) x) >> 8) & 0xFF) << 48) | \
(((((uint64_t)
x) >> 16) & 0xFF) << 40) | \
(((((uint64_t) x) >> 24) & 0xFF) << 32) | \
(((((uint64_t)
x) >> 32) & 0xFF) << 24) | \
(((((uint64_t) x) >> 40) & 0xFF) << 16) | \
(((((uint64_t)
x) >> 48) & 0xFF) << 8) | \
(((uint64_t) x) >> 56)
Definition at line 68 of file mar_private.h.
◆ MAR_ID
◆ MAR_ID_SIZE
◆ MAR_ITEM_SIZE
#define MAR_ITEM_SIZE |
( |
|
namelen | ) |
(3*sizeof(uint32_t) + (namelen) + 1) |
◆ MAX_SIGNATURE_LENGTH
#define MAX_SIGNATURE_LENGTH 2048 |
◆ MAX_SIZE_OF_MAR_FILE
#define MAX_SIZE_OF_MAR_FILE ((int64_t)1824288000) |
◆ NETWORK_TO_HOST64
◆ PIB_MAX_MAR_CHANNEL_ID_SIZE
#define PIB_MAX_MAR_CHANNEL_ID_SIZE 63 |
◆ PIB_MAX_PRODUCT_VERSION_SIZE
#define PIB_MAX_PRODUCT_VERSION_SIZE 31 |
◆ PRODUCT_INFO_BLOCK_ID
#define PRODUCT_INFO_BLOCK_ID 1 |
◆ ROUND_UP
#define ROUND_UP |
( |
|
n, |
|
|
|
incr |
|
) |
| (((n) / (incr) + 1) * (incr)) |
◆ SIGNATURE_BLOCK_OFFSET
#define SIGNATURE_BLOCK_OFFSET 16 |
◆ MOZ_STATIC_ASSERT()