php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
gdkanji.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "gd.h"
#include "gdhelpers.h"
#include <stdarg.h>

Go to the source code of this file.

Macros

#define LIBNAME   "any2eucjp()"
 
#define TRUE   1
 
#define FALSE   0
 
#define NEW   1
 
#define OLD   2
 
#define ESCI   3
 
#define NEC   4
 
#define EUC   5
 
#define SJIS   6
 
#define EUCORSJIS   7
 
#define ASCII   8
 
#define NEWJISSTR   "JIS7"
 
#define OLDJISSTR   "jis"
 
#define EUCSTR   "eucJP"
 
#define SJISSTR   "SJIS"
 
#define ESC   27
 
#define SS2   142
 
#define IS_DAKU(c)
 
#define IS_HANDAKU(c)
 
#define ustrcpy(A, B)
 

Functions

int any2eucjp (unsigned char *dest, unsigned char *src, unsigned int dest_max)
 

Macro Definition Documentation

◆ ASCII

#define ASCII   8

Definition at line 46 of file gdkanji.c.

◆ ESC

#define ESC   27

Definition at line 53 of file gdkanji.c.

◆ ESCI

#define ESCI   3

Definition at line 41 of file gdkanji.c.

◆ EUC

#define EUC   5

Definition at line 43 of file gdkanji.c.

◆ EUCORSJIS

#define EUCORSJIS   7

Definition at line 45 of file gdkanji.c.

◆ EUCSTR

#define EUCSTR   "eucJP"

Definition at line 50 of file gdkanji.c.

◆ FALSE

#define FALSE   0

Definition at line 37 of file gdkanji.c.

◆ IS_DAKU

#define IS_DAKU ( c)
Value:
((c >= 182 && c <= 196) || (c >= 202 && c <= 206) || (c == 179))

Definition at line 242 of file gdkanji.c.

◆ IS_HANDAKU

#define IS_HANDAKU ( c)
Value:
(c >= 202 && c <= 206)

Definition at line 243 of file gdkanji.c.

◆ LIBNAME

#define LIBNAME   "any2eucjp()"

Definition at line 21 of file gdkanji.c.

◆ NEC

#define NEC   4

Definition at line 42 of file gdkanji.c.

◆ NEW

#define NEW   1

Definition at line 39 of file gdkanji.c.

◆ NEWJISSTR

#define NEWJISSTR   "JIS7"

Definition at line 48 of file gdkanji.c.

◆ OLD

#define OLD   2

Definition at line 40 of file gdkanji.c.

◆ OLDJISSTR

#define OLDJISSTR   "jis"

Definition at line 49 of file gdkanji.c.

◆ SJIS

#define SJIS   6

Definition at line 44 of file gdkanji.c.

◆ SJISSTR

#define SJISSTR   "SJIS"

Definition at line 51 of file gdkanji.c.

◆ SS2

#define SS2   142

Definition at line 54 of file gdkanji.c.

◆ TRUE

#define TRUE   1

Definition at line 36 of file gdkanji.c.

◆ ustrcpy

#define ustrcpy ( A,
B )
Value:
(strcpy((char*)(A),(const char*)(B)))
#define A(x, l, r)
Definition hash_gost.c:85
#define B

Definition at line 338 of file gdkanji.c.

Function Documentation

◆ any2eucjp()

int any2eucjp ( unsigned char * dest,
unsigned char * src,
unsigned int dest_max )

Definition at line 553 of file gdkanji.c.