Lines Matching refs:ds
152 data_string *ds = (data_string *)d;
159 if (ds->value->used == 0) return -1;
161 if (ds->value->ptr[0] == '\0' ||
162 ds->value->ptr[0] == '=' ||
163 ds->value->ptr[0] == ';') return -1;
166 for (i = 0; i < ds->value->used; i++) {
167 switch(ds->value->ptr[i]) {
170 if (0 == strncmp(ds->value->ptr + key, "PHPSESSID", i - key)) {
182 buffer_copy_string_len(p->session_id, ds->value->ptr + value, i - value);
196 buffer_copy_string_len(p->session_id, ds->value->ptr + value, i - value);
394 data_string *ds; in cache_parse_lua() local
400 ds = (data_string *)array_get_element(con->response.headers, "Last-Modified"); in cache_parse_lua()
403 if ((mtime) && (NULL == ds)) { in cache_parse_lua()
413 } else if (ds) { in cache_parse_lua()
414 tbuf.ptr = ds->value->ptr; in cache_parse_lua()
415 tbuf.used = ds->value->used; in cache_parse_lua()
416 tbuf.size = ds->value->size; in cache_parse_lua()