50 #ifdef D4D_STD_STRING_H_INCLUDE
51 #include D4D_STD_STRING_H_INCLUDE
54 #if (D4D_EXTSRC_TEXT_ENABLE != D4D_FALSE) || (D4D_EXTSRC_FILE_ENABLE != D4D_FALSE)
58 #if (D4D_EXTSRC_FILE_ENABLE != D4D_FALSE)
88 while((pFileName[i] >=
' ') && (pFileName[i] !=
'.'))
93 if(pFileName[i] ==
'.')
94 return &pFileName[i+1];
109 if(!pFileName || !pFileName[0])
113 if(pFileName[i] ==
':')
130 #ifndef D4D_STD_STRING_H_INCLUDE
156 #ifndef D4D_STD_STRING_H_INCLUDE
159 while (*sd++ = *ss++)
165 return strcpy(sd, ss);
213 #ifndef D4D_STD_STRING_H_INCLUDE
219 while ((*sd++ = *ss++))
225 return strcat(sd, ss);
243 while (*sd++ = *ss++)
259 #ifndef D4D_STD_STRING_H_INCLUDE
279 return strcmp(s1, s2);
322 if((*s >=
'a') && (*s <=
'z'))
339 temp[3] = *((
Byte *)&n);
340 temp[2] = ((
Byte *)&n)[1];
341 temp[1] = ((
Byte *)&n)[2];
342 temp[0] = ((
Byte *)&n)[3];
343 return (*(
LWord *)temp);
356 temp[1] = *((
Byte *)&n);
357 temp[0] = ((
Byte *)&n)[1];
358 return (*(
Word *)temp);
D4D_WCHAR * D4D_StrCatUnicode(register D4D_WCHAR *sd, register const D4D_WCHAR *ss)
The function concatenate strings (terminated by zero) (UNICODE version)
D4D_CHAR * D4D_StrCopy(register D4D_CHAR *sd, register const D4D_CHAR *ss)
The function copy string one string to other one (terminated by zero)
#define D4D_FALSE
This is definition of boolean operation value in eGUI - FALSE.
Word D4D_SwapWord(Word n)
The function swap bytes in Word.
LWord D4D_SwapLong(LWord n)
The function swap bytes in Long.
#define D4D_TRUE
This is definition of boolean operation value in eGUI - TRUE.
D4D Driver main header file.
D4D_CHAR * D4D_GetFileExtension(D4D_CHAR *pFileName)
D4D_WCHAR * D4D_StrCopyAscii2Unicode(register D4D_WCHAR *sd, register const D4D_CHAR *ss)
The function copy string one string (STANDARD 8 bit) to other one (UNICODE)(terminated by zero) ...
D4D Driver private header file.
int D4D_CompareStringsUnicode(const D4D_WCHAR *s1, const D4D_WCHAR *s2)
The function copare two strings (terminated by zero) (UNICODE version)
unsigned char Byte
Type definition of Byte (unsigned 8-bit).
#define D4D_EXTSRC_BUFF_SIZE
This macro is used to specify size of buffer that is using when external file support is enabled...
#define NULL
Type definition of null pointer.
unsigned long LWord
Type definition of LWord (unsigned 32-bit).
D4D_CHAR * D4D_StrCat(register D4D_CHAR *sd, register const D4D_CHAR *ss)
The function concatenate strings (terminated by zero)
D4D_WCHAR_TYPE D4D_WCHAR
Type definition of eGUI wide char.
LWord D4D_BOOL
Type definition of eGUI boolean.
char D4D_CHAR
Type definition of eGUI ASCII character.
void D4D_ToUpper(D4D_CHAR *s)
The function convert all small alpha characters to upper in string(terminated by zero) ...
D4D_CHAR * D4D_StrCopyUnicode2Ascii(register D4D_CHAR *sd, register const D4D_WCHAR *ss)
The function copy string one string (UNICODE) to other one (STANDARD 8 bit)(terminated by zero) ...
int D4D_CompareStrings(const D4D_CHAR *s1, const D4D_CHAR *s2)
The function copare two strings (terminated by zero)
#define D4D_DRIVE_MAX_STRLEN
D4D_DRIVE_MAX_STRLEN constant default declaration (8)
Byte d4d_extsrcBuffer[D4D_EXTSRC_BUFF_SIZE]
D4D driver - resistive touch screen driver function header file.
unsigned short Word
Type definition of Word (unsigned 16-bit).
D4D_BOOL D4D_FileIsAbsolutePath(D4D_CHAR *pFileName)
int D4D_StrLen(register const D4D_CHAR *s)
The function returns length of string terminated by zero.