Home
last modified time | relevance | path

Searched refs:valuelen (Results 1 – 9 of 9) sorted by relevance

/external/curl/lib/
Dimap.c1985 size_t valuelen; in imap_parse_url_path() local
2006 result = Curl_urldecode(data, begin, ptr - begin, &value, &valuelen, TRUE); in imap_parse_url_path()
2019 if(valuelen > 0 && value[valuelen - 1] == '/') in imap_parse_url_path()
2020 value[valuelen - 1] = '\0'; in imap_parse_url_path()
2026 if(valuelen > 0 && value[valuelen - 1] == '/') in imap_parse_url_path()
2027 value[valuelen - 1] = '\0'; in imap_parse_url_path()
2033 if(valuelen > 0 && value[valuelen - 1] == '/') in imap_parse_url_path()
2034 value[valuelen - 1] = '\0'; in imap_parse_url_path()
2040 if(valuelen > 0 && value[valuelen - 1] == '/') in imap_parse_url_path()
2041 value[valuelen - 1] = '\0'; in imap_parse_url_path()
[all …]
Dhttp2.c941 const uint8_t *value, size_t valuelen, in on_header() argument
1023 uint32_t n = (uint32_t)(namelen + valuelen + 4); in on_header()
1025 H2BUGF(infof(data_s, "h2 trailer: %.*s: %.*s\n", namelen, name, valuelen, in on_header()
1037 result = Curl_add_buffer(&stream->trailer_recvbuf, value, valuelen); in on_header()
1052 stream->status_code = decode_status_code(value, valuelen); in on_header()
1058 result = Curl_add_buffer(&stream->header_recvbuf, value, valuelen); in on_header()
1083 result = Curl_add_buffer(&stream->header_recvbuf, value, valuelen); in on_header()
1093 H2BUGF(infof(data_s, "h2 header: %.*s: %.*s\n", namelen, name, valuelen, in on_header()
1778 (x.namelen > (uint16_t)-1 || x.valuelen > (uint16_t)-1 - x.namelen)
1820 const char *value, size_t valuelen) { in inspect_header() argument
[all …]
/external/libcups/cups/
Dsnmp.c1097 valuelen; /* Length of object value */ in asn1_encode_snmp() local
1110 valuelen = 0; in asn1_encode_snmp()
1114 valuelen = asn1_size_integer(packet->object_value.boolean); in asn1_encode_snmp()
1118 valuelen = asn1_size_integer(packet->object_value.integer); in asn1_encode_snmp()
1122 valuelen = packet->object_value.string.num_bytes; in asn1_encode_snmp()
1126 valuelen = asn1_size_oid(packet->object_value.oid); in asn1_encode_snmp()
1135 1 + asn1_size_length(valuelen) + valuelen; in asn1_encode_snmp()
1206 asn1_set_length(&bufptr, valuelen); in asn1_encode_snmp()
1207 memcpy(bufptr, packet->object_value.string.bytes, valuelen); in asn1_encode_snmp()
1208 bufptr += valuelen; in asn1_encode_snmp()
Dhttp.c1387 int valuelen) /* I - Size of value buffer */ in httpGetSubField2() argument
1394 …eld=%d, name=\"%s\", value=%p, valuelen=%d)", (void *)http, field, name, (void *)value, valuelen)); in httpGetSubField2()
1396 if (!http || !name || !value || valuelen < 2 || in httpGetSubField2()
1400 end = value + valuelen - 1; in httpGetSubField2()
Dhttp.h556 int valuelen) _CUPS_API_1_2;
/external/kmod/libkmod/
Dlibkmod-module.c2158 …dule_info *kmod_module_info_new(const char *key, size_t keylen, const char *value, size_t valuelen) in kmod_module_info_new() argument
2162 info = malloc(sizeof(struct kmod_module_info) + keylen + valuelen + 2); in kmod_module_info_new()
2167 + valuelen + 1; in kmod_module_info_new()
2170 memcpy(info->value, value, valuelen); in kmod_module_info_new()
2171 info->value[valuelen] = '\0'; in kmod_module_info_new()
2180 …append(struct kmod_list **list, const char *key, size_t keylen, const char *value, size_t valuelen) in kmod_module_info_append() argument
2185 info = kmod_module_info_new(key, keylen, value, valuelen); in kmod_module_info_append()
2227 size_t valuelen) in kmod_module_info_append_hex() argument
2232 if (valuelen > 0) { in kmod_module_info_append_hex()
2234 hex = kmod_module_hex_to_str(value, valuelen); in kmod_module_info_append_hex()
[all …]
/external/curl/lib/vtls/
Dvtls.c689 size_t valuelen) in Curl_ssl_push_certinfo_len() argument
696 size_t outlen = labellen + 1 + valuelen + 1; /* label:value\0 */ in Curl_ssl_push_certinfo_len()
706 memcpy(&output[labellen + 1], value, valuelen); in Curl_ssl_push_certinfo_len()
709 output[labellen + 1 + valuelen] = 0; in Curl_ssl_push_certinfo_len()
731 size_t valuelen = strlen(value); in Curl_ssl_push_certinfo() local
733 return Curl_ssl_push_certinfo_len(data, certnum, label, value, valuelen); in Curl_ssl_push_certinfo()
Dvtls.h181 size_t valuelen);
/external/kmod/tools/
Dmodprobe.c660 size_t valuelen = len - keylen; in options_from_array() local
665 memcpy(opts + optslen, value, valuelen); in options_from_array()
666 optslen += valuelen; in options_from_array()