Lines Matching defs:ptr

1150     const unsigned char *ptr = (const unsigned char *)*field;
1156 while (*ptr == ',' || apr_isspace(*ptr))
1157 ++ptr;
1159 token = ptr;
1164 *ptr && (in_qpair || in_qstr || in_com || *ptr != ',');
1165 ++ptr) {
1171 switch (*ptr) {
1188 if ((*len = (ptr - token)) == 0) {
1189 *field = (const char *)ptr;
1195 while (*ptr == ',' || apr_isspace(*ptr))
1196 ++ptr;
1198 *field = (const char *)ptr;
1211 const unsigned char *ptr;
1229 for (ptr = (const unsigned char *)tok_start, pos = (unsigned char *)token;
1230 *ptr && (in_qpair || in_qstr || in_com || *ptr != ',');
1231 ++ptr) {
1235 *pos++ = *ptr;
1238 switch (*ptr) {
1242 *pos++ = *ptr;
1249 *pos++ = *ptr;
1256 *pos++ = *ptr;
1261 *pos++ = *ptr;
1268 *pos++ = *ptr;
1276 *pos++ = *ptr;
1280 *pos++ = (in_com || in_qstr) ? *ptr
1281 : apr_tolower(*ptr);
1307 const unsigned char *ptr = (const unsigned char *)line;
1328 while (*ptr == ',' || apr_isspace(*ptr)) {
1329 ++ptr;
1333 if (type == AP_ETAG_STRONG && *ptr != '\"') {
1337 if (*ptr == 'W' && (*(ptr+1)) == '/' && (*(ptr+2)) == '\"') {
1338 ptr += 2;
1340 else if (*ptr != '\"') {
1345 if (*ptr)
1355 *ptr && (in_qpair || in_qstr || in_com || *ptr != ',');
1356 ++ptr) {
1361 good = (*pos++ == *ptr);
1364 switch (*ptr) {
1368 good = good && (*pos++ == *ptr);
1375 good = good && (*pos++ == *ptr);
1382 good = good && (*pos++ == *ptr);
1387 good = good && (*pos++ == *ptr);
1394 good = (*pos++ == *ptr);
1402 good = good && (*pos++ == *ptr);
1409 good = good && (*pos++ == *ptr);
1412 && (apr_tolower(*pos++) == apr_tolower(*ptr));
1421 } while (*ptr && !good);
1553 const char *ptr = *accept_line;
1559 while (apr_isspace(*ptr))
1560 ++ptr;
1562 tok_start = ptr;
1568 while (*ptr && (accept_white || !apr_isspace(*ptr))
1569 && *ptr != ';' && *ptr != ',') {
1570 if (*ptr++ == '"')
1571 while (*ptr)
1572 if (*ptr++ == '"')
1576 token = apr_pstrmemdup(p, tok_start, ptr - tok_start);
1580 while (apr_isspace(*ptr))
1581 ++ptr;
1583 *accept_line = ptr;
2511 void **ptr = (void **)data_;
2512 *ptr = NULL;
2587 apr_array_header_t **ptr,
2603 *ptr = pairs;
2982 AP_DECLARE(void *) ap_realloc(void *ptr, size_t size)
2984 void *p = realloc(ptr, size);