MySQL  8.0.15
Source Code Documentation
do_ctype.cc File Reference
#include <ctype.h>
#include <my_sys.h>
#include "m_string.h"

Macros

#define MAX_CHAR_OK   127 /* 7 Bit ascii */
 

Functions

void get_options ()
 
void init_case_convert ()
 
 main (argc, argv) int argc
 
 DBUG_ENTER ("main")
 
 DBUG_PROCESS (argv[0])
 
 puts ("Tabells for caseconverts and sorttest of characters\n")
 
 for (i=0;i< 3;i++)
 
 DBUG_RETURN (0)
 
void get_options (argc, argv) int *argc
 
 while (-- *argc > 0 &&*(pos= *(++*argv))=='-')
 

Variables

uchar to_upper [256]
 
uchar to_lower [256]
 
uchar sort_order [256]
 
static int ascii_output = 1
 
static string tab_names [] = {"to_lower[]={", "to_upper[]={", "sort_order[]={"}
 
static uchartabell [] = {to_lower, to_upper, sort_order}
 
char * argv []
 
get_optionsargc
 
char * pos
 
char * progname = (*argv)[0]
 
 help = 0
 
 return
 

Macro Definition Documentation

◆ MAX_CHAR_OK

#define MAX_CHAR_OK   127 /* 7 Bit ascii */

Function Documentation

◆ DBUG_ENTER()

DBUG_ENTER ( "main"  )

◆ DBUG_PROCESS()

DBUG_PROCESS ( argv  [0])

◆ DBUG_RETURN()

DBUG_RETURN ( )

◆ for()

for ( )

◆ get_options() [1/2]

void get_options ( )

◆ get_options() [2/2]

void get_options ( argc  ,
argv   
)

◆ init_case_convert()

void init_case_convert ( )

◆ main()

main ( argc  ,
argv   
)

◆ puts()

puts ( "Tabells for caseconverts and sorttest of characters\n"  )

◆ while()

while ( -- *  argc,
0 &&*  pos=*(++ *argv) = = '-' 
)

Variable Documentation

◆ argc

get_options& argc

◆ argv

char** argv[]

◆ ascii_output

ascii_output = 1
static

◆ help

help = 0

◆ pos

char* pos
Initial value:
{
const string version("\"Version\"")
help
Definition: do_ctype.cc:81

◆ progname

progname = (*argv)[0]

◆ return

return

◆ sort_order

uchar sort_order[256]

◆ tab_names

string tab_names[] = {"to_lower[]={", "to_upper[]={", "sort_order[]={"}
static

◆ tabell

uchar* tabell[] = {to_lower, to_upper, sort_order}
static

◆ to_lower

uchar to_lower[256]

◆ to_upper

uchar to_upper[256]