Lines Matching refs:mSection

39         mSection.start = mpBuffer;  in ReadFile()
40 mSection.end = mpBuffer + size - 1; in ReadFile()
43 mSection.string = NULL; in ReadFile()
58 mSection.start = mpBuffer; in ReadFile()
59 mSection.end = mpBuffer + size - 1; in ReadFile()
62 mSection.string = NULL; in ReadFile()
73 if (mSection.string) in ReadBool()
75 if (strcmp(mSection.string, "TRUE") == 0 || in ReadBool()
76 strcmp(mSection.string, "true") == 0) in ReadBool()
95 if (mSection.string) in ReadInt()
97 put = strtol(mSection.string, NULL, 10); in ReadInt()
114 if (mSection.string) in ReadUnsigned()
116 val = strtoul(mSection.string, NULL, 10); in ReadUnsigned()
134 if (mSection.string) in ReadUByte()
136 val = (GX_UBYTE) strtoul(mSection.string, NULL, 10); in ReadUByte()
156 if (mSection.string) in ReadHex()
158 val = strtoul(mSection.string, NULL, 16); in ReadHex()
240 if (mSection.string) in ReadString()
242 CString escaped(CA2T(mSection.string, CP_UTF8)); in ReadString()
320 *(mSection.start + 1) = '.'; in CloseSection()
321 *(mSection.end + 1) = '.'; in CloseSection()
326 char *pStart = mSection.end + 1; in CloseSection()
328 mSection.start = pStart; in CloseSection()
336 while(pStart < mSection.end) in CloseSection()
340 mSection.start = pStart + 1; in CloseSection()
362 return FindTag(mSection.start, mSection.end, tagname, mark_used); in FindTag()
480 end_tag = EndTag(start_tag, mSection.end); in EnterSection()
488 end_section = FindTag(end_tag + 1, mSection.end, close); in EnterSection()
498 mSection.start = end_tag + 1; in EnterSection()
499 mSection.end = end_section; in EnterSection()
500 mSection.string = NULL; in EnterSection()
505 mSection.tag = new char[len + 1]; in EnterSection()
506 strncpy_s(mSection.tag, len + 1, start_tag, len); in EnterSection()
507 mSection.tag[len] = 0; in EnterSection()
534 end_tag = EndTag(start_tag, mSection.end); in EnterTag()
543 end_data = FindTag(end_tag, mSection.end, close); in EnterTag()
562 mSection.start = end_tag + 1; in EnterTag()
563 mSection.end = end_data; in EnterTag()
564 mSection.tag = NULL; in EnterTag()
571 mSection.tag = new char[tag_len + 1]; in EnterTag()
572 strncpy_s(mSection.tag, tag_len + 1, start_tag, tag_len); in EnterTag()
573 mSection.tag[tag_len] = 0; in EnterTag()
577 mSection.string = new char[datalen + 1]; in EnterTag()
578 strncpy_s(mSection.string, datalen + 1, end_tag + 1, datalen); in EnterTag()
580 mSection.string[datalen] = 0; in EnterTag()
592 return mSection.string; in GetString()
601 if (mSection.tag) in GetTagValueFloat()
603 char *marker = strstr(mSection.tag, name); in GetTagValueFloat()
633 if (mSection.tag) in GetTagString()
635 char *marker = strstr(mSection.tag, name); in GetTagString()
688 if (mSection.string) in PopSection()
690 delete [] mSection.string; in PopSection()
692 if (mSection.tag) in PopSection()
694 delete [] mSection.tag; in PopSection()
696 mSection = *mpSectionStackPtr; in PopSection()
710 *mpSectionStackPtr = mSection; in PushSection()