Lines Matching refs:ptr
441 char *ptr = strrchr(newlog.name, '/');
442 if (ptr && ptr > newlog.name) {
443 char *path = apr_pstrmemdup(newlog.pool, newlog.name, ptr - newlog.name);
514 char *ptr = NULL;
517 if ((ptr = strchr(arg, 'B')) != NULL) { /* Found KB size */
520 else if ((ptr = strchr(arg, 'K')) != NULL) { /* Found KB size */
523 else if ((ptr = strchr(arg, 'M')) != NULL) { /* Found MB size */
526 else if ((ptr = strchr(arg, 'G')) != NULL) { /* Found GB size */
529 if (ptr) { /* rotation based on file size */
533 if (*(ptr+1) == '\0') {