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.c720 size_t alloc_data = 0, /* Bytes allocated */ in httpLoadCredentials() local
785 if (alloc_data == 0) in httpLoadCredentials()
788 alloc_data = 2048; in httpLoadCredentials()
793 else if ((num_data + strlen(line)) >= alloc_data) in httpLoadCredentials()
795 unsigned char *tdata = realloc(data, alloc_data + 1024); in httpLoadCredentials()
806 alloc_data += 1024; in httpLoadCredentials()
809 decoded = alloc_data - num_data; in httpLoadCredentials()
990 size_t alloc_data = 0, /* Bytes allocated */ in http_gnutls_load_crl() local
1033 if (alloc_data == 0) in http_gnutls_load_crl()
1036 alloc_data = 2048; in http_gnutls_load_crl()
[all …]