Lines Matching refs:rCmd
40 static String parseString(const String & rCmd, sal_uInt16 * pIndex) in PRV_SV_IMPL_OWNER_LIST()
44 if(rCmd.GetChar( *pIndex ) == '\"') { in PRV_SV_IMPL_OWNER_LIST()
49 while(*pIndex < rCmd.Len() && rCmd.GetChar((*pIndex) ++) != '\"') ; in PRV_SV_IMPL_OWNER_LIST()
51 result = String(rCmd.Copy(begin, *pIndex - begin - 1)); in PRV_SV_IMPL_OWNER_LIST()
57 static String parseWord(const String & rCmd, sal_uInt16 * pIndex) in parseWord() argument
61 while(*pIndex < rCmd.Len() && !isspace(rCmd.GetChar(*pIndex)) && rCmd.GetChar(*pIndex) != '=') in parseWord()
64 return String(rCmd.Copy(begin, *pIndex - begin)); in parseWord()
67 static void eatSpace(const String & rCmd, sal_uInt16 * pIndex) in eatSpace() argument
69 while(*pIndex < rCmd.Len() && isspace(rCmd.GetChar(*pIndex))) in eatSpace()
77 const String & rCmd, /* Dieser Text wird in Kommandos umgesetzt */ in AppendCommands() argument
92 while(index < rCmd.Len()) in AppendCommands()
95 eatSpace(rCmd, &index); in AppendCommands()
96 String name = (rCmd.GetChar(index) == '\"') ? parseString(rCmd, &index) : parseWord(rCmd, &index); in AppendCommands()
98 eatSpace(rCmd, &index); in AppendCommands()
100 if(index < rCmd.Len() && rCmd.GetChar(index) == '=') in AppendCommands()
104 eatSpace(rCmd, &index); in AppendCommands()
105 value = (rCmd.GetChar(index) == '\"') ? parseString(rCmd, &index) : parseWord(rCmd, &index); in AppendCommands()