Home
last modified time | relevance | path

Searched refs:val_len (Results 1 – 22 of 22) sorted by relevance

/third_party/openssl/crypto/x509v3/
Dv3_pci.c120 long val_len; in process_pci_value() local
132 OPENSSL_hexstr2buf(val->value + 4, &val_len); in process_pci_value()
140 (*policy)->length + val_len + 1); in process_pci_value()
144 tmp_data2, val_len); in process_pci_value()
145 (*policy)->length += val_len; in process_pci_value()
202 val_len = strlen(val->value + 5); in process_pci_value()
204 (*policy)->length + val_len + 1); in process_pci_value()
208 val->value + 5, val_len); in process_pci_value()
209 (*policy)->length += val_len; in process_pci_value()
/third_party/mbedtls/library/
Dasn1write.c416 size_t val_len ) in mbedtls_asn1_store_named_data() argument
439 cur->val.len = val_len; in mbedtls_asn1_store_named_data()
440 if( val_len != 0 ) in mbedtls_asn1_store_named_data()
442 cur->val.p = mbedtls_calloc( 1, val_len ); in mbedtls_asn1_store_named_data()
454 else if( val_len == 0 ) in mbedtls_asn1_store_named_data()
459 else if( cur->val.len != val_len ) in mbedtls_asn1_store_named_data()
466 void *p = mbedtls_calloc( 1, val_len ); in mbedtls_asn1_store_named_data()
472 cur->val.len = val_len; in mbedtls_asn1_store_named_data()
476 memcpy( cur->val.p, val, val_len ); in mbedtls_asn1_store_named_data()
Dx509_create.c209 int critical, const unsigned char *val, size_t val_len ) in mbedtls_x509_set_extension() argument
214 NULL, val_len + 1 ) ) == NULL ) in mbedtls_x509_set_extension()
220 memcpy( cur->val.p + 1, val, val_len ); in mbedtls_x509_set_extension()
Dx509write_csr.c87 const unsigned char *val, size_t val_len ) in mbedtls_x509write_csr_set_extension() argument
90 critical, val, val_len ); in mbedtls_x509write_csr_set_extension()
Dx509write_crt.c129 const unsigned char *val, size_t val_len ) in mbedtls_x509write_crt_set_extension() argument
132 critical, val, val_len ) ); in mbedtls_x509write_crt_set_extension()
/third_party/ffmpeg/libavformat/
Dapetag.c197 int val_len; in ff_ape_write_tag() local
204 val_len = strlen(e->value); in ff_ape_write_tag()
205 avio_wl32(dyn_bc, val_len); // value length in ff_ape_write_tag()
208 avio_write(dyn_bc, e->value, val_len); // value in ff_ape_write_tag()
Dasfdec_o.c277 uint16_t val_len, int type, AVDictionary **met) in asf_read_value() argument
281 uint16_t buflen = 2 * val_len + 1; in asf_read_value()
289 if ((ret = get_asf_string(pb, val_len, value, buflen)) < 0) in asf_read_value()
295 if (val_len > sizeof(buf)) { in asf_read_value()
299 if ((ret = avio_read(pb, value, val_len)) < 0) in asf_read_value()
301 if (ret < 2 * val_len) in asf_read_value()
304 value[2 * val_len - 1] = '\0'; in asf_read_value()
464 uint16_t val_len, uint16_t type, AVDictionary **met) in process_metadata() argument
469 if (val_len) { in process_metadata()
472 asf_read_value(s, name, val_len, type, met); in process_metadata()
[all …]
/third_party/ntfs-3g/ntfsprogs/
Dmkntfs.c895 const u8 *val, const s64 val_len, s64 *inited_size, in ntfs_rlwrite() argument
904 return val_len; in ntfs_rlwrite()
922 if (total + length > val_len) { in ntfs_rlwrite()
924 length = val_len - total; in ntfs_rlwrite()
1215 const u8 *val, const u32 val_len, ntfs_attr_search_ctx *ctx) in mkntfs_attr_find() argument
1306 min(val_len, in mkntfs_attr_find()
1315 if (val_len == avl) in mkntfs_attr_find()
1317 if (val_len < avl) { in mkntfs_attr_find()
1401 const u32 val_len, ntfs_attr_search_ctx *ctx) in mkntfs_attr_lookup() argument
1414 return mkntfs_attr_find(type, name, name_len, ic, val, val_len, in mkntfs_attr_lookup()
[all …]
Dntfstruncate.c309 static void dump_resident_attr_val(ATTR_TYPES type, char *val, u32 val_len) in dump_resident_attr_val() argument
342 printf("Volume name length = %u\n", (unsigned int)val_len); in dump_resident_attr_val()
343 if (val_len) { in dump_resident_attr_val()
344 buf = calloc(1, val_len); in dump_resident_attr_val()
348 i = ucstos(buf, (ntfschar*)val, val_len); in dump_resident_attr_val()
/third_party/ltp/lib/
Dtst_kconfig.c147 unsigned int val_len = 0; in kconfig_parse_line() local
173 while (!isspace(val[val_len])) in kconfig_parse_line()
174 val_len++; in kconfig_parse_line()
176 if (val_len == 1) { in kconfig_parse_line()
188 vars[i].val = strndup(val, val_len); in kconfig_parse_line()
/third_party/mbedtls/include/mbedtls/
Dasn1write.h360 size_t val_len );
Dx509_csr.h248 const unsigned char *val, size_t val_len );
Dx509.h345 size_t val_len );
Dx509_crt.h1077 const unsigned char *val, size_t val_len );
/third_party/mbedtls/tests/suites/
Dtest_suite_asn1write.data376 Store named data: new, val_len=0
379 Store named data: new, val_len=4
382 Store named data: new, val_len=4, val=NULL
/third_party/e2fsprogs/lib/blkid/
Dprobe.c693 unsigned int i, attr_type, val_len; in probe_ntfs() local
758 val_len = blkid_le32(attr->value_len); in probe_ntfs()
770 if (val_len > sizeof(label_str)) in probe_ntfs()
771 val_len = sizeof(label_str)-1; in probe_ntfs()
773 for (i=0, cp=label_str; i < val_len; i+=2,cp++) { in probe_ntfs()
/third_party/ntfs-3g/libntfs-3g/
Dattrib.c2827 const u8 *val, const u32 val_len, ntfs_attr_search_ctx *ctx) argument
2941 min(val_len,
2950 if (val_len == avl)
2952 if (val_len < avl) {
3065 const VCN lowest_vcn, const u8 *val, const u32 val_len, argument
3146 if (name || name_len || val || val_len || lowest_vcn) {
3354 le32_to_cpu(a->value_length) == val_len &&
3356 val, val_len))) {
3382 return ntfs_attr_find(AT_END, name, name_len, ic, val, val_len,
3418 val_len, ctx);
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/
Dwps_upnp.c799 size_t val_len; in upnp_wps_device_send_wlan_event() local
825 val = (char *) base64_encode(raw, raw_len, &val_len); in upnp_wps_device_send_wlan_event()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/
Dwps_upnp.c821 size_t val_len; in upnp_wps_device_send_wlan_event() local
847 val = base64_encode(raw, raw_len, &val_len); in upnp_wps_device_send_wlan_event()
/third_party/ntfs-3g/include/ntfs-3g/
Dattrib.h104 const VCN lowest_vcn, const u8 *val, const u32 val_len,
/third_party/glib/gio/
Dglocalfileinfo.c760 int val_len, res, errsv; in set_xattr() local
798 value = hex_unescape_string (attr_value->u.string, &val_len, &free_value); in set_xattr()
805 res = g_setxattr (filename, a, value, val_len); in set_xattr()
/third_party/gstreamer/gstplugins_bad/ext/srt/
Dgstsrtobject.c138 int val_len; member
322 if (srt_setsockopt (sock, 0, params->param, params->val, params->val_len)) { in gst_srt_object_set_common_params()