代码搜索:Base
找到约 10,000 项符合「Base」的源代码
代码结果 10,000
www.eeworm.com/read/396640/2408869
svn-base base_memory.c.svn-base
#include "fitz-base.h"
/* Make this thread local storage if you wish. */
static void *stdmalloc(fz_memorycontext *mem, int n)
{
return malloc(n);
}
static void *stdrealloc(fz_memorycontext *mem,
www.eeworm.com/read/396640/2408870
svn-base base_cpudep.c.svn-base
/*
run-time cpu feature detection code
mm, alphabet soup...
Glenn Kennard
*/
#include "fitz-base.h"
/* global run-time constant */
unsigned fz_cpuflags = 0;
#ifndef HAVE_CPUDEP
www.eeworm.com/read/396640/2408871
svn-base base_cleanname.c.svn-base
/*
* In place, rewrite name to compress multiple /, eliminate ., and process ..
*/
#define SEP(x) ((x)=='/' || (x) == 0)
char *
cleanname(char *name)
{
char *p, *q, *dotdot;
int rooted;
rooted
www.eeworm.com/read/396640/2408872
svn-base base_error.c.svn-base
#include "fitz-base.h"
void
fz_droperror(fz_error *eo)
{
if (eo->cause)
fz_droperror(eo->cause);
fz_free(eo);
}
void
fz_printerror(fz_error *eo)
{
#if 1
if (eo->cause)
{
fz_
www.eeworm.com/read/396640/2408873
svn-base base_matrix.c.svn-base
#include "fitz-base.h"
void fz_invert3x3(float *dst, float *m)
{
float det;
int i;
#define M3(m,i,j) (m)[3*i+j]
#define D2(a,b,c,d) (a * d - b * c)
#define D3(a1,a2,a3,b1,b2,b3,c1,c2,c3) \
(a1 *
www.eeworm.com/read/396640/2408877
svn-base base_rect.c.svn-base
#include "fitz-base.h"
fz_rect fz_infiniterect = { 1, 1, -1, -1 };
fz_rect fz_emptyrect = { 0, 0, 0, 0 };
static fz_irect infinite = { 1, 1, -1, -1 };
static fz_irect empty = { 0, 0, 0, 0 };
fz_ire
www.eeworm.com/read/396640/2408878
svn-base base_rune.c.svn-base
enum
{
UTFmax = 3, /* maximum bytes per rune */
Runesync = 0x80, /* cannot represent part of a UTF sequence (
www.eeworm.com/read/396640/2408881
svn-base base_hash.c.svn-base
/* Linear probe hash table.
* 2004 (C) Tor Andersson.
* BSD license.
*
* Simple hashtable with open adressing linear probe.
* Unlike text book examples, removing entries works
* correctly in thi
www.eeworm.com/read/396640/2408924
svn-base base14.h.svn-base
extern const unsigned char fonts_Dingbats_cff[];
extern const unsigned int fonts_Dingbats_cff_len;
extern const unsigned char fonts_NimbusMonL_Bold_cff[];
extern const unsigned int fonts_NimbusMonL_Bo
www.eeworm.com/read/396640/2408940
svn-base fitz-base.h.svn-base
#ifdef _FITZ_BASE_H_
#error "fitz-base.h must only be included once"
#endif
#define _FITZ_BASE_H_
#ifdef __cplusplus
extern "C" {
#endif
#include "fitz/base_sysdep.h"
#include "fitz/base_cpudep.h"