Lines Matching refs:url
173 char *p, *url, *prefix ="file:"; in ldaptool_path2fileurl() local
183 if (( url = malloc( strlen( prefix ) + 3 * strlen( path ) + 1 )) == NULL ) { in ldaptool_path2fileurl()
187 strcpy( url, prefix ); in ldaptool_path2fileurl()
188 p = url + strlen( prefix ); in ldaptool_path2fileurl()
210 *urlp = url; in ldaptool_path2fileurl()
236 const char *url = NULL; in ldaptool_berval_from_ldif_value() local
249 for ( url = value + 1; isspace( *url ); ++url ) { in ldaptool_berval_from_ldif_value()
253 if (strlen(url) > 7 && strncasecmp(url, "file://", 7) != 0) { in ldaptool_berval_from_ldif_value()
257 url = NULL; in ldaptool_berval_from_ldif_value()
261 if ( NULL != url ) { in ldaptool_berval_from_ldif_value()
264 rc = ldaptool_fileurl2path( url, &path ); in ldaptool_berval_from_ldif_value()
268 " use a file:// URL instead.\n"), ldaptool_progname, url ); in ldaptool_berval_from_ldif_value()
274 " missing path.\n"), ldaptool_progname, url ); in ldaptool_berval_from_ldif_value()
281 ldaptool_progname, url ); in ldaptool_berval_from_ldif_value()
305 " -- unknown error\n"), ldaptool_progname, url ); in ldaptool_berval_from_ldif_value()