Lines Matching refs:value

158     { "cookies", "set cookies to be sent in applicable future requests, use newline delimited Set-Cookie HTTP field value syntax", OFFSET(cookies), AV_OPT_TYPE_STRING, { .str = NULL }, 0, 0, D },
321 delim = strchr(re->value, ';');
326 expiry = strtoll(re->value, NULL, 10);
336 char *value;
339 value = av_asprintf("%"PRIi64";%s", expiry, dest);
340 if (!value) {
344 ret = av_dict_set(&s->redirect_cache, source, value, AV_DICT_MATCH_CASE | AV_DICT_DONT_STRDUP_VAL);
945 char *name, *value;
948 if ((name = av_strtok(param, "=", &value))) {
949 if (av_dict_set(dict, name, value, 0) < 0) {
970 // if there is no cookie value there is nothing to parse
972 if (!cookie_entry || !cookie_entry->value) {
977 // ensure the cookie is not expired or older than an existing value
978 if ((e = av_dict_get(new_params, "expires", NULL, 0)) && e->value) {
980 if (!parse_set_cookie_expiry_time(e->value, &new_tm)) {
991 if (e2 && e2->value) {
995 if (e2 && e2->value) {
997 if (!parse_set_cookie_expiry_time(e->value, &old_tm)) {
1012 // duplicate the cookie name (dict will dupe the value)
1029 len += strlen(e->key) + strlen(e->value) + 1;
1040 av_strlcatf(*cookies, len, "%s%s\n", e->key, e->value);
1231 * field value for a particular path and domain from the cookie values stored in
1235 * @return a negative value if an error condition occurred, 0 otherwise
1270 // if the cookie has no value, skip it
1272 if (!cookie_entry || !cookie_entry->value)
1276 if ((e = av_dict_get(cookie_params, "expires", NULL, 0)) && e->value) {
1278 if (!parse_set_cookie_expiry_time(e->value, &tm_buf)) {
1285 if ((e = av_dict_get(cookie_params, "domain", NULL, 0)) && e->value) {
1287 int domain_offset = strlen(domain) - strlen(e->value);
1292 if (av_strcasecmp(&domain[domain_offset], e->value))
1298 if (!e || av_strncasecmp(path, e->value, strlen(e->value)))
1301 // cookie parameters match, so copy the value
1303 *cookies = av_asprintf("%s=%s", cookie_entry->key, cookie_entry->value);
1306 *cookies = av_asprintf("%s; %s=%s", tmp, cookie_entry->key, cookie_entry->value);
1659 av_log(h, AV_LOG_WARNING, "inflate return value: %d, %s\n",