Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
fx_types.h
Go to the documentation of this file.
1// Copyright 2021 The PDFium Authors
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6
7#ifndef CORE_FXCRT_FX_TYPES_H_
8#define CORE_FXCRT_FX_TYPES_H_
9
10#include "build/build_config.h"
11
12// PDFium file sizes match the platform. The value must be signed to support -1
13// error returns.
14#if BUILDFLAG(IS_WIN)
15#include <stdint.h>
16#define FX_FILESIZE int64_t
17#else
18#include <sys/types.h> // For off_t.
19#define FX_FILESIZE off_t
20#endif // BUILDFLAG(IS_WIN)
21
22#endif // CORE_FXCRT_FX_TYPES_H_
void CRYPT_AESSetIV(CRYPT_aes_context *context, const uint8_t *iv)
#define MOVEWORD(i)
void CRYPT_AESEncrypt(CRYPT_aes_context *context, uint8_t *dest, const uint8_t *src, uint32_t size)
void CRYPT_AESSetKey(CRYPT_aes_context *context, const uint8_t *key, uint32_t keylen)
#define LASTWORD(i)
#define FMAKEWORD(i)
#define PUT_32BIT_MSB_FIRST(cp, value)
void CRYPT_AESDecrypt(CRYPT_aes_context *context, uint8_t *dest, const uint8_t *src, uint32_t size)
#define ADD_ROUND_KEY_4()
#define mulby2(x)
int32_t FXSYS_atoi(const char *str)
char * FXSYS_strlwr(char *str)
wchar_t * FXSYS_wcsupr(wchar_t *str)
char * FXSYS_strupr(char *str)
uint32_t FXSYS_atoui(const char *str)
int FXSYS_wcsicmp(const wchar_t *str1, const wchar_t *str2)
wchar_t * FXSYS_wcslwr(wchar_t *str)
int32_t FXSYS_wtoi(const wchar_t *str)
#define FXSYS_IsFloatZero(f)
Definition fx_system.h:35
uint32_t FXSYS_GetLastError()
const char * FXSYS_i64toa(int64_t value, char *str, int radix)
int FXSYS_stricmp(const char *str1, const char *str2)
int64_t FXSYS_atoi64(const char *str)
int FXSYS_roundf(float f)
Definition fx_system.cpp:92
int FXSYS_round(double d)
char * FXSYS_itoa(int value, char *str, int radix)
void FXSYS_SetLastError(uint32_t err)
float FXSYS_sqrt2(float a, float b)
unsigned int iv[kMaxNb]
Definition fx_crypt.h:31
unsigned int keysched[kSchedSize]
Definition fx_crypt.h:29
unsigned int invkeysched[kSchedSize]
Definition fx_crypt.h:30