#include "form.priv.h"Go to the source code of this file.
Classes | |
| struct | thisARG |
Defines | |
| #define | thisARG alnumARG |
Functions | |
| static void * | Make_This_Type (va_list *ap) |
| static void * | Copy_This_Type (const void *argp) |
| static void | Free_This_Type (void *argp) |
| static bool | Check_This_Character (int c, const void *argp GCC_UNUSED) |
| static bool | Check_This_Field (FIELD *field, const void *argp) |
Variables | |
| static FIELDTYPE | typeTHIS |
|
|
Definition at line 17 of file fty_alnum.c. |
|
||||||||||||
|
Definition at line 91 of file fty_alnum.c. References UChar. Referenced by Check_This_Field(). 00092 { 00093 #if USE_WIDEC_SUPPORT 00094 if (iswalnum((wint_t) c)) 00095 return TRUE; 00096 #endif 00097 return (isalnum(UChar(c)) ? TRUE : FALSE); 00098 }
|
|
||||||||||||
|
Definition at line 112 of file fty_alnum.c. References Check_CTYPE_Field, Check_This_Character(), field_buffer(), and width. 00113 { 00114 int width = ((const thisARG *)argp)->width; 00115 unsigned char *bp = (unsigned char *)field_buffer(field, 0); 00116 bool result = (width < 0); 00117 00118 Check_CTYPE_Field(result, bp, width, Check_This_Character); 00119 return (result); 00120 }
|
|
|
Definition at line 53 of file fty_alnum.c. 00054 { 00055 const thisARG *ap = (const thisARG *)argp; 00056 thisARG *result = (thisARG *) malloc(sizeof(thisARG)); 00057 00058 if (result) 00059 *result = *ap; 00060 00061 return ((void *)result); 00062 }
|
|
|
Definition at line 73 of file fty_alnum.c.
|
|
|
Definition at line 34 of file fty_alnum.c. References thisARG::width. 00035 { 00036 thisARG *argp = (thisARG *) malloc(sizeof(thisARG)); 00037 00038 if (argp) 00039 argp->width = va_arg(*ap, int); 00040 00041 return ((void *)argp); 00042 }
|
|
|
Initial value:
{
_HAS_ARGS | _RESIDENT,
1,
(FIELDTYPE *)0,
(FIELDTYPE *)0,
Make_This_Type,
Copy_This_Type,
Free_This_Type,
Check_This_Field,
Check_This_Character,
NULL,
NULL
}
Definition at line 122 of file fty_alnum.c. |