Home
last modified time | relevance | path

Searched refs:alloc_data (Results 1 – 2 of 2) sorted by relevance

/external/linux-kselftest/tools/testing/selftests/android/ion/
Dionutils.c52 struct ion_allocation_data alloc_data; in ion_export_buffer_fd() local
94 alloc_data.len = ion_info->heap_size; in ion_export_buffer_fd()
95 alloc_data.heap_id_mask = 1 << heap_id; in ion_export_buffer_fd()
96 alloc_data.flags = ion_info->flag_type; in ion_export_buffer_fd()
99 ret = ioctl(ionfd, ION_IOC_ALLOC, &alloc_data); in ion_export_buffer_fd()
107 buffer_fd = alloc_data.fd; in ion_export_buffer_fd()
108 maplen = alloc_data.len; in ion_export_buffer_fd()
/external/libcups/cups/
Dtls-gnutls.c691 size_t alloc_data = 0, /* Bytes allocated */ in httpLoadCredentials() local
756 if (alloc_data == 0) in httpLoadCredentials()
759 alloc_data = 2048; in httpLoadCredentials()
764 else if ((num_data + strlen(line)) >= alloc_data) in httpLoadCredentials()
766 unsigned char *tdata = realloc(data, alloc_data + 1024); in httpLoadCredentials()
777 alloc_data += 1024; in httpLoadCredentials()
780 decoded = alloc_data - num_data; in httpLoadCredentials()
960 size_t alloc_data = 0, /* Bytes allocated */ in http_gnutls_load_crl() local
1003 if (alloc_data == 0) in http_gnutls_load_crl()
1006 alloc_data = 2048; in http_gnutls_load_crl()
[all …]