Lines Matching refs:str
50 * str - String to be trimmed
56 * Leading whitespace is trimmed by advancing the given str pointer,
58 * should retain a copy of the original str pointer if they need to
67 conv_strproc_trim(char *str)
72 while (conv_strproc_isspace(*str))
73 str++;
76 tail = str + strlen(str);
77 while ((tail > str) && conv_strproc_isspace(*(tail - 1)))
81 return (str);
92 * str - String to process
104 * the memory pointed at by str.
107 conv_strproc_extract_value(char *str, size_t token_len, int flags,
113 str += token_len;
119 while (conv_strproc_isspace(*str))
120 str++;
123 if (*str != '=')
126 str++; /* skip the '=' */
130 while (conv_strproc_isspace(*str))
131 str++;
134 if (((flags & CONV_SPEXV_F_NULLOK) == 0) && (*str == '\0'))
137 *value = str;
141 for (; *str; str++)
142 if ((*str >= 'a') && (*str <= 'z'))
143 *str = *str - ('a' - 'A');