Home
last modified time | relevance | path

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

/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/curl/lib/
Dhttp2.c807 const uint8_t *value, size_t valuelen, in on_header() argument
864 uint32_t n = (uint32_t)(namelen + valuelen + 3); in on_header()
866 DEBUGF(infof(data_s, "h2 trailer: %.*s: %.*s\n", namelen, name, valuelen, in on_header()
872 Curl_add_buffer(stream->trailer_recvbuf, value, valuelen); in on_header()
883 stream->status_code = decode_status_code(value, valuelen); in on_header()
887 Curl_add_buffer(stream->header_recvbuf, value, valuelen); in on_header()
904 Curl_add_buffer(stream->header_recvbuf, value, valuelen); in on_header()
910 DEBUGF(infof(data_s, "h2 header: %.*s: %.*s\n", namelen, name, valuelen, in on_header()
1575 (x.namelen > (uint16_t)-1 || x.valuelen > (uint16_t)-1 - x.namelen)
1617 const char *value, size_t valuelen) { in inspect_header() argument
[all …]
Dimap.c2000 size_t valuelen; in imap_parse_url_path() local
2021 result = Curl_urldecode(data, begin, ptr - begin, &value, &valuelen, TRUE); in imap_parse_url_path()
2034 if(valuelen > 0 && value[valuelen - 1] == '/') in imap_parse_url_path()
2035 value[valuelen - 1] = '\0'; in imap_parse_url_path()
2041 if(valuelen > 0 && value[valuelen - 1] == '/') in imap_parse_url_path()
2042 value[valuelen - 1] = '\0'; in imap_parse_url_path()
2048 if(valuelen > 0 && value[valuelen - 1] == '/') in imap_parse_url_path()
2049 value[valuelen - 1] = '\0'; in imap_parse_url_path()
2055 if(valuelen > 0 && value[valuelen - 1] == '/') in imap_parse_url_path()
2056 value[valuelen - 1] = '\0'; in imap_parse_url_path()
/external/curl/lib/vtls/
Dvtls.c656 size_t valuelen) in Curl_ssl_push_certinfo_len() argument
663 size_t outlen = labellen + 1 + valuelen + 1; /* label:value\0 */ in Curl_ssl_push_certinfo_len()
673 memcpy(&output[labellen+1], value, valuelen); in Curl_ssl_push_certinfo_len()
676 output[labellen + 1 + valuelen] = 0; in Curl_ssl_push_certinfo_len()
698 size_t valuelen = strlen(value); in Curl_ssl_push_certinfo() local
700 return Curl_ssl_push_certinfo_len(data, certnum, label, value, valuelen); in Curl_ssl_push_certinfo()
Dvtls.h104 size_t valuelen);
/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()
2237 size_t keylen, valuelen; in kmod_module_get_info() local
2243 valuelen = 0; in kmod_module_get_info()
2248 valuelen = strlen(value); in kmod_module_get_info()
[all …]
/external/kmod/tools/
Dmodprobe.c630 size_t valuelen = len - keylen; in options_from_array() local
635 memcpy(opts + optslen, value, valuelen); in options_from_array()
636 optslen += valuelen; in options_from_array()