Lines Matching refs:src
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
216 remove_ldap(char *dst, char *src, int dst_buf_len)
220 if (strlen(src) >= dst_buf_len)
223 while (*src != '\0') {
225 if (isspace(*src)) {
226 dst[i++] = *src;
227 while (isspace(*src))
228 src++;
232 if (strncmp(src, "ldap", 4) != 0) {
233 while (!isspace(*src)) {
234 dst[i++] = *src++;
240 if (isspace(*src)) {
241 dst[i++] = *src;
242 while (isspace(*src))
243 src++;
246 if (*src == '[')
247 while (*src != ']') {
248 dst[i++] = *src++;
256 if (strncmp(src, "ldap", 4) == 0) {
257 if (isspace(*(src+4)) || *(src+4) == '\0') {
258 src += 4;
259 while (isspace(*src))
260 src++;
261 if (*src == '[') {
262 while (*src++ != ']') {
267 if (*src == '\0') {
273 while (isspace(*src))
274 src++;
277 if (*src == '\0')