Lines Matching defs:desc
297 static const char *add_desc(cmd_parms *cmd, void *d, const char *desc,
317 desc_entry->description = apr_pstrdup(dcfg->desc_list->pool, desc);
750 char *desc;
1294 p->desc = find_desc(d, testpath);
1362 p->desc = NULL;
1396 p->desc = find_desc(d, rr->filename);
1398 if ((!p->desc) && (autoindex_opts & SCAN_HTML_TITLES)) {
1399 p->desc = apr_pstrdup(r->pool, find_title(rr));
1415 static char *terminate_description(autoindex_config_rec *d, char *desc,
1438 for (x = 0; desc[x] && ((maxsize > 0) || (desc[x] == '<')); x++) {
1439 if (desc[x] == '<') {
1440 while (desc[x] != '>') {
1441 if (!desc[x]) {
1448 else if (desc[x] == '&') {
1451 for ( ; desc[x] != ';'; ++x) {
1452 if (desc[x] == '\0') {
1462 if (!maxsize && desc[x] != '\0') {
1463 desc[x - 1] = '>'; /* Grump. */
1464 desc[x] = '\0'; /* Double Grump! */
1466 return desc;
1534 if (ar[x]->desc != NULL) {
1535 int t = strlen(ar[x]->desc);
1773 if (ar[x]->desc) {
1775 ap_rvputs(r, "</td><td", (d->style_sheet != NULL) ? " class=\"indexcoldesc\">" : ">", ar[x]->desc, NULL);
1779 terminate_description(d, ar[x]->desc,
1861 if (ar[x]->desc) {
1862 ap_rputs(terminate_description(d, ar[x]->desc,
1955 result = apr_strnatcmp(c1->desc ? c1->desc : "",
1956 c2->desc ? c2->desc : "");
1959 result = strcmp(c1->desc ? c1->desc : "",
1960 c2->desc ? c2->desc : "");