Home
last modified time | relevance | path

Searched refs:value (Results 1 – 25 of 264) sorted by relevance

1234567891011

/curl/lib/
H A Dstrtoofft.c85 curl_off_t value = 0; in strtooff() local
139 value = base * value + i; in strtooff()
145 value *= -1; in strtooff()
160 return value; in strtooff()
176 int value = -1; in get_char() local
178 value = c - '0'; in get_char()
188 int value; in get_char()
197 if(value >= 10 + 26) in get_char()
201 if(value >= base) { in get_char()
202 value = -1; in get_char()
[all …]
H A Ddynhds.c47 DEBUGASSERT(value); in entry_new()
55 memcpy(p, value, valuelen); in entry_new()
70 DEBUGASSERT(value); in entry_append()
78 memcpy(p, e->value, e->valuelen); in entry_append()
81 memcpy(p + 1, value, valuelen); in entry_append()
214 return Curl_dynhds_add(dynhds, name, strlen(name), value, strlen(value)); in Curl_dynhds_cadd()
223 const char *value; in Curl_dynhds_h1_add_line() local
260 value = p; in Curl_dynhds_h1_add_line()
263 p = memchr(value, '\r', valuelen); in Curl_dynhds_h1_add_line()
267 valuelen = (size_t)(p - value); in Curl_dynhds_h1_add_line()
[all …]
H A Dhttp_aws_sigv4.c93 ++value; in trim_headers()
97 while(*value && ISBLANK(*value)) in trim_headers()
98 value++; in trim_headers()
102 while(*value && ISBLANK(*value)) { in trim_headers()
253 ++value; in make_headers()
331 if(!value) in parse_content_sha_hdr()
334 value = strchr(value, ':'); in parse_content_sha_hdr()
335 if(!value) in parse_content_sha_hdr()
337 ++value; in parse_content_sha_hdr()
339 while(*value && ISBLANK(*value)) in parse_content_sha_hdr()
[all …]
H A Dheaders.c50 h->value = hs->value; in copy_header_external()
215 *value = header; in namevalue()
233 olen = strlen(hs->value); in unfold_value()
234 offset = hs->value - hs->buffer; in unfold_value()
238 while(vlen && ISSPACE(value[vlen - 1])) in unfold_value()
242 while((vlen > 1) && ISBLANK(value[0]) && ISBLANK(value[1])) { in unfold_value()
244 value++; in unfold_value()
260 newhs->value = &newhs->buffer[offset]; in unfold_value()
263 memcpy(&newhs->value[olen], value, vlen); in unfold_value()
280 char *value = NULL; in Curl_headers_push() local
[all …]
H A Dformdata.c90 post->contents = value; in AddHttpPost()
140 if(value) in AddFormInfo()
141 form_info->value = value; in AddFormInfo()
308 if(current_form->value) in FormAdd()
311 char *value = in FormAdd() local
313 if(value) in FormAdd()
314 current_form->value = value; /* store for the moment */ in FormAdd()
339 if(!current_form->value) in FormAdd()
357 if(current_form->value) { in FormAdd()
624 form->value = Curl_memdup(form->value, clen); in FormAdd()
[all …]
H A Dsocks_gssapi.c72 strcpy(buf + len, (char *) status_string.value); in check_gss_err()
93 strcpy(buf + len, (char *) status_string.value); in check_gss_err()
144 if(!service.value) in Curl_SOCKS5_gssapi_negotiate()
151 service.value = malloc(serviceptr_length + in Curl_SOCKS5_gssapi_negotiate()
153 if(!service.value) in Curl_SOCKS5_gssapi_negotiate()
157 msnprintf(service.value, service.length + 1, "%s@%s", in Curl_SOCKS5_gssapi_negotiate()
275 gss_recv_token.value = malloc(us_length); in Curl_SOCKS5_gssapi_negotiate()
276 if(!gss_recv_token.value) { in Curl_SOCKS5_gssapi_negotiate()
390 gss_send_token.value = Curl_memdup(&gss_enc, 1); in Curl_SOCKS5_gssapi_negotiate()
391 if(!gss_send_token.value) { in Curl_SOCKS5_gssapi_negotiate()
[all …]
H A Ddynhds.h39 char *value; member
137 const char *value, size_t valuelen);
141 const char *name, const char *value);
149 const char *value, size_t valuelen);
155 const char *name, const char *value);
/curl/src/
H A Dtool_xattr.c85 const char *value) in xattr() argument
88 if(value) { in xattr()
91 printf("%s => %s\n", attr, value); in xattr()
96 err = fsetxattr(fd, attr, value, strlen(value), 0, 0); in xattr()
98 err = fsetxattr(fd, attr, value, strlen(value), 0); in xattr()
102 attr, value, strlen(value)); in xattr()
121 char *value = NULL; in fwrite_xattr() local
122 CURLcode result = curl_easy_getinfo(curl, mappings[i].info, &value); in fwrite_xattr()
123 if(!result && value) in fwrite_xattr()
124 err = xattr(fd, mappings[i].attr, value); in fwrite_xattr()
H A Dtool_vms.c129 int value; member
173 if((decc_feat_array[i].value >= feat_value_min) && in decc_init()
174 (decc_feat_array[i].value <= feat_value_max)) { in decc_init()
176 if(feat_value != decc_feat_array[i].value) { in decc_init()
178 decc_feat_array[i].value); in decc_init()
H A Dtool_setopt.c286 if(nv->value == lval) in tool_setopt_enum()
373 if((nv->value & ~ rest) == 0) { in tool_setopt_bitmask()
613 const char *value = NULL; in tool_setopt() local
629 defval = nv->value; in tool_setopt()
635 value = buf; in tool_setopt()
647 value = "function pointer"; in tool_setopt()
655 value = (char *)pval; in tool_setopt()
659 value = "object pointer"; in tool_setopt()
673 value = buf; in tool_setopt()
685 value = "blob pointer"; in tool_setopt()
[all …]
H A Dtool_cb_hdr.c228 char *value = memchr(ptr, ':', cb); in tool_header_cb() local
229 if(value) { in tool_header_cb()
242 char *value = NULL; in tool_header_cb() local
252 value = memchr(ptr, ':', cb); in tool_header_cb()
253 if(value) { in tool_header_cb()
254 size_t namelen = value - ptr; in tool_header_cb()
257 fwrite(&value[1], cb - namelen - 1, 1, outs->stream); in tool_header_cb()
260 write_linked_location(per->curl, &value[1], cb - namelen - 1, in tool_header_cb()
264 fwrite(&value[1], cb - namelen - 1, 1, outs->stream); in tool_header_cb()
/curl/tests/unit/
H A Dunit1616.c53 int *value, *v; variable
61 value = malloc(sizeof(int));
62 abort_unless(value != NULL, "Out of memory");
63 *value = 199;
64 nodep = Curl_hash_offt_set(&hash_static, key, value);
66 free(value);
69 abort_unless(v == value, "lookup present entry failed");
H A Dunit1602.c54 int *value; variable
63 value = malloc(sizeof(int));
64 abort_unless(value != NULL, "Out of memory");
65 *value = 199;
66 nodep = Curl_hash_add(&hash_static, &key, klen, value);
68 free(value);
/curl/lib/vauth/
H A Dspnego_gssapi.c113 spn_token.value = spn; in Curl_auth_decode_spnego_message()
147 input_token.value = chlg; in Curl_auth_decode_spnego_message()
164 Curl_safefree(input_token.value); in Curl_auth_decode_spnego_message()
168 if(output_token.value) in Curl_auth_decode_spnego_message()
177 if(!output_token.value || !output_token.length) { in Curl_auth_decode_spnego_message()
178 if(output_token.value) in Curl_auth_decode_spnego_message()
216 result = Curl_base64_encode(nego->output_token.value, in Curl_auth_create_spnego_message()
222 nego->output_token.value = NULL; in Curl_auth_create_spnego_message()
230 nego->output_token.value = NULL; in Curl_auth_create_spnego_message()
260 if(nego->output_token.value) { in Curl_auth_cleanup_spnego()
[all …]
H A Dkrb5_gssapi.c108 spn_token.value = spn; in Curl_auth_create_gssapi_user_message()
131 input_token.value = (void *) Curl_bufref_ptr(chlg); in Curl_auth_create_gssapi_user_message()
147 if(output_token.value) in Curl_auth_create_gssapi_user_message()
156 if(output_token.value && output_token.length) { in Curl_auth_create_gssapi_user_message()
157 result = Curl_bufref_memdup(out, output_token.value, output_token.length); in Curl_auth_create_gssapi_user_message()
208 input_token.value = (void *) Curl_bufref_ptr(chlg); in Curl_auth_create_gssapi_security_message()
227 indata = output_token.value; in Curl_auth_create_gssapi_security_message()
272 input_token.value = message; in Curl_auth_create_gssapi_security_message()
287 result = Curl_bufref_memdup(out, output_token.value, output_token.length); in Curl_auth_create_gssapi_security_message()
H A Ddigest.c80 *value++ = *str++; in Curl_auth_digest_get_pair()
81 *value = 0; in Curl_auth_digest_get_pair()
214 value[i] = *find_pos++; in auth_digest_get_key_value()
215 value[i] = '\0'; in auth_digest_get_key_value()
227 *value = 0; in auth_digest_get_qop_values()
238 *value |= DIGEST_QOP_VALUE_AUTH; in auth_digest_get_qop_values()
240 *value |= DIGEST_QOP_VALUE_AUTH_INT; in auth_digest_get_qop_values()
242 *value |= DIGEST_QOP_VALUE_AUTH_CONF; in auth_digest_get_qop_values()
520 char value[DIGEST_MAX_VALUE_LENGTH]; in Curl_auth_decode_digest_http_message() local
529 if(strcasecompare(value, "nonce")) { in Curl_auth_decode_digest_http_message()
[all …]
/curl/packages/OS400/
H A Dcurl.inc.in2681 d 10i 0 value
2706 d n 10u 0 value
2710 d arg * value
2725 d length 10i 0 value
2729 d length 10i 0 value
2735 d length 10i 0 value
2740 d length 10i 0 value
2743 d p * value
2748 d flags 10i 0 value
2950 d bitmask 10i 0 value
[all …]
H A Dccsidcurl.c692 if(forms[nargs].value) in Curl_formadd_release_local()
711 l = (int) forms[lengthx].value; in Curl_formadd_convert()
733 forms[formx].value = cp; in Curl_formadd_convert()
753 const char *value; in curl_formadd_ccsid() local
819 value = forms->value; in curl_formadd_ccsid()
858 value = va_arg(arg, char *); in curl_formadd_ccsid()
965 lforms[nargs].value = value; in curl_formadd_ccsid()
972 value = lforms[nargs].value; in curl_formadd_ccsid()
978 lforms[nargs].value = value; in curl_formadd_ccsid()
1302 curl_form_long_value(long value) in curl_form_long_value() argument
[all …]
H A Dos400sys.c366 memcpy(buf->value, t, i); in Curl_gss_convert_in_place()
388 in.value = malloc(i + 1); in Curl_gss_import_name_a()
389 if(!in.value) { in Curl_gss_import_name_a()
396 QadrtConvertA2E(in.value, in_name->value, i, i); in Curl_gss_import_name_a()
397 ((char *) in.value)[i] = '\0'; in Curl_gss_import_name_a()
399 free(in.value); in Curl_gss_import_name_a()
444 in.value = NULL; in Curl_gss_init_sec_context_a()
451 in.value = malloc(i + 1); in Curl_gss_init_sec_context_a()
452 if(!in.value) { in Curl_gss_init_sec_context_a()
459 QadrtConvertA2E(in.value, input_token->value, i, i); in Curl_gss_init_sec_context_a()
[all …]
/curl/packages/vms/
H A Dcurl_crtl_init.c88 int decc$feature_set_value (int index, int mode, int value);
108 char * value, in sys_trnlnm() argument
120 itlst[0].bufadr = value; in sys_trnlnm()
137 value[result] = '\0'; in sys_trnlnm()
146 const char * value) in sys_crelnm() argument
164 item_list[0].buflen = strlen(value); in sys_crelnm()
166 item_list[0].bufadr = (char *)value; in sys_crelnm()
184 static void set_feature_default(const char *name, const char *value) in set_feature_default() argument
186 sys_crelnm(name, value); in set_feature_default()
189 static void set_feature_default(const char *name, int value) in set_feature_default() argument
[all …]
/curl/include/curl/
H A Dtypecheck-gcc.h43 #define curl_easy_setopt(handle, option, value) \ argument
49 if(!curlcheck_long(value)) \
52 if(!curlcheck_off_t(value)) \
55 if(!curlcheck_string(value)) \
58 if(!curlcheck_write_cb(value)) \
61 if(!curlcheck_resolver_start_callback(value)) \
64 if(!curlcheck_read_cb(value)) \
67 if(!curlcheck_ioctl_cb(value)) \
70 if(!curlcheck_sockopt_cb(value)) \
73 if(!curlcheck_opensocket_cb(value)) \
[all …]
/curl/tests/libtest/
H A Dstub_gssapi.c129 output_token->value = NULL; in gss_init_sec_context()
138 if(((char *) input_token->value)[0] == 'D') { in gss_init_sec_context()
154 if(((char *) input_token->value)[0] != 'C') { in gss_init_sec_context()
237 output_token->value = token; in gss_init_sec_context()
271 free(buffer->value); in gss_release_buffer()
294 name = my_strndup(input_name_buffer->value, input_name_buffer->length); in gss_import_name()
334 status_string->value = NULL; in gss_display_status()
342 status_string->value = strdup(maj_str); in gss_display_status()
345 status_string->value = strdup(min_err_table[status_value]); in gss_display_status()
351 if(status_string->value) in gss_display_status()
[all …]
/curl/docs/libcurl/opts/
H A DCURLOPT_SERVER_RESPONSE_TIMEOUT_MS.md38 waiting for a response, this value overrides CURLOPT_TIMEOUT(3). It is
40 CURLOPT_SERVER_RESPONSE_TIMEOUT_MS(3) to a value smaller than
43 The maximum accepted value is 2147483648.
76 CURLE_BAD_FUNCTION_ARGUMENT if set to a negative value or a value that when
/curl/docs/cmdline-opts/
H A Dform-string.md19 Similar to --form except that the value string for the named parameter is used
20 literally. Leading @ and \< characters, and the `;type=` string in the value
22 possibility that the string value may accidentally trigger the @ or \<
/curl/scripts/
H A Dcijobs.pl423 my $value = $1;
424 $job{'install'} .= "$value ";
440 my ($var, $value) = ($1, $2);
447 if($value eq "cmake") {
456 $job{'checksrc'} = $value ? "true": "false";
462 if($value eq ">-") {
466 $job{$var} = $value;

Completed in 278 milliseconds

1234567891011