Home
last modified time | relevance | path

Searched refs:value (Results 1 – 25 of 257) 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()
271 ++value; in make_headers()
349 if(!value) in parse_content_sha_hdr()
352 value = strchr(value, ':'); in parse_content_sha_hdr()
353 if(!value) in parse_content_sha_hdr()
355 ++value; in parse_content_sha_hdr()
357 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.c92 post->contents = value; in AddHttpPost()
142 if(value) in AddFormInfo()
143 form_info->value = value; in AddFormInfo()
310 if(current_form->value) in FormAdd()
313 char *value = in FormAdd() local
315 if(value) in FormAdd()
316 current_form->value = value; /* store for the moment */ in FormAdd()
342 if(!current_form->value) in FormAdd()
360 if(current_form->value) { in FormAdd()
627 form->value = Curl_memdup(form->value, clen); in FormAdd()
[all …]
H A Dsocks_gssapi.c72 if(Curl_dyn_addn(&dbuf, status_string.value, in check_gss_err()
90 if(Curl_dyn_addn(&dbuf, 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()
276 gss_recv_token.value = malloc(us_length); in Curl_SOCKS5_gssapi_negotiate()
277 if(!gss_recv_token.value) { in Curl_SOCKS5_gssapi_negotiate()
392 gss_send_token.value = Curl_memdup(&gss_enc, 1); in Curl_SOCKS5_gssapi_negotiate()
393 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.c128 int value; member
172 if((decc_feat_array[i].value >= feat_value_min) && in decc_init()
173 (decc_feat_array[i].value <= feat_value_max)) { in decc_init()
175 if(feat_value != decc_feat_array[i].value) { in decc_init()
177 decc_feat_array[i].value); in decc_init()
H A Dtool_setopt.c284 if(nv->value == lval) in tool_setopt_enum()
371 if((nv->value & ~ rest) == 0) { in tool_setopt_bitmask()
611 const char *value = NULL; in tool_setopt() local
627 defval = nv->value; in tool_setopt()
633 value = buf; in tool_setopt()
645 value = "function pointer"; in tool_setopt()
653 value = (char *)pval; in tool_setopt()
657 value = "object pointer"; in tool_setopt()
671 value = buf; in tool_setopt()
683 value = "blob pointer"; in tool_setopt()
[all …]
/curl/tests/unit/
H A Dunit1616.c52 int *value, *v; variable
60 value = malloc(sizeof(int));
61 abort_unless(value != NULL, "Out of memory");
62 *value = 199;
63 nodep = Curl_hash_offt_set(&hash_static, key, value);
65 free(value);
68 abort_unless(v == value, "lookup present entry failed");
H A Dunit1602.c53 int *value; variable
62 value = malloc(sizeof(int));
63 abort_unless(value != NULL, "Out of memory");
64 *value = 199;
65 nodep = Curl_hash_add(&hash_static, &key, klen, value);
67 free(value);
/curl/packages/OS400/
H A Dcurl.inc.in2687 d 10i 0 value
2712 d n 10u 0 value
2716 d arg * value
2731 d length 10i 0 value
2735 d length 10i 0 value
2741 d length 10i 0 value
2746 d length 10i 0 value
2749 d p * value
2754 d flags 10i 0 value
2956 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()
1303 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/lib/vauth/
H A Dspnego_gssapi.c115 spn_token.value = spn; in Curl_auth_decode_spnego_message()
149 input_token.value = chlg; in Curl_auth_decode_spnego_message()
174 Curl_safefree(input_token.value); in Curl_auth_decode_spnego_message()
178 if(output_token.value) in Curl_auth_decode_spnego_message()
187 if(!output_token.value || !output_token.length) { in Curl_auth_decode_spnego_message()
188 if(output_token.value) in Curl_auth_decode_spnego_message()
226 result = Curl_base64_encode(nego->output_token.value, in Curl_auth_create_spnego_message()
232 nego->output_token.value = NULL; in Curl_auth_create_spnego_message()
240 nego->output_token.value = NULL; in Curl_auth_create_spnego_message()
270 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/vms/
H A Dcurl_crtl_init.c88 int decc$feature_set_value (int index, int mode, int value);
107 char *value, in sys_trnlnm() argument
119 itlst[0].bufadr = value; in sys_trnlnm()
136 value[result] = '\0'; in sys_trnlnm()
144 const char *value) in sys_crelnm() argument
162 item_list[0].buflen = strlen(value); in sys_crelnm()
164 item_list[0].bufadr = (char *)value; in sys_crelnm()
182 static void set_feature_default(const char *name, const char *value) in set_feature_default() argument
184 sys_crelnm(name, value); in set_feature_default()
187 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.md39 waiting for a response, this value overrides CURLOPT_TIMEOUT(3). It is
41 CURLOPT_SERVER_RESPONSE_TIMEOUT_MS(3) to a value smaller than
44 The maximum accepted value is 2147483648.
77 CURLE_BAD_FUNCTION_ARGUMENT if set to a negative value or a value that when
H A DCURLOPT_SERVER_RESPONSE_TIMEOUT.md39 waiting for a response, this value overrides CURLOPT_TIMEOUT(3). It is
41 CURLOPT_SERVER_RESPONSE_TIMEOUT(3) to a value smaller than
75 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 56 milliseconds

1234567891011